Commit Graph

3219 Commits

Author SHA1 Message Date
Tracy Zhou 106bfbfab1 Merge "Revert "Finish the recents animation upon home rotation"" into sc-dev am: 0bd7763ccc am: ab7eb19f26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14625480

Change-Id: I196a1e205625c2232f105019ef79ab5182ff7448
2021-05-20 04:39:46 +00:00
Sunny Goyal 1a2cbe8dab Merge "Moving taskbar lifecycle to TouchInteractionService" into sc-dev am: 5bb515b6cc am: 3cb1237308
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14445701

Change-Id: Ic448fef7308f15e5eb919438f9cd463e143a9b9d
2021-05-20 04:39:40 +00:00
Jonathan Miranda 0fa1830c7b Merge "Add WorkspaceRevealAnim, successor to StaggeredWorkspaceAnim." into sc-dev am: 7d4aaaa73d am: 3183befc61
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14523564

Change-Id: I129e5804fbd866b802930f9a7bd9b2ca49e657b9
2021-05-20 04:39:35 +00:00
Lucas Dupin dc933d93a1 Merge "Configurable sysprop for launcher depth" into sc-dev am: ca65ca4538 am: f380198866
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14613291

Change-Id: I15a9c961f7a9d919cbc53da7e38befacef775011
2021-05-20 04:39:28 +00:00
Pat Manning 992634e187 Merge "Animate task translation on dismissal." into sc-dev am: 049434a504 am: ba1b527d75
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14294872

Change-Id: Iab77ffd72bbfee0539e287029506e566cb41c2c4
2021-05-20 04:39:23 +00:00
Hongwei Wang ee479fe33e Merge "Do not send onUserLeaveHint on overview actions" into sc-dev am: a79cd20147 am: c3ddf21aa5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14606251

Change-Id: Ic41f4a4e9e51eec737e915dcdb3d43b4e94b0bec
2021-05-20 04:39:17 +00:00
Andy Wickham 69f3c45e21 Merge "Updates AllSetActivity extra keys to match SUW." into sc-dev am: 11605d84c3 am: f120db3165
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14540205

Change-Id: I37b1b2b774cee70e913ae3ededa0834436299539
2021-05-20 04:39:04 +00:00
Tracy Zhou 8b9c993a7b Merge "Finish the recents animation upon home rotation" into sc-dev am: f9071f92ef am: 83b8225801
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14441322

Change-Id: If5e270dd109b28aebb2e7ea2f5482c168474d908
2021-05-20 04:38:58 +00:00
Cyrus Boadway 3f378c6d56 Merge "Fix SDK guard" into sc-dev am: e3403325a9 am: f21fee923f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14547190

Change-Id: Ie05e3e43a2f8db15c88df233e6d92f5344de6a03
2021-05-20 04:38:47 +00:00
Tracy Zhou 9484ec7413 Merge "Detach nav bar from app after settling into overview" into sc-dev am: 3ed7ee76c4 am: 9aa11a9cd7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14543545

Change-Id: I24244e0bace3e571005d0c40a2daa8e74b2a56e5
2021-05-20 04:38:18 +00:00
TreeHugger Robot 55c9481cad Merge "Revert to overview coming from the side instead of bottom" into sc-dev am: 6facaad569 am: 504fbe1764
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14554677

Change-Id: I01a560126f963131e10dabd006a6a924d40a4e05
2021-05-20 04:37:24 +00:00
Alina Zaidi db50be6fef Merge "Modify pin widget dialog open-close animation." into sc-dev am: f0e11cbbc3 am: 998441d729
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14488296

Change-Id: I67245142c3ad89a678c562988fb960d33468a728
2021-05-20 04:37:19 +00:00
Yogisha Dixit 95c7c14d08 Merge "Log widget features." into sc-dev am: 07449132fb am: f51b28150c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14487017

Change-Id: I802edc6d02b0d7ba72c323c0a5e0b7b2a332a60e
2021-05-20 04:36:40 +00:00
Tracy Zhou d4e2eef13b Pass home rotation state to SysUI
Fixes: 185962767
Test: manual

Change-Id: I3d2103b665f099a087545a97fdb84bc240b8d261
(cherry picked from commit c9bf0f6161)
2021-05-19 17:15:32 -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
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 5bb515b6cc Merge "Moving taskbar lifecycle to TouchInteractionService" into sc-dev 2021-05-18 17:17:27 +00:00
Jonathan Miranda 7d4aaaa73d Merge "Add WorkspaceRevealAnim, successor to StaggeredWorkspaceAnim." into sc-dev 2021-05-18 16:46:12 +00:00
Lucas Dupin ca65ca4538 Merge "Configurable sysprop for launcher depth" into sc-dev 2021-05-18 15:12:39 +00:00
Pat Manning 049434a504 Merge "Animate task translation on dismissal." into sc-dev 2021-05-18 09:32:19 +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 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 f9071f92ef Merge "Finish the recents animation upon home rotation" into sc-dev 2021-05-18 01:05:32 +00:00
Jon Miranda 7d2dfcfb3f Add WorkspaceRevealAnim, successor to StaggeredWorkspaceAnim.
- Added support for widgets for the new close animation.
- This anim is used with the new app close.
- This anim is not compataible with the old app close, so we need to
  keep StaggeredWorkspaceAnim in case we turn the app close flag off.

- We will also use this anim in the lockscreen to launcher anim, will
  connect them in a follow up CL.

