Commit Graph
11619 Commits
Author SHA1 Message Date
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
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
Hyunyoung Song 8fb6e533e7 Merge "Catch NPE for AllAppsContainerView.dispatchRestoreInstanceState" into sc-dev am: b83e8f614a am: 7945a3e78f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14598100

Change-Id: I32148618ff6465721c04dbe7c9e2fad344aca4b6
2021-05-20 04:38:52 +00:00
Steven Ng 6076c7c0d8 Merge "Add a scrim underneath the top section of search & recommendation UI" into sc-dev am: c47d8a027d am: 1f2a9b26e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14549882

Change-Id: Ide25128be205a0a2552e3d1d66fa27c3dc878c9b
2021-05-20 04:38:32 +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
Hyunyoung Song 2eb5c89fa9 Merge "Fix searchbox font and other specs" into sc-dev am: be26cb271f am: 5a981e2a56
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14543544

Change-Id: Icc9c4f17c8e746b8b51766ff76750e7ed67a0b92
2021-05-20 04:36:52 +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
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
Jonathan Miranda 7d4aaaa73d Merge "Add WorkspaceRevealAnim, successor to StaggeredWorkspaceAnim." into sc-dev 2021-05-18 16:46:12 +00:00
Pat Manning 049434a504 Merge "Animate task translation on dismissal." into sc-dev 2021-05-18 09:32:19 +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
Hyunyoung Song b83e8f614a Merge "Catch NPE for AllAppsContainerView.dispatchRestoreInstanceState" into sc-dev 2021-05-17 21:44:16 +00:00
Steven Ng c47d8a027d Merge "Add a scrim underneath the top section of search & recommendation UI" into sc-dev 2021-05-17 17:51:41 +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
Hyunyoung Song be26cb271f Merge "Fix searchbox font and other specs" into sc-dev 2021-05-17 15:56:36 +00:00
Hyunyoung Song 05d3e86401 Fix searchbox font and other specs
Bug: 187654557
Test: manual, see attached image on the bug

Change-Id: I570df1bcc926258ca406810ea10b3d1fdd3cd2ec
2021-05-17 01:08:44 -07:00
Hyunyoung Song 2cecad8e75 Catch NPE for AllAppsContainerView.dispatchRestoreInstanceState
TL;DR;;
Missing view id for work profile recycler view
caused restore failure as there are different type of
views that contains same id. However, even after that fix,
lack of view id in slice views generated by other process
causes failure when mFlags on these not restored slice
views needs to be accessed.

Bug: 186596139
Test: manual
Change-Id: I8a97598c27acbc05ac8a39c50fe5862e541d62ad
2021-05-17 00:47:28 -07: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
Tony Wickham dd2c6aaa3d Merge "Fix AnimatorListeners.forEndCallback()" into sc-dev am: 41c73d4a23
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14554337

Change-Id: If2de7a4269c82faad883df9bbfa0f73893a534e7
2021-05-14 22:30:29 +00:00
Tony Wickham 38dd6ec901 Fix AnimatorListeners.forEndCallback()
Override onAnimationEnd(Animator), rather than (Animator, boolean)
which may not be called.

Test: Swipe right to quick switch from home, then swipe back left
(in the same gesture), ensure next quick switch isn't broken.
Bug: 185554764

Change-Id: I53e7526ed5b55fbae9aa654ace70a6ef7561e1d8
2021-05-14 14:49:08 -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
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
Steven Ng 3503e6fa25 Add a scrim underneath the top section of search & recommendation UI
Test: In the full widgets picker, scroll up. Recommended widgets are
      not visible behind the search bar when they overlap.
Bug: 188021019
Change-Id: I13144ad534c74393bb1b12c651e734bb8bee0bc2
2021-05-14 17:03:01 +01: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
TreeHugger Robot 9c8ba573b9 Merge "Fix CastError on SecondaryDisplay" into sc-dev am: c632e36dc0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14530619

Change-Id: If394acff23604c7d0bf923a15a8faf044c36cb10
2021-05-13 17:31:23 +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
TreeHugger Robot c632e36dc0 Merge "Fix CastError on SecondaryDisplay" into sc-dev 2021-05-13 17:12:51 +00:00
Hyunyoung Song 4db10776cb Merge "Use IMM.hideSoftInputFromWindow to close the window" into sc-dev am: e2522016ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14529286

