Commit Graph
49925 Commits
Author SHA1 Message Date
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
Xin Li aec90be631 [automerger skipped] Merge ab/7061308 into stage. am: d7927e46dc -s ours am: 6b965bbd7f -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: I9c9fcb1ba347d19f9cdc44f14f0dc56bc75575d4
2021-02-23 10:34:18 +00:00
Xin Li 6b965bbd7f [automerger skipped] Merge ab/7061308 into stage. am: d7927e46dc -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: I7c95710f428c920c0c43d7cea1429224b86c63cc
2021-02-23 09:05:04 +00:00
thiruram 1be2357218 [AA+] Add WW logging for Slice actions. am: d0ab1a0eed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13612485

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I408902c514a56da102901cd9471adfa7e724853c
2021-02-23 05:58:34 +00:00
thiruram 59ee2ed28b [AA+] Add WW logging for Slice actions. am: d0ab1a0eed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13612485

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iaa21b2685ebf560737acc409ca8510309283edd8
2021-02-23 05:58:23 +00:00
thiruram 84152b0327 [AA+] Log additional UI events with Launcher snapshot logging. am: 97710ffbb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13658540

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9aa3d110a120461dc57e50b3f9b04c6e4c58a54b
2021-02-23 04:32:49 +00:00
thiruram bb3b99bb19 [AA+] Log additional UI events with Launcher snapshot logging. am: 97710ffbb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13658540

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib8d81e013c87bdbc26bf031c8ed6a2b09b4e4852
2021-02-23 04:32:03 +00:00
thiruram d0ab1a0eed [AA+] Add WW logging for Slice actions.
Bug: 178562918
Test: Manual
Change-Id: I515ee3c0990dea2c30e68d5919568dc1773912ee
2021-02-22 20:07:29 -08:00
thiruram d71257c902 [AA+] Skip title logging when search result type is PEOPLE. am: b8bb677616
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13666593

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0617cfcca7ad6d79807f95c367083a2908ea9ed8
2021-02-23 03:11:15 +00:00
thiruram 5fcd1a6946 [AA+] Skip title logging when search result type is PEOPLE. am: b8bb677616
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13666593

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I307726679afd3ccda898ee5bdf5a1e8feb7fbb19
2021-02-23 03:10:56 +00:00
thiruram 97710ffbb2 [AA+] Log additional UI events with Launcher snapshot logging.
Bug: 180418845
Test: Manual
Change-Id: I74ab1faafe6c21a8fbf6992a8aebe918cc31d85e
2021-02-23 02:59:43 +00:00
android-build-team Robot d3bd6ea109 Snap for 7163567 from f8f2a6ed0a to sc-release
Change-Id: I093d53cf6ccfc523910cf78d1404bf14820203a5
2021-02-23 02:09:15 +00:00
android-build-team Robot 2170b335d4 Snap for 7163567 from f8f2a6ed0a to sc-v2-release
Change-Id: I888a59b877b7cb4348953287ced155df92380724
2021-02-23 02:08:46 +00:00
thiruram b8bb677616 [AA+] Skip title logging when search result type is PEOPLE.
Bug: 178562918
Test: Manual
Change-Id: Ia2fb8018efcdfb6ad947c590d559094cb460ce83
2021-02-22 17:10:38 -08:00