Commit Graph

5852 Commits

Author SHA1 Message Date
TreeHugger Robot ea8d40a52c Merge "Revert "Snap to last task if swiping down at a greater Y than X velocity."" into tm-dev am: a3ce2fc552 am: e9e41c8cc4 am: 32f678ded8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18420831

Change-Id: Id0fb73b312dad18fbb967824f90e5ac55ec024b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 21:49:24 +00:00
Sunny Goyal dc3091aef3 Merge "Fixing transaction applier holding on to the release check if no frame update was scheduled" into tm-dev am: 6956b5cc7c am: 22e4fb3145 am: 913e857339
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18360436

Change-Id: Icb4d3c2ea672d57c3b94e1d7cd4de2cde0948661
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 21:48:55 +00:00
TreeHugger Robot 0d97e50934 Merge "Clear recents animation controllers and recents animation snapshots synchronously." into tm-dev am: 6ac4f9e882 am: 2ae9954a2d am: 3caea67325
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18243102

Change-Id: I58c106270c55738c09b77e5bc3dc29d811ada2c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 21:48:48 +00:00
TreeHugger Robot a3ce2fc552 Merge "Revert "Snap to last task if swiping down at a greater Y than X velocity."" into tm-dev 2022-05-17 07:24:00 +00:00
Brian Isganitis 1f60acd68d Revert "Snap to last task if swiping down at a greater Y than X velocity."
This reverts commit e10ab8cdcd.

Reason for revert: Possibly introduced regressions. There was a followup to this CL that was also reverted. Would prefer to revert this one too and then roll forward with a CL that addresses all problems.

Change-Id: Ic32ad10945e4ace2f985475d24adb6a80b19067f
2022-05-17 00:16:56 +00:00
Sunny Goyal 6956b5cc7c Merge "Fixing transaction applier holding on to the release check if no frame update was scheduled" into tm-dev 2022-05-16 17:52:11 +00:00
TreeHugger Robot 6ac4f9e882 Merge "Clear recents animation controllers and recents animation snapshots synchronously." into tm-dev 2022-05-16 17:28:36 +00:00
Schneider Victor-tulias ed5789d219 Merge "Coordinate the SUW All Set page first reveal with the taskbar unstash to hotseat animation." into tm-dev am: 9c7551a9c9 am: ab77e17415 am: f108fff91b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17108605

Change-Id: I2a2ba9cbd93f4ad1a243524771b45e802c30f03a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-14 00:02:22 +00:00
Schneider Victor-tulias 766f2fc346 Coordinate the SUW All Set page first reveal with the taskbar unstash to hotseat animation.
Bug: 220096988
Test: manual
Change-Id: I1f517b322e5c18f825be8b51ebb560a4a195b666
2022-05-13 11:17:10 -07:00
Schneider Victor-tulias 42be8fa0db Clear recents animation controllers and recents animation snapshots synchronously.
Clearing the recents animation controller synchronously immediately after posting a screenshot cleanup was making it almost impossible to cleanup the screenshot when cancelling the recents animation. Moved  the recents animation controller clearing to run synchronously with cleaning up the screenshot.

Bug: 223498680
Test: manually with 3 button mode.
Change-Id: I6af5bd4525976eb6956d0466dceae1787b3b84d8
2022-05-13 11:14:19 -07:00
Nick Chameyev 847affd18b Merge "Extract unfold classes to a separate library" into tm-qpr-dev 2022-05-13 17:21:33 +00:00
Ats Jenk 6b9fad35ab Merge "Suppress home gesture when bubbles are expanded" into tm-qpr-dev 2022-05-13 16:32:47 +00:00
Nick Chameyev d5a8a55e9f Extract unfold classes to a separate library
Extracted classes related to the fold/unfold
animation (that plays on foldable devices) to
a separate library that does not depend on
system classes. This is necessary to ease
reusing these classes in live wallpapers.

Bug: 231936088
Test: fold/unfold device
Change-Id: I53eaebfa22c4ac043ba30b1fb93b1d095d06f741
2022-05-13 11:03:49 +00:00
Brian Isganitis 4ff469a2cf Merge "Revert "Ignore swipe velocity if next task is considered the destination."" into tm-dev am: a7783dba56 am: 05eb78ce96
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18361480

Change-Id: Ibb91bea7df676b58a1198e1c9ec30a0fc04e35a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 03:33:21 +00:00
TreeHugger Robot f9c148e9d7 Merge "Fix jank when launching the All set page on devices that support vibrations" into tm-dev am: 160b18ab57 am: 74306f7aba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18310268

