Commit Graph

76503 Commits

Author SHA1 Message Date
Shamali P a34a264af4 Focus on the right pane when choosing an app on left
As before, user can also do 4-finger swipe down to move to right pane.

Bug: 345396938
Flag: EXEMPT bugfix
Test: Manual - see video in comments
Change-Id: If72862af2b05ae54c47e8d446a168252d3fc8194
2024-06-20 13:39:34 +00:00
Uwais Ashraf 8e537d1ee5 Merge "Move AppFilterTest to Deviceless" into main 2024-06-10 08:22:00 +00:00
Winson Chung 7994cff896 Merge "Add max width to the screen instructions view text" into main 2024-06-08 05:06:58 +00:00
Federico Baron 4ebc6777cb Merge "Fix folder animation clipping and RTL issue" into main 2024-06-08 00:22:45 +00:00
Shamali Patwa 7902265f77 Merge "Fix the flaky screenshot test" into main 2024-06-07 23:14:15 +00:00
Andrew Cole 8a4af691c8 Move AppFilterTest to Deviceless
Bug: 297950111
Test: atest NexusLauncherRoboTests
Test: SysUI studio
Flag: TEST_ONLY
Change-Id: I9e12a23966017aa2136f92e84eebb216ed8525cf
2024-06-07 15:38:17 -07:00
Brandon Dayauon 14fb9f27f4 Merge "Make private profile header scrollable" into main 2024-06-07 22:16:42 +00:00
fbaron 31d5b01ecf Fix folder animation clipping and RTL issue
Fix: 341433475
Test: NONE
Flag: EXEMPT bugfix
Change-Id: I05c1ca65efea2fdcebb6ff9435fda1f4bbafb9f1
2024-06-07 15:09:30 -07:00
Vadim Tryshev d37d4d8b7d Merge "Removing test class TaplViewInflationDuringSwipeUp" into main 2024-06-07 21:19:04 +00:00
Winson Chung 73cf3bc3a1 Add max width to the screen instructions view text
- This ensures that the instruction wraps if the text is too long

Fixes: 328577545
Fixes: 345128488
Flag: EXEMPT bugfix
Test: Visual inspection of instructions view in different languages/form
      factors
Change-Id: I73e889372a5c482277b0e4b61fb834304304c0a6
2024-06-07 20:59:07 +00:00
Vadim Tryshev e7d59d06c4 Removing test class TaplViewInflationDuringSwipeUp
The bugs for fixing the removed tests are obsolete, and it was decided to not allocate resources for fixing the tests.

Bug: 190618549, 190729479
Test: presubmit
Flag: NONE it's a test
Change-Id: I1ca3c2c054e4b598c65c86913f0ddbbc711d7f6c
2024-06-07 12:16:37 -07:00
Treehugger Robot 272731a157 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 9d5049236f -s ours
am skip reason: contains skip directive

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

Change-Id: I1c864141ab0f9506a554c5fb589644bf6286c386
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 17:32:44 +00:00
Bill Yi 6b52c21b2b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8a174558c2 -s ours
am skip reason: contains skip directive

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

Change-Id: I5ee597d7bb245a4afd5bdacbbe4140a8c08b107d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 17:32:41 +00:00
Bill Yi d716dff02a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ecd70fc3c5 -s ours
am skip reason: contains skip directive

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

Change-Id: Ie0aac6bf838363be068455785da26ef9b8dae99b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 17:32:33 +00:00
Mykola Podolian d00bc8a0e7 Merge "Remove scrim view alpha when bubble manage menu is shown." into main 2024-06-07 17:30:57 +00:00
Treehugger Robot d141b3094d Merge "Use animateClose in TaksMenuView even without animation" into main 2024-06-07 17:29:15 +00:00
Treehugger Robot 9d5049236f Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-07 17:15:18 +00:00
Treehugger Robot 0b844a0f5b Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-07 17:04:35 +00:00
Treehugger Robot f925caee4c Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-07 17:04:35 +00:00
Alex Chau 7656f3c604 Merge "Reserve space for system bars in both orientations in fake orientation" into main 2024-06-07 17:03:03 +00:00
Alex Chau 4a70e1c023 Use animateClose in TaksMenuView even without animation
- animateClose uses ObjectAnimator which is able to skip animation automatically

