Commit Graph
31095 Commits
Author SHA1 Message Date
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 c2da3c60fe Merge "Allow badging with ComponentNames" into sc-dev 2021-02-24 13:38:49 +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 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 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
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 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 d0ab1a0eed [AA+] Add WW logging for Slice actions.
Bug: 178562918
Test: Manual
Change-Id: I515ee3c0990dea2c30e68d5919568dc1773912ee
2021-02-22 20:07:29 -08: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
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
Lucas Dupin 3cdc6f86af Overlay property instead of style
Overlaying the whole style with sw720dp will override dark theme styles.
Let's instead define the attribute that needs to be different and put it
in a config xml.

Test: set smallest width to 720, flip to dark theme
Fixes: 180003967
Change-Id: I423f3401b612e7e87a63f3f14f972b9d863d8a17
2021-02-22 16:34:51 -08:00
Tony Wickham 18277e9cf2 Merge "Increase taskbar size to match latest specs" into sc-dev am: f3b8797f77
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13664419

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib04100b7c442426d889eeb0ae88448fa11ac88d2
2021-02-23 00:17:38 +00:00
Tony Wickham f3b8797f77 Merge "Increase taskbar size to match latest specs" into sc-dev 2021-02-22 23:51:04 +00:00
thiruram 221cad0d7e [AA+] Log tap on SearchActionItem. am: f8f2a6ed0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13630035

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1236c4f08efcc28199bc0c89948a8bfb15c611ca
2021-02-22 23:09:46 +00:00
thiruram f8f2a6ed0a [AA+] Log tap on SearchActionItem.
Bug: 178562918
Test: Presubmit
Change-Id: I42a44de4f3cc02ca331c4f99c107891c4658995d
2021-02-22 22:39:41 +00:00
Hyunyoung Song b385d08acb When in search mode, do not refresh rescycler view, on package update am: 1739c5c68e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13659174

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I89f2207be9d9829cb728b7989d66c59c3843f7d3
2021-02-22 22:30:28 +00:00
Tony Wickham 40fbc96a0a Increase taskbar size to match latest specs
Test: Ran it locally, verified it looked as expected
Bug: 171917176
Change-Id: I8a467db57b579f1ad29d2108927eef3bd10b273a
2021-02-22 11:59:43 -08:00
Steven Ng 391404fcb7 Add personal / work tabs for work profile widgets
Video: https://drive.google.com/file/d/1TORRNcvVM7fIvNd_WZaajLbI7D9z4VFA/view?usp=sharing


Test: Main profile only: run AddConfigWidgetTest.
      With work profile: manually launch the full widgets sheet.
      Go to the personal tab: only personal widgets are shown.
      Go to the work tab: only work widgets are shown
      Successfully add personal / work widgets from the full widgets
      sheet.

Bug: 179797520

Change-Id: Iad8b90c2af35e0580319d7a05510ec88e4f8b86c
2021-02-22 16:10:09 +00:00
Hyunyoung Song 1739c5c68e When in search mode, do not refresh rescycler view, on package update
Bug: 180570580
Test: manual

TL;DR;; when new app install happens in search mode, no reset
when new app install happens in a-z mode, recycler view refreshes

Change-Id: I8a6bf327ecd3dbef4837eca560f10016731b78e0
2021-02-22 02:32:23 -08:00
Xin Li d7927e46dc Merge ab/7061308 into stage.
Bug: 180401296
Merged-In: Ib590035a7b3f124b2a767279623d51bc8c0dbd18
Change-Id: I5cf1081160fac6f8450261bf8af9d118db2cf194
2021-02-21 09:25:10 -08:00
Hyunyoung Song a312772d90 Merge "Add group highlighting to AA+ result" into sc-dev am: dfdeddc66a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13597046

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8a3df0f65885084f9ea5c852ff354a821b98347f
2021-02-19 21:03:10 +00:00
Hyunyoung Song dfdeddc66a Merge "Add group highlighting to AA+ result" into sc-dev 2021-02-19 20:48:37 +00:00
TreeHugger Robot c0a1467369 Merge changes Id68b6c37,I16d39d3e into sc-dev am: aa14b19725
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13617907

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I651d4778d6d41a18115eaf15aede6c7ee29d62a6
2021-02-19 19:32:44 +00:00
TreeHugger Robot aa14b19725 Merge changes Id68b6c37,I16d39d3e into sc-dev
* changes:
  Fix a couple of crashes when taskbar isn't yet attached
  Subtract taskbar size from DeviceProfile#availableHeight
