Commit Graph

83004 Commits

Author SHA1 Message Date
Uwais Ashraf acf4dc0a1c Use scale adjusted path to avoid warped rounded corners.
Fix: 355429331
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: TaskThumbnailViewScreenshotTest
Change-Id: I7f218b53cc2dd644ce61a0d343901a25cc8b0604
2025-02-19 17:29:16 +00:00
Uwais Ashraf 09933afac9 Prevent high res callback from fetching when not needed.
Fix: 395636649
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: TasksRepositoryTest
Test: TaskVisualsChangedDelegate
Change-Id: I7e0f47adb07455c1fed4761d67de901b56bdeb52
2025-02-19 17:05:06 +00:00
Jordan Silva 7c1e78acef Fix cropping app chip text with largest display and font size
Bug: 313648249
Flag: com.android.launcher3.enable_overview_icon_menu
Test: OverviewImageTest
Change-Id: I724c09647694214d59713d57269dc9378c01dc96
2025-02-19 16:16:20 +00:00
Lingyu Feng f9ceda3e3b Merge "Remove taskbar when display mirroring starts" into main 2025-02-19 05:31:51 -08:00
Treehugger Robot 5618a6b909 Merge "Add feature flag for desktop tile wallpaper background in overview." into main 2025-02-19 04:47:42 -08:00
Treehugger Robot 0436794339 Merge "Fix work badge theme issue when dropping icons" into main 2025-02-19 03:40:59 -08:00
Vinay Joglekar 3661a5005c Add feature flag for desktop tile wallpaper background in overview.
Change-Id: Ia070d530e43220a00a3f81b33b77ea70ea96cbfb
Fix: 397438316 
Flag: com.android.launcher3.enable_overview_desktop_tile_wallpaper_background
Test: None. Flag addition.
2025-02-19 02:26:24 -08:00
Vinay Joglekar cda227c0e1 Merge "Add feature flag for background wallpaper blur in overview." into main 2025-02-19 02:22:32 -08:00
Massimo Carli 2aa0a0dde8 [2/n] Fix tests before adding modal permission check
Flag: com.android.window.flags.enable_modals_fullscreen_with_permission
Bug: 394714626
Test: atest NexusLauncherTests:com.android.quickstep.DesktopSystemShortcutTest
Test: atest NexusLauncherTests:com.android.quickstep.ExternalDisplaySystemShortcutTest

Change-Id: I74ad0ca6b089a790a8f84ee6ba735b9d01acdc2f
2025-02-19 09:12:18 +00:00
Uwais Ashraf 1e2ef387d7 Merge "Add view based screenshot for remaining TTV UI states" into main 2025-02-19 01:06:51 -08:00
Lingyu Feng 0392cb8a7d Remove taskbar when display mirroring starts
Bug: 397095099
Change-Id: I0d21650af45aec084c0b48b50e22e8072d3f9192
Test: adb shell settings put secure mirror_built_in_display 1
Flag: com.android.server.display.feature.flags.enable_display_content_mode_management
2025-02-18 22:37:44 -08:00
Fengjiang Li 27cff24c00 [Memory Leak] Fix leak of NexusLauncehrActivity via AbsSwipeUpHandler#mRecentsAnimationStartCallbacks -> SurfaceTransactionApplier
Fix: 397559243
Flag: NONE - released code
Test: presubmit
Change-Id: I8a1a03575e98bdbe44c70f2bd691f6930ac8b8fd
2025-02-18 21:18:03 -08:00
Sebastian Franco 190f3263a2 Add DeviceProfile dump files into artifacts
Artifacts are collected from:

    <metrics_collector class="com.android.tradefed.device.metric.FilePullerLogCollector">
        <option name="directory-keys" value="/data/user/0/com.google.android.apps.nexuslauncher/files" />
        <option name="collect-on-run-ended-only" value="true" />
    </metrics_collector>

Defined in NexusLauncherTests.xml, by writing the files into that
directory the files should show in the artifacts section when a
test fails.

Bug: 390496167
Flag: TEST_ONLY
Test: all dumpTest
Test: dump files should now be available in test artifacts
Change-Id: I046b1482afaea647351462983c4cbab5f3bc29bc
2025-02-18 18:56:48 -08:00
Wei Sheng Shih e0221f0c8b Merge "Release predict_back animaton leash in Launcher." into main 2025-02-18 18:24:48 -08:00
Treehugger Robot 3c985a8c65 Merge "Indices correction inside RecentsView" into main 2025-02-18 17:02:45 -08:00
Treehugger Robot f1397811e0 Merge "Do not crash DesktopVisibilityController on unknown displays" into main 2025-02-18 17:02:00 -08:00
Treehugger Robot e99943f092 Merge "Moving LauncherModel initialization to a separate class" into main 2025-02-18 16:56:02 -08:00
Sihua Ma aa69e18fc8 Fix work badge theme issue when dropping icons
Fix: 397257046
Test: Manual
Flag: EXEMPT bug fix
Change-Id: I83280f990fa70dd6b7b78fc23506a9757125f59c
2025-02-19 00:29:16 +00:00
Owner Cleanup Bot 27dae5ff63 Merge "[owners] Remove zakcohen@google.com from src/com/android/launcher3/widget/picker/OWNERS" into main am: 40e6992c56 am: 3e6ebbb761
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3490733

