Commit Graph

60650 Commits

Author SHA1 Message Date
Schneider Victor-tulias bd0188abd1 Merge "Fix redesigned gesture nav jank" into udc-dev 2023-05-22 19:01:35 +00:00
Schneider Victor-tulias 7dee27f470 Update BorderAnimator to work with layout updates
1. if a 'ViewScaleTargetProvider' is being used, this can cause a crash
2. otherwise, the old border bounds are reapplied, which is likely no longer correct

Updated BorderAnimator to use 'BorderAnimationParams' rather than 'ViewScaleTargetProvider'. This removes some unnecessary null checks while making the util class simpler to use. It also allows us to listen for specific view events for the border animation.

Flag: ENABLE_KEYBOARD_QUICK_SWITCH
Fixes: 283272516
Test: opened the keyboard quick switch view and highlighted a view in recents view, then rotated the screen several times
Change-Id: I7959d6cd892ebcdd2c68163dd56c358815494af6
2023-05-22 11:33:57 -07:00
Jagrut Desai 583b5ed542 Merge "Fix Taskbar Education Tooltip Bottom Margin" into udc-dev am: 6acf350107
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23269396

Change-Id: I1f52b5095b4122e50bb716db14592470a5d3acc5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 18:17:42 +00:00
fbaron c54a8c3c65 Fix switching between work and personal profile in widget picker not clipping recyclerview
Fix: 283139508
Test: Verify swiping between work and personal profile clips the recyclerview properly
Flag: no flag
Change-Id: I7f4ccd6981f91a5ccb9705eca67823c8c81c262f
2023-05-22 10:49:18 -07:00
Jagrut Desai 6acf350107 Merge "Fix Taskbar Education Tooltip Bottom Margin" into udc-dev 2023-05-22 17:04:25 +00:00
Tony Huang 2083c5450d Hide divider immediately if going to launcher
Divider should hide immediately when going to launcher, this fix
the divider hidden delay in 3-btn-nav mode.

Fix: 283058496
Test: manual
Test: pass existing tests
Change-Id: Ia4eaba8020c564cc95b8652fe0f7066b653b9df4
2023-05-22 16:38:14 +08:00
Jon Miranda 4d1489beff Merge "Fix SUW unstash animation." into udc-dev am: 9e0eee3729
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23352149

Change-Id: I7281e0d0cd826ea41c94771ba6216b5c0ef0801c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-20 20:32:39 +00:00
Jon Miranda 9e0eee3729 Merge "Fix SUW unstash animation." into udc-dev 2023-05-20 20:16:17 +00:00
Jon Miranda 0aef6981ac Fix SUW unstash animation.
- Defer any UI updates to taskbar after the SUW unstash animation is created.
- Predicted app icons take longer to load, so it's possible that they are
  added after the animation is created.
- This avoids the case where icons are seemingly in the taskbar but
  do not get animated like the rest of the icons.

- We also need to call onAnimationStart for the reveal animation immediately,
  otherwise the clipToOutline params never get set.

Bug: 277712185
Test: flash device, very quickly go through SUW
Change-Id: I4c3089da0d20bf91672e2305655c4c37b1f367aa
2023-05-19 17:24:50 -07:00
vadimt 144a9508be Adding debug tracing for b/262282528
We see two long-clicks on the taskbar instead of expected one.

Bug: 262282528
Test: presubmit
Change-Id: I231d54ac08cf53ac7b0b6177da6b671314998021
2023-05-19 17:04:04 -07:00
Jagrut Desai 709242e89e Fix Taskbar Education Tooltip Bottom Margin
Test: Manual
Bug: 282990924
Flag: Not needed
Change-Id: I977e7fc84382b1c43612516c8d6f27610ad25a3f
2023-05-19 15:45:41 -07:00
Stefan Andonian c7c507c362 Detach ViewCaptureRule onDrawListener on the main thread.
This should avoid an IllegalStateException in instrumented tests.

Bug: 283313972
Test: Post-submit test succeeded.
Change-Id: I5302cfc089d91b044baaac75b5d7c69e763a1847
2023-05-19 22:39:30 +00:00
Vinit Nayak 6f18963cc2 Merge "Install test app for work profile user" into udc-dev am: 47ab6f8ba2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23331908

Change-Id: Ic1f80968c70dfd2163cba7fb6609da516a4ff4e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-19 22:24:35 +00:00
Vinit Nayak 47ab6f8ba2 Merge "Install test app for work profile user" into udc-dev 2023-05-19 22:07:11 +00:00
Stefan Andonian f5590e7cf4 Merge "Fix NPE in FolderPagedView" into udc-dev am: 6597d5ec3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23298096

