Commit Graph

32029 Commits

Author SHA1 Message Date
Andy Wickham 1a297abb76 Merge "Expose the LauncherModel ModelDelegate" into sc-dev am: 3f504dcbf9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14174076

Change-Id: I20ebcb90f40ffe417eb9cae18ab0ba66e1f447e1
2021-04-14 01:23:36 +00:00
Andy Wickham 3f504dcbf9 Merge "Expose the LauncherModel ModelDelegate" into sc-dev 2021-04-14 01:10:16 +00:00
TreeHugger Robot 15d4b3db0c Merge "Remove SystemUiProxy#monitorGestureInput() as it's no longer used" into sc-dev am: 047f2ed9b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14177243

Change-Id: I5c3f3a7abcc074ae18af18fee6622432cb89b010
2021-04-14 00:30:04 +00:00
TreeHugger Robot e23e340164 Merge "Fixing race condition when an apk is removed." into sc-dev am: cc339a5587
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14174073

Change-Id: I222977b3d07165606b9e6aded9912309fbd559df
2021-04-14 00:29:44 +00:00
TreeHugger Robot 047f2ed9b8 Merge "Remove SystemUiProxy#monitorGestureInput() as it's no longer used" into sc-dev 2021-04-14 00:14:36 +00:00
TreeHugger Robot cc339a5587 Merge "Fixing race condition when an apk is removed." into sc-dev 2021-04-14 00:04:48 +00:00
Vinit Nayak 412b723aae Merge "Make RotationTouchHelper singleton to report single rotation state" into sc-dev am: 91b83064e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14142324

Change-Id: I05d20af39570988f602ca2df6047b549f010aa3d
2021-04-13 23:24:26 +00:00
Vinit Nayak 91b83064e1 Merge "Make RotationTouchHelper singleton to report single rotation state" into sc-dev 2021-04-13 22:43:07 +00:00
Tony Wickham cfb3cab642 Merge "Move taskbar to be closer to QSB" into sc-dev am: a5788cc24f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14165475

Change-Id: Ic41cd118d5a4eeaa1d1817a3b265d2472defe85c
2021-04-13 21:54:12 +00:00
Tony Wickham 9ac8b781b9 Remove SystemUiProxy#monitorGestureInput() as it's no longer used
Test: compiles and runs locally
Bug: 185266621
Change-Id: I4d40de269007178550cf1a9e9e906018badc6f74
2021-04-13 14:29:19 -07:00
Schneider Victor-tulias 3ec8f554af Expose the LauncherModel ModelDelegate
Added a getter for LauncherModel's ModelDelegate.

bug: 184179894
Test: manual
Change-Id: I94d2ee535f7c96e0d3672f053f32f55ddd10cba0
2021-04-13 14:17:41 -07:00
Tony Wickham a5788cc24f Merge "Move taskbar to be closer to QSB" into sc-dev 2021-04-13 21:12:49 +00:00
Sunny Goyal 79ee3f6310 Fixing race condition when an apk is removed.
Since the check was happening on a different thread, the view might have change by the time
the callback comes back on UI thread.

Bug: 185100744
Test: Manual
Change-Id: I1347819bee71ed9d7ba6aa676f4318ea03316ea2
2021-04-13 13:43:25 -07:00
Rob Carr b456022490 Merge "Launcher3: Port SurfaceTransactionApplier to BLAST" into sc-dev am: a3ba0f9f6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13856012

Change-Id: If50b11a45317aed16c3d2956a21692a592b2f99f
2021-04-13 19:48:30 +00:00
Alina Zaidi 1b106824c5 Merge "Add education tip to widget picker." into sc-dev am: 1e849a95f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14137345

Change-Id: I243d5d4a6574a622bc70e934f7c24e4fe9931010
2021-04-13 19:48:14 +00:00
Rob Carr a3ba0f9f6d Merge "Launcher3: Port SurfaceTransactionApplier to BLAST" into sc-dev 2021-04-13 19:47:25 +00:00
Alina Zaidi 1e849a95f9 Merge "Add education tip to widget picker." into sc-dev 2021-04-13 19:26:30 +00:00
Tony Wickham e137b1894e Merge changes from topic "taskbar-hotseat" into sc-dev am: 5df03e1585
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14131652

Change-Id: I5e344b9be76c3a37e4865c0381689b85f07bd295
2021-04-13 19:07:24 +00:00
Tony Wickham 5df03e1585 Merge changes from topic "taskbar-hotseat" into sc-dev
* changes:
  Update taskbar to add extra hotseat items instead of recent apps
  Add support for having more hotseat icons in the DB than we show
