Commit Graph

62945 Commits

Author SHA1 Message Date
Tracy Zhou
17f50eb8a8 Merge "Ignore touch slop threshold for trackpad gestures using gesture nav" into udc-qpr-dev 2023-08-25 04:29:58 +00:00
Tracy Zhou
a2227658db Ignore touch slop threshold for trackpad gestures using gesture nav
Gesture library has a threshold for 3-finger swipes, and if it's recoginized as one, it only reports movement in one axis. There is no point waiting for it to pass the initial threshold, unlike gestures on the screen.

Bug: 291771975
Test: swipe up slowly, observe the smoothness of the gesture nav animation.
Change-Id: I0904efb1d5cd26f6566da46279d0153e19a9618c
2023-08-24 18:29:44 -07:00
Treehugger Robot
ff23ce8265 Merge "Ignoring WidgetsListHeader in WidgetsTwoPaneSheet" into udc-qpr-dev 2023-08-24 23:45:10 +00:00
Treehugger Robot
830524d883 Merge "Adding support for clearing overview suggestion state when overview is disabled" into udc-qpr-dev 2023-08-24 22:19:01 +00:00
Andy Wickham
5ed1b4001b Merge "Use new AssistUtils(Base) to override SysUI Assist invocations." into udc-qpr-dev 2023-08-24 19:36:12 +00:00
Treehugger Robot
51ba9a6097 Merge "Properly marking TaplTestsSplitscreen with test annotations" into udc-qpr-dev 2023-08-24 19:21:24 +00:00
Vadim Tryshev
e338f8a695 Ignoring WidgetsListHeader in WidgetsTwoPaneSheet
Bug: 297079300
Test: presubmit
Flag: N/A
Change-Id: I09172070a3f2274857458cd9504d4b425b1efef2
2023-08-24 11:04:26 -07:00
Brian Isganitis
fa905e433a Merge "Introduce TAPL APIs for Taskbar QSB and search results." into udc-qpr-dev 2023-08-24 17:29:46 +00:00
Helen Cheuk
f209443be9 Merge "Add test to long press icon on home screen" into udc-qpr-dev 2023-08-24 15:55:30 +00:00
Treehugger Robot
72a101c1cc Merge "Ignoring WidgetsListHeader" into udc-qpr-dev 2023-08-24 01:26:26 +00:00
Andy Wickham
f7554ff718 Use new AssistUtils(Base) to override SysUI Assist invocations.
AssistUtils#getSysUiAssistOverrideInvocationTypes(): Sent
over SysUiProxy to request overriding these invocation types.

AssistUtils#tryStartAssistOverride(): Called by OverviewProxy
(TouchInteractionService) for previously requested overrides.
Also used within Launcher for Taskbar and QSB to override
other invocation logic. May return false to indicate that
the override was not handled, so a fallback may be desired.

Bug: 295874732
Test: Manual
Change-Id: I488f3b7da1feb2663feab5d04dfa8d605c070efb
2023-08-23 15:49:02 -07:00
Pat Manning
77dce5f27a Merge "Do not clip scaled Launcher icons on hover." into udc-qpr-dev 2023-08-23 22:24:40 +00:00
Kevin Lim
ceab9a2c85 Merge "[NexusLauncher] Expose setLayoutHorizontal." into udc-qpr-dev 2023-08-23 21:29:49 +00:00
Treehugger Robot
1d235fca54 Merge "Adding CannedAnimationCoordinator to enable running a predefined animation in Launcher" into udc-qpr-dev 2023-08-23 20:28:04 +00:00
Treehugger Robot
05776a707d Merge "Re-enable ALL_APPS_GONE_VISIBILITY and ENABLE_ALL_APPS_RV_PREINFLATION" into udc-qpr-dev 2023-08-23 19:26:40 +00:00
Kevin Lim
b3b467c27f [NexusLauncher] Expose setLayoutHorizontal.
mLayoutHorizontal is exposed so that classes that extend BubbleTextView
can override this programmatically based on LayoutType.

mLayoutHorizontal prevents the title in horizontal cases affecting the
icon bounds measure, and shifting things such as the icon halo.

Bug: b/288471727
Test: See ag/24199217
Test: New tests in SearchResultIconTest
Test: No regression in SearchResultSmallIconRowTest
Change-Id: I424c1597d29ed26d7dea9e666ff2d274847e3217
2023-08-23 19:13:59 +00:00
Vadim Tryshev
250b3c3ea3 Ignoring WidgetsListHeader
Bug: 297079300
Test: presubmit
Flag: N/A
Change-Id: I7e4fb9452bfc3df26c9121bd52557d53aa7d4bb6
2023-08-23 12:00:52 -07:00
Jordan Silva
c6b6a4f3d5 Merge "Fix hotseat border space crash GSI" into udc-qpr-dev 2023-08-23 18:11:03 +00:00
Treehugger Robot
7e1c5d0b74 Merge "Correctly ignoring apps_view" into udc-qpr-dev 2023-08-23 17:41:19 +00:00
Treehugger Robot
bed2e59967 Merge "Ignoring FloatingTaskThumbnailView:id/thumbnail" into udc-qpr-dev 2023-08-23 17:41:01 +00:00
Pat Manning
d0f729d13c Do not clip scaled Launcher icons on hover.
Include change for setting the hover state flag programatically, as FastBitmapDrawable does not currently support DeviceConfig flags.

