Commit Graph
49755 Commits
Author SHA1 Message Date
Jonathan Miranda 01a2ba47a6 Merge "Add BubbleTextHolder interface." into sc-dev am: e3cd4832e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14161804

Change-Id: Iaebf28f040f70ccaa240516bc96d0ba9ebee9807
2021-04-13 00:32:02 +00:00
Jonathan Miranda f0ad8a2caf Merge "Add BubbleTextHolder interface." into sc-dev am: e3cd4832e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14161804

Change-Id: I78e04d3a8c700b4fc5a95e7c75fd18e6ff07638a
2021-04-13 00:29:47 +00:00
Jonathan Miranda e3cd4832e1 Merge "Add BubbleTextHolder interface." into sc-dev 2021-04-13 00:18:28 +00:00
TreeHugger Robot 769a9c07be Merge "Handle transitining out of overview more gracefully for 3P launchers" into sc-dev am: 9bb040ec6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14142323

Change-Id: I2d2f4cde17a0bbd19a537a4d3b17b280d330ddc9
2021-04-12 23:21:33 +00:00
TreeHugger Robot 4a96a6c74e Merge "Handle transitining out of overview more gracefully for 3P launchers" into sc-dev am: 9bb040ec6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14142323

Change-Id: Ib306c3b2b8a9da494a75111a57ef37512774ccc9
2021-04-12 23:21:32 +00:00
Tony Wickham be282e9bc8 Update taskbar to add extra hotseat items instead of recent apps
Removes recents-related code including the divider between it and
hotseat.

Test: manually on device

Fixes: 184366189
Bug: 184789479
Bug: 171917176
Change-Id: I7776c98659ded70f53a49befddcd23c8353c6440
2021-04-12 16:20:18 -07:00
Tony Wickham b87f3cdc1c Add support for having more hotseat icons in the DB than we show
Split InvariantDeviceProfile#numHotseatIcons into two variables:
numDatabaseHotseatIcons and numShownHotseatIcons. These are generally
the same, but different DisplayOptions within the same GridOption
can choose to show different numbers of hotseat icons while sharing
the same database.

numDatabaseHotseatIcons is used for all reading/writing/migrating
purposes, while numShownHotseatIcons determines how many Hotseat
icons to show in the UI.

Test: Existing tests pass, added two new migration tests
Bug: 184789479
Bug: 171917176

Change-Id: I54583504f61a47a4444b6a637ebb7e3ab31528b7
2021-04-12 16:08:15 -07:00
TreeHugger Robot 9bb040ec6d Merge "Handle transitining out of overview more gracefully for 3P launchers" into sc-dev 2021-04-12 22:41:36 +00:00
Steven Ng 8157bb4faf Merge "Set width & height of app icons in all widgets tray to 48dp" into sc-dev am: 484b34bf28
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14139566

Change-Id: I9aee46f0ed6251b265354dbecea1660789df9bc8
2021-04-12 22:18:38 +00:00
Steven Ng 3fb1f5db41 Merge "Set width & height of app icons in all widgets tray to 48dp" into sc-dev am: 484b34bf28
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14139566

Change-Id: Ie761836a8aeb46922acaf1630cf56df6ef61dd12
2021-04-12 22:18:23 +00:00
Steven Ng 484b34bf28 Merge "Set width & height of app icons in all widgets tray to 48dp" into sc-dev 2021-04-12 21:31:50 +00:00
TreeHugger Robot 98401f4891 Merge "Restore drag&drop from WidgetsBottomSheet" into sc-dev am: 5427fa7b80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14141529

Change-Id: I1b4ca1aca46be6d290a32187b11eef447530b353
2021-04-12 19:48:42 +00:00
TreeHugger Robot 1d35bd9230 Merge "Restore drag&drop from WidgetsBottomSheet" into sc-dev am: 5427fa7b80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14141529

Change-Id: I48120254485fda31359cead2344f4c6fc00bd2f1
2021-04-12 19:48:30 +00:00
TreeHugger Robot 5427fa7b80 Merge "Restore drag&drop from WidgetsBottomSheet" into sc-dev 2021-04-12 19:15:20 +00:00
Pedro Loureiro 1e296c10cf Add lint baseline to address NewApi errors
We are enabling a new lint check where the min sdk != compile sdk.
It has produced a lot of errors and adding the baseline file(s)
allows us to continue work without introducing more problems.

Bug: 150847901

Test: m lint-check
Change-Id: I827a5b21dd52448d4f68da6743a1a1632d99573d
2021-04-12 19:36:17 +01:00
Evan Rosky 4548b5cb45 Merge "Changes to use new startTasks API" into sc-dev am: 5ecf5717b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13833147