2021-02-19 19:01:38 +00:00
Steven Ng a15803544a Merge "Extract common codes for personal / work profile tabs" into sc-dev am: 4236451069
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13601385

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic326b63e684d7d6b9371c277085577ac94f4917f
2021-02-19 18:19:37 +00:00
TreeHugger Robot 00901907be Merge "Update popup container to match spec." into sc-dev am: fed6b8cb5c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13618200

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie3763fcb6b0191aa12837d39f2215999c60ca111
2021-02-19 18:19:29 +00:00
Steven Ng 4236451069 Merge "Extract common codes for personal / work profile tabs" into sc-dev 2021-02-19 18:10:48 +00:00
TreeHugger Robot fed6b8cb5c Merge "Update popup container to match spec." into sc-dev 2021-02-19 17:40:01 +00:00
Steven Ng 6f55611831 Merge "Render preview layout in full widgets sheet and bottom widgets sheet" into sc-dev am: 36322d8621
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13555705

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2ac398e82be392867e609263a986d5f05a9cdf11
2021-02-19 10:52:39 +00:00
Steven Ng 36322d8621 Merge "Render preview layout in full widgets sheet and bottom widgets sheet" into sc-dev 2021-02-19 10:31:19 +00:00
TreeHugger Robot f7f6552fee Merge "Always loading high-res icon for apps." into sc-dev am: 4e50f9915c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13617920

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifa7fbb2b00e31346a0d53bb8830e355802726d5b
2021-02-19 03:15:40 +00:00
TreeHugger Robot 4e50f9915c Merge "Always loading high-res icon for apps." into sc-dev 2021-02-19 03:00:45 +00:00
thiruram aefc7c81cb Replace Optional.ifPresent with simple if clause. am: 4c45d5f1eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13618747

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2b8034c1b2b670c4dcce1d408f4f8d4ff2d9d48e
2021-02-19 02:56:51 +00:00
Tony Wickham 786dd93f2b Fix a couple of crashes when taskbar isn't yet attached
- Handle back to back addTaskbarIfNecessary(). Specifically, handle
  cleanup() before the previous add was attached. This is already
  handled on WM side, just had to remove isAttachedToWindow() check.
- Add isAttachedToWindow() check to isViewInTaskbar()

Test: call addTaskbarIfNecessary() three times back to back, ensure no crash.

Fixes: 180509238
Bug: 171917176
Change-Id: Id68b6c376029eb5c651f47afa56666391c516aef
2021-02-18 15:40:33 -08:00
thiruram 4c45d5f1eb Replace Optional.ifPresent with simple if clause.
Bug: 178562918
Test: Manual
Change-Id: Icb8f07f276555aaf43ee29bf33f995c3bb446f69
2021-02-18 22:21:45 +00:00
Alex Chau 67a3f2a0e0 Merge "Use PersistedTaskSnapshotData to calculate TaskView size" into sc-dev am: 0bd7c9bf46
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13562502

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I312820b774cfdc0a946216e9c50e3d787d7809ff
2021-02-18 21:42:31 +00:00
Alex Chau 0bd7c9bf46 Merge "Use PersistedTaskSnapshotData to calculate TaskView size" into sc-dev 2021-02-18 21:15:10 +00:00
Tony Wickham 15883891ea Subtract taskbar size from DeviceProfile#availableHeight
Normally availableHeight excludes system insets, but taskbar is added
after availableHeight is calculated. This discrepency causes some bad
calculations such as TaskView size.

Test: touch nav bar when in an app with taskbar present, ensure the
task doesn't jump due to incorrect calculation

Fixes: 179478728
Bug: 171917176
Change-Id: I16d39d3e1d9708e2a64c81b1ac24466f9567d1b9
2021-02-18 11:39:10 -08:00
Jon Miranda cabc13a376 Update popup container to match spec.
Bug: 175329686
Bug: 178935485
Test: manual
Change-Id: Ia7507bd4dd6c6db0cdd6a29a0c1d0695aae7d488
2021-02-18 14:11:41 -05:00
Sunny Goyal 13f656e15e Always loading high-res icon for apps.
Low res support will be completely removed in a followup cl

Bug: 179962824
Test: Verified on device
Change-Id: Ibb19d1892bfcdf5d26178e807f54f40462704e33
2021-02-18 10:09:31 -08:00