Commit Graph

49925 Commits

Author SHA1 Message Date
TreeHugger Robot d6911ca742 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b8ad5cb643 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iefee698a924a807ef196b9e7bb5a2c9982687554
2021-06-18 01:51:43 +00:00
TreeHugger Robot 1d2aef6328 Merge "Ensure widgets header is out of the gesture region before clicking" into sc-dev am: 0877cdab7a am: dfc862bd0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15015470

Change-Id: I70f8c6eed8d3a61ec4d3b4fab4e151ca5011b05f
2021-06-18 01:35:18 +00:00
TreeHugger Robot fcd4a6b131 Merge "Fixing Taskbar not initialized properly on recreate" into sc-v2-dev am: cb207ef236
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15019036

Change-Id: I001a9801f8cbf02bbb1e85d35b33e50b20a07315
2021-06-18 01:35:07 +00:00
TreeHugger Robot 47c7f8acaa Merge "Ensure widgets header is out of the gesture region before clicking" into sc-dev am: 0877cdab7a am: f700cab031
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15015470

Change-Id: Ic37a22d8d3618105990b7897445687d57b1d6fee
2021-06-18 01:35:02 +00:00
TreeHugger Robot 4ac3a6d0fe Merge "Ensure widgets header is out of the gesture region before clicking" into sc-dev am: 0877cdab7a am: da4be4d78a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15015470

Change-Id: Ib51a1d3e6f865119ddd57665399ca869a23b4bab
2021-06-18 01:34:50 +00:00
TreeHugger Robot cb207ef236 Merge "Fixing Taskbar not initialized properly on recreate" into sc-v2-dev 2021-06-18 01:34:37 +00:00
TreeHugger Robot b8ad5cb643 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-18 01:32:01 +00:00
Xin Li b62010a6d6 [automerger skipped] DO NOT MERGE - Merge ab/7272582 am: 657d475163 -s ours am: 52e33abeaa -s ours am: b391c3bbe6 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I531ce243f02b80ed7ae5eb8956255e93858311d1
2021-06-18 01:22:54 +00:00
TreeHugger Robot f700cab031 Merge "Ensure widgets header is out of the gesture region before clicking" into sc-dev am: 0877cdab7a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15015470

Change-Id: I2c51d9c474a911f3741df8405708c32cfd591a9a
2021-06-18 01:19:44 +00:00
TreeHugger Robot da4be4d78a Merge "Ensure widgets header is out of the gesture region before clicking" into sc-dev am: 0877cdab7a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15015470

Change-Id: I955b5d8f2db6940e29401c2af62cd82235103790
2021-06-18 01:19:01 +00:00
TreeHugger Robot dfc862bd0f Merge "Ensure widgets header is out of the gesture region before clicking" into sc-dev am: 0877cdab7a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15015470

Change-Id: If55a59d36ade85053e64e0a802fdc6e4178885e5
2021-06-18 01:18:46 +00:00
android-build-team Robot 4d68537f3d Snap for 7468788 from ab4fb243b7 to sc-v2-release
Change-Id: Ibdd571df585461dfec03aec4a0e3c03b4e0de5ac
2021-06-18 01:09:13 +00:00
android-build-team Robot b4b0661913 Snap for 7468789 from efa5df380c to sc-release
Change-Id: I24d17878b0b1a09fafee009238c2bf7c8af1a44a
2021-06-18 01:09:00 +00:00
Xin Li b391c3bbe6 [automerger skipped] DO NOT MERGE - Merge ab/7272582 am: 657d475163 -s ours am: 52e33abeaa -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic23e85f263295cdbade6d4b3b587c74182ba5674
2021-06-18 00:57:08 +00:00
TreeHugger Robot 0877cdab7a Merge "Ensure widgets header is out of the gesture region before clicking" into sc-dev 2021-06-18 00:56:52 +00:00
Xin Li 52e33abeaa [automerger skipped] DO NOT MERGE - Merge ab/7272582 am: 657d475163 -s ours
am skip reason: Merged-In I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd with SHA-1 8786016e85 is already in history

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

Change-Id: I6b24cb86ec0c290d24c6aaf91c2a18875fd513ba
2021-06-18 00:51:51 +00:00
Steven Ng 058308098b Use relative bounds for app widget color extraction
Fix 2 bugs in this CL
1. Before this CL, getBoundsForViewInDragLayer returns absolute bounds
   for widgets. What we want is the bounds of a widget when it is
   visible in the drag layer. ViewGroupFocusHelper#viewToRect has
   taken PagedView into account. This makes it a prefect candidate to
   calculate relative bounds of a widget.
2. requestLayout at the end of endDrag is problematic due to the drop
   animation. If the drop animation is still in progress when onLayout
   is called, the bounds of the widget isn't final. Since the color of
   app widget right before is already the final color. We don't really
   need to update the color extraction.

