Commit Graph

20478 Commits

Author SHA1 Message Date
Cyrus Boadway 50fc77bd57 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: I7699c931d91801b4a27ca20fd5a92211a7e7dcf4
2021-05-13 19:44:35 +00:00
Cyrus Boadway 089556218a 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: Ib349ec3203a27f815672826f2a44553263586a57
2021-05-13 19:42:52 +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
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
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 ef0715253c 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: I3cd400170a2e34b67ecc4f6eaf2ce43493ac0fe6
2021-05-13 17:33:08 +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 343b144c28 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: Id8c467b935c051d764e9e59566384f584052d8e7
2021-05-13 17:31:42 +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
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 a5157934ac 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: I33f69388717b44cb912e79fc4ae6d8a0bc3818c5
2021-05-12 23:57:07 +00:00
TreeHugger Robot 5f673247b3 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: I503f5235de13747d60dc4fc60c8dcfe626331ae2
2021-05-12 23:57:02 +00:00
Jonathan Miranda cb5139f20e 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: I72329605b46faa408cd5db21989497d26738044c
2021-05-12 23:56:46 +00:00
Hongwei Wang 5940169f0a 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: I955b0e9646e41486d318826b99fb79e7546af2e0
2021-05-12 23:55:22 +00:00
TreeHugger Robot 6ef485ef1e 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: I1e67459089c0d441f58e84af5180ba0cb50decf4
2021-05-12 23:55:18 +00: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
Jonathan Miranda c166d5d3b7 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: Id558563ffd427eede4877fe49480fc4a13b7a41b
2021-05-12 23:55:04 +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
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 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
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
Winson Chung 8dbba26e76 Add a content overlay for auto-enter w/o a source hint rect
Bug: 184703546
Test: Swipe up from app with auto-enter but no source hint rect

Signed-off-by: Winson Chung <winsonc@google.com>
Change-Id: Ib6f03dc6b11d37c44d732c75adabf45d1795fefc
2021-05-12 15:19:52 -07: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 c3a4d4d2d2 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: I95f841c77b807e62c68f946ce1752510899b0f76
2021-05-12 20:05:23 +00:00
Vadim Tryshev 8d52001611 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: I455afeec85cd66ebe3be086350d1bf5b0a6683cf
2021-05-12 20:04:51 +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
Tony Wickham d4f0f70e6c 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: If1abb4747083be9b69e0ca5ef76d14c1cf695252
2021-05-12 20:03:08 +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
Vadim Tryshev 0071b436f8 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: I326046d259b420d34506673db971effff987083b
2021-05-12 20:03:01 +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 6c8e8ef5a6 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: I61937995d5304c1175fdfec5f5c03bd64c77ac34
2021-05-12 18:08:45 +00:00
TreeHugger Robot c229b84d64 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: I8b8f2d15452d53463e78d02a262aa55695e933cb
2021-05-12 18:08:29 +00:00
Vinit Nayak c061142283 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: I2ac60a5b52ffb48fe5dfa02a84e624676882206e
2021-05-12 18:07:04 +00:00