Commit Graph

19452 Commits

Author SHA1 Message Date
Cyrus Boadway 1cf5527ae8 Keep transparent drawable for clipping outline during launch animation
During the widget-activity transition, the widget foreground loses its
clipping radius, if the clipping is determined by a drawable. We remove
the drawable through the animation.

For widgets where there is content being clipped by the background's
corener radius, this results in the widget window appearing square
through the entire animation, then snapping in rounded corners on
animation-complete.

To solve this, we leave a transparent clone of the drawable in the
original drawable's place, for the balance of the animation, providing
the outline for clipping.

Manual testing against 20 Google widgets showed no regression in
behaviour in other cases.

Bug: 193665108
Test: manual

Change-Id: I3db31e4634c8dd6b22a513a976386d396445ebc2
2021-07-14 19:21:16 +00:00
TreeHugger Robot e9b4712cfa Merge "Notify System UI about taskbar state" into sc-v2-dev am: 6224eaea29 am: d258acb0b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15162411

Change-Id: Ifc44c34ce18153e1f94270406e68a7a2dccfff09
2021-07-14 11:27:30 +00:00
TreeHugger Robot d258acb0b8 Merge "Notify System UI about taskbar state" into sc-v2-dev am: 6224eaea29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15162411

Change-Id: Ie894f5483ba5b35f204ca49af46df39adc88a347
2021-07-14 11:15:15 +00:00
TreeHugger Robot 6224eaea29 Merge "Notify System UI about taskbar state" into sc-v2-dev 2021-07-14 10:59:26 +00:00
Thales Lima 00f57e0c74 Merge "launcher: check if task still exists before leaving it in focus" into sc-v2-dev am: 03f0c67420 am: 9ddcedd49a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15273350

Change-Id: I2ca15b7f9b8c182fe4f2ed49960fe55b923c5ec0
2021-07-14 10:20:23 +00:00
Thales Lima 9ddcedd49a Merge "launcher: check if task still exists before leaving it in focus" into sc-v2-dev am: 03f0c67420
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15273350

Change-Id: Ida8a2d63d6570812555ad55155e9e6111dd06377
2021-07-14 10:09:54 +00:00
Thales Lima 03f0c67420 Merge "launcher: check if task still exists before leaving it in focus" into sc-v2-dev 2021-07-14 09:54:10 +00:00
Bill Yi 3d7e1ff8f0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0bd29843a664b6a0a4c106f0f7ac4a7505ef7602
2021-07-14 04:26:27 +00:00
Schneider Victor-tulias 49f0d07354 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev am: ae2e5d9231 am: 38a6d462a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15099479

Change-Id: I4278cc685f2a335b4842d0e26b883bcf9ac4396c
2021-07-13 23:58:10 +00:00
Schneider Victor-tulias 00adfcee2c Merge "Update Gesture navigation tutorial to match new specs" into sc-dev am: ae2e5d9231 am: c564a2487c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15099479

Change-Id: I5f52e76ad326b4027369af33c280b3fd80ec43e4
2021-07-13 23:57:50 +00:00
Schneider Victor-tulias 38a6d462a2 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev am: ae2e5d9231
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15099479

Change-Id: Icb5e7cdca02fab3c6c165ab3c612ee943d97d947
2021-07-13 23:41:14 +00:00
Schneider Victor-tulias c564a2487c Merge "Update Gesture navigation tutorial to match new specs" into sc-dev am: ae2e5d9231
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15099479

Change-Id: I58b6a988f34c8ac41cc9eed5575861dac66e6036
2021-07-13 23:40:33 +00:00
Schneider Victor-tulias 2a594ef1d7 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev am: ae2e5d9231
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15099479

Change-Id: I4a24b10e0535791030ca7d5d0a1b05fe6a2d2eb3
2021-07-13 23:40:22 +00:00
Schneider Victor-tulias ae2e5d9231 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev 2021-07-13 23:27:45 +00:00
TreeHugger Robot 35142c17fc Merge "Fix TaplTestQuickStep.testOverview for large screen cuttlefish" into sc-v2-dev am: a23590411f am: 4271b2f39e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15273390

Change-Id: I09e2e98e580e4816e3f3e754703fc159938be1b4
2021-07-13 21:05:27 +00:00
TreeHugger Robot 4271b2f39e Merge "Fix TaplTestQuickStep.testOverview for large screen cuttlefish" into sc-v2-dev am: a23590411f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15273390

Change-Id: Ib5725aa16038f74a9c74951c5add10a475bf5b68
2021-07-13 21:02:05 +00:00
TreeHugger Robot a23590411f Merge "Fix TaplTestQuickStep.testOverview for large screen cuttlefish" into sc-v2-dev 2021-07-13 20:45:55 +00:00
Hongwei Wang 854fbf8d23 Use display cutout info in auto-enter-pip transition
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bpKcGg1eoOo5Jz5U6IwBYK
Bug: 191310680
Test: manual, auto-enter-pip from landscape with source rect hint being
      turned on, see the video
