Commit Graph

74904 Commits

Author SHA1 Message Date
Gina Ko 5b845d2831 Reapply "Support toggling Taskbar All Apps with 3P Launcher." am: 036a83cd99
The revert was not supposed to be auto-merged.

This reverts commit 5a3bf93d82, reversing
changes made to 84f8002586.

Bug: 331384026
Change-Id: Ieb11a8544db90259aae856c4af805c37ce9e68cc
2024-03-26 15:03:31 -07:00
Liana Kazanova 5a3bf93d82 Revert "Support toggling Taskbar All Apps with 3P Launcher." am: 036a83cd99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26720630

Change-Id: I235f6d6263be6e39a583ac7b1a0783bfc77533c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 20:57:12 +00:00
Holly Jiuyu Sun 84f8002586 Merge "[PS] Update PS tile subtitle." into main 2024-03-26 20:42:48 +00:00
Liana Kazanova 036a83cd99 Revert "Support toggling Taskbar All Apps with 3P Launcher."
This reverts commit 176f186a6d.

Reason for revert: DroidMonitor: Potential culprit for http://b/331438065 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: Ie375277ad2f65199749f0211ab50037d4b37e664
Merged-In: Ie375277ad2f65199749f0211ab50037d4b37e664
2024-03-26 20:34:09 +00:00
Sunny Goyal 62a11974fa Merge "Cleaning up some build configurations" into main 2024-03-26 20:00:51 +00:00
Brian Isganitis 3c15e3c178 Support toggling Taskbar All Apps with 3P Launcher. am: 176f186a6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26708479

Change-Id: Ia1b5c40644dbaa3a3d311b958443adc958fc8f23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 18:28:59 +00:00
Vinit Nayak 926e03f5e5 Merge "Revert^2 "Call setOverviewDragState() whenever taskbar is recreated"" into main 2024-03-26 17:59:31 +00:00
Alex Chau c093b26a0f Merge "Ensure SAVE_APP_PAIR is only used for GroupedTaskView" into main 2024-03-26 17:28:45 +00:00
Sunny Goyal 77954bae4e Cleaning up some build configurations
> Removing Launcher3Go-without-quickstep
> Removing src_ui_overrides to src_no_quickstep
> Removing unnecessary code swpa for GO builds

Bug: 330920490
Flag: None
Test: Presubmit, everything builds
Change-Id: I5746dbc7c5a37c1d99d78b55bf2a6adce1a711c9
2024-03-26 17:16:52 +00:00
Sunny Goyal 4fd3e87842 Merge "Removing unused/unmaintained files" into main 2024-03-26 17:11:38 +00:00
Schneider Victor-tulias b4d102e75a Merge "Add debug logs to ActivityTracker" into main 2024-03-26 17:02:13 +00:00
Alex Chau d1bc3b39f7 Ensure SAVE_APP_PAIR is only used for GroupedTaskView
- Check if TaskView is GroupedTaskView before casting to avoid a crash, caused by DesktopTaskView.containsMultipleTasks() is true but is not a GroupedTaskView

Fix: 331226084
Test: With Talkback on and Desktop task, go to Overview
Flag: ACONFIG com.android.window.flags.enable_desktop_windowing_mode DEVELOPMENT
Change-Id: Ic2f1b940bb5a6b0cf452465b9cc15ebf4c256858
2024-03-26 10:46:59 +00:00
Johannes Gallmann 360d3cd16c Merge "Play predictive animation when quickly restarting back gesture after cancel" into main 2024-03-26 08:00:57 +00:00
Jeremy Sim 46ca78ee78 Merge "Refactor how app pair icons draw" into main 2024-03-26 02:39:37 +00:00
Brian Isganitis 176f186a6d Support toggling Taskbar All Apps with 3P Launcher.
Taskbar All Apps exists regardless of the default launcher. Thus, we can
toggle it on large screen devices. This CL ties registering the system
action to default launcher and taskbar's enablement.

Test: adb shell input keyevent 117
Test: AllAppsActionManagerTest
Flag: LEGACY ENABLE_ALL_APPS_SEARCH_IN_TASKBAR ENABLED
Fix: 317259709
Change-Id: I26f0ed9e921beac762f3f9e6aaceb1002ad4801a
(cherry picked from commit c113b277e6)
2024-03-26 01:16:39 +00:00
Treehugger Robot a8efc84122 Merge "Using xml override instead of code swap for predicted icon" into main 2024-03-26 00:53:37 +00:00
Jeremy Sim b37faec287 Refactor how app pair icons draw
This changes (and cleans up) the way app pair icons are composed. Previously, the background and 2 icons were drawn individually and separately onto the canvas. Now, they are composed into a combined drawable first. This also allows the full icon drawable to be requested by external functions (which will be needed for display app pairs in folder previews).

