Commit Graph

78507 Commits

Author SHA1 Message Date
Treehugger Robot c912c8fb8b Merge "Improving regex for detecting a local platform build" into main 2024-09-11 19:48:47 +00:00
Mady Mellor f12caec1d0 Merge "Fix the overflow not being added sometimes" into main 2024-09-11 19:21:53 +00:00
Bill Yi 2de9e6b125 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I138cb1c3216831f911834b0b9d969b0787f87a21
2024-09-11 12:10:38 -07:00
Bill Yi 4413d38d51 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1a7f247044692b91fe94ff74305c7e48f1873ae5
2024-09-11 12:09:53 -07:00
Treehugger Robot e698c7237a Merge "Disallow long click on taskbar icons while animating home." into main 2024-09-11 19:08:24 +00:00
Bill Yi f5e39634c2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iece2882f4aca3a83feb153b764d05f1e5f5235c9
2024-09-11 11:51:45 -07:00
Bill Yi f9c2203273 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8dc4f5eb9cd2d9880fa0ddb0b6e22a296d43cd5d
2024-09-11 11:51:01 -07:00
Toni Barzic 667fe050ff Make widget sheet layout container not focusable
SpringRelativeLayout views in widgets sheets UI are non-actionable
containers, and as such they would ideally not receive focus. They were
made focusable as a workaround for an issue where back action was no-op
when widget search text box was focused, and there were no other
focusable elements in the UI b/197129170.
WidgetSearchBarController handles back action by clearing
focus, which ends up refocusing the search text box. This CL, removes
this back action override, and let's back action through - it will end
up being handled by `WidgetsFullSheet.onBackInvoked` which resets the
search.

Bug: 365120544
Test: Manual - verified back action with widget search active (and in
      case with no results) in emulator
Flag: EXEMPT bugfix

Change-Id: I1fed37372521947b7d4644047807dc451b0119a4
2024-09-11 18:50:56 +00:00
Vadim Tryshev 460192588f Improving regex for detecting a local platform build
Platform build can now have versions line "eng.himans"

Bug: 187761685
Test: online regex verifier
Flag: NONE test change
Change-Id: I86b9324dfbbc36272215eae58af836e9a3741d70
2024-09-11 10:39:31 -07:00
Treehugger Robot 7c9d8f9451 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-11 17:32:13 +00:00
Mady Mellor bd446142ae Fix the overflow not being added sometimes
The runnable to add the overflow was only being run when the view
was animated (i.e. while expanded); not when it was collapsed.

Flag: com.android.wm.shell.enable_bubble_bar
Bug: 358304168
Test: manual - add more than 5 bubbles while collapsed
Change-Id: Ibdea61eaf8ecb1d2e3f9ea4fced679b2826d3f9b
2024-09-11 10:24:31 -07:00
Schneider Victor-Tulias 2b46c945a7 Move DesktopVisibilityController to TouchInteractionService
Moved DesktopVisibilityController to TIS for 3P launcher support.

Flag: EXEMPT bug fix
Fixes: 338063030
Fixes: 357859025
Test: Launched overview and resumed desktop task from desktop mode on 1P and 3P launchers
Change-Id: I64e99a32ed13bcb6e4a81a18c29df2643373dc35
2024-09-11 09:56:35 -07:00
vinayjoglekar 941a9e4f98 Add keyboard navigation for all large tiles
Currently large tiles are excluded from adding into collection which is used for keyboard navigation. This cl adds them if desktop windowing tile is enabled.

