Winson Chung
9d15815f84
Merge "Revert "Disabling testToast on virtual devices"" into ub-launcher3-master
2020-09-23 18:15:44 +00:00
Samuel Fufa
f01064953b
Track search results with position and search Identifier
...
Bug: 169087008
Test: Manual
Change-Id: I54c74093b90e5aea03a7810f55fcc32f0ddf8dda
2020-09-23 01:04:26 -07:00
Samuel Fufa
2508239d1e
Merge "Update hero app shortcuts with icon" into ub-launcher3-master
2020-09-23 06:36:56 +00:00
Samuel Fufa
99d6c2ff0d
Update hero app shortcuts with icon
...
- set appropriate click handler for recycled app icons
Bug: 168810843
Bug: 168733655
Test: Manual
Change-Id: Ic644deb4ac6c7a1cb9a2c3b75f7e2ac86380a9d0
2020-09-22 22:48:49 -07:00
TreeHugger Robot
692aa79901
[automerger skipped] Merge "[DO NOT MERGE] Encode launch location for hotseat items" into ub-launcher3-rvc-qpr-dev am: 83cf9211e7 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12663232
Change-Id: Ife0dc4ddffc2b79baebcdc667018cf9b3ac96c34
2020-09-23 01:25:37 +00:00
android-build-team Robot
c619f6640b
Snap for 6856249 from 9737454d9c to sc-release
...
Change-Id: Idcf34937cc902aa5522deca152b147de3fb16e4d
2020-09-23 01:09:53 +00:00
TreeHugger Robot
83cf9211e7
Merge "[DO NOT MERGE] Encode launch location for hotseat items" into ub-launcher3-rvc-qpr-dev
2020-09-23 00:56:01 +00:00
Tony Wickham
657f396c9c
Scale task view in TaskViewSimulator before translating it
...
The pivot is supposed to be at the center of the task view, hence why
we use width / 2, height / 2, but technically this is assuming that
translation == 0. This error isn't normally noticeable because scale
is 1 when the task is centered, so the pivot doesn't matter. By
scaling before translating, we ensure the pivot doesn't depend on
the translation.
Test: scroll side to side while swiping up from an app, ensure the
running window scales down properly; when you let go to enter recents
while the second task is centermost, the running window ends in the
exact position as the first TaskView that replaces it.
Fixes: 169103357
Change-Id: Ica53c6b6fb073304c29f26d30fb829bb9d282185
2020-09-22 17:33:46 -07:00
TreeHugger Robot
e718381bef
[automerger skipped] Merge "[DO NOT MERGE][NPE] check RecentsView exists before using it" into ub-launcher3-rvc-qpr-dev am: 79d78cf508 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12342717
Change-Id: I9970104e26369badcb2fe89e7df28be471b97c40
2020-09-23 00:24:04 +00:00
TreeHugger Robot
79d78cf508
Merge "[DO NOT MERGE][NPE] check RecentsView exists before using it" into ub-launcher3-rvc-qpr-dev
2020-09-23 00:07:13 +00:00
Winson Chung
57df176df4
[automerger skipped] DO NOT MERGE Only check activity rotation allowed when considering menu layout am: f5e8ecda30 am: c1c005d16d -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12661169
Change-Id: Ia301e2f445c01d0d8e7e097b2022502b97e71ff9
2020-09-23 00:06:03 +00:00
Winson Chung
c1c005d16d
DO NOT MERGE Only check activity rotation allowed when considering menu layout am: f5e8ecda30
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12661169
Change-Id: I7fdf782524b017230f28465ba329dd86db4f573d
2020-09-22 23:51:08 +00:00
Samuel Fufa
9b947993be
[DO NOT MERGE] Encode launch location for hotseat items
...
Bug: 162003157
Test: Manual
Change-Id: I18f8f3f431dbabb3d22898d27d70c8730ad0150f
2020-09-22 16:46:49 -07:00
Samuel Fufa
407ff59272
[DO NOT MERGE][NPE] check RecentsView exists before using it
...
Bug: 162176024
Change-Id: I8fe2ed42836bd6645f600b223e81526840ead557
2020-09-22 16:44:52 -07:00
Winson Chung
649122edc0
Revert "Disabling testToast on virtual devices"
...
This reverts commit f6385576d5 .
Reason for revert: Test
Change-Id: I9caec3b2d64995b31f3dbbf5cb2865f4e5941afe
2020-09-22 23:43:51 +00:00
TreeHugger Robot
33d0701048
Merge "Additional logs to resolve flaky work profile" into ub-launcher3-master
2020-09-22 20:32:46 +00:00
TreeHugger Robot
0acccc8150
Merge "Moving package installer initialization to worker thread" into ub-launcher3-master
2020-09-22 20:21:41 +00:00
Hyunyoung Song
e62c6edc5e
Merge "Add thumbnail viewtype to SearchTarget Bug: 168825522" into ub-launcher3-master
2020-09-22 20:12:58 +00:00
Samuel Fufa
e806f95349
Additional logs to resolve flaky work profile
...
Bug: 159671700
Change-Id: I9bed08ef89b06f79ee1e6a4140a880eeeb76ee75
2020-09-22 12:57:45 -07:00
Winson Chung
f5e8ecda30
DO NOT MERGE Only check activity rotation allowed when considering menu layout
...
- The canRecentsActivityRotate() also checks whether system rotation
is enabled which prevents us from using the right layout orientation
when home rotation is enabled while system rotation is disabled.
Bug: 168278832
Test: Tested menu visibility in combination of
Auto rotate setting x Home rotation setting X Device orientation
Change-Id: If74a38b1ec51abd2ea7f3ba3de23f0b2c4cab0ab
Merged-In: If74a38b1ec51abd2ea7f3ba3de23f0b2c4cab0ab
(cherry picked from commit 9cd3740fe7 )
2020-09-22 19:16:30 +00:00
Sunny Goyal
573b9ca9ad
Moving package installer initialization to worker thread
...
Bug: 169002215
Change-Id: Ie7b9a1eb27b634455e3d43da411037642efd0534
2020-09-22 12:14:03 -07:00
Hyunyoung Song
b3a0f1ffc0
Add thumbnail viewtype to SearchTarget
...
Bug: 168825522
Change-Id: I012665ef5e5ac66f37f9bdb37d55cc47726b29a9
2020-09-22 10:54:33 -07:00
Wesley.CW Wang
e5cbe2fc9a
Add intent extra when launching WallpaperPicker from Launcher am: 0f5c9dbb6f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12536777
Change-Id: I83bd42ebc449e9e91c73e1c1228ca81b487637ed
2020-09-22 13:52:18 +00:00
Wesley.CW Wang
0f5c9dbb6f
Add intent extra when launching WallpaperPicker from Launcher
...
- Add extra to the intent to help WallpaperPicker log the launch
source
- design doc: go/log-wppg-launch-source
Bug: 154781896
Test: manually
Change-Id: Ife774866b06251c01f28f72555c3dcc844fdc051
2020-09-22 13:13:35 +00:00
android-build-team Robot
6f77afa44b
Snap for 6852218 from b28d25413d to sc-release
...
Change-Id: I31d0cab23dbde2a767d4924e4eb1fad356458ecd
2020-09-22 01:12:10 +00:00
TreeHugger Robot
52e4994767
Merge "Remove invisible home task view as soon as gesture to Recents ends" into ub-launcher3-master
2020-09-22 01:08:29 +00:00
Tony Wickham
c445a359ae
Remove invisible home task view as soon as gesture to Recents ends
...
Fixes: 168288052
Change-Id: I929d021b26dad8b2f9b1f6a659522054bbf3ec28
2020-09-21 17:20:51 -07:00
Schneider Victor-tulias
66dbac08a3
Merge "Add cross-fade animation to launcher for dark/light theme changes." into ub-launcher3-master
2020-09-21 23:52:36 +00:00
TreeHugger Robot
d5486d0a81
Merge "Add window focus / visibility changed signals to AllAppsSearchPlugin" into ub-launcher3-master
2020-09-21 23:37:30 +00:00
Schneider Victor-tulias
25ecae1ef1
Add cross-fade animation to launcher for dark/light theme changes.
...
Test: manual
Fixing b/167570781. The launcher was not cross-fading it's original appearance with its new appearance on theme changes. It would only reload. Added a cross-fade animation.
Demo: https://drive.google.com/file/d/1adRIJIMFw4WGdfSqZbS0caR2LH3j_yH-/view?usp=sharing
Change-Id: I69162d9c49565e007cb33402389abf7d20806dd7
2020-09-21 16:15:54 -07:00
Hyunyoung Song
35a0c59021
Add window focus / visibility changed signals to AllAppsSearchPlugin
...
Change-Id: Ieb48e398cca85dd4343e37fef0015f5e4fece86f
2020-09-21 15:49:24 -07:00
Jon Miranda
9737454d9c
Merging from ub-launcher3-master @ build 6852432
...
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_master_6852432.html
Change-Id: I91066d6c55e88355a10a61281ad0d9b38b43f166
2020-09-21 20:51:59 +00:00
TreeHugger Robot
087b3fec4f
Merge "Remove tracing for a non-repro flake" into ub-launcher3-master
2020-09-21 18:56:44 +00:00
Tony Wickham
ca23b981d9
Allow touches on Workspace during transition from Overview
...
Previously we only allowed touches on the hotseat (due to it being
in the shelf in Overview); now we allow touches anywhere if we are
not in an overview state.
Test: enter overview, swipe up to home and scroll workspace or tap
a workspace icon during the transition
Bug: 169052350
Change-Id: I59ee695ba9cb6f5fddd8e41c5796cdba6b3d2112
2020-09-21 11:56:04 -07:00
Tony Wickham
a85fa09885
Make overview to home translate faster
...
Fixes: 169052350
Change-Id: Ia6f21f479498927a5561819fcc256b698acbd095
2020-09-21 11:14:49 -07:00
Winson Chung
c28fd0e946
[automerger skipped] Only check activity rotation allowed when considering menu layout am: 9cd3740fe7 -s ours
...
am skip reason: Change-Id If74a38b1ec51abd2ea7f3ba3de23f0b2c4cab0ab with SHA-1 24f0f34d01 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12640340
Change-Id: Idc46fad0cb20dc0507731166b100f66b7d7ec14e
2020-09-21 18:00:35 +00:00
Winson Chung
9cd3740fe7
Only check activity rotation allowed when considering menu layout
...
- The canRecentsActivityRotate() also checks whether system rotation
is enabled which prevents us from using the right layout orientation
when home rotation is enabled while system rotation is disabled.
Bug: 168278832
Test: Tested menu visibility in combination of
Auto rotate setting x Home rotation setting X Device orientation
Change-Id: If74a38b1ec51abd2ea7f3ba3de23f0b2c4cab0ab
Merged-In: If74a38b1ec51abd2ea7f3ba3de23f0b2c4cab0ab
2020-09-21 16:38:19 +00:00
Winson Chung
1ecce38357
Merge "Only check activity rotation allowed when considering menu layout" into ub-launcher3-master
2020-09-21 16:32:33 +00:00
Bill Yi
b28d25413d
[automerger skipped] Merge "Merge mainline-release 6664920 to master - DO NOT MERGE" am: 41e7da247f am: f6c4952bcc -s ours am: 3e7267762d -s ours am: 83805b696c -s ours am: 0d9115d7f3 -s ours
...
am skip reason: subject contains skip directive
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1429923
Change-Id: If75dacfed93e4c9976db9fd4095750b09369a77d
2020-09-21 08:27:52 +00:00
Bill Yi
791d5ac6ed
[automerger skipped] Merge mainline-release 6664920 to master - DO NOT MERGE am: 3e61e285ba am: 9e0e0fb05f -s ours am: f4c1bd2cb7 -s ours am: 624d25e841 -s ours am: 260bdd795e -s ours
...
am skip reason: subject contains skip directive
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1429923
Change-Id: I305d8fa829a78824dde60a0a8fdc9340fe603d5e
2020-09-21 08:27:01 +00:00
TreeHugger Robot
45b68b3575
Merge "enable minimal device mode for droidfood in S" into ub-launcher3-master
2020-09-20 06:07:39 +00:00
Pinyao Ting
a435e18686
enable minimal device mode for droidfood in S
...
Test: manual
Change-Id: Ieb24734e6c4245a872b5ac0f1a99766d542e983e
2020-09-20 05:27:51 +00:00
Pinyao Ting
28633e9985
Fix the issue Launcher is calling minimal device endpoint on UI thread
...
Test: manual
Change-Id: I72b12da43520d775bfd652a3b10406440f7cf64f
2020-09-20 05:27:21 +00:00
Bill Yi
0d9115d7f3
[automerger skipped] Merge "Merge mainline-release 6664920 to master - DO NOT MERGE" am: 41e7da247f am: f6c4952bcc -s ours am: 3e7267762d -s ours am: 83805b696c -s ours
...
am skip reason: Change-Id I0631b58f00dc0c39222e538a31e570206cf546f3 with SHA-1 b634086d6c is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1429923
Change-Id: I939ef2b29e45775c3f186e2b2d46393dc8edbee8
2020-09-19 08:01:51 +00:00
Bill Yi
260bdd795e
[automerger skipped] Merge mainline-release 6664920 to master - DO NOT MERGE am: 3e61e285ba am: 9e0e0fb05f -s ours am: f4c1bd2cb7 -s ours am: 624d25e841 -s ours
...
am skip reason: Change-Id I0631b58f00dc0c39222e538a31e570206cf546f3 with SHA-1 b634086d6c is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1429923
Change-Id: Ic64fe07e8481a683a1b599a3f7f944adc3b40097
2020-09-19 08:01:00 +00:00
Bill Yi
83805b696c
[automerger skipped] Merge "Merge mainline-release 6664920 to master - DO NOT MERGE" am: 41e7da247f am: f6c4952bcc -s ours am: 3e7267762d -s ours
...
am skip reason: Change-Id I0631b58f00dc0c39222e538a31e570206cf546f3 with SHA-1 b634086d6c is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1429923
Change-Id: I25c4f70be5a2e7bd4809c32e20ff3559c3cd3cfd
2020-09-19 07:01:16 +00:00
Bill Yi
624d25e841
[automerger skipped] Merge mainline-release 6664920 to master - DO NOT MERGE am: 3e61e285ba am: 9e0e0fb05f -s ours am: f4c1bd2cb7 -s ours
...
am skip reason: Change-Id I0631b58f00dc0c39222e538a31e570206cf546f3 with SHA-1 b634086d6c is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1429923
Change-Id: Ic6a5973461dcfb377cb9ff1202bcc4971dbe9ae5
2020-09-19 07:00:54 +00:00
Bill Yi
3e7267762d
[automerger skipped] Merge "Merge mainline-release 6664920 to master - DO NOT MERGE" am: 41e7da247f am: f6c4952bcc -s ours
...
am skip reason: Change-Id I0631b58f00dc0c39222e538a31e570206cf546f3 with SHA-1 b634086d6c is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1429923
Change-Id: Iacac1ebd1435d471ac979cffaa8e5d10ff7a9c32
2020-09-19 05:51:21 +00:00
Bill Yi
f4c1bd2cb7
[automerger skipped] Merge mainline-release 6664920 to master - DO NOT MERGE am: 3e61e285ba am: 9e0e0fb05f -s ours
...
am skip reason: Change-Id I0631b58f00dc0c39222e538a31e570206cf546f3 with SHA-1 b634086d6c is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1429923
Change-Id: Ibe9f5c4975defa9f1b51579052f2616d1ff9ed25
2020-09-19 05:50:31 +00:00
Bill Yi
f6c4952bcc
Merge "Merge mainline-release 6664920 to master - DO NOT MERGE" am: 41e7da247f
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1429923
Change-Id: I1cbd7b0b145cc8e84953efb2395c7dfc3c0a65b5
2020-09-19 05:23:04 +00:00