Commit Graph

72799 Commits

Author SHA1 Message Date
Pat Manning
37edf2ed08 Merge "Add background to app chip menu so elevation shadow renders." into main 2023-11-21 18:09:32 +00:00
Jagrut Desai
426f7f4d2f Merge "Logging for ActivityLeak - Launcher" into main 2023-11-21 16:57:24 +00:00
Andreas Agvard
e55daa9449 Merge "Adds recovery flow for Search feature" into main 2023-11-21 15:16:28 +00:00
Sanatt Abrol
5d81ade236 Merge "Bug: b/307278302 Fix clipping of DesktopTaskView border on focus/ hover" into main 2023-11-21 13:13:43 +00:00
Andreas Agvard
b4be53477c Adds recovery flow for Search feature
Bug: 308840938
Flag: LEGACY ENABLE_LONG_PRESS_NAV_HANDLE TEAMFOOD
Test: Manual
Change-Id: Ia1dc7c644647503453c3f810569126fcb6407a5d
2023-11-21 13:36:18 +01:00
Andreas Agvard
9ed6d0be04 Merge "Fixed incorrect naming of flags" into main 2023-11-21 12:26:17 +00:00
Sanatt Abrol
a6b4e1bc43 Bug: b/307278302
Fix clipping of DesktopTaskView border on focus/ hover

Hover border: https://screenshot.googleplex.com/B9CUW49q6inMW75
Focus border: https://screenshot.googleplex.com/36uLJ4jC295t7PZ

`android:clipToOutline` prevents drawing outside view bounds and results in the focus/ hover border getting clipped, instead we can use `android:clipToPadding` with a small non-zero padding to clip children and allow drawing a border outside the bounds

Change-Id: I7e763f7ee8c7fd1090c7778c2c000d2b792bef06
2023-11-21 10:48:08 +00:00
Tracy Zhou
43c46e5787 Merge "Make sure the hotseat icons are always visible in phone mode" into main 2023-11-21 06:14:08 +00:00
Vadim Tryshev
a75fd790ea Merge "Avoiding unconditional 5 sec wait in the beginning of inproc tests" into main 2023-11-21 01:59:09 +00:00
Pat Manning
54acb41e8c Merge "Do not hide persistent taskbar during input for physical keyboard." into main 2023-11-20 23:29:55 +00:00
Himanshu Gupta
23876959e5 Merge "Fixing Launcher crases due to methods being called on Ui Threads." into main 2023-11-20 23:02:46 +00:00
Vadim Tryshev
3f7e82e81d Avoiding unconditional 5 sec wait in the beginning of inproc tests
Also merging waiting after enabling test provider for the inproc and OOP
cases.

Bug: 311023703
Test: presubmit
Flag: N/A
Change-Id: I417111d984bb0b0d79bada61595e46a6b924ea7c
2023-11-20 13:55:13 -08:00
Brian Isganitis
78ccf9c3e6 Merge "Adding TASKBAR entry state for Taskbar Toast." into main 2023-11-20 21:03:03 +00:00
Himanshu Gupta
2b5620b295 Fixing Launcher crases due to methods being called on Ui Threads.
This CL fixes the following two issues:
1. Launcher crashing while calling `addPrivateSpaceSettingsButton` from
   BaseAllAppsAdapter as the thread is UI
2. Decorator is not removed from Private Space Header during reset to
   paused state. https://screenshot.googleplex.com/BZdLqaZQwdDApfV

