Commit Graph

78507 Commits

Author SHA1 Message Date
Jagrut Desai 8715639c69 Merge "Fix CellContentDimensionsTest" into main 2024-02-22 15:55:48 +00:00
Jagrut Desai 2a0c1e4f61 Merge "Adjusting weight of taskbar all apps icon or action key" into main 2024-02-22 15:55:33 +00:00
Charlie Anderson d11c24e750 Add additional debug logging for when Launcher cannot find a valid activity to launch an app with.
Test: local
Flag: N/A
Bug: 298342929
Change-Id: I90582de2dd52a82648f31f894fffce71c146376a
2024-02-22 10:09:24 -05:00
fbaron 1dcf5b2ef7 Update renamed util function M3HCTToColor in launcher code
Bug: 288120001
Test: none
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:911be164b34224b503fbdd230beddf5046d0dabf)
Merged-In: If4c6783472d7fa05a1162e2f176a613d28f7bec3
Change-Id: If4c6783472d7fa05a1162e2f176a613d28f7bec3
2024-02-22 14:48:09 +00:00
Sam Cackett becd601c68 Merge "Translate IconMenu to top / left of thumbnail view" into main 2024-02-22 08:59:42 +00:00
Stefan Andonian 21ab3b979b Remove Unused parts of LauncherPrefs causing cyclical dependency.
This "migration" feature was planned as an effort to reduce latency upon
startup. That being said, now that there is a loading screen being added
to pixel startup time, it doesn't make sense to perform a risky data
migration just to save a 100ms or so of startup time. Therefore, I am
removing this code as a clean up effort to make LauncherPrefs simpler.
Also, there was a cyclical dependency introduced in b/324670265 that
makes this cleanup effort especially worthwhile, as it resolves a bug
for other developers.

Bug: 324670265
Test: Installed this on a device and tested that nothing was broken.
Flag: NA
Change-Id: I81df710057d80fbd071bc26a53cb191d453e7dee
2024-02-22 05:50:15 +00:00
bvineeth 4d38783106 Fix taskbar_expand/collapse jank monitor
Issue : Currently opposite jank is being reported taskbar expand and taskbar collapse


Test: Checked the trace
Fixes: b/326333977
Flag: None
Change-Id: Ib5adeb33506717ee28d669c5d46557087ebf7e60
2024-02-22 04:12:45 +00:00
Treehugger Robot a5e8751f0d Merge "Merging multiple implementations of CancellableTask" into main 2024-02-22 02:54:30 +00:00
Sebastian Franco 5ab4a49594 Investigating test
Flag: NA
Bug: 322823478
Test: waiting for falkes to see results
Change-Id: Ifc24d4681f71d3e89943b312044012443e787d29
2024-02-21 17:31:42 -08:00
Sebastian Franco 51231ee5c2 Remove the initialize method from setUp since is now on being called on the super method.
Bug: 324261526
Test: most Tapl test
Flag: NA
Change-Id: Icbf9883613069101a3c8428e8e3b02b1eb01dcd0
2024-02-21 17:24:12 -08:00
Vinit Nayak 3a8d4f518d Move updating layoutParams outside of dispatchDraw()
* LayoutParams are more single states and don't need to
be updated on each cycle of drawing
* Curious if this might also fix b/323128163

Fixes: 323128163
Test: Used logging, no more infinite calls to dispatchDraw()
Flag: None
Change-Id: Ic7211b26a7365e3fbbeef3768e4d6d9254e14ee7
2024-02-21 17:01:28 -08:00
Bill Yi e599d65d99 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2158617abd9cc208726b0d22a5ef177c930f164c
2024-02-21 16:47:49 -08:00
Bill Yi 7b7cc7bd2e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I744b4a25d6da2f0226c0cc4be308664e2c9dc4a6
2024-02-21 16:47:23 -08:00
Bill Yi 50923131e3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia3d3dd28d407fb8f9f4947acc40028863faa78c9
2024-02-21 16:46:54 -08:00
Bill Yi 6b59916978 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib559702a688a9ec6b776196b67f0c2efc9332c89
2024-02-21 16:46:31 -08:00
Bill Yi d7c8a65c7d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3d8660dd1a5ce67718f8b2643212ddbc254e4d13
2024-02-21 16:46:08 -08:00
Bill Yi def24aa88d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I543d305f3f7587d6459fb1a926872bea5cf6ab1d
2024-02-21 16:45:43 -08:00
Android Build Coastguard Worker 5c736f8c15 Snap for 11479750 from 1c6c7346db to 24Q3-release
Change-Id: I983e0f43e5c8c2f469fe746b51483f523ff805c2
2024-02-22 00:21:47 +00:00
Android Build Coastguard Worker 405c77cb44 Snap for 11479893 from b03d58ff12 to 24Q2-release
Change-Id: I1933980491cef98646e8869487c9261c7e93d944
2024-02-22 00:21:41 +00:00
Vadim Tryshev 809869c0da Merge "Demote unstable test testQuickSwitchFromApp from presubmit" into main 2024-02-21 23:33:28 +00:00
helencheuk 00ddb5e3a9 Stash taskbar when software keyboard is docked
Stash taskbar when
1) Software keybaord is docked
2) Input toolbar is placed at the taskbar area (stash so toolbar and taskbar would not overlap)

