Commit Graph

9143 Commits

Author SHA1 Message Date
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
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
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
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
Samuel Fufa 9e4a9bc777 [WorkProfile] Fix Work profile switch synchronization
Bug: 185566696
Bug: 185557440
Test: Manual
Change-Id: Ie9c94c6daee233d299aa63dc5bcb258a37c321e4
2021-05-12 20:40:20 +00:00
TreeHugger Robot 98b1af0fbf Merge "Fix widget drop animation" into sc-dev am: 2d0715f45c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14518617

Change-Id: I808d41c1fea2801fc0c130b377701f6c4c7e6fb4
2021-05-12 20:03:24 +00:00
TreeHugger Robot 2d0715f45c Merge "Fix widget drop animation" into sc-dev 2021-05-12 19:46:13 +00:00
Vinit Nayak 5de86819af Merge "Prevent thumbnails from shifting if placeholder view doesn't overlap" into sc-dev am: 3f349db912
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14441329

Change-Id: Ic46cf7642beaeaa6b532328f4ffca15ce95e6261
2021-05-12 18:06:44 +00:00
Hyunyoung Song 876d511bba Merge "Implement overshoot and squish motion in all apps open" into sc-dev am: afd470fc69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14492394

Change-Id: Icdf81a9fc26b8c3082d2969bb4b6ab05ed74e0f3
2021-05-12 18:06:33 +00:00
Vinit Nayak 3f349db912 Merge "Prevent thumbnails from shifting if placeholder view doesn't overlap" into sc-dev 2021-05-12 18:04:49 +00:00
Hyunyoung Song afd470fc69 Merge "Implement overshoot and squish motion in all apps open" into sc-dev 2021-05-12 17:51:31 +00:00
Sunny Goyal 80b25cfd5d Fix widget drop animation
When removing content from the dragView, replace it with a snapshot
so that the preview remains the same

Test: Drag a widget and observe the drop animation is shown.
Bug: 187423667
Change-Id: I1e726f50a2b3d0a5f1562297cccf47a435affd02
2021-05-12 09:58:05 -07:00
Jonathan Miranda eb42017a32 Merge "Remove color extraction from popup arrow, add shadows." into sc-dev am: d95aa5a5d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14471367

Change-Id: I523a35d5fe2ebcae0a8d9c740d2ddb0f313aee91
2021-05-12 16:05:45 +00:00
Jonathan Miranda d95aa5a5d7 Merge "Remove color extraction from popup arrow, add shadows." into sc-dev 2021-05-12 15:47:43 +00:00
Andy Wickham 459c3a2f16 Merge "Update gesture navigation tutorial." into sc-dev am: 53a44a2e51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14341983

Change-Id: I2f26c9d8154fb81fb88dba4e3ede514fd7c72a42
2021-05-12 10:02:02 +00:00
Andy Wickham 53a44a2e51 Merge "Update gesture navigation tutorial." into sc-dev 2021-05-12 09:31:44 +00:00
Jonathan Miranda bda692a6af Merge "Fix contrast issue with folder background and text colors." into sc-dev am: d75f89c6c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14506765

Change-Id: I2b0173d1206c24a8cc3b4c55ae03529578b27165
2021-05-12 03:32:08 +00:00
Jonathan Miranda d75f89c6c0 Merge "Fix contrast issue with folder background and text colors." into sc-dev 2021-05-12 01:49:26 +00:00
TreeHugger Robot 28928e6e20 Merge "Extra logging related to widget removal upon restore" 2021-05-12 01:45:58 +00:00
Schneider Victor-tulias e3af6c6513 Update gesture navigation tutorial.
- Updated gesture navigation feedback videos.
- Added feedback motion loop videos.
- Updated strings.
- Added alternate strings for when the user launches tutorial steps from the Tips app.

Test: manual
bug: 169687177
Change-Id: I87d475e1510a25ffefea14dbd0b224a063e7cad8
2021-05-11 18:14:29 -07:00
Jon Miranda 35c5477d5c Remove color extraction from popup arrow, add shadows.
Bug: 175329686
Bug: 187014675
Test: manual

Change-Id: I84a3f23b7a9ceef004a2b1b66e5f8a10585bd113
2021-05-11 17:35:01 -07:00
TreeHugger Robot 3e0c115196 Merge "Use SP for folder text size." into sc-dev 2021-05-12 00:30:36 +00:00
Pinyao Ting 655ac082c2 Extra logging related to widget removal upon restore
As observed in b/187799223, widgets are removed after restore. We cannot
identify the root cause from the bugreport. This CL includes more
logging in the hope of identifying the root cause.

Bug: 187799223
Test: manual
Change-Id: Ibdc9876716028592d17beac4542e1d8c498f9e4c
2021-05-11 17:28:03 -07:00
Jon Miranda 7bbd03160f Fix contrast issue with folder background and text colors.
Bug: 187797251
Test: dark wallpaper, light wallpaper, toggle dark theme on both
Change-Id: I57ddfc91878d68735d5ae5ec5ab78222fda101ca
2021-05-11 17:01:53 -07:00
Jon Miranda af3aed0c4a Use SP for folder text size.
Bug: 156141463
Test: change font size, verify folder text size changes
Change-Id: I7e479d76c9f16c5b42cabfbae63494ef98b6dc27
2021-05-11 16:14:09 -07:00
Hyunyoung Song 1553f4dfae Merge "Revert "Don't crash on dialer app target search results"" into sc-dev 2021-05-11 23:13:13 +00:00
TreeHugger Robot d30f4ce528 Merge "hide keyboard onStop and onNewIntent" into sc-dev 2021-05-11 23:08:53 +00:00
TreeHugger Robot d7c6e44ba9 Merge "Exposing AnimatorListeners in StateManager to receive both success and failure callback" into sc-dev 2021-05-11 22:21:42 +00:00
Winson Chung 76e27f6d5d Merge "End scroller if it has already reached the final position" into sc-dev 2021-05-11 21:52:45 +00:00
Hyunyoung Song 5ee7c13c60 hide keyboard onStop and onNewIntent
Bug: 183062683
Test: manual

Change-Id: I4c69c8ff87d827552e6b77424ce4b17edfb22966
2021-05-11 14:03:05 -07:00
Sunny Goyal a75f576890 Exposing AnimatorListeners in StateManager to receive both success and failure callback
Updating various callers to use onSuccess or onEnd appropriately

Test: Manual
Bug: 185554764
Change-Id: I357dd1fdbe111e7a30d4c8dee520fbd7d9956b7d
2021-05-11 13:53:14 -07:00