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
android-build-team Robot
34f4569785
Snap for 7135754 from 847f0f1030 to tm-release
...
Change-Id: I4d8278764f5fd7d13a956f66d2dbd48c2afd8b6d
2021-02-10 04:14:49 +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
Samuel Fufa
bc20044910
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: Ic13ba256f7ecef674dc46a14c8491d23282357c6
2021-02-09 22:17:17 +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
Wale Ogunwale
4c7d4e5830
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: I8a25af7439c2823e0318ef04bbaf879029ce7138
2021-02-09 22:15:31 +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
Sreyas Rangaraju
82bbab6f72
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: I6503b91f8fed163277d59149d7ee6e87c0b71cf4
2021-02-09 22:11:07 +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
Sunny Goyal
0969693b33
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: I55b7537c5fc1354a319ec2ba501ee66d424b55fd
2021-02-09 22:10:47 +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