Sunny Goyal
0064de97bd
Merge "Fixing tab width and panner not aligned with the all-apps icons" into tm-qpr-dev am: 0eb857666c am: c6bcfb058b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19240901
Change-Id: I5c2d3c764ec7cd7ac48a8b633be0579b05957d50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-12 06:48:42 +00:00
Sunny Goyal
0eb857666c
Merge "Fixing tab width and panner not aligned with the all-apps icons" into tm-qpr-dev
2022-07-12 05:55:43 +00:00
Chilun Huang
3fc3e6bebb
Workaround to return 1/3 of the position am: ac57ddeb4c am: 4e033bb5bf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19220863
Change-Id: Ia786004d4c60296ec674769b298aaa3498d234a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-12 04:22:41 +00:00
Sunny Goyal
eab51677ae
Fixing tab width and panner not aligned with the all-apps icons
...
Bug: 234008165
Test: Verified on device
Change-Id: Ibec3eed4aef730439d79b086d6ae23b63b66361e
2022-07-11 15:39:32 -07:00
Chilun Huang
ac57ddeb4c
Workaround to return 1/3 of the position
...
Some devices in portrait mode have the same symptoms as b/234322284.
Simply return 1/3 of the position like the X axis to solve the problem.
Bug: 238202110
Test: atest Launcher3Tests:TaplTestsLauncher3#testAddDeleteShortcutOnHotseat
Change-Id: Ic7d3756cfbda6673a62b266c6093745b8311e6ac
2022-07-11 15:19:16 +08:00
Sunny Goyal
0c4f199019
Merge "Removing tabWidth calculation and using DeviceProfile directly" into tm-qpr-dev am: 251ee0a066 am: f0ee118786
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19038314
Change-Id: Idf7439d7900f69ac5bf75c8567dd9279b0c4bed5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-08 16:25:28 +00:00
Sunny Goyal
251ee0a066
Merge "Removing tabWidth calculation and using DeviceProfile directly" into tm-qpr-dev
2022-07-08 15:39:30 +00:00
Becky Qiu
5cb363638b
Merge "[Toast] Add a feature flag to use local overrides for search timeout." into tm-qpr-dev am: 5672b0991e am: 0849216d9d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19067225
Change-Id: I33cd306cd1df26677b9d24e605c9e27518ce2684
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-07 17:54:50 +00:00
Alex Chau
c61db0515d
Merge "Clean up DisplayController logs" into tm-qpr-dev am: 420ab0a45b am: 9666f6ae27
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19167626
Change-Id: I867228d33df346b0f2bd7bd6e6b91d0df3fb4204
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-06 18:21:35 +00:00
Becky Qiu
da6a8fab1b
[Toast] Add a feature flag to use local overrides for search timeout.
...
Bug: 229038631
Test: manual
Change-Id: I131ee7fc9bd7d09d7a4d4ee3f4577110ed75c0d4
2022-07-06 11:16:00 -07:00
Alex Chau
420ab0a45b
Merge "Clean up DisplayController logs" into tm-qpr-dev
2022-07-06 17:27:29 +00:00
Tony Wickham
6bb2945f78
Merge "Proper fix for gesture nav flicker using runOnPageScrollsInitialized()" into tm-qpr-dev am: 4b2bf90f2c am: 7b0cba0590
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18902861
Change-Id: I7dee6e8d4d42aba10cecd9b57a00b40f90010de8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-06 17:17:25 +00:00
Tony Wickham
7d6a09b873
Merge "Move TEST_HARNESS_TRIGGER_TIMEOUT to MotionPauseDetector directly" into tm-qpr-dev am: 0c8ceda6e7 am: 5397c871da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19136583
Change-Id: Id2f8ba91596a7ade5b2337db6687be5fc787cbe6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-06 17:08:56 +00:00
Tony Wickham
4b2bf90f2c
Merge "Proper fix for gesture nav flicker using runOnPageScrollsInitialized()" into tm-qpr-dev
2022-07-06 16:30:01 +00:00
Tony Wickham
0c8ceda6e7
Merge "Move TEST_HARNESS_TRIGGER_TIMEOUT to MotionPauseDetector directly" into tm-qpr-dev
2022-07-06 16:25:03 +00:00
Thales Lima
92a1e7f1de
Add new hotseat bottom margin options am: b8c0595d42 am: a70b07d04c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18605485
Change-Id: I42e901c26b8b34f52e2ba5c8b0edfc8cfcd3ac9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-06 11:05:01 +00:00
Thales Lima
b8c0595d42
Add new hotseat bottom margin options
...
This changes how the hotseat height is calculated and by consequence how spaces are distributed in the workspace as well. This is the first of a series of changes that will improve and streamline workspace calculations.
Bug: 228998463
Fix: 234023782
Fix: 230191631
Fix: 232914299
Fix: 236238226
Test: manual, HSV and comparing to mocks
Change-Id: If021e8ba2c7c24c0bf9f27a1aa7aa946792ed04f
2022-07-05 15:33:47 +01:00
Pat Manning
94a437c2a9
Merge "Simplify vertical bar hotseat bottom calculation for spring loaded state." into tm-qpr-dev am: 0f8bbef729 am: e73e245ba4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19084089
Change-Id: Id2c80742c36708d3974fdea1144fd26a2b70f2f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-05 11:27:50 +00:00
Pat Manning
0f8bbef729
Merge "Simplify vertical bar hotseat bottom calculation for spring loaded state." into tm-qpr-dev
2022-07-05 10:28:10 +00:00
Alex Chau
0adc36623d
Clean up DisplayController logs
...
- Moved debug logs under DEBUG flag which defaults to false
- Moved info+ logs to permanent log tags
Fix: 198965093
Test: manual
Change-Id: Iea99f053da08e921542a8f532a9837997e10de5e
2022-07-04 13:13:44 +01:00
Pat Manning
a7335bccdc
Simplify vertical bar hotseat bottom calculation for spring loaded state.
...
Fix: 236941743
Test: manual.
Change-Id: I7f110fea48eb88e7f941a64c17a65feec14531f3
2022-07-04 12:45:40 +01:00
Jeremy Sim
e19aab9010
Merge "Allows Launcher to recover gracefully into OverviewSplitSelect state" into tm-qpr-dev
2022-07-01 21:40:34 +00:00
Jeremy Sim
c94f4b779b
Allows Launcher to recover gracefully into OverviewSplitSelect state
...
When Launcher restarts (as the result of a UiModeChange or something else), it attempts to recover its previous state. However, the OverviewSplitSelect state is unique because it requires some additional information to recover properly (the taskId of the staged task and so on). This change makes it so that the relevant information is passed forward in the recovery bundle. Launcher will now restart in the base Overview state, and then immediately apply the saved data to recover the OverviewSplitSelect state.
Fixes: 233019928
Test: Manual
Change-Id: Ie6123ef9c374be000268f82857b696c49213c541
Merged-In: Ie6123ef9c374be000268f82857b696c49213c541
2022-07-01 00:07:54 +00:00
Jeremy Sim
fbb19cf016
Allows Launcher to recover gracefully into OverviewSplitSelect state
...
When Launcher restarts (as the result of a UiModeChange or something else), it attempts to recover its previous state. However, the OverviewSplitSelect state is unique because it requires some additional information to recover properly (the taskId of the staged task and so on). This change makes it so that the relevant information is passed forward in the recovery bundle. Launcher will now restart in the base Overview state, and then immediately apply the saved data to recover the OverviewSplitSelect state.
Fixes: 233019928
Test: Manual
Change-Id: Ie6123ef9c374be000268f82857b696c49213c541
2022-06-30 21:18:42 +00:00
Sunny Goyal
abaf468766
Merge "Fixing widget accessibility node order" into tm-qpr-dev am: cb31a64299 am: 0ef2251b40
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19119907
Change-Id: Iab6f0979a2bc15d0cdb71c53a4cd393eb3ca6a30
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-30 19:57:33 +00:00
Sunny Goyal
cb31a64299
Merge "Fixing widget accessibility node order" into tm-qpr-dev
2022-06-30 19:22:26 +00:00
Tony Wickham
539c2703ea
Move TEST_HARNESS_TRIGGER_TIMEOUT to MotionPauseDetector directly
...
- Removed TestProtocol.sForcePauseTimeout and
TestProtocol.REQUEST_SET_FORCE_PAUSE_TIMEOUT
- Instead, add MotionPauseDetector.TEST_HARNESS_TRIGGER_TIMEOUT, which
is used when Utilities.IS_RUNNING_IN_TEST_HARNESS.
Test: unbundled/launcher/launcher3_test_platform
Fixes: 232548865
Change-Id: I224e99042b41375cab6bffd555434217518958c5
2022-06-30 12:16:08 -07:00
Abhilasha Chahal
ac0d54dd02
Merge "Allow overriding DragController and drag use cases" into tm-qpr-dev am: a8dcd442fe am: 9ef8af1d3f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19117748
Change-Id: I1b0e8ba25e8ad30bd5398edb81c3e0ba5905b728
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-30 10:41:44 +00:00
Abhilasha Chahal
a8dcd442fe
Merge "Allow overriding DragController and drag use cases" into tm-qpr-dev
2022-06-30 10:04:07 +00:00
TreeHugger Robot
72c5f330bf
Merge "Add TAPL API for adding app icon to hotseat" into tm-qpr-dev
2022-06-30 05:28:14 +00:00
Sihua Ma
ff327e6d0e
Merge "Fill the fade-in ImageView with its content for the cross fade animation" into tm-qpr-dev am: 9ce586b3cb am: 91187fb9cd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19016434
Change-Id: I229d9cadcb210d41c838f8a87cc1ecee3abc9f80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-29 23:03:03 +00:00
Sihua Ma
9ce586b3cb
Merge "Fill the fade-in ImageView with its content for the cross fade animation" into tm-qpr-dev
2022-06-29 22:17:20 +00:00
Sunny Goyal
4827a7d5a9
Fixing widget accessibility node order
...
Making sure that that search and prediction bar are on top of
RecyclerView/PagedView. This is determined by the widget of the
drawn width of the views if their top matches
Bug: 209579563
Test: Verified that the tite is focused first when opening widgets
Change-Id: Ib800b3743ece915ac4894029462d5776d389ff3f
2022-06-29 11:32:36 -07:00
Abhilasha Chahal
cb32935281
Allow overriding DragController and drag use cases
...
Test: Manually verified Launcher3 works fine
Bug: 233864888
Change-Id: Ifb2fe19c0a2b332862b36b1ac0100e0f5301a5a6
2022-06-29 17:29:47 +00:00
Sunny Goyal
1db6188f06
Merge "Fixing nullpointer exception when accessing StatsLogger before initialization" into tm-qpr-dev am: 24d7de43fb am: 104bb034ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19087430
Change-Id: Id259b32db17f33f6d6d8217a18c9231bc34d1110
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-29 17:03:40 +00:00
Sunny Goyal
24d7de43fb
Merge "Fixing nullpointer exception when accessing StatsLogger before initialization" into tm-qpr-dev
2022-06-29 16:17:55 +00:00
Jeremy Sim
4e0e3b87cc
Merge "Prevents split thumbnails from flipping when entering Overview in fake seascape" into tm-qpr-dev am: 9b7280bd70 am: 0c693832d5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19071744
Change-Id: Icacab0cbfdd36da02c31793b154cb36cdadfdbdd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-29 06:14:37 +00:00
Jeremy Sim
9b7280bd70
Merge "Prevents split thumbnails from flipping when entering Overview in fake seascape" into tm-qpr-dev
2022-06-29 05:47:09 +00:00
Vinit Nayak
aa882e8820
Merge "Close all open views for 1P and 3P launchers" into tm-qpr-dev am: 6b05c8ce1f am: 68a4da89d7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18916005
Change-Id: I174474451a02ab92efcc748ff00653ab2e2d9710
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-28 16:48:58 +00:00
Vinit Nayak
6b05c8ce1f
Merge "Close all open views for 1P and 3P launchers" into tm-qpr-dev
2022-06-28 16:24:16 +00:00
TreeHugger Robot
ebef0661c0
Merge "Fixing widget size cache loop end-boundary" into tm-qpr-dev am: 5d749d93e6 am: f2ad0f246f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19087388
Change-Id: I968f0912f84df2eb4eafde38854153b496c69504
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-28 06:04:57 +00:00
TreeHugger Robot
5d749d93e6
Merge "Fixing widget size cache loop end-boundary" into tm-qpr-dev
2022-06-28 05:19:32 +00:00
Jeremy Sim
96c2aad623
Prevents split thumbnails from flipping when entering Overview in fake seascape
...
Fixes a bug where the user would see the splitscreen thumbnails swap position when entering Overview from fake seascape.
The bug arose because Overview's layout in fake seascape previously respected the primary-top secondary-bottom rule for placing splitscreen thumbnails. Actually, this needs to be flipped to preserve left-right orientation: If the user sees Task A on the left, it should always be on the left no matter how they rotate their device.
Fixed by swapping thumbnail and icon positions in SeascapePagedViewHandler#setSplitTaskSwipeRect() and setSplitIconParams(). Fake seascape will now show primary thumbnail on the "bottom" of the screen and secondary on "top."
This patch also corrects a minor calculation bug affecting icon alignment.
Fixes: 221133532
Test: Manual
Change-Id: Id587cf3815e64792d758d0e352da1e1e38cb4348
2022-06-27 22:33:30 +00:00
Pinyao Ting
f6fc56bfc7
Merge "Cache and reuses LauncherAppWidgetHostView when launcher resumes" into tm-qpr-dev am: 6c7361fb46 am: 1d6add6c85
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18801673
Change-Id: Ibca945d73376bdad01d28a1839735b28da8b9727
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-27 21:24:08 +00:00
Pinyao Ting
6c7361fb46
Merge "Cache and reuses LauncherAppWidgetHostView when launcher resumes" into tm-qpr-dev
2022-06-27 20:51:22 +00:00
Sunny Goyal
977838b568
Fixing nullpointer exception when accessing StatsLogger before initialization
...
Bug: 236227523
Test: Manual
Change-Id: I2caaa143ab2ddd4442d5c56152c7b4a7c723b92b
2022-06-27 13:16:19 -07:00
Sunny Goyal
008238ef43
Fixing widget size cache loop end-boundary
...
Bug: 236961658
Test: Verified on device
Change-Id: Ied629cd875a01abc45a7d055edfde5e156de53ea
2022-06-27 11:25:57 -07:00
Tony Wickham
5ce98a18f4
Merge "Log when MotionPauseDetector detects onMotionPauseChanged" into tm-qpr-dev am: c4405218ca am: b653ac621b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19036576
Change-Id: Ie360f187fcae3078baf6ba8701547bb8e0e1e689
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-27 18:10:25 +00:00
Tony Wickham
c4405218ca
Merge "Log when MotionPauseDetector detects onMotionPauseChanged" into tm-qpr-dev
2022-06-27 17:28:17 +00:00
Alex Chau
aacfa2b285
Merge "In AllApps search mode, only consume touch over visible container" into tm-qpr-dev am: 7cbe51c22f am: 1c3b2c017e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18994756
Change-Id: I5f4c0ebdbf280aaf8a5ad6d305e87eb301ee1957
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-27 10:27:17 +00:00