Commit Graph

8637 Commits

Author SHA1 Message Date
Tracy Zhou a33fb69603 Disable 3-finger workspace scroll
Fixes: 274474023
Test: 3-finger horizontal scroll on the workspace doesn't do anything
Change-Id: I32ade8a5c26eae43f5ce9c8c71d47ed0d1abd5a2
2023-03-21 17:17:35 -07:00
Evan Rosky fa06c90dc4 Merge "Move recents animation controller to shell" into udc-dev 2023-03-21 17:19:25 +00:00
Jon Miranda 6e816aaf37 Merge "Add a way to fade out taskbar view when closing an app in the taskbar." into tm-qpr-dev am: 149246f077 am: ce06cf89b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22141153

Change-Id: I919b45021c1fbc2a5d5c30c2d5eca71a672cd5be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 14:14:43 +00:00
Jon Miranda ce06cf89b0 Merge "Add a way to fade out taskbar view when closing an app in the taskbar." into tm-qpr-dev am: 149246f077
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22141153

Change-Id: Ia0212c2829b01c5b0faf120d6303b7cf6d147ad6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 13:33:32 +00:00
Jon Miranda 149246f077 Merge "Add a way to fade out taskbar view when closing an app in the taskbar." into tm-qpr-dev 2023-03-21 13:01:30 +00:00
randypfohl f977979374 Updating overview tutorial to new simple tutorial flow am: 1c0a27a28e am: 127329fe46
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22163527

Change-Id: I22b4cefb0ec8e241e04b1ceb70644e9ea17ea7bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 06:13:32 +00:00
randypfohl 127329fe46 Updating overview tutorial to new simple tutorial flow am: 1c0a27a28e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22163527

Change-Id: I0658dc8bbb4d92d46f29c8851415de49164ea64d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 05:36:11 +00:00
randypfohl 1c0a27a28e Updating overview tutorial to new simple tutorial flow
test: built and tested on multiple devices. recorded videos and shared in chat.

bug: b/253520701, b/253521660, b/241813570

Change-Id: I57f88f5fb35c6a7b1219fac6e992bb84354b91ef
2023-03-20 23:16:10 +00:00
Evan Rosky 0602f8027e Move recents animation controller to shell
Since recents animation controller is moved to shell, we
no-longer package a RemoteTransition with the intent
options.

Bug: 269691848
Test: existing tests pass. This is mostly moving logic.
Change-Id: I37df892fbc81e6af91173af9b7e6b80825311b0f
2023-03-20 22:14:58 +00:00
Jon Miranda 4202d43e48 Merge "Tune springs when app animates home into the hotseat on devices with a taskbar." into tm-qpr-dev am: fad8c1c449 am: 03bb5fe49c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22146526

Change-Id: I0adde19b10d0bf6c25c5025453fd361a0804cf62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 22:12:54 +00:00
Jon Miranda 03bb5fe49c Merge "Tune springs when app animates home into the hotseat on devices with a taskbar." into tm-qpr-dev am: fad8c1c449
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22146526

Change-Id: Iaa1d5cf3e030398c97841fe604ad923cce4e25e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 21:34:11 +00:00
Jon Miranda fad8c1c449 Merge "Tune springs when app animates home into the hotseat on devices with a taskbar." into tm-qpr-dev 2023-03-20 20:54:27 +00:00
Saumya Prakash 36095202d1 Merge "Redesign the gesture tutorial for the Back gesture" into tm-qpr-dev am: 60c419b9b7 am: 813a373212
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21779343

Change-Id: Icee872bf78260ec9aca83e86ad60b2d764ff69a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 19:28:42 +00:00
Jon Miranda c5d3518763 Merge "Taskbar motion polish to keep icons within taskbar bg bounds." into tm-qpr-dev am: 8a53e78f22 am: 9c2a40576e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22133846

Change-Id: Ia521c55b6ac46919fbf3f3fdc19c87ff755c6aa3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 19:25:33 +00:00
Saumya Prakash 813a373212 Merge "Redesign the gesture tutorial for the Back gesture" into tm-qpr-dev am: 60c419b9b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21779343

Change-Id: I00170b244f7e51be704d980b526c19b4980ed954
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 19:03:12 +00:00
Saumya Prakash 60c419b9b7 Merge "Redesign the gesture tutorial for the Back gesture" into tm-qpr-dev 2023-03-20 18:48:34 +00:00
Jon Miranda 9c2a40576e Merge "Taskbar motion polish to keep icons within taskbar bg bounds." into tm-qpr-dev am: 8a53e78f22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22133846

Change-Id: I1ede6c749f24762727fbf7dc8ae1085a70ab0bc3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 18:42:46 +00:00
Jon Miranda c0c1c55c5d Add a way to fade out taskbar view when closing an app in the taskbar.
Prior to this change, if taskbar is showing and we are cloing an app
that is visible in the taskbar, the taskbar view would immediately
disappear.

