Commit Graph

5943 Commits

Author SHA1 Message Date
Sunny Goyal 1d5c0754d6 Merge "Using icon color for dot and halo" into sc-dev am: 47da5d628c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684870

Change-Id: I771a69b3c734ba3de73a84d07a6ce29c125ecc40
2021-05-25 18:41:48 +00:00
Sunny Goyal 47da5d628c Merge "Using icon color for dot and halo" into sc-dev 2021-05-25 18:24:56 +00:00
shawnlin a55c5923d3 Support the nav animation in widget launch remote animation am: 3380ab3053
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: I71a5271424f76bbbeed44ae6c094f122defee67f
2021-05-25 11:49:41 +00:00
shawnlin 3380ab3053 Support the nav animation in widget launch remote animation
Launcher now support remote animation for widget but doesn't add the nav
animation for this type of animation.

Add the nav animation in widget launch remote animation in launcher.

Bug: 185303414
Test: manual - launch a widget in launcher and observe the nav bar
Change-Id: I11f4bd75b9624118b8ffef09c99f54fc7f1fbbca
2021-05-25 03:43:25 +00:00
Jonathan Miranda a4b834fe72 Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev am: 81f5ff3b3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14688336

Change-Id: Idf378e441611a5dc6f2c291c0ec5b0db8239a587
2021-05-22 04:37:31 +00:00
Jonathan Miranda 81f5ff3b3b Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev 2021-05-22 03:45:29 +00:00
Sunny Goyal 1b72c0ea35 Merge "Renamin TaskbarContainerView to TaskbarDragLayer" into sc-dev am: 2f0595e76e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14680570

Change-Id: I4668106ead95e6a58d3fe30d5c4e0da3d90e11c4
2021-05-22 02:29:23 +00:00
Jon Miranda 7c9dca2df2 Fix PathParser error when parsing app close interpolator in RTL languages.
Setting locale to english so that the numbers don't get reverted

Bug: 188552618
Test: set language to arabic, swipe up to home
Change-Id: I736c83984b472d9ad09207927743c87b18637db4
2021-05-21 17:20:07 -07:00
Sunny Goyal 5584513500 Renamin TaskbarContainerView to TaskbarDragLayer
Bug: 187353581
Test: Presubmit
Change-Id: I9164a956aaa896111f287ab4e97b091a7d4d30ee
2021-05-21 14:42:18 -07:00
Sunny Goyal 6755587219 Using icon color for dot and halo
Bug: 188839628
Test: Manual
Change-Id: I8a393cc7073d5a249619b4033ec860c55f17167a
2021-05-21 12:57:38 -07:00
Sunny Goyal 8d996187ea Merge changes from topic "revert-14664190-JGHJCCJYPM" into sc-dev am: 67914aff50
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14669170

Change-Id: I6a72e4492f5078aab2442ee0f5722a49f95cf76b
2021-05-21 16:02:45 +00:00
Sunny Goyal 301eaf2b8c Initiate taskbar only after the user is unlocked
Bug: 188755902
Test: Presubmit
Change-Id: Ida4bc07f45396e82ab404a617aa6833afeea78bc
2021-05-21 07:05:38 +00:00
Sunny Goyal f8b1c3b38e Revert "Revert "Renaming TaskbarController to LauncherTaskbarUIC..."
Revert submission 14664190

Reason for revert: Errorprone fixed in ag/14667108
Reverted Changes:
Icd1ddd43e:Revert "Renaming TaskbarController to LauncherTask...
I465013697:Revert "Moving taskbar lifecycle to TouchInteracti...

Change-Id: I1dcccb43d8206830e2b7c1974e775c94ac8c542f
Bug: 187353581
2021-05-21 07:05:31 +00:00
Sunny Goyal d5500548dc Revert^2 "Moving taskbar lifecycle to TouchInteractionService"
430465a3d5
Bug: 187353581
Change-Id: I7b2280d16adfafd3e85ffc1d22e32d0c00d12b67
2021-05-21 07:05:02 +00:00
Winson Chung 354786d4fc Merge "Tweak ordering of first match search" into sc-dev am: 07414d5cd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14668159

Change-Id: Id166c7a078468554aa2efc5da2993781f470e91b
2021-05-21 03:40:57 +00:00
Winson Chung 07414d5cd5 Merge "Tweak ordering of first match search" into sc-dev 2021-05-21 03:15:55 +00:00
Tracy Zhou e50a7f54f8 Merge "Notify when quickstep gesture starts" into sc-dev am: 1f9fcf87f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14630659