2021-04-13 18:41:47 +00:00
Vadim Tryshev e868508211 Merge "Clearer diag for visible keyguard" into sc-dev am: 4a4eac8e6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14166235

Change-Id: Id8470881ca99c989713572f635b0ffc2236b3747
2021-04-13 18:24:55 +00:00
Vadim Tryshev 4a4eac8e6c Merge "Clearer diag for visible keyguard" into sc-dev 2021-04-13 18:00:09 +00:00
Tony Wickham 81f8175ab1 Move taskbar to be closer to QSB
- Offset taskbar to be halfway between QSB and bottom of the screen.
- Add taskbar translationY state property to animate when going
  between launcher and an app.
- Draw the taskbar background in TaskbarContainerView instead of
  TaskbarView so it stays pinned to the bottom as TaskbarView
  translates up. If we want to have a background behind the
  taskbar on home, this should move back to TaskbarView so that
  the drawing can be shared by mTaskbarViewOnHome.

Test: visually on home screen, translates when entering and
exiting an app

Bug: 182981881
Bug: 171917176
Change-Id: I44f8b2c770074f7f015dcccbc2befd3453811193
2021-04-13 10:10:54 -07:00
Vinit Nayak d8ad6b25f4 Make RotationTouchHelper singleton to report single rotation state
Multiple instances of RotationTouchHelper were being
created and reporting conflicting and incorrect information
to sysui for current quickswitch state.

Bug: 183897242
Test: Ensure quickswitch gestures work as expected.
Change-Id: Ia8716f2b597033e9e81291e0b4490119c30ad972
2021-04-13 09:35:23 -07:00
Alina Zaidi fbbbb853cc Merge "Fix UI bugs for widget picker search." into sc-dev am: df9582e559
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14167727

Change-Id: Ia714fbf0f6d9e503430829654298e7f054ceecb5
2021-04-13 16:33:14 +00:00
Pedro Loureiro 497c2b1ede Merge "Add lint baseline to address NewApi errors" into sc-dev am: 18260ccba0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13815951

Change-Id: Idce936306b596cc86b1fed81e933c359ff32848b
2021-04-13 16:31:20 +00:00
Alina Zaidi 120d6476f6 Add education tip to widget picker.
A tip is shown on the first widget/shortcut in the recommended table.
If there are no recommended widgets, a tip is shown on first widget
in an expanded header.

There is a delay of few milliseconds, to let the WidgetCells be
completely rendered on screen before getting their location.

Test: Manually tested
Bug: 184920163
Change-Id: I2637e84e7fc467b27888023434e3578a4b8ed4d6
2021-04-13 16:47:04 +01:00
Alina Zaidi df9582e559 Merge "Fix UI bugs for widget picker search." into sc-dev 2021-04-13 15:42:34 +00:00
Pedro Loureiro 18260ccba0 Merge "Add lint baseline to address NewApi errors" into sc-dev 2021-04-13 14:12:42 +00:00
TreeHugger Robot 27a2cc7f34 Merge "Adding support for customize highlight region in preference" into sc-dev am: 1ea2f0e045
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14113808

Change-Id: I49b694b6cb3553ea326a575383a1b52ac88fea43
2021-04-13 12:37:04 +00:00
TreeHugger Robot 1ea2f0e045 Merge "Adding support for customize highlight region in preference" into sc-dev 2021-04-13 11:17:15 +00:00
Alina Zaidi 1ccd7efaf0 Fix UI bugs for widget picker search.
- Mirror search icon in RTL (b/184162989)
- Fix spacing between edit text and cancel button, to make it consistent
with space between search icon and edit text. (b/183602001)
- Scroll to top on every search result. (b/183602001)
- Fix keyboard overlap on orientation change. This is fixed by clearing
text on edit text differently (b/184048899)

Test: Manually tested
Bug: 184162989
Bug: 183602001
Bug: 184048899
Change-Id: I72ed51e1968a55a3105bd8b389d1bbd74d50d8af
2021-04-13 10:41:18 +01:00
Sunny Goyal 76e8fdc2bc Adding support for customize highlight region in preference
> Also fixing notification dots setting not getting highlighted

Bug: 184747760
Test: Manual
Change-Id: Ic9c2bfbb9750bed60afc14e824181f650c8cff33
2021-04-13 06:06:22 +00:00
vadimt a9665751a0 Clearer diag for visible keyguard
Test: presubmit
Bug: 179508881
Change-Id: I69f2e766701e77d927169b570d2dad0bf8d4c75a
2021-04-12 20:00:45 -07:00
Jonathan Miranda 01a2ba47a6 Merge "Add BubbleTextHolder interface." into sc-dev am: e3cd4832e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14161804

