Commit Graph

19452 Commits

Author SHA1 Message Date
Jon Miranda 56e660c6f3 Merge "Fix issue where two translation animations clobber each other." into tm-qpr-dev 2023-03-21 20:58:23 +00:00
Jagrut Desai 3a4f5a61d0 Merge "Clear Accessibility Focus from Taskbar Icon after Shorcut Menu invoked" into tm-qpr-dev am: be58eb2cde
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22168022

Change-Id: I40eb8a9fed8389a41a9c7ff0e5749ab93c15ae29
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 20:26:27 +00:00
Jagrut Desai be58eb2cde Merge "Clear Accessibility Focus from Taskbar Icon after Shorcut Menu invoked" into tm-qpr-dev 2023-03-21 19:58:11 +00:00
Tony Wickham a4f074785f Merge "Update folder leave-behind color for taskbar" into tm-qpr-dev am: 0165aa82c6 am: f497c59b5e am: 5513239387
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21968430

Change-Id: I154316aa04ff2373662cf0ca5ef852c961d23a25
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 19:46:44 +00:00
Jon Miranda c3bb65a045 Fix bug where taskbar jumps when double swiping up.
Bug: 273948325
Change-Id: Ib3f19f4bf7348cd3545864351d48780dbc9acd65
Flag: ENABLE_TRANSIENT_TASKBAR
Test: swipe up to unstash taskbar, quickly swipe up again
2023-03-21 12:05:47 -07:00
Tony Wickham 5513239387 Merge "Update folder leave-behind color for taskbar" into tm-qpr-dev am: 0165aa82c6 am: f497c59b5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21968430

Change-Id: Ie80383899e7881512b4434f72a43df7328f36113
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 18:43:20 +00:00
Tony Wickham f497c59b5e Merge "Update folder leave-behind color for taskbar" into tm-qpr-dev am: 0165aa82c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21968430

Change-Id: Ifd652848a3006de0c975410623ed3f59c8f17023
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 18:04:28 +00:00
Evan Rosky e8b111f064 Merge "Move recents animation controller to shell" into udc-dev am: fa06c90dc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22169329

Change-Id: I85fc3254f7573de188bbf284f7d93c0663832fd7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 17:28:34 +00:00
Jon Miranda 3344ec7004 Add spring animation when stashing transient taskbar.
Bug: 273961611
Change-Id: I35a658a5e30a155094a48effdefc3895f45e0483
Flag: ENABLE_TRANSIENT_TASKBAR
Test: stash transient taskbar
2023-03-21 10:25:48 -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 aa08a59f92 Fix issue where two translation animations clobber each other.
Internal implementation of AnimatedFloat ensures only one
animation plays at a time.

Bug: 273961611
Change-Id: Idc86dba3ac0a085e7cb6b3a979d5b098b75b62b8
Flag: ENABLE_TRANSIENT_TASKBAR
Test: swipe from overview to home
2023-03-21 17:12:52 +00:00
Tony Wickham 0165aa82c6 Merge "Update folder leave-behind color for taskbar" into tm-qpr-dev 2023-03-21 16:38:46 +00:00
Jon Miranda 79cb30066c Merge "Add a way to fade out taskbar view when closing an app in the taskbar." into tm-qpr-dev am: 149246f077 am: ce06cf89b0 am: 6e816aaf37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22141153

Change-Id: Idebb37d9a36d87ee3cbbd7ed30c1208a76bb9c4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 14:55:12 +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
Mike Schneider 7b410f24b4 Do not perform invisible transitions while the screen is off.
This change caches whether launcher was active at the time of the screen
off, and assumes this last state when the screen is actually off.

While trying to understand the code, I renamed a couple class-internal
methods and flags, plus added comments. If they are not accurate, its
due to a misunderstanding on my part, and I will gladly revisit and
check whether all the assumptions I made still hold.

Bug: 261418621
Test: manually

Change-Id: I2ad25caf478100781a063c356c5fd2d20d3e1917
2023-03-21 10:27:13 +00:00
randypfohl 1540affbd0 Updating overview tutorial to new simple tutorial flow am: 1c0a27a28e am: 127329fe46 am: f977979374
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22163527

Change-Id: Id0c62d90216948b3b2cbefd4e9b3d6ae5849e85a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 06:53:33 +00:00
Hyunyoung Song a38aab93b9 Revert "Revert "Hide the splash icon when launching with no view..."
Revert submission 21916962-revert-21447384-no-splash-UILAXIUPKJ

Reason for revert: Retry errorprone target

Reverted changes: /q/submissionid:21916962-revert-21447384-no-splash-UILAXIUPKJ
Flag: production issue. Not hidden behind flag
Bug: 269343536
Test: manual

Change-Id: Ia365f886d39d63472d72afc2033fc67e19109f57
2023-03-20 23:33:11 -07: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
Jon Miranda 2a9bc4f8f1 Merge "Tune springs when app animates home into the hotseat on devices with a taskbar." into tm-qpr-dev am: fad8c1c449 am: 03bb5fe49c am: 4202d43e48
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22146526

Change-Id: If689dc824d9be78b2fa5d578c3c2dcbc29be4a33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 22:54:44 +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 018853d0d9 Merge "Redesign the gesture tutorial for the Back gesture" into tm-qpr-dev am: 60c419b9b7 am: 813a373212 am: 36095202d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21779343

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

Change-Id: I76768242bd0ede7e804342f1f00606bfc54c42ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 19:48:28 +00:00
Jagrut Desai d78b4ecbd0 Clear Accessibility Focus from Taskbar Icon after Shorcut Menu invoked
Test: Manual
Bug: 267698319
Flag: not needed
Change-Id: I2726504094af2abacf1c41089c7bcd4efb588099
2023-03-20 12:41:17 -07: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
Jon Miranda bb1d610fc3 Merge "New taskbar thresholds." into tm-qpr-dev am: d95c511b2c am: 5ce4bd3412 am: 4235a94958
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22140107

Change-Id: I84694492a3fd36b344c33658e0fc70aaee50c0cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 19:05:01 +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 4235a94958 Merge "New taskbar thresholds." into tm-qpr-dev am: d95c511b2c am: 5ce4bd3412
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22140107

Change-Id: I3a17fbf6d4969a2c991b30d8007bf1c33ddec8b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 18:22:49 +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 ba0b2a001a Merge "Keep foreground drawable centered during app open/close animation." into tm-qpr-dev am: ad94440c5f am: d0c8aa31bd am: a479a6e3fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22140592

Change-Id: I947e11a324da3c50d1131a47d2cb7e130edf3526
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 18:06:17 +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 5ce4bd3412 Merge "New taskbar thresholds." into tm-qpr-dev am: d95c511b2c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22140107

Change-Id: Ia16e24ed47616868469f428638b999d20b5712b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 17:44:58 +00:00
Sam Dubey 44ace0d7de Merge "Revert "Move recents animation controller to shell"" into udc-dev am: ee75235a59
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22162929

Change-Id: I1beba79f0607e4c7176be70f67a75e7f1deaca33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 17:33:07 +00: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 d95c511b2c Merge "New taskbar thresholds." into tm-qpr-dev 2023-03-20 17:16:22 +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