Change-Id: I649e35d9dc197bc4839c959f4a47502668e571ff
2021-05-21 02:31:45 +00:00
Tracy Zhou 1f9fcf87f7 Merge "Notify when quickstep gesture starts" into sc-dev 2021-05-21 02:24:22 +00:00
Lucas Dupin b1b6d8aee9 Merge "Make launcher opaque when scrim becomes opaque" into sc-dev am: c2bcdcee9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14654426

Change-Id: I99ac839e85f7e8638599b4e3f715621028341d58
2021-05-20 23:15:12 +00:00
Lucas Dupin c2bcdcee9b Merge "Make launcher opaque when scrim becomes opaque" into sc-dev 2021-05-20 23:11:46 +00:00
Winson Chung bd2fa26bda Tweak ordering of first match search
- Tweak iteration for finding first match, go by operator priority and
  check each cell layout by order to return the first view that matches
- Also reset the launch cookie in cases where we're launching a task
  that doesn't support cookies (ie. via prediction), otherwise we may
  still try to associate it with the last launched cookie later

Fixes: 187720286
Test: Swipe up from various icon types across hotseat/workspace
Change-Id: I71c4c13c442b0884b2247589685f976eaaeb30a4
Signed-off-by: Winson Chung <winsonc@google.com>
2021-05-20 14:50:33 -07:00
Lucas Dupin 0c6341af99 Make launcher opaque when scrim becomes opaque
This will help with overdraw, because we don't need to draw the
wallpaper.

Test: manual
Test: adb shell dumpsys SurfaceFlinger --timestats -dump
Bug: 187703092
Change-Id: I2ebae94725578e5f4d640cd6b45da3f4d1f21a20
2021-05-20 14:33:39 -07:00
Pierre Barbier de Reuille be74d369d4 Merge "Correct QuickStep interaction handler." into sc-dev am: c3e6383690
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14664199

Change-Id: I6f82736a53cad4c82a1beb7f896cd46cc4f56895
2021-05-20 20:13:42 +00:00
Pierre Barbier de Reuille c3e6383690 Merge "Correct QuickStep interaction handler." into sc-dev 2021-05-20 19:57:56 +00:00
Jonathan Miranda dfa29582ac Merge "Remove min/max values for RectFSpringAnim2." into sc-dev am: ee43020d0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14645352

Change-Id: Ib9cee77c7940334f5e2f182f2eba6cc5af471e6a
2021-05-20 19:37:02 +00:00
Jonathan Miranda ee43020d0b Merge "Remove min/max values for RectFSpringAnim2." into sc-dev 2021-05-20 19:21:03 +00:00
Kholoud Mohamed 89384618ca Merge changes I46501369,Icd1ddd43 into sc-dev am: 2c2163329b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14664190

Change-Id: I4d1da0a0e441636407efed0eae141fdc393e7e8d
2021-05-20 15:50:04 +00:00
Kholoud Mohamed 2c2163329b Merge changes I46501369,Icd1ddd43 into sc-dev
* changes:
  Revert "Moving taskbar lifecycle to TouchInteractionService"
  Revert "Renaming TaskbarController to LauncherTaskbarUIController"
2021-05-20 15:30:34 +00:00
Pierre Barbier de Reuille 1c52d1ee12 Correct QuickStep interaction handler.
With the current implementation, all interactions happen on the main
view, preventing any button or clickable object from working.

Fix: 188775840
Test: Using an App Widget with checkboxes
Change-Id: I1ec6391a36b6a3795545acb5e08dde0d3a2b2ac8
2021-05-20 14:48:00 +01:00
Kholoud Mohamed 430465a3d5 Revert "Moving taskbar lifecycle to TouchInteractionService"
This reverts commit e215fb730b.

Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/tests/view?invocationId=I13700009003387451&testResultId=TR89423459137251402, bug https://buganizer.corp.google.com/issues/188755902

Bug: 188755902
Change-Id: I4650136975b60f311499ee6ff5b27ab9a32d23d6
2021-05-20 13:32:05 +01:00
Kholoud Mohamed bb6f6e5dae Revert "Renaming TaskbarController to LauncherTaskbarUIController"
This reverts commit 40a7421619.

Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/tests/view?invocationId=I13700009003387451&testResultId=TR89423459137251402, bug https://buganizer.corp.google.com/issues/188755902

Bug: 188755902
Change-Id: Icd1ddd43e62d392f6b68b0150a1075f73106391a
2021-05-20 13:31:34 +01:00
Tracy Zhou f833ecebfa Notify when quickstep gesture starts
Fixes: 182500083
Test: manual
Change-Id: I1ab27b309c0dd2640add1aa83566acee20708a3a
2021-05-19 22:09:44 -07:00
Bill Yi ba82d94f51 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8e06a080ec1a5e40b106c535c299919486f66915
2021-05-20 01:53:02 +00:00
Lucas Dupin 50ac504581 Merge "Remove shadows from app launch animation" into sc-dev am: 4e760601d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14637247

