Commit Graph

18517 Commits

Author SHA1 Message Date
Fengjiang Li dd7471f3bf Merge "[Launcher Jank] Improve SimpleBroadcastReceiver.java" into main 2024-07-11 20:22:22 +00:00
Fengjiang Li b87ad6f945 [Launcher Jank] Improve SimpleBroadcastReceiver.java
Bug: 348649441
Flag: NONE - jank fix
Test: manual - presubmit
Change-Id: I17bd7e4d7f0640522476e94edae691f983835f62
2024-07-11 11:12:29 -07:00
Treehugger Robot 9ef16e5cd3 Merge "Fix NPE of BaseContainerInterface#calculateTaskSizeInternal" into main 2024-07-11 16:30:31 +00: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
Fengjiang Li eef1599c06 Fix NPE of BaseContainerInterface#calculateTaskSizeInternal
Fix: 351861547
Flag: NONE - Bug fix
Test: Presubmit
Change-Id: I984748a6c5487a946a96aa3e2183b5d13a370b6d
2024-07-10 14:43:15 -07: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
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
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
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 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
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
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
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
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
Shamali Patwa a84049f4fe Merge "Update the title and description provided by intent params." into main 2024-07-09 02:01:40 +00:00
Brandon Dayauon 4dd2907022 Adding logs to baseAllAppsAdapter to investigate private space icon alpha issue.
bug: 349766550
Test: N/A
Flag: com.android.launcher3.enable_private_space
Change-Id: I7ac8b538adc6cf8ad8ca801b703fd88d6287f18f
2024-07-08 12:28:11 -07:00
Treehugger Robot f49f87decf Merge "Scale AppPair background on hover." into main 2024-07-04 01:30:10 +00:00
Sebastián Franco 7c7794e020 Merge "Update back gesture zone any time the screen size changes." into main 2024-07-03 23:22:59 +00:00
Sebastian Franco 00ed8ccde7 Update back gesture zone any time the screen size changes.
Fix: 336697780
Test: Manual testing, open widget picker on folded front screen and then unfold, the widget picker should be showing and the backgesture should work.
Flag: EXEMPT bugfix
Change-Id: Ie4a7bffbd9b24ba26826f825a7c66216f565952f
2024-07-03 13:54:39 -07:00
Kevin Lim aed2aa04ba [AllAppsStore] Dump class name in addition to package name for debugging
Bug: 333889822
Flag: EXEMPT Logging fix
Test: EXEMPT Logging fix
Change-Id: I9e1515c04bdc8381f96341e7211968fcc53f97cc
2024-07-03 18:03:30 +00:00
Shamali P 96ebf67b9f Update the title and description provided by intent params.
Bug: 347288851
Flag: EXEMPT flagged in sys ui
Test: Manual (automated covered in b/339716822)
Change-Id: I71f21bc48fd03dbbe2b3804b7fcade5940606917
2024-07-03 15:49:32 +00:00
Shamali Patwa 10923a2985 Merge "Fix issue that ACTION_CLICK a11y action was removed from widget cell" into main 2024-07-03 13:45:05 +00:00
Pat Manning 19d5bc7a48 Scale AppPair background on hover.
Fix: 342133586
Test: manual.
Flag: EXEMPT bugfix
Change-Id: I2846b5543076688a90e8b9067f848c59e4081ea2
2024-07-03 11:31:11 +01:00
Federico Baron 025c8a0cc0 Merge "Add test for Folder undoing behavior" into main 2024-07-02 23:57:21 +00:00
fbaron df62b6ffd7 Add test for Folder undoing behavior
Fix: 341799410
Test: FolderTest#undoFolder
Flag: TEST_ONLY
Change-Id: I8bfb3fc9348290274b33f4b5b6531126c658037c
2024-07-02 15:02:09 -07:00
Shamali P 3f571468db Fix issue that ACTION_CLICK a11y action was removed from widget cell
In the past, tap didn't do anything, but now that we reveal add button
it should be kept.

Bug: 335029809
Flag: EXEMPT BUGFIX
Test: With switch access (see video)
Change-Id: I2ca9086f0dd4b0c9ac8167ab32aa278d4e2d1211
2024-07-02 20:33:43 +00:00
Brandon Dayauon d93b76b7ce Merge "Adding logs to Privateprofile animation." into main 2024-06-28 16:29:00 +00:00
Brandon Dayauon 46c542e5b7 Adding logs to Privateprofile animation.
Provide logs at the end state to see if alpha/visibility is showing or not to indicate any reasons the issue may happen
because of the animation.

