Commit Graph
47938 Commits
Author SHA1 Message Date
Bob Badour 8824a5cd61 Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" am: 541d0855ac am: 3be35ec269
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1587746

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I21ee4a4ccd42b0bdbc3e20121b5d53c9067e8cf2
2021-02-24 22:58:35 +00:00
Andy Wickham faaba8aaa5 Merge "Changes ENABLE_SMARTSPACE_ENHANCED to be a DeviceFlag." into sc-dev am: 39ba7604b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13680611

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib851aed3189ef47d618c2149e2aac9d4ac1327f0
2021-02-24 22:57:07 +00:00
Steven Ng 44157fcd64 Merge "Replace horizontal ScrollViews with tables in the full widgets picker" into sc-dev am: fb853435f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13666345

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8d099ce171876307b321c77af61ab49db2c436a1
2021-02-24 22:55:39 +00:00
Andy Wickham 39ba7604b0 Merge "Changes ENABLE_SMARTSPACE_ENHANCED to be a DeviceFlag." into sc-dev 2021-02-24 22:42:08 +00:00
Bob Badour 3be35ec269 Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" am: 541d0855ac
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1587746

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icc96bfa8a3d59a19194a154baeaffaea1281af0a
2021-02-24 22:25:46 +00:00
Steven Ng fb853435f4 Merge "Replace horizontal ScrollViews with tables in the full widgets picker" into sc-dev 2021-02-24 22:22:31 +00:00
Steven Ng fdeee141d9 Replace the no preview layout check with Resources.ID_NULL(0)
TODO: open up the RemoteViews(ApplicationInfo) API so that Launcher
      can inflate a layout from a work profile app.

Test: Before this CL, install tasks app in work profile. Observed
      crash when tapping Tasks header in the widgets picker.
      After this CL, no crash observed when tapping Tasks header in
      the widgets picker.

Bug: 181061277
Change-Id: I16c2b9aec5f4cabf15da35fea09f68c10797f5fa
2021-02-24 22:01:06 +00:00
Samuel Fufa 1956fe12f4 Merge "Restore divider between app predictions and apps" into sc-dev am: 226c4af911
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13688192

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6f3e40115237de5c6c119b2a16028f1cc664369d
2021-02-24 21:55:34 +00:00
Samuel Fufa dfbb2a4883 Merge "Restore divider between app predictions and apps" into sc-dev am: 226c4af911
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13688192

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6b3b2e112096545a7b20f704a0633cb7fdfffbbe
2021-02-24 21:54:15 +00:00
thiruram 7edecfd82c [AA+] Use different launcher event to log all apps entry with device search. am: 9f53d61334
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13689925

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2821ae3737018c744cafd3215bb7153dcebd090c
2021-02-24 21:54:00 +00:00
thiruram 5ad2a19b0f [AA+] Use different launcher event to log all apps entry with device search. am: 9f53d61334
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13689925

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id6a239dd5acc9d9a56ef6f68c38c6d00b3398a0f
2021-02-24 21:52:32 +00:00
Samuel Fufa 226c4af911 Merge "Restore divider between app predictions and apps" into sc-dev 2021-02-24 20:50:10 +00:00
Pierre Barbier de Reuille b2526feb24 Launcher changes for go/widget-size-specification
Makes sure the launcher:

1 - Send the list of actual sizes the widget in all situations.
2 - Gives the current size to the framework on inflation.

Also needed to guard the new border changes introduced in
http://ag/13532637 with the corresponding flag.

Change-Id: I2a33e9501b921f2fc393684e8ce91ee077626bf7
Test: By hand using a local widget.
Bug: 179025145
2021-02-24 20:40:41 +00:00
Steven Ng e8d92342fa Replace horizontal ScrollViews with tables in the full widgets picker
Test: Run gnl test, AddWidgetTest
      Run Robolectric tests for widgets
      Manual test video: https://drive.google.com/file/d/1uwCtVNIlC9150kv5eEfILfP5r5M7ARYm/view?usp=sharing

