Commit Graph

13651 Commits

Author SHA1 Message Date
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
wilsonshih 1bcb9d94ce Read the starting surface icon size from framework
Bug: 177264697
Test: Manual verify icon size on splash screen.
Change-Id: Iec6b0c519cf4692ac6851911ed1e21a3c1b752b4
2021-05-19 19:29:03 +08: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 59fa86ec48 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: I0175443f299ffa8b770b8e2f35e8f7d3213029e6
2021-05-19 06:51:22 +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
Winson Chung 4b41c4e8cb Merge "Add a content overlay for auto-enter w/o a source hint rect" into sc-dev am: 8b74cbbf96 am: 854122d6d4 am: 47dc7da52e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14102623

Change-Id: I4aaabd07083ef0c8a18a1557fe347a80e3f0428b
2021-05-18 20:22:03 +00: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 6630ffda6b 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: I715069f549f3bfd3560561340477b10270ced8e4
2021-05-18 18:55:46 +00:00
Evan Rosky 3f4333bfa1 Merge "Launch overview as transient" into sc-dev 2021-05-18 18:55:31 +00:00
TreeHugger Robot a43adf8977 Merge "Removed page spacing scaling" into sc-dev am: b6dd7fb07f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14600854

Change-Id: I97ee8de9be64d75bf98cf81834307399c46109a4
2021-05-18 18:54:20 +00:00
TreeHugger Robot 0e05d31e20 Merge "Removed page spacing scaling" into sc-dev am: b6dd7fb07f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14600854

Change-Id: I75004cda50d5f6a6acd2b1818c2f0bd3918c4324
2021-05-18 18:53:00 +00:00
Sunny Goyal 40a7421619 Renaming TaskbarController to LauncherTaskbarUIController
Bug: 187353581
Test: N/A
Change-Id: I44aac42c4df134fd7e6fc0c3609fdb3007cf52e3
2021-05-18 11:43:28 -07:00
TreeHugger Robot b6dd7fb07f Merge "Removed page spacing scaling" into sc-dev 2021-05-18 18:29:51 +00:00
Jon Spivack 640e9a58ff Merge "NIU Actions and Recents UI updates on Go" into sc-dev am: a44bb71d95
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14557516

Change-Id: I2aa86efcfb1b04987008cd9837ba889adad5c008
2021-05-18 18:23:07 +00:00
Jon Spivack 54053503ff Merge "NIU Actions and Recents UI updates on Go" into sc-dev am: a44bb71d95
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14557516

Change-Id: Id5b9a49440b942e51af32e3f1409245c0e9ca48b
2021-05-18 18:22:04 +00:00
Tracy Zhou 8a4b7e0b9e Merge "Revert "Finish the recents animation upon home rotation"" into sc-dev am: 0bd7763ccc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14625480

Change-Id: I7c0484125255c654668f09e75d69c57a32df5a83
2021-05-18 18:21:31 +00:00
Tracy Zhou ab7eb19f26 Merge "Revert "Finish the recents animation upon home rotation"" into sc-dev am: 0bd7763ccc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14625480

Change-Id: I5c4ff3428b7d20a9ea9f6baf4fee2b15e28e879c
2021-05-18 18:20:45 +00:00
Jon Spivack a44bb71d95 Merge "NIU Actions and Recents UI updates on Go" into sc-dev 2021-05-18 18:05:19 +00:00
Tracy Zhou 8b58edf8ec Finish the recents animation upon home rotation
Fixes: 14613421
Test: presubmit
Change-Id: I4165e6da80aa0272fa4a58046521dbd86518379c
2021-05-18 10:54:02 -07:00
Tracy Zhou 0bd7763ccc Merge "Revert "Finish the recents animation upon home rotation"" into sc-dev 2021-05-18 17:51:34 +00:00
Tracy Zhou 7511b33838 Revert "Finish the recents animation upon home rotation"
This reverts commit 38588dc23a.

Reason for revert: b/188541715
Fixes: 188541715

Change-Id: I4d85ced55e1a9a4ca64f9c9a855abbfec9f306bb
2021-05-18 17:47:52 +00:00
Sunny Goyal 88e529f3bb Merge "Moving taskbar lifecycle to TouchInteractionService" into sc-dev am: 5bb515b6cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14445701

Change-Id: I84541f78bd437434aa3a0c7381a1f3c6a00e2026
2021-05-18 17:29:11 +00:00
Sunny Goyal 3cb1237308 Merge "Moving taskbar lifecycle to TouchInteractionService" into sc-dev am: 5bb515b6cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14445701

Change-Id: Ibe2ec56b9d9e4137323777f05b02a0b72d5b88ee
2021-05-18 17:27:58 +00:00
Sunny Goyal 5bb515b6cc Merge "Moving taskbar lifecycle to TouchInteractionService" into sc-dev 2021-05-18 17:17:27 +00:00
Jonathan Miranda 1019beb108 Merge "Add WorkspaceRevealAnim, successor to StaggeredWorkspaceAnim." into sc-dev am: 7d4aaaa73d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14523564

