Commit Graph

80264 Commits

Author SHA1 Message Date
Daniel Andersson 31191f8cee desktop-exploded-view: Add some comments
This adds some comments in DesktopTaskViewModel. There are no semantic changes.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: N/A
Bug: 367353392
Change-Id: I484bf4d0f094c5b87716022ffcd3db85d8b85ef7
2025-02-06 16:14:50 -08:00
Daniel Andersson 4899bc2c80 Merge "desktop-exploded-view: Initial implementation" into main 2025-02-06 14:51:31 -08:00
Fengjiang Li c324094762 Merge "[Memory Leak] Fix leak of TouchInteractionService from DisplayInfoChangeListener" into main 2025-02-06 09:49:27 -08:00
Winson Chung acca04d897 Merge "Move multi-instance suppport checking to ApiWrapper" into main 2025-02-06 08:17:55 -08:00
Treehugger Robot d026b7be7e Merge "Fixing ProxyPrefs not removing values correctly" into main 2025-02-05 20:49:02 -08:00
Sunny Goyal c9d9e335a4 Fixing ProxyPrefs not removing values correctly
Bug: 394600803
Flag: EXEMPT bugfix
Test: atest ProxyPrefsTest
Change-Id: Icb116df1826e9538c929a08f4e8afc32d1b1f183
2025-02-05 18:49:54 -08:00
Fengjiang Li c5e7b955af [Memory Leak] Fix leak of TouchInteractionService from DisplayInfoChangeListener
Fix: 394672098
Flag: NONE - released code
Test: manual
Change-Id: I99bfd783e8be34066e29072f5c1a6719802bde05
2025-02-05 18:26:50 -08:00
Treehugger Robot de35987f27 Merge "Stub impl new multi-desks IDesktopTaskListener APIs" into main 2025-02-05 17:18:46 -08:00
Daniel Andersson 66288ed6fa desktop-exploded-view: Initial implementation
This is an initial implementation of the desktop exploded view. The
layout algorithm (implemented in OrganizeDesktopTasksUseCase) is
currently a basic placeholder.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: Manual
Bug: 367353392

Change-Id: I6826a2583a3e0027c809d4fd3b9bab716f2f3b72
2025-02-05 15:56:27 -08:00
Treehugger Robot 734411999e Merge "Merge "Update All Apps / Smartspace / Circle to Search team owners" into main am: d61628084b am: 35d68b1726" into main 2025-02-05 15:27:42 -08:00
Treehugger Robot 8e5b44ad9c Merge "Introduce non-null itemInfo inside TaskView" into main 2025-02-05 15:09:39 -08:00
Saumya Prakash 4e084c19f1 Merge "Add aconfig feature flag for expressive theme in Gesture nav and Taskbar" into main 2025-02-05 14:22:05 -08:00
Andy Wickham 47eb0d2081 Merge "Update All Apps / Smartspace / Circle to Search team owners" into main am: d61628084b am: 35d68b1726
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3473344

Flag: EXEMPT owners file change
Change-Id: I1b4ced62280aaad84376d048f81407fc8008dbfe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-05 13:48:58 -08:00
Treehugger Robot 19d46bede8 Merge "[CD Taskbar] New NavigationBarPanelContext per instance of taskbar" into main 2025-02-05 12:47:18 -08:00
Charlie Anderson 8107a6ea07 Merge "Remove spammy log in LoaderTask" into main 2025-02-05 12:44:21 -08:00
Andy Wickham 35d68b1726 Merge "Update All Apps / Smartspace / Circle to Search team owners" into main am: d61628084b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3473344

