Tony Wickham
a595ccf75b
Merge "Defer some heavy work from final frame of app -> home transition" into sc-dev am: b9e275d233
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14518196
Change-Id: Ic28bd608694c45b04c8b6afa31a49b0e106962e3
2021-05-12 20:03:12 +00:00
Tony Wickham
b9e275d233
Merge "Defer some heavy work from final frame of app -> home transition" into sc-dev
2021-05-12 18:59:41 +00:00
Vinit Nayak
5de86819af
Merge "Prevent thumbnails from shifting if placeholder view doesn't overlap" into sc-dev am: 3f349db912
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14441329
Change-Id: Ic46cf7642beaeaa6b532328f4ffca15ce95e6261
2021-05-12 18:06:44 +00:00
TreeHugger Robot
fc04d09a81
Merge "Forces a back region for sandbox even if gesture nav is disabled." into sc-dev am: e0a94aa750
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14513829
Change-Id: I58cdd0e96312ef05213d0cf23500235a5eeab59d
2021-05-12 18:06:25 +00:00
Vinit Nayak
3f349db912
Merge "Prevent thumbnails from shifting if placeholder view doesn't overlap" into sc-dev
2021-05-12 18:04:49 +00:00
TreeHugger Robot
e0a94aa750
Merge "Forces a back region for sandbox even if gesture nav is disabled." into sc-dev
2021-05-12 17:34:15 +00:00
Tony Wickham
ce07a3721a
Defer some heavy work from final frame of app -> home transition
...
- Call reapplyState() on the next frame after settling on home.
- Post some calls from RecentsView#reset() to the next frame.
- Remove onSwipeUpToRecentsComplete() which only called reapplyState()
uncessarily.
- Also animate TASK_SECONDARY_TRANSLATION back to 0 to ensure state
machine is in sync with long swipe resistance properties.
Test: profile swipe to home, significantly reduced last frame time.
Bug: 183139317
Change-Id: I37b1829f6f1d5a718e99c131935b87b5200d567f
2021-05-12 10:07:35 -07:00
Cyrus Boadway
7a4f50d39a
Merge "Improve widget-activity transition animation for translucent activities" into sc-dev am: 6015c3fb03
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14518262
Change-Id: Id936819013c4439f73d8ea06870418ee559f18b6
2021-05-12 15:24:42 +00:00
Cyrus Boadway
6015c3fb03
Merge "Improve widget-activity transition animation for translucent activities" into sc-dev
2021-05-12 15:19:42 +00:00
Cyrus Boadway
670473301a
Improve widget-activity transition animation for translucent activities
...
Activities may be translucent. In that case, the widget should not
visually be a part of the activity launch or return animations.
Bug: 169042867
Test: manual
Change-Id: Ifb690672f71854e491fa240a6c7f0d882910a47c
2021-05-12 11:47:33 +00:00
Andy Wickham
459c3a2f16
Merge "Update gesture navigation tutorial." into sc-dev am: 53a44a2e51
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14341983
Change-Id: I2f26c9d8154fb81fb88dba4e3ede514fd7c72a42
2021-05-12 10:02:02 +00:00
Andy Wickham
3404138583
Forces a back region for sandbox even if gesture nav is disabled.
...
When gesture nav is disabled, this config value returns 0,
preventing the back gesture from being recognized.
Probably we won't show the sandbox in that case, but it'd
be good to have a reasonable fallback just in case.
Bug: 186715828
Test: Manual with gesture nav enabled and disabled
Change-Id: Ic5e03bede80521670f81e6ac7b02f364259b9f96
2021-05-12 02:33:48 -07:00
Andy Wickham
53a44a2e51
Merge "Update gesture navigation tutorial." into sc-dev
2021-05-12 09:31:44 +00:00
Ryan Lin
3f82465c58
Merge "Do not detect system gesture with new system ui state flag" into sc-dev am: 83abf3354b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14439479
Change-Id: I8b22de030e7a63142d0d3a3667724330fcea8db4
2021-05-12 03:33:13 +00:00
Evan Rosky
1179d12faa
Merge "Revert "Fix a bug in TouchInteractionService for fixed-display input rotation"" into sc-dev am: 937371bfb3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14490408
Change-Id: I12a58be30356559ecf8e7065a2a95e808c95e0b2
2021-05-12 03:32:43 +00:00
Ryan Lin
83abf3354b
Merge "Do not detect system gesture with new system ui state flag" into sc-dev
2021-05-12 03:00:14 +00:00
Evan Rosky
937371bfb3
Merge "Revert "Fix a bug in TouchInteractionService for fixed-display input rotation"" into sc-dev
2021-05-12 02:09:06 +00:00
Evan Rosky
f78ba72379
Revert "Fix a bug in TouchInteractionService for fixed-display input rotation"
...
This reverts commit 04fb7ee44c .
Reason for revert: This wasn't the right fix.
Bug: 179274888
Change-Id: Ic9aaf2b43252533837206cc82ac5fd1f2d7297f8
2021-05-12 02:09:00 +00:00
Schneider Victor-tulias
e3af6c6513
Update gesture navigation tutorial.
...
- Updated gesture navigation feedback videos.
- Added feedback motion loop videos.
- Updated strings.
- Added alternate strings for when the user launches tutorial steps from the Tips app.
Test: manual
bug: 169687177
Change-Id: I87d475e1510a25ffefea14dbd0b224a063e7cad8
2021-05-11 18:14:29 -07:00
Tracy Zhou
45b9685975
Merge "Do not pip when ending live tile in Overview" into sc-dev am: 6dce7b6366
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14506716
Change-Id: Id93174d64aeb29e2e7cb32da06ba6d2d8b8e2603
2021-05-11 23:25:58 +00:00
Tracy Zhou
6dce7b6366
Merge "Do not pip when ending live tile in Overview" into sc-dev
2021-05-11 23:23:35 +00:00
TreeHugger Robot
10310de034
Merge "Exposing AnimatorListeners in StateManager to receive both success and failure callback" into sc-dev am: d7c6e44ba9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14506717
Change-Id: I70b830aa5478122950478ba89ffa205bc0e719aa
2021-05-11 22:39:32 +00:00
TreeHugger Robot
d7c6e44ba9
Merge "Exposing AnimatorListeners in StateManager to receive both success and failure callback" into sc-dev
2021-05-11 22:21:42 +00:00
Winson Chung
34ba3d042f
Merge "Revert "Invalidate when switching to new consumer"" into sc-dev am: 3956b3ea84
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14495064
Change-Id: I6d5738a59c9bed204f13b473711dd5aee7507feb
2021-05-11 21:44:45 +00:00
Tracy Zhou
f3eba8f694
Merge "Check if mRecentsAnimationController is null before switching to screenshot" into sc-dev am: 5465527e16
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14490316
Change-Id: Ia6b7b9439ba46330f59deb1cbb068cd60d77735a
2021-05-11 21:44:38 +00:00
Winson Chung
3956b3ea84
Merge "Revert "Invalidate when switching to new consumer"" into sc-dev
2021-05-11 21:21:18 +00:00
Sunny Goyal
a75f576890
Exposing AnimatorListeners in StateManager to receive both success and failure callback
...
Updating various callers to use onSuccess or onEnd appropriately
Test: Manual
Bug: 185554764
Change-Id: I357dd1fdbe111e7a30d4c8dee520fbd7d9956b7d
2021-05-11 13:53:14 -07:00
Tracy Zhou
5465527e16
Merge "Check if mRecentsAnimationController is null before switching to screenshot" into sc-dev
2021-05-11 20:44:17 +00:00
Tracy Zhou
be0bb572da
Do not pip when ending live tile in Overview
...
Test: manual
Fixes: 187855255
Change-Id: Iadf808d41692c7dd37de28388b689f01bf045ea9
2021-05-11 13:23:16 -07:00
Winson Chung
ff67905f89
Revert "Invalidate when switching to new consumer"
...
This reverts commit 4df3b23225
and Id0a6a1c5301c66a515cefcab58b77495081c6190, as we have another
change to try and address the original issue.
Bug: 185909226
Change-Id: Ic2c08833e066090a43b989f2f470de298174e84d
2021-05-11 19:51:52 +00:00
TreeHugger Robot
7ab3255708
Merge "Handle config changes in Launcher" into sc-dev am: 95ff5cf63e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14234761
Change-Id: Ia2d04f04b42342102f1cba3df42bf10c05de4070
2021-05-11 11:17:58 +00:00
TreeHugger Robot
95ff5cf63e
Merge "Handle config changes in Launcher" into sc-dev
2021-05-11 10:58:48 +00:00
Hongwei Wang
df301ade77
Merge "Get PiP round corner radius from WMShell" into sc-dev am: e74e32ab4c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14343433
Change-Id: I78bb77f06989a1469ea1ba84460a1e1b6d2f3261
2021-05-11 03:38:53 +00:00
Hongwei Wang
e74e32ab4c
Merge "Get PiP round corner radius from WMShell" into sc-dev
2021-05-11 03:23:12 +00:00
TreeHugger Robot
f6d1a64442
Merge "Removing Launcher dependency from Folders" into sc-dev am: b32fd46c8d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14456057
Change-Id: I6a83ccba4e1167d5f12928ffbdce77335c26fffd
2021-05-11 03:13:30 +00:00
TreeHugger Robot
cea45c1d92
Merge "Use same interpolator for fullscreen scale and translation" into sc-dev am: 050f1c24dd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14487778
Change-Id: I6ea93c98f9108205bf97c01380776d358d2b4349
2021-05-11 03:13:18 +00:00
TreeHugger Robot
b32fd46c8d
Merge "Removing Launcher dependency from Folders" into sc-dev
2021-05-11 03:01:11 +00:00
TreeHugger Robot
050f1c24dd
Merge "Use same interpolator for fullscreen scale and translation" into sc-dev
2021-05-11 02:54:28 +00:00
TreeHugger Robot
5ebd19f8f1
Merge "Make foreground scrim darker on Recents View." into sc-dev am: 6ee0782167
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14471361
Change-Id: I2e739e81b7d15fba2f24e148f5965298d2eac9e8
2021-05-10 22:19:47 +00:00
Tracy Zhou
9fc3d28cfa
Merge "Finish the recents animation when the phone goes to sleep" into sc-dev am: afb2cb2cc8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14245224
Change-Id: Id374855c434ef4f04547c774df0436dfac2a7b28
2021-05-10 22:19:39 +00:00
TreeHugger Robot
6ee0782167
Merge "Make foreground scrim darker on Recents View." into sc-dev
2021-05-10 22:12:07 +00:00
Tracy Zhou
afb2cb2cc8
Merge "Finish the recents animation when the phone goes to sleep" into sc-dev
2021-05-10 22:11:36 +00:00
Sunny Goyal
5996937798
Removing Launcher dependency from Folders
...
This allows opening/closing folders without a Launcher context
Bug: 187353581
Test: Manual
Change-Id: Id73a40445a23004eb554f0422d286aa0ff6b3c41
2021-05-10 14:01:43 -07:00
Tracy Zhou
09aa748b7d
Check if mRecentsAnimationController is null before switching to screenshot
...
Fixes: 187738762
Test: N/A
Change-Id: I3e24a6136a4ed6ff0b0ab810310aaf9dd9dbbb7b
2021-05-10 13:40:04 -07:00
Winson Chung
202e6b0f81
Merge "Removing some unused logs" into sc-dev am: 7bce233fb4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14471873
Change-Id: I7aefc215a4a049adb8be9d79e6fddcc35eb6cda4
2021-05-10 20:32:07 +00:00
Alex Chau
a02eddc144
Handle config changes in Launcher
...
- This is practically a revert to http://ag/c/13687966/5 and refactored to use DisplayController.DisplayInfoChangeListener
- Make Launcher handle size and density change so transition is less janky when screen size changes
- Added fix in RecentsView to update state and TaskView when display profile changes
- Removed 720dp specific resoureces
- Removed unused widget_section_indent
- Removed unnecessary all_apps_background_canvas 600dp override that is not needed in AllApps+
- Moved remaining dp specific into DeviceProfile
- Simplified allowRotation logic to use single variable in DeviceProfile to determine if allow rotation is enabled by default
Fixes: 180803696
Test: manual
Change-Id: Iea0a7d1a0e14dc3613152dd3b3887450a2e1fc2f
2021-05-10 18:50:02 +01:00
Tracy Zhou
f20a4bd9a9
Finish the recents animation when the phone goes to sleep
...
Fixes: 169988381
Test: manual
Change-Id: I62527ef46009a1417e67637c512b3a2fc005bcd6
2021-05-10 10:20:43 -07:00
Alex Chau
a7066cb6ff
Use same interpolator for fullscreen scale and translation
...
Fixes: 187690450
Test: Swipe up from quick switch, tasks should not overlap
Change-Id: Ib2596d982974b7a1a9acbb02026e8d920e7fea25
2021-05-10 15:49:29 +01:00
Winson Chung
35226124e3
Removing some unused logs
...
Fixes: 185820525
Fixes: 177316094
Fixes: 158017601
Fixes: 180915942
Change-Id: I8ce5bde08e1728d3209762c5f061245386408825
2021-05-07 20:52:33 -07:00
zakcohen
85961fa44b
Make foreground scrim darker on Recents View.
...
Make the foreground scrim darker, not just scrimming to the target color.
Waiting for real token for the scrim color.
Moves the COLOR_TINT property from TaskView to RecentsView to make
coordinating the animation simpler.
Bug: 187320416
Test: Local
Change-Id: I300f98f78e33476ee604d4dd61b485326356eb5b
2021-05-07 14:19:30 -07:00