Commit Graph

79275 Commits

Author SHA1 Message Date
Brandon Dayauon
fcb892328b Add unit testing to workkUtilityView
Testing inflate and visibility states (with both flag states)

bug: 361589193
Test: manually screenshot: https://screenshot.googleplex.com/45HDsyfQfNbgjiE
Flag: com.android.launcher3.work_scheduler_in_work_profile
Change-Id: I57cff03fe3b362e304f52984a2699f8d5b6e653e
2024-12-02 10:32:56 -08:00
Treehugger Robot
c4a90de0e9 Merge "Convert px to dp for determining minWidth and minHeight for each row count, and add breakpoints" into main 2024-11-27 21:17:43 +00:00
Ana Salazar Maldonado
ffef53ecb6 Merge "Fix condition for showing contraste tile" into main 2024-11-27 21:16:38 +00:00
Mykola Podolian
400fc4ad98 Merge changes I239f9357,I57a32ac5 into main
* changes:
  Update setting taskbar window height
  Set bubble bar aligned to QSB
2024-11-27 20:44:53 +00:00
Charlie Anderson
cc4b2217f8 Merge "add Launcher flag for launcher icon shapes" into main 2024-11-27 20:40:43 +00:00
Uwais Ashraf
bfede7eb48 Merge "Exclude cleanup methods from CUJ for entering split select." into main 2024-11-27 20:28:40 +00:00
Treehugger Robot
d7b3369036 Merge "Ignore events that occur between app icons on the taskbar" into main 2024-11-27 20:22:17 +00:00
Liran Binyamin
ed249f0451 Merge "Show the bubble bar edu view" into main 2024-11-27 20:09:07 +00:00
Vinay Joglekar
721d6c968d Merge "Add missing test from ag/30322765" into main 2024-11-27 18:19:48 +00:00
mpodolian
3111daf2f1 Update setting taskbar window height
Updated the logic to set the taskbar window height to accommodate the
bubble bar with its maximum flyout height before the bubble bar
animation begins. The height is reverted to the default value once the
animation is completed.

Fixes: 378400160
Flag: com.android.wm.shell.enable_bubble_bar
Test: Manual. Set 3-button navigation mode and have the QSB placed
above the hotseat. Send a notification that will display a bubble, and
observe the bubble bar animation and final placement aligned with the
QSB.
Next, set gesture navigation mode and repeat the flow above. Observe
that the bubble bar is aligned with the hotseat icons.
Felix video:
http://recall/-/gx8ASgewUeUS3QYohfrd1J/gYMVt0sH4si0KOpaBxIPem
Tangor video:
http://recall/-/gx8ASgewUeUS3QYohfrd1J/fz95MbjcjW3awStnuOl8BJ

Change-Id: I239f935743c3936fed44822c3c62652073ffefe2
2024-11-27 10:19:24 -08:00
mpodolian
28907bcbd6 Set bubble bar aligned to QSB
Change logic to updated bubble bar alignment with the QSB vertical
center for 3 buttons navigation mode.

Fixes: 378400160
Flag: com.android.wm.shell.enable_bubble_bar
Test: PersistentBubbleStashControllerTest
Test: TransientBubbleStashControllerTest
Test: Manual. Set the buttons navigation mode and observe that the
bubble bar is centered with the QSB when the QSB is not aligned with the
hotseat. Then, switch to gestures navigation mode and observe that the
bubble bar is centered with the hotseat when the QSB is not aligned with
the hotseat.

Change-Id: I57a32ac5bde7a7055b54a89727429424e5c0ca4f
2024-11-27 10:15:08 -08:00
Ana Salazar Maldonado
1e392d6679 Fix condition for showing contraste tile
Merge error caused the condition to only draw contrast tiles for empty
labels.

