Alex Chau
062e5650fb
Fix TaskView jumping caused by split select am: 39da1f78da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16095449
Change-Id: Iae8916945942185f8669520e4634c351c8d9405d
2021-10-25 17:50:00 +00:00
Alex Chau
6b465023e0
Fix TaskView jumping caused by split select am: 39da1f78da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16095449
Change-Id: I26f0067df68088d9aba94ce8f83aa28d0882a468
2021-10-25 17:48:45 +00:00
Alina Zaidi
fa37c6742e
Make sure distinct widgets items are used when mapping widget component
...
names to widget items.
This is to prevent a crash on duplicate key when creating map.
Bug: 204065759
Test: Enabled flag and got no crash
Change-Id: Ice9f93af76c02eeba53c934687358ed806c60b60
2021-10-25 16:10:45 +01:00
Alex Chau
39da1f78da
Fix TaskView jumping caused by split select
...
- Never apply split select translation to grid overview, instead use dismiss translation to make space to split placeholder to minimize motion and avoid janky double movement
- Ensures snapping to last task for end of grid split cases
- Adjust mCurrentPageScrollDiff due to coordinate shift
- Use longGridRowWidthDiff to shift all task to make space for split placeholder
- Also fixed a bug that split translation isn't reset if entering overview immediately after exit
Bug: 200537815
Test: manual
Change-Id: Ie1b57c34ce4bb079f898ba5b7c3464a714021847
2021-10-25 15:38:34 +01:00
Bill Lin
2745327c5e
Allow One-handed gesture when densityDpi > 600
...
This logic was aim to prevent tablet device enable One-handed gesture
so added displayInfo.densityDpi < DisplayMetrics.DENSITY_600 before.
However, it seems this densityDpi=600 does not able to represent to
tablet device, instead we already have system property
"ro.support_one_handed_mode" which provides feasibility to config false
on tablet project, as the reason we can safe to remove this condition.
Bug: 203936659
Test: adb shell wm density 600 , and observe OHM gesture is available
Test: atest WMShellUnitTests
Change-Id: Ic7ae10e8a47d26b9bb39ab80e22d591d74f89ae5
2021-10-25 06:47:13 +00:00
Alex Chau
309e21844b
Add back @Ignore for testOverviewForTablet
...
The @Igonore is latest lost due to auto-merger.
Test: TaplTestQuickstep.java
Bug: 203781041
Change-Id: Ifb9fa9ef74f9da4ac0630338c1fe374280102c94
2021-10-22 09:44:52 +00:00
TreeHugger Robot
a1fc0d9699
Merge "Import translations. DO NOT MERGE ANYWHERE"
2021-10-22 05:17:58 +00:00
TreeHugger Robot
92203abe18
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev
2021-10-22 00:52:12 +00:00
Alex Chau
f148cd53c7
Ignore testOverviewForTablet until root cause of cuttlefish failure is found. am: 385a6b9caa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16102445
Change-Id: Ibff55762ec82ad6a9737e89b6e7f71d7263badd1
2021-10-21 22:31:11 +00:00
Alex Chau
385a6b9caa
Ignore testOverviewForTablet until root cause of cuttlefish failure is found.
...
Test: TaplTestQuickstep.java
Bug: 203781041
Change-Id: I9b6f658ab8f55beafaf784d7a374e2780a591089
Merged-In: I9b6f658ab8f55beafaf784d7a374e2780a591089
2021-10-21 21:30:23 +00:00
Alex Chau
a901a1b352
Merge "Ignore testOverviewForTablet until root cause of cuttlefish failure is found."
2021-10-21 21:28:08 +00:00
Alex Chau
ae3482748f
Ignore testOverviewForTablet until root cause of cuttlefish failure is found.
...
Test: TaplTestQuickstep.java
Bug: 203781041
Change-Id: I9b6f658ab8f55beafaf784d7a374e2780a591089
2021-10-21 22:22:22 +01:00
Makoto Onuki
61cb6899e5
Merge "Revert "Ignore testOverviewForTablet until root cause of cuttlefish failure is found."" into sc-v2-dev am: 1b5e2679a4 am: 92eef8561f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16102337
Change-Id: I01e0c633791eac71c2a4bf4a9b5d0b83dcc5b497
2021-10-21 21:14:21 +00:00
Makoto Onuki
92eef8561f
Merge "Revert "Ignore testOverviewForTablet until root cause of cuttlefish failure is found."" into sc-v2-dev am: 1b5e2679a4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16102337
Change-Id: I467315c297aa164dc5f34a6bae87e82ee2509e93
2021-10-21 21:02:39 +00:00
Makoto Onuki
1b5e2679a4
Merge "Revert "Ignore testOverviewForTablet until root cause of cuttlefish failure is found."" into sc-v2-dev
2021-10-21 20:49:20 +00:00
Makoto Onuki
da65dc3dd3
Revert "Ignore testOverviewForTablet until root cause of cuttlefish failure is found."
...
This reverts commit 8893098446 .
Reason for revert: b/203806263
Change-Id: I5e1644e0163ef07d0bec4a70b9dea799ab69f1b5
2021-10-21 20:48:01 +00:00
TreeHugger Robot
24191683bb
Merge changes Id9fdcd71,Ic4d69d73 into sc-v2-dev am: b4ce5c1b36 am: 9b884ee9b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16092005
Change-Id: I4d9bdd14b8f30a3b869d6b07b8e44d776ccb67f0
2021-10-21 20:28:53 +00:00
TreeHugger Robot
9b884ee9b9
Merge changes Id9fdcd71,Ic4d69d73 into sc-v2-dev am: b4ce5c1b36
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16092005
Change-Id: I4590c92f09e61e1cd4a8d199e15b5fdc580668f9
2021-10-21 20:09:39 +00:00
TreeHugger Robot
b4ce5c1b36
Merge changes Id9fdcd71,Ic4d69d73 into sc-v2-dev
...
* changes:
Stash taskbar in fallback recents
Add FallbackTaskbarUIController
2021-10-21 19:56:38 +00:00
TreeHugger Robot
ebaed15ea9
Merge "Ignore testOverviewForTablet until root cause of cuttlefish failure is found." into sc-v2-dev am: 7ca12edf54 am: 74149e40a4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101509
Change-Id: I52547514c869f72e64428ea5df516e7577aa3bc3
2021-10-21 19:30:11 +00:00
TreeHugger Robot
74149e40a4
Merge "Ignore testOverviewForTablet until root cause of cuttlefish failure is found." into sc-v2-dev am: 7ca12edf54
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101509
Change-Id: I2db2e1525ffeb97f2ba65b4b33f5284440a4664d
2021-10-21 19:17:55 +00:00
TreeHugger Robot
7ca12edf54
Merge "Ignore testOverviewForTablet until root cause of cuttlefish failure is found." into sc-v2-dev
2021-10-21 18:53:31 +00:00
Tony Wickham
3f6e3f0650
Stash taskbar in fallback recents
...
Test: Swipe to Overview with 3P launcher as default, watch taskbar stash
Fixes: 188790554
Change-Id: Id9fdcd715fc50872e3a96f102053a9a99859b482
2021-10-21 10:53:48 -07:00
Tony Wickham
8791e7de11
Add FallbackTaskbarUIController
...
- Refactor TaskbarManager to accept StatefulActivity instead of BaseQuickstepLauncher
- Update the new StatefulActivity in onOverviewTargetChange()
- Cleanup LauncherTaskbarUIController a bit to avoid initializing TaskbarActivityContext, TaskbarDragLayer, and TaskbarViewController in the constructor, and instead get these from mControllers after init()
Test: No change in behavior
Bug: 188790554
Change-Id: Ic4d69d73deb6dada416876eb265db57803c3adfd
2021-10-21 10:53:46 -07:00
Pat Manning
8893098446
Ignore testOverviewForTablet until root cause of cuttlefish failure is found.
...
Test: TaplTestQuickstep.java
Bug: 203781041
Change-Id: Iffd7031f303822fe77c02052eb07499e8644243b
2021-10-21 18:09:15 +01:00
TreeHugger Robot
e864cb28d1
Merge "Update TaskView corner radius as RecentsView scale changes" into sc-v2-dev am: d238074c39 am: a41dbd3204
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101499
Change-Id: Ia3e15aab8905ec0d05284b4de072ee00f95f18da
2021-10-21 15:40:01 +00:00
TreeHugger Robot
a41dbd3204
Merge "Update TaskView corner radius as RecentsView scale changes" into sc-v2-dev am: d238074c39
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101499
Change-Id: I1fee1fac162188b7ce8378d1d6eff03e51e239d4
2021-10-21 15:25:44 +00:00
TreeHugger Robot
d238074c39
Merge "Update TaskView corner radius as RecentsView scale changes" into sc-v2-dev
2021-10-21 15:12:16 +00:00
Alex Chau
3c6795e355
Update TaskView corner radius as RecentsView scale changes
...
Fix: 192253697
Test: manual
Change-Id: I45825c955b759163792d704408e348c198830fc8
2021-10-21 14:23:11 +01:00
Nick Chameyev
d3d43cc392
Merge "Do not animate statusbar unfold when in portrait orientation" into sc-v2-dev am: 8523412470 am: 9790455748
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16057110
Change-Id: Ieee1d02232f6b6b7588e51b68ad02a16e90b4115
2021-10-21 10:24:01 +00:00
Nick Chameyev
9790455748
Merge "Do not animate statusbar unfold when in portrait orientation" into sc-v2-dev am: 8523412470
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16057110
Change-Id: I48ecaa2a74af934deba339cf2e97bc35ff12c506
2021-10-21 10:10:14 +00:00
Nick Chameyev
8523412470
Merge "Do not animate statusbar unfold when in portrait orientation" into sc-v2-dev
2021-10-21 10:02:00 +00:00
Bill Yi
76b605fc1c
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I2336f08f63d0779f7e8715f71ab93853407162ba
2021-10-21 04:26:34 +00:00
Bill Yi
74016ae10e
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ib93913a6e2542bc96b74cf0d3bdd042a82af7ed1
2021-10-21 04:22:26 +00:00
TreeHugger Robot
f0c43eac90
Merge "Cache TISBinder for multiple onBind() calls" into sc-v2-dev am: 6409130f29 am: a62931ebb4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16093822
Change-Id: I3f63577fe88715e33634ed656d8c21a1d50b4242
2021-10-20 23:59:07 +00:00
TreeHugger Robot
a62931ebb4
Merge "Cache TISBinder for multiple onBind() calls" into sc-v2-dev am: 6409130f29
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16093822
Change-Id: Idaf86de8af661f78d57852e265d75b87a0ff7a41
2021-10-20 23:49:18 +00:00
TreeHugger Robot
6409130f29
Merge "Cache TISBinder for multiple onBind() calls" into sc-v2-dev
2021-10-20 23:34:49 +00:00
Schneider Victor-tulias
e61fd5f316
Add mock animated taskbar to gesture nav tutorial for foldable devices.
...
Bug: 198434693
Test: launched and completed tutorial on regular phone and foldable device.
Change-Id: Id378e9bdd21fdfbc880ef528cb040b6390699d43
2021-10-20 16:16:10 -07:00
Vinit Nayak
45fbe5b563
Cache TISBinder for multiple onBind() calls
...
Bug: 202986128
Change-Id: I29a0963ff2880c9970859bc1437c7624bc7f0aea
2021-10-20 13:51:40 -07:00
Schneider Victor-tulias
c1a99b8712
Merge "Generalize the icon popup menu types." into sc-v2-dev am: e9bd364390 am: e650a048fa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16065857
Change-Id: Ibef5acdb235ff1b0f30dd18e90330584ec037fa1
2021-10-20 19:23:18 +00:00
Schneider Victor-tulias
e650a048fa
Merge "Generalize the icon popup menu types." into sc-v2-dev am: e9bd364390
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16065857
Change-Id: I305a7f34346d90785d78e52222f1b9a2e764c04e
2021-10-20 18:51:39 +00:00
Schneider Victor-tulias
e9bd364390
Merge "Generalize the icon popup menu types." into sc-v2-dev
2021-10-20 18:32:56 +00:00
Pat Manning
011d37be5a
Merge "Add new quickstep test for many tasks open at once." into sc-v2-dev am: 3c647ff30a am: 2e5511ad4b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992810
Change-Id: I368651cbc9255f50baf3e741b561bebb16b18dd2
2021-10-20 15:55:07 +00:00
Pat Manning
2e5511ad4b
Merge "Add new quickstep test for many tasks open at once." into sc-v2-dev am: 3c647ff30a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992810
Change-Id: I0ef6bd2b1f3b77a0d515610eb1f14a9fb88ae71b
2021-10-20 15:39:04 +00:00
Pat Manning
3c647ff30a
Merge "Add new quickstep test for many tasks open at once." into sc-v2-dev
2021-10-20 15:20:26 +00:00
Pat Manning
ccec1de6ae
Add new quickstep test for many tasks open at once.
...
This test is needed for testing overview-grid-related functionality.
- Opening non-focused tasks
- Dismissing a non-focused task from the grid
- Grid rows rebalancing after dismissal, which only happens when enough
apps are open to be off-screen.
- Grid tasks do not scroll after dismissal.
Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: Ic907db4643cdc2eb9e4610dab917347e234e470c
2021-10-20 14:40:32 +01:00
Schneider Victor-tulias
16e04e29d2
Generalize the icon popup menu types.
...
Generalized popup menu types and logic to allow wider uses outside of launcher.
Bug: 198438631
Test: long pressed launcher icons and pressed menu options
Change-Id: Iadcbb1796496c0061dcee362784e426ff55dc94a
2021-10-19 16:06:16 -07:00
TreeHugger Robot
68b2de5a40
Merge "Delaying taskbar loading until user setup completed" into sc-v2-dev am: bc9dd92220 am: c85b7a0cbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16080048
Change-Id: I8584932278e3d6afc25f0c7d26c9ec08e1661649
2021-10-19 22:11:55 +00:00
TreeHugger Robot
c85b7a0cbe
Merge "Delaying taskbar loading until user setup completed" into sc-v2-dev am: bc9dd92220
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16080048
Change-Id: I4a146f9442c0e2b2e956f4c2d6429e5ec6eb7220
2021-10-19 22:01:05 +00:00
TreeHugger Robot
bc9dd92220
Merge "Delaying taskbar loading until user setup completed" into sc-v2-dev
2021-10-19 21:49:02 +00:00