Commit Graph

76947 Commits

Author SHA1 Message Date
Cosmin Băieș
33f8bfbadf Add IME switch button long click support
This adds support for handling long clicking on the IME switch button.
Initially it will behave exactly like short clicking, i.e. show the IME
switcher menu.

Flag: android.view.inputmethod.ime_switcher_revamp
Test: atest
  TaskbarNavButtonControllerTest#testPressImeSwitcher
  TaskbarNavButtonControllerTest#testLongPressImeSwitcher
Bug: 311791923
Change-Id: Ibd0d6bce2bab11511bc082f46731ec86038c8cf8
2024-07-11 11:42:16 +02:00
Treehugger Robot
d529345e0e Merge "[Launcher Jank] Add TODO for LauncherPreviewRenderer to set bg handler on smartspace BaseTemplateCard" into main 2024-07-11 08:51:29 +00:00
Johannes Gallmann
1cbfe6eb57 Merge "Use default cross-activity animation in Launcher Home Settings" into main 2024-07-11 07:02:49 +00:00
Mykola Podolian
103191c589 Merge "Shadow for bubble icons fixed." into main 2024-07-10 19:38:23 +00:00
Sebastián Franco
6e43c6aadf Merge "Moving ReorderWidgetsTest to an integration test instead of E2E" into main 2024-07-10 18:28:08 +00:00
Federico Baron
f30a5a3ca1 Merge "Revert "Add screenrecord/demote TwoPanelWokrspaceTest"" into main 2024-07-10 18:16:50 +00:00
Alex Chau
33da74f8c2 Merge "focusTransitionScaleAndDimOut should always go from 1f to 0f" into main 2024-07-10 16:41:03 +00:00
Federico Baron
89414e403c Revert "Add screenrecord/demote TwoPanelWokrspaceTest"
This reverts commit 09ac97fa39.

Reason for revert: fixed issue

Change-Id: I269fbcedc161ff340eaa17d6a37c18cba7ce0848
2024-07-10 16:40:05 +00:00
mpodolian
a3921ddb67 Shadow for bubble icons fixed.
The bubble's outline was hardcoded with a fixed size. This caused a
shadow to be drawn using the hardcoded outline size, regardless of the
actual bubble view size. The BubbleView logic has been updated to use
the actual bubble size for the outline. The guarding flag has been
removed.

Bug: 340445019
Flag: com.android.wm.shell.enable_bubble_bar
Test: http://recall/-/gx8ASgewUeUS3QYohfrd1J/hqFtAZJnX0tCRONoFpSK3i
Change-Id: Iaa2c2d0bfeee2af9840acbcf11daaf8be2e0b7af
2024-07-10 16:36:22 +00:00
Liran Binyamin
e29e31922f Merge "Fix squished hotseat due to bubbles" into main 2024-07-10 16:10:41 +00:00
Liran Binyamin
4cebffa209 Merge "Fix missing bubble update dot" into main 2024-07-10 14:23:16 +00:00
Liran Binyamin
c79119e911 Merge "Fix bubble update animation" into main 2024-07-10 14:23:04 +00:00
Alex Chau
c378e64b75 focusTransitionScaleAndDimOut should always go from 1f to 0f
- Also updated AnimatedFloat to accept a Consumer<Float>, so a lambda can be used as updateCallback with refernce to udpated value
- Also updated PendingAnimation to accept Animator with TimedInterpolator without specifying SpringProperty

Fix: 352195519
Test: manual
Flag: EXEMPT bugfix
Change-Id: Ifb78c1bcd3ca215a5d214f986a107d0988bff13b
2024-07-10 13:40:22 +01:00
Alex Chau
0ac34a3388 Add use case for split animation to retrieve thumbnail
Fix: 349120849
Test: TaskSplitAnimationHelperTest
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Change-Id: I7d4bcbdbeacd56356c71eb18c73ceef8446011d1
2024-07-10 09:37:33 +00:00
Sebastian Franco
224f67a046 Moving ReorderWidgetsTest to an integration test instead of E2E
Flag: TEST_ONLY
Test: IntegrationReorderWidgetsTest
Bug: 324261526
Fix: 343761044

Change-Id: I9bfe8b587e1024260ddeeb48157c3d204f2d58f2
2024-07-10 04:20:41 +00:00
Kevin Lim
b89cd5e91a Merge "[AllAppsStore] Dump class name in addition to package name for debugging" into main 2024-07-10 00:02:12 +00:00
Liana Kazanova
5de87a8908 Merge "Revert "Add CUJ instrumentation for KQS"" into main 2024-07-09 22:10:40 +00:00
Treehugger Robot
87ba51b611 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-07-09 22:10:14 +00:00
Treehugger Robot
80831d9adc Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-07-09 22:10:14 +00:00
Treehugger Robot
8bfaf55814 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-07-09 22:10:14 +00:00
Priyanka Advani
0947d9f618 Revert "Add CUJ instrumentation for KQS"
Revert submission 28049476-kqs-cuj-instrumentation

