Commit Graph
30917 Commits
Author SHA1 Message Date
Adam Cohen d71cbeea99 Merge "Draw the workspace scrim in the LauncherRootView instead of DragLayer" into sc-dev am: 12e547f2a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13463974

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ife11e4b17a1287979ee5612ec651654c405311eb
2021-02-10 23:44:21 +00:00
thiruram f2029b13f9 Fix to avoid NPE with LiveSearchManager. am: 91d4f9f007
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13546785

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I53df2876913b11f892c05df0b0b824b4ce99967a
2021-02-10 23:44:05 +00:00
Adam Cohen 12e547f2a8 Merge "Draw the workspace scrim in the LauncherRootView instead of DragLayer" into sc-dev 2021-02-10 23:33:06 +00:00
thiruram 91d4f9f007 Fix to avoid NPE with LiveSearchManager.
Bug: 179911188
Test: manual
Change-Id: Ic7f8ae7f7e2795eb18569670e166310102b7ea02
2021-02-10 23:24:32 +00:00
TreeHugger Robot 4f2559ea0b Merge "Update TaskIcon UI." into sc-dev am: 99f23c9714
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13538913

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0354ef9f66e32a3dd8983b437ddd4fc29d53ada4
2021-02-10 22:22:46 +00:00
TreeHugger Robot 99f23c9714 Merge "Update TaskIcon UI." into sc-dev 2021-02-10 22:03:30 +00:00
TreeHugger Robot adbb17a838 Merge changes I0e4cedbf,Idfa1b82c into sc-dev am: 16126eedcd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13502882

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id60dcfb6babf292f4e77fe367b87d43910632575
2021-02-10 21:04:56 +00:00
TreeHugger Robot 16126eedcd Merge changes I0e4cedbf,Idfa1b82c into sc-dev
* changes:
  Add instanceId to LAUNCHER_FOLDER_CONVERTED_TO_ICON log event.
  Fixes wrong container for LAUNCHER_ITEM_DROP_COMPLETED log event.
2021-02-10 20:42:50 +00:00
Hongwei Wang 0497f88458 Merge "Support autoEnterPip without source rect hint" into sc-dev am: 0f16e51451
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13524927

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I987db8d924fb5120da80c95c176895a11008d7b2
2021-02-10 20:35:47 +00:00
Hongwei Wang 0f16e51451 Merge "Support autoEnterPip without source rect hint" into sc-dev 2021-02-10 20:03:07 +00:00
Adam Cohen 501e139c6e Draw the workspace scrim in the LauncherRootView instead of DragLayer
=> The entire DragLayer is translated during the -1 transition which creates a janky looking edge at the top of the screen

=> By bumping the scrim up a level, we avoid this

=> Separated WorkspaceAndHotseatScrim into two separate scrims, since only part of the scrim needed to be bumped up to a level. Further, it was an overloaded class.

=> We had previously been implicitly relying on the fact that the scrim was rendered in the Workspace parent; we need to make sure to propagate workspace inavlidations to the container of the scrim. While things would still work without this change, it's more correct to leave it, as we no longer assume a hierarchy for functinoality.

Bug: 178215332

Test: manual verification. See video in bug.

Change-Id: I0a76ddf35ceea8c9635367f69380ef24f42e9479
2021-02-10 19:16:26 +00:00
thiruram 10ad8daffd [AA+] Log DeviceSearchResultContainer.QueryLength as cardinality field of statsd am: ea826f87d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13521886

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I79a20da6900b669ac9a3447cb897befd1d405e5a
2021-02-10 18:32:35 +00:00
thiruram 69196d5880 [AA+] Add LAUNCHER_ALLAPPS_SWITCHED_TO_WORK_TAB & LAUNCHER_ALLAPPS_SWITCHED_TO_MAIN_TAB events. am: 9aac07e87d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13496878

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6e41cc788c691c87cc07e240d051019d1bc1c777
2021-02-10 18:31:52 +00:00
thiruram 03f8dcb8a4 Add instanceId to LAUNCHER_FOLDER_CONVERTED_TO_ICON log event.
Bug: 179534152
Change-Id: I0e4cedbfc2310258ec83f5dd756f8eb71189206b
2021-02-10 10:31:24 -08:00
thiruram 7823402ec9 Fixes wrong container for LAUNCHER_ITEM_DROP_COMPLETED log event.
Bug: 179532038
Change-Id: Idfa1b82c35338a7472ff80d94fb20c69e498a028
2021-02-10 10:30:03 -08:00
thiruram ea826f87d1 [AA+] Log DeviceSearchResultContainer.QueryLength as cardinality field of statsd
Bug: 178562918
Change-Id: Iae8ca85d46f127e94fe57f42c5c3397d27393f6c
2021-02-10 18:03:06 +00:00
thiruram 9aac07e87d [AA+] Add LAUNCHER_ALLAPPS_SWITCHED_TO_WORK_TAB & LAUNCHER_ALLAPPS_SWITCHED_TO_MAIN_TAB events.
Bug: 178562918
Change-Id: I6ae1e034dc8fbbca6fa046104ab69c1ec9f4e6da
2021-02-10 18:02:46 +00:00
Becky Qiu f9c62559b6 [Overview Sharing] Pass the full screen progress to task overlay. am: dffbdf861c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13536607

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ied41c607e3b0fcf258e61a05497b0660b74e372e
2021-02-10 05:31:12 +00:00
thiruram 3df56602be [AA+] Add LAUNCHER_ALLAPPS_KEYBOARD_CLOSED event. am: aafa8a44a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13486540

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I653a985980cb85bf81ec83244e35b932697ad437
2021-02-10 03:42:21 +00:00
Becky Qiu dffbdf861c [Overview Sharing] Pass the full screen progress to task overlay.
This is to change the alpha value of the suggest view when user swipe down.

