Commit Graph

76729 Commits

Author SHA1 Message Date
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 a5d55fe5ef Revert "Log split button visibility to debug spacing issue"
This reverts commit 2d55c9c679.

Reason for revert: Logs not helpful in figuring out the issue and is too spammy
Bug: 321291049

Change-Id: I88a4350277ea3e965493da6386cf4c83c5c564e4
2024-03-22 22:19:13 +00: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
Treehugger Robot d66b0c692c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 90879d2008 -s ours
am skip reason: contains skip directive

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

Change-Id: I014ef2afcfca0f5cad8a8c63944e7b8008bd2d93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:20:16 +00:00
Bill Yi 55b0fb88f8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 095af980d9 -s ours
am skip reason: contains skip directive

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

Change-Id: Ie9af983a3da4ef11c830a097a6f86cdf60ebb586
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:20:09 +00:00
Bill Yi c5307ee6ce Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-03-22 17:00:35 +00:00
Bill Yi 397e7e6d3e Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-03-22 17:00:35 +00:00
Treehugger Robot f4148a9a13 Merge "add more unit tests for WorkspaceItemProcessor" into main 2024-03-22 16:41:37 +00:00
Treehugger Robot f269a95efa Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-03-22 16:39:52 +00:00
Treehugger Robot 90879d2008 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-03-22 16:39:52 +00:00
Alex Chau 9239b02b7f Merge "Simplify OverviewActionsView layout to avoid unexpected misalignemnt" into main 2024-03-22 16:37:44 +00:00
Sebastián Franco b55987f834 Merge "Move test failing on presubmit to postsubmit" into main 2024-03-22 16:29:24 +00:00
Treehugger Robot ef17913e72 Merge "add more logging for failure to load Widgets" into main 2024-03-22 16:15:31 +00:00
Schneider Victor-tulias 5f14ec50dd Focus the first task after the desktop task when launching overview from KQS
Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Flag: ACONFIG com.android.window.flags.enable_desktop_windowing_mode DEVELOPMENT
Fixes: 327420683
Test: opened overview using KQS
Change-Id: I9395ad6065844bf5f5007180cd8c3f80573ee473
2024-03-22 11:36:56 -04:00
Charlie Anderson 13b5177a8d add more unit tests for WorkspaceItemProcessor
Bug: 294386159
Test: unit tests passing locally and in presubmit
Flag: N/A

Change-Id: Iea281418b4737c85e3cff36dc8b7f6cd6ce06a0b
2024-03-22 11:22:46 -04:00
Alex Chau 2cf1a0c08d 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
Change-Id: Ice087dde7d3c36b4536d36ce82c382c31c124855
2024-03-22 15:17:16 +00:00
Charlie Anderson 7779852bbe add more logging for failure to load Widgets
Bug: 294386159
Test: locally
Flag: N/A
Change-Id: Ib1fc2c28d1f20142658077047bbe6bc2eabe49d4
2024-03-22 10:43:49 -04:00
Lynn Yeh f952c4a4ff [automerger skipped] Merge "When mLastComputedTaskSize is empty we will recalculate and set it before determining scale and pivot" into 24D1-dev am: 5bdca26a12 -s ours
am skip reason: Merged-In I0f928885e2fc6cfc0d6a064d6e9f1c614bf7a5af with SHA-1 fca7ee23ba is already in history

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

Change-Id: I60004e51e7c8d4acfbed685a82e9f4331be1ce76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 09:20:46 +00:00
randypfohl f5ed6587ea [automerger skipped] When mLastComputedTaskSize is empty we will recalculate and set it before determining scale and pivot am: c91aad150c -s ours
am skip reason: Merged-In I0f928885e2fc6cfc0d6a064d6e9f1c614bf7a5af with SHA-1 fca7ee23ba is already in history

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

Change-Id: Ia8cb245b2a2409cb54181bc3aa75627f0ec0d81e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 09:20:38 +00:00
Lynn Yeh 5bdca26a12 Merge "When mLastComputedTaskSize is empty we will recalculate and set it before determining scale and pivot" into 24D1-dev 2024-03-22 08:53:29 +00:00
Tiger 3a9c464eb3 Let taskbar can trigger insets resize animation
All the system bar can trigger insets resize animation before, but some
sources might not have the resize animation. The framework now will only
trigger insets resize animation for sources which apply
FLAG_ANIMATE_RESIZING. So this CL applies the flag for gesture taskbar
because it can toggle its size via "Always show Taskbar"

Bug: 291562764
Flag: NA
Test: Fold and unfold a foldable device and ensure that won't create
      InsetsResizeAnimationRunner.
Merged-In: I0d915422d160a81f12c3992ffe53200fd957f6d7
Change-Id: I0d915422d160a81f12c3992ffe53200fd957f6d7
2024-03-22 07:36:34 +00:00
Treehugger Robot a0c3169c27 Merge "Prevent merging transitions if we don't handle it" into main 2024-03-22 07:22:02 +00:00
Winson Chung ad9cf73bee Prevent merging transitions if we don't handle it
- If we don't handle merging the transition, it will play sequentially
  after the current transition (see ag/26641113)

Bug: 330821548
Test: N/a
Change-Id: I7d35cc173d8ced8ba9b9df02dd8a571ca08e9de7
2024-03-22 05:53:50 +00:00
Holly Jiuyu Sun 7afab539c0 Merge "[PS] Use onSurface for tint." into main 2024-03-22 05:50:32 +00:00
Fengjiang Li 6f8069a8dc Update WidgetSize on binding workspace, and when dropping widget with config activity
ag/25923606 seems to have changed when we update widget size, this CL will make sure widget sizes are updated when dropping a widget that requires a config activity

Fix: 328133427
Test: manual
Flag: NONE
Change-Id: I5b62b78a9afde3b79b933f233361b409258649c9
2024-03-22 03:59:23 +00:00
Tiger Huang d930eefefa Merge "Let taskbar can trigger insets resize animation" into main 2024-03-22 03:39:45 +00:00
Treehugger Robot 96e8528b19 Merge "Debugging Logs for TaplOverviewIconTest#testOverviewActionsMenu" into main 2024-03-22 03:33:32 +00:00
Wei Sheng Shih c5a2e4bf03 Merge "Do not report finish in mergeAnimation..." into main 2024-03-22 03:30:20 +00:00
Bill Yi 26a7128324 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2ac43fa5218e69c2b1561dab474c846eb9e5f2fa
2024-03-21 20:28:17 -07:00
Bill Yi 6748806bfb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iec7905df8c578857093c7a835a6aa336f17a30d3
2024-03-21 20:27:17 -07:00