Sebastián Franco
ee304835b7
Merge "Clean mPreviousSolution on change of CellLayout target" into tm-qpr-dev am: 791c9dbf8d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20737634
Change-Id: I675ca6b26651901989b22f5658c0418bf40d340d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-16 23:23:54 +00:00
Sebastián Franco
791c9dbf8d
Merge "Clean mPreviousSolution on change of CellLayout target" into tm-qpr-dev
2022-12-16 22:43:09 +00:00
Alex Chau
a1608fb21a
Merge "Set iconsSizePx of Taskbar's DeviceProfile directly" into tm-qpr-dev am: 98d33cdff9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20747426
Change-Id: Iabd35264bf880d76d6a669b29f614a8d86334adc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-16 17:25:04 +00:00
Alex Chau
98d33cdff9
Merge "Set iconsSizePx of Taskbar's DeviceProfile directly" into tm-qpr-dev
2022-12-16 16:45:21 +00:00
Pat Manning
f6837a8506
Merge "Match ArrowTipView width to parent so text can center." into tm-qpr-dev am: 346ca5abcc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20746966
Change-Id: I1b3619cb8c459cd9f19d4548ef6b971efd415e83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-16 14:43:40 +00:00
Pat Manning
346ca5abcc
Merge "Match ArrowTipView width to parent so text can center." into tm-qpr-dev
2022-12-16 13:54:28 +00:00
Alex Chau
7a7f6ce2c8
Merge "Use overridden default xml for TwoPanelWorkspaceTest" into tm-qpr-dev am: 0c2d7e8da3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20746546
Change-Id: Idacd0665d3e53d3db722217decd0841661d1a333
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-16 00:00:44 +00:00
Alex Chau
0c2d7e8da3
Merge "Use overridden default xml for TwoPanelWorkspaceTest" into tm-qpr-dev
2022-12-15 23:09:13 +00:00
Jeremy Sim
0f4346d057
Merge "Fix juttering problem with split staging animation" into tm-qpr-dev am: 2ebdc76fa5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20716747
Change-Id: Ie9ac3c1a7f4661c2d0f05ed9245e5167c4a89802
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-15 22:02:09 +00:00
Jeremy Sim
2ebdc76fa5
Merge "Fix juttering problem with split staging animation" into tm-qpr-dev
2022-12-15 21:38:31 +00:00
Pat Manning
7276cba38a
Merge "Get home rotation default value from DisplayController Info in case DeviceProfile is not updated." into tm-qpr-dev am: 618df8b34e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20712705
Change-Id: I857c8bc25dc82cf03192bda451bd699db0818448
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-15 20:47:02 +00:00
Pat Manning
618df8b34e
Merge "Get home rotation default value from DisplayController Info in case DeviceProfile is not updated." into tm-qpr-dev
2022-12-15 20:02:14 +00:00
Sunny Goyal
37dd2e6691
Merge "Unifying multiple all-apps implementations" into tm-qpr-dev am: 09fab7ee7d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20713205
Change-Id: I1bd905e44924ec55f8f7cb254d66f9f751357590
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-15 17:28:53 +00:00
Alex Chau
a68164d89e
Set iconsSizePx of Taskbar's DeviceProfile directly
...
- After ag/20691430, iconScale no longer scale app icons (I should rename it later, after QPR2), so we'll need to set the desired iconSize directly for Taskbar's DeviceProfile
- Extracted setting iconSizePx and testSizePx out of updateIconSize, as they are no longer affected by scaling. This allows TaskbarActivityContext to set desired iconsize and then call updateIconSize
Bug: 256976071
Test: Test Taskbar icon size in different density
Change-Id: I741c178b59e0d8ecb4c63689e68767622329379c
2022-12-15 17:05:12 +00:00
Sunny Goyal
09fab7ee7d
Merge "Unifying multiple all-apps implementations" into tm-qpr-dev
2022-12-15 17:03:05 +00:00
Alex Chau
f8b79d4235
Use overridden default xml for TwoPanelWorkspaceTest
...
- Partially reverted TAPL and TwoPanelWorkspaceTest changes on http://ag/19195512
Fix: 262627208
Fix: 262632384
Test: TwoPanelWorkspaceTest
Change-Id: I8b793bfb3874cc6305ce8b0f9f7b0a116d01222b
2022-12-15 15:48:09 +00:00
Alex Chau
c16fa37888
Merge "Avoid overlapping snackbar with nav buttons in tablets" into tm-qpr-dev am: 3ad5eef4b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20736530
Change-Id: I52702a0a615b63359c1475ddad8278c2f03d271c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-15 15:37:40 +00:00
Alex Chau
3ad5eef4b8
Merge "Avoid overlapping snackbar with nav buttons in tablets" into tm-qpr-dev
2022-12-15 14:47:02 +00:00
Pat Manning
a79880a1d8
Match ArrowTipView width to parent so text can center.
...
Fix: 260302416
Test: manual
Change-Id: I75478ec57e2535578dacb16fefaf7c45e136f1f5
2022-12-15 14:40:58 +00:00
Alex Chau
a664fab6ad
Merge "Temporarily use 1f bottomSheetDepth for multi-display" into tm-qpr-dev am: 3fa6669261
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20725027
Change-Id: I8daf4ee6227a23bb9f1cc3c825ae0083db4552d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-15 13:03:15 +00:00
Alex Chau
3fa6669261
Merge "Temporarily use 1f bottomSheetDepth for multi-display" into tm-qpr-dev
2022-12-15 12:19:27 +00:00
Sihua Ma
bcbe294409
Merge "Reducing the no-intercept area to widget picker recycler view" into tm-qpr-dev am: dbaec70d48
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20667156
Change-Id: I6fb9f5df275b04005c9d101bb435a17c2dc03e57
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-15 00:05:05 +00:00
Sihua Ma
dbaec70d48
Merge "Reducing the no-intercept area to widget picker recycler view" into tm-qpr-dev
2022-12-14 23:26:03 +00:00
Alex Chau
4fb5e62810
Merge "Remove unnecessary GridDisplayOption_defaultSplitDisplayLayoutId attribute" into tm-qpr-dev am: 8a7dc2b244
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19195512
Change-Id: I781bf1cb012683704193330bd5de35573e2295bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-14 22:14:00 +00:00
Alex Chau
8a7dc2b244
Merge "Remove unnecessary GridDisplayOption_defaultSplitDisplayLayoutId attribute" into tm-qpr-dev
2022-12-14 21:50:34 +00:00
Sebastian Franco
5aa71cee20
Clean mPreviousSolution on change of CellLayout target
...
The previous reorder solution is not peropperly cleaned and
that leads to wrong solution being used. For example when
longpressing an icon, it triggers a drag but the drag never
finishes.
Fix: 261122618
Test: You can no longer overlap a shortcut in the same app icon (see attached bug)
Test: atest ReorderWidget
Change-Id: Iff8651926cc4179561761c7ce0ac5007f13fc9af
2022-12-14 15:20:50 -06:00
Sunny Goyal
adb364a104
Unifying multiple all-apps implementations
...
> Using a single layout for the all-apps content
> Removing some unnecessary themes
> Fixing search chashes in SecondaryDisplayLauncher
Bug: 259733681
Test: Existing TAPL tests verify that Launcher/AllApps work properly
Change-Id: Icd5310316499cd421bc039cdbd4d398b813cd477
2022-12-14 11:27:12 -08:00
Alex Chau
ab800f71d0
Temporarily use 1f bottomSheetDepth for multi-display
...
Bug: 259893832
Test: Manual and DeviceProfileDumpTest
Change-Id: I196958e6f9f889de003b4d3a22a176bfd7e49511
2022-12-14 18:17:18 +00:00
Holly Jiuyu Sun
54de71eba7
Merge "[QL-v2] Reset input state on scroll and restore state on scrolling back." into tm-qpr-dev am: 80872f32da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20683467
Change-Id: I7d29b2982b7a69aea1e2104915aecf6af9758671
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-14 17:37:44 +00:00
Alex Chau
881b7f2d55
Merge "Don't scale iconSize and textSize in non-default display size" into tm-qpr-dev am: 5c1eb61391
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20691430
Change-Id: Ife649f8b410276b2cfd84826132fbe00f4835493
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-14 17:37:24 +00:00
Holly Jiuyu Sun
80872f32da
Merge "[QL-v2] Reset input state on scroll and restore state on scrolling back." into tm-qpr-dev
2022-12-14 17:25:45 +00:00
Alex Chau
5c1eb61391
Merge "Don't scale iconSize and textSize in non-default display size" into tm-qpr-dev
2022-12-14 17:15:21 +00:00
Alex Chau
86a41d1a42
Avoid overlapping snackbar with nav buttons in tablets
...
Fix: 249378243
Test: manual
Change-Id: Ibbd0e917b1cbe657b2424acbad0134d6de807f62
2022-12-14 16:18:18 +00:00
TreeHugger Robot
62268fa1b4
Merge "Set the default value for SCROLL_TOP_TO_RESET to true." into tm-qpr-dev am: c995ec1dd8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20683471
Change-Id: Ia1a17b330b4c9d043c0a37d15de5ec06315c543f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 21:32:17 +00:00
TreeHugger Robot
c995ec1dd8
Merge "Set the default value for SCROLL_TOP_TO_RESET to true." into tm-qpr-dev
2022-12-13 20:44:23 +00:00
TreeHugger Robot
707c580851
Merge "Reset TASKBAR_EDU_SEEN preference." into tm-qpr-dev am: 5c1cc6ac4b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20712590
Change-Id: I5c0fbd5e5784d1b8d6f005267b2bba8557eed95c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 19:36:11 +00:00
TreeHugger Robot
5c1cc6ac4b
Merge "Reset TASKBAR_EDU_SEEN preference." into tm-qpr-dev
2022-12-13 19:21:01 +00:00
TreeHugger Robot
6de31672fc
Merge "Adding feature flag for simulating two CellLayouts using one." into tm-qpr-dev am: be968ab8e2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20693793
Change-Id: I4ffb06b75343a41b20723cc795ca0e0fefa2b887
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 17:43:27 +00:00
TreeHugger Robot
be968ab8e2
Merge "Adding feature flag for simulating two CellLayouts using one." into tm-qpr-dev
2022-12-13 16:56:38 +00:00
Pat Manning
e95a12c329
Get home rotation default value from DisplayController Info in case DeviceProfile is not updated.
...
Bug: 260059325
Test: manual
Change-Id: I7f5ea9f4607ea50ffafb7a19f0ae0e62df2dbb14
2022-12-13 16:55:48 +00:00
Alex Chau
be753137a2
Don't scale iconSize and textSize in non-default display size
...
- Cells should get extra space by reducing borderSpace. If that's still not enough, use 0 borderSpace and distribute the space
Fix: 256976071
Fix: 248348171
Test: manual
Change-Id: I067c1aaa553d7a84caeeb9ce21e80cfaf86a3bed
2022-12-13 16:30:14 +00:00
Jeremy Sim
8e8352e27e
Fix juttering problem with split staging animation
...
This patch makes it so that app icons no longer jutter uncomfortably when staging and confirming a split from home.
The problem occurred because I used Math.round when calculating the position at which to center the app icon within the SplitPlaceholderView. When an inexact integer is used to calculate the x and y position on every frame, it creates juttering, especially when numerical values are small.
Solved by removing Math.round and using floats going forward.
Fixes: 262308025
Test: Manual
Change-Id: If91d1d3ee52652c155ed7e4e1d4f4620fdc41cc9
2022-12-12 18:18:20 -08:00
TreeHugger Robot
ea4ea36918
Merge "Changed widget picker personal-work tab layout" into tm-qpr-dev am: 742294305f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20670833
Change-Id: I819035f8c5de425978abf50bb16d097ca993fd99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-12 23:42:46 +00:00
TreeHugger Robot
742294305f
Merge "Changed widget picker personal-work tab layout" into tm-qpr-dev
2022-12-12 22:59:08 +00:00
Holly Sun
196d55aa77
[QL-v2] Reset input state on scroll and restore state on scrolling back.
...
Bug: 261872461
Test: see video in bug
Change-Id: I18e1923bdd4c40e84e46579296b69268d46c9fa1
2022-12-12 14:03:31 -08:00
Andy Wickham
a89df1e47f
Merge "Adds header protection on tablet all apps panel." into tm-qpr-dev am: 29b95b58ba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20546292
Change-Id: I09030c24485b7b25a2eb72d90e4515d6e9ea3960
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-12 19:29:48 +00:00
Andy Wickham
29b95b58ba
Merge "Adds header protection on tablet all apps panel." into tm-qpr-dev
2022-12-12 19:08:37 +00:00
Brian Isganitis
8f981e4bad
Reset TASKBAR_EDU_SEEN preference.
...
The EDU has been updated to support both transient and persistent
taskbar cases, so we should show it to the use again.
Test: Manual
Bug: 217261955
Change-Id: Ied59e6226c4f9599ad98333012313db57edc7c1f
2022-12-12 13:56:35 -05:00
TreeHugger Robot
e0de6c641d
Merge "Support mouse right click on HomeScreen to show the customization menu" into tm-qpr-dev am: 9c19638ca3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20664913
Change-Id: I9b60b25917c5a60d6c7dea1d7f9edcfdb307eb94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-11 02:13:07 +00:00
TreeHugger Robot
9c19638ca3
Merge "Support mouse right click on HomeScreen to show the customization menu" into tm-qpr-dev
2022-12-11 01:57:52 +00:00