Reason for revert: Droidmonitor created revert due to b/352144322. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:28049476-kqs-cuj-instrumentation

Change-Id: I8bfe7bfe4ce1bd816f138dbd4d5915f837ab97a0
2024-07-09 22:04:38 +00:00
Liran Binyamin
e3eaacdcb2 Fix missing bubble update dot
Don't update the dot scale if the bubble bar is not collapsing or
expanding.

Flag: com.android.wm.shell.enable_bubble_bar
Bug: 351904597
Test: manual
       - Create 2 bubbles in the bubble bar
       - Select both bubbles to clear the dot
       - Launch an app to stash the bar
       - Send updates to both bubbles
       - Observe dot appears during each animation
       - Swipe up on the bubble bar
       - Observe dot disappears for the selected bubble but remains
         for the unselected bubble
Change-Id: I2cb6dd7ded261686ae73e497bd5d4841ebde35ef
2024-07-09 17:58:41 -04:00
Brandon Dayauon
197fbabf2c Merge "Make close button to use google symbol library icon and update close color button" into main 2024-07-09 21:53:49 +00:00
Treehugger Robot
c16efda876 Merge "Re-promote fixed test openPrivateSpaceSettings_triggersCorrectIntent to presubmit" into main 2024-07-09 21:53:16 +00:00
Liran Binyamin
e1d5ce2fda Merge "Dump some bubble data to dumpsys" into main 2024-07-09 21:41:46 +00:00
Liran Binyamin
fef9d249bd Fix bubble update animation
Fix bubble update animation when the updated bubble is the only
bubble in the bar.

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 352119655
Test: Manual:
       - Create 1 bubble in the bubble bar
       - Send an update for that bubble
       - Observe bubble bar is animated correctly
Change-Id: If569810dacf0ef77147a822c53ddebd09e35fe15
2024-07-09 16:47:36 -04:00
Fengjiang Li
6944c9e63f [Launcher Jank] Add TODO for LauncherPreviewRenderer to set bg handler on smartspace BaseTemplateCard
Fix: 347775522
Flag: NONE - performance change
Test: manual
Change-Id: I19ba67e1eabfe02c45909d85d723bc28a78ae6df
2024-07-09 13:38:32 -07:00
Treehugger Robot
25d19bdb85 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 34d12a2d6d -s ours
am skip reason: contains skip directive

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

Change-Id: If7768daa9d9728534774d8b25bcb70e612ee1be7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-09 20:09:09 +00:00
Bill Yi
c639d8398e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 59d8954a6c -s ours
am skip reason: contains skip directive

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

Change-Id: I873dd57cb5a6fa535794db5960325bdcbf136263
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-09 20:09:06 +00:00
Treehugger Robot
582dc5e96e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 995791cde7 -s ours
am skip reason: contains skip directive

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

Change-Id: Id4f4548c12e8ecf39c9b18e5b32ea02cc166601c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-09 20:09:02 +00:00
Bill Yi
c4055d2f26 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 16a7df47d3 -s ours
am skip reason: contains skip directive

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

Change-Id: I9d6468b1f4f8b603eaa1e8673e832b8167aeb282
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-09 20:08:58 +00:00
Bill Yi
701bf344b6 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b4896bfd76 -s ours
am skip reason: contains skip directive

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

Change-Id: I93a5d6e4707ec43cfa3ba71bc9cbffbf084a9f7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-09 20:08:47 +00:00
Treehugger Robot
580fc6d747 Merge "Show full page view if categorized view is low density in large screen" into main 2024-07-09 20:05:04 +00:00
Liran Binyamin
a7a5617466 Merge "Fix bubble translation x when bar is collapsed" into main 2024-07-09 19:54:05 +00:00
Brandon Dayauon
1a18fb83b3 Merge "Adding logs to baseAllAppsAdapter to investigate private space icon alpha issue." into main 2024-07-09 19:52:44 +00:00
Treehugger Robot
34d12a2d6d Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-07-09 19:50:29 +00:00
Treehugger Robot
995791cde7 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-07-09 19:50:29 +00:00
Federico Baron
07acdf105c Merge "Increase spring loaded hover time for tests since we switch pages too quickly leading to flakiness" into main 2024-07-09 19:39:57 +00:00
Treehugger Robot
6f7be465c0 Merge "Taskbar running apps: show one icon per task + tap opens that task" into main 2024-07-09 19:01:02 +00:00
Shamali P
81fc278760 Show full page view if categorized view is low density in large screen
UX prefers full page view over low density categorized view in tablets.