Test: Set the wallpaper and clock widget according to the bug. Then,
      reboot the device. The clock widget color shown right after
      reboot is the expected color. Long pressing the widget doesn't
      cause a color change.
Fix: 191114337
Change-Id: I466c8102dba0e5b207b3768e0935472cbd523235
2021-06-17 23:25:57 +01:00
Sunny Goyal 4a48a988c8 Simplifying Launcher binding callbacks
> Making all methods as default
> Removing obsolete logic around synchronous binding
> Removing some UI dependencies from bind callbacks

Bug: 187353581
Test: Manual
Change-Id: I0d2bbb060af2cab7c64541d7695055629dfaf0b8
2021-06-17 15:21:01 -07:00
Sunny Goyal deec62378c Fixing Taskbar not initialized properly on recreate
Bug: 187353581
Test: Manual
Change-Id: I6e675937a033a4edcb4fa4e8151c210e14e8f896
2021-06-17 15:19:12 -07:00
Vadim Tryshev 408a702fcb Merge "Improving diagnostics when Launcher dies while in ContentProvider call" into sc-dev am: 26cd946f29 am: 1065e20c30 am: 4ac7a71874
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14991671

Change-Id: Ibf7ccaf782a8ce299e729c04bc9f762013949491
2021-06-17 22:01:21 +00:00
Vadim Tryshev fe5544e395 Merge "Improving diagnostics when Launcher dies while in ContentProvider call" into sc-dev am: 26cd946f29 am: 9947fd85b4 am: 5e90380336
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14991671

Change-Id: I757fc9986492f39ae9bf9763c11aa3124e8e0a1b
2021-06-17 22:00:42 +00:00
Samuel Fufa e79b469986 Allow AllApps to restore current selected tab on activity recreate
This CL also fixes:

- Wrong tab selection on RTL
- Fixes header protection hydraulic scroll issue
- Work toggle button text background contrast

Bug: 186005219
Bug: 191250799
Bug: 191227662
Bug: 191349226
Test: Manual
Change-Id: I3777474c954ed0d542ac38ff552367904be147d3
2021-06-17 16:59:56 -05:00
Xin Li 657d475163 DO NOT MERGE - Merge ab/7272582
Bug: 190855093
Merged-In: I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd
Change-Id: Ia3f31c621d052d2304c2840b6f4d29eb655317cd
2021-06-17 21:57:50 +00:00
Vadim Tryshev 4ac7a71874 Merge "Improving diagnostics when Launcher dies while in ContentProvider call" into sc-dev am: 26cd946f29 am: 1065e20c30
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14991671

Change-Id: If4666d41859a0c7fd2429593277b4d942af01e7e
2021-06-17 21:55:51 +00:00
Vadim Tryshev 5e90380336 Merge "Improving diagnostics when Launcher dies while in ContentProvider call" into sc-dev am: 26cd946f29 am: 9947fd85b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14991671

Change-Id: I667fc64aaff7b2fb49695f565e0407e99cdc5361
2021-06-17 21:43:33 +00:00
Vadim Tryshev 00c509995c Merge "Improving diagnostics when Launcher dies while in ContentProvider call" into sc-dev am: 26cd946f29 am: 5e786cce68
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14991671

Change-Id: Id0165ac02718048839da1071ec179f8a96da7b5d
2021-06-17 21:42:47 +00:00
Vadim Tryshev 1065e20c30 Merge "Improving diagnostics when Launcher dies while in ContentProvider call" into sc-dev am: 26cd946f29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14991671

Change-Id: I6257d9f5af5e237fbfeab0de1946825e677146a7
2021-06-17 21:39:58 +00:00
Vadim Tryshev 5e786cce68 Merge "Improving diagnostics when Launcher dies while in ContentProvider call" into sc-dev am: 26cd946f29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14991671

Change-Id: Idc247cda0081067529352bc389f8144de35eaf3e
2021-06-17 21:34:27 +00:00
Vadim Tryshev 9947fd85b4 Merge "Improving diagnostics when Launcher dies while in ContentProvider call" into sc-dev am: 26cd946f29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14991671

Change-Id: I9920f8a63fb6b37cfb44b64912e0afeffbb7bb25
2021-06-17 21:34:09 +00:00
Bill Yi 5f5b2e2558 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie7cf7ee0a2fc1095e8e59bd41c7ebc5e0fec3678
2021-06-17 21:32:13 +00:00
Schneider Victor-tulias 03c4fa8342 Update gesture nav tutorial back left and right videos
Bug: 188972959
Test: manual
Change-Id: I03aef0ad47f9a648f7a661c607dd3d4f1f2187c4
2021-06-17 14:07:16 -07:00
Vadim Tryshev 26cd946f29 Merge "Improving diagnostics when Launcher dies while in ContentProvider call" into sc-dev 2021-06-17 21:02:24 +00:00
Steven Ng b50d747d20 Log widget dimensions before deleting a widget violating min size
Test: N/A
Bug: 191223844
Change-Id: Id909ee19be1a1c7d70a09643422d9ed62a2d82a9
2021-06-17 21:13:17 +01:00
Samuel Fufa c732386ad3 Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev am: efa5df380c am: d04f68b5ec am: c1134f6a6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15002979

