Commit Graph

32100 Commits

Author SHA1 Message Date
Hyunyoung Song ec8a94903a Merge "Reduce the spring effect on All Apps" into sc-dev am: 64afdab77c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14170491

Change-Id: Id5c800e4f01ea24da84ad8f076424870e89c3ff7
2021-04-14 06:30:29 +00:00
Hyunyoung Song 64afdab77c Merge "Reduce the spring effect on All Apps" into sc-dev 2021-04-14 06:01:33 +00:00
Hyunyoung Song 9e7faadba4 Reduce the spring effect on All Apps
Bug: 185290838
Test: manual
Change-Id: Ie48ae27071d113603451c4198e762f03feaaa0d6
2021-04-13 20:48:25 -07:00
TreeHugger Robot 96b155e2fa Merge "Waiting for NexusLauncher to go away after swiping up from menu" into sc-dev am: 4e77d8f85f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14174067

Change-Id: Id31ed7dd3a2c717641cbf172f514d1a191d22cfc
2021-04-14 02:32:08 +00:00
TreeHugger Robot 4e77d8f85f Merge "Waiting for NexusLauncher to go away after swiping up from menu" into sc-dev 2021-04-14 02:11:27 +00:00
Andy Wickham 843b10aa04 Merge "Updates quickswitch animation from Launcher." into sc-dev am: 3aea671e4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13564225

Change-Id: I3192bbc7105c94fea997d4879e30677b8f0c0155
2021-04-14 02:10:01 +00:00
Andy Wickham 3aea671e4f Merge "Updates quickswitch animation from Launcher." into sc-dev 2021-04-14 01:56:36 +00:00
Bill Yi af0269ad37 [automerger skipped] Merge RQ2A.210405.006 to stage-aosp-master - DO NOT MERGE am: 85e48c8295 -s ours am: d63fa49285 -s ours am: ce5458ff1b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14173988

Change-Id: I5e8e63e5e680fa2cd0d94b9d3f5bfead853def55
2021-04-14 01:49:29 +00:00
Bill Yi ce5458ff1b [automerger skipped] Merge RQ2A.210405.006 to stage-aosp-master - DO NOT MERGE am: 85e48c8295 -s ours am: d63fa49285 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14173988

Change-Id: I6c77cea6a319dab0e1ca706592713f64db3070e4
2021-04-14 01:30:10 +00:00
Andy Wickham 06640b62d4 Merge "Expose the LauncherModel ModelDelegate" into sc-dev am: 3f504dcbf9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14174076

Change-Id: I3c551d195c07e8cf864f6014fb29af25ec27ccd2
2021-04-14 01:26:26 +00:00
Andy Wickham 3f504dcbf9 Merge "Expose the LauncherModel ModelDelegate" into sc-dev 2021-04-14 01:10:16 +00:00
Bill Yi d63fa49285 [automerger skipped] Merge RQ2A.210405.006 to stage-aosp-master - DO NOT MERGE am: 85e48c8295 -s ours
am skip reason: skip tag Change-Id I31f76112edeb770bc3b9c017f6205392dbe3f5a8 with SHA-1 5dd7e72e1d is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14173988

Change-Id: I53baf5ade2bf8c2a7c6b1edf852b4f397778c03c
2021-04-14 00:31:11 +00:00
TreeHugger Robot 9833b4f91d Merge "Remove SystemUiProxy#monitorGestureInput() as it's no longer used" into sc-dev am: 047f2ed9b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14177243

Change-Id: I73f141b2a544bb699fbf4351584cf9a48cb0c54b
2021-04-14 00:29:57 +00:00
TreeHugger Robot 7a22e29ea6 Merge "Fixing race condition when an apk is removed." into sc-dev am: cc339a5587
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14174073

Change-Id: I49d68c8eae1ed79a332a029a2d980fc99ac40f46
2021-04-14 00:29:09 +00:00
TreeHugger Robot 047f2ed9b8 Merge "Remove SystemUiProxy#monitorGestureInput() as it's no longer used" into sc-dev 2021-04-14 00:14:36 +00:00
TreeHugger Robot cc339a5587 Merge "Fixing race condition when an apk is removed." into sc-dev 2021-04-14 00:04:48 +00:00
Vinit Nayak e2bb8fc38b Merge "Make RotationTouchHelper singleton to report single rotation state" into sc-dev am: 91b83064e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14142324

