Treehugger Robot
9947b09f8f
[automerger skipped] Merge "RESTRICT AUTOMERGE Set the container field of aconfig flags" into main am: 0f602c773a am: 35334686ab -s ours
...
am skip reason: contains skip directive
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3068204
Change-Id: I833ac830c48f7f7b63833e66e2ce01a0d9b72f72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-03 14:59:56 +00:00
Oriol Prieto Gasco
613ef7fc91
[automerger skipped] RESTRICT AUTOMERGE am: d167e4c3df am: 19f7e8178c -s ours
...
am skip reason: contains skip directive
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3068204
Change-Id: Ie393c208e0d60d483927a11d670c5ea5bae11ebf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-03 14:59:52 +00:00
Treehugger Robot
35334686ab
Merge "RESTRICT AUTOMERGE Set the container field of aconfig flags" into main am: 0f602c773a
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3068204
Change-Id: I5755b223ef07f0d3ad7407865d802eac7b41a9b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-03 14:31:43 +00:00
Oriol Prieto Gasco
19f7e8178c
RESTRICT AUTOMERGE am: d167e4c3df
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3068204
Change-Id: I31cd78c8570a2c05069d8fd4b1e6fb2eb44f99bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-03 14:31:39 +00:00
Treehugger Robot
0f602c773a
Merge "RESTRICT AUTOMERGE Set the container field of aconfig flags" into main
2024-05-03 14:10:05 +00:00
Vinit Nayak
0b1524e09f
[automerger skipped] Merge "Allow single root candidate for app pair launch for pip edge case" into 24D1-dev am: afb770c737 -s ours
...
am skip reason: Merged-In I415343a48e980afd7f4e511558d350cf15b97ca1 with SHA-1 23b85ffdba is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/27182236
Change-Id: I26962082a49dfb08c4d4b40f8b5a01c5af248c5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-03 06:54:55 +00:00
Vinit Nayak
dd3edb6ed8
[automerger skipped] Allow single root candidate for app pair launch for pip edge case am: 55270a9f70 -s ours
...
am skip reason: Merged-In I415343a48e980afd7f4e511558d350cf15b97ca1 with SHA-1 23b85ffdba is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/27182236
Change-Id: I308d53d5b15973845868f38e7d34e3354c55c35b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-03 06:54:51 +00:00
Vinit Nayak
afb770c737
Merge "Allow single root candidate for app pair launch for pip edge case" into 24D1-dev
2024-05-03 06:30:43 +00:00
Holly Jiuyu Sun
6b85675657
Merge "[reset] Clean up ActivityAllAppsContainerView#reset." into main
2024-05-03 00:49:26 +00:00
Anushree Ganjam
c1adbe3b4b
Merge "Revert "When AllAppsSearchBarController's mInput edit text focus is false, we should hidekeyboard."" into main
2024-05-03 00:34:32 +00:00
Willie Koomson
a6f1bd55d4
Merge changes from topic "update-widget-font" into main
...
* changes:
Fix resize frame corner radius for widgets added with button
Hide add button text if cell is too narrow
Update font settings to match POR
2024-05-02 23:07:40 +00:00
Vinit Nayak
55270a9f70
Allow single root candidate for app pair launch for pip edge case
...
* Shell will launch single task if requested split apps have one of them
already in Pip
* Create a separate method to set animation for launching from the
appPair icon on workspace
* Reuse the animation method for launching an AppPair icon from taskbar
by specifying which windowing mode to look for if we're launching the
actual split pair vs just one in fullscreen
Bug: 323089902
Test: Launches fine visually
Change-Id: I415343a48e980afd7f4e511558d350cf15b97ca1
Merged-In: I415343a48e980afd7f4e511558d350cf15b97ca1
2024-05-02 22:49:25 +00:00
Holly Sun
d7b532afcb
[reset] Clean up ActivityAllAppsContainerView#reset.
...
Digged into the history of this part, some code is duplicated and thus removed. See https://docs.google.com/document/d/1mp1HwLhkLE_o0o_InhntFz3oIGsg94b9XucAal0IgOE/edit?tab=t.0#bookmark=id.130cyqeojzrk
ag/24198780 introduced the `MAIN_EXECUTOR.getHandler().post` part, which is still needed for logging purpose.
Bug: 328505782
Test: manual
Flag: NA
Change-Id: Ie7622c497b803f722fd734d30c4c3d9692d152c6
2024-05-02 15:38:49 -07:00
Anushree Ganjam
bc2acdaf5c
Revert "When AllAppsSearchBarController's mInput edit text focus is false, we should hidekeyboard."
...
This reverts commit d169cb3667 .
Reason for revert: Probably causes jank regression. See b/336280300 for details.
Bug: b/336280300
Change-Id: I82918a33b04c58f0778d584d57e418d7dbb1e672
2024-05-02 22:29:15 +00:00
Treehugger Robot
0ff6c0a50d
Merge "Debug TaplAddConfigWidgetTest test" into main
2024-05-02 22:16:42 +00:00
Tracy Zhou
c9b5b0a3dd
Merge "Add ime back button logic to the init block of NavbarButtonsViewController" into main
2024-05-02 21:16:54 +00:00
Sukesh Ram
05d48b3986
Debug TaplAddConfigWidgetTest test
...
Flag: NONE
Bug: 324419890
Test: Check logs when flake is reproduced
Change-Id: I90b419aa300df53247fc07e00aabe575a33fb95f
2024-05-02 20:32:09 +00:00
Fengjiang Li
c2ef74306b
Merge "[Launcher Jank] Pass single threaded Executor to RotationButtonController so that binder calls are ordered." into main
2024-05-02 20:08:50 +00:00
Willie Koomson
14c321de31
Fix resize frame corner radius for widgets added with button
...
Before this CL, the resize frame showed a mismatched corner radius
for widgets that have a non-default corner radius, when using the
add button. This is because widgets added with the button may not have
had `onLayout` called before the resize frame is set up.
This change adds a layout listener to the widget view, so that the frame
can set its corner radius once the view has been laid out.
Bug: none
Test: manual test
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add NEXTFOOD
Change-Id: Ia9c37ae595be48e4ecab7930e17efca9a27ed05d
2024-05-02 19:55:41 +00:00
Willie Koomson
1156e8419a
Hide add button text if cell is too narrow
...
If the WidgetCell is not wide enough, hide the add button text and show
an icon-only plus button.
Bug: 333735974
Test: manual
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add NEXTFOOD
Change-Id: Ieb0b2e679bd4a5785a0f7f01e177ad412a355ce7
2024-05-02 19:55:41 +00:00
Willie Koomson
61dc97ecb2
Update font settings to match POR
...
Updates font color, size, weight, and line height for text in the widget
picker to match POR and pass a11y test.
Bug: 317948371
Flag: NONE
Test: Accessibility Scanner contrast test
Change-Id: I3c7676c507b81a616876206681972ebb9fefd0c3
2024-05-02 19:55:33 +00:00
Treehugger Robot
a3009176a9
Merge "Give bubble team owners on the correct launcher bubble dirs" into main
2024-05-02 19:47:20 +00:00
Sebastián Franco
76f2828d52
Merge "Print the test cases and the solutions of ReorderAlgorithmUnitTest" into main
2024-05-02 19:38:45 +00:00
Liran Binyamin
841411d122
Give bubble team owners on the correct launcher bubble dirs
...
Whoops.
Flag: N/A
Test: treehugger
Bug: none
Change-Id: I25df1a161d94bd1acac976bc61217a59b3657074
2024-05-02 15:33:16 -04:00
Treehugger Robot
f7ed35fc87
Merge "Locking the All Apps view before asserting PS components." into main
2024-05-02 19:02:42 +00:00
Treehugger Robot
03cd176277
Merge "Add support for animating non-running tasks" into main
2024-05-02 18:24:56 +00:00
Sunny Goyal
93221e00a5
Merge "Converting ModelTask to an interface instead of an abstract class" into main
2024-05-02 17:41:09 +00:00
Sunny Goyal
f4b51c603f
Merge "Fixing StatsLogger not getting activityContext" into main
2024-05-02 17:36:21 +00:00
Tony Wickham
ee77e8483a
Merge "Remove obsolete binder calls to TaskTransitionSpec" into main
2024-05-02 15:28:04 +00:00
Oriol Prieto Gasco
d167e4c3df
RESTRICT AUTOMERGE
...
Set the container field of aconfig flags
Test: printflags --format='{package}:{container}:' | grep "::"
Bug: 312769710
Flag: NONE
Change-Id: Ib3df226999e8616bd99c6067afefb4f0be7911ab
2024-05-02 12:03:57 +00:00
Treehugger Robot
a9b939a82f
Merge "Turn off deprecated sdk dialog" into main
2024-05-02 10:31:01 +00:00
Tracy Zhou
4b43cfbc04
Add ime back button logic to the init block of NavbarButtonsViewController
...
Fixes: 338320015
Test: Run adb shell am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity. Make sure the back key shows by default but hides when IME renders back arrow.
Change-Id: I8baeb10d3f5b13c3bac084872d77d881c1513733
2024-05-01 23:18:29 -07:00
Sebastian Franco
08ca5e7f3c
Print the test cases and the solutions of ReorderAlgorithmUnitTest
...
Bug: 332527963
Test: ReorderAlgorithmUnitTest
Flag: NA
Change-Id: Ie2830136bcf59354f1c33c3f09fbe28caa71971b
2024-05-01 16:56:10 -07:00
Jagrut Desai
0fd34b783c
Merge "Taskbar in Desktop Windowing Mode" into main
2024-05-01 22:49:48 +00:00
Sunny Goyal
993893895c
Converting ModelTask to an interface instead of an abstract class
...
This allows extensibility and better use of lambdas
Bug: 338282246
Test: Presubmit
Flag: None
Change-Id: Ia41067f0068b3b631eeb4faf877dc77f8587e1f6
2024-05-01 15:43:26 -07:00
Tracy Zhou
36a810964d
Do not hide nav bar on the homescreen from setup am: 58a018746d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/27169438
Change-Id: Ie5fd536e90f47887e36798f74226aa70e0810d93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-01 22:14:51 +00:00
Helen Cheuk
e07207678b
Merge "Fix performance issue caused by triggering hover focus animation accidentally" into main
2024-05-01 21:56:26 +00:00
Schneider Victor-tulias
65ae550a92
Add support for animating non-running tasks
...
It is possible to animate a non-running task to home mid-quick switch, which was not properly supported, causing a janky animation. Added custom animations to handle this more smoothly.
Flag: ACONFIG com.android.launcher3.enable_additional_home_animations DISABLED
Fixes: 237638627
Test: swipe to home mid-quick switch on handheld/large screen in portrait/landscape from an app present/missing on the workscape in RTL/LTR
Change-Id: I89c9cf1ed1c0b88ff6c3ce71a663cb16e69d5843
2024-05-01 20:06:34 +00:00
Sunny Goyal
a5438a3cfc
Fixing StatsLogger not getting activityContext
...
Bug: 338254085
Test: Verified on device
Flag: None
Change-Id: I5a821a89df80ce43b73092db43af3dd8d53d81f4
2024-05-01 12:59:58 -07:00
Holly Jiuyu Sun
2692954360
Merge "[omni] Let parent to allow intercept when it's in the 2nd stage." into main
2024-05-01 18:48:52 +00:00
Vinit Nayak
4cb712b8d6
Merge "Allow single root candidate for app pair launch for pip edge case" into main
2024-05-01 18:43:59 +00:00
Alex Chau
6a44889c99
Merge "Add additional StateManager log to track cancelAnimation" into main
2024-05-01 18:26:20 +00:00
Himanshu Gupta
3a0f024044
Locking the All Apps view before asserting PS components.
...
Bug: 334946529
Test: NA
Flag: NA
Change-Id: Id8895a993f61ee22fcef1ba562aaa8baf156d6d7
2024-05-01 18:52:32 +01:00
Holly Sun
1d90321484
[omni] Let parent to allow intercept when it's in the 2nd stage.
...
Discussed with Andy for ideas - instead of passing the outer touch slop out, it might be easier to let parent to allow intercept when it's in the 2nd stage (e.g., OverviewInputConsumer doesn't have touch slop handling logic). So we can go through this if: https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/NavHandleLongPressInputConsumer.java;l=105;drc=deee0d06f624223b808593997cf22042c9aa5142
`mDelegate` can be `OverviewInputConsumer` or `OtherActivityInputConsumer` or `TaskbarUnstashInputConsumer`.
Bug: 330446193
Flag: legacy ENABLE_LPNH_TWO_STAGES disabled
Test: manual
Change-Id: I1f33172f1614a750a01632c8c945ee5e5cbd7adc
2024-05-01 10:02:40 -07:00
Jagrut Desai
2e8ca87c21
Taskbar in Desktop Windowing Mode
...
Test: presubmit
Bug: 330146462
Flag: NONE
Change-Id: Ib33f90704c3010df6a52e2a1c420960b11dbd0d4
2024-05-01 09:29:24 -07:00
helencheuk
ef31d0a35e
Fix performance issue caused by triggering hover focus animation accidentally
...
HoverAnimator and FocusAnimator are triggered unexpectedly on state transition. When it is already disabled, it is disabled again when user swipes to All Apps and triggers animators. Add checking to not trigger animator when the new enable status is the same as the current one.
Bug: 333688227
Test: Ran v2/android-crystalball-eng/health/microbench/systemui/main/systemui-misc-1-jank-suite in ab/
Flag: N/A
Change-Id: I090490f1c78a3427225c24bc536e1767700ec6c3
2024-05-01 17:15:12 +01:00
Tony Wickham
a179a77e09
Remove obsolete binder calls to TaskTransitionSpec
...
Fixes: 334312256
Flag: none
Test: manual (no visual regression)
Change-Id: Ie20dc8d4bb0c85a8a256b001fbb92405679618a8
2024-05-01 15:15:18 +00:00
Alex Chau
d840e6270b
Add additional StateManager log to track cancelAnimation
...
Bug: 325463989
Test: Manual
Flag: NONE
Change-Id: I4f9eb13eb460e0bae0582992d18b8b81250f8eaa
2024-05-01 15:08:42 +01:00
Alex Chau
e14ee6f914
Merge "Improve taskId logging for Overview" into main
2024-05-01 13:49:18 +00:00
Alex Chau
2daa3eba99
Merge "Refactor TaskView.getTaskIds and its attribute container to support any number of tasks" into main
2024-05-01 13:49:02 +00:00