Flag: ACONFIG com.android.launcher3.Flags.enable_private_space DEVELOPMENT
Bug: 311337961, 311342946
Test: Ran Launcher3 tests
Change-Id: I2763338ebf0f5468ad38f61a781e8a8334194c5c
2023-11-20 18:59:13 +00:00
Jagrut Desai
1a16edea37 Logging for ActivityLeak - Launcher
Test: Presubmit
Bug: 273347463
Flag: NONE
Change-Id: I9825fd18a89354bff2bedf1c43f0d3170a3b4795
2023-11-20 10:44:16 -08:00
Alex Chau
940fbe1e2d Merge "Avoid instantiating unnecessary OverviewTask in getCurrentTask loop" into main 2023-11-20 18:28:40 +00:00
Saumya Prakash
15bbd17775 Merge "Update Gesture nav edu animations for overview gesture" into main 2023-11-20 18:07:23 +00:00
Andreas Agvard
37eac5b585 Merge "Adds a debug & server configurable delay to search haptic hint" into main 2023-11-20 18:04:10 +00:00
Schneider Victor-tulias
ca7147b289 Merge "Add debug logs for TIS ACTION_DOWN handling" into main 2023-11-20 17:41:01 +00:00
Jordan Silva
36fda11792 Merge "Fix folder label text size not downsizing to match app icon" into main 2023-11-20 17:00:55 +00:00
Pat Manning
c5b7cf9e4e Add background to app chip menu so elevation shadow renders.
Fix: 312146447
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD
Test: OverviewImageTest.
Change-Id: I43113acd0eaafac2955cd4bbebafc103bdba6d98
2023-11-20 15:15:54 +00:00
Alex Chau
7d237cd83a Avoid instantiating unnecessary OverviewTask in getCurrentTask loop
- Replaced with moving each size getting methods to a lambda in getCurrentTask

Bug: 309820115
Test: presubmit
Flag: None
Change-Id: Ic625e30bd42f4289bbb1768c2ceeb95e98f51a15
2023-11-20 13:13:44 +00:00
Andreas Agvard
fc74c095d6 Adds a debug & server configurable delay to search haptic hint
Fix: 311370599
Test: Manual
Flag: LEGACY ENABLE_SEARCH_HAPTIC_HINT ENABLED

Change-Id: Ic050e8426ef91b28e6bf1dc4d86839eaa20b0dc0
2023-11-20 12:49:54 +01:00
Pat Manning
a401e15553 Do not hide persistent taskbar during input for physical keyboard.
Fix: 255818649
Test: TaplTestsQuickstep
Flag: NONE.
Change-Id: Id5495163f43464125bfcbd9e255f18e24183d67a
2023-11-20 10:45:05 +00:00
Fengjiang Li
f05c0f5843 Merge "Only log COLD_DEVICE_REBOOTING startup latency logs" into main 2023-11-18 16:36:35 +00:00
Sebastián Franco
5f14285de1 Merge "Moving bindSmartspaceWidget to ModelCallbacks" into main 2023-11-17 22:50:07 +00:00
Fengjiang Li
e5f91a4c7a Only log COLD_DEVICE_REBOOTING startup latency logs
Fix: 305391017
Test: Unit test
Flag: NA
Change-Id: I976add25ea14d49e2ea84e395985edb9f559370c
2023-11-17 14:00:51 -08:00
Holly Jiuyu Sun
1459fd831c Merge "[ps] Add helper function to scroll a recycler view to bottom and resetAndScrollToPrivateSpace." into main 2023-11-17 21:33:46 +00:00
Sebastián Franco
dacb076588 Merge "Make sure ReorderAlgorithm only work on the logic layer and not on the view layer" into main 2023-11-17 19:20:18 +00:00
Sunny Goyal
f7e7843a2b Merge "Removing unused title change logic in settings" into main 2023-11-17 18:18:08 +00:00
Jagrut Desai
a2825e011c Merge "New Meta Action Icon for Taskbar" into main 2023-11-17 17:59:45 +00:00
Sebastian Franco
6336f9bca3 Make sure ReorderAlgorithm only work on the logic layer and not on the view layer
The method isNearestDropLocationOccupied finds the NearestDrop location
using the view models (i.e. the CellLayoutLayoutParams) and the new
method isConfigurationRegionOccupied run over the logic models (i.e. the
CellAndSpan or ItemConfiguration) ensuring a separation between them.

