Tony Wickham
bb4de85c25
Draw folder leave-behind when opening folder in taskbar
...
Previously there was only support for CellLayout to draw the
leave-behind. Added FolderIconParent interface so any parent can
draw the leave-behind, and implement that by TaskbarView.
Test: Open folder in Taskber, ensure leave-behind draws
Bug: 171917176
Change-Id: I08d1d939a34f971f893994fe05cac972d165ef53
2021-02-16 15:10:05 -08:00
Tony Wickham
7ba547cd2d
Folder support in Taskbar
...
- Add TaskbarActivityContext which allows shared Launcher elements to
"just work" using existing generic ActivityContext.
- TaskbarContainerView extends BaseDragLayer<TaskbarActivityContext>.
- Inflate FolderIcon and Folder using TaskbarActivityContext to be
shown in TaskbarContainerView.
- Use TaskbarActivityContext's DeviceProfile to determine icon size
instead of overriding in styles. This also ensures that normal
BubbleTextView icons have the same size as FolderIcons.
Test: Place a folder in home screen hotseat, ensure it shows up in
taskbar and can be opened, and that apps inside it can be launched
or dragged.
Bug: 171917176
Change-Id: Ic25d2f84bcd7e3399c88989305ea565497c030d9
2021-02-16 15:07:01 -08:00
Tony Wickham
1906cc33f9
Refactor Folder to use ActivityContext and BaseDragLayer
...
These are the more generic versions of Launcher and DragLayer, so
that Folders can be used in other surfaces.
Test: Open and close Folders on home screen, ensure works properly
Bug: 171917176
Change-Id: I39b9aedbd8319ca61ea0e776bc95eab585e023d5
2021-02-16 15:06:50 -08:00
Sunny Goyal
c82cc8d433
Merge "Fixing dragView not getting removed on returning home" into sc-dev am: e9110af0e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13563271
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie348fed9daa055105f0be7775ebdbef678450a9e
2021-02-16 22:40:44 +00:00
Sunny Goyal
468e217cb4
Merge "Fixing dragView not getting removed on returning home" into sc-dev am: e9110af0e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13563271
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I80d273acda92d38afc50064645332278d6174e71
2021-02-16 22:39:44 +00:00
Sunny Goyal
e9110af0e0
Merge "Fixing dragView not getting removed on returning home" into sc-dev
2021-02-16 22:13:33 +00:00
Sreyas
960ddb07fc
ShareTargets animations and styling.
...
Test: Manual
Bug: 169772466
Change-Id: I5a5118e23f90c4c585ad78f054e2c3e6b5d32001
2021-02-16 13:23:02 -08:00
Steven Ng
0be3a615d9
Render preview layout in full widgets sheet and bottom widgets sheet
...
Video: https://drive.google.com/file/d/1gRE0axaq6tm3R_gjSon0RR5lC8HCmwee/view?usp=sharing
Test: Install a sample app which provides a preview layout.
Go to full widgets sheet to observe widget previews are correctly
displayed for bitmap previews, layout previews and placeholder
previews. Repeat the same for bottom widgets picker.
Pin a widget from a sample app which provide a custom RemoteViews
preview, observe the custom RemoteViews is correctly rendered.
Bug: 179797520
Change-Id: I2ccd1f77b54a2430d842ee25349fa6e54b9159dc
2021-02-16 19:34:03 +00:00
Jonathan Miranda
125bf37fd3
Merge "Add border spacing and fixed cell height to grid." into sc-dev am: 8dd4ddc7ae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13532637
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic6a654cde19e1e0388c942b6be58bd8ea352420c
2021-02-16 18:47:53 +00:00
Jonathan Miranda
15622e032a
Merge "Add border spacing and fixed cell height to grid." into sc-dev am: 8dd4ddc7ae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13532637
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icd3c31d4fdc87b60b12d8e81d3ffdbe10e451431
2021-02-16 18:47:10 +00:00
Sunny Goyal
384b578ab2
Removing menu and dialog for custom actions hanlding.
...
These do not work well with gesture-nav and can potentially
block the Launcher UI.
Instead exposing on custom actions with keyboard accelerator and
using thee internal arrowPopup for resize options
Fixing SecondoryDropTarget not sending appropriate stats log
Bug: 179854703
Test: Verified on device
Change-Id: I268690f8a937896e4350496128a38959003f8939
2021-02-16 10:45:06 -08:00
Jonathan Miranda
8dd4ddc7ae
Merge "Add border spacing and fixed cell height to grid." into sc-dev
2021-02-16 18:38:38 +00:00
Andy Wickham
0be30f2b9f
Merge "Adds CONTAINER_QSB to be used for QSB data." into sc-dev am: 9199fd1831
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13549792
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0bf6b7d37848fed44a18682a078aa81287913e69
2021-02-16 05:55:56 +00:00
Andy Wickham
df471d9bc6
Merge "Adds CONTAINER_QSB to be used for QSB data." into sc-dev am: 9199fd1831
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13549792
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I865c2661ebffb67962a18fdf2748ae3f24645d25
2021-02-16 05:51:03 +00:00
Andy Wickham
9199fd1831
Merge "Adds CONTAINER_QSB to be used for QSB data." into sc-dev
2021-02-16 05:35:56 +00:00
android-build-team Robot
b771ac2921
Snap for 7147079 from 97d228aea0 to tm-release
...
Change-Id: I64bd4a74986eaa1973b7547ff9a300cdd82675eb
2021-02-16 04:07:06 +00:00
android-build-team Robot
a61c9d47eb
Snap for 7146909 from c96873caad to sc-v2-release
...
Change-Id: Ie5a1121573345c6e47f0c08a87224c9736b1c818
2021-02-16 02:08:04 +00:00
android-build-team Robot
98a482011d
Snap for 7146909 from c96873caad to sc-release
...
Change-Id: Icb3e45a472357438eb55500c1d0a047e970abe51
2021-02-16 02:07:50 +00:00
thiruram
7fb9fd3705
[AA+] Log LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events with AllApps session InstanceId. am: c96873caad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13555897
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5f618480700c2ff63704e9d6303f6546981aeb73
2021-02-16 00:27:15 +00:00
thiruram
97d228aea0
[AA+] Log LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events with AllApps session InstanceId. am: c96873caad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13555897
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I71c044387453e9722f516fe57b1be4e40d25f19e
2021-02-16 00:27:06 +00:00
thiruram
c96873caad
[AA+] Log LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events with AllApps session InstanceId.
...
* Transitions between AllApps and App screen logs LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events. This change add InstanceId specific to the current AllApps session to these logs; this will help to regenerate AllApps session from logs on the server side. This should only affect logs from AllApps screen, but not others.
* Removes LiveSearchManager.allAppsLogger method as it may create confusion with 2 methods for logging into Statsd
* Moved AllApps entry and exit logs to Launcher.
Bug: 178562918
Test: Manual
Change-Id: I5fab941777a3dfd2e9b19c0efd5b06d3884222ef
2021-02-15 23:56:52 +00:00
Hyunyoung Song
1a88917d3e
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: I96d4de875e8f0b739af46f04b4ea4b0e30a70cef
2021-02-15 23:01:22 +00:00
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
5bae2b7040
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: Ic79770e76bec7b3b578ceff7eceb338133ad113b
2021-02-15 22:44:29 +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
android-build-team Robot
f75371647e
Snap for 7145297 from c90152ef81 to tm-release
...
Change-Id: I365038dd915251b07270f3578361737acd8521f7
2021-02-15 02:07:28 +00:00
android-build-team Robot
a45edd8aad
Snap for 7145173 from 9dbb9fe868 to sc-release
...
Change-Id: I7f9330518a3020d6cfa7ab95cf1eddc8b2c8b171
2021-02-15 00:08:01 +00:00
android-build-team Robot
c3a865505a
Snap for 7145173 from 9dbb9fe868 to sc-v2-release
...
Change-Id: I58b41a9448a239fefe98aa783fbdfbbd915711d6
2021-02-15 00:07:53 +00:00
Hyunyoung Song
f5365ae5d8
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: I5fe8b6f7e5b9a82fa1b7dd8bc1dff96ed628ace7
2021-02-14 05:10:17 +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
android-build-team Robot
34ea6f88ca
Snap for 7144243 from f68343127d to tm-release
...
Change-Id: I6116782ca5c853e5f97273c8cb82466b21f94f9c
2021-02-14 02:07:10 +00:00
android-build-team Robot
0ee4d5ff00
Snap for 7144110 from 106aa0d6f1 to sc-v2-release
...
Change-Id: Ia6156187288e46719cb4ef0fb857df0c08276216
2021-02-14 00:07:59 +00:00
android-build-team Robot
2639730865
Snap for 7144110 from 106aa0d6f1 to sc-release
...
Change-Id: Icf338dc5c3025440c70fc613a7b3c606b089b7d5
2021-02-14 00:07:49 +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
ccdb4360f5
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: Id0765824dd394f9f6454dbb5063decbf47192bab
2021-02-13 04:35:07 +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
android-build-team Robot
c2106e12a6
Snap for 7142207 from f8bb6c02a1 to sc-release
...
Change-Id: Icde5f398397e89701d4358e9355db7e07ec81b3a
2021-02-13 02:08:31 +00:00
android-build-team Robot
1893b568d4
Snap for 7142207 from f8bb6c02a1 to sc-v2-release
...
Change-Id: I6eee99d2ec9ff961ba76461eb4293f0851515ce1
2021-02-13 02:08:24 +00:00
Zak Cohen
c3558fb0aa
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: Ie90199a43ba3d1d1a9470b2b5c2d62d15f10afcf
2021-02-13 01:42:31 +00:00
Zak Cohen
070af20e26
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: I4c50d747084043c916548781c4c9fb804a8ba978
2021-02-13 01:42:26 +00:00
Zak Cohen
6ad167db0a
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: I73042919804d236a092a3202e98ab4db7cee863a
2021-02-13 01:42:21 +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