Change-Id: Iaebf28f040f70ccaa240516bc96d0ba9ebee9807
2021-04-13 00:32:02 +00:00
Jonathan Miranda e3cd4832e1 Merge "Add BubbleTextHolder interface." into sc-dev 2021-04-13 00:18:28 +00:00
TreeHugger Robot 769a9c07be Merge "Handle transitining out of overview more gracefully for 3P launchers" into sc-dev am: 9bb040ec6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14142323

Change-Id: I2d2f4cde17a0bbd19a537a4d3b17b280d330ddc9
2021-04-12 23:21:33 +00:00
Tony Wickham be282e9bc8 Update taskbar to add extra hotseat items instead of recent apps
Removes recents-related code including the divider between it and
hotseat.

Test: manually on device

Fixes: 184366189
Bug: 184789479
Bug: 171917176
Change-Id: I7776c98659ded70f53a49befddcd23c8353c6440
2021-04-12 16:20:18 -07:00
Tony Wickham b87f3cdc1c Add support for having more hotseat icons in the DB than we show
Split InvariantDeviceProfile#numHotseatIcons into two variables:
numDatabaseHotseatIcons and numShownHotseatIcons. These are generally
the same, but different DisplayOptions within the same GridOption
can choose to show different numbers of hotseat icons while sharing
the same database.

numDatabaseHotseatIcons is used for all reading/writing/migrating
purposes, while numShownHotseatIcons determines how many Hotseat
icons to show in the UI.

Test: Existing tests pass, added two new migration tests
Bug: 184789479
Bug: 171917176

Change-Id: I54583504f61a47a4444b6a637ebb7e3ab31528b7
2021-04-12 16:08:15 -07:00
TreeHugger Robot 9bb040ec6d Merge "Handle transitining out of overview more gracefully for 3P launchers" into sc-dev 2021-04-12 22:41:36 +00:00
Steven Ng 8157bb4faf Merge "Set width & height of app icons in all widgets tray to 48dp" into sc-dev am: 484b34bf28
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14139566

Change-Id: I9aee46f0ed6251b265354dbecea1660789df9bc8
2021-04-12 22:18:38 +00:00
Steven Ng 484b34bf28 Merge "Set width & height of app icons in all widgets tray to 48dp" into sc-dev 2021-04-12 21:31:50 +00:00
TreeHugger Robot 98401f4891 Merge "Restore drag&drop from WidgetsBottomSheet" into sc-dev am: 5427fa7b80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14141529

Change-Id: I1b4ca1aca46be6d290a32187b11eef447530b353
2021-04-12 19:48:42 +00:00
TreeHugger Robot 5427fa7b80 Merge "Restore drag&drop from WidgetsBottomSheet" into sc-dev 2021-04-12 19:15:20 +00:00
Pedro Loureiro 1e296c10cf Add lint baseline to address NewApi errors
We are enabling a new lint check where the min sdk != compile sdk.
It has produced a lot of errors and adding the baseline file(s)
allows us to continue work without introducing more problems.

Bug: 150847901

Test: m lint-check
Change-Id: I827a5b21dd52448d4f68da6743a1a1632d99573d
2021-04-12 19:36:17 +01:00
Evan Rosky 4548b5cb45 Merge "Changes to use new startTasks API" into sc-dev am: 5ecf5717b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13833147

Change-Id: I621bf236cf03b6ee85dc2499dd3f0742e4448058
2021-04-12 17:21:30 +00:00
Vinit Nayak 58dfd4d209 Handle transitining out of overview more gracefully for 3P launchers
Bug: 183897242
Test: Tested with Pixel Custom Launcher, as suggested on the bug
Change-Id: I46ceddb9f5eed6b16b7e66406dd68d94e7a30aee
2021-04-12 10:21:14 -07:00
Steven Ng 96d719b60f Merge "Add a widget conversations category for grouping widgets in the picker" into sc-dev am: 1d8090ef61
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14129146

Change-Id: I32f54670f9a8db3bb24bef2a8b064c00c02c79c2
2021-04-12 17:20:10 +00:00
Jon Miranda 92f130fdf5 Add BubbleTextHolder interface.
Bug: 184817903
Test: manual, verify correct app open animation
Change-Id: I3723922aff5c71ae6ec7340d3c00cffef7b010b8
2021-04-12 13:12:58 -04:00
Evan Rosky 5ecf5717b5 Merge "Changes to use new startTasks API" into sc-dev 2021-04-12 16:57:55 +00:00
Steven Ng 1d8090ef61 Merge "Add a widget conversations category for grouping widgets in the picker" into sc-dev 2021-04-12 16:38:36 +00:00