Commit Graph

78957 Commits

Author SHA1 Message Date
Shamali Patwa d2cc1f0577 Update the enforce_system_radius_for_app_widgets flag's type
Renamed to use_system_radius_for_app_widgets since metadata cannot be updated after submitting definition.

Bug: 373351337
Test: N/A flag metadata update
Change-Id: I25283b05341517f5984b0f2fc0d27efe8027a3de
Flag: com.android.launcher3.use_system_radius_for_app_widgets
2024-11-18 21:58:48 +00:00
Tony Wickham 4ad57959d6 Merge "End icon alignment early when touching down during 3 button anim to home" into main 2024-11-18 18:53:55 +00:00
Jeremy Sim ec788cb24d Merge "Migrate away from listening for main/side specific stage types" into main 2024-11-18 18:41:38 +00:00
Sebastián Franco fefe9bbd12 Merge "Making the QSB align in Fixed Landscape" into main 2024-11-18 18:34:00 +00:00
Ana Salazar Maldonado 933baa72cf Merge "Draw contrast tile around the text" into main 2024-11-18 18:20:56 +00:00
Vinay Joglekar c656c3807c Merge "Fix Blank task thumbnails during animation in following scenarios" into main 2024-11-18 18:01:17 +00:00
Liana Kazanova (xWF) bd5afcfdda Merge "Revert "Remove redundant a11y announcement upon removal of workspace item."" into main 2024-11-18 17:24:25 +00:00
Shamali Patwa 7241c8c530 Merge "Make overscroll in recommendation section limit within its bounds." into main 2024-11-18 15:19:54 +00:00
Charlie Anderson 6edad19ce2 Merge "Clean up usage of FileLog, and some logging related to B&R" into main 2024-11-18 14:23:09 +00:00
vinayjoglekar f01ead4eb1 Fix Blank task thumbnails during animation in following scenarios
1. During split
2. During dismiss

We need to expand window of visible task data, we use dismissTranslation property to increase window.

Fix: 376409147
Flag: EXEMPT bugfix
Test: Manual: Dismiss desktop when have focus task as well as small tiles, split from far away with multiple desktops
Change-Id: I0102f8927e70a37ffe4db18adefd33eb7a823981
2024-11-18 13:56:26 +00:00
Johannes Gallmann cd46d978bd Merge "Never scale navbar scrim in all apps and widget picker" into main 2024-11-18 08:20:46 +00:00
Johannes Gallmann 2760536a3b Merge "Fix window clipped in three-button-nav on phone factors" into main 2024-11-18 08:19:17 +00:00
Brandon Dayauon 519be86c57 Merge "Add perfetto traces to privateProfile CUJs" into main 2024-11-18 06:41:43 +00:00
ESWAR MAGATAPALLI (xWF) 9707b2cd0d Revert "Remove redundant a11y announcement upon removal of workspace item."
This reverts commit 556db6df04.

Reason for revert: Droidmonitor created revert due to b/379322118. Will be verifying through ABTD before submission.

Change-Id: Iece717248c63b3b8dabcdf1c413309d24f51c37f
2024-11-18 02:40:15 +00:00
Himanshu Gupta dad333da84 Merge "Handle Quiet Mode for Work Profile gracefully when Pixel Launcher is not default." into main 2024-11-17 16:57:15 +00:00
Jagrut Desai 15d689df48 Merge "DesktopMode Entry/Exit Signals" into main 2024-11-16 19:44:36 +00:00
Treehugger Robot e38be8df37 Merge "Migrating widgets tests off TAPL" into main 2024-11-16 09:16:30 +00:00
Treehugger Robot e7b134f6ce Merge "Check if all apps are translucent when finishing recents animation." into main 2024-11-16 01:49:48 +00:00
Treehugger Robot ebe64c7cc2 Merge "Add new heuristic for deciding whether we should add extra rows on grid migration to the bottom or top of the grid" into main 2024-11-16 00:55:02 +00:00
Sebastian Franco 5353cd8626 Making the QSB align in Fixed Landscape
Fix: 378959186
Fix: 378959255
Bug: 364711735
Test: HomeScreenImageTest
Flag: com.android.launcher3.one_grid_specs
Change-Id: I36612949006f12929cdc5b21f27f20ebc9751201
2024-11-16 00:39:44 +00:00
Fengjiang Li f6f4c18ff9 Merge "Revert "Revert AllAppsRecyclerViewPoolTest.kt"" into main 2024-11-16 00:09:23 +00:00
Vinit Nayak 49282f8ecc Migrate away from listening for main/side specific stage types
Bug: 349828130
Flag: com.android.wm.shell.enable_flexible_split
Test: Manual, incremental change, not stable yet.
Works fine with flag off