Change-Id: Ife325ccb04d8721ffb3c3d1272374773d8ccdc96
2021-05-19 20:11:17 +00:00
Lucas Dupin 4e760601d5 Merge "Remove shadows from app launch animation" into sc-dev 2021-05-19 20:01:06 +00:00
Vinit Nayak 49d003da91 Merge "Don't set enabled on TaskMenu view if shortcut not available" into sc-dev am: 887bfef157
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14637304

Change-Id: Ia10e04790c3936918f9f678907bd8182431d392e
2021-05-19 19:07:57 +00:00
Sunny Goyal f6a895edad Merge "Renaming TaskbarController to LauncherTaskbarUIController" into sc-dev am: 749f55f07a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14626089

Change-Id: I6c82d5cb59f66893b42c5e0d31dfe277c1710b71
2021-05-19 19:07:29 +00:00
Vinit Nayak 887bfef157 Merge "Don't set enabled on TaskMenu view if shortcut not available" into sc-dev 2021-05-19 19:03:21 +00:00
Sunny Goyal 749f55f07a Merge "Renaming TaskbarController to LauncherTaskbarUIController" into sc-dev 2021-05-19 18:41:47 +00:00
TreeHugger Robot 7645f27673 Merge "Updated gesture navigation tutorial." into sc-dev am: f126d078ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14537683

Change-Id: I5a5aaa34b6d208fab099ddc69abeb0d0e36a634c
2021-05-19 17:30:58 +00:00
Tracy Zhou 8f324ae67a Merge "Finish the recents animation upon home rotation" into sc-dev am: dc2be3d8a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14613421

Change-Id: I7dd6dd26b17a4505c3605d9a4000c77236d56bb0
2021-05-19 17:30:31 +00:00
TreeHugger Robot f126d078ac Merge "Updated gesture navigation tutorial." into sc-dev 2021-05-19 17:25:48 +00:00
Tracy Zhou dc2be3d8a2 Merge "Finish the recents animation upon home rotation" into sc-dev 2021-05-19 17:17:57 +00:00
Jon Miranda a2ef1a0238 Remove min/max values for RectFSpringAnim2.
- Fixes crash on landscape
- We added this to stop the windows from going way out of bounds. But we no
  longer need it since we've tightened up the stiffness so that
  it would take a super aggressive swipe/high velocity for the window
  to go out of bounds

Bug: 188617892
Test: manual
Change-Id: Icc2a0af0a1b26985502ddbc7a5a370e7eecdb346
2021-05-19 09:55:25 -07:00
Lucas Dupin 3e19e57d22 Remove shadows from app launch animation
The Material You style proposes a flat model without shadows.

This will also help us reduce overdraw because shadows are drawn in
client composition, causing an almost full screen redraw, given that
shadows have the size of the window, which is not usually marked as
opaque.

Bug: 188420494
Test: manual
Change-Id: I5073788a247ea9084b8e3399d4ca8618c21b8d6b
2021-05-19 09:01:38 -07:00
Sunny Goyal 37a9399471 Merge "Removing number of threads used in background execution to prevent system thrashing" into sc-dev am: 194dcc0fd3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14626498

Change-Id: I318a560deca02a730f752704b3e09966d81b2d60
2021-05-19 06:50:26 +00:00
Sunny Goyal 194dcc0fd3 Merge "Removing number of threads used in background execution to prevent system thrashing" into sc-dev 2021-05-19 06:23:10 +00:00
Vinit Nayak 719154dc1b Don't set enabled on TaskMenu view if shortcut not available
Bug: 188195640
Test: No crash when opening tasks when SPLIT_SELECT flag on.
Change-Id: I8f27e311cbb03ea37dcbd63d209b6652f02074af
2021-05-18 23:03:59 -07:00
Sunny Goyal a76bc76317 Removing number of threads used in background execution
to prevent system thrashing

Bug: 188541475
Test: Presubmit
Change-Id: Iff73abeab813d1b80a1ff85b69723dce0bef8005
2021-05-18 13:43:50 -07:00
Schneider Victor-tulias 29f61d5d21 Updated gesture navigation tutorial.
- Removed 'x' button and added tappable 'skip' text to exit the tutorial.
- Updated tutorial step indicator
- updated AVD colors.
- removed unused AVDs
- Increased the visible duration of the feedback view

Test: Manual
Bug: 148542211
Bug: 169687177
Change-Id: Ice61b1273ff270b068d008b5259d100c66057478
2021-05-18 20:00:26 +00:00