Commit Graph
83004 Commits
Author SHA1 Message Date
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 46c31d66b1 Snap for 7272906 from 0e438f6cfa to tm-release
Change-Id: I22ae97320abc7682ee433c8caf634cf038325e4b
2021-04-10 05:07:44 +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
android-build-team Robot 626588f917 Merge cherrypicks of [14141144, 14143001, 14142958] into tm-release
Change-Id: Ieade42ed37a9a9be71b1cd2438ed213a00cefaec
2021-04-09 17:51:17 +00:00
Steven Ng bf679d8343 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:51:07 +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
Steven Ng abf7d457be 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: I983bdcd709667d2bc213419e1030c0609b5d3fad
2021-04-09 17:27:31 +00:00
Steven Ng 3eb0c8a204 Merge "Set a max down scale ratio for recommended widgets" into sc-dev am: ab293546be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14141527

Change-Id: I76f32a1784acbbb593edd2faf9c3c2b15a72ada6
2021-04-09 17:27:17 +00:00
Steven Ng 4d29474dcb Merge "Set a max down scale ratio for recommended widgets" into sc-dev am: ab293546be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14141527

Change-Id: I40e8fa0db96f3da2020ebc2c7501b61027d6f78e
2021-04-09 17:26:50 +00:00
Steven Ng 8b097ce381 Merge "Fix drag-n-drop for recommended widgets" into sc-dev 2021-04-09 17:15:33 +00:00
Steven Ng ab293546be Merge "Set a max down scale ratio for recommended widgets" into sc-dev 2021-04-09 17:14:28 +00:00
Schneider Victor-tulias d7f68425ca Merge "Update Home settings nav bar color." into sc-dev am: 12f6419f9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14117506

Change-Id: Ia8006346474271e4398d50adee13728366937c8f
2021-04-09 17:08:47 +00:00
Schneider Victor-tulias 41f058f782 Merge "Update Home settings nav bar color." into sc-dev am: 12f6419f9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14117506

Change-Id: Id2f8ea573cab00fd39cd11b89ab2e03f2df69487
2021-04-09 17:07:24 +00:00
Schneider Victor-tulias 12f6419f9a Merge "Update Home settings nav bar color." into sc-dev 2021-04-09 16:35:34 +00:00
Jon Miranda 5eff0bbe13 Remove temp logic added to migrate users to new 4x5 grid.
Related changes:
- I81a91b8415effbe0bf7ba722f11ab44a4169e3df
- Ia7ae129048bf5878b216f31f949e10c71e608818

Bug: 183965808
Bug: 175329686
Test: manual
Change-Id: If9ae69d746f1c86db98275f0c00ae054e146b67e
2021-04-09 14:58:46 +00:00
Steven Ng f7b7faed77 Fix drag-n-drop for recommended widgets
Bug: 184917820
Test: Drag-n-drop a recommended widget from the all widgets tray
Change-Id: If9efffc2e156836ff1b4048c3d40782ba4d5976b
2021-04-09 15:26:31 +01:00
Steven Ng f22239191d Set a max down scale ratio for recommended widgets
If the down scale ratio is smaller than the max down scale ratio,
recommended widgets won't be shown

Bug: 183500375
Test: Rotate to landscape on Pixel 3 and then launch widget picker.
      Recommended widgets are not shown. Rotate to portrait.
      Recommended widgets are shown.
Change-Id: I48b76b23c5bf505c79da82c7b27ea4db85f5d717
2021-04-09 14:54:35 +01:00
Pierre Barbier de Reuille 04c013cfed Update the test appwidget for dynamic colors am: 46fbb5c702
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14139565

Change-Id: I02055b8c93e6482a53bbacdbbfe990642f562c8b
2021-04-09 12:47:35 +00:00
Pierre Barbier de Reuille 467130203e Update the test appwidget for dynamic colors am: 46fbb5c702
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14139565

Change-Id: Ia2380c002aad1621047aad4fb45c75520d6b761d
2021-04-09 12:47:10 +00:00
Steven Ng 3691179041 Set width & height of app icons in all widgets tray to 48dp
Bug: 184877669
Test: Change the grid size and observe app icons in all widgets
      tray stay the same.
Change-Id: I856d5fada579474fffb6296d641fb686623ca2cc
2021-04-09 11:15:50 +01:00
Pierre Barbier de Reuille 46fbb5c702 Update the test appwidget for dynamic colors
Fix: 184924547
Test: Installed widget locally
Change-Id: Icb50cfd5cec053c3cbe9b25fe317ad71e0b16bf6
2021-04-09 10:55:05 +01:00
Andras Kloczl 7a1ca0b299 Launcher home currentpage refactoring
Calling cancelLongPress on all the visible pages when needed
and enabling hardware acceleration on them when a folder
animation is in progress.

Test: manual
Bug: 174464691
Change-Id: Ib11265abfd184fed41acc9a6347a32aec12895f2
2021-04-09 11:22:14 +02:00
shawnlin efbbdbd35d Attached the navigation bar to app for launching from Launcher am: ffb976c404
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14031674

Change-Id: I239cbee54b6c5f1b4ac66e7978a86454c470d046
2021-04-09 07:59:17 +00:00
shawnlin 65b6cec480 Attached the navigation bar to app for launching from Launcher am: ffb976c404
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14031674

Change-Id: I34179afef340560360767322bd7e1150b2069fe5
2021-04-09 07:58:49 +00:00