Change-Id: I64597be4131e69e319885f52c6d7903029113f6a
2021-04-13 23:23:57 +00:00
Vinit Nayak 91b83064e1 Merge "Make RotationTouchHelper singleton to report single rotation state" into sc-dev 2021-04-13 22:43:07 +00:00
Andy Wickham 18694a2545 Updates quickswitch animation from Launcher.
- Workspace/All Apps/Hotseat no longer translate down
 - Fading of these elements and scaling of Workspace are tied to the
   wallpaper depth animation
 - At any point in the drag, you can still swipe up to enter Overview

This makes it feel like the apps are tied to the wallpaper and avoids
moving them orthogonally to the finger.

It also makes the "No recent items" animation more elegant.

Demo: https://drive.google.com/file/d/1phuRCqb69vuMp3ijS6PR5lTEcBHScjie/view?usp=sharing&resourcekey=0-2HXtMLUhQ-YU53hYlYV-fQ
Demo with no recent apps: https://drive.google.com/file/d/1wjexqznxs9ZhiUtCDW4-ZK6c7hKDRaXn/view?usp=sharing&resourcekey=0-GugbpJK8_cnFbUBB2Ar30w

Fixes: 174228745
Test: Manual
Change-Id: I1574ff89a0f382b7e63bf03cf4300ec7c695cfec
2021-04-13 15:35:46 -07:00
Tony Wickham 876b66d4c6 Merge "Move taskbar to be closer to QSB" into sc-dev am: a5788cc24f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14165475

Change-Id: Ibf2b9ff9987c96191de72c25c2fb0608839a45ca
2021-04-13 21:53:40 +00:00
Tony Wickham 9ac8b781b9 Remove SystemUiProxy#monitorGestureInput() as it's no longer used
Test: compiles and runs locally
Bug: 185266621
Change-Id: I4d40de269007178550cf1a9e9e906018badc6f74
2021-04-13 14:29:19 -07:00
Schneider Victor-tulias 3ec8f554af Expose the LauncherModel ModelDelegate
Added a getter for LauncherModel's ModelDelegate.

bug: 184179894
Test: manual
Change-Id: I94d2ee535f7c96e0d3672f053f32f55ddd10cba0
2021-04-13 14:17:41 -07:00
Tony Wickham a5788cc24f Merge "Move taskbar to be closer to QSB" into sc-dev 2021-04-13 21:12:49 +00:00
Sunny Goyal 79ee3f6310 Fixing race condition when an apk is removed.
Since the check was happening on a different thread, the view might have change by the time
the callback comes back on UI thread.

Bug: 185100744
Test: Manual
Change-Id: I1347819bee71ed9d7ba6aa676f4318ea03316ea2
2021-04-13 13:43:25 -07:00
Rob Carr 553906c437 Merge "Launcher3: Port SurfaceTransactionApplier to BLAST" into sc-dev am: a3ba0f9f6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13856012

Change-Id: If8760500199b5e2ab25bfeae6f172e5fc1a12c1c
2021-04-13 20:38:55 +00:00
Alina Zaidi ab05655464 Merge "Add education tip to widget picker." into sc-dev am: 1e849a95f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14137345

Change-Id: I643be636fa43b692cf3b05817e89cc1beb7c8130
2021-04-13 20:38:34 +00:00
Rob Carr a3ba0f9f6d Merge "Launcher3: Port SurfaceTransactionApplier to BLAST" into sc-dev 2021-04-13 19:47:25 +00:00
Alina Zaidi 1e849a95f9 Merge "Add education tip to widget picker." into sc-dev 2021-04-13 19:26:30 +00:00
Tony Wickham 4b4cc27574 Merge changes from topic "taskbar-hotseat" into sc-dev am: 5df03e1585
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14131652

Change-Id: If718f50650537f80f7ea92ff0cfa12b6a33a6bd3
2021-04-13 19:07:01 +00:00
Tony Wickham 2597d23e8d Add support for having more hotseat icons in the DB than we show am: b87f3cdc1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14129534

Change-Id: I197323c934706b879cae0dc5aca7c690bc43dbfb
2021-04-13 19:07:00 +00:00
Tony Wickham 5df03e1585 Merge changes from topic "taskbar-hotseat" into sc-dev
* changes:
  Update taskbar to add extra hotseat items instead of recent apps
  Add support for having more hotseat icons in the DB than we show
2021-04-13 18:41:47 +00:00
Vadim Tryshev 5d3b782cca Merge "Clearer diag for visible keyguard" into sc-dev am: 4a4eac8e6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14166235

Change-Id: I412b60079b2f9dbfedda9a4d2c9ae8330b994841
2021-04-13 18:24:08 +00:00
vadimt 6a562d8cbe Waiting for NexusLauncher to go away after swiping up from menu
Swiping up can temporarily bring Nexus Launcher if the
current launcher is a Launcher3 one. Wait for the
current launcher to reappear.