Fix: 243191650
Test: FastBitmapDrawableTest. Screenshot tests in another cl.
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: I0eb796ae62e571a3287132bfcb99c4fca1e2fbe4
2023-08-23 08:45:43 +00:00
Liran Binyamin
5e7ca0c0b3 Merge "Handle touches on the bubble bar in Overview" into udc-qpr-dev 2023-08-23 07:13:16 +00:00
Fengjiang Li
d18fcad565 Re-enable ALL_APPS_GONE_VISIBILITY and ENABLE_ALL_APPS_RV_PREINFLATION
Re-submit ag/24499161 with ag/24517009 to ensure tests are still passing

Flags: ENABLE_ALL_APPS_RV_PREINFLATION ALL_APPS_GONE_VISIBILITY
Test: Tested in bug bash
Bug: 288161355 291651514
Change-Id: I562d39f5edef46240700669b26d6e8fb27cbb77a
2023-08-22 18:20:52 -07:00
Vadim Tryshev
bb3e61f313 Ignoring FloatingTaskThumbnailView:id/thumbnail
Bug: 286251603
Test: presubmit
Flag: N/A
Change-Id: I7e1f31c24e6b3f7cfc996d2117a8cd4e3482c01b
2023-08-22 17:44:22 -07:00
Treehugger Robot
7c183e2987 Merge "Taskbar: use ENABLE_HIDE_IME_CAPTION_BAR" into udc-qpr-dev 2023-08-22 22:05:32 +00:00
Sunny Goyal
52a7f05681 Adding support for clearing overview suggestion state when overview is disabled
Bug: 297037290
Test: Presubmit
Flag: N/A
Change-Id: I38f7fd38564c7c529cbd9aa5acead08b181b1b92
2023-08-22 13:46:29 -07:00
Brian Isganitis
42907f022e Introduce TAPL APIs for Taskbar QSB and search results.
Includes support for interacting with app search results for Taskbar All
Apps.

Design doc: go/toasty-taskbar-tapl

Test: Compiles
Bug: 295366997
Flag: not needed
Change-Id: I07cb8a96a0aba2668ffc647ca2a6b8c1137157ca
2023-08-22 16:04:45 -04:00
Sebastián Franco
2c9a2f2353 Merge "Remove odd screen ids when isTwoPanels is true" into udc-qpr-dev 2023-08-22 20:02:29 +00:00
Treehugger Robot
a7eed17af3 Merge "Revert "Prevent some leaks from leaking to the next test"" into udc-qpr-dev 2023-08-22 20:00:54 +00:00
Vadim Tryshev
65daa2da8d Properly marking TaplTestsSplitscreen with test annotations
Without such annotations, the test may not run

Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: I597ca8a8f176c1f5ee39e4fa7a7c3ac938b53b7f
2023-08-22 12:09:16 -07:00
Fengjiang Li
053c11a344 Merge "Revert "Turn on ENABLE_ALL_APPS_RV_PREINFLATION and ALL_APPS_GONE_VISIBILITY for udc-qpr branch"" into udc-qpr-dev 2023-08-22 18:49:10 +00:00
Fengjiang Li
df7cb761aa Revert "Turn on ENABLE_ALL_APPS_RV_PREINFLATION and ALL_APPS_GONE_VISIBILITY for udc-qpr branch"
This reverts commit e302fb8cd9.

Reason for revert: WellbeingTests#testPauseAppFromAllApps is failing b/297040371

Change-Id: I92f885abff4bb1e3058eebcd23bf23875e5f84cf
2023-08-22 18:42:38 +00:00
Vadim Tryshev
84f51ec03e Revert "Prevent some leaks from leaking to the next test"
This reverts commit d17a270b31.

Reason for revert: Perhaps, caused failures like: Launcher internal state didn't switch to Home, https://android-build.corp.google.com/test_investigate/?invocationId=I32700010190010056&testResultId=TR70828881289196802

Change-Id: I1c7afb75785aac6b02f451b9d5b74de7833abfed
2023-08-22 18:30:48 +00:00
Vadim Tryshev
798e892051 Correctly ignoring apps_view
Note already existing DRAG_LAYER + "SearchContainerView:id/apps_view",

