Commit Graph
60459 Commits
Author SHA1 Message Date
Stevie Kideckel 5fc74c7f8f Add start to widget app name layout gravity
This fixes the alignment issue in RTL. Seems like the default is start
if layout_gravity isn't set, but if you set layout_gravity to
center_vertical, you need to explicitly set start or it will go to the
left.

Bug: 188147009
Test: validated locally and in AS layout preview
Change-Id: Ic4b4d7e6dfe03e1e6dd3ead5c3821e77261b4bb5
2021-05-14 12:37:44 +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
android-build-team Robot d685c101f2 Snap for 7360427 from d3e0e8da39 to tm-release
Change-Id: I5368a1d1d58193c41d5f013afd47651b380ff2c9
2021-05-14 03:12:31 +00:00
android-build-team Robot 359f015c01 Snap for 7360053 from e010332efd to sc-v2-release
Change-Id: I5172bf62e3f42802e80eb5071bd47bf4a86878bd
2021-05-14 01:09:01 +00:00
android-build-team Robot f6f56b53c1 Snap for 7360053 from e010332efd to sc-release
Change-Id: I102c5da168b1998edba3fcda2651c8a707369fa0
2021-05-14 01:08:19 +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 4f68e53a4c Merge "Enable free scroll immediately if gesture goes to overview" into sc-dev am: e010332efd am: 4c087a37a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425538

Change-Id: Id9b60dab440c309a70a9767dce7b03919044fcb7
2021-05-13 21:57:31 +00: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 d3e0e8da39 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: I8699632cbda9e864d98271946b6e76dd7dbb64a4
2021-05-13 21:41:34 +00:00
TreeHugger Robot bcf3cd3c5d 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: I0ce2a9895a70c9478993369fbf850305b1926e21
2021-05-13 21:41:27 +00: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 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 e9741e2342 Merge "Remove mOnRecentsScrollListener when continuing quick switch gesture" into sc-dev am: 1eea52296b am: 7cd6c3b936
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14517561

Change-Id: I0cdb408d12218c5f2aeb99a086b666b771bc596b
2021-05-13 20:01:25 +00:00
Tony Wickham 763fd24cf2 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: I9c2cd6c81f6eebe0840745bb7b13f007090deff2
2021-05-13 20:01:14 +00:00
Tony Wickham bbc5dfffc0 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: I69f77a897b43b3990a85bf1f1381c64c178f380a
2021-05-13 20:01:06 +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
Cyrus Boadway 57820d15be Merge "Register a remote animation for the next activity start" into sc-dev am: a1d303e531 am: 50fc77bd57
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14530596

Change-Id: I9dd62dd9135589e9531532b8a1f7bcb703e12f82
2021-05-13 19:51:48 +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
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
Cyrus Boadway 8acafe1292 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: I484f1a0d2a49406354c3149917c3af056a320274
2021-05-13 19:42:19 +00:00
Cyrus Boadway eb4e092720 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: I2382ef7963a5fb6366707bb149771dfc8482a862
2021-05-13 19:42:19 +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 38ddefed42 Merge "Skip setting up ui if the handler is already invalidated" into sc-dev am: 549ea0b3a9 am: ef0715253c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14526506

Change-Id: I1f1081bff199aa74c959e112f07c8bb850f8b777
2021-05-13 17:54:12 +00:00
TreeHugger Robot 1d02449072 Merge "Fix CastError on SecondaryDisplay" into sc-dev am: c632e36dc0 am: 1fdda956d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14530619

Change-Id: I20e67919b9e5f6734aa29748a893e5f60fa7dafd
2021-05-13 17:53:56 +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 923f93eb25 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: Idfd4c3637568ab01338542e29a7d67637f2a6348
2021-05-13 17:31:49 +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 936647d987 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: I9d45ac41e3cbdbb503eaa10952deb071c78e4ef8
2021-05-13 17:31:35 +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
TreeHugger Robot 5c8c6160ea 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: I206b4292e82800de060476d38866cfdc2944e809
2021-05-13 17:31:22 +00:00
TreeHugger Robot 7a30412453 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: I8b7c1bb955542859dd02aca5117b7b8439a819ba
2021-05-13 17:31:04 +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 48a5787a40 Merge "Use IMM.hideSoftInputFromWindow to close the window" into sc-dev am: e2522016ae am: fea6573bd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14529286

Change-Id: Iafe8aced9d9dac3620ec599605a558751e8c81bd
2021-05-13 15:52:18 +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
Hyunyoung Song bd2c2d915d 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: Iadf89597ce64ff695c095882fa62124a74b154de
2021-05-13 15:37:01 +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
Hyunyoung Song a61000a15e 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: I76f9fe875b28637e3273783746fc4b8d1ec26613
2021-05-13 15:36:53 +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 5364e255c1 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-05-13 14:40:52 +00:00
TreeHugger Robot b39b28e0a1 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 4b374c6680 -s ours am: 19a612101e -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: I6e7bb73061991dae2c83c034c9788e9c70abb6af
2021-05-13 14:36:48 +00:00
TreeHugger Robot 829b119495 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 72aa0c119d -s ours am: 75ad98bdd3 -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: If074a9a00899565cd807c43ce0b3123d678711a4
2021-05-13 14:36:45 +00:00