Change-Id: I621bf236cf03b6ee85dc2499dd3f0742e4448058
2021-04-12 17:21:30 +00:00
Vinit Nayak 58dfd4d209 Handle transitining out of overview more gracefully for 3P launchers
Bug: 183897242
Test: Tested with Pixel Custom Launcher, as suggested on the bug
Change-Id: I46ceddb9f5eed6b16b7e66406dd68d94e7a30aee
2021-04-12 10:21:14 -07:00
Steven Ng 96d719b60f Merge "Add a widget conversations category for grouping widgets in the picker" into sc-dev am: 1d8090ef61
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14129146

Change-Id: I32f54670f9a8db3bb24bef2a8b064c00c02c79c2
2021-04-12 17:20:10 +00:00
Evan Rosky 58b9f701bf Merge "Changes to use new startTasks API" into sc-dev am: 5ecf5717b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13833147

Change-Id: I0c44645d555536c55bd5cf88253bf9d33a5ca154
2021-04-12 17:15:18 +00:00
Jon Miranda 92f130fdf5 Add BubbleTextHolder interface.
Bug: 184817903
Test: manual, verify correct app open animation
Change-Id: I3723922aff5c71ae6ec7340d3c00cffef7b010b8
2021-04-12 13:12:58 -04:00
Steven Ng 72f88b652b Merge "Add a widget conversations category for grouping widgets in the picker" into sc-dev am: 1d8090ef61
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14129146

Change-Id: Ie897f5d27364ff3bdcc2fe7e99372f7c4e6d5e0d
2021-04-12 17:12:27 +00:00
Evan Rosky 5ecf5717b5 Merge "Changes to use new startTasks API" into sc-dev 2021-04-12 16:57:55 +00:00
Steven Ng 1d8090ef61 Merge "Add a widget conversations category for grouping widgets in the picker" into sc-dev 2021-04-12 16:38:36 +00:00
Bill Yi 85e48c8295 Merge RQ2A.210405.006 to stage-aosp-master - DO NOT MERGE
Merged-In: I31f76112edeb770bc3b9c017f6205392dbe3f5a8
Change-Id: Ic4c3cfbde42e2318988c073662c95863bb13f27d
2021-04-12 09:28:12 -07:00
Pierre Barbier de Reuille ad16a7b1df Restore drag&drop from WidgetsBottomSheet
Fix: 184917820
Test: By hand with various widgets
Change-Id: I488b960daaa83c38aa1bd3cac5b94767ff656103
2021-04-12 14:39:14 +01:00
András Klöczl 6f6450e70f Merge "Launcher home currentpage refactoring" into sc-dev am: ea29adfbe9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14130326

Change-Id: If0a8f4a8825ab411f806c93f6ecd19c3c9d1e9bf
2021-04-11 23:34:19 +00:00
András Klöczl 6dc1245f8c Merge "Launcher home currentpage refactoring" into sc-dev am: ea29adfbe9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14130326

Change-Id: I2eff1a50758781505019d53f1746c7812b9ce480
2021-04-11 23:31:07 +00:00
András Klöczl ea29adfbe9 Merge "Launcher home currentpage refactoring" into sc-dev 2021-04-11 23:03:30 +00:00
android-build-team Robot 3cf1b8cfe4 Snap for 7272808 from 199c469ed8 to sc-v2-release
Change-Id: Ia60d4cbaf350391d2e4c16961116f349d2617a2f
2021-04-10 03:08:25 +00:00
android-build-team Robot 642a8d8186 Snap for 7272808 from 199c469ed8 to sc-release
Change-Id: I8a737f18cac66076e39098c2e8cf3cb2eedd4406
2021-04-10 03:08:13 +00:00
Tony Wickham 81ca1f8802 Remove some noisy logs by setting DEBUG = false
Change-Id: I050676c0f4750e06a9052fd1c2ebe1e8badcfd92
2021-04-09 15:40:08 -07:00
Pinyao Ting 0e438f6cfa Merge "Fix BackupRestoreTest" into sc-dev am: 199c469ed8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14122426

Change-Id: I32e7347a0aaf108c8b8ef33633ca4782a750ad89
2021-04-09 20:26:02 +00:00
Pinyao Ting 8ecc473f54 Merge "Fix BackupRestoreTest" into sc-dev am: 199c469ed8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14122426

Change-Id: I587ceb6aca2dda4b8c26047b79c09ba9a1367aa2
2021-04-09 20:25:53 +00:00
TreeHugger Robot 87deb89746 Merge "Revert "Fixing testOverview test"" into sc-dev am: 7b054513b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14117386