Change-Id: I38914fe62441f1736e758f37c7d9ac68dba897ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-19 21:35:10 +00:00
Vadim Tryshev 8d1de90744 Revert "Re-enabling a couple of tests"
This reverts commit 81b228a5fb.

Reason for revert: b/283523638

Change-Id: I2787b34e369ed2c879d80806bc30cab3dbb10c69
2023-05-19 21:17:55 +00:00
Stefan Andonian 6597d5ec3c Merge "Fix NPE in FolderPagedView" into udc-dev 2023-05-19 20:45:31 +00:00
Vinit Nayak 83b45d563c Merge "Separate code paths to launch split from existing pair vs new pair" into udc-dev am: 258019fe8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23320818

Change-Id: I8222ccc197be1d81700e128aff0eceab92877d87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-19 18:03:25 +00:00
Vadim Tryshev 1244679e9a Merge "Re-enabling a couple of tests" into udc-dev am: bc4813afb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22463691

Change-Id: Iee85abf6ad13d53e23e00d9383fa2d27c959b170
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-19 18:03:12 +00:00
Vinit Nayak 258019fe8e Merge "Separate code paths to launch split from existing pair vs new pair" into udc-dev 2023-05-19 17:51:23 +00:00
Vadim Tryshev bc4813afb2 Merge "Re-enabling a couple of tests" into udc-dev 2023-05-19 17:37:16 +00:00
Luca Zuccarini 2449a01b22 Add a view type check to ensure the right animation is used.
Bug: 265134143
Test: recorded perfetto trace, see bug
Change-Id: If6abc36f0f43c6bb632fc824c19717c1231b32dc
2023-05-19 09:51:15 +00:00
Vinit Nayak a3e139c68a Install test app for work profile user
Bug: 243688989
Change-Id: I3ecd0c9eefdbd84d2b9da45680b9efb078c3fb67
2023-05-18 17:49:04 -07:00
Treehugger Robot 276cc31091 Merge "Add seam space for performReorder in MultipageCellLayout" into udc-dev am: 7b01dbd811
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23086317

Change-Id: Id023f6db28c60ac75a4f1f7a0d0a73eff694a68a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 23:38:59 +00:00
Treehugger Robot 7b01dbd811 Merge "Add seam space for performReorder in MultipageCellLayout" into udc-dev 2023-05-18 23:20:40 +00:00
Hongwei Wang 5b8209c95f Merge "Notify WMShell on aborting auto-enter-pip" into udc-dev am: 0c66b151e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23321279

Change-Id: I69a1c5494a701e5103f734812ff5bbaeb95b7ea7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 23:16:01 +00:00
Randy Pfohl a45a56bd5e Merge "Updating overview colors to utilize new tokens" into udc-dev am: f6b74f1521
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23269307

Change-Id: I0b8356b9cc15a450eae2aac11d74aeda055abd05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 23:14:10 +00:00
Fengjiang Li 8af9d52df0 Merge "Fix NPE of FolderPagedView#setFocusOnFirstChild" into udc-dev am: 0d07a85299
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23254588

Change-Id: I7e0b64110bd30df0451e49ca33003420824f0b86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 23:13:57 +00:00
Hongwei Wang 0c66b151e3 Merge "Notify WMShell on aborting auto-enter-pip" into udc-dev 2023-05-18 23:00:03 +00:00
Randy Pfohl f6b74f1521 Merge "Updating overview colors to utilize new tokens" into udc-dev 2023-05-18 22:43:30 +00:00
Fengjiang Li 0d07a85299 Merge "Fix NPE of FolderPagedView#setFocusOnFirstChild" into udc-dev 2023-05-18 22:42:47 +00:00
Saumya Prakash 20e5449003 Merge changes If2c82082,I03532b80 into udc-dev am: 66e7ec721b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23159151

Change-Id: I8381656467561121ae4da904c5ab6f23b64fcde1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 22:26:24 +00:00
Saumya Prakash 66e7ec721b Merge changes If2c82082,I03532b80 into udc-dev
* changes:
  Update Lottie animations for gesture navigation tutorial to enable custom colors
  Update gesture tutorial colors
2023-05-18 22:01:49 +00:00
Sebastian Franco 96c46e7fba Add seam space for performReorder in MultipageCellLayout
In the other method createAreaForResize we add 1 to the cellX
to account for the seam in the Multipace CellLayout but we don't
account for that on performReorder and we need to add a cellWidth

