Commit Graph

10467 Commits

Author SHA1 Message Date
Luca Zuccarini a3719625f2 Merge "Additional polish for the NORMAL<->ALL_APPS transitions." into tm-dev am: 175fc66aa8 am: 22bb04bb77
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18375247

Change-Id: Icac6fe62259ac76d7527c8ab4cea91b11b21ac55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 22:40:24 +00:00
TreeHugger Robot 5a5434cbdc Merge "Fix crash if AM returns empty task list" into tm-dev am: aca91898a8 am: 634e5ac012
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18379858

Change-Id: I5d0c414b24d27f69d464baee6d7ad206c42fbe96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 22:29:00 +00:00
Luca Zuccarini 22bb04bb77 Merge "Additional polish for the NORMAL<->ALL_APPS transitions." into tm-dev am: 175fc66aa8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18375247

Change-Id: I013d007551ffe928902a9e49ac8bee3f65b88306
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 22:25:12 +00:00
TreeHugger Robot 634e5ac012 Merge "Fix crash if AM returns empty task list" into tm-dev am: aca91898a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18379858

Change-Id: Ia13c75dadf005fcb70aac793c643cdc3b0718ace
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 22:23:36 +00:00
Luca Zuccarini 30a46a02fa Merge "Update the NORMAL<->ALL_APPS swipe transitions on phones." into tm-dev am: 3eb149b055 am: b742969fb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18185506

Change-Id: I3b2437ea0ddca4a4b61ce0c93e24f4f45ffa2246
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 22:16:49 +00:00
Vinit Nayak 8c20d2a4e4 Merge "Report ITYPE_BOTTOM_MANDATORY_GESTURES insets for Taskbar" into tm-dev am: cfdb076d12 am: 24b9ebfd07
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18286602

Change-Id: I81107a37b37a91652ad4a671c2032ad8759e836a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 22:16:38 +00:00
TreeHugger Robot 40a5591250 Merge "Revert "Snap to last task if swiping down at a greater Y than X velocity."" into tm-dev am: a3ce2fc552 am: 3b23f648fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18420831

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

Change-Id: Ibb52b44f1692d7ee74e13d3a349a4385fb2902bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 22:06:37 +00:00
TreeHugger Robot 9d7f0308d9 Merge "Clear recents animation controllers and recents animation snapshots synchronously." into tm-dev am: 6ac4f9e882 am: c3d101b0f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18243102

Change-Id: Ib44c817baea867445cd536801e485f76285cab35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 22:03:13 +00:00
Luca Zuccarini b742969fb6 Merge "Update the NORMAL<->ALL_APPS swipe transitions on phones." into tm-dev am: 3eb149b055
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18185506

Change-Id: Iac40fbed733cd1d901afb30ae27034197483fe81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 20:48:35 +00:00
Vinit Nayak 24b9ebfd07 Merge "Report ITYPE_BOTTOM_MANDATORY_GESTURES insets for Taskbar" into tm-dev am: cfdb076d12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18286602

Change-Id: I218fff4530c5b038c4ff8528eafeee7f3a636b7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 20:48:20 +00:00
TreeHugger Robot 3b23f648fd Merge "Revert "Snap to last task if swiping down at a greater Y than X velocity."" into tm-dev am: a3ce2fc552
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18420831

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

Change-Id: I56fb83fef940f5e0b06a6718f73b2107a2837bf0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 20:47:37 +00:00
TreeHugger Robot c3d101b0f4 Merge "Clear recents animation controllers and recents animation snapshots synchronously." into tm-dev am: 6ac4f9e882
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18243102

