Jon Miranda
dc3e4c972d
Merge "Update start radius for reveal animation to match spec." into tm-qpr-dev am: 0a6356a5ea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22188102
Change-Id: I052941fca6d5def9bd9a7a37a0b0d0a8c287af69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-22 17:44:18 +00:00
Jon Miranda
0a6356a5ea
Merge "Update start radius for reveal animation to match spec." into tm-qpr-dev
2023-03-22 16:51:27 +00:00
Tony Wickham
75a0c72d00
Merge "Restore proper nav buttons translation when taskbar is recreated" into tm-qpr-dev am: 3292947a73
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22090087
Change-Id: Ic3fd82b74858b62456f40ed7426ad98a9eac825b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-22 15:35:51 +00:00
Mike Schneider
14db451c21
Do not play unstash animation when unlocking the device am: 94f46e14f4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22119728
Change-Id: I03a41c526338a77c53c2bffec5a964fbb5206aa3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-22 15:35:04 +00:00
Tony Wickham
3292947a73
Merge "Restore proper nav buttons translation when taskbar is recreated" into tm-qpr-dev
2023-03-22 15:27:00 +00:00
Mike Schneider
4374b4ffde
Merge "Do not perform invisible transitions while the screen is off." into tm-qpr-dev am: 42a8fe91db
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21699905
Change-Id: Idc2d27107db630a617102b83f819b5381242f8c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-22 08:43:55 +00:00
Mike Schneider
94f46e14f4
Do not play unstash animation when unlocking the device
...
The unstash is ignored by TaskbarStashController, while the TaskbarLauncherStateController positions the hotseat on the launcher correctly without animation.
Since the TaskbarStashController is used even with 3p launchers, both of these actors keep track of whether the device is locked independently, based on the SysUI flags.
Bug: 270139677, 266890635, 274084408
Test: manually, Tapl
Change-Id: Iae94522b5d57cc89c9a4d219ad1254b150a3400d
2023-03-22 09:10:03 +01:00
Mike Schneider
42a8fe91db
Merge "Do not perform invisible transitions while the screen is off." into tm-qpr-dev
2023-03-22 08:04:09 +00:00
Jon Miranda
d98af9ae14
Merge "Fix bug where taskbar jumps when double swiping up." into tm-qpr-dev am: 9e593747e9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22184665
Change-Id: Iceabe18b795d9e4bc63989532e351aaec0a7f38b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-22 05:20:05 +00:00
Jon Miranda
9e593747e9
Merge "Fix bug where taskbar jumps when double swiping up." into tm-qpr-dev
2023-03-22 04:48:23 +00:00
Jon Miranda
9c0ad5f746
Merge "Add spring animation when stashing transient taskbar." into tm-qpr-dev am: ba85154590
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22178236
Change-Id: I87a3e770928564eb02ddd0802814ac1f896d78bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-22 03:09:40 +00:00
Jon Miranda
ba85154590
Merge "Add spring animation when stashing transient taskbar." into tm-qpr-dev
2023-03-22 02:34:46 +00:00
Jeremy Sim
ce97be3d12
Merge "Fix bug where Taskbar was not auto-hiding after splitscreen launch from icon menu" into tm-qpr-dev am: 3c8def9f88
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22077752
Change-Id: I9563711ed0b857616a559a7f07486c4da3b0c0d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-21 23:58:07 +00:00
Jeremy Sim
3c8def9f88
Merge "Fix bug where Taskbar was not auto-hiding after splitscreen launch from icon menu" into tm-qpr-dev
2023-03-21 23:34:34 +00:00
Jon Miranda
cb3fc6b07c
Update start radius for reveal animation to match spec.
...
Bug: 273961611
Change-Id: I3330b8b2ec47d7e9608b900a859d2a865f92a994
Flag: ENABLE_TRANSIENT_TASKBAR
Test: stash/unstash
2023-03-21 14:52:58 -07:00
Jon Miranda
43102d323b
Merge "Fix issue where two translation animations clobber each other." into tm-qpr-dev am: 56e660c6f3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22167061
Change-Id: I421382612f9175d45a059519085f29d45acc7d18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-21 21:43:49 +00:00
Jeremy Sim
8eed87ac89
Fix bug where Taskbar was not auto-hiding after splitscreen launch from icon menu
...
This patch fixes a bug where the transient Taskbar was not hiding properly after splitscreen was initiated. When the user is inside an app and launches splitscreen by longpressing on a Taskbar icon and selecting the split button, the transient Taskbar should hide right away. This is an equivalent action to dragging the Taskbar icon up to create a split, and should hide the Taskbar so that other UI elements (like system-level toasts and error messages) can be seen.
The bug occurred because updateAndAnimateTransientTaskbar() is not being called in this specific code path to stash the Taskbar.
Fixed by adding a new call to updateAndAnimateTransientTaskbar upon clicking the splitscreen menu button.
Fixes: 272292897
Test: Manual
Change-Id: I64a9acfc41ddcaba4d9f43eb216458de44b4c9a4
2023-03-21 14:35:36 -07:00
Mike Schneider
308b7849db
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
Merged-In: I2ad25caf478100781a063c356c5fd2d20d3e1917
2023-03-21 21:02:55 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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