Commit Graph
87505 Commits
Author SHA1 Message Date
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
Alex Chau a6def81654 Merge "Don't run parallax animation for grid overview" into main 2024-02-20 11:35:36 +00:00
Alex Chau ec6f0bad38 Don't run parallax animation for grid overview
Bug: 286821534
Test: manual
Flag: None
Change-Id: I08c77ce5d538ee07374e9f88fc4d00cc8165f28b
2024-02-20 11:34:58 +00:00
Android Build Coastguard Worker 1d08dcf33f Snap for 11469542 from 89170d6fab to 24Q3-release
Change-Id: Ic041a63c8e3d4978a2949e11484a75e59755ba37
2024-02-20 00:21:18 +00:00
Android Build Coastguard Worker 498d1c7012 Snap for 11469542 from 89170d6fab to 24Q2-release
Change-Id: I8a27205fd7aa9b410b70b01b3d659201c96741be
2024-02-20 00:21:05 +00:00
Jordan Silva baae8c5572 Add function to start a test activity with different name and label
Bug: 320314835
Test: NexusLauncherImageTests
Test: NexusLauncherTests
Flag: N/A
Change-Id: Ida26572706eaaa8c46dbe446c700a54b019b530d
2024-02-19 14:33:38 +00:00
Treehugger Robot 89170d6fab Merge "Update color of Overview ShareTarget scrim" into main 2024-02-19 14:17:47 +00:00
Alex Chau 51c09ed13e Merge "Avoid resetting RecentsAnimationController and RemoteTargetHandle without clear ownership" into main 2024-02-19 12:00:56 +00:00
Alex Chau 6ff4c1f5a4 Merge "Always run animateClose when closing TaskMenuView" into main 2024-02-19 10:27:32 +00:00
Riddle Hsu 5fbbbcef3a Merge "Make recents activity follow the orientation of activity behind" into main 2024-02-19 07:52:09 +00:00
Brandon Dayauon c2173aac34 Merge "Collapse private space container and animate header." into main 2024-02-19 04:21:56 +00:00
MrSluffy 84f47cd8f9 properly set position when toggle is off 2024-02-18 16:57:30 +08:00
MrSluffy 947a2a7128 fixed - overlap suggestion in all apps 2024-02-18 12:34:21 +08:00
MrSluffy eb472b2953 feat - Remember position
- Closes : #3958
2024-02-18 12:02:52 +08:00
Lawnchair BotandCrowdin Bot ffc94c3202 New Crowdin translations by GitHub Action (#4081)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-02-18 03:47:58 +03:30
Android Build Coastguard Worker 6b7f0b58c3 Snap for 11465908 from b2ea96303c to 24Q3-release
Change-Id: I4d2f96415e05ade07f71a0066281b0f8440ad28c
2024-02-17 22:20:55 +00:00
Android Build Coastguard Worker 341acbab5d Snap for 11465908 from b2ea96303c to 24Q2-release
Change-Id: Ibbb2ea1539a0bf3934e15716d72d1cd7243a0ba3
2024-02-17 22:20:53 +00:00
Himanshu Gupta b2ea96303c Merge "Preventing installed PS apps from moving to home screen" into main 2024-02-17 12:55:33 +00:00
MrSluffy b17a5b7fc4 fixed - hide drawer header placeholder when app search is disable
- Closes : #4011
2024-02-17 20:06:19 +08:00
MrSluffy 6146a4a6f8 Fixed - going to home when tapping nav pill multiple times
Error Reproduce : Make sure lawnchair set as Recent Provider
1. Open app
2. Tap multiple nav pill
3. issue occur
2024-02-17 15:40:49 +08:00
Brandon Dayauon 08b06523a5 Collapse private space container and animate header.
- Just opposite of how it will expand.
- RecyclerView.SmoothScroller is needed to scroll the container.

- Need to separate the lock button because this way I can use animateLayout changes and it itself was its own drawable. Separated into icon and textView in a viewGroup.
- Give the background the 10padding on the left and right so that when in animation, the icon can adjust the padding/margins there.
- Using propertySetter to set animation
- Animates the alpha of the settings alpha

- updated test to account for the nested child views the test needs to inspect

bug: 299294792
test: manual:
Expand + Collapse Video: https://drive.google.com/file/d/1Og66eqmXv3THn0wO4_x6Tfp2AbwFWUwZ/view?usp=sharing
Flag: ACONFIG com.android.launcher3.Flags.private_space_animation TEAMFOOD

Change-Id: I96f1d172a481522d23b4cee996ddec65961fce78
2024-02-16 21:23:51 -08:00
Fengjiang Li 73ece207a2 Merge "Avoid flicker to drop a widget that needs a config activity." into main 2024-02-17 03:16:40 +00:00
renovate[bot] a6e139781f Update dependency com.google.errorprone:error_prone_annotations to v2.25.0 (#4080)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 10:41:34 +08:00
Android Build Coastguard Worker 40fbeeff2c Snap for 11463929 from d3693424f5 to 24Q3-release
Change-Id: I07a1360a506dc1383ac1443a210154aa43acebe5
2024-02-17 02:21:28 +00:00
Android Build Coastguard Worker d3ac22847d Snap for 11464157 from d3693424f5 to 24Q2-release
Change-Id: I72a88c008d618b5c09eee3b5c7ed90a08db8cd96
2024-02-17 02:21:23 +00:00
Fengjiang Li 8bd66ee82d Avoid flicker to drop a widget that needs a config activity.
When dropping a widget that requires an config activity, drop a
PendingAppWidgetHostView to workspace

Adb command to try the feature:

adb shell device_config put launcher com.android.launcher3.enable_add_app_widget_via_config_activity_v2 true

Fix: 284236964
Test: manual
Flag: aconfig launcher.enable_add_app_widget_via_config_activity_v2 DISABLED
Change-Id: Ifd0be5c607a388cf8a8f6d77b46c03112e3e599f
2024-02-16 17:05:40 -08:00
Anushree Ganjam 9ea1724245 Merge "Add InteractionJankMonitor for backpress from allapps CUJ_LAUNCHER_CLOSE_ALL_APPS_BACK." into main 2024-02-17 00:23:11 +00:00
Anushree Ganjam 06c98fd685 Add InteractionJankMonitor for backpress from allapps CUJ_LAUNCHER_CLOSE_ALL_APPS_BACK.
Jank CUJ's cannot be added in LauncherState since it's aosp code.
Introduced `onBackPressComplete` method so the LauncherState subclasses can override this method to get back press complete call after back press animation is successful. Here we can add necessary jank CUJ's.

Perfetto trace : https://ui.perfetto.dev/#!/?s=3fc6eed848bdd692949ddb3afbdcdf04a7ef0d99cb9a83804ce9e1840492ed66

Test: Perfetto trace. https://screenshot.googleplex.com/5yviY5LxKusnKvF.png
Bug: 319132905
Flag: NA. Adding jank CUJ.

Change-Id: Ia418f06cb76fe4e14c2032c62c2250e9143442f2
2024-02-16 14:35:20 -08:00
Jon @ d3693424f5 Merge "Notify home is visible when launching a translucent app." into main 2024-02-16 21:43:28 +00:00
Treehugger Robot 821715127d Merge "Prevent taskbar reset animation from playing when gesture is in progress." into main 2024-02-16 21:36:59 +00:00
Treehugger Robot c7f9baee08 Merge "Disabling hidden API checks for Launcher3 tests" into main 2024-02-16 19:53:40 +00:00
Ats Jenk ca99653959 Merge "Create bubbles input consumer before nav bar long press" into main 2024-02-16 19:52:08 +00:00
Himanshu Gupta 4499fa60f9 Preventing installed PS apps from moving to home screen
During app install in PS, promise app icons and the
installed app icons are added automatically on home screen.
In this change we restrict the same.
Also, checked that enabling `PROMISE_APP_IN_ALL_APPS` still
works for PS apps after this change.

Bug: 325057835
Test: Launcher3 tests
Flag: ACONFIG com.android.launcher3.Flags.private_space_restrict_item_drag TEAMFOOD
Change-Id: Iecff850bcc1cd17a123553a4258943da1ee61fcc
2024-02-16 19:28:58 +00:00
Federico Baron 94c16073d3 Merge "Fix import for screenrecord" into main 2024-02-16 19:26:06 +00:00
Alex Chau c302daec2f Avoid resetting RecentsAnimationController and RemoteTargetHandle without clear ownership
- RecentsView only see itself owning RecentsAnimationController and RemoteTargetHandle after live tile is enabled via onGestureAnimationEnd to RECENTS
- RecentsView will finish recents animation if it owns RecentsAnimationController and is leaving RecentsView
- Otherwise, reset() would not reset RecentsAnimationController or RemoteTargetHandle
- Added logging for interaction between gesture and RecentsView to aid future debugging

Bug: 288557298
Test: manual
Flag: None
Change-Id: Icdcb91b98b2bb5d6d3bc30070f533ea79915bc09
2024-02-16 19:23:08 +00:00
renovate[bot] 4caf5c5668 Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.3 (#4078)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 03:15:57 +08:00