Commit Graph

20057 Commits

Author SHA1 Message Date
Treehugger Robot be8869060d Merge "Use up-to-date hover tooltip text for recents." into main 2025-03-25 14:28:16 -07:00
Charlie Anderson 4f1452d977 Merge "Fix shaped icons not centering correctly when scaled" into main 2025-03-25 13:06:39 -07:00
Charlie Anderson e6c7c82562 Merge "Fix folder closing to different shapes" into main 2025-03-25 12:44:44 -07:00
Charlie Anderson 347fc5e227 Merge "Make apply button for shapes ~28522% faster in picker" into main 2025-03-25 11:24:32 -07:00
Charlie Anderson 34bbc47c37 Make apply button for shapes ~28522% faster in picker
In reality just makes shapes load asynchronously when applying, to unblock users.
In the future we may want to at least wait for preview to load, and handle case where users leave picker early.

Bug: 404486355
Test: tested applying each shape in picker and measuring the elapsed time
Flag: com.android.launcher3.enable_launcher_icon_shapes
Flag: com.android.systemui.shared.new_customization_picker_ui
Change-Id: Ic844a3519a8d7ecde80b72c0616a9e08edceb310
2025-03-25 08:31:04 -07:00
Charlie Anderson 7c165d725f Fix shaped icons not centering correctly when scaled
Test: try different shapes and scaling
Bug: 400774067
Flag: com.android.launcher3.enable_launcher_icon_shapes
Change-Id: I06d05099195bd3cb3a4e7baf7b397eb90bc06f77
2025-03-25 00:14:55 -04:00
Treehugger Robot 69998a8c77 Merge "Using Choreographer for getting refreshrate instead of display manager" into main 2025-03-24 11:10:42 -07:00
Charlie Anderson 2044dae70e Fix folder closing to different shapes
Bug: 403915526
Flag: com.android.launcher3.enable_launcher_icon_shapes
Test: opening and closing apps from shaped folders

Change-Id: I42f0f689151dcbbd5c8eb6bf424ec4ad7dbe435a
2025-03-24 10:07:44 -07:00
Sunny Goyal 836a832bfe Using Choreographer for getting refreshrate instead of display manager
Bug: 404582684
Flag: EXEMPT bugfix
Test: Manually verified that values are same as before even after changing refresh rate `adb shell settings put system peak_refresh_rate [30/60/90/120]`
Change-Id: I5d5468d8ab81a9a5e8d8cd67a9097423b750edb3
2025-03-24 08:51:53 -07:00
Treehugger Robot 1d5064b8dc Merge "Add debug logging for task view touch controllers." into main 2025-03-24 06:17:26 -07:00
Shamali Patwa 173790f52d Merge "Update font weights for the text in widget list header's selected states" into main 2025-03-24 05:47:26 -07:00
Robin Lee 116eafb95c Add "change aspect ratio" to Recents/Overview
This shows up if the launcher is in a sw600dp-or-greater configuration.

Test: AspectRatioSystemShortcutTests
Test: OverviewMenuImageTest
Test: Manual check on phone, tablet, and inner/outer fold screens.
Flag: com.android.window.flags.universal_resizable_by_default
Bug: 357141415
Change-Id: I1bcbf9299d28ce68cccd636d92ed7195d64736eb
2025-03-24 06:56:05 +01:00
Treehugger Robot ee872972dc Merge "Adding support for custom layouts in Preview" into main 2025-03-22 02:42:04 -07:00
Shamali Patwa 1065e89e6e Update font weights for the text in widget list header's selected states
Bug: 398765355
Flag: EXEMPT a11y bug
Test: Screenshot test
Change-Id: Idf20650b8cca70af8d9025197452d457f5dc66ae
2025-03-21 15:33:10 -07:00
Charlie Anderson ca9a920fa9 Make sure loading icons from db for archived apps only happens once after restore.
- This is to enable users to theme and shape archived apps

Bug: 402303619
Flag: com.android.launcher3.restore_archived_app_icons_from_db
Test: performing restore and toggling themed icons on/off
Change-Id: I5883f703c3b0c8df5ee303ea4d99b0c02743faa4
2025-03-21 13:29:14 -07:00
Sunny Goyal 31b4d2bd32 Adding support for custom layouts in Preview
Also fixing folder items not getting loaded when using sandbox

