Commit Graph

10351 Commits

Author SHA1 Message Date
Schneider Victor-tulias 87313cb18c Merge "Add screen recording to drag to splitscreen taskbar tests to help with debugging." into tm-dev am: 467f30dbb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18529596

Change-Id: I74743963b18e905a13626bae3b4461061447a14b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 21:23:01 +00:00
Schneider Victor-tulias 467f30dbb7 Merge "Add screen recording to drag to splitscreen taskbar tests to help with debugging." into tm-dev 2022-05-25 21:03:04 +00:00
TreeHugger Robot 177b7150e9 Merge "Attempt to preload the Launcher activity when the user reaches the All Set Page." into tm-dev am: 9557b10c59
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18400686

Change-Id: Id9d10958bd8f6e77368199ee3163aa350224ea05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 19:09:34 +00:00
TreeHugger Robot 9557b10c59 Merge "Attempt to preload the Launcher activity when the user reaches the All Set Page." into tm-dev 2022-05-25 18:48:17 +00:00
Bill Yi e965dfe6eb Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-25 18:43:37 +00:00
Schneider Victor-tulias 3efef1ce5a Attempt to preload the Launcher activity when the user reaches the All Set Page.
Preloading the Launcher activity once the user reaches the SUW All Set app allows for a smoother first reveal transition. Refactored TIS and TISBinder to make this possible.

Fixes: 226726244
Test: factory reset and flashed a build onto a pixel 6 pro
Change-Id: I1be3383bafdde17b951329de4c7d6b87affd210c
2022-05-25 10:02:20 -07:00
Bill Yi dbaeaa5c05 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8dab647a81e5f333a8c4d9ad5dbe13247429f7c1
2022-05-24 14:49:54 -07:00
Sunny Goyal 595c9c37f5 Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: I1f764d6df15bdb67a040adcfb30b6ed5c4b39c9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 21:38:19 +00:00
Schneider Victor-tulias aa5ae621c5 Add screen recording to drag to splitscreen taskbar tests to help with debugging.
Test: presubmit and local
Bug: 231615831
Change-Id: I87ea5eb30eaf9ec1f4f96572c78bc9daf976a589
2022-05-24 11:46:31 -07:00
Sunny Goyal 617f9fae3d Avoiding updating task via scroll if RectF spring animation is running
Bug: 231333965
Test: Verified no update at the end of home transition
Change-Id: I2a106f4d7661f9d409425ce2ed755e74e1abe14b
2022-05-23 10:13:10 -07:00
Winson Chung e02cd37542 Merge "Ensure that we're animating the current live tasks when going back" into tm-dev am: 3e6cd99990
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18461390

Change-Id: Ic834d4d2458f2f3be7ff384b835d02b3dda1f343
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-19 07:54:56 +00:00
Luca Zuccarini 0816768dc9 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: I192035c57915775ae411e433da85f134a2c5e187
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 22:23:23 +00:00
TreeHugger Robot f276170e19 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: Ic17646e5268be6aafe0d6a53c2efaa492015893e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 22:23:06 +00:00
Luca Zuccarini cf1dc294cb 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: I84bca64eddc67aa669369ab85fb45e450b4228ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 20:57:40 +00:00
Vinit Nayak 2593347a28 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: Ibf7f0ea35291a580ea917bb260a9ad364d698f59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 20:57:23 +00:00
TreeHugger Robot e9e41c8cc4 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: Ic02e38c9556656099533268e7ea5eaf9e71bac72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 20:57:13 +00:00
Sunny Goyal 22e4fb3145 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: I230c24ecf13f1bfecd9bce2065082b918220cb5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 20:56:35 +00:00
TreeHugger Robot 2ae9954a2d 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: I876cfb01ef0d2df2a0f650384aae30bb940ae2db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 20:56:26 +00:00
Winson Chung b6fa2ce486 Ensure that we're animating the current live tasks when going back
- The other call to launch tasks animated doesn't work for the current
  task you swiped from when in split.

http://recall/-/g6hkB0pXjyQSvfA8STqRAT/bKHWGjhf2yQVpmRkvn3aeD

Bug: 223750399
Test: Enter overview, swipe back
Test: Enter overview from split, swipe back
Change-Id: Icbe2944df2bb382e072c2890001d7eae505a7b04
2022-05-18 18:46:54 +00:00
TreeHugger Robot 93af9c37c7 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-18 14:56:12 +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 cf9f262963 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia036ce23c56e9484cc595a715a28b86b993160ef
2022-05-17 00:24:21 -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
Schneider Victor-tulias ab77e17415 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: I092ee2a522b4b6f7e0179719f0364447ab457f20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 22:57:27 +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
TreeHugger Robot b075d7a0e9 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: I68fb4f627a4f31af55f9cd466032ec6f9e6bdd67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 02:45:42 +00:00
Brian Isganitis cee0379e4d 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: I781a19d31e324c5d6317d1d62b7c7e3ebdce87cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 02:45:33 +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 d8e7c1acdd 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: Idcd8730e69bfd48428beb7d6e44fcfb9f3a5f5af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 00:25:49 +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 7841f2e487 Merge "Ignore swipe velocity if next task is considered the destination." into tm-dev am: de0c8c7c1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18299230

Change-Id: I74ec8db56a6f36bac980e25b04b1cff6218a3f4e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 19:47:15 +00: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 69d342abbf Merge "Adding support for easily extending Launcher DragAndDrop support" into tm-dev am: d7281d097d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18287509

Change-Id: I4789afed519610d4a079bb2c241e0295210d541b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 17:07:56 +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 2cc50ce11c Merge "Separate color into app color and dot color; specify dot color" into tm-dev am: 508fbbff56
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18167227

Change-Id: I0b27573c9d64196c2d9754cdb61c0e0cc57f739f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 16:50:11 +00:00