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
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
Becky Qiu
d6b5dad64a
[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: I8e950f9741779e9125e13484589614345d8ec16f
2021-02-10 05:30:19 +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
thiruram
f898b6325e
[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: I9e60a6ea5756bd7e12454810505e54071b299e18
2021-02-10 03:41:12 +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
android-build-team Robot
a4ec931508
Snap for 7135444 from 9012515fef to sc-v2-release
...
Change-Id: If4cb1d912e23bd8ef5ddff0f54c869304cc362a6
2021-02-10 02:10:50 +00:00
android-build-team Robot
e7859cd3b0
Snap for 7135433 from 9012515fef to sc-release
...
Change-Id: Ide101772df983c43926aedd6138850a286640852
2021-02-10 02:07:54 +00:00
[1;3C
5c3d37b37d
Update input-monitors to accept unrotated coordinates
...
Inputflinger now internally always works in the orientation
the display grew-up in so the coordinates of gesture-monitors
no-longer rotate to match the display.
For now, this adds some shims to achieve previous expected
coordinates in launcher
This is behind a flag:
adb shell setprop persist.debug.per_window_input_rotation 1
Bug: 179274888
Test: use touch interactions on rotated display
Change-Id: Iecd9d233f60b86e24070d7d9055af6b8f44f0b54
2021-02-09 17:21:17 -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
Thiru Ramasamy
847f0f1030
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: I7ae847272dbfff919ca3ec20bdb6599f5a36e339
2021-02-09 23:52:41 +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
Sunny Goyal
6b717f876e
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: I70d242ad9f34484e65552d532009277428dc1741
2021-02-09 23:52:33 +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
Jon Spivack
3a1cfc9082
Add NIU Actions buttons to the Go Overview
...
The buttons send Intents to the designated app (specified by
niu_actions_package) to do the following:
Listen - Read the contents of the screen aloud
Translate - Translate the contents of the screen
Search - Perform a visual search on the contents of the screen
The Intents also include (via URI) the screenshot of current app used as
a thumbnail by Recents.
The feature is controlled by the enable_niu_actions flag, set to false
here. Both this flag and the niu_actions_package String must be set for
a given Launcher to use these buttons.
Bug: 177955244
Bug: 177955748
Test: Manual (enabled on LauncherGoGoogle and sent Intents to demo Lens
app)
Change-Id: I3d1f870bb176ed0cbae637a45c072bd8acac1d4b
2021-02-09 14:50:56 -08: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
Winson Chung
794f00fb95
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: Ibdae1c61e0bca9b0b14705dca3d4cc57b3685808
2021-02-09 22:17:24 +00:00