Johannes Gallmann
3a9aac8358
Merge "Remove haptics for long presses in 3-button-nav" into main
2025-05-13 01:21:00 -07:00
Jagrut Desai
7c2a76b499
Merge "Fix TaskbarAllApps Icon" into main
2025-05-12 16:58:46 -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
Johannes Gallmann
76621e0972
Remove haptics for long presses in 3-button-nav
...
This CL removes haptics for long presses on 3-button-nav buttons, except
when the long press triggers a user visible action.
This means that for example the haptics for long pressing the recents
button are removed, whereas haptics for long pressing the home button
remain active since that launches circle-to-search.
Bug: 408968370
Test: Manual, i.e. verified that no haptic feedback is played when
long pressing the recents button
Flag: EXEMPT bugfix
Change-Id: Icfeade8a659a8aa4882ef139696c66f410980303
2025-05-12 15:35:57 +00:00
Andy Wickham
58fd27a0cb
Fix All Apps fallback colors.
...
Spec is linked in the bug.
Test: Manual
Fix: 415847439
Flag: com.android.launcher3.all_apps_blur
Change-Id: I805aff19bb3d15d479b7c2c026f041c35585efd2
2025-05-10 01:21:54 +00: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
vinayjoglekar
3997f6ce4a
Separate blur/fallback styles for all apps and overview
...
Fix: 415233763
Test: Manual. go to overview/all apps enable/disable battery saver mode.
Flag: com.android.launcher3.all_apps_blur
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I4fdb672feb34d4b4da74f430eb8ef9a86ec3adf2
2025-05-09 10:17:11 +01:00
Bill Yi
4023aef00b
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
2025-05-07 14:49:23 -07:00
Uwais Ashraf
882a6a22bf
Make state of TTV xml match Uninitialized state
...
Flag: EXEMPT - test only
Bug: 416195253
Test: Presubmits
Change-Id: I82250915bf35b4ce9583dd58c6fc736530c25461
2025-05-07 05:28:28 -07:00
Bill Yi
274d8cc6e8
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ic07c7fd32a91551401320b54dea89c07b2e88caf
2025-05-06 21:27:04 +00:00
Bill Yi
a589d95676
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
2025-05-04 21:41:56 -07:00
Pat Manning
d2f050ab26
Add magnetic detach to task dismiss using MotionValue library.
...
Fix: 389081766
Test: TaplTestsQuickstep
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I77f980f9851f4b1c041cbf3bb7247b972c1730fd
2025-05-02 17:13:57 +01:00
Bill Yi
1e52b70434
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I83194d37008b416e8b9ba57c72e68b13ad6b282e
2025-05-01 23:41:03 +00: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
9ab4c7eafe
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
2025-04-29 09:56:36 -07:00
Li Lin
6e718cffb1
Merge "Show Growth Framework nudge driven by nudge payload." into main
2025-04-28 17:01:20 -07:00
Li Lin
0f82810cdb
Show Growth Framework nudge driven by nudge payload.
...
Current implementation of the nudge will show at default position
(bottom left corner) and may extended to other position in the future.
More detail at: go/al-growth-framework-nudge
Bug: 398033012
Test: NudgeControllerTest.*
Flag: com.android.launcher3.enable_growth_nudge
Change-Id: Idff9d62a5b1b26aa1cfbef5817f5425f8e94b7c9
2025-04-28 13:59:30 -07:00
Treehugger Robot
3bde3a8331
Merge "Update blur style for more things." into main
2025-04-28 13:51:25 -07:00
Bill Yi
6fc2d63318
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I0c8b46de6384bb1bbac9c3b44fa5474e6156ce0c
2025-04-28 18:46: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
Treehugger Robot
fe7225eace
Merge "Move LauncherRestoreEventLogger to dagger" into main
2025-04-25 14:11:18 -07:00
Treehugger Robot
391af10463
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
2025-04-25 13:43:08 -07:00
Jordan Silva
6a70a9ac1c
Update Icon App Chip menu animation
...
Fix: 320435745
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual. Expanding and Collapsing Icon App Chip menu.
Change-Id: Ibfaeb5908f6edf4d3f4c249f6064a21ff10ee0ba
2025-04-25 14:28:27 +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
70a2b27701
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Id48aa0f8190d33d50375172d27d80b555cc3a15c
2025-04-24 23:40:20 +00:00
Anushree Ganjam
99ba7b61be
Merge "Move NavHandleLongPressHandler to Dagger." into main
2025-04-24 16:29:24 -07:00
Shamali P
fd57876c7c
Move app timer in the taskContentView behind a refactor flag.
...
Bug: 405359383
Flag: com.android.launcher3.enable_refactor_digital_wellbeing_toast
Test: Screenshot tests
Change-Id: Ib1cf21aabc8d01a14c0dedbfa770e9f0bba52268
2025-04-23 09:44:00 -07:00
Shamali P
3519785d79
Change task content view to be a constraint layout.
...
This is for child cl to be able to place dwb inline in it.
Bug: 405359383
Flag: com.android.launcher3.enable_refactor_task_content_view
Test: Screenshot tests
Change-Id: Id3252fff5776c199ae2a0c7e89d96c423241478c
2025-04-23 09:43:48 -07:00
Anushree Ganjam
93b2c414d4
Move NavHandleLongPressHandler to Dagger.
...
Helps us to delete ResourceBasedOverride class.
Delete "nav_handle_long_press_handler_class" resource from config.
Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: I3ea307c8da95756ade84dc9c3210dacdeccf9a51
2025-04-23 00:35:57 +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
e39d4edaf8
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Id874f374f59d341fa72ff11d5bc7b3dd0c57a823
2025-04-21 01:11:50 +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
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
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
Andy Wickham
16a024df71
Adds Blur and BlurFallback styles for All Apps.
...
Technically these styles can be used throughout Launcher, e.g.
Widget Picker and Folders, but this CL only applies it to All Apps.
At a high level, views wishing to apply transparency to show blur
should use these new attr values rather than colors directly.
When blur changes, e.g. starting or stopping battery saver, the
style is re-applied and revelant views are invalidated. For
Launcher, this is handled by DepthController, and for Taskbar it's
handled by a CrossWindowBlurListener.
Also updated the Private Space animation slightly to account for
the translucent decorators (specifically, we can't use the mask
view to cover them when blur is enabled).
Screenshots: https://drive.google.com/drive/folders/1tU472KHotgEBpT-Ec9VOBWPBf_YdVqv2?resourcekey=0-ebf7W8O6iDJ4UVMtRzTABg&usp=sharing
Private Space animations: https://drive.google.com/file/d/1h5pn8Xb17TPcbujr7uSAJNTq8kwNZoIp/view?usp=drive_link&resourcekey=0-TzpaJ16Gg8_QJctBx4oiIg
Private Space QS Tile animations: https://drive.google.com/file/d/1dCuqnqd5z2kSBEakGobMlEkMwFDBWRbJ/view?usp=drive_link&resourcekey=0-qRVFPb-a6OzaZQOf4x86Jw
Bug: 371343636
Test: Manual
Flag: com.android.launcher3.all_apps_blur
Change-Id: Ia9f581f50d1adc0830569656bdeb751deb710a9c
2025-04-15 16:42:56 -07:00
Saumya Prakash
178b49beb3
Merge "Remove the skip button from the gesture tutorial" into main
2025-04-15 15:29:37 -07:00
Bill Yi
38d57bf674
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I91a8868789991096a90858d4b97a7844d8f77739
2025-04-15 04:17:42 +00:00
Saumya Prakash
ebfcad524b
Remove the skip button from the gesture tutorial
...
This change removes the legacy skip button from the gesture tutorial. It
is not needed in the current version of the gesture tutorial.
Bug: 400485351
Test: Run tutorial and observe no change as this was for the legacy
tutorial that is no longer in use.
Flag: EXEMPT bugfix
Change-Id: Ice384a0b5811fdc0d09da58ade68539aa146d84d
2025-04-14 23:35:10 +00:00
Brandon Dayauon
b570514ee0
Merge "Add nudgeView to Taskbar.xml" into main
2025-04-11 16:28:59 -07:00
Brandon Dayauon
1fc6f916d3
Add nudgeView to Taskbar.xml
...
Aiai will send a broadcast to Launcher and will animate the stashHandleView and nudgeView accordingly.
Verified on large screen device that transient taskbar is not affected as its not in scope at the moment.
bug:409121556
Test: manual - video in bug
Flag: com.android.launcher3.nudge_pill
Change-Id: I740e5d81dd008a230aa089f311d38bac665fc227
2025-04-11 13:24:22 -07:00
Sam Cackett
bf69d6e6a5
Merge "Add TaskContentView wrapper to TaskThumbnailView" into main
2025-04-09 23:54:40 -07:00
Brian Isganitis
8c6dd04740
Merge "Expose desktop experience CD Taskbar flag to SecondaryDisplayLauncher." into main
2025-04-09 13:33:40 -07:00
samcackett
2244b633cc
Add TaskContentView wrapper to TaskThumbnailView
...
- Keep TaskThumbnailViewDeprecated as-is
- Due to flag guarding and xml changes, added bottomright_snapshot id
- Remove redundant FrameLayout from task_header_view.xml and refactor
the view to handle alignment correctly
- Move feature flag logic to the state mapper
- Extract TaskThumbnailViewHeader logic and any related state out of
TaskThumbnailView and move to TaskContentView
- Use vertical LinearLayoutManager to hold the TaskThumbnailViewHeader
and TaskThumbnailView
- Rename TaskThumbnailViewHeader to TaskHeaderView. Rename xml and state
similarly
This reverts commit df6dc455a7 .
This reverts commit 714370a9bfb2e53738b0cd9958acd6540d8d649c.
Reason for revert: Reland previously reverted CL's with fixes
Fix: 408971730
Fix: 397889146
Fix: 401469907
Fix: 402277471
Fix: 403826044
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: TaskUiStateMapperTest & TaskContentViewScreenshotTest & TaskThumbnailViewScreenshotTest & TaskHeaderViewScreenshotTest & SwitchBetweenSplitPairsGesturalNavPortrait
Change-Id: I01758447ad1194ebbeab748113621b42f3384db8
2025-04-09 16:36:51 +01:00
Brian Isganitis
b7a5dc0017
Expose desktop experience CD Taskbar flag to SecondaryDisplayLauncher.
...
Flag: EXEMPT refactor
Fix: 407924023
Test: go/testedequals
Change-Id: I06344f023eb1fab697f25276bc82e1be0209e4a8
2025-04-08 17:17:15 -04:00
Treehugger Robot
1f4ee92d18
Merge "Fix grammar issue with all set page subtitle" into main
2025-04-08 09:57:13 -07:00
Schneider Victor-Tulias
02d9e5043a
Fix grammar issue with all set page subtitle
...
Flag: EXEMPT bug fix
Fixes: 392616062
Test: launched all set page with empty and test devices names
Change-Id: I885603f64478642c825e15563f5526399114f0f2
2025-04-08 10:31:19 -04:00