Also, some methods are not running when the seam is added so their
result are wrong. Now all methods are being accounted for.

Fix: 277709417
Test: atest ReorderAlgorithm
Test: atest MulticellReorderAlgorithm
Change-Id: I7a4ca55f7b9cd7cf94481c880fe152e0a3bb3cf3
2023-05-18 14:47:47 -07:00
Schneider Victor-tulias 9caa0f9559 Fix redesigned gesture nav jank
- Removed the fake animated taskbar view from the redesigned tutorial flow
- Fixed the hotseat and home icon colors from the overview step

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Bug: 279823249
Fixes: 281121701
Fixes: 283310758
Test: swiped up from home/overview step
Change-Id: Ie659495994f0c935c5b6c6bf1ae534ec51521726
2023-05-18 14:36:28 -07:00
Treehugger Robot 18d6b81398 Merge "Add Location related Attributes." into udc-dev am: ead8d955b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23271439

Change-Id: I46116fa6fb6b9c9d6ac838b689703c17f2de1081
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 21:14:45 +00:00
Federico Baron b85dc5a17d Merge "Update colors for edit state" into udc-dev am: 4b43200910
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23272389

Change-Id: I08749659d8f980482d8b0cf4d8b8be75a194f0cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 21:14:27 +00:00
Federico Baron af4865751a Merge "Update colors for popup menus" into udc-dev am: 3eba77ca4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23152777

Change-Id: Id28a1e97dfa73f0f495e6ed76baf6695b37a752e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 21:14:25 +00:00
Pinyao Ting bdf75772ea Revert "Grant Launcher permission to access AppSearch"
This reverts commit 0bae1f55e3.

Reason for revert: no product dependencies and it's causing problems in automation tests

Bug: 283006437
Test: NexusLauncherTests:com.android.quickstep.FallbackRecentsTest
Change-Id: I831e563c41a368d981af3a05063bf3a868c24b79
Merged-In: I831e563c41a368d981af3a05063bf3a868c24b79
2023-05-18 21:11:37 +00:00
Treehugger Robot ead8d955b6 Merge "Add Location related Attributes." into udc-dev 2023-05-18 21:06:02 +00:00
Federico Baron 4b43200910 Merge "Update colors for edit state" into udc-dev 2023-05-18 21:03:19 +00:00
Federico Baron 3eba77ca4b Merge "Update colors for popup menus" into udc-dev 2023-05-18 21:03:19 +00:00
Jagrut Desai bf36bb4fb3 Merge "Fix TaplTestsTaskbar" into udc-dev am: 20c26a4a6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23288804

Change-Id: Ib6c28ba390cb071c3ae6043849db118c8b1a1be6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 20:49:02 +00:00
Treehugger Robot 7a4a42ff90 Merge "Fix widget clipping in widget back animation" into udc-dev am: 80e9a3b64e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23267682

Change-Id: If32c8c7313e33b3fa47d58f3e8d298f6a35c7353
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 20:48:54 +00:00
Hongwei Wang 45b8d39ab8 Notify WMShell on aborting auto-enter-pip
Note that this change does not fix the bug listed here. This is to
callback WMShell when the transition is aborted and WMShell can choose
how to handle this.

Bug: 283177443
Test: adb shell dumpsys activity service SystemUIService WMShell
Test: go/winscope and check the SF/WM dump
Change-Id: I8abfc2db47d1f0bfc3d400066936bed354743420
2023-05-18 13:15:57 -07:00
Jagrut Desai 20c26a4a6c Merge "Fix TaplTestsTaskbar" into udc-dev 2023-05-18 20:11:59 +00:00
Treehugger Robot 80e9a3b64e Merge "Fix widget clipping in widget back animation" into udc-dev 2023-05-18 19:59:21 +00:00
Jagrut Desai 159b33058d Merge "Adding all apps icon for transient taskbar to default config" into udc-dev am: 4285947422
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23288803

Change-Id: I8e1b2e85c051ec5392e66d6bfe8237155a8171d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 18:38:09 +00:00
Jagrut Desai c0aca95865 Merge "Fixing spacing between folder icon and folder itself" into udc-dev am: b9a88db27c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23269297

Change-Id: I40e81458ea93b174432a90d57c41dbe0ff913e73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 18:36:40 +00:00
randypfohl b8e47fe329 Updating overview colors to utilize new tokens
Test: built locally and verified colors
Flag: none
bug:275709319
Change-Id: I1abcf608e0279a70e975190ea66128563f996f3e
2023-05-18 11:15:07 -07:00