Commit Graph

78507 Commits

Author SHA1 Message Date
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
Bill Yi 095af980d9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I64669eeaa0d95dfc357636ff5e5b358ea4b30350
2024-03-21 20:26:03 -07:00
Bill Yi 183d5d0982 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I09d1660ae6518ec97787e854db0298dbf22fa8d8
2024-03-21 20:25:26 -07:00
Treehugger Robot a53f3ceb43 Merge "Debugging Logs for TaplTestsTransientTaskbar#testSwipeToStashAndUnstash" into main 2024-03-22 02:09:34 +00:00
wilsonshih 7130116894 Do not report finish in mergeAnimation...
...if the handler don't know how to process the transition.
So the Transitions can pass that transition to next handler.

Flag: NONE
Bug: 328619216
Test: manual, use alt+tab to relaunch a task where it's activity
is destroyed.

Change-Id: Idf3f78103a56e91806ec2f6e364c6e8e7f4e205c
2024-03-22 01:14:37 +00:00
Sebastian Franco 5103c551d3 Move test failing on presubmit to postsubmit
Bug: 316910614
Test: testResizeWidget
Flag: NA
Change-Id: I3fdc1aaab6d6479b04575f9e1540a36d5d563184
2024-03-21 17:24:27 -07:00
Android Build Coastguard Worker a72f546582 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26566289'] into 24Q2-release.
Change-Id: Ie5b177724fd43041dbe6c7fcf4d74e14f9887d44
2024-03-21 23:54:06 +00:00
Schneider Victor-tulias b24d4d5a8f Update KQS task view layouts to new specs
The small size of the screenshots and make text look odd. Implementing new UI specs to improve this.

- Updated icon position and size
- Added some blur to the thumbnail

Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 328259439
Fixes: 328692456
Test: opened KQS in dark and light mode
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dba7cbae1adfde615060598a55b5ee0edfedef9f)
Merged-In: I2b20100ddeb562291edf5f0bacbce916002eee45
Change-Id: I2b20100ddeb562291edf5f0bacbce916002eee45
2024-03-21 23:50:53 +00:00
Android Build Coastguard Worker 3e9f872ba4 Snap for 11610847 from 2b9047a931 to 24Q3-release
Change-Id: I963e55e4e839524d4295608107e868ecfee727c8
2024-03-21 23:20:52 +00:00
Sukesh Ram 547bb092b2 Debugging Logs for TaplOverviewIconTest#testOverviewActionsMenu
Add logging for TaplOverviewIconTest#testOverviewActionsMenu.

Flag: NONE
Test: Manually tested in pixel 7.
Bug: 326073471
Change-Id: I54cd62ea38c28230418031fc7edb4ade1198ca7a
2024-03-21 16:07:00 -07:00
Saumya Prakash c028cc7699 Fix incorrect fragment in gesture tutorial when rotating the screen
This change makes the current fragment load on configuration changes for
the gesture navigation tutorial. Previously, the old fragment would be recreated causing inconsistencies when rotating the screen. Not marking a flag as this change is for both the previous gesture tutorial and the current one.

Fix: 317162126
Test: Run the tutorial and rotate the screen after each step. The
tutorial should progress like normal.
Flag: N/A

Change-Id: I09c40006dd0ef6e9e78fa44e36962a678918420a
2024-03-21 22:27:15 +00:00
Tony Wickham 04905805cb [automerger skipped] Merge "Cancel animations after reading MotionPauseDetector#isPaused()" into 24D1-dev am: 50d2fad5f2 -s ours
am skip reason: Merged-In I9e0982c18cc5264a1fab53077ac551d2880a6eae with SHA-1 77802d6da4 is already in history

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

Change-Id: Ibb54906849353e987a6b59d1742843a673608616
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-21 22:22:41 +00:00
Tony Wickham 885fd59968 [automerger skipped] Cancel animations after reading MotionPauseDetector#isPaused() am: 3c58551e12 -s ours
am skip reason: Merged-In I9e0982c18cc5264a1fab53077ac551d2880a6eae with SHA-1 77802d6da4 is already in history

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

Change-Id: I434c26d48094e2b8e2a3caec365bfd2fc589cd92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-21 22:22:37 +00:00
Anushree Ganjam b29daf5722 Merge "Add FastScrollSectionInfo with "info icon" when work educard exists." into main 2024-03-21 22:14:26 +00:00
Tony Wickham 50d2fad5f2 Merge "Cancel animations after reading MotionPauseDetector#isPaused()" into 24D1-dev 2024-03-21 22:03:18 +00:00