Commit Graph

80668 Commits

Author SHA1 Message Date
Liran Binyamin 32dd27c8aa Wire up bubble dragging to DropTargetManager
This change creates DropTargetManager and DragZoneFactory in launcher
and supports dragging individual bubbles between bubble drag zones.

Flag: com.android.wm.shell.enable_bubble_to_fullscreen
Test: manual:
       - drag bubble across different sides and release
       - drag bubble to dismiss
Bug: 393173014
Change-Id: I58b2522baaf6b088bf8484913ba51c03aadfdd8c
2025-03-04 07:50:11 -08:00
Mykola Podolian aee4b11336 Merge "Added a bubble bar location argument to IPC calls adding app bubbles." into main 2025-02-26 17:10:14 -08:00
Treehugger Robot 967c4999a6 Merge "Add aconfig flag for gesture nav handling on connected displays." into main 2025-02-26 13:07:26 -08:00
Treehugger Robot 7699ddc59d Merge "Use MultiValueAlpha in ClearAllButton" into main 2025-02-26 13:04:40 -08:00
Treehugger Robot a2af6e4daa Merge "Removing unnecessary ActivityContextDelegate" into main 2025-02-26 13:04:00 -08:00
Treehugger Robot 83fb76700c Merge "Convert PortraitPagedViewHandler to Kotlin." into main 2025-02-26 13:01:12 -08:00
Treehugger Robot acadebfaa1 Merge "Let TaskView allow empty TaskContainers" into main 2025-02-26 12:54:24 -08:00
minch b8d4758d4e Let TaskView allow empty TaskContainers
Bug: 391918297
Flag: EXEMPT refactor
Test: m
Change-Id: Ia12c01746e6b31ac980c367f1c0144e69765f2a5
2025-02-26 12:50:04 -08:00
Treehugger Robot 7eb5734d77 Merge "Convert ClearAllButton to Kotlin" into main 2025-02-26 12:47:02 -08:00
Treehugger Robot eaa0136bba Merge "Skip animation when clicking on menu action from App Chip Menu." into main 2025-02-26 12:19:29 -08:00
Saumya Prakash a368becdfb Merge "Ensure Talkback announces text correctly in Gesture tutorial" into main 2025-02-26 11:21:39 -08:00
Vadim Tryshev 684233e257 resolve merge conflicts of 6df1743d23 to main
Test: I solemnly swear I tested this conflict resolution.
Bug: None
Change-Id: I92c19785709187592c5aaa9f5ee8141d3af0e194
2025-02-26 11:08:36 -08:00
minch 1a39494c82 Use MultiValueAlpha in ClearAllButton
Bug: 389209338
Flag: EXEMPT refactor
Test: m
Change-Id: Ia6f3f9059444161829c76373b80b354a155fd69d
2025-02-26 18:55:34 +00:00
Sunny Goyal e9355c622d Removing unnecessary ActivityContextDelegate
Bug: 393703968
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: Ib95b26de000a2fe8204fdbc46c8a9da4f65c7eab
2025-02-26 10:52:10 -08:00
Vadim Tryshev 6df1743d23 Merge "[owners] Remove mateuszc@google.com from tests/multivalentTests/shared/com/android/launcher3/testing/OWNERS" into main am: 3e63886c6e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3510914

Change-Id: I6716fa861078506712f3380d6cc42cb0f4a25caf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-26 10:46:04 -08:00
Schneider Victor-Tulias ba7f9048be Add aconfig flag for gesture nav handling on connected displays.
Flag: EXEMPT adding the flag
Bug: 382130680
Bug: 398881237
Test: ran launcher
Change-Id: Ic39582bd2f20e7d2bbf15bd4c23ae11cf4d73182
2025-02-26 10:21:06 -08:00
Treehugger Robot 25facca397 Merge "Prevent taskbar from stashing in overview in live tile mode." into main 2025-02-26 10:20:54 -08:00
Vadim Tryshev 3e63886c6e Merge "[owners] Remove mateuszc@google.com from tests/multivalentTests/shared/com/android/launcher3/testing/OWNERS" into main 2025-02-26 10:09:37 -08:00
Owner Cleanup Bot cd33516a5c [owners] Remove mateuszc@google.com from tests/multivalentTests/shared/com/android/launcher3/testing/OWNERS
This suggested change is automatically generated based on group
memberships and affiliations.

Please approve this change and vote the highest CR. This will keep the OWNERs
file tidy.  We ask that you do not ignore this change and approve it
unless you know a reason the OWNER should remain.  It can always be
reverted if needed.

