Commit Graph
14989 Commits
Author SHA1 Message Date
TreeHugger Robot 76c0fd5427 Merge "Fix missing item decorator for the search recycler view" into tm-qpr-dev am: 1656f428b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21151951

Change-Id: I2b720554906dc9cb2ce49aa6798a6fc94ef83553
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-31 18:04:40 +00:00
hyunyoungs 5654d6a63b Fix missing item decorator for the search recycler view
Bug: 267200724
Test: manual
Change-Id: Ibae6607cb4473d986f48b6aed3f2ef98c3857399
2023-01-31 00:56:17 -08:00
Luca Zuccarini 20650ab555 Merge "[Toast] Introduce SysUI's animation library to the transition manager." into tm-qpr-dev am: f70e2f0a95
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20836638

Change-Id: Ic4f5610fe4c04a5b876356d9912bf8f9eabc35b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-30 14:51:12 +00:00
Luca Zuccarini f70e2f0a95 Merge "[Toast] Introduce SysUI's animation library to the transition manager." into tm-qpr-dev 2023-01-30 14:25:48 +00:00
Vinit Nayak fd185e6402 Merge "Launch initial split from taskbar in overview app menu" into tm-qpr-dev am: d710773889
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20956773

Change-Id: I65ec9dbc148013ed6143f868398078e4f32bf4a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-28 06:26:13 +00:00
Vinit Nayak d710773889 Merge "Launch initial split from taskbar in overview app menu" into tm-qpr-dev 2023-01-28 05:25:12 +00:00
Andy Wickham fe0aa2dd8a Merge "Move search bar background protection on top of scrollbar." into tm-qpr-dev am: 275b80e687
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20992186

Change-Id: I0862e0fede906514810a94df65b642ad84143bfe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-28 01:55:32 +00:00
Andy Wickham 275b80e687 Merge "Move search bar background protection on top of scrollbar." into tm-qpr-dev 2023-01-28 01:35:24 +00:00
Vinit Nayak 49dc6d2712 Launch initial split from taskbar in overview app menu
* Consolidated init calls in SplitSelectStateController
* Also add support to launch from taskbar all apps
* Add logic in SplitSelectStateController to know whether
or not we need to dismiss existing TaskView vs relying
on mSplitHiddenTaskView null check
* Default click handling for SplitShortcut is to start
split selection mode

Bug: 251747761
Test: Initiated split from smart actions, thumbnail app
icon, home, taskbar in overview, all apps. Saw it choose
the latest thumbnail

Change-Id: Ib4f64e619c97615af458a19a9c0efd86c92979d9
2023-01-27 16:46:14 -08:00
Sunny Goyal 697186e3d7 Merge "Removing unnecessary abstraction of AdapterProvider" into tm-qpr-dev am: 150b7b0497
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21091032

Change-Id: I06fea81790cea2df014f492e7246f5abeb7fae51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-27 21:59:05 +00:00
Sunny Goyal 150b7b0497 Merge "Removing unnecessary abstraction of AdapterProvider" into tm-qpr-dev 2023-01-27 21:40:27 +00:00
Sunny Goyal 49d153e4bf Removing unnecessary abstraction of AdapterProvider
Bug: 266605714
Test: Presubmit
Change-Id: Ib5ccecc33e66e61cb27d083591c8fb7c13a96698
Merged-In: Ib5ccecc33e66e61cb27d083591c8fb7c13a96698
2023-01-27 16:55:55 +00:00
Luca Zuccarini 2098381808 [Toast] Introduce SysUI's animation library to the transition manager.
Bug: 250588519
Test: manual, see videos in bug
Change-Id: Iccc440c95ecc14d39e35d911798e239b698b950a
2023-01-27 13:49:40 +00:00
Thales Lima e31106b036 Merge "Create attr for padding between icon and text in cells" into tm-qpr-dev am: 91b9de1fe2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20980937

Change-Id: I28a303a6de429baa94325f911555a2271d4978ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-27 12:01:17 +00:00
Thales Lima 91b9de1fe2 Merge "Create attr for padding between icon and text in cells" into tm-qpr-dev 2023-01-27 10:23:30 +00:00
Holly Jiuyu Sun 5290dc4e64 Merge "Move ENABLE_HIDE_GBOARD_HEADER_STATIC from feature flag to server side flag." into tm-qpr-dev am: c3c77fc049
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21091031

Change-Id: I1ed496aa625ec1551a5392b0dd0fdf5c7e3fea9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-26 23:42:30 +00:00
Holly Jiuyu Sun c3c77fc049 Merge "Move ENABLE_HIDE_GBOARD_HEADER_STATIC from feature flag to server side flag." into tm-qpr-dev 2023-01-26 23:24:21 +00:00
Thales Lima d852d65693 Create attr for padding between icon and text in cells
Bug: 265210314
Test: DeviceProfileDumpTest
Change-Id: I00af790d0c21c35f1cbce1362e63d3ab8259244a
Merged-In: I00af790d0c21c35f1cbce1362e63d3ab8259244a
2023-01-26 22:50:18 +00:00
Stefan Andonian 47bb02a553 Merge "Add null check for NPE in FolderIcon." into tm-qpr-dev am: 734c4530ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21035445