Change-Id: Iebe6f43284fe7651ef683d490c1c5056a6124bb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 20:47:29 +00:00
Luca Zuccarini 175fc66aa8 Merge "Additional polish for the NORMAL<->ALL_APPS transitions." into tm-dev 2022-05-18 14:21:27 +00:00
TreeHugger Robot aca91898a8 Merge "Fix crash if AM returns empty task list" into tm-dev 2022-05-17 23:26:17 +00:00
Sunny Goyal 8b5be54b47 Fix crash if AM returns empty task list
Bug: 231630259
Test: Verified on device
Change-Id: I15a48def7f7a7715adbbff94e29e889da100551e
2022-05-17 11:11:45 -07:00
Luca Zuccarini 3eb149b055 Merge "Update the NORMAL<->ALL_APPS swipe transitions on phones." into tm-dev 2022-05-17 16:06:27 +00:00
Vinit Nayak cfdb076d12 Merge "Report ITYPE_BOTTOM_MANDATORY_GESTURES insets for Taskbar" into tm-dev 2022-05-17 13:56:51 +00:00
Bill Yi 8c03213491 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8af48e647a47d9b6ef1b52aff1d7a91c02d9a143
2022-05-17 00:24:58 -07: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
Vinit Nayak 2cb5cb5d00 Report ITYPE_BOTTOM_MANDATORY_GESTURES insets for Taskbar
Bug: 205493938
Change-Id: I196bc52c1bec75b5442f3546f466799ba9c3831b
2022-05-16 21:38:28 -07: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
Bill Yi 3d87198c6f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I338cb8908d12b4c5001b6615c7099c36a87023e3
2022-05-15 05:54:41 -07:00
Bill Yi 1a8e3e7da6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I999157b31e28f84974c339ba2cdb2289096b0960
2022-05-15 05:54:06 -07:00
Schneider Victor-tulias a7c8850a5a Merge "Coordinate the SUW All Set page first reveal with the taskbar unstash to hotseat animation." into tm-dev am: 9c7551a9c9 am: f3ad3f3386
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17108605

Change-Id: I85f0d1523271385bd9e08c7dea13ac5a73173915
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 23:53:21 +00:00
Schneider Victor-tulias f3ad3f3386 Merge "Coordinate the SUW All Set page first reveal with the taskbar unstash to hotseat animation." into tm-dev am: 9c7551a9c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17108605

Change-Id: If4a66b9d344b8a4e56fc5fea59aacdad4ffb5cbe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 22:59:12 +00:00
Luca Zuccarini 1c89ee8cb1 Additional polish for the NORMAL<->ALL_APPS transitions.
The depth of ALL_APPS is set to 2 because in the legacy transitions the
swap happens at 0.5. The depth controller bounds the value to 1, so for
the second half of the animation the value is always 1. Because of this,
in order to have the right timing during the blur and scale we cap the
interpolator to 0.5.

Workspace fade is also removed, per spec.

Bug: 232418544
Test: manual
Change-Id: Idfd92c8b2b571ad911a0a5a59d39c5911e4131e4
2022-05-13 22:23:42 +00:00
Luca Zuccarini ea948c2b33 Update the NORMAL<->ALL_APPS swipe transitions on phones.
Bug: 144877924
Test: manual
Change-Id: I47d4cdedea69b921711c33e2905bc429e7d1db35
2022-05-13 19:09:17 +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
TreeHugger Robot 3864131ca6 Merge "Fix Fail to Launch work tab in launcher" into tm-dev am: 97c6b268cf am: ba21057e3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18350943

Change-Id: Ifb967e770f955e0c28499832128278b056de0644
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 03:33:43 +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 ba21057e3b Merge "Fix Fail to Launch work tab in launcher" into tm-dev am: 97c6b268cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18350943

Change-Id: I9b28d9fc69c2ff2908d5df799732bede8e21b316
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 02:49:06 +00:00
Brian Isganitis 05eb78ce96 Merge "Revert "Ignore swipe velocity if next task is considered the destination."" into tm-dev am: a7783dba56
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18361480

Change-Id: Ic49abcb4054e361328858b1368f38a89f1f2cf02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 02:48:52 +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
TreeHugger Robot 97c6b268cf Merge "Fix Fail to Launch work tab in launcher" into tm-dev 2022-05-13 01:18:46 +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
TreeHugger Robot 74306f7aba Merge "Fix jank when launching the All set page on devices that support vibrations" into tm-dev am: 160b18ab57
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18310268

Change-Id: I1d4d80520098e7e4adfb357ea8a50e3d6cbc78a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 00:27:26 +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
Ramneek Kalra 205e39be79 Fix Fail to Launch work tab in launcher
On entering CTS Verifier apk, when test item Launch work tab in Launcher is clicked under BYOD Managed Provisioning, test fails and gives ActivityNotFoundException.

Root cause is because android.intent.action.SHOW_WORK_APPS is not declared for activity com.android.launcher3.uioverrides.QuickstepLauncher

Fix:
After declaring android.intent.action.SHOW_WORK_APPS for activity com.android.launcher3.uioverrides.QuickstepLauncher, the test passes.

Bug:
Test:
1. Download GMS Load
2. Boot Up Device And skip google setup screen
3. Enter Verifier apk,
4. Enter test item
5. BYOD Managed Provisioning, click Launch work tab

Change-Id: I694503acb77454351d572eaa67bcbb66ccc0ae0e
2022-05-12 21:39:39 +01: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