Commit Graph

32174 Commits

Author SHA1 Message Date
Bill Yi 6b2be3789c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia6bc84a966d24fa30a9a5d812c76bd18066acf31
2021-05-13 07:39:28 +00:00
TreeHugger Robot 91c27f28c6 Merge "Specify REQUEST_RECONFIGURE_APPWIDGET when dropping on Setup target" into sc-dev 2021-05-13 01:00:22 +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
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
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
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 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 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 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 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 d95aa5a5d7 Merge "Remove color extraction from popup arrow, add shadows." into sc-dev 2021-05-12 15:47:43 +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 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 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 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
Jon Spivack 9e0189bac6 Default screen context permissions for NIU Actions
This updates the checks for ASSIST_STRUCTURE_ENABLED and ASSIST_SCREENSHOT_ENABLED to return 1 if the settings do not exist. This matches the logic in the Settings app iself, which has the toggle boxes on by default but does not actually initialize those values until they are toggled for the first time.

Bug: 187868947
Test: Manual (tested on Pixel 3A)
Change-Id: I4ef067dcf21b40eea71199e057d7a00d1d8fb2b3
2021-05-11 19:02:58 -07:00
Jonathan Miranda d75f89c6c0 Merge "Fix contrast issue with folder background and text colors." into sc-dev 2021-05-12 01:49:26 +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
Jon Miranda 35c5477d5c Remove color extraction from popup arrow, add shadows.
Bug: 175329686
Bug: 187014675
Test: manual

Change-Id: I84a3f23b7a9ceef004a2b1b66e5f8a10585bd113
2021-05-11 17:35:01 -07:00
TreeHugger Robot 3e0c115196 Merge "Use SP for folder text size." into sc-dev 2021-05-12 00:30:36 +00:00
Jon Miranda 7bbd03160f Fix contrast issue with folder background and text colors.
Bug: 187797251
Test: dark wallpaper, light wallpaper, toggle dark theme on both
Change-Id: I57ddfc91878d68735d5ae5ec5ab78222fda101ca
2021-05-11 17:01:53 -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
Shan Huang 9d16d7f192 Merge "Update smartspace and workspace text color always use black or white." into sc-dev 2021-05-11 23:38:29 +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
Jon Miranda af3aed0c4a Use SP for folder text size.
Bug: 156141463
Test: change font size, verify folder text size changes
Change-Id: I7e479d76c9f16c5b42cabfbae63494ef98b6dc27
2021-05-11 16:14:09 -07:00
Hyunyoung Song 1553f4dfae Merge "Revert "Don't crash on dialer app target search results"" into sc-dev 2021-05-11 23:13:13 +00:00
TreeHugger Robot d30f4ce528 Merge "hide keyboard onStop and onNewIntent" into sc-dev 2021-05-11 23:08:53 +00:00
Jon Spivack 4ff2f7697c Merge "Rework NIU Actions buttons UI" into sc-dev 2021-05-11 22:29:12 +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 76e27f6d5d Merge "End scroller if it has already reached the final position" into sc-dev 2021-05-11 21:52:45 +00:00
Winson Chung 3956b3ea84 Merge "Revert "Invalidate when switching to new consumer"" into sc-dev 2021-05-11 21:21:18 +00:00