Change-Id: I2490c008140507b6cde464f48afdaf46310873cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 01:32:04 +00:00
Brian Isganitis a7783dba56 Merge "Revert "Ignore swipe velocity if next task is considered the destination."" into tm-dev 2022-05-13 01:17:44 +00:00
Sunny Goyal 46254675da Fixing transaction applier holding on to the release check if no frame update was scheduled
Bug: 232039826
Test: Verified locally
Change-Id: I4face3ceb5985ea71ff718ddc732e6196c934bf4
2022-05-12 16:52:00 -07:00
Brian Isganitis 5064be12db Revert "Ignore swipe velocity if next task is considered the destination."
This reverts commit bde366ddd1.

Reason for revert: b/232441427

Change-Id: I1047435fe39900203b69fdfc87d256b1330a325a
2022-05-12 23:39:13 +00:00
Schneider Victor-tulias 28a24306b3 Fix jank when launching the All set page on devices that support vibrations
Moving haptics from the all set page background animation to the UI helper thread to reduce jank when launching the all set page from SUW.

Bug: 195711508
Test: manual with pixel 6 pro
Change-Id: Icca17a79161f177e3549dd780bfe9b78aa59fe51
2022-05-12 14:04:08 -07:00
Brian Isganitis c3954dcaf5 Merge "Ignore swipe velocity if next task is considered the destination." into tm-dev am: de0c8c7c1b am: b6adb66e0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18299230

Change-Id: I29c794cd106de274c105599376846a66fe9122f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 20:16:18 +00:00
Ats Jenk df5ad8d355 Suppress home gesture when bubbles are expanded
When bubbles are expanded we handle the home gesture there. This allows
us to animate the expanded view in response to touch gestures.

Bug: 170163464
Test: atest
PlatformScenarioTests: android.platform.test.scenario.sysui.bubble.CollapseExpandedViewTest
Change-Id: Ib97df2db089dd4613f6a749c6415fedddd939106
2022-05-12 13:11:02 -07:00
Brian Isganitis de0c8c7c1b Merge "Ignore swipe velocity if next task is considered the destination." into tm-dev 2022-05-12 18:40:51 +00:00
Sunny Goyal efb0b716af Merge "Adding support for easily extending Launcher DragAndDrop support" into tm-dev am: d7281d097d am: 3416df65a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18287509

Change-Id: I5f0a45c44108ad3da26daa61825eafbb0d616de3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 18:04:34 +00:00
James O'Leary 59639781cf Merge "Separate color into app color and dot color; specify dot color" into tm-dev am: 508fbbff56 am: b5e3d80bae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18167227

Change-Id: Iba6f98e7bd595ed2c15c7f86828c3aeb29a7dc64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 18:02:52 +00:00
Pat Manning 1954aadb31 Merge "Re-land "Update workspace, cell layout, shortcut and widget, and cell size calculations."" into tm-dev am: a54d1ab24a am: 37fd65dece
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18280942

Change-Id: I1b185017b29711591329583af21573cf28cace7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 18:02:26 +00:00
Alex Chau 0c2a5f4ccb Merge "Tune overview icon size and paddings" into tm-dev am: f4c8da6263 am: 54962bc981
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18231547

Change-Id: Ic311b5c8c3fd1f050f509e2671f9cd2ac106a8f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 18:01:54 +00:00
Sunny Goyal d7281d097d Merge "Adding support for easily extending Launcher DragAndDrop support" into tm-dev 2022-05-12 17:00:49 +00:00
James O'Leary 508fbbff56 Merge "Separate color into app color and dot color; specify dot color" into tm-dev 2022-05-12 16:37:39 +00:00
Pat Manning a54d1ab24a Merge "Re-land "Update workspace, cell layout, shortcut and widget, and cell size calculations."" into tm-dev 2022-05-12 16:00:51 +00:00
Alex Chau f4c8da6263 Merge "Tune overview icon size and paddings" into tm-dev 2022-05-12 15:58:08 +00:00
Pat Manning 25d5334a9d Re-land "Update workspace, cell layout, shortcut and widget, and cell size calculations."
This reverts commit 3e8a04b341.

Reason for revert: b/230862148

Change-Id: I7462e86643816f42fc72e40defffd58a1f77ee8b
2022-05-12 11:57:01 +00:00
Ats Jenk fa389360c1 Merge "Skip passing gesture to bubble when notif expanded" into tm-dev am: 6e6d747d95 am: c07542d7f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18290837

Change-Id: I6971271e43e13bba564a325941866d30a3480702
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 04:14:54 +00:00
Ats Jenk 6e6d747d95 Merge "Skip passing gesture to bubble when notif expanded" into tm-dev 2022-05-12 03:27:29 +00:00
Thales Lima 61acd703e0 Merge "Fix hotseat width to span a number of columns" into tm-dev am: a04ddba562 am: 026599f627
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18283700