Bug: 179797520
Change-Id: I2f4cdf84338a91b63967879d0c9268c312ace19b
2021-02-24 19:49:15 +00:00
Bob Badour 541d0855ac Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" 2021-02-24 19:19:03 +00:00
thiruram 9f53d61334 [AA+] Use different launcher event to log all apps entry with device search.
Bug: 178562918
Test: Manual
Change-Id: I56357e871dd57257ccd56a073cccc7e38529c6c6
2021-02-24 10:57:20 -08:00
Tony Wickham 3c7c896404 Merge "Ensure taskbar visibility callbacks are called in init()" into sc-dev am: 2fb22af840
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13666594

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I71323f71c3cfad4fe87facb40b8c2957cbfb1308
2021-02-24 17:54:29 +00:00
Tony Wickham 3c4138b226 Merge "Ensure taskbar visibility callbacks are called in init()" into sc-dev am: 2fb22af840
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13666594

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I25dba17d085cc0d6996b32837240664237ee74be
2021-02-24 17:53:59 +00:00
Tony Wickham ab35fe92fa Merge "Make RecentsView INVISIBLE instead of GONE" into sc-dev am: 7801bf68d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13680030

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib199e30d30a0efc0617843fba2f88cc4f21866e7
2021-02-24 17:52:48 +00:00
Tony Wickham 9aa26dbcef Merge "Make RecentsView INVISIBLE instead of GONE" into sc-dev am: 7801bf68d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13680030

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I80d698a130beb0d29b54c3cf409e2bd7b58cff20
2021-02-24 17:52:14 +00:00
Tony Wickham 2fb22af840 Merge "Ensure taskbar visibility callbacks are called in init()" into sc-dev 2021-02-24 17:16:45 +00:00
Tony Wickham 7801bf68d1 Merge "Make RecentsView INVISIBLE instead of GONE" into sc-dev 2021-02-24 17:15:58 +00:00
Samuel Fufa b984cf7fa6 Restore divider between app predictions and apps
Screenshot: https://screenshot.googleplex.com/89jJLU3JXV8tRXM
Bug: 180017741
Test: Manual
Change-Id: Iab1764fe94340f120770054cf5a59bd3ed9e45a4
2021-02-24 10:31:57 -06:00
Samuel Fufa 730d8c73f3 Merge "Break up nasa search results" into sc-dev am: c7d72e55ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13651719

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iacfd218f8681ce5d8485491054deb21f969bce9a
2021-02-24 14:05:21 +00:00
Samuel Fufa 6d22fd8cf1 Merge "Break up nasa search results" into sc-dev am: c7d72e55ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13651719

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I94435fa7bc614a2853f6e6eff6e9cd6708a01a99
2021-02-24 14:05:17 +00:00
Samuel Fufa d55222347b Merge "Allow badging with ComponentNames" into sc-dev am: c2da3c60fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13662265

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1010cba02a255104915e625df062239b32c68610
2021-02-24 14:04:41 +00:00
Samuel Fufa 87bf69bfbb Merge "Allow badging with ComponentNames" into sc-dev am: c2da3c60fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13662265

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifbebf13e24eae9e86bd1047862f578b6e383cf50
2021-02-24 14:04:38 +00:00
Samuel Fufa c7d72e55ec Merge "Break up nasa search results" into sc-dev 2021-02-24 13:39:12 +00:00
Samuel Fufa c2da3c60fe Merge "Allow badging with ComponentNames" into sc-dev 2021-02-24 13:38:49 +00:00
Andy Wickham f480a87423 Changes ENABLE_SMARTSPACE_ENHANCED to be a DeviceFlag.
This lets us toggle it server-side.

Bug: 181077020
Test: Manually toggled using
adb shell device_config put launcher ENABLE_SMARTSPACE_ENHANCED true

Change-Id: I5172bf6f977729f4c1c813b1eaba3b8b34bfc44e
2021-02-23 21:57:55 -08:00
Sreyas 25992f12e5 Fix DWB cutting off above inset when translating down.
Bug: 180979788
Test: Manual
Change-Id: I08577db4149b339fa217cab6401250a3fca10e65
2021-02-23 19:10:47 -08:00
android-build-team Robot d98770a978 Snap for 7166403 from 1408c6459c to sc-v2-release
Change-Id: Ib2b239c22fc6136badcc59a52b20906c57c4a6f7
2021-02-24 02:08:54 +00:00
android-build-team Robot c98ebc32ef Snap for 7166403 from 1408c6459c to sc-release
Change-Id: I820cd0351ac9ce012f794de0326353f7feaf8dad
2021-02-24 02:08:24 +00:00
Tony Wickham 752ebfcef2 Ensure taskbar visibility callbacks are called in init()
We're initializing the correct values, but the callback only runs if
the value is different than the default value of 0. Thus we weren't
updating the visibility according to the value 0 in init().