Bug: 188413065
Bug: 173107751
Test: manual
Change-Id: Icab3fd700f2c268bb1c4509a37466e4e6748f789
2021-05-17 23:04:07 +00:00
Hongwei Wang e744c0fed4 Do not send onUserLeaveHint on overview actions
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bM49GXyCRWEf5KVfP3kIiS
Bug: 188431197
Test: tap on split screen in overview, see video
Change-Id: I15d85cbaec0c878e2f5fe915866980aefeee84f6
2021-05-17 13:53:02 -07:00
Cyrus Boadway e3403325a9 Merge "Fix SDK guard" into sc-dev 2021-05-17 20:48:22 +00:00
Tracy Zhou d727db3c87 Merge "Pass home rotation state to SysUI" into sc-dev 2021-05-17 17:18:42 +00:00
Tracy Zhou 3ed7ee76c4 Merge "Detach nav bar from app after settling into overview" into sc-dev 2021-05-17 17:11:14 +00:00
TreeHugger Robot 6facaad569 Merge "Revert to overview coming from the side instead of bottom" into sc-dev 2021-05-17 17:04:43 +00:00
Alina Zaidi f0e11cbbc3 Merge "Modify pin widget dialog open-close animation." into sc-dev 2021-05-17 16:51:50 +00:00
Pat Manning cc64218e68 Animate task translation on dismissal.
Test: manual
Bug: 186416527
Fix: 186416527
Change-Id: I3919b96b96fdd490e15968b7c2e680dad7f6e5d6
2021-05-17 16:21:38 +00:00
Yogisha Dixit 07449132fb Merge "Log widget features." into sc-dev 2021-05-15 15:07:40 +00:00
Winson Chung 8b74cbbf96 Merge "Add a content overlay for auto-enter w/o a source hint rect" into sc-dev 2021-05-14 23:44:24 +00:00
Yogisha Dixit 0b15c7ee07 Log widget features.
Design doc: go/widgets-logging
Note that this doesn't log dynamic colors yet. I'll work on that in a
follow-up CL.

Bug: 185778648
Test: manual
Change-Id: I04249ef267907b4112c220fb206e077d1bee783a
2021-05-15 00:26:41 +01:00
Tony Wickham 82d5a0681d Revert to overview coming from the side instead of bottom
Test: Visually checking all of these. As appropriate, repeat in 0, 2, 3
button modes, landscape/portrait/fake landscape, and 3P launcher
- Quick switch from home
- Home to overview
- Overview to home (swipe up)
- Overview to home (tap outside)
- Overview to home (back invocation)
- Quick switch from app
- Swipe up and hold from app
- Dismiss an app
- Empty recents
- Split select state to home
- Modal state to home
Fixes: 185411781

Change-Id: If00a22fee35c832a259bfc62808efbac5990ce2e
2021-05-14 16:06:44 -07:00
Zak Cohen a32c60007c Merge "Overview - don't update task overlay on thumbnail update." into sc-dev am: 02ca6c14dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14537691

Change-Id: Ibc8ea5e2635cbd17b2e81c30e21db79962937ab5
2021-05-14 22:05:48 +00:00
Zak Cohen 02ca6c14dd Merge "Overview - don't update task overlay on thumbnail update." into sc-dev 2021-05-14 21:52:55 +00:00
Cyrus Boadway 5bfe52dff3 Merge "Add interaction jank monitoring for widget app launch CUJ" into sc-dev am: a27ebc1633
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14467314

Change-Id: Ibab3484e22f059e2f02cf70ba85fcba4b10c9222
2021-05-14 17:52:51 +00:00
Cyrus Boadway a27ebc1633 Merge "Add interaction jank monitoring for widget app launch CUJ" into sc-dev 2021-05-14 17:40:16 +00:00
Tracy Zhou 7ad2e846b4 Detach nav bar from app after settling into overview
Fixes: 185042209
Test: manual
Change-Id: Id302ac9f8e86c3af6b2c05a4314401505eb26b1e
2021-05-14 10:37:44 -07:00
Alina Zaidi d80cec62b4 Modify pin widget dialog open-close animation.
Pin widget sheet should open from bottom up and close on drag down.
Behaviour with navigation bar is similar to that of widgets bottom sheet.

Add a drag layer and reuse AbstractSlideInView for open-close
animation.

Test: Tested manually- opening, closing through dragging/ cancel button/
back button. Adding widget to screen by dragging/ add to home screen
button.
Bug: 186124244

Change-Id: I4b77d5bdd4ed1689b651847dfed69d19cafa7456
2021-05-14 17:59:50 +01:00
Cyrus Boadway 960ab121db Fix SDK guard
Use dev-friendly utility instead of Build version codes.

Bug: 169042867
Test: manual
Change-Id: I528bafdcad8644e6f96caf5ada4f44ed2b8dff06
2021-05-14 16:35:40 +00:00
Sunny Goyal 8324cd0d58 Merge "Revert "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback""" into sc-dev am: 10dfa61db8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14532343

Change-Id: I5cbd3a1fbd5370e52b2748e9545beec232bd016f
2021-05-14 16:04:45 +00:00
Sunny Goyal 10dfa61db8 Merge "Revert "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback""" into sc-dev 2021-05-14 15:46:14 +00:00
Tracy Zhou c9bf0f6161 Pass home rotation state to SysUI
Fixes: 185962767
Test: manual

Change-Id: I3d2103b665f099a087545a97fdb84bc240b8d261
2021-05-13 22:12:12 -07:00
zakcohen a6ca69aa53 Overview - don't update task overlay on thumbnail update.
Only init and reset the task overlay on the enabled state of the overlay
changing.
Previously the overlay was also updated when the thumbnail changed, but
this can happen for lots of different reasons so was causing janky
transitions and potentially excess work in code that was following the
overlay.

The overlay code really only cares about the thumbnail after the task has
settled, so should be safe to ignore the thumbnail updates.



Bug: 188097940
Test: local build and run on p5
Change-Id: I4ad1767046cb0316af19713bc188788d8f581d7c
2021-05-13 16:35:49 -07:00