Commit Graph

14802 Commits

Author SHA1 Message Date
Tony Huang d213350206 Merge "Hide divider immediately if going to launcher" into udc-dev am: 2d586455dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23368297

Change-Id: I76abc12a3c0679c4949a89186de062657323e64d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-23 03:29:22 +00:00
Tony Huang 2d586455dc Merge "Hide divider immediately if going to launcher" into udc-dev 2023-05-23 03:04:18 +00:00
Treehugger Robot df12244280 Merge "Adding debug tracing for b/262282528" into udc-dev am: 25e94ccb1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23359117

Change-Id: If4f740d1c85fbeb4717bcb193dff227f8130af86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 23:35:32 +00:00
Treehugger Robot 25e94ccb1b Merge "Adding debug tracing for b/262282528" into udc-dev 2023-05-22 22:48:47 +00:00
Vadim Tryshev 0a3340667f Merge "Revert "Re-enabling a couple of tests"" into udc-dev am: 807d9c2c30
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23355108

Change-Id: I7cdba4f8e591690cc7e36384b5a45bae751ba0c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 21:10:49 +00:00
Schneider Victor-tulias 353c12312e Merge "Update BorderAnimator to work with layout updates" into udc-dev am: b323851e01
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23320817

Change-Id: I8219cb77853e958ed3de41b51d67266ff9a21353
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 21:10:02 +00:00
Vadim Tryshev 807d9c2c30 Merge "Revert "Re-enabling a couple of tests"" into udc-dev 2023-05-22 20:28:07 +00:00
Schneider Victor-tulias b323851e01 Merge "Update BorderAnimator to work with layout updates" into udc-dev 2023-05-22 20:17:35 +00:00
Schneider Victor-tulias 9c07baf915 Merge "Fix redesigned gesture nav jank" into udc-dev am: bd0188abd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23267694

Change-Id: I8c2417ce002163117f14742ab99e003b83489d21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 19:44:35 +00:00
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
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
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
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
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
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
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
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
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 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
Saumya Prakash 0a6fb2c9e1 Update Lottie animations for gesture navigation tutorial to enable custom colors
This change introduces tokens for all the lottie animations in the
gesture navigation tutorial so that the colors can be changed to match
with the current design spec at http://shortn/_aig7n8W7rF

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Bug: 279823249
Bug: 281764891
Test: Tried changing colors and verified that lottie animations changed
appropriately.

Change-Id: If2c820826603fb1cf424f5f0c97d83b195d26606
2023-05-18 10:47:44 -07:00
Schneider Victor-tulias 474f3c4e90 Update gesture tutorial colors
- Updated all redesigned gesture nav menu and tutorial colors to dynamic color spec

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Bug: 281764891
Bug: 279823249
Test: launched tutorial menu and tutorial steps
Change-Id: I03532b80c6e14867c1374bbdf9f984c1cece9809
2023-05-18 10:47:33 -07:00
Vinit Nayak 6ab2786d16 Separate code paths to launch split from existing pair vs new pair
* Launching existing pair doesn't rely on any existing
data/state in SplitSelectStateController or SplitSelectDataHolder
* Consolidate launchTask*() methods in GroupedTaskView

Test: TaskThumbnailViews measured correctly, animation
correct on small+large screen, initiating split
still working
Fixes: 274540670
Flag: none needed

Change-Id: Id359f53ac5f2bba19948d4ae3231092fb90cc7c5
2023-05-18 10:43:17 -07:00
Jagrut Desai b9a88db27c Merge "Fixing spacing between folder icon and folder itself" into udc-dev 2023-05-18 17:21:33 +00:00
Treehugger Robot 8ad220c180 Merge "Re-enable testOverviewForTablet for persistent taskbar." into udc-dev am: 4b941231ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23267632

Change-Id: Ic804b628e89f8c15248e8a8703fdfb3550cc8b8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 04:47:35 +00:00
Treehugger Robot 4b941231ce Merge "Re-enable testOverviewForTablet for persistent taskbar." into udc-dev 2023-05-17 23:33:59 +00:00
Bill Yi e3622a4b74 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-05-17 22:08:53 +00:00
Sihua Ma f8acb23e1f Fix widget clipping in widget back animation
Test: Manual
Fix: 280261814
Change-Id: I4db24ca624d50b1d860df428fdab9d591f35ac5e
2023-05-17 13:32:20 -07:00
Jagrut Desai 23d752779b Fix TaplTestsTaskbar
we were going to overview and clearing tasks before splitscren test are broken because of it.

Test: Presubmit
Bug: 281772186
Flag: not needed
Change-Id: I79addec3cfa0adf41581be72fed2ca3cd024a904
2023-05-17 11:51:41 -07:00
Saumya Prakash e212779ffd Merge "Display app icons in quick switch task view when there are no updates." into udc-dev 2023-05-17 17:11:49 +00:00
Bill Yi 9c794e8888 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I728a62de1f496fda0f63f395de6b1f69159fd19b
2023-05-17 01:05:36 -07:00
Winson Chung 2e1ce4c72f Merge "Only set drag shadow params if they are valid" into udc-dev 2023-05-17 03:44:42 +00:00