Test: TaskGridNavHelperTest
BUG: 361070854
Flag: com.android.launcher3.enable_large_desktop_windowing_tile
Change-Id: I63fbb6867c34bbd80df926d750a7a392860b70a0
2024-09-11 16:02:18 +01:00
Bill Yi adf8f378f3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibd88f5661e8ac07299137750c72a3669bd2a8dc2
2024-09-10 18:14:46 -07:00
Treehugger Robot 746d3e58fe Merge "Do not delay taskbar background animation when closing taskbar all apps." into main 2024-09-10 23:47:32 +00:00
Winson Chung 715b90fdb5 Merge "7/ Remove legacy recents animation controller no-op calls" into main 2024-09-10 21:49:59 +00:00
Treehugger Robot d41fe34ed1 Merge "Removing obsolete flags" into main 2024-09-10 21:29:09 +00:00
Sunny Goyal 65342edc89 Removing obsolete flags
Flag: EXEMPT legacy ENABLE_PARAMETRIZE_REORDER, KEYGUARD_ANIMATION, ENABLE_SCRIM_FOR_APP_LAUNCH
Bug: 289420844
Bug: 270390904
Bug: 270393276
Test: Verified manually
Change-Id: I0eb166168100419fdf4d264f7ccddeeba86524b7
2024-09-10 21:24:47 +00:00
Schneider Victor-Tulias 5945b311e2 Remove unecessary uses of LauncherActivityInterface.INSTANCE
Using LauncherActivityInterface.INSTANCE directly causes easy-to-miss issues with 3P launcher support. Removing all unecessary uses.

Flag: EXEMPT code cleanup
Fixes: 365827636
Test: ran launcher on 1P and 3P launcher
Change-Id: Ief227a682db3dd8ad378273b76936b29ef51d017
2024-09-10 13:52:13 -07:00
Sunny Goyal cb98fb26b8 Adding open/close animartion when launching app-info target
Bug: 356914468
Test: Verified manually
Flag: EXEMPT bugfix
Change-Id: I3a4e48363728153a96c75466824fb03de44c0ad9
2024-09-10 13:35:46 -07:00
Treehugger Robot 491e82df86 Merge "Improve the visibility of allapps item on talkback focus" into main 2024-09-10 20:32:39 +00:00
Jon Miranda ff72d154d7 Do not delay taskbar background animation when closing taskbar all apps.
Fixes: 362379633
Flag: EXEMPT bugfix
Test: open app, unstash transient taskbar, open Taskbar All Apps, close it
Change-Id: I0819ae12bd599be051cb0da4091ab02d0759984c
2024-09-10 12:13:39 -07:00
Jon Miranda 11a8ed8a53 Disallow long click on taskbar icons while animating home.
Fixes: 360778703
Test: swipe up to home, long click on taskbar icon before it settles
Flag: EXEMPT bugfix
Change-Id: I3c46b43b6b9c44b91c2516c9db453d3fa3692b00
2024-09-10 11:17:46 -07:00
Ats Jenk d72a0400eb Merge changes I485f6346,I24b0c646 into main
* changes:
  Animate alpha for bubbles and background (3/n)
  Use a reveal animator for bubble icons (2/n)
2024-09-10 18:03:00 +00:00
Liran Binyamin 3a2a7685b0 Initial screenshot tests for bubble bar view
Flag: com.android.wm.shell.enable_bubble_bar
Bug: 355454021
Test: atest BubbleBarViewScreenshotTests
Change-Id: Id74c78d99a8b4528bb473c5a751edb19bda34007
2024-09-10 13:59:01 -04:00
Liam Lee Pong Lam f9efc54493 Improve the visibility of allapps item on talkback focus
result: https://photos.app.goo.gl/TqTDboxa2WFfZUoz8

Flag: com.android.launcher3.accessibility_scroll_on_allapps
Bug: 265392261
Test: Manual

Change-Id: If1cce3d0bd501361837dafb24cbe2fde7bac0ac0
2024-09-10 17:40:14 +00:00
Fengjiang Li 97db09dbd8 Merge "[-1] Show toast when user trys to swipe to -1 on extreme battery saver mode" into main 2024-09-10 16:41:21 +00:00
Jagrut Desai 3405c0425a Merge "Fix Taskbar Container not being aligned center in 3 button nav mode" into main 2024-09-10 16:28:23 +00:00
Treehugger Robot a926663c46 Merge "Removing obsolete flags" into main 2024-09-10 09:25:51 +00:00
Sunny Goyal b60b5bd594 Merge "Adding more properties in LaunchCookie, instead of just itemId This allows better matching of items who do not have a fixed id" into main 2024-09-10 07:33:41 +00:00
Winson Chung 2705ef3153 7/ Remove legacy recents animation controller no-op calls
- Update the callers to not call no-op calls which were only used
  in the non-shell transition recents path (onSwitchToScreenshot was
  never called following the migration to shell-transition based
  recents transition)