Change-Id: Ic191fc73597132a5119522dda477a4319e35d1c8
Merged-In: Ic191fc73597132a5119522dda477a4319e35d1c8
2021-07-13 13:24:57 -07:00
Hongwei Wang 70d4e3e2df Use display cutout info in auto-enter-pip transition
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bpKcGg1eoOo5Jz5U6IwBYK
Bug: 191310680
Test: manual, auto-enter-pip from landscape with source rect hint being
      turned on, see the video
Change-Id: Ic191fc73597132a5119522dda477a4319e35d1c8
2021-07-13 13:22:42 -07:00
Galia Peycheva 22271a5e69 Merge "Adjust usages of cross-window blur to new radius" into sc-dev am: 15936190e3 am: 8982384ca6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259170

Change-Id: Iac2abdf5e242f0fa6882eca376f812cda731dc9f
2021-07-13 19:58:59 +00:00
Galia Peycheva 2b14d11a3e Merge "Adjust usages of cross-window blur to new radius" into sc-dev am: 15936190e3 am: 8017c9b236
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259170

Change-Id: I126b3516830708351f29177d7d2fb6eb8ec24904
2021-07-13 19:57:16 +00:00
Galia Peycheva 8982384ca6 Merge "Adjust usages of cross-window blur to new radius" into sc-dev am: 15936190e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259170

Change-Id: I7ebeae1dea11e8defc607c58ed3c5c44b564d111
2021-07-13 19:45:29 +00:00
Galia Peycheva 355e1fd8e1 Merge "Adjust usages of cross-window blur to new radius" into sc-dev am: 15936190e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259170

Change-Id: I2e640f9dee9e3729c3ee797cd67cb808b6159454
2021-07-13 19:44:56 +00:00
Galia Peycheva 8017c9b236 Merge "Adjust usages of cross-window blur to new radius" into sc-dev am: 15936190e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259170

Change-Id: Ib08c791648c03d0118dd916e8589ef2a70361aa5
2021-07-13 19:44:16 +00:00
Galia Peycheva 15936190e3 Merge "Adjust usages of cross-window blur to new radius" into sc-dev 2021-07-13 19:19:20 +00:00
Alex Chau 22a86d7c8c Fix TaplTestQuickStep.testOverview for large screen cuttlefish
- Use gesture (or button) to press home instead of UIDevice in the test, as UIDevice is sometimes failing to go home in cuttlefish

Bug: 193440212
Test: TaplTestQuickStep.testOverview
Change-Id: I834f1c93c24db24edbccd0bbf0ed5cfcf39a9b4d
2021-07-13 19:26:15 +01:00
Thales Lima 9c1024759f launcher: check if task still exists before leaving it in focus
Fixes 191353942
Test: manually; check buganizer on how to reproduce

Change-Id: Ia75ff59b5a9ef5654747d445df4088a5b17f6a42
2021-07-13 17:35:44 +01:00
Thales Lima 6d3b7bd83b Merge "launcher: use correct preference key on SettingsChangeLogger" into sc-v2-dev am: c7c1ea8ac8 am: 2221a326f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15267298

Change-Id: I4c8f15d641f5ec6d884273edccf4b2988f9e8485
2021-07-13 15:18:35 +00:00
Thales Lima 2221a326f0 Merge "launcher: use correct preference key on SettingsChangeLogger" into sc-v2-dev am: c7c1ea8ac8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15267298

Change-Id: Id3e54520e040b4b6d087e9dab93e3bd3d41ad6ba
2021-07-13 15:06:01 +00:00
Thales Lima c7c1ea8ac8 Merge "launcher: use correct preference key on SettingsChangeLogger" into sc-v2-dev 2021-07-13 14:57:14 +00:00
Thales Lima 1f06c5b457 launcher: use correct preference key on SettingsChangeLogger
The previous key was related to hotseat and not to the workspace size.

Fixes 184981523
Test: debugging and logcat logging

Change-Id: I445264ac0c4fb9ab99e31f96b7257271b730e2da
2021-07-13 13:46:20 +01:00
TreeHugger Robot 2c8bd46efb Merge "Remove debug logs for b/193125090" into sc-v2-dev am: e23dd92a55 am: 3a00b0463e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259644

Change-Id: I5cf6b718a97300b7f953aca98751bfc7e9b46746
2021-07-13 10:34:40 +00:00
TreeHugger Robot 3a00b0463e Merge "Remove debug logs for b/193125090" into sc-v2-dev am: e23dd92a55
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259644

Change-Id: I63c4d06bf5e092f53df5a5ec27a292d141dd6ec6
2021-07-13 10:21:46 +00:00
Alex Chau 4e3460b866 Remove debug logs for b/193125090
Bug: 193125090
Test: manual
Change-Id: I7758347d7b775e8d8b0926e8f0d8723c7af2c942
2021-07-12 18:48:34 +01:00
Alex Chau 8be6c7106c Don't create gap between last task and clear all button
- If a task is too close to ClearAllButton when being snapped to, change the snap position to barely not seeing ClearAllButton
- When snapping to the above tasks from quick switch, apply a horizontal grid translation to smoothly snap into  position
- Apply the above grid translation to TaskViewSimulator as well

