Alex Chau
5a99f47edf
Merge "Disable Tapl pressBack and dragToFolder Tests" into sc-v2-dev am: a8c19019c6 am: 2b2e9e701a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182791
Change-Id: Ib2f17869f636c379d846bc41f05e5a50e8b78f41
2021-11-04 14:58:26 +00:00
Alex Chau
759ba54852
Merge "Disable Tapl pressBack and dragToFolder Tests" into sc-v2-dev am: a8c19019c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182791
Change-Id: I9e7a24d8cec0d5b1d4ab603eaa2930725c742d33
2021-11-04 14:41:10 +00:00
Thales Lima
238f630001
launcher: use a different task menu for foldables
...
Foldables use a different menu from phones, positioned either to the
right or left of the app icon, and display an arrow. Since TaskMenuView
is very specific for handhelds, it was cleaner to create another class
to handle foldables case extending from ArrowPopup.
This creates a working menu, the correct style will come in later CLs.
Bug: 193432925
Test: open Overview and tap the app icon
Change-Id: Icb068954e1e20a52d80c16c52d8e38ce9a181a8b
2021-11-04 14:40:47 +00:00
Alex Chau
2b2e9e701a
Merge "Disable Tapl pressBack and dragToFolder Tests" into sc-v2-dev am: a8c19019c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182791
Change-Id: I84fcfaa55e1ca492e241fe6519e6470e0e90ee2c
2021-11-04 14:39:47 +00:00
Alex Chau
a8c19019c6
Merge "Disable Tapl pressBack and dragToFolder Tests" into sc-v2-dev
2021-11-04 14:29:13 +00:00
Alex Chau
84fe75d72e
Make Launcher activity restart on density change
...
- Launcher used to restart when density changes before http://ag/14234761 , which added smallestScreenSize and density in configChange
- http://ag/14234761 aims to avoid restart when switching display in split dispalys, for which only size changes, therefore density is unnecessary in configChange
- Keeping density in configChange make Launcher acitvity to stay after changing display size, making all buttons stays in old size in previous denstiy, which is a bug
Bug: 204157738
Test: manual
Change-Id: Ib85326078c67c35d90dc5e9ae5c20eeb5286a610
2021-11-04 11:33:16 +00:00
Benno Lin
d80ed19ba6
Disable Tapl pressBack and dragToFolder Tests
...
The tests break on R3 and S5 devices.
Therefore the CL disable them temporarily until the issue being
resolved.
Bug: 205027405
Bug: 205014516
Test: disable tests that break ATP tests on R3 and S5.
Change-Id: Ib71c2f334d98445aeafa211d9bba2910d191b6fb
2021-11-04 02:46:48 +00:00
Winson Chung
7047a1d80e
Merge "Add some logging for taskbar recreation" into sc-v2-dev am: 3b5dddbce1 am: 00ad5612b6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16184040
Change-Id: Id9e4825ae08c2d9ab48ce67a557c107c337fa310
2021-11-04 00:07:04 +00:00
Winson Chung
6f45905cd5
Merge "Add some logging for taskbar recreation" into sc-v2-dev am: 3b5dddbce1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16184040
Change-Id: I0f3826c58c74128c39473910a813abc9bc6ba5e9
2021-11-03 23:56:17 +00:00
Winson Chung
00ad5612b6
Merge "Add some logging for taskbar recreation" into sc-v2-dev am: 3b5dddbce1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16184040
Change-Id: I3ae496719196ac29f420d3d9f2212ee3a5813b0c
2021-11-03 23:54:54 +00:00
Winson Chung
3b5dddbce1
Merge "Add some logging for taskbar recreation" into sc-v2-dev
2021-11-03 23:41:07 +00:00
Winson Chung
487ccf4cd3
Call into shell for recent tasks
...
- No change in behavior from today until groups are actually returned
from the shell
Bug: 202740477
Test: atest RecentTasksListTest
Change-Id: I4ac7b472ce2e0a3b2574dc6d8f4c1761a0ad993a
2021-11-03 23:03:28 +00:00
Zak Cohen
a5c1f31110
Add temporary logging to try and debug: b/202414125
...
Bug: 202414125
Test: Local
Change-Id: I1a0a65467a911eed48592542f4f21bb784286eb2
2021-11-03 15:17:44 -07:00
Tracy Zhou
aeebfe7db2
Merge "Revert "[Live Tile] App surface is above launcher even after reaching Overview"" into sc-v2-dev am: 5b92dccc5e am: 8a1eaa6735
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16167967
Change-Id: I53b523eef88a2eeed9562c9f46fb6eec59aee3ec
2021-11-03 22:16:58 +00:00
Tracy Zhou
8a1eaa6735
Merge "Revert "[Live Tile] App surface is above launcher even after reaching Overview"" into sc-v2-dev am: 5b92dccc5e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16167967
Change-Id: I1d544daf428d134695190cd1b2ea32266bd120cb
2021-11-03 22:05:23 +00:00
Tracy Zhou
27aacb7112
Merge "Revert "[Live Tile] App surface is above launcher even after reaching Overview"" into sc-v2-dev am: 5b92dccc5e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16167967
Change-Id: Ic958d9b98ad31204524567fbcdad3583eaef77d8
2021-11-03 22:05:19 +00:00
Tracy Zhou
5b92dccc5e
Merge "Revert "[Live Tile] App surface is above launcher even after reaching Overview"" into sc-v2-dev
2021-11-03 21:49:41 +00:00
Evan Rosky
767d4ac50e
Merge "Provide app-process tokens to remote transitions so they can be boosted" into sc-v2-dev am: a3defa4d39 am: 53f6ec366d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15633306
Change-Id: I5a9746b8af9f3bb7f25f29b51dd8fa1234ad45d4
2021-11-03 21:12:04 +00:00
Evan Rosky
53f6ec366d
Merge "Provide app-process tokens to remote transitions so they can be boosted" into sc-v2-dev am: a3defa4d39
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15633306
Change-Id: I5484bb00f11d9dfde24e5291dfbc12285b9d9006
2021-11-03 21:11:28 +00:00
Evan Rosky
ef590ff147
Merge "Provide app-process tokens to remote transitions so they can be boosted" into sc-v2-dev am: a3defa4d39
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15633306
Change-Id: I496f45b2c087e2b531fdc3e1035c64c46aa39fca
2021-11-03 21:11:03 +00:00
Evan Rosky
a3defa4d39
Merge "Provide app-process tokens to remote transitions so they can be boosted" into sc-v2-dev
2021-11-03 20:59:08 +00:00
Winson Chung
067faf3bbe
Add some logging for taskbar recreation
...
Bug: 201305599
Test: Manual
Change-Id: I437fe3226657ebe7b5507146fbe5e7f32e2e2fce
2021-11-03 11:17:44 -07:00
Alex Chau
e7cd85204e
Revert "DO NOT MERGE Fix the cutout of magnification border" am: c91a43e110
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182773
Change-Id: Id4077d5b7050fa3403379f57f40a61365e9158a1
2021-11-03 17:07:29 +00:00
Alex Chau
2705be5666
Revert "DO NOT MERGE Fix the cutout of magnification border" am: c91a43e110
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182773
Change-Id: I333af6ef9a8d29385e0cd5e08b4c3c3887f2b801
2021-11-03 17:07:09 +00:00
Winson Chung
d9db871f79
Merge "Revert "DO NOT MERGE Fix the cutout of magnification border"" into sc-v2-dev
2021-11-03 16:49:07 +00:00
Alex Chau
c91a43e110
Revert "DO NOT MERGE Fix the cutout of magnification border"
...
Revert "Do NOT MERGE Fix magnification border includes taskbar"
Revert submission 16003793-magnification_border
Bug: 196510717
Reason for revert: Caused NexusLauncherTests and NexusLauncherOutOfProcTests to stop running
Reverted Changes:
Ibbc9c51ea:Do NOT MERGE Fix magnification border includes tas...
Ida2bb5bf1:DO NOT MERGE Fix the cutout of magnification borde...
Change-Id: I6b2123aedd2a2f23142a34f158d2d9ab71948a18
2021-11-03 14:19:23 +00:00
Benno Lin
1d9d303185
Merge "Implement pressing back button and swiping back" into sc-v2-dev am: 97d749833c am: 1cfa05ad08
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16013509
Change-Id: I087ff9a5482c88f9034b1c51227d73c2412c89c7
2021-11-03 06:32:51 +00:00
Benno Lin
4c818e40b5
Merge "Implement pressing back button and swiping back" into sc-v2-dev am: 97d749833c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16013509
Change-Id: Ia234ca6bfecc272f19c20b711adfd950556cbcd0
2021-11-03 06:21:01 +00:00
Benno Lin
1cfa05ad08
Merge "Implement pressing back button and swiping back" into sc-v2-dev am: 97d749833c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16013509
Change-Id: I4b60b6e1fa2c7a14d837ef74cd2d3f4c0f6f9f25
2021-11-03 06:20:17 +00:00
Benno Lin
97d749833c
Merge "Implement pressing back button and swiping back" into sc-v2-dev
2021-11-03 06:03:49 +00:00
ryanlwlin
45a20421f6
DO NOT MERGE Fix the cutout of magnification border am: 571df892f7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16003757
Change-Id: I110f15d4c315218ace1e1939b5c77d790d48538e
2021-11-03 05:42:15 +00:00
ryanlwlin
20dc41372d
DO NOT MERGE Fix the cutout of magnification border am: 571df892f7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16003757
Change-Id: I2ea490bc2334a57b6edaa458f1313f91b22ffacc
2021-11-03 05:41:41 +00:00
Vinit Nayak
1bdae2753d
Merge "Revert "Align OverviewActionsView for 3 button taskbar"" into sc-v2-dev am: 874ea446c9 am: 2535db410c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16177161
Change-Id: Ic36f941b1436137c6eb82a0613c9612e61352a47
2021-11-03 05:29:26 +00:00
Ryan Lin
0ee6940bd0
Merge "DO NOT MERGE Fix the cutout of magnification border" into sc-v2-dev
2021-11-03 05:24:27 +00:00
Vinit Nayak
9f77b30259
Merge "Revert "Align OverviewActionsView for 3 button taskbar"" into sc-v2-dev am: 874ea446c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16177161
Change-Id: I7943a055038e4c41d5434b4c04dacbbb4deeb8b5
2021-11-03 05:18:55 +00:00
Vinit Nayak
2535db410c
Merge "Revert "Align OverviewActionsView for 3 button taskbar"" into sc-v2-dev am: 874ea446c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16177161
Change-Id: Ie1f5611e4c4e0826eb687acb95dd157f641341d4
2021-11-03 05:18:12 +00:00
Vinit Nayak
874ea446c9
Merge "Revert "Align OverviewActionsView for 3 button taskbar"" into sc-v2-dev
2021-11-03 05:04:32 +00:00
ryanlwlin
571df892f7
DO NOT MERGE Fix the cutout of magnification border
...
If the window is unmagnifiable, it might cause the cutout of
magnification region.
To fix it, we set the flag when the touchable region is not the
entier window frame.
Bug: 196510717
Test: manual test on gestural and 3-button navigation
Change-Id: Ida2bb5bf120038ac9153e12790b93bdec195adbc
2021-11-03 10:50:09 +08:00
Benno Lin
6c00386c2b
Implement pressing back button and swiping back
...
This CL implements a pressBack function to press back button or swiping
back in gesture navigation mode.
Bug: 199120092
Test: atest -c Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testPressBack &&
atest -c NexusLauncherTests:com.android.quickstep.TaplTestsQuickstep#testPressBack
Change-Id: I001cea17d09ae1ab7952d04ee394a2afa5bf1e67
2021-11-03 02:28:37 +00:00
Bill Lin
6648ab32bc
Merge "Allow One-handed gesture when densityDpi > 600" into sc-qpr1-dev
2021-11-03 00:59:46 +00:00
Zak Cohen
42ff088123
Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: 427113fa58 am: 78515f70cd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16177152
Change-Id: I2144a5749005cf28a85cd8dd0d8d4ceb1b006aee
2021-11-03 00:05:22 +00:00
Zak Cohen
a4628a3109
Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: 427113fa58
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16177152
Change-Id: I211c0f8aba37cba570a4e666a94d684583285c4b
2021-11-02 23:48:54 +00:00
Zak Cohen
78515f70cd
Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: 427113fa58
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16177152
Change-Id: Ia31be9a80f63bcfa79eea32af816748ed80ff4e0
2021-11-02 23:48:12 +00:00
Zak Cohen
427113fa58
Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev
2021-11-02 23:33:31 +00:00
Vinit Nayak
3fabe054c2
Revert "Align OverviewActionsView for 3 button taskbar"
...
This reverts commit 97d64ea8a1 .
Reason for revert: b/204891006
Change-Id: I9d40a5c8c9bce6b818779ebaf748bb9bd9231caf
2021-11-02 22:08:33 +00:00
Zak Cohen
21f6189cd5
Add temporary logging to try and debug: b/202414125
...
Bug: 202414125
Test: Local
Change-Id: I641f9877972f3f584e5fc618d89c65c52f0d1da0
2021-11-02 14:17:15 -07:00
Alex Chau
b290e94020
Crop letterbox insets when thumbnail is from different aspect ratio
...
- Extracted isAspectLargelyDifferent and use that to determine if letterbox inset should be cropped
- Always attempt to fit thumbnail width to avoid drawing area outside the thumbnail
Bug: 199743725
Test: manual
Change-Id: I2a7b20730055858b2376788e3a1fbbc66c0967e2
2021-11-02 18:09:34 +00:00
Tracy Zhou
b58eb1bc63
Revert "[Live Tile] App surface is above launcher even after reaching Overview"
...
This reverts commit e9e5e51d73 .
Reason for revert: This change breaks image indicators feature
Fixes: 195665605
Change-Id: I2abff19955e1594a40f06bfb4972721eed1ee16f
2021-11-01 23:49:00 -07:00
Vinit Nayak
f89c12fa27
Merge "Align OverviewActionsView for 3 button taskbar" into sc-v2-dev am: ac24e7f6f0 am: 8f4bcaf01f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16094825
Change-Id: I14c54f0b259ab5694c3830de3f6e77e2819dac34
2021-11-02 06:04:12 +00:00
Vinit Nayak
8d3ba33614
Merge "Check if RemoteAnimationTargets apps are present" into sc-v2-dev am: a216ad2c36 am: b8183b8bf3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16142291
Change-Id: I5fe155589024eb622b29ed87f68afbca1f6b78b5
2021-11-02 06:03:57 +00:00