Commit Graph
80698 Commits
Author SHA1 Message Date
Stefan Andonian ae799cc4e8 Use Launcher aconfig flag in Resource file.
Use BaseIconRoot as an example. Also add bpfmt file formatting.

Bug: 393609690
Test: Verified compilation worked well and font actually built
successfully in both gradle and make.
Flag: com.android.launcher3.google_sans_flex_font

Change-Id: I2200d13a8d57e5d046a35226f08a751add937ca7
2025-03-12 18:44:05 +00:00
Treehugger RobotandAndroid (Google) Code Review d300486e66 Merge "Adding option to skip animations for testing" into main 2025-02-28 13:10:53 -08:00
Justin YunandAndroid (Google) Code Review c237929450 Merge "Launcher3 is in system_ext container" into main 2025-02-28 09:40:25 -08:00
Orhan UysalandAndroid (Google) Code Review a7cd4f21d3 Merge "Change the misused logic" into main 2025-02-28 09:37:20 -08:00
Orhan Uysal 5e99882d75 Change the misused logic
Refactor from ag/31915496 was wrong. We should skip the transparent
activity tiles when there is a visible task already found not when
visible tasks are not found.

Bug: 397190111
Test: Enter any app, trigger circle to search, see only one tile
produced.
Flag: EXEMPT Bug fix

Change-Id: Ic19710a7d1f5be78e96aa5ac25553358732acf3b
2025-02-28 15:42:37 +00:00
Xin LiandAutomerger Merge Worker 3848c51edb [automerger skipped] Merge 25Q1 (ab/12770256) to aosp-main-future am: 2ba372343b -s ours
am skip reason: Merged-In Ic4d9d6c4f79325a5d7ab98eafa1c86db4c2e67a5 with SHA-1 9c58954488 is already in history

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

Change-Id: I5c003fb2be8a103ed646a4d78dd08ed3f2b97dbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-27 16:45:05 -08:00
Treehugger RobotandAndroid (Google) Code Review 1e8125c76b Merge "Merging some notification dots implementation" into main 2025-02-27 16:08:10 -08:00
Treehugger RobotandAndroid (Google) Code Review 029b6016d2 Merge "Fixing widgets broken during reconfiguration" into main 2025-02-27 15:59:30 -08:00
Jagrut DesaiandAndroid (Google) Code Review 2ac4d9c794 Merge "Update Taskbar Icon content description to include state description" into main 2025-02-27 15:47:09 -08:00
Treehugger RobotandAndroid (Google) Code Review 8459313c57 Merge "Converting LauncherBindableItemsContainer to kotlin" into main 2025-02-27 14:07:03 -08:00
Treehugger RobotandAndroid (Google) Code Review a708bee45b Merge "Fix jumpcuts in folder background color when opening/closing" into main 2025-02-27 14:01:50 -08:00
Alex ChauandAndroid (Google) Code Review ee1bae7d72 Merge "Multi property refactor" into main 2025-02-27 13:41:07 -08:00
Treehugger RobotandAndroid (Google) Code Review 9a5cd11da5 Merge "Move MainThreadInitializedObject to Launcher3 Go." into main 2025-02-27 13:03:12 -08:00
Charlie AndersonandAndroid (Google) Code Review f22128e5f4 Merge "Make ModelTestExtensions default to process userhandle for HSUM" into main 2025-02-27 12:59:26 -08:00
Treehugger RobotandAndroid (Google) Code Review a557c6e9c4 Merge "Handle dismiss in land/seascape." into main 2025-02-27 12:58:25 -08:00
Sunny Goyal fc2735ed96 Fixing widgets broken during reconfiguration
Async widget inflation may complete after the updates have been deferred,
leading the widget to a broken state.
Reapply widget if its root content changed while deferred

Bug: 375442765
Bug: 327696338
Test: Verified manually
Flag: EXEMPT bugfix
Change-Id: I78d0f4ce92ee9bd2ee001de3a0e181f2e727218c
2025-02-27 12:36:15 -08:00
Justin Yun 29b75b5249 Launcher3 is in system_ext container
As Launcher3 is installed in system_ext, com_android_launcher3_flags
is in the system_ext container. Aconfig flags must set the same
container with their declaration.

Bug: 385213580
Test: "adb shell aflags list" must not be changed.
Flag: EXEMPT refactor
Change-Id: I433756dda120de253909db663a6ecfd47d26c65d
2025-02-28 05:29:09 +09:00
Charlie AndersonandAndroid (Google) Code Review 4ac496c510 Merge "Make Folder preview items appear as square grid instead of circle" into main 2025-02-27 11:49:43 -08:00
Treehugger RobotandAndroid (Google) Code Review 3bb5996590 Merge "Removing unnecessary isBindingItems method from ActivityContext" into main 2025-02-27 11:32:53 -08:00
Sihua Ma 4160ad3967 Fix jumpcuts in folder background color when opening/closing
Background drawable is not associated with any folder view, and as a
result invalidating the drawable doesn't cause it to be redrawn on the
screen

