Commit Graph

2610 Commits

Author SHA1 Message Date
Simon (Qiong) Sun
3f4fed5411 Merge "Update Split-Screen icons with new icons." into main 2025-03-19 12:08:08 -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
Sam Cackett
bca368924c Revert^2 "Inflate TaskThumbnailViewDeprecated as TaskContentView"
This reverts commit 1048b2711c.

Reason for revert: Reland CL with fix

Original message:
Inflate TaskThumbnailViewDeprecated as TaskContentView

If the enableRefactorTaskThumbnail is false, then inflate
TaskThumbnailViewDeprecated as TaskContentView so that the behaviour
matches the previous pre-factor behaviour

Fix: 402277471
Bug: 403826044
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: Manual. See bug

Change-Id: Ib43331023d99316c7b0c9de2ab81e379db58bb50
2025-03-19 10:05:25 -07:00
Simon (Qiong) Sun
a2aa9edc02 Update Split-Screen icons with new icons.
Bug: 379959026
Test: Check that Split and save Split-Screen icons.
Flag: EXEMPT icons change
Change-Id: Idbc9d391b99a4e9833fd9ced597be22e15a77768
2025-03-18 23:28:33 -07:00
Bill Yi
32620dc76e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia2840059c31992a7dd3cb99b06230db19bef83dc
2025-03-18 12:48:43 -07:00
Sunny Goyal
d7a1c17988 Merge "Moving LauncherAppWidgetHolder to dagger" into main 2025-03-17 10:42:15 -07:00
Mady Mellor
3894947741 Merge "Update dragged elevation to use shared value (at 3dp)" into main 2025-03-14 16:10:01 -07:00
Jagrut Desai
56a8bf548f Merge "Taskbar Icon changes" into main 2025-03-14 14:29:08 -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
Mady Mellor
609f2b3143 Update dragged elevation to use shared value (at 3dp)
- Had to bump elevation of drop target so need to bumpe elevation
  of dragged views

Flag: com.android.wm.shell.enable_bubble_anything
Test: manual / visual - drag a bubble or drag expanded view and observe
                        the drop targets
Bug: 403276099
Change-Id: I15a1deb055c590b1f46261fcc307120fcb685c08
2025-03-14 13:56:29 -07:00
Treehugger Robot
d78c8c41b7 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-14 09:49:43 -07:00
Jagrut Desai
4fe0b79fde Taskbar Icon changes
Test: Manual
Bug: 379158656
Flag: com.android.wm.shell.enable_gsf
Change-Id: Ic4ec9a7c634231c2592cfcd6ba6c8f8252c2dd98
2025-03-14 09:26:32 -07:00
Treehugger Robot
64927397af Merge "Fix KQS arrow button padding" into main 2025-03-14 08:14:16 -07:00
Toni Barzic
3c07c2156f Fix KQS arrow button padding
The padding values were set to their totals.
They needed to be halved.

Bug: 397975686
Flag: com.android.launcher3.taskbar_overflow
Test: None
Change-Id: Icae56e02fa6082b7f99b9fef265d6220b613d06b
2025-03-14 04:58:38 +00:00
Bill Yi
e6ebc9cedc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I47cdfafd3aa21f5c17871ed13de4a41ebb004cce
2025-03-13 21:48:20 -07:00
Treehugger Robot
9b577bc9b5 Merge "Mark KQS arrow strings translatable" into main 2025-03-13 12:41:19 -07:00
Toni Barzic
026306b793 Mark KQS arrow strings translatable
Bug: 397975686
Flag: EXEMPT bugfix
Test: None
Change-Id: I3911a7c9b9cd19388934355e684941acc27a1c01
2025-03-13 10:17:31 -07:00
Bill Yi
0c30f5da82 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-12 14:17:31 -07:00
Treehugger Robot
6fcd77c19a Merge "Update KQS task view borders" into main 2025-03-12 12:21:08 -07:00
Treehugger Robot
f0e0e8b7ec Merge "Remove redundant FrameLayout from task_header_view.xml" into main 2025-03-12 11:31:52 -07:00
Andy Wickham
250d85698c Merge "Adds all_apps_blur flag." into main 2025-03-12 11:25:50 -07:00
Jordan Silva
99eefc9055 Add keyboard navigation for App Chip and Chip Menu
Bug: 400410772
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual using Keyboard. Access the app chip via TAB.
Change-Id: I75f80b5c6f366ecfc27596519a721cc6ace18d45
2025-03-12 07:55:04 -07:00
Treehugger Robot
b615b9bdaf Merge "Add Arrows to Folder PageIndicatorDots for Accessibility Purposes." into main 2025-03-11 23:50:53 -07:00
Andy Wickham
ccb3a5c25c Adds all_apps_blur flag.
This enables blur both for Taskbar and Launcher, but in slightly
different ways.

