Commit Graph

5836 Commits

Author SHA1 Message Date
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 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 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 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 c665322894 Merge "Handle config changes in Launcher" into sc-dev am: 95ff5cf63e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14234761

Change-Id: I8121c7f5aa33712d6b6b20de3806a5f24df8b233
2021-05-11 11:20:05 +00:00
TreeHugger Robot 95ff5cf63e Merge "Handle config changes in Launcher" into sc-dev 2021-05-11 10:58:48 +00:00
TreeHugger Robot 09fac32a00 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-11 05:25:46 +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 2ab5979c29 Merge "Get PiP round corner radius from WMShell" into sc-dev am: e74e32ab4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14343433

Change-Id: I5fd9405d0140f9130ea6915859a98bd67bacd45c
2021-05-11 03:40:43 +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 7f9674dac2 Merge "Removing Launcher dependency from Folders" into sc-dev am: b32fd46c8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14456057

Change-Id: I5b7320248c68528d9e6810626e7d019e8fa91141
2021-05-11 03:15:32 +00:00
TreeHugger Robot f7a812d422 Merge "Use same interpolator for fullscreen scale and translation" into sc-dev am: 050f1c24dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14487778

Change-Id: Ie739493f8dcad0a99328d61e1e5d5cb9e77ce3dc
2021-05-11 03:15:16 +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 9af08a9ac3 Merge "Diagnosing only system health problems happened during the test" into sc-dev am: cd7406d903
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14471702

Change-Id: Ifd662762b2e41efd98ac54cd95c36682c3fffa8d
2021-05-11 00:53:29 +00: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 58df338213 Merge "Make foreground scrim darker on Recents View." into sc-dev am: 6ee0782167
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14471361

Change-Id: Ic9bf7b24ec79c9120d72dfa68a7a531855c887b0
2021-05-10 22:21:31 +00:00
Tracy Zhou 5035ec0a59 Merge "Finish the recents animation when the phone goes to sleep" into sc-dev am: afb2cb2cc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14245224

Change-Id: Ib284348073ef695c7fe1b7a1d50e8d38f8667fa7
2021-05-10 22:21:19 +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 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
Winson Chung 3374da901e Merge "Removing some unused logs" into sc-dev am: 7bce233fb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14471873

Change-Id: If4ca6b7bddfe8d735104dbab07fae64f0b53f46a
2021-05-10 20:34:14 +00:00
Winson Chung 7bce233fb4 Merge "Removing some unused logs" into sc-dev 2021-05-10 20:15:43 +00: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
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
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
Winson Chung 35226124e3 Removing some unused logs
Fixes: 185820525
Fixes: 177316094
Fixes: 158017601
Fixes: 180915942
Change-Id: I8ce5bde08e1728d3209762c5f061245386408825
2021-05-07 20:52:33 -07:00
zakcohen 85961fa44b Make foreground scrim darker on Recents View.
Make the foreground scrim darker, not just scrimming to the target color.
Waiting for real token for the scrim color.
Moves the COLOR_TINT property from TaskView to RecentsView to make
coordinating the animation simpler.

Bug: 187320416
Test: Local
Change-Id: I300f98f78e33476ee604d4dd61b485326356eb5b
2021-05-07 14:19:30 -07:00
TreeHugger Robot 2f1d8ed522 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-07 16:12:22 +00:00
Bill Yi 31d41e4ead Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3b40206f9edbf432abf3a2555c1c9cf18ff1885c
2021-05-07 14:43:12 +00:00
TreeHugger Robot fcfb579d4e Merge "Remove widget launch CUJ from jank monitoring" into sc-dev am: 7f6691bef5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14467302

Change-Id: Iefbca4c177bb15b335e5d0fa0c607ed1603beb34
2021-05-07 11:11:28 +00:00
TreeHugger Robot 7f6691bef5 Merge "Remove widget launch CUJ from jank monitoring" into sc-dev 2021-05-07 10:52:53 +00:00
Cyrus Boadway 1c5ddff010 Remove widget launch CUJ from jank monitoring
The widget launch animation should not be measured with the icon launch
animations. No widget launch CUJ yet exists, so no jank monitoring
should be applied to widget app launches.

Bug: 169042867
Test: manual
Change-Id: I2a525c42cca8dd17c4a96bde7f11b14cfe87cabc
2021-05-07 09:38:40 +00:00
TreeHugger Robot ad1206a252 Merge "Make focus task a bit bigger" into sc-dev am: 1eba68385a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14453617

Change-Id: I366bbc584345737eeebd45c65fa1d5a95ac61331
2021-05-07 06:15:41 +00:00
TreeHugger Robot 1eba68385a Merge "Make focus task a bit bigger" into sc-dev 2021-05-07 05:53:52 +00:00
Tracy Zhou 68d7cad863 Merge "Null check RecentsView before calling launchSideTaskInLiveTileMode" into sc-dev am: 8d8a655bbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14457135

Change-Id: I93609650fa70935edd177dd8cfb697aee84b3612
2021-05-07 04:12:12 +00:00
Tracy Zhou 8d8a655bbb Merge "Null check RecentsView before calling launchSideTaskInLiveTileMode" into sc-dev 2021-05-07 03:49:52 +00:00
Hongwei Wang baedbeb438 Merge "Support entering PiP from live tile" into sc-dev am: ea34ef9f5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14455858

Change-Id: I79e104de6a81f7fa6ede067a6a6a34f86e31ac04
2021-05-07 01:03:32 +00:00
Hongwei Wang ea34ef9f5f Merge "Support entering PiP from live tile" into sc-dev 2021-05-07 00:57:46 +00:00
Winson Chung 1e018374a0 Merge "Handle volume key events while in overview" into sc-dev am: 45849e22c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14456869

Change-Id: I700a6742cd4d9a2a43e4ff7c897a921d9c5fd484
2021-05-07 00:54:11 +00:00
Winson Chung 45849e22c9 Merge "Handle volume key events while in overview" into sc-dev 2021-05-07 00:36:48 +00:00
Winson Chung 5da72b5be8 Handle volume key events while in overview
- Normally this gets dispatched to an app's phone window to notify
  the media session manager, but because the recents input consumer
  routes to the launcher window bypassing phone window, the event
  never gets processed.

Fixes: 185520916
Test: Open overview from an app, ensure volume dialog still shows
Change-Id: I8784a6211e56f320b8b9d688fa0568c583652725
2021-05-07 00:36:34 +00:00
TreeHugger Robot 6b5c7da9d5 Merge "Explicitly set mAllowGoingDown = false when only up is allowed" into sc-dev am: 2b93dbb0b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14444776

Change-Id: I068e414ea83d67f2672a04f5ca2a8441c6cb0840
2021-05-06 23:49:53 +00:00