Test: presubmit
Bug: 183615088
Change-Id: Iff6eaf3bf27f7ddca445fab86780f8cf82f97352
2021-04-13 11:22:03 -07:00
Vadim Tryshev 4a4eac8e6c Merge "Clearer diag for visible keyguard" into sc-dev 2021-04-13 18:00:09 +00:00
Tony Wickham 81f8175ab1 Move taskbar to be closer to QSB
- Offset taskbar to be halfway between QSB and bottom of the screen.
- Add taskbar translationY state property to animate when going
  between launcher and an app.
- Draw the taskbar background in TaskbarContainerView instead of
  TaskbarView so it stays pinned to the bottom as TaskbarView
  translates up. If we want to have a background behind the
  taskbar on home, this should move back to TaskbarView so that
  the drawing can be shared by mTaskbarViewOnHome.

Test: visually on home screen, translates when entering and
exiting an app

Bug: 182981881
Bug: 171917176
Change-Id: I44f8b2c770074f7f015dcccbc2befd3453811193
2021-04-13 10:10:54 -07:00
Vinit Nayak d8ad6b25f4 Make RotationTouchHelper singleton to report single rotation state
Multiple instances of RotationTouchHelper were being
created and reporting conflicting and incorrect information
to sysui for current quickswitch state.

Bug: 183897242
Test: Ensure quickswitch gestures work as expected.
Change-Id: Ia8716f2b597033e9e81291e0b4490119c30ad972
2021-04-13 09:35:23 -07:00
Alina Zaidi d252fbe984 Merge "Fix UI bugs for widget picker search." into sc-dev am: df9582e559
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14167727

Change-Id: I422197033adfb48468b0a556907b3a57b0934847
2021-04-13 16:24:41 +00:00
Alina Zaidi 120d6476f6 Add education tip to widget picker.
A tip is shown on the first widget/shortcut in the recommended table.
If there are no recommended widgets, a tip is shown on first widget
in an expanded header.

There is a delay of few milliseconds, to let the WidgetCells be
completely rendered on screen before getting their location.

Test: Manually tested
Bug: 184920163
Change-Id: I2637e84e7fc467b27888023434e3578a4b8ed4d6
2021-04-13 16:47:04 +01:00
Alina Zaidi df9582e559 Merge "Fix UI bugs for widget picker search." into sc-dev 2021-04-13 15:42:34 +00:00
Pedro Loureiro 1c260ad50d Merge "Add lint baseline to address NewApi errors" into sc-dev am: 18260ccba0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13815951

Change-Id: I3ff14be1e938c86b3cef0ced7d309a6dd72ae8bc
2021-04-13 14:56:41 +00:00
Pedro Loureiro 18260ccba0 Merge "Add lint baseline to address NewApi errors" into sc-dev 2021-04-13 14:12:42 +00:00
TreeHugger Robot ff0e011be0 Merge "Adding support for customize highlight region in preference" into sc-dev am: 1ea2f0e045
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14113808

Change-Id: I421708689a0256a7ba02730818b1e6b037b8d173
2021-04-13 12:36:48 +00:00
TreeHugger Robot 1ea2f0e045 Merge "Adding support for customize highlight region in preference" into sc-dev 2021-04-13 11:17:15 +00:00
Alina Zaidi 1ccd7efaf0 Fix UI bugs for widget picker search.
- Mirror search icon in RTL (b/184162989)
- Fix spacing between edit text and cancel button, to make it consistent
with space between search icon and edit text. (b/183602001)
- Scroll to top on every search result. (b/183602001)
- Fix keyboard overlap on orientation change. This is fixed by clearing
text on edit text differently (b/184048899)

Test: Manually tested
Bug: 184162989
Bug: 183602001
Bug: 184048899
Change-Id: I72ed51e1968a55a3105bd8b389d1bbd74d50d8af
2021-04-13 10:41:18 +01:00
Sunny Goyal 76e8fdc2bc Adding support for customize highlight region in preference
> Also fixing notification dots setting not getting highlighted

Bug: 184747760
Test: Manual
Change-Id: Ic9c2bfbb9750bed60afc14e824181f650c8cff33
2021-04-13 06:06:22 +00:00
vadimt a9665751a0 Clearer diag for visible keyguard
Test: presubmit
Bug: 179508881
Change-Id: I69f2e766701e77d927169b570d2dad0bf8d4c75a
2021-04-12 20:00:45 -07: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 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