Change-Id: I0c033754c4c3767efb56556e1187d66af28b139a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-18 14:33:42 -08:00
Owner Cleanup Bot a5d9e8a600 Merge "[owners] Remove zakcohen@google.com from tests/src/com/android/launcher3/widget/picker/OWNERS" into main am: c3a2e87058 am: aa4f86641c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3490672

Change-Id: Ic91f4281f7e12f23046a7e739830c5d76dbeccb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-18 14:33:03 -08:00
Sunny Goyal b292fcfec8 Merge "Changing ThemeManager to take IconControllerFactory as a parameter" into main 2025-02-18 14:13:54 -08:00
Sebastián Franco a13175d183 Merge "Fix null ptr exception on createUpdateRunnable lambda" into main 2025-02-18 14:03:20 -08:00
Mykola Podolian a593d2a7da Merge changes I6fe1139e,I581dddf2 into main
* changes:
  Handle new bubble notification while drag is in progress.
  Made the bubble bar react to drag events from the Shell.
2025-02-18 14:03:17 -08:00
Owner Cleanup Bot 3e6ebbb761 Merge "[owners] Remove zakcohen@google.com from src/com/android/launcher3/widget/picker/OWNERS" into main am: 40e6992c56
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3490733

Change-Id: Ie05dff5e58dbd17855adcce1a51612e92e25d47d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-18 13:57:55 -08:00
Owner Cleanup Bot aa4f86641c Merge "[owners] Remove zakcohen@google.com from tests/src/com/android/launcher3/widget/picker/OWNERS" into main am: c3a2e87058
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3490672

Change-Id: I1077217058e57bb304dff619565e4a0fe2d38c77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-18 13:56:47 -08:00
Charlie Anderson 7a7fcf5394 Merge "Fix WorkspaceItemProcessorTest for HSUM" into main 2025-02-18 13:39:05 -08:00
Owner Cleanup Bot 40e6992c56 Merge "[owners] Remove zakcohen@google.com from src/com/android/launcher3/widget/picker/OWNERS" into main 2025-02-18 13:33:13 -08:00
Owner Cleanup Bot c3a2e87058 Merge "[owners] Remove zakcohen@google.com from tests/src/com/android/launcher3/widget/picker/OWNERS" into main 2025-02-18 13:33:04 -08:00
Sunny Goyal b82394758f Moving LauncherModel initialization to a separate class
Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger

Change-Id: Ie210473a9e158faa421c00f115ffcca680f84ae4
2025-02-18 13:11:50 -08:00
Ahmed Fakhry 41111bd8f6 Do not crash DesktopVisibilityController on unknown displays
Instead of requiring that a valid display ID is given to
the APIs in `DesktopVisibilityController` and crashing the Launcher,
this CL lets the code handle invalid IDs gracefully, and adds a test
that fails without the fix.

Bug: 392986431
Test: atest NexusLauncherTests:com.android.launcher3.statehandlers.DesktopVisibilityControllerTest
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Change-Id: Id1bc7876ce654b96191c85089557b9279963acd8
2025-02-18 20:54:19 +00:00
Treehugger Robot bc55a8ee4b Merge "Fix live tile in dismiss and swipe down animation" into main 2025-02-18 11:20:42 -08:00
Bill Yi e60a2da5d5 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-18 11:06:55 -08:00
Bill Yi 726c62fc46 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-18 11:06:55 -08:00
mpodolian 39c4bf2448 Handle new bubble notification while drag is in progress.
Handle new bubble notification while drag is in progress. Updated logic
to react to new bubble notifications arriving during drag operations
before a drop occurs.

Bug: 388894910
Flag: com.android.wm.shell.enable_create_any_bubble
Test: BubbleBarViewAnimatorTest
Test: Manual. Go to some application and have no bubbles. Start
dragging the taskbar icon over the bubble bar drop zone. Trigger new
bubble with the bubbles test application. Observe drop target is
hidden and new bubble is animated in, followed by flyout. When flyout
disappears, bubble bar remains on the screen. Release icon over the
bubble bar. Observe newly added application bubble is expanded. Repeat
same test, but drag the taskbar icon to the opposite side.
Test: Manual. Go to some application, but have bubbles. Start
dragging the taskbar icon over the bubble bar drop zone. Trigger new
bubble with the bubbles test application. Observe new bubble is added
and the flyout is shown. When flyout disappears, bubble bar remains on
the screen. Release icon over the bubble bar. Observe newly added
application bubble is expanded. Repeat same test, but drag the taskbar
icon to the opposite side.