If this change is in error, vote the lowest CR value (i.e. reject the CL)
and the bot will abandon it.

See the owner's recent review activity for context:
https://android-review.googlesource.com/q/mateuszc@google.com

To report an issue, file a bug in the Infra>Codereview component.

Change-Id: Ib310e8949235516783ea820d35fa113e06cd34c3
2025-02-26 09:44:59 -08:00
Jordan Silva 604906bb3c Skip animation when clicking on menu action from App Chip Menu.
Also, skips chip collapse animation when isSplitSelection is active to improve the performance.
This animation is not visible for the user, so we reduced the duration to 0 and reset the chip to the correct state.

Bug: 398318613
Flag: com.android.launcher3.enable_overview_icon_menu
Test: OverviewImageTest
Change-Id: I79d543167eb172e6d3a8306122035396e9ee2e7c
2025-02-26 16:55:30 +00:00
Pat Manning 93f530707b Convert PortraitPagedViewHandler to Kotlin.
Fix: 399332680
Test: Everything builds.
Flag: EXEMPT. Simple conversion.
Change-Id: Ib9fbaf14991716ed4135d0430945729d8448b4cd
2025-02-26 07:38:06 -08:00
minch b8aacf2d93 Convert ClearAllButton to Kotlin
Bug: 389209338
Flag: EXEMPT refactor
Test: m
Change-Id: Iaafe69ae14744e418d3c30d4d9fc6f417f36f230
2025-02-26 15:27:37 +00:00
Alex Chau 865982c634 Merge "Pulling secondary user artifacts from tests" into main 2025-02-26 02:47:54 -08:00
Treehugger Robot d9435c6d41 Merge "If the desktop task is visible, increase the count" into main 2025-02-26 02:08:25 -08:00
Treehugger Robot 006ea72afe Merge "More test for taskbar overflow" into main 2025-02-25 22:35:47 -08:00
Treehugger Robot d668dd6e30 Merge "Visual updates for PageDotIndicators" into main 2025-02-25 22:33:46 -08:00
Saumya Prakash 3fe4e7d90f Ensure Talkback announces text correctly in Gesture tutorial
This change modifies how Talkback announces the title and the subtitle
in the gesture navigation tutorial. It no longer shifts the focus to the
subtitle, but instead makes the whole window focusable.

Fix: 386884587
Test: Open the gesture tutorial with talkback and ensure the text is
announced without change of focus. Ensure the Done button doesn't get
announced
Flag: EXEMPT bugfix

Change-Id: Id28382acbebe763f2f64f4e49eb00d6ea61e0553
2025-02-26 05:47:34 +00:00
Stefan Andonian ae8ab4c403 Visual updates for PageDotIndicators
TODOs have been added for verifying and updating the Outline, right to left mode,
and the entry animation. This CL is complex, and those have been left out on purpose.

Bug: 394355070
Test: Verified this behavior looks good in LTR on the workspace.
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: I8f0192f461d344360572411e1a62921fd65ba600
2025-02-25 20:26:00 -08:00
Charlie Anderson dfb45d9c03 Simplify ShapesProvider and use constants
Bug: 398689048
Bug: 372884380
Test: presubmit and locally
Flag: com.android.launcher3.enable_launcher_icon_shapes

Change-Id: I102265ef4b25d84bb7a0b1f9642a9c19a7200e22
2025-02-25 20:17:54 -08:00
Vadim Tryshev 52bf5cd945 Pulling secondary user artifacts from tests
Bug: 396447643
Test: abtd run
Flag: NONE Not production code
Change-Id: I884a787f350ffb646827a32749c45fde8e93f53f
2025-02-25 19:20:15 -08:00
mpodolian 1a4025a10d Added a bubble bar location argument to IPC calls adding app bubbles.
Added an optional bubble bar location to the IBubbles.aidl interface
adding bubble methods to allow the launcher to update the bubble bar's
location when dragging application icons into it within the launcher
process.

Bug: 397459664
Flag: com.android.wm.shell.enable_create_any_bubble
Test: N/A
Change-Id: Ief2296146a686a72d79a5d92522feb9c7a949470
2025-02-25 15:52:05 -08:00
Owner Cleanup Bot c383866630 Merge "[owners] Remove zakcohen@google.com from tests/multivalentTests/src/com/android/launcher3/widget/picker/OWNERS" into main am: bbda0821a6 am: c8abc144b7
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3490671