Testing result:
https://drive.google.com/file/d/1NMDexHl0FgyHFaOUh_GSEEUU2k08STJH/view?usp=sharing

Bug: 317251202
Test: TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet
Flag: N/A

Change-Id: I90662bc6e68f644e919f5c702059476b02519ed6
2024-02-21 23:03:03 +00:00
Saumya Prakash 0e126d5550 Increase taskbar edu Done button size to meet accessibility requirements.
Touch targets have to meet a minimum of 48 dp to meet accessibility
requirements. The Done button in taskbar education was previously too short.

Fixes: 320600718
Test: Manual
Flag: N/A
Change-Id: I5fae302b82585e9793d7ede42dbcc6e6395254da
2024-02-21 22:21:49 +00:00
Vadim Tryshev b4af57a9a6 Merge "Demote unstable test testSessionUpdate_updates_pending_apps from presubmit" into main 2024-02-21 21:46:42 +00:00
Jagrut Desai 4ff2e24704 Adjusting weight of taskbar all apps icon or action key
Test: Presubmit
Bug: 320478286
Bug: 325529964
Flag: NONE
Change-Id: I0f9a8d340638464cf3a79279b3cbb27d60fcf93d
2024-02-21 13:37:10 -08:00
Treehugger Robot b03d58ff12 Merge "Demote unstable test testUninstallFromAllApps from presubmit" into main 2024-02-21 21:35:07 +00:00
Sebastián Franco 1c6c7346db Merge "Make sure to make WidgetResizeFrame is not accessible" into main 2024-02-21 21:03:02 +00:00
Jagrut Desai e5d9f5e436 Fix CellContentDimensionsTest
- due to comment font scale issue we were failing. applying fontscale to 1.0f

Test: Presubmit
Bug: 324910285
Flag: NONE
Change-Id: Id2bd12f5b8bb1249e6adba647fceaa0b581bc897
2024-02-21 13:02:30 -08:00
Andrew Cole ee8d92a943 Merge "Folder Previews Show Grey Pending Icon" into main 2024-02-21 20:37:17 +00:00
Jagrut Desai c8a5176bfc Handle SystemGestureRegion in TaskbarDragLayer
- Currently user can tap on taskbar icons when in persitent mode when a popup is visible on screen.
we are making it so that touch event is not performed at view level and get dismissed before at drag layer.

Test: Presubmit, Manual
Bug: 320229858
Flag: NONE
Change-Id: I9a76faa0e282317d808ba0f55b49741dc7b750a3
2024-02-21 11:35:29 -08:00
Vadim Tryshev 7959a851b1 Demote unstable test testUninstallFromAllApps from presubmit
Bug: 326130648
Test: presubmit
Flag: N/A
Change-Id: I65aca445568b1ce73a800ee30c1763b23312b08f
2024-02-21 11:05:03 -08:00
Vadim Tryshev 67c85d8fc2 Demote unstable test testQuickSwitchFromApp from presubmit
Bug: 325659406
Test: presubmit
Flag: N/A
Change-Id: I997fb09c93400a706c08235ad6d1a6dd910398fd
2024-02-21 10:49:06 -08:00
Vadim Tryshev 4bc503ca6d Demote unstable test testSessionUpdate_updates_pending_apps from presubmit
Bug: 325283522
Test: presubmit
Flag: N/A
Change-Id: I4a75f18c2d178508cb98b4c2e7decc5cca7f6562
2024-02-21 10:39:08 -08:00
Brandon Dayauon 0fa9113028 Merge "Add home settings toggle featureflag for enablingTwoLineText" into main 2024-02-21 18:14:21 +00:00
Luca Zuccarini df33f361b0 Move remote animation utils to the Animation lib.
This is so that they can be used within the Animation lib itself, while
remaining available to all current users, since the SysUI shared lib
also depends on Animation lib.

Bug: 323863002
Flag: NA
Test: still builds, tests still pass, manually tested areas that depend
on these utils.

Change-Id: I10de17b51c05054efe957ed1073a1cbe6baf05c5
2024-02-21 15:03:51 +00:00
Rohit Goyal b6b27a497e Bugfix: Ensure archived app icons persist when app main activity name changes post unarchival.
* In case app main activity changes, archived app icon should not disappear.
* We need to make sure the corresponding new intent is applied correctly to the app icon on activity name change.

Test: verified bugfix locally.
Bug: 324545643
Bug: 325458020
Flag: ACONFIG com.android.launcher3.enable_support_for_archiving DEVELOPMENT
Change-Id: I0134e57e3536d05fc96c8cfcf5f57fd8f4df5f1f
2024-02-21 13:12:02 +00:00
Shamali P ef4b102a08 Pause page scrolls while new recommendation are being applied
http://screencast/cast/NDg4NzU2MjI3NDQ3MTkzNnw5MTU1NTc4Yy1lYw
http://screencast/cast/NDk5Nzg4MzQ5MjMwMjg0OHxmZGM0MGZlYS0wMg