Change-Id: Ib4e57824d9d325e45819be7da1be27649461fbef
2021-05-13 15:36:59 +00:00
Samuel Fufa ff9fcd8e6b Fix CastError on SecondaryDisplay
Bug: 185566696
Test: Manual
Change-Id: I0dbf0edccc40172e802cc197e200a8fb9502b4ec
2021-05-13 10:27:11 -05:00
Hyunyoung Song af6686bf1f Use IMM.hideSoftInputFromWindow to close the window
Bug: 187589678
Test: manual
Change-Id: Id46a36432a03638877f854f32bfa03183c7cb019
2021-05-13 01:13:57 -07:00
vadimt 5e4ecab9d6 Removing pss checks in memory tests am: e2801bcb77
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14523195

Change-Id: I5bb1628a589050b76c1bec5fd5be66d5e92590f6
2021-05-13 06:34:46 +00:00
vadimt e2801bcb77 Removing pss checks in memory tests
Test: presubmit
Bug: 185181057
Change-Id: I4f504f9540b80c62cd3f1024ff1d1b57102f2ed6
2021-05-12 18:57:55 -07:00
TreeHugger Robot 982a984278 Merge "Specify REQUEST_RECONFIGURE_APPWIDGET when dropping on Setup target" into sc-dev am: 91c27f28c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14517560

Change-Id: I8bfff690e5d3415220b2b6df82080179101300e1
2021-05-13 01:25:31 +00:00
TreeHugger Robot 91c27f28c6 Merge "Specify REQUEST_RECONFIGURE_APPWIDGET when dropping on Setup target" into sc-dev 2021-05-13 01:00:22 +00:00
TreeHugger Robot bdc44fe717 Merge "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback"" into sc-dev am: 7c58b4c7dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14518591

Change-Id: Iad4d1e3ac3bcf05e859aec69d09960584416e99c
2021-05-12 23:55:05 +00:00
Jonathan Miranda 0954168e25 Merge "Tuning app close, and turn on flag." into sc-dev am: 951962cd05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14512489

Change-Id: Idef6d593d63191484fa0557c41f3b6fe7b334aec
2021-05-12 23:54:45 +00:00
TreeHugger Robot 7c58b4c7dc Merge "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback"" into sc-dev 2021-05-12 23:37:33 +00:00
Jonathan Miranda 951962cd05 Merge "Tuning app close, and turn on flag." into sc-dev 2021-05-12 23:28:59 +00:00
Tony Wickham 62dbe9827a Specify REQUEST_RECONFIGURE_APPWIDGET when dropping on Setup target
Test: Add a configurable widget to the home screen, drag it to the
Setup drop target, and swipe up to home from the setup page
Fixes: 187839837

Change-Id: I0912317248a33764d4f2a49db73b8fba44dfeca1
2021-05-12 16:19:58 -07:00
Winson Chung 8dbba26e76 Add a content overlay for auto-enter w/o a source hint rect
Bug: 184703546
Test: Swipe up from app with auto-enter but no source hint rect

Signed-off-by: Winson Chung <winsonc@google.com>
Change-Id: Ib6f03dc6b11d37c44d732c75adabf45d1795fefc
2021-05-12 15:19:52 -07:00
Jon Miranda b3a267b58a Tuning app close, and turn on flag.
- Tracks centery, slowed things down a bit

* We will be replacing StaggeredWorkspaceAnim with
  another animation, but I'm keeping it here in
  case we decide to turn the flag off later on.

Bug: 173107751
Test: manual
Change-Id: I5cd54ec374ad07c4912aff125a905b3b1dc7ebd5
2021-05-12 15:04:15 -07:00
Samuel Fufa 5a712a201f Merge "[WorkProfile] Fix Work profile switch synchronization" into sc-dev am: 890240f470
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14520712

Change-Id: Ic8d956f8ba8a212a47194b0aab12b74683ae719f
2021-05-12 21:26:41 +00:00
Winson Chung d7f11d5fb9 Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback"
This reverts commit a75f576890.

Reason for revert: b/187887269
Bug: 187887269

Change-Id: I8a56ff7054e71cf30b113fdaa213397dae0c53cb
2021-05-12 21:25:22 +00:00
Samuel Fufa 890240f470 Merge "[WorkProfile] Fix Work profile switch synchronization" into sc-dev 2021-05-12 21:12:31 +00:00