Change-Id: I9a0698da781bae7365ed46bc52fee13f46aaba2f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-25 15:37:31 -08:00
Owner Cleanup Bot c8abc144b7 Merge "[owners] Remove zakcohen@google.com from tests/multivalentTests/src/com/android/launcher3/widget/picker/OWNERS" into main am: bbda0821a6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3490671

Change-Id: I5745efc226967581ed7d62454aa9976e8fca2b5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-25 15:12:04 -08:00
Owner Cleanup Bot bbda0821a6 Merge "[owners] Remove zakcohen@google.com from tests/multivalentTests/src/com/android/launcher3/widget/picker/OWNERS" into main 2025-02-25 14:47:00 -08:00
Bill Yi 32a30bfb5c Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-25 14:18:51 -08:00
Treehugger Robot b00227ca3f Merge "Adding events check to TAPL method for flinging to clear all." into main 2025-02-25 12:15:47 -08:00
Orhan Uysal ba7b64ba13 If the desktop task is visible, increase the count
When the desktop tasks are visible while constructing tasks, increase the number of visible tasks count by 1. Otherwise we might not exclude tasks that are marked as transparent and exludeFromRecents in the constructed list.

Fix: 397190111
Test: Enter desktop, trigger CtS and swipe up. Observe there is only one
desktop tile
Flag: EXEMPT Bug fix

Change-Id: Iabb382b20305a9a5b099bf8ee09a96ac13d0f36d
2025-02-25 18:19:08 +00:00
Jon Miranda 294e029be0 Prevent taskbar from stashing in overview in live tile mode.
Fixes: 354627538
Flag: EXEMPT bugfix
Test: Open app, go to overview, pause app
Change-Id: I82717747408f5776a50aa239c384f87927b54832
2025-02-25 10:12:28 -08:00
Brian Isganitis fbd55aeda4 Merge "Have per-environment bindings for Taskbar multivalent tests." into main 2025-02-25 09:53:16 -08:00
Thu-Huong Vu 803145f6f5 Merge "Add a growth broadcast receiver in taskbar." into main 2025-02-25 09:45:00 -08:00
Will Osborn 8bc3268ec4 Merge "DisplayController refactoring for multiple displays" into main 2025-02-25 08:16:52 -08:00
Treehugger Robot 4ea485eca4 Merge "[CD Taskbar] Refactor TaskbarManager - Add Debugging Support for Stability." into main 2025-02-25 08:14:09 -08:00
Treehugger Robot 14756d5a30 Merge "Convert TaskMenuView.java to Kotlin" into main 2025-02-25 08:09:02 -08:00
Pat Manning 11f50b01c7 Adding events check to TAPL method for flinging to clear all.
Clear all impl separate from public method, as nested events checking fails assertions.

Fix: 398771634
Test: TaplTestsQuickstep#testDismissLastGridRow
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I7f86c0667034c95b4b21dd0fd75307ca0f8cf48d
2025-02-25 15:46:45 +00:00
Jordan Silva c5e3d0abf5 Convert TaskMenuView.java to Kotlin
Fix: 398831742
Flag: EXEMPT converting class to kotlin.
Test: OverviewMenuImageTest
Change-Id: I6080b9c315eb7fc8b1cd221ed41f1c8f498ffef3
2025-02-25 12:55:03 +00:00
Bill Yi 63a7fe5bac Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I49090c01d57680c0bd6ccadff73a81db9727a895
2025-02-25 04:07:22 -08:00
Alex Chau 45c1192fdf Merge "Handle AddDesktopButton's visibility in different launcher states" into main 2025-02-25 03:39:39 -08:00
Will Osborn c47d03f1f9 DisplayController refactoring for multiple displays
Test: locally tested on Tangor
Flag: com.android.launcher3.enable_overview_on_connected_displays
Bug: 392858637
Change-Id: I18c196c977b3731aa09d2cc93ab6341b8f1636c6
2025-02-25 11:29:02 +00:00
Sukesh Ram f1ec7a7699 [CD Taskbar] Refactor TaskbarManager - Add Debugging Support for Stability.
Refactor TaskbarManager & add Debugging Support for Stability. Centralize all existing logging behind existing logging methods.

Bug: 398878697
Bug: 382378283
Bug: 391653300
Test: m
Flag: EXEMPT not adding new behavior
Change-Id: I3f131b5e9ce720140c1d3eb46a53a4763926df83
2025-02-25 02:52:48 -08:00
Treehugger Robot 3ac18ead77 Merge "[CD Taskbar] Create a seperate device profile for external displays." into main 2025-02-25 01:47:59 -08:00