Change-Id: I6fe1139ef56f4ad40d36a804016d23a9b34abf5f
2025-02-18 10:45:20 -08:00
Charlie Anderson 0e18dee91d Fix WorkspaceItemProcessorTest for HSUM
Bug: 395684478
Test: WorkspaceItemProcessorTest
Flag: EXEMPT test fix
Change-Id: Ib884af01fd225a01a7ba5408bcb38991b7b4c2c4
2025-02-18 13:43:47 -05:00
Saumya Prakash 7286e3b053 Merge "Update Taskbar edu with new font style" into main 2025-02-18 10:40:44 -08:00
Charlie Anderson 43f4b55bdb Use selected shape during app launch animation
Bug: 372906633
Flag: com.android.launcher3.enable_launcher_icon_shapes
Test: manually launching apps

Change-Id: I86879e51df95b791266e9a5678042859a3fb27f0
2025-02-18 18:30:28 +00:00
Uwais Ashraf e4d50cf422 Add view based screenshot for remaining TTV UI states
Bug: 344800402
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: TaskThumbnailViewScreenshotTest
Change-Id: Ib67eea313d12631e1ff3bd83b4874d8eb3ebeb39
2025-02-18 18:15:05 +00:00
Charlie Anderson 3487ef52f2 Merge "Temporarily disable shapes flag in image and device dump tests." into main 2025-02-18 10:14:11 -08:00
minch 754e24c521 Indices correction inside RecentsView
Audit all the functions inside RecentsView with the TaskView index as
a parameter. Make sure the AddDesktopButton is considered while
setting the value of these parameters.

Flag: EXEMPT refactor
Bug: 379942019
Test: m
      alt+tab to the "# more apps" button insde KQS view, the first
      hidden TaskView inside the RecentsView will be focused.
Change-Id: I92cd3e38700e83e72d362dc47d3adae538695b60
2025-02-18 18:11:02 +00:00
Vinay Joglekar a3e196083e Add feature flag for background wallpaper blur in overview.
Change-Id: I3a4b06270538a9bd42ad3552374885d9f3d6fa35
Fix: 397438303 
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Test: None. Flag addition.
2025-02-18 10:07:00 -08:00
Mady Mellor 21fde7581c Merge "Allow bubble bar to show on phones if the flag is enabled" into main 2025-02-18 09:34:44 -08:00
Treehugger Robot a00a837bd8 Merge "Do not translate the AddDesktopButton on dismissing a TaskView" into main 2025-02-18 09:15:44 -08:00
Alex Chau 65c04b0f05 Fix live tile in dismiss and swipe down animation
- Add separate property for grid translation in TaskViewSimulator, so it doesn't get reset when other translations (e.g. dismiss) is applied to live tile
- In createAdjacentPageAnimForTaskLaunch, use onAnimationStart without isReverse parameter, so it's actually called when the PendingAniamtion starts
- Also reset pivot if we have overriden it during createAdjacentPageAnimForTaskLaunch
- Also avoid applying addOverviewToAppAnim on live tile if it's not launching, otherwise recentsViewScale will be applied twice with addOverviewToAppAnim applying wrong value
- Use pivot instead of recentsViewScroll to bring non scroll position live tiel to fullscreen, to avoid a trajectory that will otherwise travel left and then right

Fix: 391146807
Fix: 321013528
Test: launching via swipe down with non-launching live tile
Test: dismissing live tile
Test: launching live tile in non scroll position
Flag: com.android.launcher3.enable_grid_only_overview
Change-Id: I24ee85399b09b25e157a8986103658bb4803a87e
2025-02-18 17:13:21 +00:00
Schneider Victor-Tulias ef06ef3328 Send intent boradcast when AllSetActivity ends and reaches launcher
Flag: EXEMPT supporting new SUW behaviour
Bug: 396378163
Test: registered temporary broadcast receiver and checked logs
Change-Id: Ib39da6bf17efd7e72c8e45bc2528781e1b9aa8d3
2025-02-18 12:08:45 -05:00
Treehugger Robot 329763191a Merge "Reduce ViewPool sizes for Desktop/GroupedTaskView to save RAM." into main 2025-02-18 08:59:42 -08:00
Treehugger Robot d8a4143260 Merge "[CD][Alt+Tab] Add aconfig flag for flattening KQS" into main 2025-02-18 08:24:51 -08:00
Treehugger Robot 0351edbdcc Merge "Move dismiss utils into new Util class." into main 2025-02-18 08:08:35 -08:00
Alex Chau 9063bd7a46 Update Desktop tasks's corner radius to match Shell side
Fix: 384517710
Test: OverviewDesktopTaskImageTest
Flag: EXEMPT BUG_FIX
Change-Id: I021c3cd4e8c1cc13066def470536535c5dbc791e
2025-02-18 15:19:04 +00:00
Uwais Ashraf 5a148aef44 Reduce ViewPool sizes for Desktop/GroupedTaskView to save RAM.
Bug: 395287683
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: Manual - split tasks displaying correctly
Change-Id: Ib4496ee1859cc5245ec4ef76f0723de8fbd55b7c
2025-02-18 07:13:58 -08:00