Change-Id: I4ba5086aa1205fd2c1c4bbf631157eafa7af7e71
2021-06-17 19:44:12 +00:00
Zak Cohen 6e1b48c3b2 Merge "Suppress ViewInflationDuringSwipeUp test." into sc-dev am: 1d5debd60d am: 07e0999765 am: e782ccc22a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15013549

Change-Id: Iac37488ff8b1db5ca38e59f211fb30200cfbd33a
2021-06-17 19:43:48 +00:00
Samuel Fufa 6dd9051798 Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev am: efa5df380c am: ab4fb243b7 am: 9efe0682c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15002979

Change-Id: Icfb4c34b04dd52608b2b9eb908ab61081cd8da88
2021-06-17 19:43:01 +00:00
Zak Cohen d6e7c901fd Merge "Suppress ViewInflationDuringSwipeUp test." into sc-dev am: 1d5debd60d am: 6cddbe59d0 am: cf451ccc39
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15013549

Change-Id: I8f556d14ce1458d09e0a41556f5b10e26761974a
2021-06-17 19:39:31 +00:00
Vinit Nayak e91e4f0328 Default to requesting command type TOGGLE for OverviewCommandHelper
Parity with how sysui switches between apps for double
tapping recents button.

Fixes: 190660016
Test: Double tap to switch works, tapping fast also works
Change-Id: If6dda377d8accf564f3385e78c6721c677310361
2021-06-17 12:37:02 -07:00
Samuel Fufa c1134f6a6c Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev am: efa5df380c am: d04f68b5ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15002979

Change-Id: Ib7ef08a919edd4e7e1cd863535b9fba86927c39c
2021-06-17 19:03:31 +00:00
Zak Cohen e782ccc22a Merge "Suppress ViewInflationDuringSwipeUp test." into sc-dev am: 1d5debd60d am: 07e0999765
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15013549

Change-Id: I318387708999c67103e03cd541fc0a73dda445c8
2021-06-17 19:03:24 +00:00
Samuel Fufa 9efe0682c5 Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev am: efa5df380c am: ab4fb243b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15002979

Change-Id: I7c9069a2e2b13bbf65d557c0801a191029e1dfbc
2021-06-17 19:02:58 +00:00
Zak Cohen cf451ccc39 Merge "Suppress ViewInflationDuringSwipeUp test." into sc-dev am: 1d5debd60d am: 6cddbe59d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15013549

Change-Id: I1005dff964c1129d16884e4611ae5a6825209f29
2021-06-17 19:02:51 +00:00
Samuel Fufa 51ebd238ef Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev am: efa5df380c am: 4f597a42ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15002979

Change-Id: Ic5d41653f4d176ab3847a30093d3e7db382c41ad
2021-06-17 19:02:33 +00:00
Zak Cohen 773e961fee Merge "Suppress ViewInflationDuringSwipeUp test." into sc-dev am: 1d5debd60d am: 360d81e308
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15013549

Change-Id: Iae2dcaaf54ac8b7f076f56b2687a93589625b5ba
2021-06-17 19:02:26 +00:00
Samuel Fufa ab4fb243b7 Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev am: efa5df380c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15002979

Change-Id: I71867324537972713cb4660a70f20a4d06b5a012
2021-06-17 18:50:23 +00:00
Samuel Fufa d04f68b5ec Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev am: efa5df380c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15002979

Change-Id: I756b168dac97da362926d26786693e8b1f251f9a
2021-06-17 18:50:15 +00:00
Zak Cohen 07e0999765 Merge "Suppress ViewInflationDuringSwipeUp test." into sc-dev am: 1d5debd60d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15013549

Change-Id: I335125b6718330950a631b110d5350501a02dd5b
2021-06-17 18:50:03 +00:00
Zak Cohen 6cddbe59d0 Merge "Suppress ViewInflationDuringSwipeUp test." into sc-dev am: 1d5debd60d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15013549

Change-Id: I3abdddabaca3da143a2d7803aa97a2f76781ad5b
2021-06-17 18:49:48 +00:00
Samuel Fufa 4f597a42ff Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev am: efa5df380c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15002979

Change-Id: I5187da683a29b96610361cadfaa0931fed489913
2021-06-17 18:49:18 +00:00
Zak Cohen 360d81e308 Merge "Suppress ViewInflationDuringSwipeUp test." into sc-dev am: 1d5debd60d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15013549

Change-Id: Idac925cf7f1957a44a1817c7048d798b8773af80
2021-06-17 18:49:01 +00:00