Commit Graph
49925 Commits
Author SHA1 Message Date
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 efe815ed7e 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: Ic039408218684416ef7ef41400b17437eb1dc255
2021-02-12 17:38:17 +00:00
Lucas Dupin 2268d7a937 Merge "Revert "Ignore broken launcher tests"" into sc-dev 2021-02-12 17:24:59 +00:00
Andy Wickham 19ab177d1b Adds CONTAINER_QSB to be used for QSB data.
Also updates some related generics definitions for
better/simpler compile-time checks.

Bug: 178536734
Test: Manual
Change-Id: If439b64ad968f62674f856fd3ff465bf21cc9204
2021-02-11 22:16:24 -08: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
android-build-team Robot 26024ec848 Snap for 7140885 from 5fc546d09c to sc-release
Change-Id: Idfcfa0ef7faf134b32a0ae83efa4dfeee0a170a9
2021-02-12 02:08:57 +00:00
android-build-team Robot 2e7858d357 Snap for 7140885 from 5fc546d09c to sc-v2-release
Change-Id: Ibd7fa85d81dbec87cfedf303a347311baab70aac
2021-02-12 02:08:55 +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 2ea6630e57 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: I44ea5696d9a17752be3f5294cc5c4e82bcbbbc8a
2021-02-12 01:45:50 +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
Lucas Dupin 772781a119 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: Icf13ea2d058ea78e6a8ec564565eb8ed91ab79b3
2021-02-11 23:43:21 +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 b56611d962 Adjust task padding overview to match new specs.
New mocks have increased padding between the tasks.
I think we might need to fold some of these size calculations together
eventually, but this should be ok for the moment.


Bug: 179922117
Test: Local build and run
Change-Id: I4b5186d36012e80d55fae791e0c151c3112eecd1
2021-02-11 19:08:44 +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
Hyunyoung Song b3d739dfa9 Apply Silk/ colorBackground(Floating) to AllApps
Bug: 180020638
Test: adb shell setprop persist.sysui.monet 1 && adb shell am crash com.android.systemui
Change-Id: Ied508f3452a3e640495fff4d1567c3b094f54432
2021-02-11 10:52:06 -08: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 b0dca0f9b3 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: Ifc0ce9eccb6c47d49612bb6d1d2aa974b4ce8200
2021-02-11 02:08:17 +00:00
android-build-team Robot 846fbd062c Snap for 7137523 from ea826f87d1 to sc-v2-release
Change-Id: I4edc2f950a7d281e565afa5e58dc9c6628ba0ab0
2021-02-11 02:08:09 +00:00
android-build-team Robot 6d0d34a4d0 Snap for 7137523 from ea826f87d1 to sc-release
Change-Id: I8ec8d2f755a07254c918cf19c0723350aec3d664
2021-02-11 02:07:46 +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
Adam Cohen b14a4c165b 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: I441e0b92a8e00821159e34a95899ee1ab3b4d9db
2021-02-10 23:44:13 +00:00
thiruram b16be229cb 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: Iee1335070081b11ddcf148be7179448f191e8f3c
2021-02-10 23:44:08 +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
vadimt 2b6d18230b Instrumenting swiping up to all apps for jank
Bug: 178656784
Test: manual
Change-Id: I2332f0f358dc7312dc7ad0b88bc51db5bfa8be6c
2021-02-10 15:24:02 -08: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
Jon Miranda 228877d37c Add border spacing and fixed cell height to grid.
- Border spacing is the spacing between the cells.
- Workspace cell height is now fixed, and we allocate
  all the "extra" space to three different variable height
  areas.

* Built behind ENABLE_FOUR_COLUMNS flag because it hinders the
default grid.

Bug: 175329686
Test: - set border spacing to 0 and confirm matches prior layout
      - test drag and drop still worked
      - test reordering
      - test widgets
      - test folders
      - test multiwindow

Change-Id: Ic6f3dff577d28ff214bda4b0a787ec7fd08c108b
2021-02-10 17:22:37 -05:00
TreeHugger Robot b4bd0af611 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: I5cf8437984a707be3f71a36c92f7e239703ee0a9
2021-02-10 22:22:21 +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 646d58a6ed 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: I907ccf4c44be7772fa3d6c76a767fac6b5cdc094
2021-02-10 21:04:58 +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 4fa594b17b 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: Ibd08c63eb219320ea52f701d7b59e0646dff449d
2021-02-10 20:37:08 +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 2b8f04a877 [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: I8280340a4cbac8bee43eb94442eebe2c510623e5
2021-02-10 18:32:58 +00:00
thiruram 217ee5eb0c [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: Ib2c10c00ea98bdba7d8238b993657aae7c2a6daf
2021-02-10 18:32:36 +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