Commit Graph

32041 Commits

Author SHA1 Message Date
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 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
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 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 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
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
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
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 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
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
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 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 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
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 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 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 12f6419f9a Merge "Update Home settings nav bar color." into sc-dev 2021-04-09 16:35:34 +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 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 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
shawnlin ffb976c404 Attached the navigation bar to app for launching from Launcher
- Play the nav bar fade-out animation at the same time when the app
  launching animation starts and make the fade-in animation ends at the
  same time when app launching animation ends.
- To make the nav bar fade-in animation looks like it's attached to the
  app, apply crop rect and translation that the app targets apply to the
  nav target.

Bug: 181638132
Test: manual: click app icon on launcher to launch an activity and
observe the navigation bar animation.

Change-Id: If7e610eca5fccbb747a76c87335a600b018195a6
2021-04-09 04:04:42 +00:00
András Klöczl ddbf785d68 Merge "Update icon and text size for two panel home screen" into sc-dev am: 12eeecc36b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14103520

Change-Id: I9a8301cc5bd914d73149d421fe1f774d636f45e1
2021-04-08 23:15:12 +00:00
András Klöczl 12eeecc36b Merge "Update icon and text size for two panel home screen" into sc-dev 2021-04-08 22:48:26 +00:00
Steven Ng 833a0b9fa9 Add a widget conversations category for grouping widgets in the picker
Bug: 184878454
Test: Open the full widget picker and observe the conversation widget
      from SystemUi is listed under conversations.
Change-Id: I53cd74d80ce3c4ff77a92cd660ca9283416e9fd3
2021-04-08 22:35:55 +01:00
Alex Chau 6622fa5a51 Merge "Calculate ClearAllButton's scroll offset after it's laid out" into sc-dev am: 21784eaf08
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14112622

Change-Id: I2222de7a9d72fe0b276bb374735c1e22bb0180e4
2021-04-08 21:08:48 +00:00
Alex Chau f92128f177 Merge "Check showAsGrid when applying secondary translate on TaskViewSimulator" into sc-dev am: 6c01b3b088
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14113495

Change-Id: Ia60d2c2c118615d85adb78dcb1c8bc8b956ebf88
2021-04-08 21:06:34 +00:00
Alex Chau 21784eaf08 Merge "Calculate ClearAllButton's scroll offset after it's laid out" into sc-dev 2021-04-08 20:44:45 +00:00
Alex Chau 6c01b3b088 Merge "Check showAsGrid when applying secondary translate on TaskViewSimulator" into sc-dev 2021-04-08 20:43:19 +00:00
Steven Ng bf105c67b4 Merge "Use a separate personal/work tabs layout for the widget picker" into sc-dev am: 1b5e45acae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14103513

Change-Id: I097524426790c6b68403ba9120094602bbbe1406
2021-04-08 19:21:57 +00:00
Steven Ng 1b5e45acae Merge "Use a separate personal/work tabs layout for the widget picker" into sc-dev 2021-04-08 18:48:52 +00:00