Bug: 381897614
Test: Verified manually
Flag: com.android.launcher3.extendible_theme_manager
Change-Id: I57232dcb4112c9e4d9dd08f02fc1b720a5adb0e2
2025-03-21 10:32:38 -07:00
Sebastián Franco f33242b9e6 Merge "Return correct QSB bottom padding when QSB is inline" into main 2025-03-21 09:09:09 -07:00
Sebastián Franco 49f7acf7a4 Merge "Swap hotseat padding when LTR and in Fixed Landscape" into main 2025-03-21 09:09:09 -07:00
Treehugger Robot cb724aeb2b Merge changes I0ad8d5c2,I04815313 into main
* changes:
  Do not defer All Apps updates with async inflation.
  Add logs for the app binding flow.
2025-03-20 23:14:03 -07:00
Andy Wickham c966dd4ef6 Do not defer All Apps updates with async inflation.
With enableWorkspaceInflation, onCompleteSignal can be executed
minutes after the initial bind, leaving All Apps in a stale empty
state. And the async approach removes the need for this deferred
rendering anyway.

Bug: 393406722
Test: Wipe, add personal account in SUW, add work account.
Flag: EXEMPT bugfix
Change-Id: I0ad8d5c26f4b982403aead5cbd190482fcc42dfe
2025-03-21 03:56:41 +00:00
Treehugger Robot eb39bf2543 Merge "Fixes folder changing size when going from ClipIconView to FolderIcon on closing app to folder" into main 2025-03-20 17:19:47 -07:00
Charlie Anderson 5290d4895a Fixes folder changing size when going from ClipIconView to FolderIcon on closing app to folder
Bug: 398080005
Test: manually closing apps to folder
Flag: EXEMPT bug fix
Change-Id: Ie0b087b71483833c2152d8a3c39b73a05fa3dd35
2025-03-20 17:56:11 -04:00
Sebastian Franco 82385f0b6a Return correct QSB bottom padding when QSB is inline
Bug: 403273334
Test: HomeScreenImageTests
Flag: com.android.launcher3.one_grid_specs
Change-Id: I42433f72313668f1c620b18e7a82d385269c13d0
2025-03-20 14:30:21 -07:00
Treehugger Robot d3e559a244 Merge "Add logging for which type of migration occurs." into main 2025-03-20 11:13:55 -07:00
Charlie Anderson 591a58cc93 Merge "Avoid downgrading archived app icon when widget is restored and when apps are archived." into main 2025-03-20 10:46:01 -07:00
Andy Wickham a97f179909 Add logs for the app binding flow.
This can help debug issues like the blank all apps issue.

Bug: 393406722
Test: Manual
Flag: EXEMPT bugfix
Change-Id: I0481531313d3633c46e63646511b59e081046cf8
2025-03-20 15:29:59 +00:00
Federico Baron c7e8c4e8e7 Add logging for which type of migration occurs.
When upgrading from non one grid to one grid, we should do the row
shift migration type, here we are logging data to make sure that is what
happens on upgrade

Flag: EXEMPT logging
Test: n/a
Bug: 393175684
Change-Id: Id09257094bc9bc44da757c73a4f63bf15987772c
2025-03-20 01:31:45 +00:00
Charlie Anderson 19c4a92ebc Avoid downgrading archived app icon when widget is restored and when apps are archived.
- Restored widget were requesting icons through iconcache, and overwriting the restored icon from restored db.
	- Manually archiving icons would delete icon in cache, we should instead reuse the icon from when it was installed.

Bug: 399649982
Test: Manually performing restore with apps, widgets and shortcuts.
Flag: com.android.launcher3.restore_archived_app_icons_from_db
Change-Id: I4184af480f29eb3ef41173fe5edc5307f263d0b0
2025-03-19 21:28:37 -04:00
Stefan Andonian 4567dac1f6 Merge "Fix PageIndicatorDots Outline" into main 2025-03-19 16:03:33 -07:00
Stefan Andonian 386a7b2c40 If Folders would show extremely cropped title, hide title.
This is an edge case, not standard behavior. This only happens when
the text / display size is at the highest level, and when a folder has
10+ page indicator dots.

Bug: 394355070
Test: Verified manually that this works well, and looks great in LTR mode and RTL mode.
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: Id31aad47b94d20d9945495366d5381de27282153
2025-03-19 12:01:47 -07:00
Brian Isganitis c0a8f7ea99 Implement spring animations for running state changes.
Flag: com.android.window.flags.enable_taskbar_recents_layout_transition
Fix: 402683858
Test: go/testedequals
Change-Id: Icc4a3a61b6c0997564a4dcdd8eb7768459d5f2ef
2025-03-19 14:34:13 -04:00
Brian Isganitis e8b7cd7b2e Use up-to-date hover tooltip text for recents.
Flag: EXEMPT bugfix
Fix: 402776493
Test: go/testedequals
Change-Id: I6f438ce8b3cd51beaece0cf6734876f21719bf3d
2025-03-19 14:26:25 -04:00
Sebastian Franco c7151f6559 Swap hotseat padding when LTR and in Fixed Landscape
Fix: 404421611
Test: DumptTests
Flag: com.android.launcher3.one_grid_specs
Change-Id: Iba1a19f13d1e8ce164ca4f5b9306c7cdca369814
2025-03-19 09:52:04 -07:00
Pat Manning d6027ed5a6 Add debug logging for task view touch controllers.
Proguard should remove these logging paths from user builds.