Now we will fade out the view until the animation is 33% complete,
at which point the 'space' will be clear for the FloatingIconView
to settle at its final location.

Bug: 273961611
Test: open app in hotseat
      note that the taskbar view is gone immediately
      have taskbar visible, close app that is shown in taskbar
      note that the taskbar view fades out

Change-Id: I5589e2ce3033cfa19669d1bfaf568aef2a96015e
2023-03-20 18:21:42 +00:00
Jon Miranda 8a53e78f22 Merge "Taskbar motion polish to keep icons within taskbar bg bounds." into tm-qpr-dev 2023-03-20 18:04:39 +00:00
Jon Miranda 18c53ac26b Tune springs when app animates home into the hotseat on devices
with a taskbar.

Thought about using the Builder pattern here but the CL becomes
much larger due to SwipePipToHomeAnimator having its own
Builder.

Bug: 268026344
Test: swipe up to close app thats in hotseat
      swipe back to close app thats in hotseat

Change-Id: Idd0729224374579753fc91c7820f3b04a7d3e1a4
2023-03-20 10:56:43 -07:00
Jon Miranda a479a6e3fd Merge "Keep foreground drawable centered during app open/close animation." into tm-qpr-dev am: ad94440c5f am: d0c8aa31bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22140592

Change-Id: Iee4811dc9cef70e390514106cbc32ea618d1b759
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 17:23:17 +00:00
Sam Dubey ee75235a59 Merge "Revert "Move recents animation controller to shell"" into udc-dev 2023-03-20 17:19:13 +00:00
Jon Miranda d0c8aa31bd Merge "Keep foreground drawable centered during app open/close animation." into tm-qpr-dev am: ad94440c5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22140592

Change-Id: I7c5c1c5f39906eb5e4f5caff4ec4a8c828e5300c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 16:45:42 +00:00
Jon Miranda ad94440c5f Merge "Keep foreground drawable centered during app open/close animation." into tm-qpr-dev 2023-03-20 16:14:43 +00:00
Jon Miranda f23e2d1e16 Keep foreground drawable centered during app open/close animation.
For apps that use AdaptiveIcon, we used to animate the foreground
drawable independently from the background. This is sometimes
perceived as jank so we remove the animation since it is very subtle
in the best case scenario.

Bug: 268026344
Test: open/close apps/folders that use AdaptiveIcons
Change-Id: I500bf56e04823757d511d909a93d3b30703249a1
2023-03-20 16:13:02 +00:00
Sam Dubey 1c52543678 Revert "Move recents animation controller to shell"
Revert submission 21912191-recents_to_shell

Reason for revert: Testing b/274454574

Reverted changes: /q/submissionid:21912191-recents_to_shell

Change-Id: If1732c1f539a973a2ef0dc0f05302fcaaf366300
2023-03-20 16:11:02 +00:00
Jon Miranda f0e14ac7da Taskbar motion polish to keep icons within taskbar bg bounds.
Instead of making the icons themselves move faster, we change
the startDelay/duration of the taskbar bg alpha animation
so that the taskbar is only visible when the icons are within
the taskbar bounds.

This is still an approximation. For U+, we should support taskbar
width change to fit the icons when they are in the 'hotseat'
alignment.

Bug: 273961611
Test: home <-> overview
      home <-> app
      stash <-> unstash
      foldable/tablet
      RTL
Change-Id: I39bedafac4afd641d250f7c97abf1e2de070d646
2023-03-20 07:12:53 -07:00
Nick Chameyev 663c6610d2 Merge "[Unfold animation] Adjust animation parameters" into tm-qpr-dev am: 927875c6cd am: 1b08ab957e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21850203

Change-Id: I77656305ee6e5e387323381278d86343ad088ecf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 11:41:08 +00:00
Nick Chameyev 1b08ab957e Merge "[Unfold animation] Adjust animation parameters" into tm-qpr-dev am: 927875c6cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21850203

Change-Id: Icf993567039d463e893cf7ce29d898d06ac8be9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 11:20:38 +00:00
Nick Chameyev 927875c6cd Merge "[Unfold animation] Adjust animation parameters" into tm-qpr-dev 2023-03-20 10:51:10 +00:00
Jon Miranda 849f008b9b Merge "Fix QSB flicker when returning home." into tm-qpr-dev am: 5b01486024 am: 28d2bc872a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22118378

Change-Id: I17d01060f61c8861056bad0f4789313ec6b4e327
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-18 18:48:38 +00:00
Jon Miranda 28d2bc872a Merge "Fix QSB flicker when returning home." into tm-qpr-dev am: 5b01486024
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22118378