Flag: EXEMPT bugfix
Bug: 359608026
Test: atest NexusLauncherTests
Change-Id: I396b3ec42a86fbeef1d8854b3ed98be14d47e2b3
2024-09-10 04:05:18 +00:00
Tracy Zhou 275dc640c6 Merge "Pipe appTransition signal to taskbar to pause region sampling when it's ongoing" into main 2024-09-10 03:36:41 +00:00
Fengjiang Li a7e357e339 [-1] Show toast when user trys to swipe to -1 on extreme battery saver mode
Fix: 355485335
Flag: com.android.launcher3.use_activity_overlay
Test: manual - record a video
Change-Id: I79a3ece2fb2c0d1eddac0e4f91274ffe222e317f
2024-09-09 19:06:17 -07:00
Ats Jenk 4ea856ee2d Merge "Align bubble bar stash anim with taskbar (1/n)" into main 2024-09-10 00:45:36 +00:00
Jagrut Desai a4f7e4577a Fix Taskbar Container not being aligned center in 3 button nav mode
We were applying padding to taskbar container in 3 button navigation mode which we don't need as icon size are already correct.

Test: Manual, Presubmit
Bug: 364492586
Flag: EXEMPT bugfix
Change-Id: Ib9bf55edf2b7bb67fcbeb044e0ad1e90027b17a6
2024-09-09 17:29:03 -07:00
Treehugger Robot 8ffec48bf7 Merge "WidgetPicker - enable enterprise string cache in standalone activity." into main 2024-09-10 00:10:01 +00:00
Sunny Goyal f2e2532e62 Merge "Remove obsolete features" into main 2024-09-09 22:43:14 +00:00
Ats Jenk 332828b340 Animate alpha for bubbles and background (3/n)
Use separate timings for bubble icons and bubble bar background when
stashing and unstashing.
Follows alpha timings applied to taskbar background and icons.

Bug: 345488489
Test: TransientBubbleStashControllerTest
Test: stash and unstash bubble bar in app by swiping up from taskbar
Test: expand and collapse bubble bar in app by swiping up on bar
Test: expand and collapse bubble bar on home screen by tapping on it
Flag: com.android.wm.shell.enable_bubble_bar
Change-Id: I485f6346539cb6c8ea6dd4d15f25a6421021fec1
2024-09-09 15:23:51 -07:00
Ats Jenk 9ca662a7f7 Use a reveal animator for bubble icons (2/n)
Use a similar animation for bubble bar icons as we use for taskbar. When
stashing or unstashing, use a reveal animator to show the icons.
Previously we were scaling the icons to the desired size.
New reveal animator matches what is used for taskbar.

Bug: 345488489
Test: TransientBubbleStashControllerTest
Test: stash and unstash bubble bar in app by swiping up from taskbar
Test: expand and collapse bubble bar in app by swiping up on bar
Test: expand and collapse bubble bar on home screen by tapping on it

Flag: com.android.wm.shell.enable_bubble_bar
Change-Id: I24b0c64673d6becfa2ed68993bb95fe78e105670
2024-09-09 15:23:51 -07:00
Ats Jenk 9eadd68e01 Align bubble bar stash anim with taskbar (1/n)
Only scale bubble bar background during stash and unstash animation.
Follows the logic used for taskbar. We scale only the background and
clip the icons separately.