Bug: 350398650
Test: Manual. Verify logs are present.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: Ie1d1532782c443672cde5c5dfe1ccaa49e100cd3
2025-03-19 14:32:56 +00:00
Treehugger Robot 445e12fdb5 Merge "Update Workspace App Icon Long-Press Menu's Text to Google Sans Flex" into main 2025-03-18 15:38:27 -07:00
Stefan Andonian 00cde3149b Fix PageIndicatorDots Outline
Invalidate the outline when a Folder or WidgetPicker's PageIndicatorDots
become visible with 0 scroll. Necessary to avoid stale Outlines which
appear as grey shadows.

Bug: 394355070
Test: Verified manually that this works well, and looks great in LTR mode and RTL mode.
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: I3e730b1109b9cd05e25454865f7e97df2078725b
2025-03-18 12:38:41 -07:00
Stefan Andonian 031188dd0a Update Workspace App Icon Long-Press Menu's Text to Google Sans Flex
Bug: 393615290
Test: Verified via hard-coding flag to be true that fonts were correctly updated.
Flag: com.android.wm.shell.enable_gsf
Change-Id: I9ff1405356a4ceb2930b09f27e973e4cacb72d2e
2025-03-17 17:56:31 -07:00
Sunny Goyal d7a1c17988 Merge "Moving LauncherAppWidgetHolder to dagger" into main 2025-03-17 10:42:15 -07:00
Brandon Dayauon 95cb740e76 Merge "Let psApp change according to theme." into main 2025-03-17 10:27:35 -07:00
Sunny Goyal 66916cda10 Moving LauncherAppWidgetHolder to dagger
This would allow customizing the widget holder in LauncherPreview

Bug: 361850561
Test: Updated tests and presubmit
Flag: EXEMPT dagger
Change-Id: I32491169188992453693048986c57cb780fdf1d8
2025-03-14 14:19:29 -07:00
Treehugger Robot 86045eadd7 Merge "Making GridCustomizatonProxy extendible" into main 2025-03-14 14:05:58 -07:00
Treehugger Robot ffde6fdec8 Merge "Add logging for each migration type" into main 2025-03-14 09:31:34 -07:00
Helen Cheuk 8b408e4767 Merge "Check null when getting drop view in DragController" into main 2025-03-14 04:05:23 -07:00
Sunny Goyal 370eabf534 Merge "Making ModelDbController injectable" into main 2025-03-13 23:20:17 -07:00
Federico Baron 3da182844d Add logging for each migration type
Flag: EXEMPT logging
Test: n/a
Bug: 393175684
Change-Id: Idfa551cb1e83c3c3bce498b6986035460798b93b
2025-03-14 02:54:31 +00:00
Brandon Dayauon 59ed963a06 Let psApp change according to theme.
Since psApp is supposedly a system app, private space team requests that
the icon changes according to theme like previous "install" icon. To do
so Launcher can apply the same treatment to the bitmapInfo as for
the private space app.

bug: 360313403
Test: manually video in bug
Flag: android.multiuser.enable_moving_content_into_private_space
Change-Id: I78f0d0dbb12d5cfba2cac7e7b53714e424a49660
2025-03-13 21:20:22 +00:00
Treehugger Robot f2ceba9ba7 Merge "Removing listeners from FolderInfo" into main 2025-03-13 12:48:34 -07:00
Sunny Goyal 25f5c7e761 Making ModelDbController injectable
Bug: 361850561
Test: Updated tests
Flag: EXEMPT dagger
Change-Id: Ie600469476ce5eb60813a3c8b57b9445fcf82c24
2025-03-13 11:23:23 -07:00
Brandon Dayauon d6e638c5cd Merge changes from topic "privateProfileMoveContent" into main
* changes:
  Change private space app content description
  Don't show system shortcuts for the psApp
2025-03-13 11:03:01 -07:00
Stefan Andonian 22574b46e8 Merge "Fix Entry Animations for VisualRefresh Page Indicator Dots" into main 2025-03-13 10:42:53 -07:00