Commit Graph

32119 Commits

Author SHA1 Message Date
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
Sunny Goyal a75f576890 Exposing AnimatorListeners in StateManager to receive both success and failure callback
Updating various callers to use onSuccess or onEnd appropriately

Test: Manual
Bug: 185554764
Change-Id: I357dd1fdbe111e7a30d4c8dee520fbd7d9956b7d
2021-05-11 13:53:14 -07:00
Tracy Zhou 5465527e16 Merge "Check if mRecentsAnimationController is null before switching to screenshot" into sc-dev 2021-05-11 20:44:17 +00:00
Winson Chung 8542541b2b End scroller if it has already reached the final position
- The system overscroller seems to take a long time to settle even
  after the final position has been reached, so if that has already
  happened and there is no edge effect, then just end the scroller.
- Remove unused code related to SmoothPageView

Bug: 184983443
Test: Quickswitch and ensure we finish the recents animation after it settles
Change-Id: I9fa72ddd6b6e0d38b6f622c776a2ac5f5b055760
2021-05-11 12:59:14 -07:00
Winson Chung ff67905f89 Revert "Invalidate when switching to new consumer"
This reverts commit 4df3b23225
and Id0a6a1c5301c66a515cefcab58b77495081c6190, as we have another
change to try and address the original issue.

Bug: 185909226
Change-Id: Ic2c08833e066090a43b989f2f470de298174e84d
2021-05-11 19:51:52 +00:00
TreeHugger Robot a7cc2cbdb5 Merge "Enable smartspace card dismissals" into sc-dev 2021-05-11 19:39:28 +00:00
TreeHugger Robot b1754bfc06 Merge "Update workspace text shadow according to new specs." into sc-dev 2021-05-11 15:59:57 +00:00
Shan Huang 4cbe517801 Update workspace text shadow according to new specs.
Test: Manual
Bug: 185890335, 187796297

Change-Id: Iba455544cdba86ddab7f1cfcc6c30c074e55ab84
2021-05-11 22:35:27 +08:00
TreeHugger Robot 95ff5cf63e Merge "Handle config changes in Launcher" into sc-dev 2021-05-11 10:58:48 +00:00
András Klöczl 45e72a1ed3 Merge "Fix launcher navigation issue when using a controller" into sc-dev 2021-05-11 10:01:43 +00:00
Andras Kloczl 359d1aedae Fix launcher navigation issue when using a controller
When navigating in Launcher home using a controller,
the mCurrentPage variable isn't updated properly which
results in out of order navigation.

Test: manual
Before: http://shortn/_c8A8mKiplN
After: http://shortn/_ctxIaweqZY
Bug: 187205980
Change-Id: I9ff4019b608e999749c4d0835cc3ceb35be93a3f
2021-05-11 09:52:24 +02:00
TreeHugger Robot 6328f34f32 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-11 05:36:51 +00:00
TreeHugger Robot b117c44b91 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-11 05:30:58 +00:00
TreeHugger Robot 09fac32a00 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-11 05:25:46 +00:00
Winson Chung d193f65878 Merge "Use testapi to trigger gc in system and sysui" into sc-dev 2021-05-11 05:02:37 +00:00
Bill Yi e2000a24af Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I29a8c938b4d0b96cbb04bdd1623381018c02e3ee
2021-05-11 04:20:00 +00:00
Bill Yi c28b75b8eb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I384f2a0b04475aed1587f685e6046b14ffaa9240
2021-05-11 04:19:24 +00:00
Bill Yi 108367c948 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie96b140705ddb74ae0fdfe16dec8fc123dd73997
2021-05-11 04:18:58 +00:00
Hongwei Wang e74e32ab4c Merge "Get PiP round corner radius from WMShell" into sc-dev 2021-05-11 03:23:12 +00:00
TreeHugger Robot b32fd46c8d Merge "Removing Launcher dependency from Folders" into sc-dev 2021-05-11 03:01:11 +00:00
TreeHugger Robot 050f1c24dd Merge "Use same interpolator for fullscreen scale and translation" into sc-dev 2021-05-11 02:54:28 +00:00
TreeHugger Robot f2247f199f Merge "Add method to check if popup supports color extraction." into sc-dev 2021-05-11 01:55:45 +00:00
Jon Spivack 6a7094d43a Rework NIU Actions buttons UI
The shapes, colors, icons, and layout of the NIU Actions buttons have been updated to match the latest UI specs. The icons also no longer overlap with the layout above them, which solves a picking issue.