Fix: 332685379
Test: OverviewMenuImageTest
Test: Remove animations in Settings, open and close the menu in handheld
Flag: EXEMPT bugfix
Change-Id: I5bfe835cffc77ff7f835ff3c41bbd64fc7121ed2
2024-06-07 16:59:31 +01:00
Alex Chau f7c9466c8f Reserve space for system bars in both orientations in fake orientation
- In BaseContainerInterface.calculateTaskSize, combine both portrait and landscape/seascape insets to leave space for status bar/nav bar in either orientations.
- Rotate the paddings to portrait before applying
- Don't use getOverviewActionsClaimedSpace() in fake landscape/seascape

Bug: 344727200
Test: We can't currnetly autotest fake orientaiton
Test: With gesture/3-button, rotate Overview to portriat/landscape/seascape/fake-landscape/fake-seascape, launch task and enter overview
Flag: EXEMPT bugfix
Change-Id: Icda0f483781921cae78f1ea3ef003562b60ad75a
2024-06-07 16:28:19 +01:00
Alex Chau 619a290724 Merge "Add test for UserBadgeDrawable alpha handling" into main 2024-06-07 13:29:20 +00:00
Alex Chau 0d934c47e5 Add test for UserBadgeDrawable alpha handling
Fix: 316576459
Test: UserBadgeDrawableTest
Flag: EXEMPT bugfix
Change-Id: I3819855f8cac24176ea734bd6a0ac7bffd17e900
2024-06-07 11:39:21 +01:00
Treehugger Robot 4c0ce55f7c Merge "Fix TaskView.getThumbnailBounds not combining bounds correctly if relativeToDragLayer is true" into main 2024-06-07 10:27:23 +00:00
Alex Chau 3639fe4866 Merge "Handle uiMode changes in QuickstepLauncher" into main 2024-06-07 10:06:48 +00:00
Treehugger Robot dcbd5e40c5 Merge "Use just the preview for drag and drop in the standalone activity" into main 2024-06-07 01:30:34 +00:00
Treehugger Robot 671d4e5384 Merge "Ensure starting position rect isn't empty in FloatingTaskView" into main 2024-06-07 00:28:31 +00:00
Shamali P 277a4f9d78 Use just the preview for drag and drop in the standalone activity
Bug: N/A
Test: Manual
Flag: EXEMPT bugfix
Change-Id: I62c42b649e720826979123ae2ff6c5e238fe59dc
2024-06-07 00:00:31 +00:00
Shamali Patwa fc4ff35e68 Merge "Ensure widgets from WidgetSections.xml are included in suggestions" into main 2024-06-07 00:00:03 +00:00
Treehugger Robot c09cb9e345 Merge "Fix bubble visibility issue when collapsed" into main 2024-06-06 22:42:05 +00:00
Vinit Nayak 410681a955 Ensure starting position rect isn't empty in FloatingTaskView
* on rotation taskbar re-inflates it's hotseat views.
If we're already in split, then FloatingTaskView tries to do calculations
on the view's position in the window, but has a reference to the
old, pre-rotated view which is no longer in any window.
* This sets startingPosition to be an empty rect, which is used to
set LayoutParam values, which are used downstream in update() to calculate
scale, and thus we end up dividing by 0.
* TODO(b/345556328) figure out a better solution than checking for an
empty rect

Fixes: 342606096
Test: Repro steps don't cause crash
Flag: EXEMPT bugfix
Change-Id: Icb546a05d383d1997a92471fc1de3ffc37d06eca
2024-06-06 15:32:33 -07:00
Shamali P d69e21f8fe Ensure widgets from WidgetSections.xml are included in suggestions
Additionally, let only prediction system provide suggestions, since the
UI surface has been there for a while, adding locally filtered widgets
from app package isn't required.

Bug: 345520128
Test: Unit tests
Flag: EXEMPT bugfix
Change-Id: Ia97f0743fefeae750e07a694bb19d24a5cc11ffe
2024-06-06 22:23:35 +00:00
Xin Li f2a232acc5 [automerger skipped] Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future am: 667b7f5d7a -s ours
am skip reason: Merged-In I26f0ed9e921beac762f3f9e6aaceb1002ad4801a with SHA-1 176f186a6d is already in history

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