Change-Id: I04205e4d7d2c925c0af33ed710361747171cbbd6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-05 11:56:37 -08:00
Charlie Anderson 53dcfdf963 Merge "Fix folder morphing animation" into main 2025-02-05 11:42:59 -08:00
Saumya Prakash d50f5cb431 Add aconfig feature flag for expressive theme in Gesture nav and Taskbar
Test: Presubmit
Fix: 394613212
Flag: com.android.launcher3.expressive_theme_in_taskbar_and_navigation
Change-Id: I73ad79719d255953e75445209fa92c587356a47b
2025-02-05 11:29:27 -08:00
Andy Wickham 9f34db7b10 Merge "Update All Apps / Smartspace / Circle to Search team owners" into main 2025-02-05 11:24:06 -08:00
Andy Wickham f4170772d0 Update All Apps / Smartspace / Circle to Search team owners
Flag: EXEMPT updating owners file
Change-Id: Ifbdeff9dd1b27df829bb96179a671fd90ba60bac
2025-02-05 11:23:29 -08:00
Andy Wickham d61628084b Merge "Update All Apps / Smartspace / Circle to Search team owners" into main 2025-02-05 11:23:03 -08:00
Treehugger Robot f08d861d12 Merge "Refactor: Update the way tintAmount is propagated to TTV" into main 2025-02-05 11:16:02 -08:00
Adnan Begovic beeaaa2185 Merge "launcher3: Amend strict mode policy to account for activity leaks." into main 2025-02-05 11:03:19 -08:00
Treehugger Robot 9f0838cc74 Merge "Fix attempt for testDragToFolder" into main 2025-02-05 10:07:09 -08:00
Charlie Anderson ade47d530b Remove spammy log in LoaderTask
Bug: N/A
Test: presubmit
Flag: EXEMPT just logging
Change-Id: I82f87ce2ed1e27bb72c6d4c9f3b426374f3fc777
2025-02-05 18:06:36 +00:00
Bill Yi bb0fa09356 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-05 10:05:34 -08:00
Bill Yi f409dd18bd Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-05 10:05:34 -08:00
Adnan Begovic 6a79632232 Merge "launcher3: Add abegovic to OWNERS." into main 2025-02-05 10:01:03 -08:00
minch 32321ddf56 Introduce non-null itemInfo inside TaskView
Let `TaskView` have a non-null `itemInfo` even it has no
tasks (no corresponding TaskContainer). Thus, we can still
go forward to log the necessary info of the `TaskView`
without any tasks.

Flag: EXEMPT refactor
Fix: 391918297
Test: TaskViewItemInfoTest
Change-Id: Idd08eb9846b1cd2043dd0087bc3e0078bb0b8247
2025-02-05 17:57:45 +00:00
Ahmed Fakhry ea066cdc65 Stub impl new multi-desks IDesktopTaskListener APIs
This CL chain adds the new multi-desks APIs in `IDesktopTaskListener`
and a stub implementation in
`DesktopVisibilityController.DesktopTaskListenerImpl`.
Follow-up CLs will add the real impls.

Bug: 392978600
Test: m
Flag: EXEMPT new APIs without impl yet.
Change-Id: I360ef179769df16dbcf12a01d19d57a88bc82262
2025-02-05 17:48:12 +00:00
Charlie Anderson 5c7ef0b01e Fix folder morphing animation
- Also splits interpolator between open / closing anim to setup future folder motion work
  - Also fixed bug if no shape selected in picker

Bug: 393979768
Bug: 387543793
Test: Manual verify animation and picker bug
Flag: com.android.launcher3.enable_launcher_icon_shapes

Change-Id: Ieb7355b9128cd1ded46af6787f5c14baf9be6774
2025-02-05 09:44:22 -08:00
Jordan Silva cbf3dc26f3 Merge "Remove fullscreenProgress that is not being used" into main 2025-02-05 09:13:24 -08:00
Harry Cutts 6f4d044e63 Merge "Fix button state consistency issues in TAPL event streams" into main 2025-02-05 08:59:41 -08:00
Jordan Silva 564d64c8cc Refactor: Update the way tintAmount is propagated to TTV
- Propagate the tintAmount using the Views instead of using a Flow.

This was done to minimize the usage of Flows to propagate animations
and progress through Views. It should improve the overall performance
of UI updates

Some stats about the number of collections:
- Entering Overview: ~4 collections
- Displaying Scrim: ~32 collections
- Hiding Scrim: ~35 collections
- With 4 apps on screen: ~140 collections

Bug: 390581380
Doc: go/launcher-overview-unified-taskviewmodel
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: OverviewImageTest
Test: TaskViewModelTest
Change-Id: Ice68edef12c7e3b2a26107b0fc6e62578de241b4
2025-02-05 15:25:59 +00:00
Jordan Silva bc124b18b8 Remove fullscreenProgress that is not being used
This flow was previously collected by TTVM and later removed by ag/30431716.

