TreeHugger Robot
702addbbb0
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 51d7cda483 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14822032
Change-Id: Ic28ee1b20441829b3720e4b735b309d04893618d
2021-06-04 00:32:15 +00:00
Bill Lin
3cd0827e0b
Merge changes I7b9e6e7f,I9729cd40 into sc-dev am: 51b35256d2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800258
Change-Id: I49ebbfb13c1ab1fa96daa1d1a5f313f7b5c3b49f
2021-06-04 00:32:08 +00:00
TreeHugger Robot
51d7cda483
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-06-04 00:20:35 +00:00
Bill Lin
51b35256d2
Merge changes I7b9e6e7f,I9729cd40 into sc-dev
...
* changes:
2/ Notify adjust touch slop when one handed mode activated
1/ Provides feasibility to adjust touch slop in TouchController
2021-06-04 00:16:12 +00:00
Brian Isganitis
f8bb57f034
Show toolbar back button on subsettings pages am: 6afcfd7cbd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14741513
Change-Id: I9cce39b604bf345bf6dabb3d9cca999c924cc876
2021-06-03 22:38:12 +00:00
Brian Isganitis
064404f5d2
Pad bottom of settings list view with bottom system insets am: ed49a7187d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14738959
Change-Id: I4ea9acfc3fc621bfb53cfe276d4b7ba056d8f627
2021-06-03 22:38:11 +00:00
Brian Isganitis
6afcfd7cbd
Show toolbar back button on subsettings pages
...
Test: Back button displayed and functional on subsettings
Bug: 187732263
Change-Id: I6a3679de3a00480f5a0861f966d178be25f001d4
2021-06-03 17:04:33 -04:00
Brian Isganitis
ed49a7187d
Pad bottom of settings list view with bottom system insets
...
This change allows for a transparent navigation bar in the settings Material next redesign.
Test: Bottom of settings not cut off by bottom navigation bar
Bug: 187732263
Change-Id: I237011003ca0c3760c0fbdbb2865ef90c19d7b81
2021-06-03 17:02:05 -04:00
Jonathan Miranda
7a2587c5a2
Merge "Only inset widgets if workspaceTopPadding is greater than the widget padding." into sc-dev am: 3ed65ede16
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14823934
Change-Id: I5f7a5bd4775e9350d63e69085574400a0b5ae43e
2021-06-03 20:41:41 +00:00
Jonathan Miranda
3ed65ede16
Merge "Only inset widgets if workspaceTopPadding is greater than the widget padding." into sc-dev
2021-06-03 20:23:18 +00:00
Bill Yi
77811638c7
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I2aeaa7f42eb543dc89898042289ba5baf91da4ca
2021-06-03 19:02:15 +00:00
Bill Lin
a1221bcd53
2/ Notify adjust touch slop when one handed mode activated
...
When one handed mode activated, user swipe-up to exit usually
cross over the NavBar region, and then invoke TouchController
intercept touch event to trigger All Apps drawer on Home.
To enhanced the UX of gesture conflict of exit OHM & All Apps,
notify TouchController throught LauncherActivityInterface,
and Launcher dispatch onOneHandedModeStateChanged() event to
all mTouchControllers in DragLayer that touchController can
adjust the touch slop by it's SingleAxisSwipeDetector.
Test: manual trigger One handed mode and swipe-up to exit
Test: monitor minDisplacement of SingleAxisSwipeDetector
OHM activated : touchSlop x multiplier
OHM deactivated : touchSlop x 1
Test: check All Apps doesn't mis-trigger when exit one handed mode
Bug: 186235522
Change-Id: I7b9e6e7fa898231697d1866186a5f9b1717a9aa3
2021-06-04 01:44:51 +08:00
Bill Lin
945bb34b5e
1/ Provides feasibility to adjust touch slop in TouchController
...
There is a case when one handed mode triggered(Activated), all apps
drawer is very easy to trigger while user swipe up around NavBar
region to exit one handed mode. Since System Gesture monitor regsion
is small on screen bottom, swipe-up gesture usually cross over NavBar
monitor region and invoke launcher touch controller intercept touch
event and introduce unexpectedly trigger all apps drawer.
Adding onOneHandedModeStateChanged(boolean activated) for controller
be able to adjust the touch slop by multiplier, we can set a larger
multiplier when the visible window size translate become smaller
and make swipe gesture not too sensitive.
Test: manual swipe up to swich "home <-> all apps" and monitor
minDisplacement of SingleAxisSwipeDetector
Test: Trigger one handed mode and swipe up to exit one handed mode
check the minDisplacement of SingleAxisSwipeDetector
Bug: 186235522
Change-Id: I9729cd408d85b2b22582bf800e28d1471fc06980
2021-06-04 01:44:50 +08:00
Zak Cohen
15eb8fef8e
Merge "RecentsView - reduce work in color tint animator" into sc-dev am: d7129fc919
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803765
Change-Id: I05fdec6d737ac56f178aa000eee39e8686dfb673
2021-06-03 17:25:22 +00:00
Zak Cohen
d7129fc919
Merge "RecentsView - reduce work in color tint animator" into sc-dev
2021-06-03 17:09:45 +00:00
Jon Miranda
4981118478
Only inset widgets if workspaceTopPadding is greater than the widget padding.
...
This prevents widget from becoming too close to status bar.
Bug: 189724771
Test: manual
Change-Id: I86f83b6a35bd2802bdbdf175340a379b498f481d
2021-06-03 09:54:45 -07:00
Stevie Kideckel
42dbf75cfa
Merge "Scroll to the selected widget picker row after headers are clicked" into sc-dev am: f15214597e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800533
Change-Id: If870fc11eda65ab06445240dbd83887b65267f16
2021-06-03 14:28:19 +00:00
Stevie Kideckel
f15214597e
Merge "Scroll to the selected widget picker row after headers are clicked" into sc-dev
2021-06-03 14:15:00 +00:00
Shawn Lin
38772ef664
Merge "Detach the nav once the endTarget is determined as HOME" into sc-dev am: cd0fe7b057
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14811742
Change-Id: Id2b2cbbc78f9c6e0ca66f8a8498500d723de8683
2021-06-03 12:02:51 +00:00
Shawn Lin
cd0fe7b057
Merge "Detach the nav once the endTarget is determined as HOME" into sc-dev
2021-06-03 11:47:50 +00:00
Stevie Kideckel
9cbd6cdf14
Merge "Use the LayoutManager as the source of truth for visible positions" into sc-dev am: 5cc44eb73e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800536
Change-Id: I1b23513a08ba8bf7dc8cd605098148517fefea41
2021-06-03 11:06:46 +00:00
Alina Zaidi
db5080363b
Merge "Update scrim in widget pickers." into sc-dev am: c599c90eaa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14776603
Change-Id: Idd91f061ccd5b814a8bce72089b897d3fa3427c9
2021-06-03 11:06:41 +00:00
Stevie Kideckel
5cc44eb73e
Merge "Use the LayoutManager as the source of truth for visible positions" into sc-dev
2021-06-03 11:00:32 +00:00
Alina Zaidi
c599c90eaa
Merge "Update scrim in widget pickers." into sc-dev
2021-06-03 10:42:29 +00:00
Stevie Kideckel
eb367e471b
Scroll to the selected widget picker row after headers are clicked
...
This keeps the row in view. Currently, this will scroll the row to the
centre-bottom of the screen due to the top padding being double counted,
but that will remedied in a future CL.
This also resolves the issue where the last row's widgets aren't visible
by handling that case specially
Fix: 188665456
Bug: 183378651
Test: verified locally
Change-Id: I9acb9087a8cdaf130ac5955c810c96462b368f36
2021-06-03 09:48:21 +00:00
Stevie Kideckel
abd33b38e2
Use the LayoutManager as the source of truth for visible positions
...
During animations, the view group child may not correspond to the
visible views that appear at the top.
The previous logic is kept in the case that the layout manager returns
null for any reason, which can happen before layout has occurred for the
position.
Fix: 189588014
Test: verified locally
Change-Id: Ie8b5dcef50287e9e90a21f86e30a1ebcbbcba30f
2021-06-03 09:36:22 +00:00
shawnlin
2b006fb27b
Detach the nav once the endTarget is determined as HOME
...
Bug: 189900722
Test: manual - swipe up to home from an app and observe the nav
Change-Id: I421de17fe4d8413deaf9ebd63166a6d2d00d096e
2021-06-03 13:06:42 +08:00
Jon Spivack
ea61dfb098
Merge "TaskOverlayFactoryGo: Keep persistent instance of AssistContentRequester" into sc-dev am: b7cecf8a90
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803962
Change-Id: Idf82c8d5d5d7ffb646fbaeb0403bf9ac42c7b1ce
2021-06-03 02:33:16 +00:00
Jon Spivack
b7cecf8a90
Merge "TaskOverlayFactoryGo: Keep persistent instance of AssistContentRequester" into sc-dev
2021-06-03 02:20:26 +00:00
Weilun Du
25cd1c50f8
Merge "Revert "Update preferences to Material Next styling"" into sc-dev am: 971d7fddcc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14805276
Change-Id: Ic84b3a609b9e760d88e97fca15e8c7bc4c8ae1a3
2021-06-03 00:24:54 +00:00
Weilun Du
971d7fddcc
Merge "Revert "Update preferences to Material Next styling"" into sc-dev
2021-06-03 00:04:49 +00:00
Jon Spivack
1bd7ccd90b
TaskOverlayFactoryGo: Keep persistent instance of AssistContentRequester
...
Holding a reference to AssistContentRequester prevents it from being deleted by the garbage collector while it is still in use.
Bug: 189985872
Test: Manual (Pixel 3A)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I204aab907175a171c496c3bd146a8b23d2bbcf16
2021-06-02 16:40:09 -07:00
zakcohen
da08cb2639
RecentsView - reduce work in color tint animator
...
Don't allocate animators when there is no animation to do. The work was
not required.
Bug: 189492167
Test: Local build, run and trace analysis
Change-Id: I111768b055ed636aa92d5d9d6b799f316a568380
2021-06-02 15:46:46 -07:00
Weilun Du
19d623d921
Revert "Update preferences to Material Next styling"
...
Revert "Add dependency for settings activity collapsing toolbar"
Revert submission 14740617-collapse3
Reason for revert: Build breakage
Reverted Changes:
I5ef658979:Add dependency for settings activity collapsing to...
I0ca55eecb:Update preferences to Material Next styling
Bug: 189919452
Change-Id: I4aa0bfc473334266a951d84064b4e8e406fff0a4
2021-06-02 22:04:44 +00:00
TreeHugger Robot
b41c1ee1c2
Merge "AssistContentRequester move binder call to background thread." into sc-dev am: 8c46bba98e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14801431
Change-Id: I933e2e77b266577ce2fcbddaf2c5f1813e6e664b
2021-06-02 20:39:56 +00:00
Pat Manning
8839849a54
End drag touch event when crossing task drag threshold, and only when task is going up (drag to dismiss) am: 49cb49b1f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800534
Change-Id: Ic5e00180f93416ce9a83cb3ffeeea604d20f89a9
2021-06-02 20:39:52 +00:00
TreeHugger Robot
8c46bba98e
Merge "AssistContentRequester move binder call to background thread." into sc-dev
2021-06-02 20:31:53 +00:00
Alina Zaidi
8796707172
Update scrim in widget pickers.
...
Also adjust padding in pin widget bottom sheet.
Test: Tested manually
Bug: 189802334
Change-Id: Ic25547ab1519139afdbf07aaefeb9168cf3501ff
2021-06-02 20:39:28 +01:00
zakcohen
243fbd3e5d
AssistContentRequester move binder call to background thread.
...
The call into system server is synchronous, so make the call off the main
thread to avoid jank.
Bug: 189251291
Test: Local with flag enabled
Change-Id: I1787a0ad68488755bf19e813ecfe9fc079cfaed8
2021-06-02 10:33:31 -07:00
Pat Manning
49cb49b1f5
End drag touch event when crossing task drag threshold, and only when task is going up (drag to dismiss)
...
Test: manual
Fix: 188618115
Bug: 188618115
Change-Id: I51d157e224eaeee34ed131e4945bb92d6baf18cd
2021-06-02 16:28:25 +00:00
TreeHugger Robot
750ab22919
Merge "Remove elevation from the full widgets picker container" into sc-dev am: 23cf59bfd5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14793490
Change-Id: I3057d7aaca011c809cf02fcb88647b18ca994fe4
2021-06-02 14:18:20 +00:00
TreeHugger Robot
23cf59bfd5
Merge "Remove elevation from the full widgets picker container" into sc-dev
2021-06-02 13:57:45 +00:00
Wei Sheng Shih
262a3542f8
Merge "Read the starting surface icon size from framework" into sc-dev am: 630efccd7a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14609921
Change-Id: I975ebe8cc084bf2bd5b1c521bbdc48bfa45dd4b6
2021-06-02 10:07:22 +00:00
Wei Sheng Shih
630efccd7a
Merge "Read the starting surface icon size from framework" into sc-dev
2021-06-02 10:00:22 +00:00
Brian Isganitis
8495b3af1b
Merge "Update preferences to Material Next styling" into sc-dev am: b177133e7b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14740617
Change-Id: I83323b3f2fad81d55f96f55c327f37d94fa90ef7
2021-06-02 01:42:51 +00:00
Brian Isganitis
b177133e7b
Merge "Update preferences to Material Next styling" into sc-dev
2021-06-02 01:20:58 +00:00
Lucas Dupin
8911c3eb53
Merge "Set blur on effect layer during app launch" into sc-dev am: ee4d67c52d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14750658
Change-Id: I4749b4e26b3170cb3788ddd32eca37e9f290045f
2021-06-02 00:36:12 +00:00
TreeHugger Robot
a5150fa50e
Merge "Delaying initializing "is launcher3" flag" into sc-dev am: 3941bc65e3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14793019
Change-Id: Id05c67cb1c4a027b89487113babf76d6835b3793
2021-06-02 00:34:22 +00:00
Lucas Dupin
ee4d67c52d
Merge "Set blur on effect layer during app launch" into sc-dev
2021-06-02 00:32:52 +00:00
TreeHugger Robot
3941bc65e3
Merge "Delaying initializing "is launcher3" flag" into sc-dev
2021-06-02 00:11:47 +00:00