Commit Graph
12013 Commits
Author SHA1 Message Date
Jonathan Miranda 670348b9fa Merge "Adding color back to popup container." into sc-dev am: d88f572864 am: 8b14b2da8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372

Change-Id: Ief9fa2a56db25bfcb0870b3db7004c0fc114a33c
2021-06-11 17:43:58 +00:00
Jonathan Miranda d88f572864 Merge "Adding color back to popup container." into sc-dev 2021-06-11 17:16:27 +00:00
Hyunyoung Song c3fa7c35e7 Merge "Fix RecyclerViewFastScroller bugs, hide keyboard" into sc-dev am: 6e673c7ed8 am: 12084a47a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14931940

Change-Id: Iac315f1b49a9c3e609b4d6d481c91aa32777c80c
2021-06-11 17:07:21 +00:00
Hyunyoung Song 6e673c7ed8 Merge "Fix RecyclerViewFastScroller bugs, hide keyboard" into sc-dev 2021-06-11 16:45:23 +00:00
Hyunyoung Song 7cc29dc44d Fix RecyclerViewFastScroller bugs, hide keyboard
Bug: 189982238
Bug: 187561242
Bug: 187909098

Test: manual
Change-Id: I693810e5761004c48d028253c25a2fe96477af40
2021-06-11 09:43:10 -07:00
Anton Hansson ac68fe0f3f Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb am: 6ad1a8d1d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: I1fa905ca481e450e1fb0017de9e781c52adc2c98
2021-06-11 15:24:23 +00:00
Anton Hansson 17ef90b2cb Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev 2021-06-11 15:02:25 +00:00
Anton Hansson fc235903ab Revert "[AllApps][Work] Introduce work toggle Fab"
This reverts commit 08cca82eca.

Reason for revert: broke errorprone build
Bug: 190150515

Change-Id: I1d8707392310e745713b8780bdb957299b88a3a6
2021-06-11 14:05:07 +00:00
Jonathan Miranda 80accb6b07 Merge "Folder preview polish." into sc-dev am: 65c20f4a91 am: 685a32f666
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: I86f0b4110e9886ff9370fa2a965e7efc97f98617
2021-06-10 23:37:08 +00:00
Jonathan Miranda 65c20f4a91 Merge "Folder preview polish." into sc-dev 2021-06-10 23:11:06 +00:00
Alina Zaidi c81e7cea5f Merge changes I5d1c9e4b,I08154c94 into sc-dev am: 1fbf9200f1 am: 153c81df42
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14899453

Change-Id: I7f2840229a8ff5bad5c9acaa143b5e6c139c1689
2021-06-10 21:16:15 +00:00
Alina Zaidi 1fbf9200f1 Merge changes I5d1c9e4b,I08154c94 into sc-dev
* changes:
  Flip ArrowTipView when it goes beyond screen height.
  Add more education tips for widgets. (3/3)
2021-06-10 20:46:20 +00:00
Jon Miranda 32ff76cb4e Adding color back to popup container.
For Color exctraction now occurs in groups:
- System shortcuts
- Deep shortcuts
- Notifications

For home setting popup, each DeepShortcutView will have its own
extracted color.

Bug: 188095443
Test: manual
Change-Id: I7e209f863ff180b8f017aeb2a73c6f1a51842e68
2021-06-10 19:15:24 +00:00
Steven Ng b6d7318a87 Merge "Fix height estimation of the widgets recommendation table" into sc-dev am: d4bae086d3 am: 274b59b167
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14937090

Change-Id: Ie6a596fc1e5ad2562091dd02b66badd3c19b6c5b
2021-06-10 18:41:13 +00:00
Steven Ng d4bae086d3 Merge "Fix height estimation of the widgets recommendation table" into sc-dev 2021-06-10 18:11:45 +00:00
Steven Ng bc5099e9a6 Fix height estimation of the widgets recommendation table
There are two vertical paddings
1. Table padding
2. Widget cell padding

We haven't taken account the widget cells padding

Test: Manual
Bug: 189814077
Change-Id: I9b1dc9e880d4402b9c461d0024a0748c0afc408a
2021-06-10 16:57:40 +01:00
Alina Zaidi dca47432fc Flip ArrowTipView when it goes beyond screen height.
Bug: 185354491
Test: Manually tested tips in widget picker, all apps, and
reconfigurable widgets tip.

Change-Id: I5d1c9e4b8bc3ae89834bc198016ffa409a2b28ad
2021-06-10 15:43:30 +01:00
Alina Zaidi ecdf6575ec Add more education tips for widgets. (3/3)
Show tip on reconfigurable widget in launcher.

Bug: 185354491
Test: Manually tested tips in widget picker, all apps, and
reconfigurable widgets tip.

Change-Id: I08154c944285cac6a21c3ef4aafd878bbbccf44b
2021-06-10 14:23:47 +01:00
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
Jon Miranda f564b65f2a Folder preview polish.
- Fixes notification dot not aligning in 4x5 grid
- Fixes clipping issues with large folders
- Fixes clipping issues with preview item animations

Bug: 188095988
Test: manual

Change-Id: I6821b3cb3c65e5928c7be1cddd7f292a37842698
2021-06-09 10:04:39 -07: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