Change-Id: If0ea4bd85145b773605f95619de6570a0f5b53a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-26 22:22:33 +00:00
Stefan Andonian 734c4530ed Merge "Add null check for NPE in FolderIcon." into tm-qpr-dev 2023-01-26 21:32:44 +00:00
Brandon Dayauon a36f89aa8d Merge "Fix preference screen title to make folded devices the same as phone" into tm-qpr-dev am: 5809508f25
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21077875

Change-Id: Id5b1ef6fbe75a596d9aee1a53a39f83621172cee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 23:24:05 +00:00
Andy Wickham 03fdeb7684 Move search bar background protection on top of scrollbar.
This way the search bar looks more connected to the keyboard
without the scrollbar showing next to it.

Note: Here the search bar is added on top of all other views
(previously it was inserted above only the header), and the
protection is always added just behind the search bar.

Also adjusts the height of the scrollbar to end above the search
bar when floating search bar is enabled.

Screenshots:
Scrollbar behind search bar: https://drive.google.com/file/d/10ZJ-q5nA9ZBjr7gjoauTDDAbQRUNk7S7/view?usp=share_link&resourcekey=0-pF6eOcuKz2_sCA_eZpa1Sw
New scrollbar height with floating search: https://drive.google.com/file/d/1fVIJjiG7RMme5fBXiSJmxNfOhHJ__Gwj/view?usp=share_link&resourcekey=0-b9RsB7f55U_rIZBu4IhVGQ

Fix: 265478433
Test: With and without floating search and always-on keyboard and
work profile.

Change-Id: I4f7ae0d376dae215c0cbd8deaee3e4a409d21ae4
2023-01-25 13:42:35 -08:00
Brandon Dayauon 5809508f25 Merge "Fix preference screen title to make folded devices the same as phone" into tm-qpr-dev 2023-01-25 21:38:17 +00:00
Andy Wickham 8f7b86df53 Merge "Fix header padding when search not enabled." into tm-qpr-dev am: 62ef7ba819
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21074687

Change-Id: Ib4b17d0ae5e3d7fe796e334526800950365260e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 20:08:42 +00:00
Andy Wickham 62ef7ba819 Merge "Fix header padding when search not enabled." into tm-qpr-dev 2023-01-25 19:10:09 +00:00
Holly Sun 6a62176621 Move ENABLE_HIDE_GBOARD_HEADER_STATIC from feature flag to server side flag.
Bug: 266708932
Test: manual with adb command
Change-Id: Id064367ee970120cf0aa668b9c81613f7262bad8
2023-01-25 10:12:38 -08:00
Sunny Goyal 10c6b3642a Merge "Merging unnecessary subclass of ActivityAllAppsContainerView" into tm-qpr-dev am: dbc5e56e07
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21087423

Change-Id: I5dc1727e262b19b99770c000f0f927680b41f051
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 07:42:05 +00:00
Sunny Goyal dbc5e56e07 Merge "Merging unnecessary subclass of ActivityAllAppsContainerView" into tm-qpr-dev 2023-01-25 06:37:15 +00:00
Fengjiang Li c5a715f531 Merge "Predictive back: widget to all apps" into tm-qpr-dev am: e73db2a011
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20968630

Change-Id: I8b4fb27d441dc449873bfe95ef40a047805bf3d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 05:59:56 +00:00
Fengjiang Li e73db2a011 Merge "Predictive back: widget to all apps" into tm-qpr-dev 2023-01-25 05:26:49 +00:00
Fengjiang Li 6bb8d79549 Predictive back: widget to all apps
This CL adds a layer of OnBackPressedHanlderRouter to Launcher:
1. 4 OnBackPressedHandler(s) are added in such order: auto cancel action mode handler, drag handler, view handler and state handler
2. first handler who can handle back will handle the entire back gesture
3. Let WidgetsFullSheet to handle widget to all apps transition

Bug: b/260956481
Test: manual
Change-Id: Idbce3dcec746226dd68aaabaddc8fe01334e9673
2023-01-24 15:51:46 -08:00
Sebastián Franco 56f91702d2 Merge "Adding the avility to add icons on multiple CellLayouts on tests." into tm-qpr-dev am: 68f5667338
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20890013

Change-Id: I83d66d694897da0463e93bfc740fc48e99428a8c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 21:13:11 +00:00
Sunny Goyal 34c499dc84 Merging unnecessary subclass of ActivityAllAppsContainerView
Bug: 266605714
Test: Presubmit
Change-Id: I87272ee827055f58f91a4ad9fb25d5351d453cdb
2023-01-24 13:01:00 -08:00
Sebastián Franco 68f5667338 Merge "Adding the avility to add icons on multiple CellLayouts on tests." into tm-qpr-dev 2023-01-24 20:02:35 +00:00
Brandon Dayauon e530801f44 Fix preference screen title to make folded devices the same as phone
Now it says "Search your Phone" on folded devices instead of
"Search your tablet" when unfolded

