Hyunyoung Song
37753aeec6
Merge "Fix WidgetsListContentEntryTest static initialization error" into sc-dev am: c860448bca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13562691
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9252909acb5b6bc129bf45db2d2de6c1221bf7ca
2021-02-15 23:01:12 +00:00
Hyunyoung Song
c860448bca
Merge "Fix WidgetsListContentEntryTest static initialization error" into sc-dev
2021-02-15 22:54:12 +00:00
Steven Ng
b2cf7e23a0
Merge "Make all widgets collapsed in the full widget picker by default" into sc-dev am: d2526d6a9a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13547785
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9eb09a033ac3e7e7541cdd667eb769f3b0474cf9
2021-02-15 22:44:21 +00:00
Steven Ng
d2526d6a9a
Merge "Make all widgets collapsed in the full widget picker by default" into sc-dev
2021-02-15 22:18:24 +00:00
Steven Ng
e92bc55d12
Make all widgets collapsed in the full widget picker by default
...
Changes:
1. Add a WidgetListHeader view for showing icon, app name and a subtitle.
2. Only WidgetListHeaders are always visible to users in the full widget
picker.
3. Only one widgets list from an app is visible in the full widget picker
at any one time.
Test: Auto: run add robolectric tests under widget/picker
Manual: Open full widgets picker. Then, expand and collapse apps.
Video: https://drive.google.com/file/d/1gzfeEm5IOAu0qHsO77OTS2eMfU7CHJiL/view?usp=sharing
Bug: 179797520
Change-Id: Idac58be23dfeafcb79b3c61b4972d3addb462de1
2021-02-15 17:46:38 +00:00
Hyunyoung Song
c90152ef81
Merge "Revert "Update Robolectric SDK to 30"" into sc-dev am: 9dbb9fe868
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13566725
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9818cd37d131ae1e013ec5b3fa940065849d824a
2021-02-14 05:10:10 +00:00
Hyunyoung Song
9dbb9fe868
Merge "Revert "Update Robolectric SDK to 30"" into sc-dev
2021-02-14 04:44:21 +00:00
Steven Ng
53d3427b4e
Fix WidgetsListContentEntryTest static initialization error
...
Test: m RunLauncherRoboTests
Bug: 180158637
Change-Id: I26316dddd41b1519e8deb0e049355cdce71aac4f
2021-02-13 20:46:07 +00:00
Hyunyoung Song
5fb8aae805
Revert "Update Robolectric SDK to 30"
...
This reverts commit 5ed0907cd3 .
Reason for revert: b/180139562
Change-Id: I9520993ee925935ab621239686377a39e2e25590
2021-02-13 07:34:54 +00:00
Hyunyoung Song
f68343127d
Merge "Apply Silk/ colorBackground(Floating) to AllApps" into sc-dev am: 106aa0d6f1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13554194
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iae8edb694b1b3ff9f781fa69e264a71d2a2c8128
2021-02-13 04:31:57 +00:00
Hyunyoung Song
106aa0d6f1
Merge "Apply Silk/ colorBackground(Floating) to AllApps" into sc-dev
2021-02-13 04:14:49 +00:00
Zak Cohen
5a727f2040
Merge "Adjust task padding overview to match new specs." into sc-dev am: 0d1fa0ee8d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13547667
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I572348ebb4c80961fb1f384bd59e106e61d0de1c
2021-02-13 01:40:17 +00:00
Zak Cohen
11e2ad20df
Merge "Remove elevation from Task in Overview." into sc-dev am: fe7fb09b90
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13547665
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic08a3494240ee0fb31ff03db3cefea6b9ca69eb8
2021-02-13 01:40:12 +00:00
Zak Cohen
2d6be100ff
Merge "Remove scaling and dimming for adjacent tasks in Overview." into sc-dev am: e38dc9b5f8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13547666
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I853b00927235dd831c9cd2bfdfe28fec94cd0c6d
2021-02-13 01:40:05 +00:00
Zak Cohen
0d1fa0ee8d
Merge "Adjust task padding overview to match new specs." into sc-dev
2021-02-13 01:23:38 +00:00
Zak Cohen
fe7fb09b90
Merge "Remove elevation from Task in Overview." into sc-dev
2021-02-13 01:23:02 +00:00
Zak Cohen
e38dc9b5f8
Merge "Remove scaling and dimming for adjacent tasks in Overview." into sc-dev
2021-02-13 01:22:51 +00:00
Sreyas Rangaraju
90ebc3437d
Merge "Updated TaskMenuView." into sc-dev am: 4e6a7e340d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13556167
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I47e10ad43083c6637fedb87e471ad29618cf2903
2021-02-12 23:56:44 +00:00
Sreyas Rangaraju
4e6a7e340d
Merge "Updated TaskMenuView." into sc-dev
2021-02-12 23:11:39 +00:00
thiruram
68bd23f948
[AA+] Log app launches with AllApps session InstanceId when current state is ALL_APPS. am: 6600860f0f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13556166
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ice84a6c41d105308fbf443ad34907cc6eea2b9a9
2021-02-12 20:15:22 +00:00
thiruram
6600860f0f
[AA+] Log app launches with AllApps session InstanceId when current state is ALL_APPS.
...
Bug: 178562918
Test: Manual
Change-Id: I65b264cc37079280b59179d5b2f29b67e7a12cc5
2021-02-12 20:02:41 +00:00
Rajeev Kumar
94128f5cae
Merge "Add NIU Actions buttons to the Go Overview" into sc-dev am: 1216e5999e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13488937
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3942b16d6772909ae8431472eeb6fd4a42466bd0
2021-02-12 18:50:11 +00:00
Rajeev Kumar
1216e5999e
Merge "Add NIU Actions buttons to the Go Overview" into sc-dev
2021-02-12 18:23:17 +00:00
Lucas Dupin
efe815ed7e
Merge "Revert "Ignore broken launcher tests"" into sc-dev am: 2268d7a937
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13556081
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic039408218684416ef7ef41400b17437eb1dc255
2021-02-12 17:38:17 +00:00
Lucas Dupin
2268d7a937
Merge "Revert "Ignore broken launcher tests"" into sc-dev
2021-02-12 17:24:59 +00:00
Lucas Dupin
db3f34f956
Revert "Ignore broken launcher tests"
...
This reverts commit 03c5a46235 .
Reason for revert: Fixed tests
Bug: 180016597
Change-Id: I45390f157c6c3a379d686e8802648aa948071b72
2021-02-12 02:57:58 +00:00
Sunny Goyal
2ea6630e57
Merge "Registering input monitor in Launcher process" into sc-dev am: f8bb6c02a1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13486549
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I44ea5696d9a17752be3f5294cc5c4e82bcbbbc8a
2021-02-12 01:45:50 +00:00
Sunny Goyal
f8bb6c02a1
Merge "Registering input monitor in Launcher process" into sc-dev
2021-02-12 01:04:46 +00:00
Lucas Dupin
772781a119
Merge "Ignore broken launcher tests" into sc-dev am: 5fc546d09c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13554186
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icf13ea2d058ea78e6a8ec564565eb8ed91ab79b3
2021-02-11 23:43:21 +00:00
Sreyas
e87b4c4979
Updated TaskMenuView.
...
Added padding on top of task name and removed unused code.
Bug: 179490926
Test: Manual
Change-Id: Id28547f30872f449f4f51238854155358b2dbcbe
2021-02-11 15:36:30 -08:00
Lucas Dupin
5fc546d09c
Merge "Ignore broken launcher tests" into sc-dev
2021-02-11 23:15:39 +00:00
Zak Cohen
b849aaf63d
Remove scaling and dimming for adjacent tasks in Overview.
...
New designs flatten out the overview list and don't have scaled and dimmed
tasks adjacent to the main one.
Bug: 179922117
Test: Local run
Change-Id: I2dde04ed60b9d8459810a10d0c27dd6e131855a6
2021-02-11 19:21:27 +00:00
Zak Cohen
b56611d962
Adjust task padding overview to match new specs.
...
New mocks have increased padding between the tasks.
I think we might need to fold some of these size calculations together
eventually, but this should be ok for the moment.
Bug: 179922117
Test: Local build and run
Change-Id: I4b5186d36012e80d55fae791e0c151c3112eecd1
2021-02-11 19:08:44 +00:00
Zak Cohen
34f4b7ebb8
Remove elevation from Task in Overview.
...
New designs don't have elevation for task views.
Bug: 179922117
Test: Local run
Change-Id: I0b3cb698574b49a279c7265e7f523819d20e2827
2021-02-11 19:08:02 +00:00
Hyunyoung Song
b3d739dfa9
Apply Silk/ colorBackground(Floating) to AllApps
...
Bug: 180020638
Test: adb shell setprop persist.sysui.monet 1 && adb shell am crash com.android.systemui
Change-Id: Ied508f3452a3e640495fff4d1567c3b094f54432
2021-02-11 10:52:06 -08:00
Ryan Mitchell
03c5a46235
Ignore broken launcher tests
...
Fabricated overlay changes seem to have made these tests flaky. Ignore
them for now while we figure out why the tests are flaky.
Bug: 180016597
Test: atest NexusLauncherOutOfProcTests
Change-Id: I639dabb2d6d57243882e0bc7100cc4947b32e37f
2021-02-11 18:20:43 +00:00
Steven Ng
b0dca0f9b3
Merge "Refactoring before adding a new view type in the WidgetsListAdapter" into sc-dev am: fa58bfa0b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13519369
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ifc0ce9eccb6c47d49612bb6d1d2aa974b4ce8200
2021-02-11 02:08:17 +00:00
Steven Ng
fa58bfa0b7
Merge "Refactoring before adding a new view type in the WidgetsListAdapter" into sc-dev
2021-02-11 01:06:11 +00:00
Adam Cohen
b14a4c165b
Merge "Draw the workspace scrim in the LauncherRootView instead of DragLayer" into sc-dev am: 12e547f2a8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13463974
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I441e0b92a8e00821159e34a95899ee1ab3b4d9db
2021-02-10 23:44:13 +00:00
thiruram
b16be229cb
Fix to avoid NPE with LiveSearchManager. am: 91d4f9f007
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13546785
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iee1335070081b11ddcf148be7179448f191e8f3c
2021-02-10 23:44:08 +00:00
Adam Cohen
12e547f2a8
Merge "Draw the workspace scrim in the LauncherRootView instead of DragLayer" into sc-dev
2021-02-10 23:33:06 +00:00
thiruram
91d4f9f007
Fix to avoid NPE with LiveSearchManager.
...
Bug: 179911188
Test: manual
Change-Id: Ic7f8ae7f7e2795eb18569670e166310102b7ea02
2021-02-10 23:24:32 +00:00
TreeHugger Robot
b4bd0af611
Merge "Update TaskIcon UI." into sc-dev am: 99f23c9714
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13538913
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5cf8437984a707be3f71a36c92f7e239703ee0a9
2021-02-10 22:22:21 +00:00
TreeHugger Robot
99f23c9714
Merge "Update TaskIcon UI." into sc-dev
2021-02-10 22:03:30 +00:00
Steven Ng
2f5648a911
Refactoring before adding a new view type in the WidgetsListAdapter
...
Changes made:
1. Model: added an abstract class for storing common information for
entries shown in the full page widgets picker.
2. Introduced a ViewHolderBinder interface to split the logic of binding
data to ViewHolder into separate classes.
3. Move the view holder binding of WidgetsListRow from WidgetListAdapter
to its new class.
4. Move some widgets picker classes into a new picker package.
Test: Auto: Run WidgetsListAdapterTest, WidgetsListRowEntryTest and
WidgetsListRowViewHolderBinderTest.
Manual: open the all apps widgets tray and navigate the list.
Bug: 179797520
Change-Id: Iab29557842bb79156cad84d00a4c5d0db0c5aa06
2021-02-10 21:23:40 +00:00
TreeHugger Robot
646d58a6ed
Merge changes I0e4cedbf,Idfa1b82c into sc-dev am: 16126eedcd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13502882
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I907ccf4c44be7772fa3d6c76a767fac6b5cdc094
2021-02-10 21:04:58 +00:00
TreeHugger Robot
16126eedcd
Merge changes I0e4cedbf,Idfa1b82c into sc-dev
...
* changes:
Add instanceId to LAUNCHER_FOLDER_CONVERTED_TO_ICON log event.
Fixes wrong container for LAUNCHER_ITEM_DROP_COMPLETED log event.
2021-02-10 20:42:50 +00:00
Hongwei Wang
4fa594b17b
Merge "Support autoEnterPip without source rect hint" into sc-dev am: 0f16e51451
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13524927
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibd08c63eb219320ea52f701d7b59e0646dff449d
2021-02-10 20:37:08 +00:00
Hongwei Wang
0f16e51451
Merge "Support autoEnterPip without source rect hint" into sc-dev
2021-02-10 20:03:07 +00:00
Adam Cohen
501e139c6e
Draw the workspace scrim in the LauncherRootView instead of DragLayer
...
=> The entire DragLayer is translated during the -1 transition which creates a janky looking edge at the top of the screen
=> By bumping the scrim up a level, we avoid this
=> Separated WorkspaceAndHotseatScrim into two separate scrims, since only part of the scrim needed to be bumped up to a level. Further, it was an overloaded class.
=> We had previously been implicitly relying on the fact that the scrim was rendered in the Workspace parent; we need to make sure to propagate workspace inavlidations to the container of the scrim. While things would still work without this change, it's more correct to leave it, as we no longer assume a hierarchy for functinoality.
Bug: 178215332
Test: manual verification. See video in bug.
Change-Id: I0a76ddf35ceea8c9635367f69380ef24f42e9479
2021-02-10 19:16:26 +00:00