bug: 341053089
Test: N/A
Flag: com.android.launcher3.enable_private_space
Change-Id: Ib94bc955e2d061d1799040ac6180d150b24118fe
2024-06-27 20:24:27 -07:00
Federico Baron 447a4a7efb Merge "Fix folder clipping bug" into main 2024-06-27 23:42:38 +00:00
fbaron c5c0974f0d Fix folder clipping bug
Fix: 341433475
Test: N/A
Flag: NONE bugfix
Change-Id: Id99eca043c4e70127cb93b0abe88aef007afc70d
2024-06-27 13:51:41 -07:00
Willie Koomson 3cf229f7e3 Merge "Clean up code related to the old widget preview toast" into main 2024-06-27 00:47:30 +00:00
Willie Koomson ab3f44bc19 Clean up code related to the old widget preview toast
This code is no longer used now that widget cells show an add button.

Bug: 335367158
Test: N/A
Flag: com.android.launcher3.enable_widget_tap_to_add
Change-Id: I8040c75a89394f34885c24308f4e889b7263cc54
2024-06-26 20:06:34 +00:00
Shamali Patwa b8f4e16fa7 Merge changes from topic "standalone-fix" into main
* changes:
  [part 2] Update standalone picker to align widget loading and animations
  [part-1] Perform doMeasure only once in WidgetsFullSheet
2024-06-26 14:39:49 +00:00
Treehugger Robot 06020c29f0 Merge "Focus on the right pane when choosing an app on left" into main 2024-06-26 00:45:13 +00:00
Brandon Dayauon cc6d5007b7 Merge "Fix NPE when locking private space in taskbar allapps." into main 2024-06-25 17:55:16 +00:00
Brandon Dayauon e770f10d2a Fix NPE when locking private space in taskbar allapps.
We can just remove the check since isSearchSupported has been launched.

bug: 345648701
Test manually video -
before: https://drive.google.com/file/d/1EwwRXrASusmqVixGWuKGnOQQyiDLE6Yy/view?usp=sharing
after: https://drive.google.com/file/d/1OCvtxzbhRJrBMMM2JH_cOurQ-_BaALSA/view?usp=sharing
Flag: com.android.launcher3.enable_private_space

Change-Id: I0ae19d342556aac4ee0b6e26b4cef8752c0beb38
2024-06-25 16:00:09 +00:00
Fengjiang Li 94de34ce2f Merge "[Launcher Jank] Avoid SimpleBroadcastReceiver making binder calls on main thread" into main 2024-06-24 21:00:41 +00:00
Liran Binyamin 9b3d882c34 Merge "Fix hotseat icon translation issue" into main 2024-06-22 01:35:49 +00:00
Tracy Zhou 170092ef5d Merge "Enable taskbar on phones when the flag is turned on" into main 2024-06-21 22:47:13 +00:00
Fengjiang Li 1f87d94e59 [Launcher Jank] Avoid SimpleBroadcastReceiver making binder calls on main thread
Fix: 348649441
Flag: NONE - jank fix
Test: manual - presubmit
Change-Id: Ie97713f3f0b1f117662d49c6d6a65651c593d424
2024-06-21 14:37:51 -07:00
Tony Wickham 74fc385999 Merge "Load and draw Recent/Running tasks that aren't in Hotseat" into main 2024-06-21 21:01:41 +00:00
Tony Wickham 59e8952fc9 Merge "Handle running task launch properly in desktop mode" into main 2024-06-21 20:57:38 +00:00
Liran Binyamin 891e9e3c4b Fix hotseat icon translation issue
The current behavior that adjusts hotseat icons to make room for the
bubble bar uses the index of the hotseat icon to calculate translation x.

The problem is that if icons are reordered, the index of the icon may be
different than the actual cell number it belongs to.

This change updates the logic to use the cell rather than the index.

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 345686425
Test: manual - on tablet in portrait
       - show bubble bar
       - observe hotseat icons adjust
       - drag an icon from the home screen into hotseat
       - observe icons are shown correctly
       - rotate the device to landscape and back to portrait
Change-Id: I8628892234d1b31205b93ba3089c6dbf2820ea04
2024-06-21 16:33:45 -04:00
Shamali P e4ca191001 [part-1] Perform doMeasure only once in WidgetsFullSheet
We already know the details used to calculate the insets while in
onMeasure, so, instead of measuring everything twice, we initialize
the maxSpansPerRow in onMeasure and then call doMeasure.

Bug: 346341156
Flag: EXEMPT bugfix
Test: Manual and screenshot
Change-Id: If080f1f91c69d2d54139d876c36eac8743a224ee
2024-06-20 19:36:38 +00:00
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
Tracy Zhou 1983e4fb13 Enable taskbar on phones when the flag is turned on
Bug: 348017501
Test: N/A
Flag: com.android.wm.shell.enable_taskbar_on_phones
Change-Id: I8f283609b24c49e4ecd37142b0d94e449d1dc118
2024-06-19 18:45:22 +00:00
Fengjiang Li 622a7e37c5 Merge "[Launcher Jank] Avoid LauncherWidgetHolder and QuickstepWidgetHolder calling IAppWidgetService$Stub$Proxy.setAppWidgetHidden from main thread" into main 2024-06-19 15:19:22 +00:00