Commit Graph

5941 Commits

Author SHA1 Message Date
Lucas Dupin 04dc96e001 Merge "Make launcher opaque when scrim becomes opaque" into sc-dev am: c2bcdcee9b am: 401d94b0bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14654426

Change-Id: I40b13b031053ae25ca6cae7d88de3a843da57553
2021-05-20 23:38:18 +00:00
Lucas Dupin 401d94b0bc 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: I4543c5073dacd2b1039b0c95bca7e7315d470ed9
2021-05-20 23:16:43 +00:00
Lucas Dupin c2bcdcee9b Merge "Make launcher opaque when scrim becomes opaque" into sc-dev 2021-05-20 23:11:46 +00: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 12d357ed94 Merge "Correct QuickStep interaction handler." into sc-dev am: c3e6383690 am: 7760f88d8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14664199

Change-Id: Ic212e93c227c5e9a7923c7f1e49d52b19adb696b
2021-05-20 20:30:07 +00:00
Pierre Barbier de Reuille 7760f88d8a 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: I5bcf01d2423cc887642b57e65cca40210d060c78
2021-05-20 20:15:38 +00:00
Jonathan Miranda 1596d3b6ee Merge "Remove min/max values for RectFSpringAnim2." into sc-dev am: ee43020d0b am: e68082e326
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14645352

Change-Id: I567a4ffb00b84bc7e7610243f80c002459496a59
2021-05-20 19:59:31 +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 e68082e326 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: I4085881605c6cee399f4013f223a63da8237c6e0
2021-05-20 19:39:31 +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 ef38ca7c1b Merge changes I46501369,Icd1ddd43 into sc-dev am: 2c2163329b am: 89384618ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14664190

Change-Id: I26cdff3a4d106427fa355eb904f7d65fdeb90de9
2021-05-20 16:09:28 +00:00
Kholoud Mohamed 1b90069c45 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: I66311744e29404d4a30273efd07fd7f0173b35fa
2021-05-20 15:53:46 +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
Bill Yi 7c5972eb7b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I24852ca5e8b474789031e4684f65b3f2e71959e5
2021-05-20 01:53:36 +00: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 3ec075630b Merge "Remove shadows from app launch animation" into sc-dev am: 4e760601d5 am: fe43e316ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14637247

Change-Id: I336050243e81052dc0328c611b4ee92bc7609064
2021-05-19 20:29:01 +00:00
Lucas Dupin fe43e316ae 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: I43c4d9923e7b8b7c2c55234e0f745aadb3abb76c
2021-05-19 20:15:20 +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 e026eb80ec Merge "Don't set enabled on TaskMenu view if shortcut not available" into sc-dev am: 887bfef157 am: 675d845b00
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14637304

Change-Id: I19dbcbef058cfce4cee1fd87885ca96488eeb311
2021-05-19 19:33:15 +00:00
Sunny Goyal d55f44db76 Merge "Renaming TaskbarController to LauncherTaskbarUIController" into sc-dev am: 749f55f07a am: 9e1b279f3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14626089

Change-Id: I8bd4fb7d38d81f2a3f5ea3ce7bd5c230f6cdf7b4
2021-05-19 19:32:52 +00:00
Vinit Nayak 675d845b00 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: Ic257537c32a25d43098b520c4a9a352260404e10
2021-05-19 19:10:01 +00:00
Sunny Goyal 9e1b279f3b 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: Iaff666ee3f900668a84781aa939f0df13cbaa6f1
2021-05-19 19:09:35 +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 f5e8218dd5 Merge "Updated gesture navigation tutorial." into sc-dev am: f126d078ac am: 7645f27673
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14537683

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

Change-Id: I92d632a258d392ac3fc9c5d103b256eddfdcb0ee
2021-05-19 17:49:37 +00:00
TreeHugger Robot 814532969e 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: Ia35f02c7b46b6c4edada3645780e61487bd5551a
2021-05-19 17:33:38 +00:00
Tracy Zhou effce2e586 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: I75d9bc3759ed5b1aca66dab92d6fae38288317fe
2021-05-19 17:33:23 +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
Alex Chau ef13495514 Use fixed width in overveiw grid am: 5d35355fd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14638721

Change-Id: Ibbf184df2c8f6dfef8579d718c83afa1199c7cf9
2021-05-19 08:47:00 +00:00
Alex Chau 5d35355fd1 Use fixed width in overveiw grid
- Removed thumbnail ratio logic in TaskView, getVisibleThumbnailRatio will be clean up separately
- Removed quickswitch clipping and scaling, so overview and quickswitch looks identical. mClippedInsets will be clean up separately
- Put focused task in center of screen
- Refacotred CLearAllButton spacing

Bug: 187839470
Test: Manual
Change-Id: I2a7df1ac02acd5379af33f5b0e9abba0fab8e8d2
2021-05-19 08:02:45 +00: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
Evan Rosky aa333f4e7e Merge "Launch overview as transient" into sc-dev am: 3f4333bfa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14444777

Change-Id: I10365c2263900d98664eaa6d0dd402fc0fc8f562
2021-05-18 19:03:07 +00:00
Evan Rosky 3f4333bfa1 Merge "Launch overview as transient" into sc-dev 2021-05-18 18:55:31 +00:00