Bug: 179514465
Test: local

Change-Id: Idfa66ff6d9bb43f35f859df828a19e3b47abcd65
2021-02-10 03:07:40 +00:00
Sreyas 4defb4009d Update TaskIcon UI.
Moved TaskView Icon up and removed TaskMenuView Icon.
Screenshot: https://drive.google.com/file/d/1dVJOr_n4hfj7HvqHs3GQY-ZsPFkv3aFP/view?usp=sharing
Bug: 179490926
Test: Manual

Change-Id: I41844901a3e47ec6d6a8bdb6ed1fb7f4524500c4
2021-02-09 18:56:44 -08:00
thiruram aafa8a44a3 [AA+] Add LAUNCHER_ALLAPPS_KEYBOARD_CLOSED event.
Also adds Launcher.allAppsLogger method to simplify AllApps specific user events logging.

Bug: 178562918
Change-Id: I57520fe1504079091f0ff2c4c74268f727ffe14f
2021-02-09 16:45:52 -08:00
Thiru Ramasamy fd9a908a7c Merge "Fixes NPE with LAUNCHER_ALLAPPS_EXIT log event." into sc-dev am: 9012515fef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13532487

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ife252252ec7a5dae8348800c5b1416b110cb8cb7
2021-02-09 23:52:55 +00:00
Sunny Goyal bdec81acea Merge "Deduping multiple prediction UI update calls" into sc-dev am: 1f6b7fcc35
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13496879

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I88c7e485221e4fb232ed372a03b9fd3090e365b1
2021-02-09 23:52:40 +00:00
Thiru Ramasamy 9012515fef Merge "Fixes NPE with LAUNCHER_ALLAPPS_EXIT log event." into sc-dev 2021-02-09 23:37:17 +00:00
Sunny Goyal 1f6b7fcc35 Merge "Deduping multiple prediction UI update calls" into sc-dev 2021-02-09 23:15:37 +00:00
Winson Chung f98c581f17 Merge "Add screen size to touch regions cache." into sc-dev am: ab2739e990
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13519358

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iccbffe254ba097ccc6624fcbfd4370bac6a36dbe
2021-02-09 22:17:46 +00:00
Samuel Fufa f59c60753f Merge "Migrate AA+ Search related files" into sc-dev am: 1d8a2a6e0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13521180

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id4337e6167723d5008705f29ce94c2bb1e7ceaea
2021-02-09 22:16:28 +00:00
Wale Ogunwale ad6ddc1fe1 Merge "Added API to specify if split-screen should exit on hide" into sc-dev am: 6cd63cb4ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13522458

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic88fd96a8a95da171bfa057e25240233b470358a
2021-02-09 22:15:41 +00:00
Sreyas Rangaraju f0bdf8f41f Merge "Updating Chips UI" into sc-dev am: 8eced27076
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13486576

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If28b88f14f473e1a5e7c61529a593bf1a9269a7f
2021-02-09 22:15:20 +00:00
Sunny Goyal 632409e7ec Merge "Removing released features" into sc-dev am: 9fa3a07086
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13468029

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I862290114d5b0bcbb5abe4dd50e99e98138115d5
2021-02-09 22:11:04 +00:00
Winson Chung ab2739e990 Merge "Add screen size to touch regions cache." into sc-dev 2021-02-09 21:30:24 +00:00
Samuel Fufa 1d8a2a6e0d Merge "Migrate AA+ Search related files" into sc-dev 2021-02-09 21:24:37 +00:00
Hyunyoung Song a3a30a9224 Migrate AA+ Search related files
Bug: 179495850
Test: Manual

