Sunny Goyal
9a9faeb2e9
Merge "Removing menu and dialog for custom actions hanlding. These do not work well with gesture-nav and can potentially block the Launcher UI." into sc-dev am: 3c5e748b36
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13540210
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I11ca15ca68e944732af5270c56c06d0de06fef99
2021-02-17 22:04:18 +00:00
Sunny Goyal
8bd94baa08
Merge "Removing menu and dialog for custom actions hanlding. These do not work well with gesture-nav and can potentially block the Launcher UI." into sc-dev am: 3c5e748b36
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13540210
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icffdaeb2713db9e2b1efa2e651d3426d7ea8dac0
2021-02-17 22:04:15 +00:00
Sunny Goyal
3c5e748b36
Merge "Removing menu and dialog for custom actions hanlding. These do not work well with gesture-nav and can potentially block the Launcher UI." into sc-dev
2021-02-17 21:40:26 +00:00
Alex Chau
d25e87a6a3
Refresh DisplayContext to prevent getting stale DisplayMetrics
...
Bug: 176656141
Test: Change font size or display size, it should reflect on home screen icon/text sizes.
Change-Id: I39bb9d11d246c7ccea1ea4d5af37fba3ce0001be
2021-02-17 19:02:07 +00:00
Vinit Nayak
ebddca0b27
Merge "Update System settings content observer to cache values." into sc-dev am: 4d6b0270ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13556230
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I332d23f0727ec314bd116e6aae7eeb7d234f7fd7
2021-02-17 17:33:57 +00:00
Vinit Nayak
08219531ec
Merge "Update System settings content observer to cache values." into sc-dev am: 4d6b0270ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13556230
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8f94656817f2eebf2a86e28ade9c0be62ea0a3ef
2021-02-17 17:33:49 +00:00
Vinit Nayak
4d6b0270ab
Merge "Update System settings content observer to cache values." into sc-dev
2021-02-17 17:05:59 +00:00
Steven Ng
b686972b7d
Extract common codes for personal / work profile tabs
...
These codes can be reused in the FullWidgetsSheet which we will be
adding tabs for personal / work profile.
Test: Set up work profile and then switch person / work profile tabs
in the AllAppsContainerView.
Bug: 179797520
Change-Id: Ib7eb1190e1384a664cbe3e34411c9362f1f6db03
2021-02-17 16:22:42 +00:00
Alex Chau
3a06568d8b
Use PersistedTaskSnapshotData to calculate TaskView size
...
- Disabled variable width for running task, as PersistedTaskSnapshotData is not always up to date for current task after rotating the device
Bug: 174464656
Test: Test tablet overview with different comination of portrait/landscape wide/narrow thumbnails in portrait/landscape
Change-Id: Ifa01e72020ccaf422e3975b092462de85fa19efd
2021-02-17 11:41:24 +00:00
Vinit Nayak
a34af18b0e
Update System settings content observer to cache values.
...
Existing ContentObserver will cache values and overwrite
them when the value itself is modified or caller force
updates.
Bug: 149571513
Test: Wrote unit tests, mostly for caching logic.
Not meant to test ContentObserver contract for registering an
observer.
Change-Id: I12835f6c2be27ce17f65a55c51c4ef85c63b4487
2021-02-16 20:58:53 -08:00
thiruram
9a510783d4
Add @Nullable annotation to AllAppsStore.getApp. am: e1a8440d78
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13563273
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ied126ae6a371fdd27074557500e328a7b1564fe5
2021-02-17 04:09:06 +00:00
thiruram
ea68759493
Add @Nullable annotation to AllAppsStore.getApp. am: e1a8440d78
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13563273
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia6a826ef54996f5b105b40bafd8e97351dbb33d8
2021-02-17 04:08:57 +00:00
android-build-team Robot
3b78b6138f
Snap for 7150039 from 468e217cb4 to tm-release
...
Change-Id: Ibf75285d94bb8408dec46d7e381409d6f371c414
2021-02-17 04:06:46 +00:00
thiruram
e1a8440d78
Add @Nullable annotation to AllAppsStore.getApp.
...
Test: Manual
Bug: 180120291
Change-Id: I3f29d478e39b46e307f33f2f354720bc2915b550
2021-02-17 03:53:40 +00:00
Vadim Tryshev
6352392e4c
Merge "Switching overlays more correctly" into sc-dev am: b6d28e885d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13563267
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icefb35d751e88416201a2497096ca1040f0f4321
2021-02-17 03:49:21 +00:00
Vadim Tryshev
a76a79f2d9
Merge "Switching overlays more correctly" into sc-dev am: b6d28e885d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13563267
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6cb9d86715c4bc557545a28df2095e3354304b4c
2021-02-17 03:49:07 +00:00
Tony Wickham
a4c915d605
Draw folder leave-behind when opening folder in taskbar am: bb4de85c25
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13546997
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0174c405d0ab73e9cccc473e1f7f4134c621767e
2021-02-17 03:49:00 +00:00
Tony Wickham
82d73c1177
Folder support in Taskbar am: 7ba547cd2d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13545778
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I99af5d109e7259f2a5f0fb5b0bf22f1a5a4500b7
2021-02-17 03:48:59 +00:00
Tony Wickham
52b36176b5
Refactor Folder to use ActivityContext and BaseDragLayer am: 1906cc33f9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13555111
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I60c5364d3954aecfb4f610e3eaaad95377699158
2021-02-17 03:48:57 +00:00
Tony Wickham
a62a36cac1
Draw folder leave-behind when opening folder in taskbar am: bb4de85c25
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13546997
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2a5a34ecdfa402b7eb5d51354b650755a5d52496
2021-02-17 03:48:54 +00:00
Tony Wickham
b1f9d5853c
Folder support in Taskbar am: 7ba547cd2d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13545778
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Idfb7bee634c590d3c6bf83856d37959b5f61ecb4
2021-02-17 03:48:53 +00:00
Tony Wickham
8a0bb537fd
Refactor Folder to use ActivityContext and BaseDragLayer am: 1906cc33f9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13555111
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I958d909d7dc2ed6c02d0517da217a1b810eb3133
2021-02-17 03:48:52 +00:00
Vadim Tryshev
b6d28e885d
Merge "Switching overlays more correctly" into sc-dev
2021-02-17 03:20:55 +00:00
android-build-team Robot
c2e504eaf4
Snap for 7149879 from e9110af0e0 to sc-release
...
Change-Id: I6f6e0abcb1d19e0d4b32978bdcd2308301f38e11
2021-02-17 03:19:15 +00:00
android-build-team Robot
33111d6be2
Snap for 7149879 from e9110af0e0 to sc-v2-release
...
Change-Id: I89c2f850fde872a29fb6f0cbabaa1460f5cd9e14
2021-02-17 03:19:02 +00:00
Lucas Dupin
2cdc6bae39
Conform to new naming
...
Resources were renamed from main/accent to primary/secondary.
Test: make
Bug: 171916625
Change-Id: Ic71cf716eba9f57d27869dffa501219c41c999ec
2021-02-16 17:47:33 -08:00
vadimt
a9740ecc8f
Switching overlays more correctly
...
Test: presubmit
Bug: 180114721
Change-Id: I0d8d0c70ef34ec941e28704d06f9df5f17782155
2021-02-16 23:22:36 +00:00
Tony Wickham
bb4de85c25
Draw folder leave-behind when opening folder in taskbar
...
Previously there was only support for CellLayout to draw the
leave-behind. Added FolderIconParent interface so any parent can
draw the leave-behind, and implement that by TaskbarView.
Test: Open folder in Taskber, ensure leave-behind draws
Bug: 171917176
Change-Id: I08d1d939a34f971f893994fe05cac972d165ef53
2021-02-16 15:10:05 -08:00
Tony Wickham
7ba547cd2d
Folder support in Taskbar
...
- Add TaskbarActivityContext which allows shared Launcher elements to
"just work" using existing generic ActivityContext.
- TaskbarContainerView extends BaseDragLayer<TaskbarActivityContext>.
- Inflate FolderIcon and Folder using TaskbarActivityContext to be
shown in TaskbarContainerView.
- Use TaskbarActivityContext's DeviceProfile to determine icon size
instead of overriding in styles. This also ensures that normal
BubbleTextView icons have the same size as FolderIcons.
Test: Place a folder in home screen hotseat, ensure it shows up in
taskbar and can be opened, and that apps inside it can be launched
or dragged.
Bug: 171917176
Change-Id: Ic25d2f84bcd7e3399c88989305ea565497c030d9
2021-02-16 15:07:01 -08:00
Tony Wickham
1906cc33f9
Refactor Folder to use ActivityContext and BaseDragLayer
...
These are the more generic versions of Launcher and DragLayer, so
that Folders can be used in other surfaces.
Test: Open and close Folders on home screen, ensure works properly
Bug: 171917176
Change-Id: I39b9aedbd8319ca61ea0e776bc95eab585e023d5
2021-02-16 15:06:50 -08:00
Sunny Goyal
c82cc8d433
Merge "Fixing dragView not getting removed on returning home" into sc-dev am: e9110af0e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13563271
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie348fed9daa055105f0be7775ebdbef678450a9e
2021-02-16 22:40:44 +00:00
Sunny Goyal
468e217cb4
Merge "Fixing dragView not getting removed on returning home" into sc-dev am: e9110af0e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13563271
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I80d273acda92d38afc50064645332278d6174e71
2021-02-16 22:39:44 +00:00
Sunny Goyal
e9110af0e0
Merge "Fixing dragView not getting removed on returning home" into sc-dev
2021-02-16 22:13:33 +00:00
Sreyas
960ddb07fc
ShareTargets animations and styling.
...
Test: Manual
Bug: 169772466
Change-Id: I5a5118e23f90c4c585ad78f054e2c3e6b5d32001
2021-02-16 13:23:02 -08:00
Steven Ng
0be3a615d9
Render preview layout in full widgets sheet and bottom widgets sheet
...
Video: https://drive.google.com/file/d/1gRE0axaq6tm3R_gjSon0RR5lC8HCmwee/view?usp=sharing
Test: Install a sample app which provides a preview layout.
Go to full widgets sheet to observe widget previews are correctly
displayed for bitmap previews, layout previews and placeholder
previews. Repeat the same for bottom widgets picker.
Pin a widget from a sample app which provide a custom RemoteViews
preview, observe the custom RemoteViews is correctly rendered.
Bug: 179797520
Change-Id: I2ccd1f77b54a2430d842ee25349fa6e54b9159dc
2021-02-16 19:34:03 +00:00
Jonathan Miranda
125bf37fd3
Merge "Add border spacing and fixed cell height to grid." into sc-dev am: 8dd4ddc7ae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13532637
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic6a654cde19e1e0388c942b6be58bd8ea352420c
2021-02-16 18:47:53 +00:00
Jonathan Miranda
15622e032a
Merge "Add border spacing and fixed cell height to grid." into sc-dev am: 8dd4ddc7ae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13532637
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icd3c31d4fdc87b60b12d8e81d3ffdbe10e451431
2021-02-16 18:47:10 +00:00
Sunny Goyal
384b578ab2
Removing menu and dialog for custom actions hanlding.
...
These do not work well with gesture-nav and can potentially
block the Launcher UI.
Instead exposing on custom actions with keyboard accelerator and
using thee internal arrowPopup for resize options
Fixing SecondoryDropTarget not sending appropriate stats log
Bug: 179854703
Test: Verified on device
Change-Id: I268690f8a937896e4350496128a38959003f8939
2021-02-16 10:45:06 -08:00
Jonathan Miranda
8dd4ddc7ae
Merge "Add border spacing and fixed cell height to grid." into sc-dev
2021-02-16 18:38:38 +00:00
Andy Wickham
0be30f2b9f
Merge "Adds CONTAINER_QSB to be used for QSB data." into sc-dev am: 9199fd1831
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13549792
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0bf6b7d37848fed44a18682a078aa81287913e69
2021-02-16 05:55:56 +00:00
Andy Wickham
df471d9bc6
Merge "Adds CONTAINER_QSB to be used for QSB data." into sc-dev am: 9199fd1831
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13549792
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I865c2661ebffb67962a18fdf2748ae3f24645d25
2021-02-16 05:51:03 +00:00
Andy Wickham
9199fd1831
Merge "Adds CONTAINER_QSB to be used for QSB data." into sc-dev
2021-02-16 05:35:56 +00:00
android-build-team Robot
b771ac2921
Snap for 7147079 from 97d228aea0 to tm-release
...
Change-Id: I64bd4a74986eaa1973b7547ff9a300cdd82675eb
2021-02-16 04:07:06 +00:00
android-build-team Robot
a61c9d47eb
Snap for 7146909 from c96873caad to sc-v2-release
...
Change-Id: Ie5a1121573345c6e47f0c08a87224c9736b1c818
2021-02-16 02:08:04 +00:00
android-build-team Robot
98a482011d
Snap for 7146909 from c96873caad to sc-release
...
Change-Id: Icb3e45a472357438eb55500c1d0a047e970abe51
2021-02-16 02:07:50 +00:00
thiruram
7fb9fd3705
[AA+] Log LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events with AllApps session InstanceId. am: c96873caad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13555897
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5f618480700c2ff63704e9d6303f6546981aeb73
2021-02-16 00:27:15 +00:00
thiruram
97d228aea0
[AA+] Log LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events with AllApps session InstanceId. am: c96873caad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13555897
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I71c044387453e9722f516fe57b1be4e40d25f19e
2021-02-16 00:27:06 +00:00
thiruram
c96873caad
[AA+] Log LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events with AllApps session InstanceId.
...
* Transitions between AllApps and App screen logs LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events. This change add InstanceId specific to the current AllApps session to these logs; this will help to regenerate AllApps session from logs on the server side. This should only affect logs from AllApps screen, but not others.
* Removes LiveSearchManager.allAppsLogger method as it may create confusion with 2 methods for logging into Statsd
* Moved AllApps entry and exit logs to Launcher.
Bug: 178562918
Test: Manual
Change-Id: I5fab941777a3dfd2e9b19c0efd5b06d3884222ef
2021-02-15 23:56:52 +00:00
Hyunyoung Song
1a88917d3e
Merge "Fix WidgetsListContentEntryTest static initialization error" into sc-dev am: c860448bca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13562691
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I96d4de875e8f0b739af46f04b4ea4b0e30a70cef
2021-02-15 23:01:22 +00:00
Hyunyoung Song
37753aeec6
Merge "Fix WidgetsListContentEntryTest static initialization error" into sc-dev am: c860448bca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13562691
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9252909acb5b6bc129bf45db2d2de6c1221bf7ca
2021-02-15 23:01:12 +00:00