Commit Graph

32519 Commits

Author SHA1 Message Date
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
Tony Wickham 62dbe9827a Specify REQUEST_RECONFIGURE_APPWIDGET when dropping on Setup target
Test: Add a configurable widget to the home screen, drag it to the
Setup drop target, and swipe up to home from the setup page
Fixes: 187839837

Change-Id: I0912317248a33764d4f2a49db73b8fba44dfeca1
2021-05-12 16:19:58 -07: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
Samuel Fufa b864da5135 Merge "[WorkProfile] Fix Work profile switch synchronization" into sc-dev am: 890240f470
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14520712

Change-Id: Ic51f6d4a62f1cc8cd9c8dda20272fb11f5e4e6f4
2021-05-12 21:25:45 +00: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
Samuel Fufa 890240f470 Merge "[WorkProfile] Fix Work profile switch synchronization" into sc-dev 2021-05-12 21:12:31 +00:00
Samuel Fufa 9e4a9bc777 [WorkProfile] Fix Work profile switch synchronization
Bug: 185566696
Bug: 185557440
Test: Manual
Change-Id: Ie9c94c6daee233d299aa63dc5bcb258a37c321e4
2021-05-12 20:40:20 +00:00
TreeHugger Robot 81d2f7fe0e Merge "Fix widget drop animation" into sc-dev am: 2d0715f45c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14518617

Change-Id: Id5e360ac67833e9a2708a533674603c5b650242e
2021-05-12 20:02:53 +00:00
TreeHugger Robot 51c55e327c Merge "Improving TAPL error messages" into sc-dev am: 39228d0325
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14470642

Change-Id: I2289c7f21b687f8d6ba81840c9ac9f49f02d767c
2021-05-12 20:02:49 +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
TreeHugger Robot 2d0715f45c Merge "Fix widget drop animation" into sc-dev 2021-05-12 19:46:13 +00:00
TreeHugger Robot 39228d0325 Merge "Improving TAPL error messages" into sc-dev 2021-05-12 19:10:34 +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
Hyunyoung Song 000596fbd4 Merge "Implement overshoot and squish motion in all apps open" into sc-dev am: afd470fc69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14492394

Change-Id: Ifec9ee986d478df6dae9de67ec00135b967575c9
2021-05-12 18:06:34 +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
Hyunyoung Song afd470fc69 Merge "Implement overshoot and squish motion in all apps open" into sc-dev 2021-05-12 17:51:31 +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
Alina Zaidi d9d40066cf Merge "Prevent cropping of personal/work tabs in full screen widget picker." into sc-dev am: 3237236f26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14503978

Change-Id: I9c01293e94f0aefe2a6bd1ef572d2d3fd9bad30f
2021-05-12 17:22:34 +00:00
Rajeev Kumar 4afd13866c Merge "Default screen context permissions for NIU Actions" into sc-dev am: c31a3da25c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14510900

Change-Id: I0a553048732d62689c48abdb79f9588133bc8c0f
2021-05-12 17:21:06 +00:00
Alina Zaidi 3237236f26 Merge "Prevent cropping of personal/work tabs in full screen widget picker." into sc-dev 2021-05-12 17:13:50 +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
Rajeev Kumar c31a3da25c Merge "Default screen context permissions for NIU Actions" into sc-dev 2021-05-12 17:02:21 +00:00
Sunny Goyal 80b25cfd5d Fix widget drop animation
When removing content from the dragView, replace it with a snapshot
so that the preview remains the same

Test: Drag a widget and observe the drop animation is shown.
Bug: 187423667
Change-Id: I1e726f50a2b3d0a5f1562297cccf47a435affd02
2021-05-12 09:58:05 -07:00
Hyunyoung Song e70c2108a7 Merge "Fix white text on light accent color issue for all apps and widgets drawer" into sc-dev am: 15df06d05e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14513826

Change-Id: I7c4c1679d15c187e0196984b356f316b6619148b
2021-05-12 16:56:46 +00:00
Hyunyoung Song 15df06d05e Merge "Fix white text on light accent color issue for all apps and widgets drawer" into sc-dev 2021-05-12 16:42:09 +00:00
Jonathan Miranda b3836071d1 Merge "Remove color extraction from popup arrow, add shadows." into sc-dev am: d95aa5a5d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14471367

Change-Id: Ic0c8bb64af3d7629e498ab272bdfadbce8921d20
2021-05-12 16:05:12 +00:00
Jonathan Miranda d95aa5a5d7 Merge "Remove color extraction from popup arrow, add shadows." into sc-dev 2021-05-12 15:47:43 +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
TreeHugger Robot f1e1a1848c Merge "Update colors in pin widget dialog, to be similar to widget bottom sheet." into sc-dev am: 01d1cb9273
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14491688

Change-Id: I773bbd9a98c61a118888561adc40a5f7d5d56056
2021-05-12 15:17:10 +00:00
TreeHugger Robot 01d1cb9273 Merge "Update colors in pin widget dialog, to be similar to widget bottom sheet." into sc-dev 2021-05-12 14:56:14 +00:00
Alina Zaidi 071665c89b Prevent cropping of personal/work tabs in full screen widget picker.
Bug: 187632869
Test: Tested manually
Change-Id: I39a43ed1efae5802ffdd5d79ad3cb1a50af38d62
2021-05-12 14:57:42 +01: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
Hyunyoung Song 3af62c1e25 Fix white text on light accent color issue for all apps and widgets drawer
Bug: 187857897
Bug: 185211063

Test: manual, see screenshot on the bug
Change-Id: Ie7461ce4724c15dafda35a5c533d9539a34d68ab
2021-05-12 00:42:11 -07: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
Jonathan Miranda a5ae0dd666 Merge "Fix contrast issue with folder background and text colors." into sc-dev am: d75f89c6c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14506765

Change-Id: Ib3308f65fc52a0c248cf0d9eb0b21c18cb7df359
2021-05-12 03:33:02 +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