Change-Id: Iccefdee46d9da45a809454fecc2cff684019f267
2021-04-09 20:25:19 +00:00
TreeHugger Robot 315f050fef Merge "Revert "Fixing testOverview test"" into sc-dev am: 7b054513b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14117386

Change-Id: Ia8011647c5ba6425611833eecacdfbbbe16dfd03
2021-04-09 20:25:15 +00:00
Pinyao Ting 199c469ed8 Merge "Fix BackupRestoreTest" into sc-dev 2021-04-09 20:13:15 +00:00
TreeHugger Robot 7b054513b4 Merge "Revert "Fixing testOverview test"" into sc-dev 2021-04-09 19:37:48 +00:00
Vinit Nayak b1bbc0f78d Changes to use new startTasks API
When shell transitions is enabled, this will use the
newer multi-task-launch api and control the animation.

There is no actual animation yet, this just adds the
infrastructure.

Bug: 182002789
Test: enable developer option and enter split via recents
Change-Id: If5be104a86e7b5f743f85efed20b0d2bf1b8bfd1
2021-04-09 12:09:28 -07:00
Jon Spivack 32cedf5cbd Merge "Support LauncherGoGoogle builds in Android.bp" into sc-dev am: 7f463d33ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14116179

Change-Id: Id18f284e0019e1733fc68038b7fdc46154800b42
2021-04-09 18:53:23 +00:00
Jon Spivack 41055fbf65 Merge "Support LauncherGoGoogle builds in Android.bp" into sc-dev am: 7f463d33ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14116179

Change-Id: Ib13f711cca84eeeecf14288a1edf3376e144bd23
2021-04-09 18:52:13 +00:00
Jon Spivack 7f463d33ff Merge "Support LauncherGoGoogle builds in Android.bp" into sc-dev 2021-04-09 18:28:22 +00:00
Vinit Nayak dd462c991a Merge "Iterate over all swipeable regions when calculating quickswitch gesture bounds" into sc-dev am: 34148dc6b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14129535

Change-Id: I7afcab88ab182fb2e208b7d0cf27ded6c12d0f9b
2021-04-09 17:49:18 +00:00
Vinit Nayak f2ca9076d1 Merge "Iterate over all swipeable regions when calculating quickswitch gesture bounds" into sc-dev am: 34148dc6b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14129535

Change-Id: Ibf73b13291a931bc91525741ca6268fcf9643ce6
2021-04-09 17:49:05 +00:00
android-build-team Robot acfd669540 Merge cherrypicks of [14140464, 14142983, 14142984] into sc-v2-release
Change-Id: I3ddab9d4731ed597b21233c0f52a24c6c4d26acd
2021-04-09 17:41:42 +00:00
Steven Ng 4637ec6260 Fix drag-n-drop for recommended widgets
Bug: 184917820
Test: Drag-n-drop a recommended widget from the all widgets tray
Change-Id: If9efffc2e156836ff1b4048c3d40782ba4d5976b
(cherry picked from commit f7b7faed77)
2021-04-09 17:41:36 +00:00
android-build-team Robot af556b0ab8 Merge cherrypicks of [14141138, 14142987, 14142950] into sc-release
Change-Id: I8836c704959007d85b67203326c02f9b5fece4ac
2021-04-09 17:41:30 +00:00
Steven Ng db05108c3c Fix drag-n-drop for recommended widgets
Bug: 184917820
Test: Drag-n-drop a recommended widget from the all widgets tray
Change-Id: If9efffc2e156836ff1b4048c3d40782ba4d5976b
(cherry picked from commit f7b7faed77)
2021-04-09 17:41:22 +00:00
Vinit Nayak 34148dc6b4 Merge "Iterate over all swipeable regions when calculating quickswitch gesture bounds" into sc-dev 2021-04-09 17:31:26 +00:00
Vinit Nayak 84b3ee4f28 Iterate over all swipeable regions when calculating quickswitch gesture bounds
Previously when creating a new CurrentDisplay, we would
never get the correct OrientationRectF from the hashmap
because the size field of CurrentDisplay would be incorrect
for a given rotation.
Ex. Rotation 0 and Rotation 1 would have inverted display sizes
Thus hashcode would return different values and we would only
ever see if a point is contained in the current rotation's
OrientationRectF.

Bug: 183897242
Test: Tested swiping from portrait to landscape app, was
able to swipe continuously

Change-Id: I6de625389956f55cfc2142dcb7aeef2e90c157ac
2021-04-09 17:31:15 +00:00
Steven Ng 3378688604 Merge "Fix drag-n-drop for recommended widgets" into sc-dev am: 8b097ce381
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14141532

Change-Id: Ia8888bae03a285259e152e8174e19ea9195a3a02
2021-04-09 17:27:41 +00:00