Test: Initialize taskbar while launcher is resumed
Fixes: 180103543
Change-Id: I3f754cac59e2bd5ad542de050e8b4c3146d5eebf
2021-02-23 17:08:40 -08:00
Tony Wickham 29016e8e46 Make RecentsView INVISIBLE instead of GONE
This ensures it gets laid out to compute things like page scrolls.

Test: Repro steps to both bugs below
- Force stop launcher, swipe up slightly, hold, and let go to return
  to the current task; ensure no jumps or jank
- Force stop launcher, swipe up and hold to go to Overview, ensure
  no jump on motion pause

Fixes: 180736503
Fixes: 175064755
Change-Id: I44581f87600b02a3c9ddefcb8c94bb3845cd9152
2021-02-23 17:02:36 -08:00
Sreyas Rangaraju d04f07d259 Merge "ShareTargets animations and styling." into sc-dev am: 1408c6459c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13555898

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I348be0eaecac0c014c05b26b1aab7122b1594bff
2021-02-23 22:11:21 +00:00
Sreyas Rangaraju facd274f18 Merge "ShareTargets animations and styling." into sc-dev am: 1408c6459c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13555898

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3845b47ad61b0d7035886b548aee47ea0e38235b
2021-02-23 22:10:33 +00:00
Sreyas Rangaraju 1408c6459c Merge "ShareTargets animations and styling." into sc-dev 2021-02-23 21:15:53 +00:00
Lucas Dupin 911bdfe1fb Merge "Overlay property instead of style" into sc-dev am: 85df1c291f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13666592

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I19e3daadc9f46f53170c0d2a7221c22af2f2b41e
2021-02-23 19:37:41 +00:00
Lucas Dupin abe1fff866 Merge "Overlay property instead of style" into sc-dev am: 85df1c291f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13666592

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If4cc85d8f23d1a88866b7ce2eb0ad4358799bc84
2021-02-23 19:37:01 +00:00
Lucas Dupin 85df1c291f Merge "Overlay property instead of style" into sc-dev 2021-02-23 19:10:12 +00:00
Vadim Tryshev 732e9c395c Merge "Instrumenting swiping up to all apps for jank" into sc-dev am: 06df8d7262
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13536203

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0ec9119e2438f3e9630bf40b5dc27798ab473183
2021-02-23 19:01:14 +00:00
Vadim Tryshev df12e20e94 Merge "Instrumenting swiping up to all apps for jank" into sc-dev am: 06df8d7262
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13536203

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id700d71b56ee79949544c3d28f1a4ac14acfcb6d
2021-02-23 19:01:07 +00:00
Samuel Fufa 85dfc2e032 Allow badging with ComponentNames
Bug: 180909579
Test: Manual
Change-Id: I2ee6dc2edb97ef0eb2470e7b7e8f849d451a77dd
2021-02-23 12:48:37 -06:00
Vadim Tryshev 06df8d7262 Merge "Instrumenting swiping up to all apps for jank" into sc-dev 2021-02-23 18:32:23 +00:00
Steven Ng 87c221d939 Merge "Add personal / work tabs for work profile widgets" into sc-dev am: 6936040def
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13618025

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifd04715cf72fa1da5ace8946d0a20ef9f71a4e72
2021-02-23 11:45:40 +00:00
Steven Ng b1d345c6ca Merge "Add personal / work tabs for work profile widgets" into sc-dev am: 6936040def
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13618025

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia8b8295be48cccbc013066d9a30eb97f8701229d
2021-02-23 11:45:25 +00:00
Xin Li 897fec0106 [automerger skipped] Merge ab/7061308 into stage. am: d7927e46dc -s ours am: 6b965bbd7f -s ours am: aec90be631 -s ours
am skip reason: Change-Id Ib590035a7b3f124b2a767279623d51bc8c0dbd18 with SHA-1 dc0b212582 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13658527

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib42cf46920d181a79181cc6b7e4482ae884c576c
2021-02-23 11:35:15 +00:00
Xin Li 1a09e4072c [automerger skipped] Merge ab/7061308 into stage. am: d7927e46dc -s ours am: 6b965bbd7f -s ours am: aec90be631 -s ours
am skip reason: Change-Id Ib590035a7b3f124b2a767279623d51bc8c0dbd18 with SHA-1 dc0b212582 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13658527

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8f0093cb1325c4ad83bdea43d2f9c8d58386be51
2021-02-23 11:30:41 +00:00
Steven Ng 6936040def Merge "Add personal / work tabs for work profile widgets" into sc-dev 2021-02-23 10:58:35 +00:00