Bug: 345488489
Test: PersistentBubbleStashControllerTest
Test: TransientBubbleStashControllerTest
Test: BubbleBarViewAnimatorTest
Test: stash and unstash bubble bar in app by swiping up from taskbar
Test: expand and collapse bubble bar in app by swiping up on bar
Test: expand and collapse bubble bar on home screen by tapping on it

Flag: com.android.wm.shell.enable_bubble_bar
Change-Id: Ifc7922c444f2179fc49643424815e5e7dde519cc
2024-09-09 15:23:48 -07:00
Sunny Goyal f158286c34 Adding more properties in LaunchCookie, instead of just itemId
This allows better matching of items who do not have a fixed id

Bug: 364363493
Flag: EXEMPT bug fix
Test: Manual- Verified app launch and back animation
Change-Id: I4f9deba89399b89974686b64226b99f91a3d46be
2024-09-09 12:11:36 -07:00
Treehugger Robot 05084e2ef3 Merge "Introduce RecentsView.getTaskViews for easy for-each looping" into main 2024-09-09 17:44:57 +00:00
Mykola Podolian 5feb4a969a Merge "Fix falling tapl tests" into main 2024-09-09 17:19:12 +00:00
Alex Chau a7c90bbcd1 Introduce RecentsView.getTaskViews for easy for-each looping
- This vastly simplified the need to call do a indexed loop with getTaskViewCount() and calls requireTaskViewAt() each time, useful for code that needs to loop all TaskViews
- removeTasksViewsAndClearAllButton and resetTaskVisuals have no reason to loop reversed, so I just loop them in order

Fix: 365534984
Test: presubmit, manual
Flag: EXEMPT REFACTOR
Change-Id: Ib69f8439f3a7509fc57ec2430affa207c038bf46
2024-09-09 16:39:58 +01:00
Nick Chameyev 02cc26f055 Merge "Capture Launcher icon positions by reusing UiObject2" into main 2024-09-09 10:43:10 +00:00
Tracy Zhou 7b30d2d102 Pipe appTransition signal to taskbar to pause region sampling when it's ongoing
Bug: 361593564
Test: https://android-build.corp.google.com/builds/abtd/run/L78300030006280283
Flag: EXEMPT bugfix
Change-Id: Ib874e2b44c1cc59280da1250fd35f01572c39221
2024-09-08 21:50:18 -07:00
Tracy Zhou acea86234a Cancel the stash animation if the stash controller is destroyed before then
The TASKBAR_COLLAPSE CUJ is logged when folding the phone before it can't tell if it's folding or going to lockscreen unfolded before taskbar recreation flow kicks in. The animation never gets cancelled, reporting a CUJ that messes up the metrics

Bug: 362713428
Test: manual
Flag: EXEMPT bugfix
Change-Id: I132ad28da982e08edba1909bf9e747a43dc11a84
2024-09-07 11:19:24 -07:00
mpodolian 39383dd5b3 Fix falling tapl tests
Fix the root cause of falling tests.

Bug: 359277238
Flag: TEST_ONLY
Test: TaplTestsQuickstep,TaplTestPersistentTaskbar
Change-Id: I1e3138e26d0ab253dff7a64cbb3253c220a7db1a
2024-09-07 09:13:53 -07:00
Xin Li a0e8f546f4 [automerger skipped] Merge "Merge 24Q3 to AOSP main" into main am: 3b0deb9ab7 -s ours am: bf5332b378 -s ours
am skip reason: Merged-In I8474e73e2714ee72633075aeb8de710f19f813fa with SHA-1 9d3826700d is already in history

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

Change-Id: I6237a3a466487b9cdf914d3f5965ccaabfa8c8ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:27:55 +00:00
Xin Li ce61727aa1 [automerger skipped] Merge 24Q3 to AOSP main am: add25e2b81 -s ours am: b028f58a39 -s ours
am skip reason: Merged-In I8474e73e2714ee72633075aeb8de710f19f813fa with SHA-1 9d3826700d is already in history

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

Change-Id: I7ccdbe7cc265e9a60b8ead50134d51a2b1a335b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:27:52 +00:00