Change-Id: I2eb9cfc18afe1e55e9256cc4c835ee02d0505032
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-11 22:56:16 +00:00
Sunny Goyal f0ff70a2a5 Adding support for easily extending Launcher DragAndDrop support
Bug: 232165524
Test: Verified locally
Change-Id: I3b4f37bc9914de55330662edd678e6fdd0eafece
2022-05-11 21:34:08 +00:00
James O'Leary 1557ba37c1 Separate color into app color and dot color; specify dot color
Design intends for predicted app disc to use the app color, and the
dot to use tertiary T90/shade100. Both currently use `color`. Separating
into two separate colors lets use define the two separate colors
requested by design.

Bug: 213314628
Test: Manual inspection at runtime
Change-Id: If50c32d0bf67493192ce32a33775311d58f21942
2022-05-11 16:57:49 +00:00
Alex Chau 1fe83fe881 Tune overview icon size and paddings
- Tune overview icon size and paddings across form factors
- Limit handheld overview to 70% of screen width

Fix: 209981696
Test: manual
Change-Id: I946b9bb2e9eb05cdc1e4497b9b1267a91731a8e1
2022-05-11 16:35:14 +01:00
Thales Lima 425f6828f1 Fix hotseat width to span a number of columns
Fix: 227344807
Fix: 231283023
Test: manual
Change-Id: Iad0f38c2323be6d9752a8e509fc7e1164edbcf4e
2022-05-11 10:09:03 -03:00
Brian Isganitis bde366ddd1 Ignore swipe velocity if next task is considered the destination.
Test: Manual
Bug: 222117127
Change-Id: I5dc0d0a84aae275eebb59a64b59e5344b4b591c4
2022-05-10 17:36:07 -07:00
Ats Jenk 0d3772b65f Skip passing gesture to bubble when notif expanded
Notification panel can be expanded on top of expanded bubbles.
Bubbles remain expanded in the back.
Check for notification panel being expanded before passing home gesture
to bubbles.

Bug: 191565082
Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.bubble.NotificationPanelOverBubblesTest
Change-Id: I59c429cceca0cef764b9d4e36389f902005e8b09
2022-05-10 17:35:54 -07:00
Luca Zuccarini 951ad52273 Merge "Update the NORMAL->ALL_APPS transition when tapping on QSB on phones." into tm-dev am: e75b1c8a19 am: 0bedf7593c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18140267

Change-Id: I7d45f64950ebc4edb639d22aab8c74bf79901d95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-10 23:26:28 +00:00
Luca Zuccarini e75b1c8a19 Merge "Update the NORMAL->ALL_APPS transition when tapping on QSB on phones." into tm-dev 2022-05-10 22:35:02 +00:00
Kholoud Mohamed b1bc2b5847 Merge "Add missing enterprise string" into tm-dev am: b8e9cbcc65 am: 3a929f44ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18230548

Change-Id: I8a3e7971f919dc4136ed5dbd8c6d6f6dde676bd4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-10 21:25:37 +00:00
Sunny Goyal 409a8b7639 Merge changes from topic "revert-17983445-hotseat_span-WQWWPUHOTD" into tm-dev am: b0416cc478 am: 3b88baeaac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18236805

Change-Id: Ib849c2b924afed251380d25bc31ee05a45b34421
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-10 21:24:44 +00:00
Sunny Goyal ef6ed6b68e Revert "Update workspace, cell layout, shortcut and widget, and cell size calculations." am: 3e8a04b341 am: d58c7e5d6b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18236355

Change-Id: I8a6caf4ef78bb9d6e1399847d53f0a3927d75072
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-10 21:24:41 +00:00
Sunny Goyal d58c7e5d6b Revert "Update workspace, cell layout, shortcut and widget, and cell size calculations." am: 3e8a04b341
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18236355

Change-Id: I88202b90b1729340f6316e5516401a713bc1b29d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-10 20:23:42 +00:00
Kholoud Mohamed b8e9cbcc65 Merge "Add missing enterprise string" into tm-dev 2022-05-10 09:54:13 +00:00
Sunny Goyal b0416cc478 Merge changes from topic "revert-17983445-hotseat_span-WQWWPUHOTD" into tm-dev
* changes:
  Revert "Fix hotseat width to span a number of columns"
  Revert "Update workspace, cell layout, shortcut and widget, and cell size calculations."
2022-05-09 23:14:38 +00:00
TreeHugger Robot 0e3e548925 Merge "Remove long press on home button for kids mode." into tm-dev am: 8d5c3e91cf am: 26970b25c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18230546

Change-Id: Ib09fa2e28bfdd634b98cd61abddf7468b0201898
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-09 20:32:56 +00:00
Sunny Goyal 89a89d63a4 Revert "Fix hotseat width to span a number of columns"
Revert submission 17983445-hotseat_span

Reason for revert: b/231283023
Reverted Changes:
Ice4e37929:Fix hotseat width to span a number of columns
I9ed508490:Fix hotseat width to span a number of columns

Change-Id: Iabf67c5efd8155131a0c8a88192ddd671a43747b
2022-05-09 19:32:07 +00:00