Change-Id: I3161c17c1d3eb17e6cdbb100abbc03ec21a170b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-18 18:12:37 +00:00
Jon Miranda 5b01486024 Merge "Fix QSB flicker when returning home." into tm-qpr-dev 2023-03-18 17:36:45 +00:00
Mateusz Cicheński cb7aabd110 Merge "Enable ENABLE_PIP_KEEP_CLEAR_ALGORITHM for teamfood" into tm-qpr-dev am: c8f3c1f172 am: e24ca392e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21353290

Change-Id: I0754262532fcb792a823658ea494f5e8faa9939c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-18 01:18:43 +00:00
Tony Wickham c43b45334b Merge "Fix launcher <-> taskbar dark themed icons background color" into tm-qpr-dev am: d1f024ac7a am: aa77adbcfa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22102386

Change-Id: If54decb26af62474de20871812207253feda4c5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-18 01:18:17 +00:00
Mateusz Cicheński e24ca392e1 Merge "Enable ENABLE_PIP_KEEP_CLEAR_ALGORITHM for teamfood" into tm-qpr-dev am: c8f3c1f172
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21353290

Change-Id: I45816fea7e30e740d4f06e37a0de18b01bb3d6fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-18 01:01:39 +00:00
Mateusz Cicheński c8f3c1f172 Merge "Enable ENABLE_PIP_KEEP_CLEAR_ALGORITHM for teamfood" into tm-qpr-dev 2023-03-18 00:43:08 +00:00
Tony Wickham aa77adbcfa Merge "Fix launcher <-> taskbar dark themed icons background color" into tm-qpr-dev am: d1f024ac7a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22102386

Change-Id: I439777933b21875b1999b1a39eadae5743231bdb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-18 00:41:08 +00:00
Tony Wickham d1f024ac7a Merge "Fix launcher <-> taskbar dark themed icons background color" into tm-qpr-dev 2023-03-18 00:07:57 +00:00
Pat Manning 7ccd50dfb7 Merge "Revert "Stash taskbar on swipe to go home for 3p fallback launcher."" into tm-qpr-dev am: c58e2be2dd am: 745010e6c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22119024

Change-Id: I1eeb16d2c17576dbccbf760d6ca91f35849b046b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-17 23:24:39 +00:00
Saumya Prakash fd79b4dfbd Redesign the gesture tutorial for the Back gesture
This change adds in a new animation and layout to change the existing back tutorial as part of the effort to redesign gesture navigation education for users. This temporarily uses placeholder animations for the overview gesture. Large screen animations are also added for Home and Back tutorial.

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Bug: 241813570
Bug: 253521922
Bug: 253520701
Test: Manual
Change-Id: Ied18b88a83a3b673a7cf40fd33b6013f24998e44
2023-03-17 23:20:36 +00:00
Pat Manning 745010e6c9 Merge "Revert "Stash taskbar on swipe to go home for 3p fallback launcher."" into tm-qpr-dev am: c58e2be2dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22119024

Change-Id: Iaa33b85cdc5f90bbac962e7272815756a105ed11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-17 22:49:24 +00:00
Pat Manning c58e2be2dd Merge "Revert "Stash taskbar on swipe to go home for 3p fallback launcher."" into tm-qpr-dev 2023-03-17 22:18:15 +00:00
Evan Rosky c60b95b914 Merge "Move recents animation controller to shell" into udc-dev 2023-03-17 21:15:43 +00:00
Jon Miranda 4b5f6913ef Fix QSB flicker when returning home.
We only set qsb alpha if isQsbInline = true, since that is when
we draw/animate the qsb in the taskbar.

Fixes: 269164187
Test: isQsbInline = true / false
Change-Id: I92022135e74f734a8e50c606dc9c605df39a9f97
2023-03-17 13:38:39 -07:00
Mateusz Cicheński 2ef25f91ba Enable ENABLE_PIP_KEEP_CLEAR_ALGORITHM for teamfood
Change-Id: I7c09494514dd6ea1baea51a03114c8e77cae118d
Test: atest WMShellFlickerTests
Bug: 183746978
2023-03-17 19:37:41 +00:00
Sunny Goyal feca2d8700 Merge "Simplifying some page indicator dots attributes so that it can be easily modularized" into udc-dev 2023-03-17 19:02:01 +00:00
Hongwei Wang 48844c89cb Merge "VisD update for the PipAppIconOverlay 2/N" into tm-qpr-dev am: 452e014caa am: e83a3e29d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22107736

Change-Id: I6782e9913b91972135cc07e610e703af96547595
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-17 17:16:03 +00:00
Hongwei Wang e83a3e29d4 Merge "VisD update for the PipAppIconOverlay 2/N" into tm-qpr-dev am: 452e014caa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22107736

Change-Id: Icc997145598aa5b0575558546eddd1e294085a29
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-17 16:54:41 +00:00
Hongwei Wang 452e014caa Merge "VisD update for the PipAppIconOverlay 2/N" into tm-qpr-dev 2023-03-17 16:24:56 +00:00