Commit Graph
16979 Commits
Author SHA1 Message Date
Brian Isganitis dcc887884d Promote ENABLE_ALL_APPS_SEARCH_IN_TASKBAR to TEAMFOOD.
Test: Manual
Bug: 216683257
Flag: ENABLE_ALL_APPS_SEARCH_IN_TASKBAR
Change-Id: Ib52f4b34857be9583ca3268a9a941e7beca801b7
2023-08-24 22:34:57 +00:00
Vinit Nayak ddc9d5eb73 Merge "Add back gesture support when split selection active" into main 2023-08-24 22:27:39 +00:00
Anushree Ganjam 29e1e61e07 Merge "Add Launcher aconfig." into main 2023-08-24 22:03:18 +00:00
Anushree Ganjam d1a28fe08d Add Launcher aconfig.
Use `enable_expanding_pause_work_button` as an example.

See go/trunk-stable-launcher for implementation details

Bug: 294913042

Test: adb shell device_config put launcher com.google.android.platform.launcher.aconfig.flags.enable_expanding_pause_work_button true

Flag: enable_expanding_pause_work_button
Change-Id: I732722c8b219c023adf5bf31f132ce9da72fc4d5
2023-08-24 11:11:02 -07:00
Vinit Nayak 654604037a Add back gesture support when split selection active
* Currently this exits the current launcher state
back to homescreen whenever back is performed while
split selection is active.
* Open UX question if that needs to be changed.

Test: Did back gesture from workspace, overview, all apps
http://recall/-/cMb5xTTxhmZtFt04eYnmQj/g0kpGTsqlj0RSt4OfDBkpf
Bug: 295449659
Flag: ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE
Change-Id: I74fe51aaf4301fb723d2e69e6b1b39d127f492d8
2023-08-24 17:52:37 +00:00
Pat Manning 3bf51bac77 Merge "Do not clip scaled Launcher icons on hover." into udc-qpr-dev am: 77dce5f27a am: 7f1968f948
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24210851

Change-Id: Icf2eeefd9f37fd30edf6a6c039568d6de4df3b60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 12:54:09 +00:00
Kevin Lim 898a7ccbd9 Merge "[NexusLauncher] Expose setLayoutHorizontal." into udc-qpr-dev am: ceab9a2c85 am: 6cd69b0e9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24156948

Change-Id: Icdb67a085616c599ffe2f0304711d0b4c756a67a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 12:53:44 +00:00
Treehugger Robot 652f66d9d0 Merge "Adding CannedAnimationCoordinator to enable running a predefined animation in Launcher" into udc-qpr-dev am: 1d235fca54 am: d1c514f863
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24487141

Change-Id: Ied18ff8d6d99545545da03b03771261f6c368cef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 12:53:14 +00:00
Treehugger Robot 904590a4a4 Merge "Re-enable ALL_APPS_GONE_VISIBILITY and ENABLE_ALL_APPS_RV_PREINFLATION" into udc-qpr-dev am: 05776a707d am: 8b3a1b62b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24516480

Change-Id: I5ab5e96cf1291dcc7f17040f9e1b5f2061e27a10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 12:52:06 +00: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
Jordan Silva 6a5f5bb962 Merge "Fix hotseat border space crash GSI" into udc-qpr-dev am: c6b6a4f3d5 am: f17a1d43f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24464809

Change-Id: Ia2784fb0bb345b988be15f32492064768881b1fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 20:06:05 +00:00
Sebastián Franco 2cde130da8 Merge "Remove odd screen ids when isTwoPanels is true" into udc-qpr-dev am: 2c9a2f2353 am: 4c366730a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24216066

Change-Id: Ib18557bedda11c0722c49577bb1b2ff2b2fafae0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 19:55:55 +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
Fengjiang Li d28bada405 Merge "Revert "Turn on ENABLE_ALL_APPS_RV_PREINFLATION and ALL_APPS_GONE_VISIBILITY for udc-qpr branch"" into udc-qpr-dev am: 053c11a344 am: 0e3893af19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24514676

Change-Id: I3816bfc7bcf6bfec90ee7ce4733ff49052a3ea76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 18:39:21 +00:00
Fengjiang Li 63878fbd2b Merge "Turn on ENABLE_ALL_APPS_RV_PREINFLATION and ALL_APPS_GONE_VISIBILITY for udc-qpr branch" into udc-qpr-dev am: 2474a8c1fb am: edb42db791
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24499161

Change-Id: If6584aadd63ff44588a23338739172b80f6a99af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 18:19:38 +00: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 d91a5858a2 Merge "Clean up RECEIVE_UNFOLD_EVENTS_FROM_SYSUI flag" into udc-qpr-dev am: a5f24d709e am: 6c7fdd42cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24501121

Change-Id: Idc0265fc910f5e5ece0d9a97f2c09cf4a4a0c925
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 18:07:34 +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 bd3a62fe30 Merge "Move WallpaperColorHints RPC calls to a background thread." into udc-qpr-dev am: 0487d8ee9b am: 28c69acdfe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24087102

Change-Id: I66833830e2e20dcb23ed9abd80b72bec8cefe378
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-21 22:53:18 +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 9084816f36 Merge "If the view for the drag preview is a BubbleTextVie use the icon drawable for the preview" into udc-qpr-dev am: ea19301935 am: d1a6bd8479
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24473798

Change-Id: I9dab7aa74bfb6dac1c24de531ff7bed27f9992cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-21 10:31:24 +00: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 58640fa58b Merge "Turn off TWOLINE_TEXT_ALLAPPS" into udc-qpr-dev am: 37385af4b5 am: 80d66671cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24487131

Change-Id: I069aa8bd9739a9ce0581fc35a3f067a40e45d4b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-19 01:57:04 +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 480773212b Merge "Revert "Add logs for widget picker image test"" into udc-qpr-dev am: c1a9f5c8c0 am: 770113a292
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24463684

Change-Id: I8a26a6ba50969e7bd9569b6302d0a8f7b282cd69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-18 18:41:01 +00: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 b9d31bd18a Merge "Skips checking for overview actions when grid only overview flag is enabled." into udc-qpr-dev am: bc6e67da45 am: ff20a30a4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24433309

Change-Id: I72ac7ba48986afd0e2f8e8df72d5e74a92a0111c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-18 00:17:03 +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 1b166ae493 Merge "Fix page indicator bugs for foldable" into udc-qpr-dev am: 828f9f326e am: c316560509
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24399441

Change-Id: I1d237a3863e3d812460b71f04d58535282b03f9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-17 21:51:39 +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 b385da25de Merge "Enable ENABLE_DYNAMIC_TASKBAR_THRESHOLDS." into udc-qpr-dev am: 7af0db7e94 am: beb741a2cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24464350

Change-Id: I418fc0708c2d8b341cf84053334e5a8268f9527a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-17 19:38:26 +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