Commit Graph

32521 Commits

Author SHA1 Message Date
Bill Yi e48fe79094 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia9d6d11844c82a4f09ec407d1c0ac1ed2e1b1c34
2021-05-17 10:51:13 +00:00
Yogisha Dixit 37b3752a86 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: Ib7e3be636676715c15b77fd88d2ad4f180ef8c79
2021-05-15 15:37:18 +00:00
Yogisha Dixit 07449132fb Merge "Log widget features." into sc-dev 2021-05-15 15:07:40 +00:00
Winson Chung 854122d6d4 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: I534c4e13c17e743bad7a74a02b796b1284420c68
2021-05-15 00:11:59 +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 955667fa97 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: Ide306dc0cd64e451e71beb094623159ebfe4acbc
2021-05-14 22:33:20 +00:00
Tony Wickham 41c73d4a23 Merge "Fix AnimatorListeners.forEndCallback()" into sc-dev 2021-05-14 22:18:58 +00:00
Zak Cohen 15166bb0c2 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: I5e4684aedade60c9d6fa68790c2142fdbefcb955
2021-05-14 22:07:33 +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
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
Vadim Tryshev 6451a2e17b 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: Icf2c1fc87e5c6ea50076d233e0154708ed2ce9ae
2021-05-14 18:36:57 +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 aa1e9d0722 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: Iab359da0cff78ca925391aee96c4e46dfc49cd33
2021-05-14 17:56:58 +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
Sunny Goyal 6a5774a165 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: I1aab84991ff354638307f12e44cdb7c9c11706ab
2021-05-14 16:06:44 +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
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 4c087a37a2 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: I465d062f328d7193b3cdb153645a44991e116394
2021-05-13 21:28:05 +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 7cd6c3b936 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: Ica8ffb2f1279f424bf2357f78157e8eaaf65d271
2021-05-13 19:54:00 +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 50fc77bd57 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: I7699c931d91801b4a27ca20fd5a92211a7e7dcf4
2021-05-13 19:44:35 +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 ef0715253c 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: I3cd400170a2e34b67ecc4f6eaf2ce43493ac0fe6
2021-05-13 17:33:08 +00:00
TreeHugger Robot 1fdda956d3 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: I466bb182050a30717d7e7027514b70f59a05e4c5
2021-05-13 17:32:26 +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
TreeHugger Robot c632e36dc0 Merge "Fix CastError on SecondaryDisplay" into sc-dev 2021-05-13 17:12:51 +00:00
Hyunyoung Song fea6573bd5 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: I19421c3e47c21b760da2f6e1e0557a035a97893b
2021-05-13 15:38:38 +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 e2522016ae Merge "Use IMM.hideSoftInputFromWindow to close the window" into sc-dev 2021-05-13 15:23:44 +00:00
TreeHugger Robot 19a612101e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 4b374c6680 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14528754

Change-Id: I7ff2291aaecfe506118593272a98608f82891e8e
2021-05-13 14:23:49 +00:00
TreeHugger Robot 75ad98bdd3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 72aa0c119d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14528752

Change-Id: I1e46f2a36333a34171a423d275e41055f8aa351c
2021-05-13 14:23:44 +00:00
TreeHugger Robot c193502c22 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 1634de1d18 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14528753

Change-Id: I29c267bb1647703054d43e52f7680c83bcd096f2
2021-05-13 14:23:36 +00:00
TreeHugger Robot 4b374c6680 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-13 14:09:49 +00:00
TreeHugger Robot 72aa0c119d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-13 14:09:18 +00:00
TreeHugger Robot 1634de1d18 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-13 14:06:53 +00: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
TreeHugger Robot 98c4dabc39 Merge "Add workaround for testing Launcher3Tests" into sc-dev am: 85584c9eba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14409278

Change-Id: Iba806b075323786fcca4ad9deca7414851e3c46b
2021-05-13 08:03:32 +00:00
TreeHugger Robot 85584c9eba Merge "Add workaround for testing Launcher3Tests" into sc-dev 2021-05-13 07:42:47 +00:00
Bill Yi 57d250944a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I01c33a3b97106b9b40c6175118e9d47153d8599c
2021-05-13 07:40:05 +00:00
Bill Yi 6b2be3789c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia6bc84a966d24fa30a9a5d812c76bd18066acf31
2021-05-13 07:39:28 +00:00
Bill Yi 2a99f41b95 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iadb532dd2ccc98ba1437e944adf69a9ffb62fba2
2021-05-13 07:38:56 +00:00
vadimt 7b3b03a68a Removing pss checks in memory tests am: e2801bcb77
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14523195

Change-Id: I371fc331ca957b5ce270db841928d70b4829caee
2021-05-13 06:36:20 +00:00
Winson Chung af7c86ada5 Skip setting up ui if the handler is already invalidated
- Also unregister the task stack listener in case the restart
  message comes in right before the animation is finished

Bug: 186760990
Test: Swipe up/quickswitch repeatedly
Change-Id: I5af7a26f05e7c15e099d6666e4662fd1af9aa861
2021-05-12 20:33:32 -07:00
vadimt e2801bcb77 Removing pss checks in memory tests
Test: presubmit
Bug: 185181057
Change-Id: I4f504f9540b80c62cd3f1024ff1d1b57102f2ed6
2021-05-12 18:57:55 -07:00