Commit Graph

5966 Commits

Author SHA1 Message Date
Bill Yi
e2d95f9703 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I824aa5417111572f7a9a8fe4eb474b066c09a8c8
2021-05-17 10:53:00 +00:00
Zak Cohen
a32c60007c Merge "Overview - don't update task overlay on thumbnail update." into sc-dev am: 02ca6c14dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14537691

Change-Id: Ibc8ea5e2635cbd17b2e81c30e21db79962937ab5
2021-05-14 22:05:48 +00:00
Zak Cohen
02ca6c14dd Merge "Overview - don't update task overlay on thumbnail update." into sc-dev 2021-05-14 21:52:55 +00:00
Vadim Tryshev
4214b85926 Merge "Revert "Temporarily demoting failing tests from presubmits"" into sc-dev am: 217e7100bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14532449

Change-Id: Ieb5e6d440015c0eddac323101a78fe90b64f5908
2021-05-14 18:35:05 +00:00
Vadim Tryshev
217e7100bc Merge "Revert "Temporarily demoting failing tests from presubmits"" into sc-dev 2021-05-14 18:17:41 +00:00
Cyrus Boadway
5bfe52dff3 Merge "Add interaction jank monitoring for widget app launch CUJ" into sc-dev am: a27ebc1633
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14467314

Change-Id: Ibab3484e22f059e2f02cf70ba85fcba4b10c9222
2021-05-14 17:52:51 +00:00
Cyrus Boadway
a27ebc1633 Merge "Add interaction jank monitoring for widget app launch CUJ" into sc-dev 2021-05-14 17:40:16 +00:00
Sunny Goyal
8324cd0d58 Merge "Revert "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback""" into sc-dev am: 10dfa61db8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14532343

Change-Id: I5cbd3a1fbd5370e52b2748e9545beec232bd016f
2021-05-14 16:04:45 +00:00
Sunny Goyal
10dfa61db8 Merge "Revert "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback""" into sc-dev 2021-05-14 15:46:14 +00:00
zakcohen
a6ca69aa53 Overview - don't update task overlay on thumbnail update.
Only init and reset the task overlay on the enabled state of the overlay
changing.
Previously the overlay was also updated when the thumbnail changed, but
this can happen for lots of different reasons so was causing janky
transitions and potentially excess work in code that was following the
overlay.

The overlay code really only cares about the thumbnail after the task has
settled, so should be safe to ignore the thumbnail updates.



Bug: 188097940
Test: local build and run on p5
Change-Id: I4ad1767046cb0316af19713bc188788d8f581d7c
2021-05-13 16:35:49 -07:00
TreeHugger Robot
d3e0e8da39 Merge "Enable free scroll immediately if gesture goes to overview" into sc-dev am: e010332efd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425538

Change-Id: I8699632cbda9e864d98271946b6e76dd7dbb64a4
2021-05-13 21:41:34 +00:00
TreeHugger Robot
e010332efd Merge "Enable free scroll immediately if gesture goes to overview" into sc-dev 2021-05-13 21:23:05 +00:00
Tony Wickham
763fd24cf2 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: I9c2cd6c81f6eebe0840745bb7b13f007090deff2
2021-05-13 20:01:14 +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
eb4e092720 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: I2382ef7963a5fb6366707bb149771dfc8482a862
2021-05-13 19:42:19 +00:00
Alex Chau
6a5920c682 Enable free scroll immediately if gesture goes to overview
Fixes: 186871947
Test: Swipe up from app, scroll immediately, free scroll should be enabled
Change-Id: I20b782df04fb6e61dfd5c7e82e1ab90dbd6ed8fc
2021-05-13 20:39:15 +01: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
923f93eb25 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: Idfd4c3637568ab01338542e29a7d67637f2a6348
2021-05-13 17:31:49 +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
Sunny Goyal
01b32466c3 Revert "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback""
This reverts commit d7f11d5fb9.

Reason for revert: Fixed initial error
Bug: 185554764

Change-Id: I32cc49f9b3820166736ceb347f33577939aa6efa
2021-05-13 10:23:35 -07:00
Vadim Tryshev
a7c9c14444 Revert "Temporarily demoting failing tests from presubmits"
This reverts commit 395c58d303.

Reason for revert: The bug was fixed

Bug: 187899876
Change-Id: I73f93f5fb1ec0ab0352ba174aabbaf6935dd9fc4
Test: presubmit
2021-05-13 17:20:36 +00:00
Bill Yi
9cbba5e50d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I826fe1dd1cc8d48ba140440dcab80fc9dac06562
2021-05-13 07:40:41 +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
Hongwei Wang
1f58c3c674 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: Ic09e6ca9e609d319504e542fa03f1335bdb8488c
2021-05-12 23:55:13 +00:00
TreeHugger Robot
bdc44fe717 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: Iad4d1e3ac3bcf05e859aec69d09960584416e99c
2021-05-12 23:55:05 +00: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
Jonathan Miranda
0954168e25 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: Idef6d593d63191484fa0557c41f3b6fe7b334aec
2021-05-12 23:54:45 +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
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
Vadim Tryshev
ba922ee0ea 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: I6296dc1d736776a105728365027efed44e2ed0d0
2021-05-12 20:03:01 +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
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