Bug: 390581380
Doc: go/launcher-overview-unified-taskviewmodel
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: OverviewImageTest
Change-Id: Ie0add87740b00da7d1c5e61c048dace543c47a66
2025-02-05 14:55:08 +00:00
Winson Chung 4443ff10f6 Move multi-instance suppport checking to ApiWrapper
- It's only used for App Pairs & Taskbar (both limited to quickstep
  launcher, and we need to use hidden api to query the multi-instance
  support per-activity.  This is necessary as there can be apps
  installed for a profile, but not the primary user.

Bug: 391611065
Flag: EXEMPT bugfix
Test: atest WMShellUnitTests
Test: Install a multi-instance app only for the non-primary user,
      ensure that we can see the multi-instance UI for these apps

Change-Id: I9d38f32aa38b27b2bffaa744c3f578423f7c7d86
2025-02-05 07:56:36 +00:00
Federico Baron 949981afb6 Fix attempt for testDragToFolder
The reason the test fails is that since the tap targets are smaller, the
drag is too fast and the hover over icon to create folder time doesn't
elapse

Bug: 383917141
Test: TaplDragTest#testDragToFolder
Flag: TEST_ONLY
Change-Id: Iadf0587c3c1c9b5aa50b508a35321bb398d36e5c
2025-02-04 19:07:22 -08:00
Sukesh Ram 5d8e6bcdee [CD Taskbar] New NavigationBarPanelContext per instance of taskbar
Create a new New NavigationBarPanelContext per instance of taskbar object for each new instance of taskbar.

Test: m
Bug: 394421505
Flag: EXEMPT not adding new behavior
Change-Id: I6c82140fac9e6a00f0462ea1a593c13f49c3deee
2025-02-04 18:08:25 -08:00
Lingyu Feng c36a10604c Merge "Remove unused executeForTouchInteractionService() in TouchInteractionService" into main 2025-02-04 18:07:28 -08:00
Bill Yi b76027e87e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib75501bd72bad892a7a53943aece442d60e41e1f
2025-02-04 17:52:49 -08:00
Bill Yi e41a3f2f85 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4a760660fce6c696c5cc47e15a6ef42f56472c44
2025-02-04 17:51:53 -08:00
Roy Chou 5c4bb0b8ce Merge "chore(magnification): remove the PRIVATE_FLAG_EXCLUDE_FROM_SCREEN_MAGNIFICATION window flag usage in Launcher app" into main 2025-02-04 17:11:34 -08:00
Liana Kazanova (xWF) 43032a5a61 Merge "Revert "Restore Archived Pinned Shortcuts instead of removing them."" into main 2025-02-04 16:26:27 -08:00
Liana Kazanova (xWF) f5cb1b664b Revert "Restore Archived Pinned Shortcuts instead of removing them."
This reverts commit abbb991d8f.

Reason for revert: DroidMonitor: Potential culprit for Bug X - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: Ifa241a631a1a4361623cfe0e81e31ca6b44e9d73
2025-02-04 15:37:46 -08:00
Adnan Begovic 0cf6c41e2b launcher3: Add abegovic to OWNERS.
Bug: NONE
Test: EXEMPT
Flag: EXEMPT - Owners.
Change-Id: Ia97ce446aa64ee7511fa4ee8e9af8f3fb1df3c1a
2025-02-04 15:08:07 -08:00
Adnan Begovic 3d29c0a062 launcher3: Amend strict mode policy to account for activity leaks.
detectActivityLeaks() will identify any cases where subclasses
  of Activity are leaking.

Bug: 392635961
Test: EXEMPT debug code
Flag: EXEMPT debug code
Change-Id: I28057738a7bb8951a39152f4a4e6954bd2b97706
2025-02-04 14:08:37 -08:00
Shamali Patwa 73ce362894 Merge "Reduce the widget cell horizontal padding" into main 2025-02-04 13:56:42 -08:00
Charlie Anderson 9eb29e78b5 Merge "Restore Archived Pinned Shortcuts instead of removing them." into main 2025-02-04 13:35:30 -08:00
Ajinkya Chalke f583780e73 Merge "Add Aconfig flag for Alt + Tab KQS view on CD" into main 2025-02-04 12:50:34 -08:00
Treehugger Robot 3b11538381 Merge "Simplifying some ActivityContext and StateManager methods" into main 2025-02-04 12:16:44 -08:00