Change-Id: Ief1a41fb9f32cd99266f0ac73b17d5676ead042a
2024-11-15 23:57:46 +00:00
Jon Miranda ec111e24e5 Check if all apps are translucent when finishing recents animation.
If true, then launcher will be finished at the end of the animation.
This fixes the issue where taskbar will stash in overview because
we assumed the app was fully opaque.

Bug: 354627538
Test: open app, go to overview, tap icon, pause app, note no issue
Flag: EXEMPT bugfix
Change-Id: Id51e0d9f63c9615127e27455f7edf171381c2011
2024-11-15 23:47:48 +00:00
Shamali P 1ce33c8537 Make overscroll in recommendation section limit within its bounds.
Previously, it stretched the parent container, which on close
 observation looked odd.

Bug: 360061549
Flag: EXEMPT BUGFIX
Test: Opened picker and tested that stretch doesn't overflow.
Change-Id: I531b91131f7f86f37df21ab0f67a778c4ae7843f
2024-11-15 23:34:34 +00:00
Jagrut Desai a9095ca0c8 Merge "Fix launching app animation from launcher all apps." into main 2024-11-15 22:43:39 +00:00
Tony Wickham 5903216275 End icon alignment early when touching down during 3 button anim to home
This will allow Hotseat to handle the touch during the transition.

Test: manually touch Hotseat in pinned/transient/3-button taskbar during
the transition to home, ensure Hotseat handles it in all cases
Flag: EXEMPT bug fix
Fixes: 368419997

Change-Id: I3d998876ed4d8423bdb4fd48fa0d55f719da8d01
2024-11-15 22:17:50 +00:00
fbaron cdde399a00 Add new heuristic for deciding whether we should add extra rows on grid migration to the bottom or top of the grid
Bug: 364711064
Flag: com.android.launcher3.one_grid_specs
Test: GridSizeMigrationTest
Change-Id: I070ed1eddc2c7ab475267268ebdbb2e559ab6dda
2024-11-15 13:44:01 -08:00
Charlie Anderson 859c793b6b Clean up usage of FileLog, and some logging related to B&R
Bug: 378684472
Test: N/A just logs
Flag: EXEMPT just logs
Change-Id: Ie2de7b700862b1439adc0c44d684b3864469014a
2024-11-15 16:38:27 -05:00
Sunny Goyal 5f8e2d7c13 Migrating widgets tests off TAPL
Bug: 377772352
Test: Presubmit
Flag: EXEMPT test refactor
Change-Id: I6e9ffb3dee913617ca9ad897504e8457cfbdccd6
2024-11-15 12:45:27 -08:00
Ana Salazar Maldonado 3c44a029be Draw contrast tile around the text
If the BubbletTextView should have an app contrast tile, account for
some padding between the tile and the text when measuring the view, so
that the text is guaranteed to be inside of the bubble.  In a similar
way, recalculate the bounds of the tile to only surround the app title
as needed.

Bug: 341217082
Flag: com.android.launcher3.enable_contrast_tiles
Test: Manual, visual change
Change-Id: I9e8b149ade3fa4522e62b89c2332195f648b190f
2024-11-15 10:14:13 -08:00
Sebastián Franco 856b462160 Merge "The test IntegrationReorderWidgetsTest was using the oposite dimensions" into main 2024-11-15 17:20:06 +00:00
Marcelo Arteiro fede690863 Merge "Aligning Android color tokens with Material" into main 2024-11-15 14:50:53 +00:00
Johannes Gallmann c87d41f369 Never scale navbar scrim in all apps and widget picker
The navbar scrim is scaled during the predictive back animation. This should be prevented since the navbar itself does not change it's position or scale.

Bug: 373544911
Test: Manual, i.e. verifying that the navbar scrim remains in its original position during the predictive back animation (with 3-button-nav) on phones and tablets
Flag: com.android.window.flags.predictive_back_three_button_nav
Change-Id: Iaffd31de5493dea8c856ad3d5b441cca066bbad8
2024-11-15 11:00:30 +00:00
Saumya Prakash 52866fc596 Merge "Add Manage Windows option to Taskbar long press menu" into main 2024-11-15 08:57:49 +00:00
Saumya Prakash dbaf1028db Add Manage Windows option to Taskbar long press menu
This change adds an option to the long press menu on Taskbar apps to
view open instances of the calling apps. It will only show on apps that
support multi instance (ex. Chrome).