Bug: 192254835
Test: manual
Change-Id: I32d562a1726f7c8b41ac10c7deece890df7e1304
2021-07-12 16:31:52 +01:00
Alex Chau add05ea682 Merge "Refresh Task overlay when thumbnail is refreshed" into sc-v2-dev am: cd777a3f45 am: 85fa3c94e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259171

Change-Id: Iac5ef239aa06f5997579a4252c7699478517c545
2021-07-12 14:59:31 +00:00
Alex Chau 85fa3c94e7 Merge "Refresh Task overlay when thumbnail is refreshed" into sc-v2-dev am: cd777a3f45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259171

Change-Id: Ie56ab18f1022ede8846789db53597b9e7c9b691f
2021-07-12 14:50:21 +00:00
Alex Chau 4818bc42cd Refresh Task overlay when thumbnail is refreshed
- TaplTestQuickStep.testOverviewActions is failing on cuttlefish large screens due to overview actions being disabled by NO_THUMBNAIL, which should be caused by thumbnail being loaded after overlay is enabled, a overlay refresh after thumbnails is loaded should fix the problem

Bug: 193125090
Test: manual
Change-Id: I3fa8093012c3d22adac49e5e0716576706a85dfa
2021-07-12 12:29:53 +01:00
Galia Peycheva 75bff774fc Adjust usages of cross-window blur to new radius
Bug: 192241610
Test: m
Change-Id: Ibe9c25192f80c8bc19e8e79e39c7f3c3615e4f4d
2021-07-12 13:27:41 +02:00
Bill Yi b9f722ab3a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2fb3bddefcaddc6878aa1fd21fd084a1751a5a7e
2021-07-11 20:42:18 +00:00
Bill Yi 245ff83c1a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2dfcca21fa6e48a58f9368ab156718ce2a897f1c
2021-07-11 20:39:16 +00:00
Alex Chau ed16e41c51 Merge "Refine logs for debugging TaplTestQuickStep.testOverviewActions on cf_foldables" into sc-v2-dev am: f4b2b2d304 am: a388452fe9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15243930

Change-Id: I094b191f4e548a1ffa6ac1c0202579062ee7f639
2021-07-10 11:00:16 +00:00
Alex Chau a388452fe9 Merge "Refine logs for debugging TaplTestQuickStep.testOverviewActions on cf_foldables" into sc-v2-dev am: f4b2b2d304
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15243930

Change-Id: I240308ec067ddda722d6b3bb29b9d94acc3d3ece
2021-07-10 10:45:21 +00:00
Bill Yi 87b7808321 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I361ad941be6cee10767bd2f6a5e16e470269de85
2021-07-10 00:38:13 +00:00
Schneider Victor-tulias bfe33b057a Update Gesture navigation tutorial to match new specs
- Updated strings
- Updated removed 'next' button when there are followign steps
- Added timeout to automatically continue the tutorial
- Combined back left and right into one step

Bug: 192009114
Bug: 177005427
Test: manual
Change-Id: I58b9017c4d69b5d097326c7d5be156a63951fb1a
2021-07-09 19:38:16 +00:00
Alex Chau 1e767a6ecc Refine logs for debugging TaplTestQuickStep.testOverviewActions on cf_foldables
- The failure is not reproducible locally, thus requires adding logs and check ATP result
- Removed some redundant logs
- Changed to log at VERBOSE
- Added extensive logging to all visibility/enable/alpha setter of ActionsView

Bug: 193125090
Test: Manual
Change-Id: I5b449a7f86ea4cef65e0e46de4b389deef9f53f3
2021-07-09 13:32:49 +01:00
Vinit Nayak 0efe328995 Merge "Re-try binding to TouchInteractionService if service is killed" into sc-v2-dev am: 80aa4dbec0 am: 69fd801273
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15225084

Change-Id: I91b1a6c0705fb74629b096603fffa86130175cd7
2021-07-08 22:28:24 +00:00
Evan Rosky 244efa9e72 Merge "Include shell+stage-split in legacy recents animations" into sc-v2-dev am: 340471f9e6 am: 881c361667
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15193283

Change-Id: I480e05f259da5c4ee81ab24c0a7daccbdb1460bd
2021-07-08 22:22:45 +00:00
Vinit Nayak 69fd801273 Merge "Re-try binding to TouchInteractionService if service is killed" into sc-v2-dev am: 80aa4dbec0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15225084

Change-Id: I8facbd7c447e5103258137034ec68ce7f812719b
2021-07-08 22:20:16 +00:00
Evan Rosky 881c361667 Merge "Include shell+stage-split in legacy recents animations" into sc-v2-dev am: 340471f9e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15193283

Change-Id: I4bca1396b22fb8abc3eb623998e80b6d90e53342
2021-07-08 22:15:33 +00:00