Bug: 381062398
Flag: com.android.launcher3.enable_contrast_tiles
Test: Manual, visual change
Change-Id: Id2d55d3bc16e76613faca07b0fd28ef01921f016
2024-11-27 10:00:58 -08:00
Artsiom Mitrokhin
75974d8361 Merge "Prevent spawning multiple pinning popups on right click" into main 2024-11-27 15:49:19 +00:00
Charlie Anderson
7e0cad5e10 add Launcher flag for launcher icon shapes
Bug: 348708061
Test: EXEMPT adding flag
Flag: com.android.launcher3.enable_launcher_icon_shapes
Change-Id: I95d5ecd79261d2dad62386f08fa3c6da13054728
2024-11-27 14:59:19 +00:00
Marcelo Arteiro
8b63ee3420 Merge "Migrate materialColor* attributes into colors" into main 2024-11-27 14:55:47 +00:00
vinayjoglekar
50354ed693 Add missing test from ag/30322765
Test: SplitSelectStateControllerTest
Fix: 376409147
Flag: EXEMPT test only
Change-Id: I2f40dfb370ac861b69216ebee30c6e330f6d756d
2024-11-27 14:36:26 +00:00
Vinay Joglekar
0bb2421c94 Merge "Fix animation while hiding Desktop tasks during split" into main 2024-11-27 13:33:59 +00:00
Treehugger Robot
02038f4deb Merge "Log various TaskView properties in TaksContainer.itemInfo" into main 2024-11-27 12:59:31 +00:00
vinayjoglekar
f567e7e2fa Fix animation while hiding Desktop tasks during split
1. Scale down desktop tasks
2. Change translation start when all desktop tasks need to hidden

Fix: 378447894
Flag: com.android.launcher3.enable_large_desktop_windowing_tile
Test: Manual: Add desktop window and split focussed task, desktop task(s)(also in RTL)
Change-Id: I25c11d654539efc6529a2e995d8d00cbf73c870d
2024-11-27 11:34:22 +00:00
Alex Chau
09f2433253 Log various TaskView properties in TaksContainer.itemInfo
- Extracted itemInfo creation in to TaskViewItemInfo and added a test
- Created a standalone atom for TaskView, logging data we want (please refer to the bug)
- Convert TaskView atom to StatsLog data in StatsLogCompatManager
- Simplified DesktopSystemShortcutTest and ExternalDisplaySystemShortcutTest to avoid extra testing on DesktopModeStatus

Fix: 341320349
Test: TaskViewItemInfoTest, DesktopSystemShortcutTest, ExternalDisplaySystemShortcutTest
Flag: EXEMPT logging
Change-Id: Icf04ff2b1670c3f3d5f6a66f99c0d28314efaf21
2024-11-27 10:41:43 +00:00
Uwais Ashraf
22f15212e3 Merge "Fix flake in BubbleBarViewAnimatorTest" into main 2024-11-27 10:09:50 +00:00
Uwais Ashraf
02f7a1a96d Exclude cleanup methods from CUJ for entering split select.
Fix: 378007383
Flag: EXEMPT BUG_FIX
Test: ABTD run - https://android-build.corp.google.com/builds/abtd/run/L73400030008027437
Change-Id: Ied6897a8a84b4411517ac4fd9904e00eeb86d3ad
2024-11-27 10:05:48 +00:00
Treehugger Robot
192239394f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into main am: ce3171e7a0 -s ours am: 08137ade78 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3378489

Change-Id: Ia67beec4c3bab56879d6b18f511a236bbb4989b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 08:12:59 +00:00
Bill Yi
49d1896f1d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2e0b4ce52e -s ours am: 3b4e2c156f -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3378489

Change-Id: Id2af916d0fe0eced1014014b9b9da8fc13d6ff0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 08:12:56 +00:00
Treehugger Robot
9c474e0b52 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into main am: 9513daa779 -s ours am: 63266f76a6 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3377322