Bug: 315989246
Test: Manual
Flag: com.android.launcher3.enable_multi_instance_menu_taskbar
Change-Id: Ie1e001c4cec831c751bcbf448aaa68bb90fb24ca
2024-11-15 06:34:28 +00:00
Sebastian Franco 531a219ba7 The test IntegrationReorderWidgetsTest was using the oposite dimensions
The order of the columns shold be inversed, it hasn't been much of an
issue because most of the test cases where of equal size 5x5 and 4x4.

Bug: 364711064
Flag: com.android.launcher3.one_grid_specs
Test: IntegrationReorderWidgetsTest
Change-Id: I5de3f63edbb6b446352ce97226e39fb29cdb1439
2024-11-14 20:39:55 -08:00
Sebastián Franco 3b62b22651 Merge "Dissable allow rotation when oneGridSpecs flag is on" into main 2024-11-15 00:47:12 +00:00
Jagrut Desai b03d9393ce Merge "Fix TaskbarAllApps and TaskbarDivider contianer talkback annoucement" into main 2024-11-15 00:05:43 +00:00
Jagrut Desai 8a9e7a1dfd Merge "Fix 3-button Navigation Switch Access Long press" into main 2024-11-15 00:05:08 +00:00
Jagrut Desai 596594c684 Fix launching app animation from launcher all apps.
This cl includes
	- making pinned taskbar animate slide in/out animation from bottom of screen.
        - no icon aligment with hotseat when taksbar is pinned

The solution
	- upon state change applied on TaskbarLauncherStateController. offset taskbar background and icons to bottom of screeen and animate with slide in/out effects.

Test: manual, presubmit
Bug: 314279101
Flag: EXEMPT bugfix

Change-Id: Ife336ebd57eb2f60c2bc33ed6a4527c42111808f
2024-11-14 15:51:50 -08:00
Brandon Dayauon fc61ab973b Add perfetto traces to privateProfile CUJs
These traces cover onBind() and animation calls.

bug: 356777068
Test: screenshot of perfetto trace https://screenshot.googleplex.com/43tbo8fJrvTMUft
Flag: NONE adding traces
Change-Id: I06c322266ccb7ee9d940969f952aaaeb1b53c78b
2024-11-14 15:34:09 -08:00
Treehugger Robot 7bf8675679 Merge "Fixing LauncherAppCompoent not available for isolated context" into main 2024-11-14 22:24:00 +00:00
Treehugger Robot 90c4e9e62b Merge "Fix hotseat layout on device rotation." into main 2024-11-14 22:10:32 +00:00
Jagrut Desai 1ba1f7282b Fix TaskbarAllApps and TaskbarDivider contianer talkback annoucement
This cl includes
	- setting content description on new taskbar containers for all apps and divider line, so their announcement is clear to user and not unlabelled.

Test: Manual
Bug: 378855202
Bug: 378845796
Flag: EXEMPT bugfix
Change-Id: I4650d1960a6208189b08b16ff541b2af3ed94cb3
2024-11-14 14:00:57 -08:00
Sebastian Franco 52ae78d11b Dissable allow rotation when oneGridSpecs flag is on
Flag: com.android.launcher3.one_grid_specs
Test: IntegrationReorderWidgetsTest
Bug: 378956572
Change-Id: I41e591b6d8fa1f93e2034a784516d5a38e83cbd9
2024-11-14 21:53:38 +00:00
Sunny Goyal 1c5c137353 Merge "Separating TAPL functionality from AbstractLauncherUiTest into a separate base class" into main 2024-11-14 21:11:58 +00:00
Treehugger Robot b9cd487c86 Merge "Remove redundant a11y announcement upon removal of workspace item." into main 2024-11-14 21:04:04 +00:00
Sunny Goyal 5861ee437a Fixing LauncherAppCompoent not available for isolated context
In those cases, creating a new LauncherAppCompoent and storing it in
the application context

Bug: 372180905
Test: atest LauncherComponentProviderTest
Flag: EXEMPT bugfix
Change-Id: Ibf517a23801138b1fa18e8e4a7adbdedb994365b
2024-11-14 12:34:26 -08:00
William Leshner 5d438685eb Merge "Fix permission issue with START_WIDGET_PICKER_ACTIVITY" into main 2024-11-14 20:34:16 +00:00
Jagrut Desai a9b502b464 DesktopMode Entry/Exit Signals
This cl includes
	- adding callback support for entering/exiting DesktopMode on launcher side.

Test: Presubmit
Bug: 343882478
Flag: com.android.window.flags.enable_desktop_windowing_mode
Change-Id: Ib86746e6cca42dcdbb181d5323715a24c722f004
2024-11-14 12:02:13 -08:00