This cl is NO-OP for anything else using it already. Just renamed it.

Bug: 318410881
Test: Manual (see screencast)
Flag: ACONFIG com.android.launcher3.enable_categorized_widget_recommendations DEVELOPMENT
Change-Id: I55d599437b2554f58d635d11f2b603516b030f30
2024-02-21 04:15:46 +00:00
Vineeth Bhende 18f3f63a2c Merge "Add tag for cuj OPEN_ALL_APPS when swiping to open all apps" into main 2024-02-21 02:25:19 +00:00
Sebastian Franco 8397965d69 Make sure to make WidgetResizeFrame is not accessible
Fix: 317170537
Test: manual testing, making sure to test the widget picker flow
and testing the reorder accessible flow.
Flag: NA

Change-Id: I94be43b8ef5c8cd8574178eec563324fc0dc08ad
2024-02-20 16:59:10 -08:00
Android Build Coastguard Worker a7e9967eb5 Snap for 11472972 from 4638d4c8b4 to 24Q3-release
Change-Id: Ibf8ae5b4fb76c68bda8c2cfea5aa415a31ffedeb
2024-02-21 00:21:53 +00:00
Android Build Coastguard Worker 7bb1b96790 Snap for 11473031 from 4638d4c8b4 to 24Q2-release
Change-Id: Ib3a63f305336ccee84a7e9520cd0e738376363d5
2024-02-21 00:21:25 +00:00
Vinit Nayak 2b031727f0 Merge "Log split metrics through individual sessions" into main 2024-02-21 00:20:44 +00:00
Andrew Cole d462190ef2 Folder Previews Show Grey Pending Icon
When downloading an app previously the pending icon would show the full color icon when it was in a folder preview. To fix, we consolidated the logic for pending icons in PreloadIconDrawable and moved the logic of the pending state to the ItemInfoWithIcon model to represent the state of a pending application inside the model instead of in views.

Bug: b/324629535
Test: ItemInfoWithIconTest.kt
Flag: None
Change-Id: I4ffab44ddead046adcc84911039c87ea7c304e63
2024-02-20 21:15:21 +00:00
Shamali Patwa 4638d4c8b4 Merge "Update dump tests for the bottomsheet top padding alignment." into main 2024-02-20 17:42:31 +00:00
Shamali Patwa b7483c1d37 Merge changes from topic "categories" into main
* changes:
  Initial UI changes for displaying categorized suggestions.
  Use full-width two picker in both orientations in tablets
  Use derived padding instead of static 300dp for large portrait displays
  Align items in the center within each table row within suggestions.
2024-02-20 17:42:31 +00:00
samcackett 6eaa509481 Translate IconMenu to top / left of thumbnail view
When splitting a task that is already part of a split app pair from the
 TaskBar, with the enableOverviewIconMenu feature enabled, position the
 IconMenu to the left of a leftRightSplitApp pair, or the top of a
 topBottomSplitApp pair

Fixes: 317001670
Test: Manual
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD
Flag: ACONFIG com.android.launcher3.enable_grid_only_overview TEAMFOOD
Change-Id: I4740d7c96635ee9542f7061938baf6fbf2ca01d4
2024-02-20 16:05:10 +00:00
Schneider Victor-tulias 56aa9ed61b Update KQS launch task callbacks
Updated KQS to allow launching tasks through OverviewCommandHelper to allow launching the overview task without it having focus.

Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 324888738
Fixes: 324904244
Test: used enter and tap to launch tasks in KQS
Change-Id: I6de38ceea22c362a52a420c8ba0165ba23e5c862
2024-02-20 14:54:08 +00:00
Alex Chau 5e8811e126 Make getTaskSize actaully a getter that does not modify member variables
- This is a follow-up of ag/26255150 to clean-up usage of getTaskSize
- Removed getTasksize and updatePivots in onLayout, as updateSizeAndPaddings has covered all scenarios
- mLastComputedTaskSize will only be updated from updateSizeAndPaddings, with minor refactoring on how mTaskWidh/mTaskHeight/padding are calculated

Bug: 325314248
Test: Manual on home/app->overview, rotations, fold/unfold etc.
Flag: None
Change-Id: I031a36e5e065a28070fb3f7f146978279f7d8886
2024-02-20 13:30:48 +00:00
Johannes Gallmann db22e3008e Use STANDARD_DECELERATE interpolator for predictive back to home
Bug: 325647546
Flag: ACONFIG com.android.systemui.predictive_back_system_animations TEAMFOOD
Test: Manual, i.e. verifying increased responsiveness during first phase of back gesture
Change-Id: Ie31d7fba7ca307c96830e0656887cda89d9bbb1a
2024-02-20 14:23:26 +01:00
Alex Chau f4ed37cb06 Update OWNERS for Overview and PK&T eng team
Bug: None
Test: None
Flag: None
Change-Id: I0a2bb3f1b625870461a0c1f46bd03ea59f61d9d2
2024-02-20 12:19:21 +00:00
Alex Chau d564a9d26c Merge "Update pivots after taskSize is updated" into main 2024-02-20 11:57:49 +00:00