Bug: 315731527
Flag: ACONFIG com.android.wm.shell.enable_app_pairs TRUNKFOOD
Test: Visually confirmed that app pairs loooks the same in all scenarios: rotation, disabled, themed, taskbar, pinned taskbar. Screenshot test to follow.
Change-Id: I7242e0c525ef578a54a06fb9137fcfc42c6f0e86
2024-03-25 16:43:40 -07:00
Treehugger Robot 43879a7256 Merge "Handle widgets added with tap-to-add in AppEventProducer" into main 2024-03-25 23:25:39 +00:00
Sunny Goyal bd7ec3335b Using xml override instead of code swap for predicted icon
Bug: 330920490
Flag: None
Test: Presubmit
Change-Id: I5ff52464b931630da003fb6aeff2a4fd9d2dd3b3
2024-03-25 15:18:48 -07:00
Sunny Goyal 4ee0841799 Removing unused/unmaintained files
Bug: 330920490
Flag: None
Test: Presubmit
Change-Id: I4eb2d77ca80d20957fa065fbc02a98500035d63a
2024-03-25 14:56:53 -07:00
Schneider Victor-tulias 017af39acb Merge "Use the task background color in KQS when we are missing a thumbnail" into main 2024-03-25 21:31:50 +00:00
Schneider Victor-tulias cbdf4d3eef Merge "Add debug logs for b/321775748" into main 2024-03-25 20:26:43 +00:00
Treehugger Robot 2803ccadfb Merge "Add ExtendedLongPressTimeoutRule to all AbstractLauncherUiTest" into main 2024-03-25 19:43:51 +00:00
Schneider Victor-tulias 086758c821 Merge "Allow KQS to be reopened during the close animation for responsiveness" into main 2024-03-25 18:55:25 +00:00
Schneider Victor-tulias d3b014ea91 Add debug logs for b/321775748
Flag: N/A
Bug: 321775748
Test: FallbackRecentsTest
Change-Id: I0dde08c4e6b2942713274d2ae29e52d5504ea25d
2024-03-25 14:24:35 -04:00
Schneider Victor-tulias 18821d1c1f Add debug logs to ActivityTracker
Flag: N/A
Bug: 274280837
Test: checked logs during gestures and 3-button, and dumped Launcher logs
Change-Id: Icbb1edb0e59fa9cce9364e39823a664cda4ebf1b
2024-03-25 13:48:44 -04:00
Sunny Goyal 85b40b37c5 Merge "Removing ext_test directory" into main 2024-03-25 17:42:21 +00:00
Tracy Zhou e3720885c1 Merge "Revert "Hide task bar when folding before the new config renders the correct task bar"" into main 2024-03-25 17:39:07 +00:00
Schneider Victor-tulias 841734e091 Use the task background color in KQS when we are missing a thumbnail
Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 328686729
Test: forcibly used a null bitmap in dark/light modes
Change-Id: Ie5e106d6b0e69a60a77d065b945fe036c6dd9ef9
2024-03-25 13:26:35 -04:00
Schneider Victor-tulias fe7319ec40 Allow KQS to be reopened during the close animation for responsiveness
Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 327421402
Test: quickly quick switched during close animation
Change-Id: I11dad62d11afd796aadf9b6165f0b4404f344311
2024-03-25 12:52:12 -04:00
Schneider Victor-tulias 081d6f4b59 Merge "Focus the first task after the desktop task when launching overview from KQS" into main 2024-03-25 15:25:50 +00:00
Schneider Victor-tulias 02e57b3d62 Add ExtendedLongPressTimeoutRule to all AbstractLauncherUiTest
When devices run slow in pre/post-submit, it is possible for a drag to be processed at a long press before the first move event can be created and dispatched. Added a rule to artificially increase this long press timeout in tests.

Flag: N/A
Fixes: 319257820
Test: TAPL tests
Change-Id: I24e0f3baec15db7558351d0cb2bd93a4e49640e8
2024-03-25 11:22:31 -04:00
Alex Chau 41e4290d9f [automerger skipped] Simplify OverviewActionsView layout to avoid unexpected misalignemnt am: 30d9b190d5 -s ours
am skip reason: Merged-In Ice087dde7d3c36b4536d36ce82c382c31c124855 with SHA-1 2cf1a0c08d is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26685191

Change-Id: I83962fb620b0ed6dac799e12dac59c2c379dc7c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-25 11:59:20 +00:00
Tracy Zhou 4dbac6caa9 Revert "Hide task bar when folding before the new config renders the correct task bar"
This reverts commit dfb334f1e1.

Reason for revert: A bunch of WM fixes are in (b/291562764)

