Hyunyoung Song
ce5fe18ed2
Merge "Revert the squish translate from all apps" into sc-dev am: 8f3d9eba02 am: 294ba19bb2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14921510
Change-Id: I68af5a5911898ed364b4813a2b7f0e8ffc820d8d
2021-06-10 04:23:02 +00:00
Hyunyoung Song
8f3d9eba02
Merge "Revert the squish translate from all apps" into sc-dev
2021-06-10 03:53:33 +00:00
Samuel Fufa
3e2e015f80
[AllApps][Work] Introduce work toggle Fab am: 08cca82eca am: a2ef2f7ff7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14724697
Change-Id: Iff398f953896f85304be743e562b76cfaef160d9
2021-06-09 20:08:34 +00:00
Samuel Fufa
08cca82eca
[AllApps][Work] Introduce work toggle Fab
...
Screenshot: https://screenshot.googleplex.com/C4r7kKPxv3PKdyN
Bug: 186856928
Test: on-device
Change-Id: I69ffa0ef367b182688e69c730fc9dee1afa7cadd
2021-06-09 17:13:07 +00:00
Hyunyoung Song
afa327d176
Revert the squish translate from all apps
...
Bug: 189973274
Bug: 189975416
Test: manual, attached video on the bug
Change-Id: I881a2b79462e8d420b3dcb6a6b98adbe9e8e0394
2021-06-09 09:47:29 -07:00
TreeHugger Robot
a3bbb62fc8
Merge "Fix wrong highlighted personal | work tab" into sc-dev am: 962b212c9e am: 669f2d3002
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14904550
Change-Id: I5525d7699f89c870cfaf192da09a2d940906bee7
2021-06-09 03:22:31 +00:00
TreeHugger Robot
962b212c9e
Merge "Fix wrong highlighted personal | work tab" into sc-dev
2021-06-09 02:41:40 +00:00
TreeHugger Robot
1b40a147d0
Merge "Re-enable swipe up view inflation test." into sc-dev am: 93e232a57b am: 50625a70a2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14848883
Change-Id: Ic57433d70f872f8814f6174cdee5726230ad19c5
2021-06-09 01:26:44 +00:00
TreeHugger Robot
a8b3870603
Merge "[AA+] Reset search manager when exiting all apps." into sc-dev am: e57006fe63 am: 285c50740a am: 7b4e042824
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14804874
Change-Id: I25a8601efaf46d279b6f4b0cb8f7ae743ec7b5b4
2021-06-09 01:26:29 +00:00
TreeHugger Robot
285c50740a
Merge "[AA+] Reset search manager when exiting all apps." into sc-dev am: e57006fe63
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14804874
Change-Id: I074e33f790758400825ee4aa34f9628207d71f96
2021-06-09 00:52:10 +00:00
TreeHugger Robot
93e232a57b
Merge "Re-enable swipe up view inflation test." into sc-dev
2021-06-09 00:47:11 +00:00
TreeHugger Robot
e57006fe63
Merge "[AA+] Reset search manager when exiting all apps." into sc-dev
2021-06-08 21:50:31 +00:00
zakcohen
284eef2bf9
Re-enable swipe up view inflation test.
...
Disable chips by default as they are not plan of record for launch.
Bug: 141579810
Test: Local and ran test
Change-Id: Iae270c6ac4bbec4f7c29b1137cf926383443e85e
2021-06-08 14:24:20 -07:00
Steven Ng
5f1b379a97
Merge "Use WidgetSizes to estimate widget size instead of custom calculation" into sc-dev am: 4716ab3037 am: 61bda8abee
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881309
Change-Id: I49dd54cf9e89dd3108ac86d886fee967e8b19dce
2021-06-08 19:42:12 +00:00
Steven Ng
199b186c58
Merge "Exact widget sizes functionalities into an utility class" into sc-dev am: 84fe7e3a1e am: 0c7a83af4d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881307
Change-Id: I741a13492a9b28cc13bae8e904526709909edb7c
2021-06-08 19:30:08 +00:00
Steven Ng
ccaa1c2c4a
Merge "Use WidgetSizes to estimate widget size instead of custom calculation" into sc-dev am: 4716ab3037
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881309
Change-Id: Ib8aaaf71f69c669c42692ee11aecf6d73fa4cd1a
2021-06-08 19:12:17 +00:00
Steven Ng
0ed1b41464
Merge "Exact widget sizes functionalities into an utility class" into sc-dev am: 84fe7e3a1e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881307
Change-Id: I5202727f975ce463179674cd54ba8d4b75063f9d
2021-06-08 19:12:12 +00:00
Steven Ng
4716ab3037
Merge "Use WidgetSizes to estimate widget size instead of custom calculation" into sc-dev
2021-06-08 19:11:25 +00:00
Steven Ng
84fe7e3a1e
Merge "Exact widget sizes functionalities into an utility class" into sc-dev
2021-06-08 18:55:07 +00:00
Samuel Fufa
e721f7272c
Fix wrong highlighted personal | work tab
...
Bug: 189915880
Test: Manual
Change-Id: I3e8687038d4f0bfdd1c5b7d8c444520730a2bcd4
2021-06-08 13:31:40 -05:00
Steven Ng
0e410e404b
Merge "Use grid size as the upper bound for widgets' default size in initSpans" into sc-dev am: eb1617521c am: e2517121dc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14776609
Change-Id: I34e10bc5799e6ef69272ca63a22487be3f8bfc70
2021-06-08 15:18:20 +00:00
Steven Ng
f8eca2008d
Merge "Use grid size as the upper bound for widgets' default size in initSpans" into sc-dev am: eb1617521c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14776609
Change-Id: Ic74b543e4fb94ab377472cb5d8e25fe449818081
2021-06-08 15:06:03 +00:00
Steven Ng
eb1617521c
Merge "Use grid size as the upper bound for widgets' default size in initSpans" into sc-dev
2021-06-08 14:48:29 +00:00
Steven Ng
1d47d8c705
Use grid size as the upper bound for widgets' default size in initSpans
...
Test: In Pixel 4, drag a monthly view Google calendar widget to a new
home page from the full widgets picker. The widget outline is
correctly shown.
Bug: 189060113
Change-Id: I33113b29cc8923098de95f1d5eb14c2b02429de1
2021-06-08 14:15:50 +01:00
Steven Ng
7e06df2b50
Use WidgetSizes to estimate widget size instead of custom calculation
...
Also fix 2 bugs in WidgetCell
1. preview layout: padding is added to the AppWidgetHostView rather
than the preview container. We shouldn't add padding to the size
of the preview container.
2. widget_preview_shortcut_padding is a padding added to shortcuts but
not widgets.
Test: Open full widgets picker and observe widgets are rendered
correctly in the widgets recommendation table. Also, observe
the generated bitmap images are correctly rendered.
Run AddWidgetTest.
Bug: 189975670
Change-Id: I00db3200e0b61dc5e82f3c4bfdf34e197ea20314
2021-06-08 11:48:11 +01:00
Steven Ng
22b6039270
Exact widget sizes functionalities into an utility class
...
Test: resize widget, move widget, add widget.
Bug: 189975670
Change-Id: Ia0bc2297891e1cfa33697e985064db5d1dcdfc8b
2021-06-08 11:42:48 +01:00
Stevie Kideckel
19215e9cc1
Merge "Fix accounting for the position/offset of headers with collapsing views" into sc-dev am: acf27b6d64 am: 538e5789bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881294
Change-Id: I818c9a13399b54bfd4b0af0241254b25a45bbe38
2021-06-08 09:17:07 +00:00
Stevie Kideckel
51d27b8dda
Merge "Fix accounting for the position/offset of headers with collapsing views" into sc-dev am: acf27b6d64
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881294
Change-Id: Ib539fc02df7b9c967aae919fab5dc864a4ece06a
2021-06-08 08:56:41 +00:00
Stevie Kideckel
acf27b6d64
Merge "Fix accounting for the position/offset of headers with collapsing views" into sc-dev
2021-06-08 08:37:25 +00:00
Stevie Kideckel
fd9bfd3aab
Fix accounting for the position/offset of headers with collapsing views
...
The offset should be taken before views are modified, the position
should be taken after. This fixes an off by one issue when expanding a
header below another already expanded header.
Bug: 183378651
Test: verified locally
Change-Id: I4987d57846d7bcde23b76280f800f19350b3521e
2021-06-08 07:08:42 +00:00
Tony Wickham
0f7d4cb981
Have AlphaUpdateListener update visibility in onAnimationEnd() am: 26ab4621ce am: d2f84ec857
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14882859
Change-Id: I6f8587f9091dafb9d6baf5b0982ee8d120cfd0ed
2021-06-08 00:32:58 +00:00
thiruram
ea56f849c2
[AA+] Reset search manager when exiting all apps.
...
This is required to log search session exits properly, especially when exiting AllApps without clearing search query.
Bug: 178562918
Test: Manual
Change-Id: Id4c1007b051e9efd9ae5929c274a70cf3ae3cbf1
2021-06-07 17:14:24 -07:00
Tony Wickham
3f25e91586
Have AlphaUpdateListener update visibility in onAnimationEnd() am: 26ab4621ce
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14882859
Change-Id: I48b55edefe3e6a77851ff9d903cf0af56e604ece
2021-06-08 00:10:26 +00:00
Jonathan Miranda
ec58206fcd
Merge "New folder icon style (uncropped icons)." into sc-dev am: 93c0cfadb1 am: 785c6bc1b3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14849713
Change-Id: Iefa32787f155e5710bf93bbfbb96d713258fb438
2021-06-07 22:22:10 +00:00
Tony Wickham
26ab4621ce
Have AlphaUpdateListener update visibility in onAnimationEnd()
...
Previously we were only updating visibility in onAnimationSuccess(), which doesn't handle the canceled case.
Test: swipe up from nav bar twice in all apps, ensure all apps is invisible/non-interactable
Bug: 190315266
Change-Id: Ic59e6d4b404de4ee2d17c45d6fa59e2aee70c65f
2021-06-07 22:16:22 +00:00
Jonathan Miranda
0622a1e470
Merge "New folder icon style (uncropped icons)." into sc-dev am: 93c0cfadb1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14849713
Change-Id: I1ff62aaacada2c95922ae0166c10d95bf2448d57
2021-06-07 22:03:43 +00:00
Jonathan Miranda
93c0cfadb1
Merge "New folder icon style (uncropped icons)." into sc-dev
2021-06-07 21:48:50 +00:00
Steven Ng
452a687c62
Merge "Fix preview layout crash upon screen rotation" into sc-dev am: 0062822976 am: 23b50a34be
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881297
Change-Id: I3f1654d156cf28e45099fa6e8c0156fe48fd7f0d
2021-06-07 21:04:21 +00:00
Steven Ng
8354f61df5
Merge "Fix preview layout crash upon screen rotation" into sc-dev am: 0062822976
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881297
Change-Id: Ic9ded2e2ab8bc4d03914b045b6cd46fcfa4bca74
2021-06-07 20:51:43 +00:00
Steven Ng
0062822976
Merge "Fix preview layout crash upon screen rotation" into sc-dev
2021-06-07 20:38:39 +00:00
Jay Aliomer
f4750b2bd5
Merge "Improve local color extraction handling." into sc-dev am: 4049f539c2 am: 8874da2534
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14844551
Change-Id: I9aa2bcdcc4af8bc54a1d331c0aa2f709bad743c5
2021-06-07 20:02:48 +00:00
Jay Aliomer
9ee33330c0
Merge "Improve local color extraction handling." into sc-dev am: 4049f539c2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14844551
Change-Id: Ib06e2672de8a56ad4af37e6a92a0999a021a435e
2021-06-07 19:51:10 +00:00
Jay Aliomer
4049f539c2
Merge "Improve local color extraction handling." into sc-dev
2021-06-07 19:45:13 +00:00
Steven Ng
db4ec8ac1a
Fix preview layout crash upon screen rotation
...
Preview layouts are rendered via LauncherAppWidgetHostView. These
layouts are not yet added to the launcher. And thus, there is no
LauncherAppWidgetInfo.
Test: When a preview layout is shown in the recommended widget section,
rotate the screen. No crash is observed.
Bug: 190395009
Change-Id: Ib1d080a106681fbfe3a4293f9f51f9576ef9414b
2021-06-07 18:55:47 +01:00
Hyunyoung Song
06e139616e
Merge "Icon sizes/ keyline / font for AA+ results" into sc-dev am: 02b62ed6fe am: b8be5e65cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14837351
Change-Id: Ia41bd4b8efeaf0b1ebc77d049c555e9c9b56c26f
2021-06-07 15:22:09 +00:00
Hyunyoung Song
a2f87bef6e
Merge "Icon sizes/ keyline / font for AA+ results" into sc-dev am: 02b62ed6fe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14837351
Change-Id: If8f00a4cb12d7942c0d582a45a43372ce89f030a
2021-06-07 15:09:47 +00:00
Hyunyoung Song
02b62ed6fe
Merge "Icon sizes/ keyline / font for AA+ results" into sc-dev
2021-06-07 14:49:50 +00:00
Pierre Barbier de Reuille
7fca870571
Improve local color extraction handling.
...
Local color extraction doesn't happen if the wallpaper is not currently
visible, so we don't need to add/remove the locations when the widget is
visible/hidden.
Also now compare the locations with some approximate measure, to account
for possibly slightly different calculations during drag vs drop.
Fix: 189827568
Test: Install Clock or test widgets and try to move them: the color are applied correcly.
Change-Id: Ib2a08bb0552c75bd351868e4fd5b5df8b8b732b2
2021-06-07 13:01:28 +01:00
Alina Zaidi
13f305e70b
Merge "Adjust Widgets education dialog size when in landscape" into sc-dev am: 25788e9635 am: 2ac92795c7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800537
Change-Id: Ie394ec0d549f9d5c8800814fe34e1aff7739feb9
2021-06-07 09:42:30 +00:00
Alina Zaidi
f9c841c477
Merge "Adjust Widgets education dialog size when in landscape" into sc-dev am: 25788e9635
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800537
Change-Id: I7725868ce036f4bb32ef9d981ec1e84c21c4bb83
2021-06-07 09:24:42 +00:00