Alex Chau
b7dd7bf1e0
Merge "Recreate Launcher activity when blur enabled changes" into main
2025-05-15 06:07:58 -07:00
Treehugger Robot
753ee52a18
Merge "Support desktop device category in grid options" into main
2025-05-14 13:30:52 -07:00
Treehugger Robot
e5b2d2ca1b
Merge "Updates Material Color Library" into main
2025-05-14 10:38:59 -07:00
Liran Binyamin
0854a5b7f7
Merge "Update long press menu bubble icon" into main
2025-05-14 09:50:02 -07:00
Alex Chau
a6fa3db580
Recreate Launcher activity when blur enabled changes
...
- When battery saver changes, WallpaperThemeManager always recreate activity to reapply theme base on wallpaper color hint changes
- Battery saver change can also result in light/dark theme changes, for which WallpaperThemeManager also recreate activity to apply theme changes
- As a result, it'll be much simpler to recreate activity whenever isBlurEnabled changes
- Exposed recreateToUpdateTheme API from WallpaperThemeManager to achieved this
- Greatly simplified Overview styling to read from styles
Bug: 414789280
Test: manually toggling battery saver and light/dark theme and WallpaperThemeManagerTest
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I90ad724867283fe3c62a9073a6e072491533f774
2025-05-14 17:45:04 +01:00
Marcelo Arteiro
7004d3410d
Updates Material Color Library
...
Following 2025 Specifications
- updates Variant
- adds a few tokens
- Removes deprecated Fidelity attribute
Bug: 394371316
Bug: 347286986
Test: Presubmit
Flag: android.os.material_colors_2025_03
Change-Id: Ieb22815cd8a5a898c740849158c639dcff48086d
2025-05-14 08:00:52 -07:00
Bill Yi
3e79ab7644
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
2025-05-13 19:02:21 -07:00
Liran Binyamin
d15fa79617
Update long press menu bubble icon
...
Updated roundedness to 100 for material 3
Bug: 416296666
Flag: com.android.wm.shell.enable_create_any_bubble
Test: EXEMPT icon change
Change-Id: Ie14cb285de5d97e1f9e1837cb23ddc717406d14d
2025-05-13 10:13:23 -04:00
Bill Yi
b14404525e
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Id6a76958a1ce83fad97729f346155885bf38b67d
2025-05-13 05:03:21 +00:00
Ana Salazar
501df846c4
Support desktop device category in grid options
...
Adds desktop enum value to grid option deviceCategory attribute type.
The device type is used for devices that have
`R.bool.desktop_form_factor` config value set.
Bug: 30153091
Flag: com.android.launcher3.enable_scalability_for_desktop_experience
Test: Manual
Change-Id: Ie4747b5bae3e124e914af51445778c9b6285ff66
2025-05-13 04:17:34 +00:00
Jagrut Desai
7c2a76b499
Merge "Fix TaskbarAllApps Icon" into main
2025-05-12 16:58:46 -07:00
Treehugger Robot
d89bd8d886
Merge "Split BlurStyle and BlurFallbackStyle for All Apps and Overview." into main
2025-05-12 14:02:09 -07:00
Jagrut Desai
bc28b98b8f
Fix TaskbarAllApps Icon
...
Test: Manual, UX
Bug: 415836854
Flag: EXEMPT bugfix
Change-Id: I8b305ce35e0a6b73559f73083a0ca9b025043e8c
2025-05-12 10:46:57 -07:00
Treehugger Robot
247d720fec
Merge "Revert "Use custom height for all apps for CD"" into main
2025-05-12 02:23:03 -07:00
Ajinkya Chalke
3f651657f7
Revert "Use custom height for all apps for CD"
...
This reverts commit 0c32760b3c .
Reason for revert: Issue on smaller screen b/416220478#comment7
Bug: 416220478
Change-Id: I8b1063a1ebc8b250e41d2587399647a589ef05b8
2025-05-10 13:50:33 -07:00
Treehugger Robot
0a38582ff6
Merge "Use dimen for GridSize_minDeviceWidth/Height" into main
2025-05-09 20:47:49 -07:00
Andy Wickham
359280ef2c
Split BlurStyle and BlurFallbackStyle for All Apps and Overview.
...
Problem: We don't want to apply the blur style to All Apps if the
all_apps_blur flags are disabled. However, we want to still apply
the relevant colors for Overview when the Overview blur is enabled.
Solution: Split the styles into All Apps and Overview variants.
Unfortunately this creates quite a bit of extra code, but such is
the nature of flag permutations.
This is a more comprehensive color fix compared to ag/33356345,
which is reverted as part of this CL.
Note: enable_overview_background_wallpaper_blur is already broken
when disabled without this change (the live tile gets blurred),
presumably because it's already in nextfood and hasn't been tested
disabled. As such, I focused on testing All Apps blur flags both
enabled and both disabled, with the Overview flag always enabled.
Demo with All Apps flags disabled:
- Blurs enabled (Overview should blur; All Apps unaffected):
https://drive.google.com/file/d/1eb882JKSMF-Irc7Ls-iAClYfJIASzzXs/view?usp=drive_link&resourcekey=0-j5EafBfVHIh5oOSFzsYE4g
- Blurs disabled (Overview should not blur; All Apps unaffected):
https://drive.google.com/file/d/1toVHYUTj9FjpXCD7m8waeuFIwBbdy_Am/view?usp=drive_link&resourcekey=0-drqPVsELmgJVxhpgxLc-aQ
Demo with All Apps flags enabled:
- Blurs enabled (Overview and All Apps should blur):
https://drive.google.com/file/d/1se5yaPDYdDKcoBjZSjDSlqCiSfX0bmHv/view?usp=drive_link&resourcekey=0-U9fBJSVYY9na9r8J5xHXMw
- Blurs disabled (Overview and All Apps should not blur):
https://drive.google.com/file/d/1YmqlCdSJDZXGSgpeO5hk16V8Y-6tVpeW/view?usp=drive_link&resourcekey=0-rK4Zy7D8fFyPMA_1XXxwCQ
(Note: All Apps fallback colors will change with ag/33405653)
Test: Above videos
Fix: 416248709
Flag: com.android.launcher3.all_apps_blur
Flag: com.android.launcher3.all_apps_sheet_for_handheld
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I9b5cf6b0dce4014053b27ea95a91d047262427b2
2025-05-10 01:21:43 +00:00
Ajinkya Chalke
0c32760b3c
Use custom height for all apps for CD
...
Bug: 416220478
Flag: com.android.window.flags.enable_taskbar_connected_displays
Test: m
Change-Id: I772c43cec98e5a2679324603bee128482c614e26
2025-05-09 01:14:15 +00:00
Toni Barzic
ff16a5912d
Use dimen for GridSize_minDeviceWidth/Height
...
Makes the grid size format more flexible, as it allows the min width and
height to be easily defined either as px, or dp (which may be
preferable for upcoming desktop grids - I noticed that scaling display
size may end up with too tightly packed grid when using pixel sizes
to select the correct grid size).
Test: Existing tests
Bug: 375643744
Flag: EXEMPT cleanup
Change-Id: I09b772ece177fe0539a1ff641ff2391e88d9e289
2025-05-08 10:20:54 -07:00
Bill Yi
a0910bcf27
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ibf99e2ac8809f353bc10cbf4be54a71d62606f5b
2025-05-06 21:28:03 +00:00
Sunny Goyal
55b5e41d8a
Merge "Removing Smartspace as a widget flag" into main
2025-05-05 10:01:05 -07:00
Bill Yi
ac48b8b3d3
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I1eed4123bfdbcfc64712de5f3f6463381fac0ec8
2025-05-01 23:42:04 +00:00
Sunny Goyal
7a332e02aa
Removing Smartspace as a widget flag
...
Bug: 300140279
Flag: EXEMPT removing dead code
Test: Presubmit
Change-Id: If24db0b4c2c119f5cbe1153e3d77599d12ff80a6
2025-05-01 16:00:04 -07:00
Andy Wickham
3a282d3c28
Remove dark mode Launcher3 colors for blur.
...
These were intended to be placeholders for non-quickstep builds,
but it seems soong ends up using the base version instead of the
override in quickstep. So now we always use the non-night version
which gets overridden correctly (and that color resource itself
defines a dark mode variant).
Test: mp launcherd - verify light and dark mode use themed colors.
Bug: 414732288
Flag: com.android.launcher3.all_apps_blur
Change-Id: I21bf8e66bf1715a8b3532931ed64725ccc3f86b9
2025-05-01 04:23:40 +00:00
vinayjoglekar
45cb055158
Apply fallback overview scrim, overviewactions and clearall in battery saver mode.
...
1. BlurFallbackStyle/BlurStyle will now be applied in Launcher startup.
When "updateBlurStyle" is called, individual element style's swap
happens as per blur style.
2. "hasOpaqueBg" background will now be checked in "applyDepthAndBlur"
for setting the "currentBlur" value.
Bug: 409758306
Test: Manual. go to overview, enable/disable battery saver mode.
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: Ic9030c2b267867b9124705426dd51deb1b30ca55
2025-04-30 17:23:42 +01:00
Treehugger Robot
d771ad1951
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
2025-04-29 09:56:36 -07:00
Treehugger Robot
3bde3a8331
Merge "Update blur style for more things." into main
2025-04-28 13:51:25 -07:00
Bill Yi
66176dd9d6
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I87880bd7872d0ed4f2ffd8374e714beafb23d741
2025-04-28 18:47:30 +00:00
Andy Wickham
6610425a1d
Update blur style for more things.
...
- Quick Launch highlight (focusHighlight)
- Drag bar at top of All Apps
- Divider inside Private Space
Demo (enabling blur via adb in the middle):
https://drive.google.com/file/d/1MjYn1c1mz3m1llmJ-J6kLHUa1j3biv_H/view?usp=drive_link&resourcekey=0-6d1yf_4zDL0W9nTYe6HLNQ
Fix: 413143411
Test: Manual
Flag: com.android.launcher3.all_apps_blur
Change-Id: I37340759867aba1460fb038269d21c86e8b3c4f6
2025-04-26 01:25:05 +00:00
Brandon Dayauon
a51dbda452
Merge "Don't use gradient on game icon" into main
2025-04-25 14:52:46 -07:00
Treehugger Robot
fe7225eace
Merge "Move LauncherRestoreEventLogger to dagger" into main
2025-04-25 14:11:18 -07:00
Treehugger Robot
868eb7458f
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
2025-04-25 13:43:08 -07:00
Treehugger Robot
703d6f6f55
Merge changes from topic "folder-arrows-pointer" into main
...
* changes:
Only Show Folder Arrows if Mouse or Trackpad is Connected to Device
Make Width Calculation Exact
2025-04-25 11:53:41 -07:00
Brandon Dayauon
3882fafedc
Don't use gradient on game icon
...
Changing this to regular game icon as gradient is not needed anymore.
bug: 409978022
Test: manually hsv: https://hsv.googleplex.com/5376677671600128
Flag: com.android.launcher3.nudge_pill
Change-Id: I47e07d5f5a728411b940a34b2408bfae3a1b89f2
2025-04-25 10:19:39 -07:00
Treehugger Robot
087c9c4cf6
Merge "Run task reflow after dismiss earlier and increase spring constants." into main
2025-04-25 09:47:03 -07:00
Pat Manning
dac05b0390
Run task reflow after dismiss earlier and increase spring constants.
...
This allows the user to dismiss multiple tasks in a row more quickly.
Fix: 409485085
Test: Manual. Fling to dismiss tasks as quickly as possible.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I9a0d05c1a47b5bc0ef72cde055379e4df50b48b4
2025-04-25 15:04:53 +01:00
Anushree Ganjam
06bc3f5301
Move LauncherRestoreEventLogger to dagger
...
Helps us to delete ResourceBasedOverride class.
Delete "launcher_restore_event_logger_class" resource from config.
Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: Ia11162979f016513bd09e06796346d29699b2efd
2025-04-25 01:02:28 +00:00
Bill Yi
4417bed406
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I92dac24a6704f912df522fc623d26ae5dc11f092
2025-04-24 23:41:22 +00:00
Stefan Andonian
cffeb99122
Only Show Folder Arrows if Mouse or Trackpad is Connected to Device
...
Bug: 394355070
Test: Verified correct behavior locally. See screen recording on https://buganizer.corp.google.com/issues/394355070#comment28
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: I7132b892b3bd8ee3af2cdca58b6e70f3a219c8f4
2025-04-24 13:59:21 -07:00
Anushree Ganjam
41998110bd
Move FolderNameProvider to dagger.
...
Helps us to delete ResourceBasedOverride class.
Delete "folder_name_provider_class" resource from config.
Introduce FolderNameSuggestionLoader for easy dagger injection for
folderNameProvider.
Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: I58a68cb4ce11331458a1cccef2e692f74c14ea53
2025-04-22 19:31:51 +00:00
Anushree Ganjam
77f22bf9cf
Merge "Move StatsLogManager to Dagger" into main
2025-04-21 18:48:56 -07:00
Anushree Ganjam
291438aaec
Move StatsLogManager to Dagger
...
Helps us to delete ResourceBasedOverride class.
Delete "stats_log_manager_class" resource from config.
Delete unused "app_launch_tracker_class" resource from config.
Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: I71ed7ffca62e7c74d4ee0d0b4c045ffed9599cfe
2025-04-21 19:13:22 +00:00
Bill Yi
9732823c1b
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I105f4b000deeded5238f7d5f75ba7c7236de2f9c
2025-04-21 01:12:52 +00:00
Treehugger Robot
bf044d730c
Merge "Move InstantAppResolver to Dagger." into main
2025-04-18 18:06:15 -07:00
Andy Wickham
303b52f84a
Merge "Make TaskbarOverlayContext overrideable." into main
2025-04-18 15:02:50 -07:00
Charlie Anderson
8ec6581db0
Merge "Update system shortcut icons to filled GM3 versions" into main
2025-04-18 13:20:51 -07:00
Anushree Ganjam
59d5401f59
Move InstantAppResolver to Dagger.
...
Helps us to delete ResourceBasedOverride class.
Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: I9320e0309e2ae4370dcbf2f6f62d704712876bd5
2025-04-18 20:14:14 +00:00
Treehugger Robot
579672c0d8
Merge "Update All Apps colors to use shared sysui resources." into main
2025-04-17 20:00:20 -07:00
Andy Wickham
33c7b3dcf1
Make TaskbarOverlayContext overrideable.
...
Bug: 371343636
Flag: EXEMPT refactor
Test: with other change
Change-Id: I46c4bcb88d21890e66e7db7240d3450d75d74354
2025-04-18 01:24:56 +00:00
Andy Wickham
51a0a3829a
Update All Apps colors to use shared sysui resources.
...
This includes the new scrim color and panel treatment documented
here: https://docs.google.com/presentation/d/1BKFfB2LAIDoaA5aLs8did6IcUw_pktrSWI5xmypkl3s/edit?slide=id.g3484dcfffc6_1_203&resourcekey=0-HpXwztiEYGe0BYQzUeBBbQ#slide=id.g3484dcfffc6_1_203
Bug: 371343636
Test: Manual
Flag: com.android.launcher3.all_apps_blur
Change-Id: I810aaa84eda218ab33112c9a5c1561cdb088b310
2025-04-17 19:14:18 +00:00