Commit Graph

16901 Commits

Author SHA1 Message Date
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
Jordan Silva c6b6a4f3d5 Merge "Fix hotseat border space crash GSI" into udc-qpr-dev 2023-08-23 18:11:03 +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
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
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
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
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
Treehugger Robot a5f24d709e Merge "Clean up RECEIVE_UNFOLD_EVENTS_FROM_SYSUI flag" into udc-qpr-dev 2023-08-22 09:09:51 +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
Stefan Andonian 0487d8ee9b Merge "Move WallpaperColorHints RPC calls to a background thread." into udc-qpr-dev 2023-08-21 21:47:58 +00:00
Stefan Andonian 24a963b268 Move WallpaperColorHints RPC calls to a background thread.
Bug: 251502424
Test: Theme behavior still works fine. Compilation worked well.
Change-Id: I18d0b2094f3ba841846ff98567acc7327a7bd220
2023-08-21 20:10:41 +00:00
Sunny Goyal 0ee66478c6 Adding CannedAnimationCoordinator to enable running a predefined animation in Launcher
> The coordinator takes care of recreating animations on layout changes and
   linking it with state animation
> This also ensures that there is only one animation playing at a time

Bug: 293464892
Test: Verified that calling with multiple animations cancels previos call
Flag: None
Change-Id: Iab161720c94843b5834734da78167344c17539c8
2023-08-21 12:55:42 -07:00
Fengjiang Li e302fb8cd9 Turn on ENABLE_ALL_APPS_RV_PREINFLATION and ALL_APPS_GONE_VISIBILITY for udc-qpr branch
Flags: ENABLE_ALL_APPS_RV_PREINFLATION ALL_APPS_GONE_VISIBILITY
Test: Tested in bug bash
Bug: 288161355 291651514
Change-Id: Iea486fcbe7099e823cac17d05d1b5a18d5258b2c
2023-08-21 10:55:54 -07:00
Treehugger Robot ea19301935 Merge "If the view for the drag preview is a BubbleTextVie use the icon drawable for the preview" into udc-qpr-dev 2023-08-21 09:29:56 +00:00
Treehugger Robot 37385af4b5 Merge "Turn off TWOLINE_TEXT_ALLAPPS" into udc-qpr-dev 2023-08-19 00:52:39 +00:00
Brandon Dayauon cbcbcd82b3 Turn off TWOLINE_TEXT_ALLAPPS
Turning off twoline text for all_apps since we will revisit with UX to minimize grid size changes.
The ENABLE_TWOLINE_DEVICESEARCH is fine to be kept on.

bug: 270390937
test: manual-presubmit
Flag: flipping on -> off
Change-Id: I262f809d43b0781c1942bf7176869d6b74e77f1e
2023-08-18 16:22:50 -07:00
Sebastian Franco ddd0450f6b Remove odd screen ids when isTwoPanels is true
We where adding more CellLayouts but they where later
removed by removeExtraEmptyScreenDelayed but when rotated
the pagination animation is created before they are removed.

With this change the extra CellLayouts won't be added in the first
place.

Fix: 291822492
Test: RoerderWidgets
Test: FoldableItemsIntegrity
Change-Id: I561d2ce961a7ecc50f7a8c99c4acc44262b2e211
2023-08-18 12:51:00 -07:00
Federico Baron c1a9f5c8c0 Merge "Revert "Add logs for widget picker image test"" into udc-qpr-dev 2023-08-18 17:35:11 +00:00
Sebastian Franco 3f6bc94b3f If the view for the drag preview is a BubbleTextVie use the icon drawable for the preview
Test: Manual Testing
Fix: 286080714
Change-Id: I240521765312b37694ea0185c95ecb766b45c371
2023-08-18 00:33:53 +00:00
Treehugger Robot bc6e67da45 Merge "Skips checking for overview actions when grid only overview flag is enabled." into udc-qpr-dev 2023-08-17 23:12:08 +00:00
Federico Baron 828f9f326e Merge "Fix page indicator bugs for foldable" into udc-qpr-dev 2023-08-17 20:42:25 +00:00
Treehugger Robot 7af0db7e94 Merge "Enable ENABLE_DYNAMIC_TASKBAR_THRESHOLDS." into udc-qpr-dev 2023-08-17 18:49:51 +00:00
fbaron c7a605ea82 Fix page indicator bugs for foldable
There are bugs when unfolding the felix device where the page indicator will appear in the wrong place, and have to animate all the way back to where it should go. Here we fix those issues.

Fix: 294229186
Fix: 294231977
Flag: no flag
Test: n/a
Change-Id: I962042efcee6fcea2e46acd585b7f1403078b548
2023-08-17 10:58:15 -07:00
Federico Baron e8fb6d826b Revert "Add logs for widget picker image test"
This reverts commit 575a6ef5f8.

Reason for revert: we no longer need the logs since we're going to ignore widget picker image test in UDC-QPR and leave it on in main where it's already not failing

Change-Id: Ib132c9df710031d291d0254fe4bb0acdfeb3f863
2023-08-17 16:20:56 +00:00
Jordan Silva d92271849c Fix hotseat border space crash GSI
Fix the calculation of the space between the icons for hotseat when the number of spaces needed is 0 or less.

Fix: 285834082
Flag: N/A
Test: HotseatWidthCalculationTest
Change-Id: I73bc1950277c01ac0ae7202c1e08bf45266b59b8
2023-08-17 16:02:01 +01:00
Jon Miranda 0605413a30 Enable ENABLE_DYNAMIC_TASKBAR_THRESHOLDS.
Bug: 274467454
Test: manual, has been soaking in teamfood