Change-Id: I62d44d3fc947c8cefffb1a49bdfd46b80f747f97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 08:12:54 +00:00
Bill Yi
19751601cb [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 47853ec09f -s ours am: 9b6eca3cd1 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3377322

Change-Id: Ia39309ae318c718e1fa2b9b8af79d0badd622e0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 08:12:51 +00:00
Treehugger Robot
67f9dcc84f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into main am: d4218d8b46 -s ours am: 40ca16b415 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3377321

Change-Id: I6c30debeeb1c7ba2f73cdef2d36f0071b21c3000
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 08:12:43 +00:00
Bill Yi
7fe07b3def [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 42a07b47e1 -s ours am: aa800fb960 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3377321

Change-Id: I05384b88b76e7744485e8bece9474adcc3283c27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 08:12:35 +00:00
Treehugger Robot
08137ade78 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into main am: ce3171e7a0 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3378489

Change-Id: I15e7e15ceb946749272606385c2f90633ea77b42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 07:17:31 +00:00
Bill Yi
3b4e2c156f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2e0b4ce52e -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3378489

Change-Id: I0ae40aedd9b82483a2dad33d9045fdf3ec9a15c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 07:17:28 +00:00
Treehugger Robot
63266f76a6 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into main am: 9513daa779 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3377322

Change-Id: Idfa023f57d97a7ac72b46814f316a449e4ba7aea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 07:17:25 +00:00
Bill Yi
9b6eca3cd1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 47853ec09f -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3377322

Change-Id: I2be79edde259e12132c2a2c464bf9e56f5e73ff4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 07:17:19 +00:00
Treehugger Robot
40ca16b415 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into main am: d4218d8b46 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3377321

Change-Id: Ia665828dc4edb8085a6bfe74467c9d402c0cc4fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 07:17:12 +00:00
Bill Yi
aa800fb960 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 42a07b47e1 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3377321

Change-Id: Ic216500f63b5334cc6ef9b7abdd233341961c1ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 07:17:04 +00:00
Ana Salazar Maldonado
9531c19ba3 Merge "Avoid drawing the contrast tile on empty text" into main 2024-11-27 02:57:30 +00:00
Federico Baron
d881cee52d Merge "Fixing grid migration test and adding extra tests to cover one grid updates" into main 2024-11-26 23:40:10 +00:00
Anushree Ganjam
4c390b98f2 Merge "Create ApplicationInfoWrapper with ItemInfo.getTargetPackage() to support DeepShortcuts" into main 2024-11-26 23:08:59 +00:00
Ana Salazar Maldonado
2161355885 Avoid drawing the contrast tile on empty text
Bug: 381062398
Flag: com.android.launcher3.enable_contrast_tiles
Test: Manual, visual change
Change-Id: Ic3199d6263ac3adfd7c270de14439b0095afed1c
2024-11-26 14:52:26 -08:00
fbaron
ddc338c39b Fixing grid migration test and adding extra tests to cover one grid updates
Bug: 364711064
Flag: com.android.launcher3.one_grid_specs
Test: GridMigrationTest
Change-Id: Ib162b2f802da610a4d2802af4c890425cd657add
2024-11-26 21:05:04 +00:00
Treehugger Robot
373e0ff76e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into aosp-main-future am: fc92d73bb2 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/30597528

Change-Id: Ibb9fadd06091c7012fac36e5f14859916d2d76cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-26 20:47:44 +00:00
Bill Yi
e460705bd3 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d8b551f5e1 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/30597528

Change-Id: I6fd6ad7a69a0a310a5e922edd2a97fbd38cb0d02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-26 20:47:40 +00:00
Treehugger Robot
47cd00fa8b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into aosp-main-future am: 2980145793 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/30597092

Change-Id: If6a3e4f7f60302617bb40573f8d78f62ace2f3e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-26 20:47:37 +00:00
Bill Yi
1f39c798ed [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c53bf7890a -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/30597092

Change-Id: I400bb675e37f00fe7437a05bc9c98fbe95ab9f69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-26 20:47:28 +00:00
Bill Yi
8ccf9792b6 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2f784ae9ff -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/30597091

Change-Id: I8700fcbc3ef70ff2c3902b5ce163c267e9894015
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-26 20:47:15 +00:00
Treehugger Robot
a8f25d26ad Merge "[Launcher Memory Leak] Avoid leaking Folder/FolderIcon when removing FolderIcon from TaskbarView" into main 2024-11-26 20:37:21 +00:00
Treehugger Robot
fc92d73bb2 Merge "Import translations. DO NOT MERGE ANYWHERE" into aosp-main-future 2024-11-26 20:24:13 +00:00
Treehugger Robot
2980145793 Merge "Import translations. DO NOT MERGE ANYWHERE" into aosp-main-future 2024-11-26 20:24:13 +00:00
Sebastián Franco
ded458db94 Merge "Add Event log for FIXED_LANDSCAPE_TOGGLE" into main 2024-11-26 19:44:45 +00:00
Treehugger Robot
ce3171e7a0 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-11-26 18:59:15 +00:00
Treehugger Robot
9513daa779 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-11-26 18:59:15 +00:00