Change-Id: I32180f14a11eaf72d5d4981e76c2f2ea74472494
2021-02-09 21:23:36 +00:00
Sunny Goyal c402fdaf7b Deduping multiple prediction UI update calls
Bug: 179445858
Test: Manual
Change-Id: I6ad86af247a6d94dcaf45206b3d7fb8c44c602d6
2021-02-09 21:22:26 +00:00
Wale Ogunwale 6cd63cb4ee Merge "Added API to specify if split-screen should exit on hide" into sc-dev 2021-02-09 21:04:38 +00:00
Sreyas Rangaraju 8eced27076 Merge "Updating Chips UI" into sc-dev 2021-02-09 20:06:02 +00:00
Sunny Goyal 9fa3a07086 Merge "Removing released features" into sc-dev 2021-02-09 19:57:18 +00:00
thiruram 61620e7537 Fixes NPE with LAUNCHER_ALLAPPS_EXIT log event.
Bug: 179720471
Test: rnlt -until-error -t com.android.launcher3.ui.TaplTestsLauncher3
Change-Id: Ic8f91092aa060a2225c059a89a33b6877cf35f36
2021-02-09 10:52:11 -08:00
Wale Ogunwale fb674c7d81 Added API to specify if split-screen should exit on hide
Bug: 179176511
Test: presubmits
Change-Id: I6eaecec2ac3fd1bbfbf548078eef525376ddbe72
2021-02-09 07:19:33 -08:00
TreeHugger Robot fd841f42d3 Merge "Enable variable size thumbnail for large screen" into sc-dev am: 823c5f8bf6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13427477

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I45069394207d6b3c338ffcf790ce47393c52999b
2021-02-09 12:33:04 +00:00
TreeHugger Robot 823c5f8bf6 Merge "Enable variable size thumbnail for large screen" into sc-dev 2021-02-09 11:26:33 +00:00
TreeHugger Robot 55c763fa50 Merge "Fix some issues with taskbar" into sc-dev am: e263a44567
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13520675

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I99febca7012f33c488c0d809dceeb54f7d696726
2021-02-09 02:16:11 +00:00
TreeHugger Robot e263a44567 Merge "Fix some issues with taskbar" into sc-dev 2021-02-09 01:34:32 +00:00
Hongwei Wang 4d69fab5c8 Support autoEnterPip without source rect hint
When no source rect hint is specified, autoEnterPip simply scale the
window down to the PiP.

Video: http://rcll/aaaaaabFQoRHlzixHdtY/cdY8k6V9uhJEXyMAKAUA34
Video: http://rcll/aaaaaabFQoRHlzixHdtY/bvodLNGyrIXH8DSvGHehrp
Bug: 179286893
Test: manual in ApiDemos app, see video
Change-Id: Ife4f1a56ddfd61c13383da9a1066e3d8b4a2181c
2021-02-08 16:55:15 -08:00
Steven Ng 51bd90c9fe Merge "Update Robolectric SDK to 30" into sc-dev am: 67937ce149
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13519368

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iaa93e6e7505d0703f16c31774e4e824471a9a9f5
2021-02-08 23:41:44 +00:00
Steven Ng 67937ce149 Merge "Update Robolectric SDK to 30" into sc-dev 2021-02-08 23:04:01 +00:00
thiruram aa668c5ea3 [AA+] Fixes wrong container for LAUNCHER_ITEM_DROP_COMPLETED log event. am: 73821a9c6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13501152

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If935801dfc999849955a3214f89cc0223f285f89
2021-02-08 22:08:56 +00:00
thiruram 515c1eb79a [AA+] Add QueryLength to DeviceSearchResultContainer. am: 43b1d40918
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13486574

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If62667485bfc6b92e8db9f0455027f410c1b0274
2021-02-08 22:08:54 +00:00
Tony Wickham afd0d81a70 Fix some issues with taskbar
- Update Hotseat items in init() to ensure they are reloaded
- Don't update Recent items if we get the new tasks after cleanup()

Test: Fold and unfold, ensure Taskbar disappears/reappears without
crashing

Bug: 171917176
Change-Id: I1c2ae1022ae56cddece655b22db187684f691bf8
2021-02-08 21:54:01 +00:00