Jeremy Sim
b0cce86385
Implement non-disappearing View for split staging instructions
...
The instructions for how to perform a splitscreen operation, previously conveyed through a disappearing Toast, are now conveyed through a custom View object.
Fixes: 219987907
Test: Manual
Change-Id: Iff2bb6e334e0325e8a091d76a5f9b8767071365f
2022-05-23 21:23:22 +00:00
Alex Chau
1db078ee31
Merge "Update drop target button alignment across devices" into tm-dev am: 618047355d am: 15ca7e759b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18557384
Change-Id: I1c7bb488bd2a164a6d3caf9a3f719b9e96e487cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-23 19:35:23 +00:00
TreeHugger Robot
fe4a4d1cb9
Merge "Fix taskbar icon flicker and jump when transforming to hotseat" into tm-qpr-dev
2022-05-23 19:21:14 +00:00
Alex Chau
906d882f91
Update drop target button alignment across devices
...
- Partial re-land of http://ag/18520765
- Layout the buttons from center of screen for two panels, or from center of workspace for all other cases
Bug: 229789612
Fix: 231706480
Fix: 232063941
Fix: 232283628
Test: manual
Change-Id: Icbc9e2a19140ce3127d5dfe9f798a8ada336cea8
2022-05-23 15:08:52 +00:00
Alex Chau
51da219869
Fix taskbar icon flicker and jump when transforming to hotseat
...
- Apply additional translation on TaskbarView to account for difference between taskbar icon to bottom spacing compared to hotseat icon to bottom spacing
- Call updateIconAlignment outside of synchronizeNextDraw's then block, which get run after the synchronization
Bug: 204850744
Test: manual
Change-Id: Id65842f506eb342105082649446eb694cd5c33a4
2022-05-23 14:33:34 +01:00
TreeHugger Robot
69b48b307f
Merge "Remove obsolete TODO for verifying all apps on 2nd display." into tm-dev am: 2940565595 am: c0c1097d18
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18496510
Change-Id: I3de873ca379bb3d7e2db5271b39c5b48feb1fa3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-20 19:44:00 +00:00
Pat Manning
04cb3f04d3
Revert "Update drop target button alignment across devices." am: b29dabce18 am: bb846ab675
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18520765
Change-Id: Ica2d184549e8ffaaf6574a459b2aacf523264762
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-20 19:43:48 +00:00
TreeHugger Robot
2940565595
Merge "Remove obsolete TODO for verifying all apps on 2nd display." into tm-dev
2022-05-20 18:49:33 +00:00
Pat Manning
b29dabce18
Revert "Update drop target button alignment across devices."
...
This reverts commit 27bfcaa651 .
Reason for revert: b/232636570
Bug: 229789612
Bug: 231711806
Bug: 231706480
Bug: 232063941
Bug: 232283628
Change-Id: Ic83515173f4a64228a80f63d75db938243cbf625
2022-05-20 18:20:26 +00:00
Pat Manning
a8b8de1fa0
Bound drop target layout values to left and right. am: 3c0f4c156d am: 781c68b236
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18491881
Change-Id: I14acd17e473d0f2a081a90e41bfb1598f21c49d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-20 00:48:56 +00:00
Brian Isganitis
b811a29b7d
Remove obsolete TODO for verifying all apps on 2nd display.
...
It works \o/.
Test: No
Change-Id: I5b2c6c1b3bb656ad3d5bb21188ac9e9f8cdc0fec
2022-05-19 13:30:55 -07:00
Pat Manning
3c0f4c156d
Bound drop target layout values to left and right.
...
Test: manual
Fix: 232636570
Bug: 233225825
Change-Id: I388cb3407cb9f887ccc222f4804636f9f7651884
2022-05-19 18:48:14 +01:00
Sebastián Franco
ce213d3306
Merge "Widget migration now supports widgets and repeated elements in the worskpace." into tm-qpr-dev
2022-05-18 23:27:24 +00:00
Sebastian Franco
08788a939b
Widget migration now supports widgets and repeated elements in the worskpace.
...
The widget migration was using the variable DbEntry.mIntent as an
id for calculating the difference between two workspaces but widgets
don't have that variable, it's always null. So that had created some
bugs.
Also, the function GridSizeMigrationTaskV2.calcDiff didn't accounted for
repeated icons or repeated widgets. It's not a big deal not account
for repeated icons, but repeated widgets can be usefull for the user,
so now calcDiff keeps repeated icons and widgets.
Fix: 229701468
Test: Add multiple icons and widgets in the workspace and change the
grid size, this code only runs after the first time you change the
grid size, so try a couple of times. It should keep the widgets and
icons, even if they are repeated.
Change-Id: I5812445cec8364d8cc57cbcc3f1ae04ba9099932
2022-05-18 17:10:11 +00:00
Luca Zuccarini
175fc66aa8
Merge "Additional polish for the NORMAL<->ALL_APPS transitions." into tm-dev
2022-05-18 14:21:27 +00:00
Sunny Goyal
a292987030
Merge "Adding support for extending back behavior in Launcher" into tm-dev
2022-05-17 23:02:50 +00:00
Luca Zuccarini
3eb149b055
Merge "Update the NORMAL<->ALL_APPS swipe transitions on phones." into tm-dev
2022-05-17 16:06:27 +00:00
Vinit Nayak
cfdb076d12
Merge "Report ITYPE_BOTTOM_MANDATORY_GESTURES insets for Taskbar" into tm-dev
2022-05-17 13:56:51 +00:00
TreeHugger Robot
8eaf87e77b
Merge "Log the reason why a WorkspaceItemInfo was removed" into tm-dev
2022-05-17 05:01:15 +00:00
Vinit Nayak
2cb5cb5d00
Report ITYPE_BOTTOM_MANDATORY_GESTURES insets for Taskbar
...
Bug: 205493938
Change-Id: I196bc52c1bec75b5442f3546f466799ba9c3831b
2022-05-16 21:38:28 -07:00
Brandon Dayauon
1460a6a0fb
Merge "Fix issue when preference screen title won't change depending on the device.." into tm-dev
2022-05-16 22:47:17 +00:00
Sunny Goyal
3f2637faee
Adding support for extending back behavior in Launcher
...
Bug: 231224820
Test: Manual
Change-Id: I9accc30c01dce5f6920b611cfeed9fa0584d2846
2022-05-16 14:40:19 -07:00
Pinyao Ting
6a41d56b50
Log the reason why a WorkspaceItemInfo was removed
...
In the past we've seen a WorkspaceItem disappeared from the workspace
but wasn't able to determine why it was removed. This CL includes the
reason why it was removed in the error log, which hopefully would help
us debugging similar issues in the future.
Bug: 231239260
Test: make
Change-Id: Iba3d57568c9b3e011a6b65b26f0d4170d42fe1a5
2022-05-16 20:17:47 +00:00
TreeHugger Robot
4608bd00dc
Merge "Revert "Set mState = mCurrentStableState in onAnimationCancel()"" into tm-dev
2022-05-16 18:15:14 +00:00
Brandon Dayauon
303b4e8aae
Fix issue when preference screen title won't change depending on the device..
...
previously it defaults to just "Search your phone"
Now it correctly displays Phone/Tablet
Before: https://screenshot.googleplex.com/3PJrsP9mGvwMr98
After: https://screenshot.googleplex.com/B2nnUQHeHmEXXPd
Bug: 231611501
Change-Id: I49eab7e827ce4bb31a2722fbf21c244f98145907
2022-05-16 10:25:12 -07:00
Hyunyoung Song
ef4da349f8
Merge "Add latency tracking for aiai" into tm-dev
2022-05-15 06:56:01 +00:00
Hyunyoung Song
8536fb78c7
Merge "App row padding is now consistent for all grid sizes. Also fix when 2x2 allApp icons get super big." into tm-dev
2022-05-15 06:08:18 +00:00
Brandon Dayauon
07ca884eea
App row padding is now consistent for all grid sizes. Also fix when 2x2 allApp icons get super big.
...
Added consistent padding to each app row.
Bug: 229789736
Bug: 229791507
Bug: 228320417
Bug: 230870213
Test: Manual on Raven
Change-Id: Ice1c8be361f009994a8e0960a30da04fc1c0c218
2022-05-13 17:10:15 -07:00
Schneider Victor-tulias
9c7551a9c9
Merge "Coordinate the SUW All Set page first reveal with the taskbar unstash to hotseat animation." into tm-dev
2022-05-13 22:33:21 +00:00
Luca Zuccarini
1c89ee8cb1
Additional polish for the NORMAL<->ALL_APPS transitions.
...
The depth of ALL_APPS is set to 2 because in the legacy transitions the
swap happens at 0.5. The depth controller bounds the value to 1, so for
the second half of the animation the value is always 1. Because of this,
in order to have the right timing during the blur and scale we cap the
interpolator to 0.5.
Workspace fade is also removed, per spec.
Bug: 232418544
Test: manual
Change-Id: Idfd92c8b2b571ad911a0a5a59d39c5911e4131e4
2022-05-13 22:23:42 +00:00
TreeHugger Robot
9cf0aa7418
Merge "Extra checks to find the source of flaky tests" into tm-dev
2022-05-13 19:51:45 +00:00
Luca Zuccarini
ea948c2b33
Update the NORMAL<->ALL_APPS swipe transitions on phones.
...
Bug: 144877924
Test: manual
Change-Id: I47d4cdedea69b921711c33e2905bc429e7d1db35
2022-05-13 19:09:17 +00:00
Schneider Victor-tulias
766f2fc346
Coordinate the SUW All Set page first reveal with the taskbar unstash to hotseat animation.
...
Bug: 220096988
Test: manual
Change-Id: I1f517b322e5c18f825be8b51ebb560a4a195b666
2022-05-13 11:17:10 -07:00
Alex Chau
69230bbb29
Merge "Consider padding when measuring AllApps in SecondaryDragLayer" into tm-dev
2022-05-13 16:08:18 +00:00
TreeHugger Robot
6c2c619d35
Merge "Add non null check on mViewPager" into tm-dev
2022-05-13 16:06:49 +00:00
Sunny Goyal
3c354421c8
Extra checks to find the source of flaky tests
...
Bug: 200572078
Test: Presubmit
Change-Id: Ie927f476e3a2c1b5aee84e33bf510bb635e59071
2022-05-13 09:02:02 -07:00
kholoud mohamed
70d63456d3
Add non null check on mViewPager
...
Bug: 232034849
Test: N/A
Change-Id: I304088baf84dd6f65e096f610ebe11df036ae8d3
2022-05-13 14:33:50 +01:00
Alex Chau
9b5548c56d
Consider padding when measuring AllApps in SecondaryDragLayer
...
Fix: 223595498
Test: adb shell am start -a android.intent.action.MAIN -c android.intent.category.SECONDARY_HOME
Change-Id: I2754eb08daf2657e502a22bf7308561f5d0c9a7f
2022-05-13 11:08:39 +00:00
Alex Chau
19d43e0511
Skip onSharedPreferenceChanged if mIgnoreAutoRotateSettings is true in RotationHelper
...
Test: manual with DeviceProfile changed followed by settings change
Bug: 232081262
Change-Id: Ibc02bbc7fc015db9511960b565e860e6cb5b6246
2022-05-13 11:33:21 +01:00
Alex Chau
7c89ac5d8c
Merge "Add a scrim to AllApps and Widgets" into tm-dev
2022-05-12 20:09:06 +00:00
Alex Chau
8a7617f168
Merge "Fix slow page animations on large devices" into tm-dev
2022-05-12 19:08:41 +00:00
Pat Manning
8909fc2dcb
Merge "Update drop target button alignment across devices." into tm-dev
2022-05-12 18:41:54 +00:00
Sunny Goyal
d7281d097d
Merge "Adding support for easily extending Launcher DragAndDrop support" into tm-dev
2022-05-12 17:00:49 +00:00
James O'Leary
508fbbff56
Merge "Separate color into app color and dot color; specify dot color" into tm-dev
2022-05-12 16:37:39 +00:00
Pat Manning
a54d1ab24a
Merge "Re-land "Update workspace, cell layout, shortcut and widget, and cell size calculations."" into tm-dev
2022-05-12 16:00:51 +00:00
Alex Chau
f4c8da6263
Merge "Tune overview icon size and paddings" into tm-dev
2022-05-12 15:58:08 +00:00
Jon Miranda
a3764216a8
Merge "Clear all DragView in onResume" into tm-dev
2022-05-12 15:17:37 +00:00
Pat Manning
27bfcaa651
Update drop target button alignment across devices.
...
Fix: 229789612
Fix: 231711806
Fix: 231706480
Fix: 232063941
Fix: 232283628
Test: manual.
Change-Id: I75d649b953ad1607dbba87a8f758884ff938b6dc
2022-05-12 13:49:58 +00:00
Thales Lima
28a8b9f158
Add a scrim to AllApps and Widgets
...
Check the size of the scrim and draw on the bottom of AllApps and Widgets.
Add a padding to the bottom of AllApps and Widgets so content is above the scrim.
Change the color of nav buttons for better accessibility.
Correct width of the Widgets sheets to be the same as AllApps sheet.
Fixes: 221107977
Fixes: 214215594
Test: manual, HSV and Window
Change-Id: Ib7510ffcd80231de7fefcdef65b422174dd74593
2022-05-12 09:38:24 -03:00
Pat Manning
25d5334a9d
Re-land "Update workspace, cell layout, shortcut and widget, and cell size calculations."
...
This reverts commit 3e8a04b341 .
Reason for revert: b/230862148
Change-Id: I7462e86643816f42fc72e40defffd58a1f77ee8b
2022-05-12 11:57:01 +00:00