Commit Graph

36057 Commits

Author SHA1 Message Date
Sunny Goyal ea35a6edcb Merge "Fixing header jump" into sc-v2-dev am: 48b012b148
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15550092

Change-Id: Ie59fd030a058a75346869e854ee3549fb1977580
2021-08-16 18:30:47 +00:00
Sunny Goyal 48b012b148 Merge "Fixing header jump" into sc-v2-dev 2021-08-16 18:20:00 +00:00
Sunny Goyal 77acf12905 Fixing header jump
Linking header position to an empty entry in the recyclerView,
instead of calculating the vertical scroll position. This
allows the header to be in sync with the recyclerView scroll and
item animations

Other simplifications:
> Moving top collapse handle out of header view (it doesn't scroll)
> Removing background clipping logic from full-sheet
> Moving tab bar inside the header view

Bug: 196464142
Test: Verified on device
Change-Id: Iae5a0ae9af7ce258e1b391b8e85c5c270fe56197
2021-08-16 09:45:14 -07:00
Dave Mankoff 685338f7c6 Merge "Pass main executor to PluginInstanceManager.Factory." into sc-v2-dev am: 9847a6a75b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558874

Change-Id: If1b3510161b952ef3df9876810f314dd771d84e1
2021-08-16 15:23:45 +00:00
Dave Mankoff cc81d631b5 Merge "Pass Executor to to PluginInstanceManager.Factory." into sc-v2-dev am: d72a60f953
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558873

Change-Id: I23f99561eecd0d2f705d5a2166b9e1e17aa7666a
2021-08-16 15:22:34 +00:00
Dave Mankoff 9847a6a75b Merge "Pass main executor to PluginInstanceManager.Factory." into sc-v2-dev 2021-08-16 15:05:20 +00:00
Dave Mankoff d72a60f953 Merge "Pass Executor to to PluginInstanceManager.Factory." into sc-v2-dev 2021-08-16 15:04:52 +00:00
TreeHugger Robot d393a1ce9f Merge "Removing unnecessary logging" into sc-v2-dev am: 32e573162d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15535164

Change-Id: I6493664251d01e53ee267b886d006bdf64f6ffd1
2021-08-16 10:36:58 +00:00
TreeHugger Robot 4a9bf5ab91 Merge "Removing old workaround" into sc-v2-dev am: 77c08b045e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15535538

Change-Id: I90431ad3e1773c909d94fc7b0aeacf77c439af24
2021-08-16 10:36:53 +00:00
TreeHugger Robot 32e573162d Merge "Removing unnecessary logging" into sc-v2-dev 2021-08-16 10:22:34 +00:00
TreeHugger Robot 77c08b045e Merge "Removing old workaround" into sc-v2-dev 2021-08-16 10:21:45 +00:00
TreeHugger Robot e46b0caee1 Merge "Removing old workaround" into sc-v2-dev am: e22e3aaa9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15534469

Change-Id: Ie05de12b6a74e7cb7f0582791d264ae2557031dd
2021-08-16 07:01:19 +00:00
TreeHugger Robot e22e3aaa9a Merge "Removing old workaround" into sc-v2-dev 2021-08-16 06:45:19 +00:00
TreeHugger Robot 33120900b8 Merge "Constrain scroll amount" into sc-v2-dev am: 348065811f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15564665

Change-Id: Ib61704ae9fd492a7569e191059f3de0acc560073
2021-08-14 01:11:33 +00:00
TreeHugger Robot 348065811f Merge "Constrain scroll amount" into sc-v2-dev 2021-08-14 00:57:13 +00:00
TreeHugger Robot e1b5c7b417 Merge "Revert "Not using shell command to enable test provider"" into sc-v2-dev am: a4937b2270
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15562850

Change-Id: I1e4f48f0d0fc375c13091297c30cc0f73f454010
2021-08-13 23:37:21 +00:00
Dave Mankoff f3658027c3 Merge "Changes to the signature of PluginManagerImpl." into sc-v2-dev am: 78f9648aec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558514

Change-Id: I886ec469bea76555fa07452c4f730ed17cd7e456
2021-08-13 23:29:45 +00:00
TreeHugger Robot a4937b2270 Merge "Revert "Not using shell command to enable test provider"" into sc-v2-dev 2021-08-13 23:27:18 +00:00
Lucas Dupin b259a896f5 Constrain scroll amount
Test: scroll vertically and horizontally
Fixes: 196309367
Change-Id: Ibf16fb72cf95e29ed820d5f511e764a388c93bb0
2021-08-13 15:57:41 -07:00
Alex Chau 298db67fd8 Merge "launcher: hide grid options for foldables" into sc-v2-dev am: 0cba30e990
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472531

Change-Id: Ifd297a22641a8d3a074c27d637ee895a1fc24de0
2021-08-13 21:59:14 +00:00
Vadim Tryshev 169c4e88cd Revert "Not using shell command to enable test provider"
This reverts commit 5f80e92bda.

Reason for revert: We need to see if this has caused b/196586808

Bug: 196586808
Test: presubmit
Change-Id: I078f0d4e83f5f1db19e9e0a5afec4f3058156745
2021-08-13 21:56:07 +00:00
TreeHugger Robot 9f76d9d09a Merge "launcher: correct the amount of padding for preview" into sc-v2-dev am: f952fd9256
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547452

Change-Id: I1aa02ab7eb194e41a4ecce64a9d849c0d64c0fb6
2021-08-13 21:40:54 +00:00
Dave Mankoff 78f9648aec Merge "Changes to the signature of PluginManagerImpl." into sc-v2-dev 2021-08-13 21:12:40 +00:00
Alex Chau 0cba30e990 Merge "launcher: hide grid options for foldables" into sc-v2-dev 2021-08-13 20:44:34 +00:00
TreeHugger Robot e9974d7d4c Merge "Removing some instrumentation for a workarounded bug" into sc-v2-dev am: 87cf3efe06
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15524189

Change-Id: I0172730d135c4584db080447892a498cbca4e876
2021-08-13 20:26:05 +00:00
TreeHugger Robot f952fd9256 Merge "launcher: correct the amount of padding for preview" into sc-v2-dev 2021-08-13 19:19:18 +00:00
TreeHugger Robot 87cf3efe06 Merge "Removing some instrumentation for a workarounded bug" into sc-v2-dev 2021-08-13 18:42:22 +00:00
Thales Lima dab1b2922c launcher: correct the amount of padding for preview
The padding on left and right should be added only on the left for left
page and only on the right for right page.

Fixes: 195410512
Test: open Wallpaper & Style and check the space between the pages
Change-Id: Ib27c632d2fb07d4708bd101e555e14e31a26ff9d
2021-08-13 18:22:26 +01:00
Thales Lima 7ec8382044 launcher: hide grid options for foldables
Some grid options are too dense for foldables (those with 5 icons), so
we are hiding them on those devices.

This also move the parsing to be done on InvariantDeviceProfile only.

Fixes: 183140646
Test: open Wallpaper & style and change app grid options
Change-Id: I771571db02709db5d0f814236060c57ce0180cd1
2021-08-13 16:07:05 +00:00
Dave Mankoff 630ae94833 Pass main executor to PluginInstanceManager.Factory.
Bug: 194781951
Test: manual
Change-Id: I1667023887e0c8d1dc86fce1717a3032b6721684
2021-08-13 10:18:01 -04:00
Dave Mankoff 1d5e1dc8d1 Pass Executor to to PluginInstanceManager.Factory.
Bug: 194781951
Test: manual
Change-Id: I6dc699869d041aab8f5d1e7a128b4f67adfd78dc
2021-08-13 10:16:09 -04:00
Dave Mankoff 13f50b9898 Changes to the signature of PluginManagerImpl.
Bug: 194781951
Test: manual
Change-Id: Iafc5232dfdb1cc1c554de925c2f0d2ad5f6439e2
2021-08-13 10:01:42 -04:00
Ben Lin c3d09d22c1 Merge "Do not set user active hints when Shell Transition is on." into sc-v2-dev am: 99b5d13952
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15524184

Change-Id: I1440056c2a451a241ed7b2b55810db958d599c14
2021-08-13 08:41:26 +00:00
TreeHugger Robot 0cce835cf7 Merge "Restoring generating artifacts" into sc-v2-dev am: 73ad3abc29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547434

Change-Id: Ia9b596701d4d46782c825ff3a37e4da26e91ee81
2021-08-13 04:58:02 +00:00
TreeHugger Robot 39a93b1d8d Merge "Update two panel specific launcher home icon sizing" into sc-v2-dev am: 00d0ce9b3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472539

Change-Id: I5d2fbfd71d5d69f3343854e94498ed5c23c84770
2021-08-13 01:26:37 +00:00
Ben Lin 99b5d13952 Merge "Do not set user active hints when Shell Transition is on." into sc-v2-dev 2021-08-13 01:09:19 +00:00
TreeHugger Robot 73ad3abc29 Merge "Restoring generating artifacts" into sc-v2-dev 2021-08-13 00:44:57 +00:00
TreeHugger Robot 841a4fec3c Merge "Not using shell command to enable test provider" into sc-v2-dev am: 7d87779deb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15533100

Change-Id: Ia359325ff80abaa1a43d52207d01085d0f700d38
2021-08-12 23:14:39 +00:00
vadimt 303298de84 Restoring generating artifacts
Bug: 189874683
Test: presubmit
Change-Id: I82503900a8b7ce916a54437456007dec00016c47
2021-08-12 16:04:05 -07:00
Ben Lin 1e49216401 Do not set user active hints when Shell Transition is on.
Previously, we hint at user active in order to let the launcher know at
an earlier time that the user is about to go home, to provide PiP a
shelf offset. However with Shell Transitions, this is now being done
instantly as the launcher activity is resumed right as user touches down
on the gesture pill. We then no longer need this for shell transitions.

Bug: 165793917
Test: Enable Shell Transitions, go home to enter PIP, and open another
app - see that PIP auto moves downward now that shelf height has changed

Change-Id: I347c885425ce820a42ebfcc15082862d04aa1a7d
2021-08-12 15:17:31 -07:00
TreeHugger Robot 00d0ce9b3b Merge "Update two panel specific launcher home icon sizing" into sc-v2-dev 2021-08-12 21:47:25 +00:00
Brian Isganitis e562968cde [automerger skipped] Merge "Update preferences to Material Next styling" into sc-qpr1-dev am: e52a4e39af -s ours am: e0c4a090d8 -s ours
am skip reason: Merged-In I346bbf819f3fe1eb13b47125b53c15baab11e439 with SHA-1 93031bc2ae is already in history

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

Change-Id: I9856d8862dda81e6bfc3e77117f6bf8c1342ff34
2021-08-12 21:36:20 +00:00
Brian Isganitis 5850c24e06 [automerger skipped] Merge "Update preferences to Material Next styling" into sc-qpr1-dev am: e52a4e39af am: 64e6402b2a -s ours
am skip reason: Merged-In I346bbf819f3fe1eb13b47125b53c15baab11e439 with SHA-1 93031bc2ae is already in history

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

Change-Id: Iff24d0b2d4abebfc032124a8f5f1aadf6a762a05
2021-08-12 20:11:28 +00:00
TreeHugger Robot 7d87779deb Merge "Not using shell command to enable test provider" into sc-v2-dev 2021-08-12 19:40:19 +00:00
Brian Isganitis e0c4a090d8 [automerger skipped] Merge "Update preferences to Material Next styling" into sc-qpr1-dev am: e52a4e39af -s ours
am skip reason: Merged-In I346bbf819f3fe1eb13b47125b53c15baab11e439 with SHA-1 93031bc2ae is already in history

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

Change-Id: I56c47fca463c096fd4164f0d9d4a8472412ce241
2021-08-12 19:19:57 +00:00
Brian Isganitis 64e6402b2a Merge "Update preferences to Material Next styling" into sc-qpr1-dev am: e52a4e39af
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15521744

Change-Id: I766caf3f347fec9ba91679726d76f40033009cf0
2021-08-12 19:17:29 +00:00
Brian Isganitis e52a4e39af Merge "Update preferences to Material Next styling" into sc-qpr1-dev 2021-08-12 18:57:49 +00:00
TreeHugger Robot 3c7c23aa02 Merge "Clean up test logging and ScreenRecord" into sc-v2-dev am: 662af98956
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15542317

Change-Id: I53ccca4501c95f942c71959bbf22c55dcb59c2bd
2021-08-12 18:20:47 +00:00
Andras Kloczl 30fe9152d5 Update two panel specific launcher home icon sizing
Test: manual
Bug: 191879424
Change-Id: I4f51616004d78036ad801298bb5ba72af8de3f30
2021-08-12 18:46:01 +01:00
vadimt 5f80e92bda Not using shell command to enable test provider
Shell command can kill app

Test: presubmit
Bug: 188806432
Change-Id: Id512eb16d26cc4b324574a2a6a15f4805e426b9f
2021-08-12 10:28:45 -07:00