Commit Graph

5928 Commits

Author SHA1 Message Date
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 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
Tracy Zhou f9071f92ef Merge "Finish the recents animation upon home rotation" into sc-dev 2021-05-18 01:05:32 +00:00
Cyrus Boadway c7116a76f3 Merge "Fix SDK guard" into sc-dev am: e3403325a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14547190

Change-Id: I91dde3277e6788cc8e817d0c95625edbbfdd5495
2021-05-17 21:07:30 +00:00
Cyrus Boadway e3403325a9 Merge "Fix SDK guard" into sc-dev 2021-05-17 20:48:22 +00:00
Tracy Zhou 6f6b7cf1c1 Merge "Pass home rotation state to SysUI" into sc-dev am: d727db3c87
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14542025

Change-Id: I758cbcb232e97866de06df7da2c45c53c4756661
2021-05-17 17:23:31 +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 2ca1c363d5 Merge "Detach nav bar from app after settling into overview" into sc-dev am: 3ed7ee76c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14543545

Change-Id: I9af169c3fa38f0e843302ac7c7ff0e2987006e6c
2021-05-17 17:14:39 +00:00
TreeHugger Robot f12928b9db Merge "Revert to overview coming from the side instead of bottom" into sc-dev am: 6facaad569
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14554677

Change-Id: Ib2a474e2dc4209ca1fc99967fd1208226ca29d50
2021-05-17 17:14:05 +00:00
Alina Zaidi 80f084a4c1 Merge "Modify pin widget dialog open-close animation." into sc-dev am: f0e11cbbc3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14488296

Change-Id: Ied02846358d964cfa43bd7e7f5f0f28ba227aab2
2021-05-17 17:13:32 +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
Vadim Tryshev cdffa6369d Merge "Removing @Stability flavors for unbundled." into sc-dev am: a0cb9b86c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14554898

Change-Id: I6282cb9cb8e8f04c2d7eedfeab41a4a156455b18
2021-05-17 16:28:00 +00:00
Vadim Tryshev a0cb9b86c3 Merge "Removing @Stability flavors for unbundled." into sc-dev 2021-05-17 16:22:45 +00:00
Bill Yi 8d233cd42a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie6f2bc52b3b9f8af036e67d3527d2c77b89be7a0
2021-05-17 10:49:53 +00:00
Yogisha Dixit cab74a4325 Merge "Log widget features." into sc-dev am: 07449132fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14487017

Change-Id: I5ff9d1c8f94c3d8f80017e875d0aa81e0e8cfd85
2021-05-15 15:35:43 +00:00
Yogisha Dixit 07449132fb Merge "Log widget features." into sc-dev 2021-05-15 15:07:40 +00:00
vadimt 2ecf126256 Removing @Stability flavors for unbundled.
They can be accidentally used.

Test: presubmit.
Bug: 187761685
Change-Id: I0cf859a51fb708ed51ba2f9506ab76af42ee3d5c
2021-05-14 17:42:24 -07:00
Winson Chung cdb9b6fcdf Merge "Add a content overlay for auto-enter w/o a source hint rect" into sc-dev am: 8b74cbbf96
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14102623

Change-Id: I42c8f51e57a4958c5dddd1e5551f1d902685aecd
2021-05-15 00:12:13 +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 70b5109287 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: I90aab618de9e49e0b0444400222c2af8e0c5b140
2021-05-14 22:05:47 +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
Vadim Tryshev 572a27c814 Merge "Revert "Temporarily demoting failing tests from presubmits"" into sc-dev am: 217e7100bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14532449

Change-Id: I177dbb9c29b574b0e3bfbe3e39f570b9253bdbe0
2021-05-14 18:35:19 +00:00
Vadim Tryshev 217e7100bc Merge "Revert "Temporarily demoting failing tests from presubmits"" into sc-dev 2021-05-14 18:17:41 +00:00
Cyrus Boadway 8ce51da2ae 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: I2d1262b88490e66ef25569030aa66442f6847326
2021-05-14 17:57:27 +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 539246504d 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: I4004e3ed427ba6a5efa1d8d3c63a1b254d0f7c36
2021-05-14 16:05:03 +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
TreeHugger Robot 75d47dc244 Merge "Enable free scroll immediately if gesture goes to overview" into sc-dev am: e010332efd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425538

Change-Id: I54bd6fbf196dfcf4be7d90ac309e16cee2e040eb
2021-05-13 21:41:47 +00:00
TreeHugger Robot e010332efd Merge "Enable free scroll immediately if gesture goes to overview" into sc-dev 2021-05-13 21:23:05 +00:00
Tony Wickham 211bf837b1 Merge "Remove mOnRecentsScrollListener when continuing quick switch gesture" into sc-dev am: 1eea52296b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14517561

Change-Id: I3c01306505a911856f32ee4c9da547fc1faa8b1a
2021-05-13 20:02:39 +00:00
Tony Wickham 1eea52296b Merge "Remove mOnRecentsScrollListener when continuing quick switch gesture" into sc-dev 2021-05-13 19:49:41 +00:00
Cyrus Boadway 089556218a Merge "Register a remote animation for the next activity start" into sc-dev am: a1d303e531
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14530596

Change-Id: Ib349ec3203a27f815672826f2a44553263586a57
2021-05-13 19:42:52 +00:00
Alex Chau 6a5920c682 Enable free scroll immediately if gesture goes to overview
Fixes: 186871947
Test: Swipe up from app, scroll immediately, free scroll should be enabled
Change-Id: I20b782df04fb6e61dfd5c7e82e1ab90dbd6ed8fc
2021-05-13 20:39:15 +01:00
Cyrus Boadway a1d303e531 Merge "Register a remote animation for the next activity start" into sc-dev 2021-05-13 19:33:59 +00:00
Cyrus Boadway c169e5b9af Register a remote animation for the next activity start
Widgets are permitted to start broadcast receivers which launch
activities, otherwise known as a broadcast trampoline. Unfortunately,
launch animations provided through ActivityOptions are not applied to
the activity launch.

If a widget interaction's pending intent is not an activity, set a
return animation for the next activity start, in the event it starts an
activity.

Bug: 169042867
Test: presubmit
Change-Id: Ibbee9cadcd5153e285433fcb1b8038d77b1384a2
2021-05-13 17:56:14 +00:00
Winson Chung 343b144c28 Merge "Skip setting up ui if the handler is already invalidated" into sc-dev am: 549ea0b3a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14526506

Change-Id: Id8c467b935c051d764e9e59566384f584052d8e7
2021-05-13 17:31:42 +00:00
Winson Chung 549ea0b3a9 Merge "Skip setting up ui if the handler is already invalidated" into sc-dev 2021-05-13 17:28:06 +00:00
Sunny Goyal 01b32466c3 Revert "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback""
This reverts commit d7f11d5fb9.

Reason for revert: Fixed initial error
Bug: 185554764

Change-Id: I32cc49f9b3820166736ceb347f33577939aa6efa
2021-05-13 10:23:35 -07:00
Vadim Tryshev a7c9c14444 Revert "Temporarily demoting failing tests from presubmits"
This reverts commit 395c58d303.

Reason for revert: The bug was fixed

Bug: 187899876
Change-Id: I73f93f5fb1ec0ab0352ba174aabbaf6935dd9fc4
Test: presubmit
2021-05-13 17:20:36 +00:00