bug: 265610885
test: Manually - on foldables and tablets
Change-Id: I39ee08539b70b2e7258bca86b1450c62c75f748f
2023-01-24 11:10:15 -08:00
Stefan Andonian 329a47dd8f Merge "Fix crash in LauncherPreviewRenderer." into tm-qpr-dev am: 74471716ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21074684

Change-Id: I32647f81ae33e7e545bfe4645033faa91c6c19bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 17:38:38 +00:00
Alex Chau 4be46f4e6a Merge "Revert "Add logs to track app grid changes"" into tm-qpr-dev am: d2e4906230
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21082383

Change-Id: If6195d0f1fed6d37e2fbd9190a8239b053f59413
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 17:38:25 +00:00
Stefan Andonian 74471716ca Merge "Fix crash in LauncherPreviewRenderer." into tm-qpr-dev 2023-01-24 17:35:27 +00:00
Alex Chau d2e4906230 Merge "Revert "Add logs to track app grid changes"" into tm-qpr-dev 2023-01-24 17:01:56 +00:00
Alex Chau b415beed17 Revert "Add logs to track app grid changes"
This reverts commit d2706823cb.

Reason for revert: b/258560494

Change-Id: Idb13ff4963ebf364c4b144a69621a13daa376a39
2023-01-24 11:26:06 +00:00
Sunny Goyal d77858ecd9 Merge "Moving all intent receiver register calls to a single place" into tm-qpr-dev am: e1daf91dfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20933568

Change-Id: Iaf7284b1aa81da22d223ee0af4cdc8ec1cf45656
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 00:58:02 +00:00
Sunny Goyal e1daf91dfd Merge "Moving all intent receiver register calls to a single place" into tm-qpr-dev 2023-01-24 00:10:08 +00:00
Andy Wickham ad753607d2 Fix header padding when search not enabled.
This was specifically affecting taskbar all apps with
floating search bar enabled. Header placement should not
be changed in that case.

Fix: 266440950
Test: Manual in taskbar and other all apps surfaces with and
without work profile, floating search flag on and off.

Change-Id: I2296a079cc15387a517c61e6b8a21fa0081cba23
2023-01-23 10:49:15 -08:00
Stefan Andonian dbff8cda6c Fix crash in LauncherPreviewRenderer.
The LauncherPrefs INSTANCE variable needs to be registered with the
sandbox context used by the LauncherPreview. This will stop the crash
from occuring.

Bug: 266164372
Test: Verified that crash no longer occurs.
Change-Id: I12ef12d082b7afdb08b38321527d13c637e84f2f
2023-01-23 18:11:49 +00:00
Sunny Goyal a992ac9e8d Moving all intent receiver register calls to a single place
This is eventually allow us to move all register to background thread
Also creating a single ScreenOn tracked which is used at multiple places

Bug: 264465756
Test: Verified on device
Change-Id: Ibadf9ca43218e578954420d97a733adfa0a94fc7
Merged-In: Ib410e5bf02773cefde5bf0a0a1f2f1c108718d24
2023-01-22 05:24:48 +00:00
TreeHugger Robot 4d7e4c4a8e Merge "Implement initial transient Taskbar EDU tooltips." into tm-qpr-dev am: 654f714718
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20795522

Change-Id: Ie43422c362b180ca2d1124b1d7bf514276da101d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-21 08:10:03 +00:00
TreeHugger Robot 654f714718 Merge "Implement initial transient Taskbar EDU tooltips." into tm-qpr-dev 2023-01-21 07:28:30 +00:00
Brian Isganitis b21ad2da8c Implement initial transient Taskbar EDU tooltips.
Since this tooltip looks and behaves differently than the existing EDU
sheet, it has its own view and controller implementations (I also may
have wanted to write some Kotlin).

To keep transient taskbar open while on the second EDU step, another
autohide suspend flag is defined. Additionally, special casing is added
to avoid hiding transient taskbar if autohiding is currently suspended.

Tooltips use the same assets as the bottom sheet for now, and are scaled
down to fit the tooltip dimensions.

Reset `Taskbar Education` in Developer Options to try EDU again.

[Demos]
- First: https://screenshot.googleplex.com/ASBeGvrb2EA5wEF.png
- Second: https://screenshot.googleplex.com/7fnfcTh9bMYezDc.png

Test: Manual
Test: Open app, see swipe-up tooltip.
Test: Swipe up to show transient taskbar, see features tooltip.
Bug: 263157739
Fix: 258460203
Change-Id: I473f5fccbae279db0614763b640da0a120b6b7f7
2023-01-20 15:16:12 -08:00
Alex Chau c79e576824 Merge "Fix IllegalStateException caused by trying to snap to destination before initalizing page scrolls." into tm-qpr-dev am: 7e1144ee99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20731930

Change-Id: Ibaa0cad2b3ff673a5d2c83f189e28c4637694ae3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 15:44:42 +00:00
Alex Chau 7e1144ee99 Merge "Fix IllegalStateException caused by trying to snap to destination before initalizing page scrolls." into tm-qpr-dev 2023-01-20 15:07:10 +00:00