Commit Graph

78968 Commits

Author SHA1 Message Date
Shamali Patwa f05d59cdad Merge "Update the enforce_system_radius_for_app_widgets flag's type" into main 2024-11-19 00:03:34 +00:00
Shamali Patwa 797b636491 Merge "Add container around the previews in the pin widget sheet." into main 2024-11-19 00:02:47 +00:00
Sunny Goyal 9b5b0c9598 Merge "Wait for animations before injecting input event" into main 2024-11-18 23:53:14 +00:00
Artsiom Mitrokhin ddb0546277 Merge "Use dynamic/relative sizes for taskbar overflow button" into main 2024-11-18 23:47:38 +00:00
Treehugger Robot f3b950340c Merge "Close repeatedly unclosed resources at the end of tests" into main 2024-11-18 23:21:43 +00:00
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
Sunny Goyal 82efdccc6e Wait for animations before injecting input event
While animaiton is running, some views might not be visible causing
them to miss input events

Bug: 378167329
Bug: 378167718
Test: Presubmit
Flag: EXEMPT test fix
Change-Id: I8608c415e524fc5186833eac840ec18c6f244eb0
2024-11-18 13:44:20 -08:00
Uwais Ashraf 970d19327d Close repeatedly unclosed resources at the end of tests
Fix: 379432671
Test: edited tests, presubmits passing
Flag: EXEMPT test only change
Change-Id: I45c46d7a56a30af4a11dff54b5bcc8a1e9bcda5f
2024-11-18 21:39:59 +00:00
Artsiom Mitrokhin ef05519982 Use dynamic/relative sizes for taskbar overflow button
Bug: 376281549
Flag: com.android.launcher3.taskbar_overflow
Test: manual, press the overflow button, dismiss KQS
Change-Id: I7cf023cd0df34d898ee1949c5c6de930268e37cb
2024-11-18 15:45:50 -05:00
Shamali P 9f80ecfc83 Add container around the previews in the pin widget sheet.
We did it in past for app-specific picker. Updating the same for the
pin sheet - verified change with Jane Park.

Bug: 379675391
Flag: EXEMPT BUGFIX
Test: Verified with pin sheet and wallpaper colors
Change-Id: I37e7ac93757e95e1940567e800a376256e0b8ed8
2024-11-18 20:41:12 +00:00
Schneider Victor-tulias b7714d0937 Merge "Refactor InputConsumer selection logic into a util class" into main 2024-11-18 20:28:21 +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
Schneider Victor-Tulias cfce474121 Refactor InputConsumer selection logic into a util class
This will allow us to test the logic in isolation

Flag: EXEMPT refactor
Bug: 371020209
Test: NONE refactor
Change-Id: I5e1e9cc79e69db261ea28a2f7d43a983339f178b
2024-11-18 12:33:40 -05: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