Bug: 296927267
Test: presubmit
Flag: N/A
Change-Id: Ib65dab08a4dd25db4297390cc796405a0c7e148b
2023-08-22 17:37:29 +00:00
Randy Pfohl
f18305ac08 Merge changes I3394267d,Idf9ef20e into udc-qpr-dev
* changes:
  Adding some logging to track test failure in post submit
  enable testWidgets for postsubmit for long term debugging
2023-08-22 17:14:40 +00:00
helencheuk
a66a121bec Add test to long press icon on home screen
Fix: 292083404
Test: TaplTestsLauncher3#testLaunchHomeScreenMenuItem
Change-Id: I301ac719aeda744e8b8dca9a405208625eff89e7
2023-08-22 16:33:06 +00:00
Vinit Nayak
0989216160 Merge "Null out Activity in split controller" into udc-qpr-dev 2023-08-22 16:21:45 +00:00
Adrian Roos
f45ebad9be Taskbar: use ENABLE_HIDE_IME_CAPTION_BAR
With ENABLE_HIDE_IME_CAPTION_BAR, we no longer need to update the navigation bar override. This was already applied for the navigation bar, but not the task bar. Mirrors the NavigationBar.java change in
I8793db69fb846046300d5a56b3b0060138ef4cd5.

Bug: 289748734
Change-Id: I86079cb6670a2ae3b6fa883694f8af81df212408
Test: presubmit
2023-08-22 16:07:37 +00:00
Fengjiang Li
2474a8c1fb Merge "Turn on ENABLE_ALL_APPS_RV_PREINFLATION and ALL_APPS_GONE_VISIBILITY for udc-qpr branch" into udc-qpr-dev 2023-08-22 15:09:20 +00:00
Liran Binyamin
80f20a2183 Handle touches on the bubble bar in Overview
If the bubble bar is visible and we're in Overview, set the touchable region
of the Taskbar to include the bubble bar bounds.

Fixes: 290197298
Test: Manual
      - Add multiple bubbles to the bubble bar
      - Go to Overview
      - Tap on the bubble bar
      -- Observe that the bubble bar expands
      - Tap on different bubbles
      -- Observe that the bubble bar updates correctly
      - Tap outside the bubble bar
      -- Observe that the bubble bar collapses
      - Tap outside of the bubble bar again
      -- Observe that the launcher state changed and we are in Home
Change-Id: I722778ee41b50ebca57431bb303da89104d25090
2023-08-22 09:13:15 -04:00
Pat Manning
c7087e8f9f Do not consume hover events not coming from cursor for a11y.
Fix: 283041221
Test: TaplTestsTransientTaskbar
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: I95e9ded6873173ea001c82d6319716a2d48b3bad
2023-08-22 09:17:04 +00:00
Treehugger Robot
a5f24d709e Merge "Clean up RECEIVE_UNFOLD_EVENTS_FROM_SYSUI flag" into udc-qpr-dev 2023-08-22 09:09:51 +00:00
Tracy Zhou
b038bac666 Merge "Init nav mode in TaskbarActivityContext between fold/unfold" into udc-qpr-dev 2023-08-22 06:48:01 +00:00
Sunny Goyal
5442cbc300 Clean up RECEIVE_UNFOLD_EVENTS_FROM_SYSUI flag
Bug: b/270397209
Test: Presubmit
Flag: RECEIVE_UNFOLD_EVENTS_FROM_SYSUI
Change-Id: I4f87777fd27b5489557742b58e25dc5488b7d32b
2023-08-22 04:31:09 +00:00
Vinit Nayak
b620af4612 Null out Activity in split controller
Bug: 295225524
Change-Id: I59aaed3fca07d611088cec0a4bfafc658a151bb2
2023-08-21 23:40:51 +00:00
Tracy Zhou
d9d17ce133 Init nav mode in TaskbarActivityContext between fold/unfold
In RotationButtonController, we show the floating rotation button either when the bar is visible, or when the device is in gesture nav mode, even in an immersive app. The issue here is that mNavMode is not correctly initialized after the device is unfolded.

Fixes: 272164624
Test: Open townhall. Fold and then unfold. Tilt the device and make sure the floating rotation button shows.
Change-Id: I09025132fdca5c764e66d9ac21f29b853741d257
2023-08-21 22:38:13 +00:00
Treehugger Robot
1e709c2a95 Merge "Prevent some leaks from leaking to the next test" into udc-qpr-dev 2023-08-21 22:23:21 +00:00
Treehugger Robot
2a1df8879f Merge "Add null check for mRecentsView when recents animation is canceled" into udc-qpr-dev 2023-08-21 21:50:54 +00:00
randypfohl
ecffb20ba8 Adding some logging to track test failure in post submit
Test: not needed

Bug: 295069071

Change-Id: I3394267dbbd808544e2759737c7d139c5ba4121f
2023-08-21 14:49:25 -07:00
Stefan Andonian
0487d8ee9b Merge "Move WallpaperColorHints RPC calls to a background thread." into udc-qpr-dev 2023-08-21 21:47:58 +00:00