Schneider Victor-tulias
ed2eba9beb
Refactor ActiveGestureLog and CompoundString in preparation for ProtoLog 2.0
...
We will need to send formatted strings to the ProtoLog api, so it is simpler to use CompoundString as the default string storage in ActiveGestureLog.
Refactored CompoundString to be able to be broken down into a formattable string.
Flag: N/A
Fixes: 313640579
Test: ran launcher, completed gestures, dumped gesture logs
Change-Id: I5f290d1860c6bac5047cbf361537829fbe986685
2023-11-28 16:23:38 +00:00
Helen Cheuk
946a2493eb
Merge "Not show hover border on select mode" into main
2023-11-27 14:21:29 +00:00
Alex Chau
c95a4e6b1d
Merge "Revert "Remove logs for bug investigation"" into main
2023-11-24 14:02:39 +00:00
Pat Manning
78a2dd66b2
Merge "Close allapps on press of ESC key." into main
2023-11-24 12:30:04 +00:00
Pat Manning
a7a04fe901
Close allapps on press of ESC key.
...
Fix: 310206847
Test: TaplOpenCloseAllApps
Flag: NONE
Change-Id: I9b9f958eb2889680b731dd7134fce2793e62eb74
2023-11-24 11:03:13 +00:00
Sebastián Franco
525b0343f8
Merge "Moving classes inside of CellLayout to their own file" into main
2023-11-24 01:27:13 +00:00
Sebastian Franco
5f0af4f633
Moving classes inside of CellLayout to their own file
...
This is a no-op change ensure this we have ReorderAlgorithmUnitTest.
Flag: NA
Bug: 229292911
Test: ReorderAlgorithmUnitTest
Change-Id: I6ffe2a1260f869a4686a9f1e652dd1ab6d406269
2023-11-23 23:13:56 +00:00
Alex Chau
58a8c12713
Revert "Remove logs for bug investigation"
...
This reverts commit dad61a0098 .
Reason for revert: b/279059025
Change-Id: Id8fcd1ddf67d7df0a23c81e3ddf3849c26c529bd
2023-11-23 19:01:16 +00:00
Pat Manning
3e43b8a996
Merge "Do not hide icon app chip menu when resetting color tint." into main
2023-11-23 14:23:24 +00:00
Pat Manning
c078064450
Do not hide icon app chip menu when resetting color tint.
...
Fix: 312372713
Test: Manual.
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD
Change-Id: Iab860eb7e69ddb47913b01040ca706a8d829abe6
2023-11-23 12:25:02 +00:00
helencheuk
b4cda2adbe
Not show hover border on select mode
...
Fix: 295175854
Test: TaskViewTest
Flag: ACONFIG com.android.launcher3.enable_cursor_hover_states Nextfood
Change-Id: I81b1af27b590ea509e8ec84a9d3ff008f31da21f
2023-11-23 10:51:58 +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
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
Pat Manning
54acb41e8c
Merge "Do not hide persistent taskbar during input for physical keyboard." into main
2023-11-20 23:29:55 +00:00
Brian Isganitis
78ccf9c3e6
Merge "Adding TASKBAR entry state for Taskbar Toast." into main
2023-11-20 21:03:03 +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
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
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
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
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
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
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
Andreas Agvard
0fc7d52863
Makes deep press for LPNH toggelable
...
By default when deep press is detected (https://developer.android.com/reference/android/view/MotionEvent#CLASSIFICATION_DEEP_PRESS )
during LPNH triggers the long press action immediately. This change makes this toggelable.
Flag is set to enabled by default, which leads to the default behavior.
Fix: 310952290
Test: Manual
Flag: LEGACY ENABLE_LPNH_DEEP_PRESS ENABLED
Change-Id: I970fed697979ee528e54b8be0139d842f3a64c43
2023-11-16 17:55:34 +01:00
Schneider Victor-tulias
4b794d57de
Add debug logs for TIS ACTION_DOWN handling
...
Flag: N/A
Bug: 311094603
Test: Ran launcher and attempted several gestures
Change-Id: I08c6544226ed0ad385821c3309b2845a485cf900
2023-11-16 10:05:33 -05:00
Sergey Pinkevich
172eb5896b
Merge "Show split screen action for each task" into main
2023-11-16 10:03:44 +00:00
Fengjiang Li
1da44348cf
Merge "Add unit test for RecentsAnimationDeviceState.java" into main
2023-11-15 23:05:32 +00:00
Achim Thesmann
daca6d0747
Merge "Opt in recents PendingIntent for BAL" into main
2023-11-15 22:27:27 +00:00
Fengjiang Li
b3007a9e3d
Add unit test for RecentsAnimationDeviceState.java
...
Bug: 299466828
Flag: N/A
Test: test device boot without issue
Change-Id: Iaa1a7cff547e03eaacc950702c2e7cd34846e987
2023-11-15 13:01:51 -08:00
Sergey Pinkevich
ead5259f9a
Show split screen action for each task
...
Remove previous condition:
1. `taskView.containsMultipleTasks()` - there is already a check to filter out "Split screen" item: https://googleplex-android.googlesource.com/platform/packages/apps/Launcher3/+/refs/heads/main/quickstep/src/com/android/quickstep/TaskOverlayFactory.java#68
Edit previous condition:
2. `notEnoughTasksToSplit` - condition saying if there is less than 2 recent tasks. We still should give the possibility to split the screen if Taskbar is not presented
Bug: 305958994
Flag: NONE
Test: manual - took a photo (https://screenshot.googleplex.com/7doU5z9AjxxETUo )
Change-Id: I3fdfea987c426d557a91b0a25af368069e8af3f8
2023-11-15 15:14:50 +00:00
Alex Chau
013af87a10
Merge "Use WindowConfiguration to match DeviceProfile in IDP.getDeviceProfile" into main
2023-11-15 10:06:53 +00:00
Robin Vinterbladh
018edc452d
Don't open PiP when freeform is opened from recent
...
When opening freeform window from recents menu PiP should not
be started at the same time since the PiP transition can cause
freeform to not work as intended.
Bug: 299505542
Change-Id: I6392089b3ac9ce914fb37cc84780f28aa3fc75f8
2023-11-15 09:41:10 +01:00
Achim Thesmann
a1b0b31e77
Opt in recents PendingIntent for BAL
...
With BAL hardening in V PendingIntent creator's need to expliciitly opt
in to grant their BAL privileges.
The change is a noop unless the `bal_require_opt_in_by_pending_intent_creator` flag is enabled.
Bug: 296478951
Flag: NA
Test: atest NexusLauncherTests:com.android.quickstep.FallbackRecentsTest NexusLauncherTests:com.android.quickstep.StartLauncherViaGestureTests
Change-Id: I7f2f4f3613f70b6ec0c398803a140ab93dcf1a03
2023-11-15 02:57:29 +00:00
Tracy Zhou
bf021974f4
Merge "[Trackpad] Do not reverse two-finger gestures on the homescreen when reverse scrolling is on" into main
2023-11-15 02:22:20 +00:00
Schneider Victor-tulias
d58c0dbdca
Merge "Clean up NPEs in AbsSwipeUpHandler" into main
2023-11-14 18:49:50 +00:00
Alex Chau
c09a98a87d
Use WindowConfiguration to match DeviceProfile in IDP.getDeviceProfile
...
- Also fix WindowBounds.isLandscape to use full display bounds to determine isLandscape, otherwise both orientation will be treated as isLandscape when using availableSize
Bug: 309801705
Test: manual and presubmit
Flag: NONE
Change-Id: Ic7f4235e620d4760a9af356f23066fe5b23304e6
2023-11-14 18:38:51 +00:00
Schneider Victor-tulias
3b9d80d2d8
Clean up NPEs in AbsSwipeUpHandler
...
AbsSwipeUphandler has many potential and common NPEs. Added more null checks to AbsSwipeUpHandler
Flag: N/A
Fixes: 295905702
Fixes: 309535060
Test: StartLauncherViaGestureTests, quick switched and launched app from recents
Change-Id: I11f62eac423ae3c5792ce97ca49963f1e005b289
2023-11-14 10:48:10 -05:00
Uwais Ashraf
6dfa8521e5
Merge "Revert "Refactor/clean up Overview Actions buttons"" into main
2023-11-14 10:25:11 +00:00
Uwais Ashraf
60a2d85b68
Revert "Refactor/clean up Overview Actions buttons"
...
Revert submission 25292769-cleanup-action-buttons
Reason for revert: Causes a 100% failure of OverviewImageTest
Reverted changes: /q/submissionid:25292769-cleanup-action-buttons
Change-Id: Iedd51290e2d6fb7efafc814f1d3d51863b3d3ab7
2023-11-14 09:45:55 +00:00
Tracy Zhou
07e2e43311
Merge "Migrate ENABLE_SPLIT_FROM_FULLSCREEN_WITH_KEYBOARD_SHORTCUTS to aconfig" into main
2023-11-13 22:49:44 +00:00
Jeremy Sim
ed56be4fbc
Merge "Refactor/clean up Overview Actions buttons" into main
2023-11-13 22:20:47 +00:00
Tracy Zhou
859edd00e9
Migrate ENABLE_SPLIT_FROM_FULLSCREEN_WITH_KEYBOARD_SHORTCUTS to aconfig
...
Bug: 270394122
Test: N/A
Change-Id: I9bacd906099518b4a4c43a9f80ab0c753beac89a
2023-11-13 13:12:09 -08:00
Jagrut Desai
2c7556d4c7
Merge "Fix RTL issue with all apps meta icon" into main
2023-11-13 20:13:34 +00:00
Jagrut Desai
bd997801e9
Merge "Migrate ENABLE_TASKBAR_PINNING to aconfig flag" into main
2023-11-13 20:13:15 +00:00
Tracy Zhou
ab1dc752e8
Make sure the hotseat icons are always visible in phone mode
...
With task bar in unfolded state, we animate from app to home by morphing the task bar into the hotseat. In the folded state, the visibility of the hotseat should never be affected by the task bar state.
Fixes: 309477352
Test: Swipe up from app in folded state with task bar / nav bar unification flag on, make sure that the transition is smooth and the hotseat is always visible. Also make sure unfolded state works as usual.
Change-Id: I1064a0c03e8f7539f8ea4d0322f58be9dff8513e
2023-11-11 07:46:30 +00:00
Vinit Nayak
1d3035e024
Prevent widgets from entering split
...
Bug: 296502210
Test: Manual
Flag: ACONFIG com.android.wm.shell.enable_split_contextual DEVELOPMENT
Change-Id: I1a166f6ca0fe5fd2fa1d29b97b8856e52985e0c1
2023-11-10 12:17:12 -08:00
Jagrut Desai
1ab8da20f5
Fix RTL issue with all apps meta icon
...
Test: Presubmit, Manual
Bug: 309453796
Flag: NONE
Change-Id: I5d8bda2c48a0815d7005a0727f67f871f75d4f0f
2023-11-10 09:44:51 -08:00
Jagrut Desai
90dd098c85
Migrate ENABLE_TASKBAR_PINNING to aconfig flag
...
Test: Manual, Presubmit
Bug: 265437087
Flag: ACONFIG com.android.launcher3.enable_taskbar_pinning DISABLED
Change-Id: I4800230c04feceefa2398e189c493c8c4a7b2fe5
2023-11-09 23:20:03 +00:00