Change-Id: I9d08dab976cda112f802ee91256c09ef2026a01f
2024-03-23 19:35:50 +00:00
Vinit Nayak f1a832fa55 Revert^2 "Call setOverviewDragState() whenever taskbar is recreated"
This reverts commit 541c5d272d.

Reason for revert: test still failing w/ revert https://android-build.corp.google.com/abtd/run/L66700030002678824/

Change-Id: If3ab4bb850ee519446e6cae4160ea6271049f83a
2024-03-23 00:51:00 +00:00
Treehugger Robot 9a8a3091ba Merge changes from topic "revert-26664190-revert-26605558-robolectric-enable-androidx-rules-OWMAZEJUYZ-JTFGVYILBL" into main
* changes:
  Revert^2 "Move FastBitmapDrawableTest to Robolectric"
  Revert^2 "Include AndroidX test rules in Robolectric tests"
2024-03-23 00:14:35 +00:00
Fengjiang Li 9adc988412 Merge "Update WidgetSize on binding workspace, and when dropping widget with config activity" into main 2024-03-22 23:57:01 +00:00
Sunny Goyal 9d2ece156d Removing ext_test directory
Except for a few methods, most of the testing code was already in the main
codebase. Maintaining the additional source directory adds unnecessary overhead

Bug: 330920490
Test: Presubmit
Flag: None
Change-Id: I56c43ab7a4869b26858d622d0b8b14f286d50e90
2024-03-22 15:45:32 -07:00
Alex Chau 30d9b190d5 Simplify OverviewActionsView layout to avoid unexpected misalignemnt
- Removed the weight=3 space on left/right and replace with gracvity=central_horizontal
- Removed unused oav_three_button_space
- Removed irrelevant layout_gravity (gravity within parent), as the LinearLayout is already taking full parent width, and its vertical alignemnt si controlled by `updateVerticalMargin` in code

Bug: 329255757
Test: OverviewImageTest
Flag: None
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2cf1a0c08d41ee7a29ea920c93850d3914ed7cd8)
Merged-In: Ice087dde7d3c36b4536d36ce82c382c31c124855
Change-Id: Ice087dde7d3c36b4536d36ce82c382c31c124855
2024-03-22 22:15:40 +00:00
Brandon Dayauon 9727caec8d Merge "Remove applyBackground param in decorator" into main 2024-03-22 21:29:01 +00:00
Sukesh Ram a47eff5e21 Merge "Revert "Call setOverviewDragState() whenever taskbar is recreated"" into main 2024-03-22 20:31:42 +00:00
Priyanka Advani 7b9f1893b8 Merge "Revert "add more unit tests for WorkspaceItemProcessor"" into main 2024-03-22 20:05:32 +00:00
Priyanka Advani d9ed5f301b Revert "add more unit tests for WorkspaceItemProcessor"
This reverts commit 13b5177a8d.

Reason for revert: Droid-monitor created revert due to test breakages in b/330906931.

Change-Id: If1afc3fb0e655ce3b1d10018723bc013ae03673e
2024-03-22 19:10:16 +00:00
Tiger Huang adb87ae962 [automerger skipped] Merge "Let taskbar can trigger insets resize animation" into 24D1-dev am: ee28d64d27 -s ours
am skip reason: Merged-In I0d915422d160a81f12c3992ffe53200fd957f6d7 with SHA-1 425aec696f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26668113

Change-Id: I2d708b62a3386a34871047d656461d862b7a6299
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 18:55:21 +00:00
Tiger 5af29b8f72 [automerger skipped] Let taskbar can trigger insets resize animation am: 3a9c464eb3 -s ours
am skip reason: Merged-In I0d915422d160a81f12c3992ffe53200fd957f6d7 with SHA-1 425aec696f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26668113

Change-Id: I0325ec485086a848d13e3dcfe5b46746322aaf13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 18:55:05 +00:00
Tiger Huang ee28d64d27 Merge "Let taskbar can trigger insets resize animation" into 24D1-dev 2024-03-22 18:39:16 +00:00
Saumya Prakash dc6ec50558 Merge "Fix incorrect fragment in gesture tutorial when rotating the screen" into main 2024-03-22 18:09:47 +00:00
Federico Baron 2cdbbbcd8a Merge "Revert "Add screenrecord for testOverviewDeadzones"" into main 2024-03-22 17:48:08 +00:00
Treehugger Robot 3429ea1dfa [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: f269a95efa -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26673329

Change-Id: I34e953ab888aee6419af6e54c254e80a600e480f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:21:25 +00:00
Bill Yi 3581c0d1d0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 26a7128324 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26673329

Change-Id: Iddaa06db5279d0ab77554c50abd5e5d84d0d6bea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:20:22 +00:00