Fix: 392617057
Bug: 399674389
Test: Manual
Flag: EXEMPT bug fix
Change-Id: I6d2bd97f66b53cdbeb4a715e53ff89b3450546f0
2025-02-27 18:48:51 +00:00
Sunny Goyal d237c9587b Converting LauncherBindableItemsContainer to kotlin
Bug: 393703968
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: I4d2fa18b6b275742d84de16ed604987c2deee6e8
2025-02-27 10:34:37 -08:00
Jagrut Desai 536097dec2 Update Taskbar Icon content description to include state description
This cl inlcudes: while user is in desktop mode, we will add state description(active, minimized) of each app icon to it's content description.

Test: Manual
Bug: 397555157
Flag: EXEMPT bugfix
Change-Id: Iaec18e7099108e8b076b76c637a41e29ed837265
2025-02-27 09:58:31 -08:00
Charlie Anderson 39f902cd84 Make Folder preview items appear as square grid instead of circle
- Eventually we should remove circular geometry from ClippedFolderIconLayoutRule altogether

Bug: 392610664
Test: changing shapes with different size folders
Flag: com.android.launcher3.enable_launcher_icon_shapes
Change-Id: I15c854c19186a3e4262e8d2b40960f3519ec2729
2025-02-27 09:09:10 -08:00
Sunny Goyal 39063bf167 Merging some notification dots implementation
Bug: 393703968
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: Ie02311afba85f06fbafd265a5015cd23bd356a36
2025-02-27 08:50:26 -08:00
Sunny Goyal d8e5ddb4cd Removing unnecessary isBindingItems method from ActivityContext
Bug: 393703968
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: I06fd1dcc81da5e5502a9fb0751c2701b26fd4621
2025-02-27 08:49:33 -08:00
Alex Chau 3c3d636dc9 Multi property refactor
- Introduced MultiPropertyDelegate to delegate Kotlin var to MultipPropertyFactory, allowing easy creation of var for MultiPropertyFactory
- Introduced KFloatProperty to map any Kotlin var to a FloatProperty, which simplify the code to creaet FloatProperty a lot
- Combined the above to refactor usage of MultipPropertyFactory, use var to simplfiy things, and expose them as FloatProperty directly when needed

Fix: 399635468
Test: Smoke test main flow of enter Overview, task launching etc.
Test: presubmit
Flag: EXEMPT REFACTOR
Change-Id: Ie7dd8b69da7e3bda9026a0ef7b0377c26a78a332
2025-02-27 16:01:32 +00:00
Mykola PodolianandAndroid (Google) Code Review aee4b11336 Merge "Added a bubble bar location argument to IPC calls adding app bubbles." into main 2025-02-26 17:10:14 -08:00
Anushree Ganjam e6065f5a94 Move MainThreadInitializedObject to Launcher3 Go.
Move SandboxContext to a separate class.
Remove all MainThreadInitializedObject references in Launcher3 and tests.
Remove ObjectSandbox interface and make RoboApplication extend
SandboxContext

Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: I1a8af5e6ae59df44d8ad6732b4d6e949ac402d6c
2025-02-26 16:49:08 -08:00
Treehugger RobotandAndroid (Google) Code Review 967c4999a6 Merge "Add aconfig flag for gesture nav handling on connected displays." into main 2025-02-26 13:07:26 -08:00
Treehugger RobotandAndroid (Google) Code Review 7699ddc59d Merge "Use MultiValueAlpha in ClearAllButton" into main 2025-02-26 13:04:40 -08:00
Treehugger RobotandAndroid (Google) Code Review a2af6e4daa Merge "Removing unnecessary ActivityContextDelegate" into main 2025-02-26 13:04:00 -08:00
Treehugger RobotandAndroid (Google) Code Review 83fb76700c Merge "Convert PortraitPagedViewHandler to Kotlin." into main 2025-02-26 13:01:12 -08:00
Treehugger RobotandAndroid (Google) Code Review 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 RobotandAndroid (Google) Code Review 7eb5734d77 Merge "Convert ClearAllButton to Kotlin" into main 2025-02-26 12:47:02 -08:00
Treehugger RobotandAndroid (Google) Code Review eaa0136bba Merge "Skip animation when clicking on menu action from App Chip Menu." into main 2025-02-26 12:19:29 -08:00
Xin Li 2ba372343b Merge 25Q1 (ab/12770256) to aosp-main-future
Bug: 385190204
Merged-In: Ic4d9d6c4f79325a5d7ab98eafa1c86db4c2e67a5
Change-Id: I0624a775467138ed050b94b61bf5be69b6e7606e
2025-02-26 11:59:03 -08:00
Saumya PrakashandAndroid (Google) Code Review 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 TryshevandAutomerger Merge Worker 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 RobotandAndroid (Google) Code Review 25facca397 Merge "Prevent taskbar from stashing in overview in live tile mode." into main 2025-02-26 10:20:54 -08:00
Vadim TryshevandGerrit Code Review 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
Pat Manning f1fe5c0af8 Handle dismiss in land/seascape.
Determine correct "vertical" direction based on page orientation and rtl.

Fix: 398850444
Test: Manual
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: If1857c5315f98fb3cc18a643d56c3c7d539deac0
2025-02-26 10:08:14 -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
Charlie Anderson 87ed2ec7dd Make ModelTestExtensions default to process userhandle for HSUM
Bug: 398857280
Test: BackupAndRestoreTest
Flag: EXEMPT test fix
Change-Id: I1781ffd0a04c31ee01108fb5802278051cdff4dc
2025-02-26 11:00:18 -05: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