Commit Graph
87505 Commits
Author SHA1 Message Date
Charlie Anderson e5b1215a2a Merge "Add additional unit tests for WorkspaceItemProcessor to cover shortcuts and folders. Also cleanup the test suite." into main 2024-02-13 16:51:45 +00:00
Schneider Victor-tulias 7bfd3ef9a0 Update KQS empty message text/icon colors
Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 324902935
Test: opened KQS with 0 recent apps
Change-Id: I1aed3293d76c0f3abbf6e5e0d646531739eac3f8
2024-02-13 10:40:16 -05:00
Alex Chau 4e6e1555c4 Refactored StateManager logs
- Make the log permanaent behind a DEBUG flag
- Logs are currently enabled with b/279059025 marked as the related bug

Bug: 279059025
Flag: None
Test: Manual
Change-Id: I60a75d73d40d00e7d42292f3d42cc9dd8c9b0825
2024-02-13 15:35:15 +00:00
Charlie Anderson 887f49e231 Add additional unit tests for WorkspaceItemProcessor to cover shortcuts and folders. Also cleanup the test suite.
Bug: 294386159
Test: unit tests and presubmit
Flag: N/A

Change-Id: I33370f2a060d1e07fc7dbd37cc9a883501344551
2024-02-13 10:05:32 -05:00
Jordan Silva 3a42f0e0eb Merge "Log split button visibility to debug spacing issue" into main 2024-02-13 11:44:11 +00:00
Alex Chau fba34d89e4 Merge "In bindAllApplications, only switch to NORMAL while in ALL_APPS" into main 2024-02-13 11:37:50 +00:00
Vinit Nayak 8ca8368730 Merge "Set debug logging flag for ClockDrawableWrapper" into main 2024-02-13 06:08:57 +00:00
Tracy Zhou 92f9d10cea Merge "Hide task bar when folding before the new config renders the correct task bar" into main 2024-02-13 03:52:03 +00:00
renovate[bot] 74fac1db60 Update plugin app.cash.licensee to v1.9.1 (#4073)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-13 11:37:25 +08:00
Tracy Zhou dfb334f1e1 Hide task bar when folding before the new config renders the correct task bar
Currently on folding, onConfigurationChange doesn't return about 0.5sec after the small screen turns on. The old bar is visible on the new screen before a visual jump from rendering the new bar.

While the ideal solution is to figure out what causes the delay, we can mitigate the visual jump by dimming the old bar when folded listener returns folded

Test: repeatedly fold and unfold, observe that there is no glare task bar change in task bar area after folding
Bug: 291562764
Change-Id: Ic6834d2d3b7df01a8ef841dde601cdb6a3e481b0
2024-02-12 17:06:04 -08:00
fbaron 0c12987627 Add screenrecord for testAllAppsFromHome()
Bug: 322228038
Test: TaplOpenCloseAllAppsTest
Flag: NONE
Change-Id: I3bcb13c1256df8d0029dfe32d21e95d6b4183037
2024-02-12 16:35:49 -08:00
Saumya Prakash 96ce6873dd Update back gesture tutorial strings to align with UX
This change updates the feedback shown to users to align with the
strings in figma for the back gesture tutorial.

Fix: 300919987
Test: Went through both the redesigned and previous gesture tutorial and
ensured the updated strings show up in the redesigned tutorial.
Flag: LEGACY ENABLE_NEW_GESTURE_NAV_TUTORIAL ENABLED

Change-Id: I057af6e8631b86ffaec8093ffbfbeae01c9d917c
2024-02-13 00:35:37 +00:00
Shamali Patwa 028482609c Merge "Set accessibility pane title for right pane on updating content." into main 2024-02-13 00:33:11 +00:00
Android Build Coastguard Worker ac1adf98c0 Snap for 11438798 from 88b89d68fb to 24Q3-release
Change-Id: I0b8a6ecd561b8fcf130b2153e0e5360291a6b693
2024-02-13 00:22:33 +00:00
Android Build Coastguard Worker b43c644797 Snap for 11438811 from 88b89d68fb to 24Q2-release
Change-Id: I112cf98406de00840dd223fe594007931b602603
2024-02-13 00:21:25 +00:00
Vinit Nayak 84c7e4e84d Set debug logging flag for ClockDrawableWrapper
Bug: 319168409
Change-Id: Id154287a12e1b51a0aeabacebcd32bc695bdcc0b
2024-02-12 16:11:31 -08:00
Brandon Dayauon 5faed49eaf Merge "Fix color contrast in All Apps text by setting the color to onSurfaceVariant" into main 2024-02-12 23:15:05 +00:00
Schneider Victor-tulias 11e19c139b Merge "Add debug logs to MotionPauseDetector" into main 2024-02-12 22:28:28 +00:00
fbaron 88b89d68fb Restore state of widget picker on fold/unfold
Specifically:
-keep selected tab (personal/work)
-keep search results

Fix: 323406345
Test: WidgetPickerImageTest
Flag: ACONFIG com.android.launcher3.enable_unfolded_two_pane_picker TRUNKFOOD
Change-Id: I919e59484f3af7a2b3b007f5c234055a0f7276b3
2024-02-12 21:13:46 +00:00
Schneider Victor-tulias 49bdc5d7ea Add debug logs to MotionPauseDetector
Flag: NONE
Bug: 321123090
Test: checked TIS logs
Change-Id: If389226c60b5115fcf90e76733383c74ceb7fbcd
2024-02-12 15:09:34 -05:00
Shamali P 13c6727601 Set accessibility pane title for right pane on updating content.
This will let users know that content appeared on right when they
selected an option on left.

Note: This is announced _only_ when content changes.

Bug: 324073588
Test: Manual with talkback
Flag: N/A
Change-Id: Icec3242d8f250f6d19e082a39927165c7b8fc86a
2024-02-12 19:48:41 +00:00
Tony Wickham e5451b10e4 Merge "Add CUJ annotations for going to Recents from Home" into main 2024-02-12 19:13:11 +00:00
Alex Chau 61d193821e In bindAllApplications, only switch to NORMAL while in ALL_APPS
- Otherwise, it can unexpectedly switch to NORMAL during a swipe up to Overview, causing issues with live tiles

Fix: 288557298
Test: Go to settings, change display size, immediately swipe up to Overview
Flag: None
Change-Id: I1eaf988d488c6662fd291f46a7cc0861664d8d38
2024-02-12 17:37:18 +00:00
William Leshner 2d30ff33e0 Merge "Add widget category filter to WidgetPickerActivity." into main 2024-02-12 17:30:46 +00:00
Brandon Dayauon 5787a2710c Add home settings toggle featureflag for enablingTwoLineText
- Have shouldUseTwoLine() be decided with the home settings toggle value

bug:316027081
spec: https://www.figma.com/file/uMzPkNMZpb7EyfHDo8usIa/V-%E2%80%A2-Toast-Butter?type=design&node-id=405-384593&mode=design&t=UBkdeuNlAdRh2FGU-0
Test:
Video: https://drive.google.com/file/d/15VUhNVro2fiwv3SzMda1StiPb3PV1eMT/view?usp=sharing
before searchPreferenceScreen: https://screenshot.googleplex.com/3uqdMsZoGSBYb6c
after searchPreferenceScreen: https://drive.google.com/file/d/15dswiHRTnafyhgQA_tL2tRc7vHFWdHbZ/view?usp=sharing
before homeSettingsPage: https://screenshot.googleplex.com/7wsNevxGun2KCCB
after homeSettingsPage: https://drive.google.com/file/d/15m5bjEyewlNHI_h26aygHa7zrgZ5qDF6/view?usp=sharing
AppListSettingsPage: https://drive.google.com/file/d/15hl4ScHBOLgKv3M38HtatMxQw85pgl7t/view?usp=sharing
Flag: enableTwolineToggle DEVELOPMENT

Change-Id: I3ad133dd51dcb97e14ccded730e7737c5049261a
2024-02-12 09:24:48 -08:00
Jordan Silva 2d55c9c679 Log split button visibility to debug spacing issue
Bug: 321291049
Flag: N/A
Test: N/A
Change-Id: Id998be1c8337dfc3617893726dcb5d96fb6a35b8
2024-02-12 16:46:43 +00:00
Oriol Prieto Gascó 0f1c6dedf5 Merge "Set the container field of aconfig flags" into main 2024-02-12 16:41:08 +00:00
Alex Chau 8cb873d8fb Merge "Use bigger task size in app to overview carousel" into main 2024-02-12 16:17:30 +00:00
Shamali Patwa 9ac01f11da Update dump tests for the bottomsheet top padding alignment.
Bug: 318410881
Test: See screenshots
Flag: N/A
Change-Id: I9d60dd930f06ea404bde90c6b0cf1f61901b1b07
2024-02-12 16:09:42 +00:00
Alex Chau beb3053f3b Use bigger task size in app to overview carousel
- Introduced carouselTaskSize that represent size of TaskView in app to overview carousel, that is bigger than size of TaskView in Overview state
- Use nonGridScale and translation to scale TaskView to the desired carousel size
- For current task, inroduced carouselScale and translation to apply similar transformation at the carousel. They will be reset in `onPrepareGestureEndAnimation` after gesture is released and form the grid. Carousel translation can be invalidated and aniamte to 0.
- Fixed current task left/right wiggle that is caused by task shrinks and translate in different direction. Pivot is now moved to top right (or top left for RTL), to align with movement of current task.
- To compensate for the pivot change, current task is translated back to the carousel position by taskTranslation, and again translated by carouselTranslation for carousel -> fullScreen scaling. A complex interpolator is introduced to make current task moves in a vertical straight line rather than a curve.
- Fixed a bug in AnimatorControllerWithResistance when scaleStartResist==scaleMaxResist that causes division by 0. For grid overview, resistance kicks in after reaching carousel size, and current task size won't reduce further
- Added PendingAnimation#addAnimatedFloat that uses animator provided by AnimatedFloat, so the animator can be canceled and reaniamte from AnimatedFloat side; AnimatedFloat now clears the property values during cancel so the canceled animator still referenced by PendingAnimation can no longer change the values

Fix: 318352235
Fix: 308643507
Flag: ACONFIG com.android.launcher3.enable_grid_only_overview TEAMFOOD
Test: presubmit
Change-Id: I2872d8b2204798fe5e05c10d08480a81e60bb498
2024-02-12 12:06:05 +00:00
Jordan Silva 9d9276810e Merge "IconAppChipView wrong position after rotation with menu opened" into main 2024-02-12 11:02:42 +00:00
Vineeth Bhende e2c72c0178 Merge "Add HOME_TO_APP tag to CUJ_TASKBAR_EXPAND/COLLAPSE" into main 2024-02-12 04:03:58 +00:00
Will Leshner afe715a64b Add widget category filter to WidgetPickerActivity.
The category filter can be added to the intent used to show the widget
picker activity.

Bug: 314804170
Test: manually
Flag: NA
Change-Id: I1c2006e23fb5cf076166f7c376298527e47d2e9e
2024-02-11 15:31:00 -08:00
Android Build Coastguard Worker b1d1f1bd24 Snap for 11435396 from 90ebc96e34 to 24Q3-release
Change-Id: Ie62e5f8f95e971ccad4554d6cdad330f1aff9199
2024-02-11 22:21:15 +00:00
Android Build Coastguard Worker fd74e16755 Snap for 11435396 from 90ebc96e34 to 24Q2-release
Change-Id: Iff51f73cab4f005994e52d62ecb597b9caccb173
2024-02-11 22:20:45 +00:00
John Andrew Camu f20cc146cf Add support PIP for One UI 5.1 core (#4028) 2024-02-11 20:02:49 +08:00
John Andrew Camu 0149f06056 Add my codename 2024-02-11 20:01:40 +08:00
Fengjiang Li 90ebc96e34 Merge "Override Launcher's window bottom inset to 0 on large screen (tablet + unfolded phone) if all display cutouts are at bottom left/right corners" into main 2024-02-11 08:48:58 +00:00
Fengjiang Li 1707575da3 Override Launcher's window bottom inset to 0 on large screen (tablet + unfolded phone) if all display cutouts are at bottom left/right corners
Bug: 321917681
Flag: NONE
Test: manual
Change-Id: I3c41d42e11413c73146c7ef59fc712971e96db19
2024-02-11 04:05:55 +00:00
MrSluffy 861f4439e4 Fixed clear all action in A10
error : java.lang.NoSuchMethodError: No static method getInstance()Landroid/app/ActivityTaskManager; in class Landroid/app/ActivityTaskManager; or its super classes (declaration of 'android.app.ActivityTaskManager' appears in /system/framework/framework.jar)
	at t7.g0.a(Unknown Source:33)
	at com.android.quickstep.views.RecentsView.lambda$createAllTasksDismissAnimation$29(Unknown Source:4)
	at com.android.quickstep.views.RecentsView.T(Unknown Source:0)
2024-02-11 09:28:18 +08:00
SuperDragonXDandJohn Andrew Camu f686b13f8b Re-theme Launcher3 components (#4068)
There were some themes that were remove during the 14 and 13 merge. This commit attempt to fix it.

---------

Co-authored-by: John Andrew Camu <werdna.jac@gmail.com>
2024-02-11 09:00:46 +08:00
Lawnchair BotandCrowdin Bot f1f8c1c6f4 New Crowdin translations by GitHub Action (#4069)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-02-11 03:48:53 +03:30
Android Build Coastguard Worker 4df4517567 Snap for 11434705 from b999979bbb to 24Q3-release
Change-Id: I8d7216f80e083de7a5ad5bab4d4cd11e995f2ff3
2024-02-10 22:21:21 +00:00
Android Build Coastguard Worker 51e566054a Snap for 11434712 from b999979bbb to 24Q2-release
Change-Id: Ic13acb7f68ea20a9cbf30ea49c80a111644f1d54
2024-02-10 22:20:42 +00:00
MrSluffy 82825434a9 Task Menu : Add Force Stop 2024-02-10 18:48:24 +08:00
MrSluffy 04e243a875 Add Uninstall Button 2024-02-10 18:25:36 +08:00
John Andrew Camu 594dc1c3d2 Introducing Task Lock in Overview (#4061)
In situations where users frequently run the app in the background, and open multiple apps, there may be instances where a specific app should not be cleared when performing a 'Clear All' or 'Dismiss' action. This new feature ensures that a selected running task or app remains in the Recent View and will not be removed.
2024-02-10 17:32:43 +08:00
MrSluffy ffb0b95f35 Revert "Update dependency androidx.compose:compose-bom to v2024.02.00 (#4058)"
This reverts commit 30f4cd3ac3.

- Closes #4064
2024-02-10 16:21:23 +08:00
Sunny Goyal b999979bbb Merge "Creating GestureExclusionManager for a single place to listen for gesture exclusion region changes" into main 2024-02-10 08:17:50 +00:00
SuperDragonXD 4c54d321e2 TopBar.kt - simplify code
Since LargeTopAppBar respects the SystemUI insets, this commit removes the unneeded padding code. Alongside that, it also removes the custom colors since they function properly now.
2024-02-10 12:56:23 +08:00