Commit Graph
30943 Commits
Author SHA1 Message Date
Zak Cohen 070af20e26 Merge "Remove elevation from Task in Overview." into sc-dev am: fe7fb09b90
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13547665

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4c50d747084043c916548781c4c9fb804a8ba978
2021-02-13 01:42:26 +00:00
Zak Cohen 6ad167db0a Merge "Remove scaling and dimming for adjacent tasks in Overview." into sc-dev am: e38dc9b5f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13547666

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I73042919804d236a092a3202e98ab4db7cee863a
2021-02-13 01:42:21 +00:00
Zak Cohen fe7fb09b90 Merge "Remove elevation from Task in Overview." into sc-dev 2021-02-13 01:23:02 +00:00
Zak Cohen e38dc9b5f8 Merge "Remove scaling and dimming for adjacent tasks in Overview." into sc-dev 2021-02-13 01:22:51 +00:00
Sreyas Rangaraju 5606def0b8 Merge "Updated TaskMenuView." into sc-dev am: 4e6a7e340d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13556167

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7f119832983447ebce26e38f80e5e2ea0afe734a
2021-02-12 23:56:41 +00:00
Sreyas Rangaraju 4e6a7e340d Merge "Updated TaskMenuView." into sc-dev 2021-02-12 23:11:39 +00:00
thiruram be6c8f313e [AA+] Log app launches with AllApps session InstanceId when current state is ALL_APPS. am: 6600860f0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13556166

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I761777bceae057958e04cf9cdf7ca3dd7526b28d
2021-02-12 20:19:07 +00:00
thiruram 6600860f0f [AA+] Log app launches with AllApps session InstanceId when current state is ALL_APPS.
Bug: 178562918
Test: Manual
Change-Id: I65b264cc37079280b59179d5b2f29b67e7a12cc5
2021-02-12 20:02:41 +00:00
Rajeev Kumar a432a420dd Merge "Add NIU Actions buttons to the Go Overview" into sc-dev am: 1216e5999e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13488937

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7ba526c62dcb7b63f2ceabb2d2e1299523e3aacf
2021-02-12 18:49:28 +00:00
Rajeev Kumar 1216e5999e Merge "Add NIU Actions buttons to the Go Overview" into sc-dev 2021-02-12 18:23:17 +00:00
Lucas Dupin 97fde74da2 Merge "Revert "Ignore broken launcher tests"" into sc-dev am: 2268d7a937
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13556081

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7bf53073860f1342564c69400fd85e6ff9ae7765
2021-02-12 17:39:46 +00:00
Lucas Dupin 2268d7a937 Merge "Revert "Ignore broken launcher tests"" into sc-dev 2021-02-12 17:24:59 +00:00
Lucas Dupin db3f34f956 Revert "Ignore broken launcher tests"
This reverts commit 03c5a46235.

Reason for revert: Fixed tests
Bug: 180016597

Change-Id: I45390f157c6c3a379d686e8802648aa948071b72
2021-02-12 02:57:58 +00:00
Sunny Goyal d3a4c05a10 Merge "Registering input monitor in Launcher process" into sc-dev am: f8bb6c02a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13486549

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I68ce0930ea98521cba01bc5c264521e62e540782
2021-02-12 01:46:15 +00:00
Sunny Goyal f8bb6c02a1 Merge "Registering input monitor in Launcher process" into sc-dev 2021-02-12 01:04:46 +00:00
Lucas Dupin a000b1e65b Merge "Ignore broken launcher tests" into sc-dev am: 5fc546d09c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13554186

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id338fb5dfbd5d277b0be632742b76dbdecd1aa96
2021-02-11 23:43:45 +00:00
Sreyas e87b4c4979 Updated TaskMenuView.
Added padding on top of task name and removed unused code.
Bug: 179490926
Test: Manual

Change-Id: Id28547f30872f449f4f51238854155358b2dbcbe
2021-02-11 15:36:30 -08:00
Lucas Dupin 5fc546d09c Merge "Ignore broken launcher tests" into sc-dev 2021-02-11 23:15:39 +00:00
Zak Cohen b849aaf63d Remove scaling and dimming for adjacent tasks in Overview.
New designs flatten out the overview list and don't have scaled and dimmed
tasks adjacent to the main one.

Bug: 179922117
Test: Local run
Change-Id: I2dde04ed60b9d8459810a10d0c27dd6e131855a6
2021-02-11 19:21:27 +00:00
Zak Cohen 34f4b7ebb8 Remove elevation from Task in Overview.
New designs don't have elevation for task views.


Bug: 179922117
Test: Local run
Change-Id: I0b3cb698574b49a279c7265e7f523819d20e2827
2021-02-11 19:08:02 +00:00
Ryan Mitchell 03c5a46235 Ignore broken launcher tests
Fabricated overlay changes seem to have made these tests flaky. Ignore
them for now while we figure out why the tests are flaky.

Bug: 180016597
Test: atest NexusLauncherOutOfProcTests
Change-Id: I639dabb2d6d57243882e0bc7100cc4947b32e37f
2021-02-11 18:20:43 +00:00
Steven Ng 555f386290 Merge "Refactoring before adding a new view type in the WidgetsListAdapter" into sc-dev am: fa58bfa0b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13519369

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3f629d40013a6f7d222b49ca77a95adb73effbaf
2021-02-11 02:08:42 +00:00
Steven Ng fa58bfa0b7 Merge "Refactoring before adding a new view type in the WidgetsListAdapter" into sc-dev 2021-02-11 01:06:11 +00:00
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
Steven Ng 2f5648a911 Refactoring before adding a new view type in the WidgetsListAdapter
Changes made:
1. Model: added an abstract class for storing common information for
   entries shown in the full page widgets picker.
2. Introduced a ViewHolderBinder interface to split the logic of binding
   data to ViewHolder into separate classes.
3. Move the view holder binding of WidgetsListRow from WidgetListAdapter
   to its new class.
4. Move some widgets picker classes into a new picker package.

Test: Auto: Run WidgetsListAdapterTest, WidgetsListRowEntryTest and
      WidgetsListRowViewHolderBinderTest.
      Manual: open the all apps widgets tray and navigate the list.

Bug: 179797520
Change-Id: Iab29557842bb79156cad84d00a4c5d0db0c5aa06
2021-02-10 21:23:40 +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