Change-Id: I2729ed3c4f93ef5a4e8e1769802931e1c6b80708
2023-08-17 07:48:03 -07:00
Vinit Nayak d07d83dd75 Merge "Revert "Enable ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE for TEAMFOOD"" into udc-qpr-dev 2023-08-17 05:04:53 +00:00
Vinit Nayak e09f34628e Merge "Revert "Teamfood ENABLE_SPLIT_FROM_FULLSCREEN_WITH_KEYBOARD_SHORTCUTS"" into udc-qpr-dev 2023-08-17 05:04:53 +00:00
Charlie Anderson 8a68138995 Merge "add logging for Launcher backup and restore events" into udc-qpr-dev 2023-08-16 18:53:36 +00:00
Brandon Dayauon 7aaee510db Merge "Remove unused onboardingPrefs" into udc-qpr-dev 2023-08-16 17:49:26 +00:00
Vinit Nayak e606ad44c0 Revert "Enable ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE for TEAMFOOD"
This reverts commit d49239be89.

Reason for revert: delaying to QPR2

Change-Id: I0b5cb044395c311470ad1fcd9b901ef2e787eb05
2023-08-16 17:28:10 +00:00
Charlie Anderson c9d11e8208 add logging for Launcher backup and restore events
Test: Manually verify logs
Bug: 294386159
Change-Id: Ic3a77f4a09556e0d769837129e0bd094f1e91b6b
2023-08-16 13:24:22 -04:00
Tracy Zhou c73f6f1a9e Revert "Teamfood ENABLE_SPLIT_FROM_FULLSCREEN_WITH_KEYBOARD_SHORTCUTS"
This reverts commit 0615a80f8b.

Reason for revert: Delaying the feature to QPR2

Bug: 270394122
Change-Id: Iefb3550959926ba3430062f8515b265ee8b29bc0
2023-08-16 17:20:27 +00:00
Pat Manning dc90a46e77 Skips checking for overview actions when grid only overview flag is enabled.
Fix: 296060682
Test: TaplTestsQuickstep
Flag: ENABLE_GRID_ONLY_OVERVIEW
Change-Id: If8ef23767350dbbcf80294abf6b93eebe57d3487
2023-08-15 16:55:23 +01:00
Treehugger Robot b054f79c99 Merge "Reorder code so we can use different displays on the preview render" into udc-qpr-dev 2023-08-14 23:22:06 +00:00
Sunny Goyal 12bf58feb9 Merge "Removing some unused overrides in Launcher" into udc-qpr-dev 2023-08-14 20:40:28 +00:00
Sebastian Franco 1e4e50149b Reorder code so we can use different displays on the preview render
The existing code almost have the avility to use different display
for the preview by providing a different display id, this change
just make sure the InvariantDeviceProfile is created after we
create a new context with the desired display and we need to use
the default display for the SurfaceControlViewHost

Test: Manual testing, changing the display id on FixedWidthDisplayRatioFrameLayout
Bug: 292152331
Change-Id: I450d94a9a3f1a6a7b0c2b0722a11cf335122de05
2023-08-14 12:56:13 -07:00
Federico Baron ff1428ab1e Merge "Add logs for widget picker image test" into udc-qpr-dev 2023-08-14 18:14:43 +00:00
fbaron 575a6ef5f8 Add logs for widget picker image test
The screenshot test is failing in udc-qpr because the search bar is smaller when the screenshot is taken than what the reference image is. Adding logs to figure out what might be causing the search bar to be differently sized in udc-qpr tests (in main WidgetPickerImageTest passes, as well as udc-qpr locally)

Bug: b/294050472
Test: atest WidgetPickerImageTest
Flag: no flag
Change-Id: Ib94773bc411ff97d373af490ca920f6d6ae6cb2d
2023-08-14 09:30:59 -07:00
Treehugger Robot e8f4a6bbaf Merge "Update usage of ExtendedEditText.showSoftInput()." into udc-qpr-dev 2023-08-12 00:57:41 +00:00
Andy Wickham c928369894 Merge "Enable Toast launch animations flags by default" into udc-qpr-dev 2023-08-11 23:21:31 +00:00
Sunny Goyal c1d1e68a82 Removing some unused overrides in Launcher
> Changing AddItemActivity to use RemoteAnimation directly
  to avoidTransitionManager override

Bug: 273828110
Test: Manual
Flag: N/A
Change-Id: I49777e7eeba00319476b0a239bc1cdac37833457
2023-08-11 12:31:49 -07:00
Luca Zuccarini c3c75c28b0 Enable Toast launch animations flags by default
Bug: 270394041
Bug: 270394392
Bug: 262778448
Bug: 293863913
Flag: ENABLE_SEARCH_RESULT_BACKGROUND_DRAWABLES
Flag: ENABLE_SEARCH_RESULT_LAUNCH_TRANSITION
Test: manual
Change-Id: I9019d76045e3f6d931c99c0fc14435b52d8671bf
2023-08-11 18:36:40 +00:00
Thales Lima 19c41f5932 Merge "Create specs for hotseat" into udc-qpr-dev 2023-08-10 20:08:38 +00:00
Hyunyoung Song 1788bdad7f Merge "Turn ENABLE_LONG_PRESS_NAV_HANDLE flag to server side flag" into udc-qpr-dev 2023-08-10 18:49:26 +00:00