Test: ReorderAlgorithmUnitTest
Flag: LEGACY FOLDABLE_SINGLE_PAGE DISABLED
Bug: 270395274
Change-Id: I0b3c6606ee6934ea3a5e41d110677c496d4a4330
2023-11-17 17:02:39 +00:00
Pat Manning
d3f3308d12 Merge "Update Icon App Chip Menu to new specs." into main 2023-11-17 15:06:42 +00:00
Andreas Agvard
ef8df12ff8 Merge "Makes deep press for LPNH toggelable" into main 2023-11-17 07:51:16 +00:00
Winson Chung
8a7b54ad7c Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb am: b1b41673c9 am: d2e41da381
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: I90e374e7c49584e595410a3cdd3b71ab94676b88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 00:30:38 +00:00
Winson Chung
92851c5030 Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb am: f3eb5388d1 am: d127c1108b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: I48a134a3545eb190c4ef085641d0233e68660046
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 00:29:58 +00:00
Winson Chung
d2e41da381 Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb am: b1b41673c9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: I301749219071f0c3c008c4951f0322113b5c0383
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 23:59:33 +00:00
Winson Chung
d127c1108b Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb am: f3eb5388d1
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: If62d1d831854acf9b5ec2e8c27458594e72bba27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 23:58:07 +00:00
Winson Chung
b1b41673c9 Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: Ice293810a5e1cceea3978f6db6efb4ec710ea7fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 23:26:01 +00:00
Winson Chung
f3eb5388d1 Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: I41d412ee0c6d5c6dacd875c549b724b439e1d542
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 23:24:23 +00:00
Sebastian Franco
50b74c341a Moving bindSmartspaceWidget to ModelCallbacks
Changes are part of go/launcher_SoR .

Flag: NA
Bug: 301108526
Test: This is a no-op change, compiling should be the test
Change-Id: I960cb767e3c4db4a952e019ee489ec1611e2dbd2
2023-11-16 17:18:06 -06:00
Winson Chung
0c531d5dbb Merge "Don't open PiP when freeform is opened from recent" into main 2023-11-16 22:53:56 +00:00
Sunny Goyal
2e005e1e28 Removing unused title change logic in settings
Bug: 305084752
Test: Manual
Flag: N/A
Change-Id: I93e8a58c579223d5892528a47cff5bcafd69dbf1
2023-11-16 12:54:19 -08:00
Vinit Nayak
7056e2d2e4 Merge "Add logs for move pointer" into main 2023-11-16 20:16:44 +00:00
Alex Chau
5fc3b8ca9f Merge "Add ScreenRecord for TaplTestsQuicksteptestOverviewForTablet" into main 2023-11-16 19:57:36 +00:00
Vadim Tryshev
02a9f44ae1 Merge "Demoting testAllAppsExitSearchAndFocusSearchResults from presubmit" into main 2023-11-16 19:37:36 +00:00
Vadim Tryshev
f450938474 Merge "Removing obsolete ScreenRecord annotations" into main 2023-11-16 19:36:28 +00:00
Vadim Tryshev
070ca176c3 Merge "Removing obsolete ScreenRecord annotation" into main 2023-11-16 19:16:42 +00:00
Jordan Silva
9a3bd8f109 Fix folder label text size not downsizing to match app icon
Fix: 311350985
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Test: DeviceProfileDumpTest
Test: DeviceProfileAlternativeDisplaysDumpTest
Test: DeviceProfileResponsiveDumpTest
Test: DeviceProfileResponsiveAlternativeDisplaysDumpTest
Test: ResponsiveFolderImageTest
Change-Id: I98103749541dd1e120908ac06e24dfc38cc7aa59
2023-11-16 18:34:35 +00:00
Pat Manning
43c4b50c17 Update Icon App Chip Menu to new specs.
Fix: 304228083
Test: TaplOverviewIconAppChipMenuTest
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu DEVELOPMENT

Change-Id: Ib018c7f59e1141b6f21618b28d411facc937ac7c
2023-11-16 18:18:48 +00:00