Tony Wickham
bbc5dfffc0
Merge "Remove mOnRecentsScrollListener when continuing quick switch gesture" into sc-dev am: 1eea52296b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14517561
Change-Id: I69f77a897b43b3990a85bf1f1381c64c178f380a
2021-05-13 20:01:06 +00:00
Tony Wickham
1eea52296b
Merge "Remove mOnRecentsScrollListener when continuing quick switch gesture" into sc-dev
2021-05-13 19:49:41 +00:00
Cyrus Boadway
8acafe1292
Merge "Register a remote animation for the next activity start" into sc-dev am: a1d303e531
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14530596
Change-Id: I484f1a0d2a49406354c3149917c3af056a320274
2021-05-13 19:42:19 +00:00
Cyrus Boadway
a1d303e531
Merge "Register a remote animation for the next activity start" into sc-dev
2021-05-13 19:33:59 +00:00
Cyrus Boadway
c169e5b9af
Register a remote animation for the next activity start
...
Widgets are permitted to start broadcast receivers which launch
activities, otherwise known as a broadcast trampoline. Unfortunately,
launch animations provided through ActivityOptions are not applied to
the activity launch.
If a widget interaction's pending intent is not an activity, set a
return animation for the next activity start, in the event it starts an
activity.
Bug: 169042867
Test: presubmit
Change-Id: Ibbee9cadcd5153e285433fcb1b8038d77b1384a2
2021-05-13 17:56:14 +00:00
Winson Chung
936647d987
Merge "Skip setting up ui if the handler is already invalidated" into sc-dev am: 549ea0b3a9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14526506
Change-Id: I9d45ac41e3cbdbb503eaa10952deb071c78e4ef8
2021-05-13 17:31:35 +00:00
Winson Chung
549ea0b3a9
Merge "Skip setting up ui if the handler is already invalidated" into sc-dev
2021-05-13 17:28:06 +00:00
Bill Yi
2a99f41b95
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Iadb532dd2ccc98ba1437e944adf69a9ffb62fba2
2021-05-13 07:38:56 +00:00
Winson Chung
af7c86ada5
Skip setting up ui if the handler is already invalidated
...
- Also unregister the task stack listener in case the restart
message comes in right before the animation is finished
Bug: 186760990
Test: Swipe up/quickswitch repeatedly
Change-Id: I5af7a26f05e7c15e099d6666e4662fd1af9aa861
2021-05-12 20:33:32 -07:00
Tony Wickham
8239ed8733
Remove mOnRecentsScrollListener when continuing quick switch gesture
...
Test: Quick switch from A to B, touch nav during the transition and
continue quick switching to C; ensure running task doesn't jump to
fullscreen randomly throughout the scroll
Fixes: 186269584
Change-Id: Ibebad3d8c8e8f86c7f53a028c75bb5916369df7f
2021-05-12 16:54:57 -07:00
Hongwei Wang
7f3b2b56fe
Merge "Skip setShelfHeight if Launcher is not started" into sc-dev am: da21eb9159
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14508628
Change-Id: I0140784c2be6eb84fc74b04c34fbc7a87898d3ac
2021-05-12 23:54:56 +00:00
TreeHugger Robot
0ced644a5c
Merge "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback"" into sc-dev am: 7c58b4c7dc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14518591
Change-Id: Ib564ada8333a997d8646e0e5e2d5d9021cfd82f0
2021-05-12 23:54:51 +00:00
Jonathan Miranda
122594d6c7
Merge "Tuning app close, and turn on flag." into sc-dev am: 951962cd05
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14512489
Change-Id: If51f153444e399ccd4ca4977809232826825db10
2021-05-12 23:54:24 +00:00
Hongwei Wang
da21eb9159
Merge "Skip setShelfHeight if Launcher is not started" into sc-dev
2021-05-12 23:42:35 +00:00
TreeHugger Robot
7c58b4c7dc
Merge "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback"" into sc-dev
2021-05-12 23:37:33 +00:00
Jonathan Miranda
951962cd05
Merge "Tuning app close, and turn on flag." into sc-dev
2021-05-12 23:28:59 +00:00
Jon Miranda
b3a267b58a
Tuning app close, and turn on flag.
...
- Tracks centery, slowed things down a bit
* We will be replacing StaggeredWorkspaceAnim with
another animation, but I'm keeping it here in
case we decide to turn the flag off later on.
Bug: 173107751
Test: manual
Change-Id: I5cd54ec374ad07c4912aff125a905b3b1dc7ebd5
2021-05-12 15:04:15 -07:00
Winson Chung
d7f11d5fb9
Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback"
...
This reverts commit a75f576890 .
Reason for revert: b/187887269
Bug: 187887269
Change-Id: I8a56ff7054e71cf30b113fdaa213397dae0c53cb
2021-05-12 21:25:22 +00:00
Tony Wickham
65b0ca7873
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: I02ee7a7dfd755982105f4011aedc88588bcf1573
2021-05-12 20:02:45 +00:00
Vadim Tryshev
11e67cff12
Merge "Temporarily demoting failing tests from presubmits" into sc-dev am: 194471cc8a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14518720
Change-Id: I78f551df39c3e3a14492e52e14b742130ea90c71
2021-05-12 20:02:36 +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
Vadim Tryshev
194471cc8a
Merge "Temporarily demoting failing tests from presubmits" into sc-dev
2021-05-12 18:25:10 +00:00
vadimt
395c58d303
Temporarily demoting failing tests from presubmits
...
Bug: 187899876
Test: local build
Change-Id: I7b66dbfacc27c10cdafae27ab11afc29d965e4b3
2021-05-12 11:18:16 -07:00
Vinit Nayak
ded5c750d9
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: I5ccb5eee47c89f5038e51cb839d8daddfe3e0aa0
2021-05-12 18:06:39 +00:00
TreeHugger Robot
e673ec768c
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: I58b4e777197cafc5cef6ec1379c848eb0f2a66fe
2021-05-12 18:06:27 +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
c9a7750044
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: Iaf0a3f4747136935cf7d4f2882a57a1a0277f155
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
fff9a1c425
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: Ib43b990c15263e85ffd2b343952ca8808ca6877e
2021-05-12 10:00:29 +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
b2d5abab1a
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: Ie5fce335f0506dd81736cedcb837edb57e9a2fe8
2021-05-12 03:33:54 +00:00
Evan Rosky
972e839ff9
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: Ie2764e0d10bb1bc5e2583ce0ab2332163a713fa2
2021-05-12 03:33:11 +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
Hongwei Wang
6fc623d0b9
Skip setShelfHeight if Launcher is not started
...
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/gIqsb2WlagwQ8ly3q3RHI0
Bug: 184797356
Test: atest WMShellFlickerTests:PipShelfHeightTest
Test: manual, see video
Change-Id: Ia02b2da110b05341dfbf92b9d8d7fca4bbf6bdb3
2021-05-11 16:42:42 -07:00
Tracy Zhou
1d4f7d893a
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: If109bbff09e76a0d4162dbb3439530dfcb7ae6bd
2021-05-11 23:26:04 +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
0566f1698c
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: Ib1baa27604fa5f61bb78556a8b9c1e275e5e1e9d
2021-05-11 22:40:30 +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
f0f32a9203
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: Ibad69dfa3eaf79af57135404b51566a5882f7d26
2021-05-11 21:44:36 +00:00
Tracy Zhou
9c4dafcbd6
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: I684e57c21cf3772f6d8988396a7048a54fa1019b
2021-05-11 21:44:23 +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