Commit Graph

20478 Commits

Author SHA1 Message Date
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 3fcd3032f1 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: Idd95a3c178a8393ffc7340cc15d7f32e2bc40cd7
2021-05-12 18:06:44 +00: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
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 74053a038d 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: I21c7a12ca01004f1069e1f6880298cd1aef65302
2021-05-12 15:33:04 +00:00
Cyrus Boadway 6411c8db73 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: I74802b417047f33bcbbe6a0c90245e3553ec9fc4
2021-05-12 15:25:03 +00: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 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 db7e4ed81c 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: I29916031a4dfa98ec580ff39f14c754d7ce2f48e
2021-05-12 10:03:53 +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 626bd698e9 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: Icbc36a86ce49afc2ec806cdbdfb23895f2ab21cc
2021-05-12 10:02:01 +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 3883634727 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: I974eb8fd321e67bc77e9b4af24e128e9d864e09e
2021-05-12 03:35:03 +00:00
Evan Rosky 07985c400b 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: I30fdc7859fc776268c3c2e0e2cbad0567fb6a64d
2021-05-12 03:34:29 +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
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 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
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 5bc9abd9b8 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: I2a4a98e01fe7d58869764110a922c533d52a0b8b
2021-05-12 03:25:29 +00:00
Evan Rosky 4b8025f5c4 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: Ic57237eadcfdc575812a49875c1b9f9fffa0b233
2021-05-12 03:25:19 +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 38588dc23a Finish the recents animation upon home rotation
Fixes: 184054813
Test: manual
Change-Id: I32eba85563b83ee9738696c526a1546008cd3a5d
2021-05-11 16:52:48 -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 d898a9b5cb 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: Ie8b5cc2d29a9ee457fd39f7b91e349b4c63096c1
2021-05-11 23:28:12 +00:00
Tracy Zhou 68f771f963 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: I14b527f01c15b0f953e8a4762dcefbb49f50a69b
2021-05-11 23:27:30 +00: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 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 155b052992 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: I1f5ba25a9613c39bf90a8e8cd1beca78bdd31fad
2021-05-11 22:41:34 +00:00
TreeHugger Robot a2a86cbae9 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: I4d44f7a08097973ba908fa6e5395376de149ce3c
2021-05-11 22:40:45 +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 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 2dc7a36f55 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: I3e09dce402c1cda7e0c161c2a37bde79a1fb5b36
2021-05-11 21:46:43 +00:00
Tracy Zhou 7c4ad155fc 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: Iccad48444c834c26f9687f79795267b8d4d28ed3
2021-05-11 21:46:37 +00:00
Winson Chung 26cb4ef4b2 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: I60982c37b0c487ac6cefe8e99f9e2566db057f87
2021-05-11 21:44:58 +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 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