Bug: 186004471
Bug: 187460625
Test: Manual (tried on Wembley and Pixel 3A)
Change-Id: Ie7a0ca0c21805fc0f126053ec791fd2460710d33
2021-05-10 18:22:52 -07:00
TreeHugger Robot cd7406d903 Merge "Diagnosing only system health problems happened during the test" into sc-dev 2021-05-11 00:31:33 +00:00
vadimt eefc2e1de1 Diagnosing only system health problems happened during the test
Test: presubmit
Bug: 187761685
Change-Id: I3feba12e2228fe6dda3b0d65d904b0b839da2108
2021-05-11 00:31:24 +00:00
TreeHugger Robot c790dab946 Merge "Set swipe_up_rect_xy_stiffness back to 200 for existing app close anim." into sc-dev 2021-05-11 00:29:04 +00:00
TreeHugger Robot 2fd0be4b15 Merge "Focus on newly-added workspace items for accessibility." into sc-dev 2021-05-10 23:40:41 +00:00
TreeHugger Robot db58e41241 Merge "Avoid rebind if data didn't change" into sc-dev 2021-05-10 22:45:38 +00:00
TreeHugger Robot 6ee0782167 Merge "Make foreground scrim darker on Recents View." into sc-dev 2021-05-10 22:12:07 +00:00
Tracy Zhou afb2cb2cc8 Merge "Finish the recents animation when the phone goes to sleep" into sc-dev 2021-05-10 22:11:36 +00:00
Sunny Goyal 0fd2bf260b Merge "Ignoring invalid deep shortcuts during load" into sc-dev 2021-05-10 21:56:45 +00:00
Sunny Goyal 5996937798 Removing Launcher dependency from Folders
This allows opening/closing folders without a Launcher context

Bug: 187353581
Test: Manual
Change-Id: Id73a40445a23004eb554f0422d286aa0ff6b3c41
2021-05-10 14:01:43 -07:00
Tracy Zhou 09aa748b7d Check if mRecentsAnimationController is null before switching to screenshot
Fixes: 187738762
Test: N/A
Change-Id: I3e24a6136a4ed6ff0b0ab810310aaf9dd9dbbb7b
2021-05-10 13:40:04 -07:00
Schneider Victor-tulias 68706ebe5a Focus on newly-added workspace items for accessibility.
Fixes: 177972980
Test: manual
Change-Id: Ic31a940aba7bd08eb9d4236d9c963006a18c9f4d
2021-05-10 20:39:22 +00:00
Winson Chung 7bce233fb4 Merge "Removing some unused logs" into sc-dev 2021-05-10 20:15:43 +00:00
Schneider Victor-tulias 05d883452f Enable smartspace card dismissals
Test: none
Bug: 184179894
Change-Id: I2529dc1ef8574f2eb6cec8d6b9de47bdf20a7ed2
2021-05-10 13:15:10 -07:00
Winson Chung b09a41d86c Use testapi to trigger gc in system and sysui
- Do this prior to gc'ing launcher to ensure that temporary binder
  refs on the system side a released

Bug: 186268407
Test: Presubmit

Change-Id: I7878e1042b07ded5491af6153cff9b0772c557db
2021-05-10 13:00:37 -07:00
Alex Chau a02eddc144 Handle config changes in Launcher
- This is practically a revert to http://ag/c/13687966/5 and refactored to use DisplayController.DisplayInfoChangeListener
- Make Launcher handle size and density change so transition is less janky when screen size changes
- Added fix in RecentsView to update state and TaskView when display profile changes
- Removed 720dp specific resoureces
- Removed unused widget_section_indent
- Removed unnecessary all_apps_background_canvas 600dp override that is not needed in AllApps+
- Moved remaining dp specific into DeviceProfile
- Simplified allowRotation logic to use single variable in DeviceProfile to determine if allow rotation is enabled by default

Fixes: 180803696
Test: manual
Change-Id: Iea0a7d1a0e14dc3613152dd3b3887450a2e1fc2f
2021-05-10 18:50:02 +01:00
Cyrus Boadway 5501636c72 Merge "Enable Quickstep widget launch and return animations" into sc-dev 2021-05-10 17:48:55 +00:00
Tracy Zhou f20a4bd9a9 Finish the recents animation when the phone goes to sleep
Fixes: 169988381
Test: manual
Change-Id: I62527ef46009a1417e67637c512b3a2fc005bcd6
2021-05-10 10:20:43 -07:00
Alex Chau a7066cb6ff Use same interpolator for fullscreen scale and translation
Fixes: 187690450
Test: Swipe up from quick switch, tasks should not overlap
Change-Id: Ib2596d982974b7a1a9acbb02026e8d920e7fea25
2021-05-10 15:49:29 +01:00
TreeHugger Robot dccd36ba9b Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-09 20:42:37 +00:00
TreeHugger Robot 731b4a4b71 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-09 20:31:21 +00:00
TreeHugger Robot f0a32f13b7 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-09 20:29:17 +00:00
Bill Yi 8fa997f2b0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0c77f5561818d4516e821e7f11d01178e8272df1
2021-05-09 10:50:52 -07:00
Bill Yi 14980fe0dd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I67cae1b3cc2fd0e16750dd31f762b9d480792595
2021-05-09 10:50:07 -07:00
Bill Yi 1ac7b83521 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7dd72869281cae2bb6d5c40899856fec566a7670
2021-05-09 10:49:37 -07:00