Bug: 347288847
Test: Screenshot (see the tablet screenshots vs foldable)
Flag: EXEMPT BUGFIX
Change-Id: I6c8ad36dc6169c65aea4e655af0542958e555669
2024-07-09 18:27:21 +00:00
Winson Chung
b5522f0564 Merge "Workaround for crash with null icon drawable" into main 2024-07-09 17:42:28 +00:00
Liran Binyamin
0f08377436 Fix bubble translation x when bar is collapsed
Previously the translation x value for bubbles when the bar is
collapsed and on the right was 0 for the first bubble and some
fixed value for the rest of the bubbles. But if only 1 bubble
is visible when the bar is collapsed, as in the case when there
is only 1 bubble and the overflow, this ends up pushing the
overflow too far to the right.

This change updates the translation x value for bubbles when the
bar is collapsed and on the right, so that if only 1 bubble is
visible when collapsed, all bubbles have tx 0, otherwise if 2
bubbles are visible, the first has tx 0 and the rest have the same
tx value.

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 350962159
Test: manual
       - Add 1 bubble to the bubble bar
       - Make sure bubble bar is on the right
       - Expand and collapse the bar
       - Observe the overflow tx value is correct during the animation
Change-Id: I8401d70fa6f374ace58d9cdbe3302e39e7aedc70
2024-07-09 13:10:12 -04:00
Federico Baron
44faf4cc9e Merge "Add screenrecord to TaplThemeIconsTest#testShortcutIconWithTheme" into main 2024-07-09 17:09:46 +00:00
Schneider Victor-tulias
d0811445d4 Merge "Add CUJ instrumentation for KQS" into main 2024-07-09 17:07:42 +00:00
fbaron
c275f53fbc Increase spring loaded hover time for tests since we switch pages too quickly leading to flakiness
Bug: 344982276
Test: TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible
Flag: TEST_ONLY
Change-Id: I2d187e37ee33f25b9b672beb3efb91300d96cab3
2024-07-09 09:48:56 -07:00
Federico Baron
501e4ab75a Merge "Revert "Fix attempt for TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible"" into main 2024-07-09 16:47:18 +00:00
Brandon Dayauon
6073fa296c Make close button to use google symbol library icon and update close color button
spec: https://docs.google.com/presentation/d/1tTODboxGqJ3ypEyYnr0-bUpSXcvX1cl6Sj8y0Nut5hU/edit?resourcekey=0-9GT8EJG43kTT4aKPWVWRig#slide=id.g2df5f2c9773_4_0
CloseButtonColor to be scLOW
CloseIconColor to be onSurface

bug: 342246204
Test: manually photos:
beforeLT: https://drive.google.com/file/d/14O61WzHmeAhOdGirUci2u9vot3FWcSKo/view?usp=sharing
beforeDT: https://drive.google.com/file/d/1Dt75_sRIWNHMuwqnYzE1WvjRTZFHWJ8-/view?usp=sharing
afterLT: https://drive.google.com/file/d/1npg-icWcsEN5OCgMtP1oU7mB-gGuT6_n/view?usp=sharing
afterDT: https://drive.google.com/file/d/11LTC_61QTg4tX0SUO23cAbLaP7aoSnh-/view?usp=sharing
Flag: NONE Color change
Change-Id: I0c47c927c5c8094a018e6f18061e99fc4bd901de
2024-07-09 09:39:03 -07:00
Gustav Sennton
f3108c59ed Taskbar running apps: show one icon per task + tap opens that task
Before this CL we would show only one Taskbar icon per app, making it
impossible (through the taskbar) to switch between several windows of
the same app.
With this CL we add one icon per task instead, making it possible to
bring each task to the front individually.

Flag: com.android.window.flags.enable_desktop_windowing_taskbar_running_apps
Bug: 351118893
Bug: 349790805
Bug: 351156858
Test: Started several Chrome windows -> taskbar has one icon per window

Change-Id: Ia692977effceb9ce339906bf6ca24d73e19d8769
2024-07-09 14:48:04 +00:00
Schneider Victor-tulias
c957e68e17 Merge "Add fallback handling for gesture nav mode switch and launcher destroyed mid-gesture" into main 2024-07-09 14:37:02 +00:00
Liran Binyamin
fad57132d3 Dump some bubble data to dumpsys
Flag: NONE added dump logs
Bug: 350753857
Test: manual
       - adb shell dumpsys activity service com.android.quickstep
Change-Id: I19d328f99e5ba887aa508ea9ab16e9778f13698b
2024-07-09 10:34:19 -04:00