Change-Id: Ibf71733090ee2b229be1c0658989e72914752909
2021-05-18 17:08:46 +00:00
Jonathan Miranda 3183befc61 Merge "Add WorkspaceRevealAnim, successor to StaggeredWorkspaceAnim." into sc-dev am: 7d4aaaa73d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14523564

Change-Id: I129736f9fdd2e2a978186a3a05bf85eb482f9885
2021-05-18 17:04:06 +00:00
Jonathan Miranda 7d4aaaa73d Merge "Add WorkspaceRevealAnim, successor to StaggeredWorkspaceAnim." into sc-dev 2021-05-18 16:46:12 +00:00
Lucas Dupin 44050a42bf Merge "Configurable sysprop for launcher depth" into sc-dev am: ca65ca4538
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14613291

Change-Id: I7ee27cd56da3b919010cf5ac40528ce7acba2551
2021-05-18 15:29:07 +00:00
Lucas Dupin f380198866 Merge "Configurable sysprop for launcher depth" into sc-dev am: ca65ca4538
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14613291

Change-Id: Ie916eebf0bf3fa9060ce357d235338c4055fd497
2021-05-18 15:27:43 +00:00
Lucas Dupin ca65ca4538 Merge "Configurable sysprop for launcher depth" into sc-dev 2021-05-18 15:12:39 +00:00
Pat Manning d00ad393f0 Merge "Animate task translation on dismissal." into sc-dev am: 049434a504
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14294872

Change-Id: I75359c9600ada9b66795c4e867fc62e8cc4e6d11
2021-05-18 09:56:01 +00:00
Pat Manning ba1b527d75 Merge "Animate task translation on dismissal." into sc-dev am: 049434a504
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14294872

Change-Id: I9f938a945fa615a458c6a7543059f5f455c5ad79
2021-05-18 09:50:23 +00:00
Pat Manning 049434a504 Merge "Animate task translation on dismissal." into sc-dev 2021-05-18 09:32:19 +00:00
Hongwei Wang 9f9fbfdfe2 Merge "Do not send onUserLeaveHint on overview actions" into sc-dev am: a79cd20147
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14606251

Change-Id: Ie04c66bf5391b9f2942d8ed912ad62a37d2c7ff2
2021-05-18 06:41:34 +00:00
Hongwei Wang c3ddf21aa5 Merge "Do not send onUserLeaveHint on overview actions" into sc-dev am: a79cd20147
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14606251

Change-Id: I0d042cad49ec16b24d6111937d495a5cdb3985e5
2021-05-18 06:38:22 +00:00
Hongwei Wang a79cd20147 Merge "Do not send onUserLeaveHint on overview actions" into sc-dev 2021-05-18 06:19:07 +00:00
Sunny Goyal e215fb730b Moving taskbar lifecycle to TouchInteractionService
> Inflating taskbar views with a non-launcher window context
> Removing separate taskbar view in Launcher
> Handling taskbar icon clicks directly instead of going via launcher
> Fixing some relayouts during show/hide animation

Bug: 187353581
Test: Manual
Change-Id: Ia7d44acbb770bf0345922234b3daa5cc040a5843
2021-05-17 21:47:08 -07:00
Lucas Dupin 90dab00ef9 Configurable sysprop for launcher depth
Fixes: 187940111
Test: adb shell setprop ro.launcher.depth.appLaunch 0
Test: adb shell setprop ro.launcher.depth.overview 0
Change-Id: I9b49ce96d61b2cf29dc571177818976f4da0a345
2021-05-17 20:16:44 -07:00
Andy Wickham 2d7da1e7d2 Merge "Updates AllSetActivity extra keys to match SUW." into sc-dev am: 11605d84c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14540205

Change-Id: I79b634fca30f75015e9f5680c42b8e970c303982
2021-05-18 03:16:22 +00:00
Andy Wickham f120db3165 Merge "Updates AllSetActivity extra keys to match SUW." into sc-dev am: 11605d84c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14540205

Change-Id: I6bb144ca07f3a315c2f96e63e8ad068136fd282a
2021-05-18 03:13:01 +00:00
Andy Wickham 11605d84c3 Merge "Updates AllSetActivity extra keys to match SUW." into sc-dev 2021-05-18 03:02:07 +00:00
Andy Wickham e4170fa07c Updates AllSetActivity extra keys to match SUW.
Test: Manually with apk from SUW team.
Bug: 184722307
Change-Id: I3c51aace360c6142aa37fbb9ecb4748a818b73fb
2021-05-18 01:38:13 +00:00
Tracy Zhou 2b81647df1 Merge "Finish the recents animation upon home rotation" into sc-dev am: f9071f92ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14441322

Change-Id: I0d95c462a4bc18152113200c8b089580622a6ef1
2021-05-18 01:27:35 +00:00