Change-Id: I080f1f7276845dc5b8442639883c3a400bf3c243
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 21:36:04 +00:00
Bill Yi 8a174558c2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I15ce34d1823617c0912bfdae1feb6185483db2f1
2024-06-06 14:21:58 -07:00
Bill Yi 1bd0ffcbea Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If11da63842a10196a76325d4d45cbfc626a26108
2024-06-06 14:21:29 -07:00
Bill Yi ecd70fc3c5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4a743d129b6d2801fa660224e8e881068e267346
2024-06-06 14:20:32 -07:00
Bill Yi 9f27418e26 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia31223d4855e3e922380932ee02414638c589526
2024-06-06 14:20:04 -07:00
Liran Binyamin 87e579ea2d Fix bubble visibility issue when collapsed
When the bubble bar collapses, explicitly set the alpha to 1
for bubbles that should not be hidden.

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 345283193
Test: manual
       - create 3 bubbles in the bar
       - tap to expand
       - select the last bubble
       - tap it again to collapse
       - observe it is visible
Change-Id: I1aed310b66433b88b08ccaf760fc8e82923b1b64
2024-06-06 16:35:22 -04:00
Himanshu Gupta 91988caf99 Merge "Re-enabling a failing Tapl test for Private Space." into main 2024-06-06 17:08:41 +00:00
Shamali Patwa 50fa2e404f Fix the flaky screenshot test
The flake happened to be due to rebinding triggered on attachToWindow that reset the icon cache with placeholder icon

Based on what I see, instead of calling refresh and bind, just triggerring onWidgetsBound should be okay - assuming it was trying to bind view for case when theme or display size was changed while picker was open.

Bug: 337916664
Change-Id: Ic6f3ff9188e4c5eda141a948ffa0c2c7c685162e
Test: Screenshot test
Flag: EXEMPT bugfix for test
2024-06-06 14:07:03 +00:00
Winson Chung 533893e898 Merge "Always report mandatory insets for button nav" into main 2024-06-06 04:28:38 +00:00
Winson Chung 762b3b4685 Always report mandatory insets for button nav
Fixes: 340134342
Fixes: 343817842
Test: atest android.systemui.cts.WindowInsetsBehaviorTests
Test: Verify mandatory insets vs window bounds in various
      orientations when folded/unfolded
Change-Id: I18d4f5d212d16c62d15d84b4842b3d20c0d8c5ae
2024-06-06 04:26:48 +00:00
Hongwei Wang 7584e28833 Merge "Crop the center when no source rect hint" into main 2024-06-06 00:15:05 +00:00
mpodolian 4d8ad445c0 Remove scrim view alpha when bubble manage menu is shown.
Updated logic for taskbar scrim view alpha calculation, setting it to 0
when bubble manage menu is shown.

Fixes: 337169457
Flag: NONE
Test: Visual.
For gesture navigation:
1) On foldable phone while device is being folded expand any
bubble, click mange button, then unfold. Observe no scrim view is
visible.
2) Enable persistent taskbar, pull down the notification shade then
swipe it back up while bubbles are open.
3) Enable persistent taskbar, pull down the notification shade then
swipe it back up while bubbles and mange menu is open.
4) Enable persistent taskbar. Fold device. Open bubble and click manage
button. Unfold device. Observe no scrim view is visible.

For 3 button navigation
1) Unfold the device, press the home key, pull down the notification
shade then swipe it back up while bubbles are open.
2) Unfold the device, press the home key, pull down the notification
shade then swipe it back up while bubbles and mange menu is open.
3) Fold device, open bubble and click manage button. Unfold device.
Observe no scrim view is visible.

Change-Id: Ic011ae9bd11801a479062cc51c60377823a926fb
2024-06-06 00:32:08 +01:00
Xiaowen Lei 5eae66429e Merge "Don't add padding for Smartspace (actual and preview)." into main 2024-06-05 22:56:07 +00:00
Saumya Prakash d226042cb5 Merge "Update AllSetActivity animations for certain device types" into main 2024-06-05 21:26:33 +00:00
Treehugger Robot 4dc0025ebe Merge "Push a potential fix for hotseat aggregation" into main 2024-06-05 20:39:11 +00:00
Ats Jenk 765cc415a3 Merge changes from topic "bubblebar-a11y" into main
* changes:
  Move bubble bar strings
  Add content description to bubble bar and bubbles
2024-06-05 19:04:22 +00:00
Sihua Ma a44f4ac861 Push a potential fix for hotseat aggregation
This could be caused by landscape layout not receiving inset changes

Adding logs for hotseat layout info as well

Bug: 335141365
Flag: EXEMPT bugfix
Test: N/A
Change-Id: I987f8622907a10fac5375ddddac3db2c5eba41c1
2024-06-05 18:58:23 +00:00