Commit Graph

6342 Commits

Author SHA1 Message Date
Alex Chau 0841e93a34 Merge "Don't allow stashing in tests for now" into sc-v2-dev 2021-07-19 12:15:43 +00:00
Bill Yi 0b755e15ce Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9c41d2289e29a43beeac27ba236080ef5b8a7083
2021-07-18 04:17:18 +00:00
Tony Wickham 9c84d7f3c3 Don't allow stashing in tests for now
Test: TaplTestsQuickstep#testOverviewActions (arbirarily)
Bug: 193521974
Change-Id: Ic2c5c5f9f37ed3f035ec932b4c96fb51598cf899
2021-07-16 12:27:40 -10:00
TreeHugger Robot 1791a86378 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-16 14:55:11 +00:00
Thales Lima 2e15dde6b7 Merge "launcher: enable swipe down to open focused app" into sc-v2-dev 2021-07-16 13:23:32 +00:00
TreeHugger Robot c0fe7b1cc4 Merge "Revert "Move focused task to front when attaching RecentsView"" into sc-v2-dev 2021-07-16 12:54:51 +00:00
Alex Chau a6451fc640 Revert "Move focused task to front when attaching RecentsView"
This reverts commit 86ac825061.

Reason for revert: Causes crash in fallback recents

Bug: 192471181
Change-Id: I41d2b5c87259568f21e6417be3a6dea5dd1a0864
2021-07-16 12:54:34 +00:00
Thales Lima fb5ba04c6a launcher: enable swipe down to open focused app
Fixes 192437421
Test: manual testing

Change-Id: Ife8e53cf4d7542525736e7b93ac92f9a2ddcd068
2021-07-16 10:55:38 +00:00
Bill Yi 081208c566 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8342bc6735cdec0f5ff4cabd8a48974e3455aae3
2021-07-16 02:52:31 +00:00
TreeHugger Robot 935ca32b3c Merge "Fixing regression from animation not starting while in overview" into sc-dev am: f054bf5681
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305446

Change-Id: I4c4162c0734b9a3feaaf25eadca47f11e1887b8a
2021-07-16 02:04:42 +00:00
Cyrus Boadway d7573be527 Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080

Change-Id: I065ddc6049008b0a2db9767ab4d1e49e1537efac
2021-07-16 02:04:30 +00:00
TreeHugger Robot f054bf5681 Merge "Fixing regression from animation not starting while in overview" into sc-dev 2021-07-16 01:27:02 +00:00
TreeHugger Robot 4aac62110e Merge "Removing support for change listeners from feature flags" into sc-v2-dev 2021-07-16 01:20:32 +00:00
Winson Chung 558b18eb12 Fixing regression from animation not starting while in overview
Bug: 193830420
Test: Open an app in overview, tap on a notification
Change-Id: Ifd9797dc40d9fffbf9603bca98fcb4a4119e0444
2021-07-15 16:17:51 -07:00
Sunny Goyal 8cbefe2086 Removing support for change listeners from feature flags
FeatureFlags are supposed to work as static values and change
listeners can cause leaks if not handled properly at every place.

Bug: 193825269
Test: Manual
Change-Id: I54f9113bc01025da781a420154829d80ffa6a084
2021-07-15 15:07:04 -07:00
Sunny Goyal 711c596c86 Binding Taskbar directly from Launcher model
This allows taskbar to be loaded even in case of 3P Launchers
and removes dependency on LauncherActivity lifecycle

Bug: 187353581
Bug: 188788621
Test: Manual
Change-Id: I5a0988e0697b41677d4c58f0213aef14ec0c0972
2021-07-15 12:43:11 -07:00
TreeHugger Robot 8c4e93fe49 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-15 18:34:11 +00:00
Cyrus Boadway 66f1b57815 Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev 2021-07-15 18:28:29 +00:00
Pat Manning d642b65137 Merge "Scale task rounded corners proportional to TaskView size." into sc-v2-dev 2021-07-15 17:39:31 +00:00
Bill Yi ddedb86ba1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I07a46873b25609c6626be27f535de361b199c313
2021-07-15 17:17:13 +00:00
Pat Manning 8a6179bb7d Scale task rounded corners proportional to TaskView size.
Test: manual
Fix: 183936745
Change-Id: I2e2dd806826cba135d5a1e6ab9a5e80b8994d64d
2021-07-15 15:25:24 +00:00
Alex Chau 86ac825061 Move focused task to front when attaching RecentsView
- Only move focused task it's the first time attaching RecentsView
- Simpily remove and re-add focused task to move it to front

Bug: 192471181
Test: manual
Change-Id: I95b29c39328911beec7fd3d254f7a22be5e10cc1
2021-07-15 15:24:00 +01:00
Alex Chau 031373daa3 Reland "Snap to relative position to snappd task when dismissing"
This reland commit ba61b98fca accidentally reverted by http://ag/15162411

Bug: 188793333
Test: manual
Change-Id: Iae07a67d528aa80e8f87d37758244d0c46b61cf7
2021-07-15 15:12:34 +01:00
TreeHugger Robot 3df9de7cd0 Merge "Don't create gap between last task and clear all button" into sc-v2-dev 2021-07-15 10:54:47 +00:00
TreeHugger Robot a5e98ad98a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-15 01:06:14 +00:00
Hongwei Wang a35d7ec90e Merge "Use display cutout info in auto-enter-pip transition" into sc-dev 2021-07-14 23:52:42 +00:00
Bill Yi 83d5e8ca39 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I59d3343c23a12713e00ff0f3b5c96eea4ffb437e
2021-07-14 21:40:23 +00:00
Hongwei Wang 3c4f60900d Merge "Use display cutout info in auto-enter-pip transition" into sc-v2-dev 2021-07-14 21:00:47 +00:00
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 6224eaea29 Merge "Notify System UI about taskbar state" into sc-v2-dev 2021-07-14 10:59:26 +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 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 ae2e5d9231 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev 2021-07-13 23:27:45 +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 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 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 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
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 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 245ff83c1a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2dfcca21fa6e48a58f9368ab156718ce2a897f1c
2021-07-11 20:39:16 +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