For Taskbar All Apps, we apply blur to the overlay window, and
for Launcher All Apps, we utilize the existing DepthController to
blur the wallpaper window. For similicity, we currently fade out
workspace/hotseat to avoid awkward view + window blurs which
don't look that good. This is not the POR, but I think it achieves
most of the effect and will help us get some blur exposure.

Separately I will continue to investigate options such as blurring
workspace in a clever way so it feels blended with the wallpaper,
reusing the Taskbar window and connecting it to LauncherState, or
using a SurfaceView (though I spent quite some time trying this and
it seemed the same as the original issue).

In both cases, we use a 20-30% opacity scrim with a set color, and a
panel that blends 40% opacity of a dark/light color with 10% white.

Also updated some incorrect isTablet checks which really should have
been checking shouldShowAllAppsOnSheet(), which includes the
all_apps_sheet_for_handheld flag.

Demo: https://drive.google.com/file/d/1Ov9Dg3R9YHNfisfxNf97ZIhlDeEA1IWj/view?usp=sharing&resourcekey=0-l_SDpqpS4HtOb10a3b_jNg

Other upcoming improvements: interpolator tweaks, colors of things
inside the app panel (tabs, private space, search results, etc).

Bug: 400827727
Bug: 371343636
Test: Manual
Flag: com.android.launcher3.all_apps_blur
Change-Id: Ic7063cd822f39a5977715b5477f825bf11e57bdf
2025-03-11 23:34:03 +00:00
Toni Barzic
94db320a84 Update KQS task view borders
Updates border color to have more contrast to the background, and adds
2dp padding between the border and the task content view - done by
updating BorderAnimator not to assume the border width and stroke are
the same.

Adding padding between the border and task view content exopsed an issue
where the second thumbnail in a split task's borders were not clipped
correctly when adding a border (it looked like the clip rect was not
properly scaled down). This is addressed by moving the tack view
background (and the outline) from the root KeyboardQuickSwitchTaskViews
to the content views (i.e. moving the outline to the view that does not
get scaled when adding a border, and having the second thumbnail end
edge of the clip rectangle match the clip rectangle of the clipped
ancestor view).

Bug: 398770098
Test: Manual
Flag: EXEMPT (a11y) bug fix

Change-Id: Ie058c932411a6b47815b0abf756f739c55b8342f
2025-03-11 22:00:59 +00:00
Stefan Andonian
aa29761825 Add Arrows to Folder PageIndicatorDots for Accessibility Purposes.
Bug: 383974843
Test: Verified via go/web-hv that the hitbox sizes were correct. Measured the width and height within the folder for 1 through 7 pages, and everything looked great.Change title worked, and pressing on arrows to change page worked great.
Flag: com.android.launcher3.enable_launcher_visual_refresh

Change-Id: Ic095b2abe330544882467fb4803724e8d50a1798
2025-03-11 14:27:35 -07:00
Bill Yi
39d0ae7e31 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id76401b4b86340d8d0319163c18de3f5f10dd1f6
2025-03-11 12:03:22 -07:00
Jordan Silva
afff31deb3 Merge "Add hover and pressed states for app chip and menu items" into main 2025-03-11 10:27:51 -07:00
samcackett
d88fb62c4d Remove redundant FrameLayout from task_header_view.xml
Move feature flag logic to the state mapper

Fix: 401469907
Flag: com.android.launcher3.enable_desktop_exploded_view
Test: TaskUiStateMapperTest & TaskContentViewScreenshotTest
Change-Id: Ic6ee5bef438ae2782816f526b003e1fb91992065
2025-03-11 16:49:52 +00:00
Jordan Silva
38af4f71c7 Add hover and pressed states for app chip and menu items
Fix: 356830855
Flag: com.android.launcher3.enable_overview_icon_menu
Test: OverviewActionsMenuHoverImageTest
Change-Id: I3a244a4eea07192a622c57d28618dabbb107a088
2025-03-11 05:37:43 -07:00
Treehugger Robot
a6533ae04b Merge "Improve KQS accessibility" into main 2025-03-10 12:49:00 -07:00
Toni Barzic
394d5e0010 Improve KQS accessibility
Adds accessible pane name, and content description for keyboard quick
switch view. Improves content description for task views, by having it
provide the task position in the task list. Also, sets a task content
description immediately when it gets associated with a task, even if the
task description is not available at the time. Accessibility focus for a
task may be requested as the KQS view is shown, so the task view should
have a meaningful content description from the start.

While here, update KQS to focus first task  by default when opened from
taskbar.

Bug: 399032757
Test: Manual, with Talkback enabled - open KQS via taskbar overflow view,
      and Alt+Tab, and verify Talkback announcements are informative
      (e.g. no "Pixel launcher" utterance).
      Also atest NexusLauncherTests:TaplTestsKeyboardQuickSwitch
Flag: EXEMPT bug fix

Change-Id: I3688954ab383035c1db35c5eb7a0ddf9a39a123f
2025-03-10 17:35:04 +00:00
Brian Isganitis
0dc5fac084 Merge "Animate changes in Taskbar recents indicators." into main 2025-03-07 14:47:08 -08:00
Brian Isganitis
26f9468db1 Animate changes in Taskbar recents indicators.
Flag: com.android.window.flags.enable_taskbar_recents_layout_transition
Fix: 356394053
Test: go/testedequals
Change-Id: Ic018695254bbfea11469c3579e242089b00b90f5
2025-03-07 15:47:48 -05:00
Treehugger Robot
6b9b5b54c4 Merge "Fix gesture nav tutorial done button focus issue" into main 2025-03-07 09:45:42 -08:00
Bill Yi
3fb19185de Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-07 09:18:51 -08:00
Jordan Silva
75395e3425 Merge "Fix TaskMenuView bottom row divider and translation." into main 2025-03-07 06:12:57 -08:00
Uwais Ashraf
270093cdcf Merge "Revert "Update Split-Screen icons with new icons."" into main 2025-03-07 03:36:59 -08:00
Jordan Silva
65aff4c6bb Fix TaskMenuView bottom row divider and translation.
Adjusts the positioning logic for the task menu when displayed for tasks on the bottom row of the grid. The changes ensure the menu is visible and does not overlap with other UI elements, such as the taskbar. It defines min and max bounds of the menu when it's opened on bottom row. It also moves the menu on top of the taskbar.

A follow-up CL will manage the max height to make the bottom row menu scrollable.

Fix: 322953749
Bug: 326952853
Flag: com.android.launcher3.enable_overview_icon_menu
Test: OverviewMenuImageTest
Change-Id: I44fb70d8537c0b52af4314e818d02ccfcd35d8d3
2025-03-07 11:31:20 +00:00
Pechetty Sravani (xWF)
16bcecc4e8 Revert "Update Split-Screen icons with new icons."
This reverts commit 50c33f271e.

Reason for revert: <Droidmonitor created revert due to b/401425778.Will be verified through ABTD for standard investigation.>

Change-Id: Ie3d9508864f51572307f9a16ddb14dc86b9d57ad
2025-03-06 22:30:40 -08:00
Simon (Qiong) Sun
4b152d80d9 Merge "Update Split-Screen icons with new icons." into main 2025-03-06 19:09:37 -08:00
Bill Yi
abe6cc4ce8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie19b5b66db4054578ea143d8b5ba42cab4871c19
2025-03-06 15:13:29 -08:00
Schneider Victor-Tulias
aeb8831239 Fix gesture nav tutorial done button focus issue
Flag: EXEMPT bug fix
Fixes: 400888489
Test: launches and completed tutorial with and without talkback
Change-Id: I5ec1fc6b812667c79136e82a8553e4b857200cdb
2025-03-06 15:16:42 -05:00
Simon (Qiong) Sun
50c33f271e Update Split-Screen icons with new icons.
Fix: 379959026
Test: Check that Split and save Split-Screen icons.
Flag: EXEMPT icons change
Change-Id: I0c159d083c175b560acfa33122bc2a03859f103e
2025-03-06 10:36:29 -08:00
Treehugger Robot
872ef49247 Merge "Add TaskContentView parent to TaskThumbnailViewHeader and TTV" into main 2025-03-06 03:37:25 -08:00
Bill Yi
a3d557a359 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-04 10:54:52 -08:00
Saumya Prakash
f979f6518b Merge "Remove the step indicator for the gesture tutorial" into main 2025-03-04 09:32:41 -08:00
Bill Yi
fe109a676c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9c2dfae2a37a985ced0ec6162042aec60dd998f1
2025-03-03 17:18:34 -08:00
Wen-chien Wang
8444f38c92 Merge "pin-shortcut: Tracks hotseat states and adds unpin option for taskbar" into main 2025-03-03 16:50:48 -08:00
Treehugger Robot
51a3a87b14 Merge "Arrows to scroll recent tasks in KQS" into main 2025-03-03 16:44:25 -08:00