Commit Graph

6493 Commits

Author SHA1 Message Date
Sunny Goyal 1e6c62f794 Merge "Adding support for determining split layout for launcher." into sc-dev am: c52c0782a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14286682

Change-Id: I303700e17d4917540d6f1067b0ac883afe181b5f
2021-05-04 22:39:24 +00:00
Sunny Goyal 6f875fc851 Merge "Adding support for determining split layout for launcher." into sc-dev am: c52c0782a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14286682

Change-Id: Ia6394a1e61b0dcc6046dc19e97d0188684bd83f1
2021-05-04 22:39:07 +00:00
Sunny Goyal c52c0782a7 Merge "Adding support for determining split layout for launcher." into sc-dev 2021-05-04 22:33:38 +00:00
TreeHugger Robot 4a96831745 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-04 17:55:35 +00:00
Bill Yi 9f8530948b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia5ca69da14eee63aa7d18caeb1a57d1556ab737a
2021-05-04 11:16:51 +00:00
Santiago Etchebehere 7e6e1693ef Update the label of Wallpapers button
Use the updated name

Bug: 179129352
Test: manual
Change-Id: Ia4878ce924b7d7f3ba1d8d661c8ac00c7310ee20
2021-05-03 20:12:50 -07:00
Jon Miranda 8fbf5cd263 Set swipe_up_rect_xy_stiffness back to 200 for existing app close anim.
Bug: 173107751
Test: manual
Change-Id: Ic878a2f788c35bffe97d83cb364d3878638272a1
2021-05-03 15:58:43 -07:00
Sunny Goyal 19ff728b92 Adding support for determining split layout for launcher.
> Simulating the windo wmanager API to get available device
  profiles until final API
> When a device has multiple internal displays, and with both
  tablet and phone possibilities, it uses a split workspace layout

Bug: 186160341
Bug: 175782275
Test: Manual
Change-Id: Ieff2329acac7cdd6b9abe6f96cd459cd45bd0efe
2021-05-03 14:48:28 -07:00
Adam Cohen 318f0092a1 Merge "Don't fade out active page outline during drag-and-drop" into sc-dev am: 0a1b030bb3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14363505

Change-Id: Idbbc27d086bb5c71a13895ff30609159726db3fe
2021-05-03 19:31:21 +00:00
Adam Cohen ae1369c020 Merge "Don't fade out active page outline during drag-and-drop" into sc-dev am: 0a1b030bb3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14363505

Change-Id: I3d327624e94e1e5dd3b044b2bec6871d384daafb
2021-05-03 19:30:56 +00:00
Adam Cohen 0a1b030bb3 Merge "Don't fade out active page outline during drag-and-drop" into sc-dev 2021-05-03 19:15:22 +00:00
Samuel Fufa db9b483c02 [WorkProfile] Update work/personal tab to pills
Bug: 186857875
Test: Manual
Screenshot: https://screenshot.googleplex.com/89jD32tHqNkBUWb
Change-Id: Ia4bb91372896d8a53017e3eadbe985878ce7f0ec
2021-05-03 10:53:33 -05:00
Bill Yi b3609ce590 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia1732615c64fdae549156761932647f4dd14b4ba
2021-05-01 19:57:46 +00:00
TreeHugger Robot 86e6c14721 Merge "Fix few A11y/ UI bugs for widget pickers" into sc-dev am: 51991a7333
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14372793

Change-Id: I0bb7ca3b7b8c2c5895b75a7efc8ca509f04b454f
2021-04-30 19:22:59 +00:00
TreeHugger Robot 4b1fe698be Merge "Fix few A11y/ UI bugs for widget pickers" into sc-dev am: 51991a7333
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14372793

Change-Id: Ib201dc90008894ba6da0d0822763c5d179e1f2f8
2021-04-30 19:22:31 +00:00
TreeHugger Robot 51991a7333 Merge "Fix few A11y/ UI bugs for widget pickers" into sc-dev 2021-04-30 19:09:53 +00:00
TreeHugger Robot 7182197500 Merge "Update drop target styling based for BC." into sc-dev am: f9f506ca7e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14332405

Change-Id: I08bc6f06585e3e17a5a67b918bf7544c1aea746d
2021-04-30 17:00:55 +00:00
TreeHugger Robot e3499d4dd8 Merge "Update drop target styling based for BC." into sc-dev am: f9f506ca7e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14332405

Change-Id: I12eee6cc89167e63c4a6b9c22c90c643b125062e
2021-04-30 17:00:00 +00:00
TreeHugger Robot f9f506ca7e Merge "Update drop target styling based for BC." into sc-dev 2021-04-30 16:46:53 +00:00
TreeHugger Robot 6767e79dc0 Merge "Correct "cropping" of widget picker's search bar" into sc-dev am: ed40c7735e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14386337

Change-Id: I84db69166c61a62b6630c91cb6019eb13e9cfdaa
2021-04-30 15:20:25 +00:00
TreeHugger Robot 74b8372089 Merge "Correct "cropping" of widget picker's search bar" into sc-dev am: ed40c7735e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14386337

Change-Id: Ie7480b84ac7bb1d360678531c1eb499c6151edad
2021-04-30 15:17:35 +00:00
TreeHugger Robot ed40c7735e Merge "Correct "cropping" of widget picker's search bar" into sc-dev 2021-04-30 15:00:32 +00:00
Pierre Barbier de Reuille 0e092292fb Correct "cropping" of widget picker's search bar
To corrent, I added 1dp of bottom margin. Not doing this, the framework
ignores the dropped shadow due to the elevation when some text is
entered in the box, leading to the observed cropping.

Fix: 186722040
Test: Manually
Change-Id: I746a8f014197552416ed9c40e9736baf22794c5f
2021-04-30 14:30:37 +01:00
Alina Zaidi c16c281305 Fix few A11y/ UI bugs for widget pickers
- Add a subtext in pin widget dialog informing users how to add widget
manually. This is not important for accessibility, as drag and drop is through an
action item for visually impaired users.
- Update search bar text hint color so that it passes accessibility test.

Bug: 182994384
Bug: 182993604
Test: Manually Tested using accessibility scanner app and talkback
Change-Id: I5a49d0bc3e5973b76c41b2a178af509e96a3cdd7
2021-04-30 13:30:03 +01:00
Alina Zaidi f65051d63c Merge "Fix some bugs in widget pickers." into sc-dev am: b42513fbc5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14339826

Change-Id: Iac3ab67df16feae242faaec1d9449946ed9f3a8a
2021-04-30 09:44:35 +00:00
Alina Zaidi 60340fd7c8 Merge "Fix some bugs in widget pickers." into sc-dev am: b42513fbc5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14339826

Change-Id: I9172e541e2f662ccadafe0d3bfa5ed76e0b165a8
2021-04-30 09:44:29 +00:00
Alina Zaidi b42513fbc5 Merge "Fix some bugs in widget pickers." into sc-dev 2021-04-30 09:19:07 +00:00
Alina Zaidi 2b5124ec41 Fix some bugs in widget pickers.
- Update color of Educational tip view contents. Background colorAccentSecondary
in NexusLauncher above S, colorAccent otherwise (b/185834169)
- Update widget picker search bar color and its text font and color. (b/186423026)
- Update button padding and text in pin widget picker. (b/182994384, b/183601584)

Bug: 185834169
Bug: 186423026
Bug: 182994384
Bug: 183601584
Test: Manually tested
Change-Id: I36cd3ed2285677d0c164db8f57f6c90a5f247982
2021-04-30 07:52:23 +01:00
Bill Yi 5ed594fde0 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-30 01:25:44 +00:00
Adam Cohen 0c4d278ed2 Don't fade out active page outline during drag-and-drop
=> Keep page backgrounds stable and only slightly modify the alpha + add stroke for active page
=> Don't shrink cell outlines to be too small (issue in hotseat on some devices)
=> Reduce cell radius to 22dp

Bug: 185163323
Test: manual

Change-Id: Ic17999f5672a3355dceeb25af923f02e960389d9
2021-04-29 23:09:56 +00:00
TreeHugger Robot e06438644b Merge "Replace conversations widget app icon" into sc-dev am: 14e2070709
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14353226

Change-Id: I111a4d533341941a374b08832aba36fc23b82080
2021-04-29 22:38:53 +00:00
TreeHugger Robot 14e2070709 Merge "Replace conversations widget app icon" into sc-dev 2021-04-29 22:15:21 +00:00
Bill Yi a7e17232a0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9097c2e5797ad0b1b256e3e731dc0aa917aa4513
2021-04-29 19:00:55 +00:00
Steven Ng 1140f84b6f Replace conversations widget app icon
Test: Open full widgets picker and observe the expected icon for
      the conversations category.
Bug: 184878454
Change-Id: I580b0148d39c8dd004113c8f966135b22165a329
2021-04-29 17:46:29 +01:00
Steven Ng 7ff0f1be90 Merge "Use widget picker color surface for WidgetsBottomSheet" into sc-dev am: 99d4010c6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14339830

Change-Id: I2fc870c6828ed760175d0c4e252e07b6007ef0c9
2021-04-29 14:06:43 +00:00
Steven Ng 99d4010c6e Merge "Use widget picker color surface for WidgetsBottomSheet" into sc-dev 2021-04-29 13:51:51 +00:00
Steven Ng 1777a1be4f Use widget picker color surface for WidgetsBottomSheet
Test: Launch widgets bottom sheet, search popup to confirm the expected
      background color is applied.
Bug: 183601302
Change-Id: I300a364605e00a0d8046a907a40f4cb797ec161e
2021-04-29 12:44:31 +01:00
Yogisha Dixit a3a6f51b12 Update drop target styling based for BC.
Spec: https://docs.google.com/presentation/d/1UxdDh8EFhPbdRWRwzjbpgL-j02ew4Ew3eG3XBCeoYdo/edit#slide=id.vXfwHn8

Demo: https://drive.google.com/file/d/1ZIa3Dgo85vdVkfPm7aGJDyctZQR_c8Xx/view?usp=sharing

Test: manual
Bug: 184713740
Change-Id: I17dbbf1f7bbc40939cfc0fedb506a35f39ecc2e3
2021-04-29 09:18:05 +00:00
Shan Huang a6b9b8dedf Merge "Updated launcher text shadow values." into sc-dev am: 64fc7543f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14204932

Change-Id: I30c744a481a0fef50a501779bcbcd115a009c2c2
2021-04-29 03:01:08 +00:00
Shan Huang 64fc7543f0 Merge "Updated launcher text shadow values." into sc-dev 2021-04-29 00:16:47 +00:00
TreeHugger Robot 1ee740dcd9 Merge "Removing dependency on wallpaper colors and using theme resources" into sc-dev am: 45167d6030
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14331414

Change-Id: I738b1258fc9871a1d733412692a2060dfb1f5d3d
2021-04-28 03:14:43 +00:00
TreeHugger Robot 45167d6030 Merge "Removing dependency on wallpaper colors and using theme resources" into sc-dev 2021-04-28 03:00:17 +00:00
TreeHugger Robot daf939f759 Merge "Allow Workspace Scrim to be colored per state" into sc-dev am: 222b4757f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14297677

Change-Id: I428681a0bafcbf5483983d57f7a76d66b4217f79
2021-04-28 00:21:08 +00:00
TreeHugger Robot 222b4757f5 Merge "Allow Workspace Scrim to be colored per state" into sc-dev 2021-04-28 00:10:26 +00:00
Sunny Goyal 4ed0fb5074 Removing dependency on wallpaper colors and using theme resources
Bug: 184676715
Test: Manual
Change-Id: Ie9a9a784c4a8a8cd484bfd8ea463deedcd4deed6
2021-04-27 16:29:08 -07:00
Zak Cohen 4d35ac3020 Allow Workspace Scrim to be colored per state
Make it possible to set the color of workspace scrim to a different color
per state. Motivated by making Overview Scrim and All Apps scrims different
colors.

Bug: 186253733
Test: Local build and flash
Change-Id: Id7c38ce3c9173308eedfcb7592ececa7bd6bf220
2021-04-27 14:04:46 -07:00
Steven Ng a09a34a10c Merge "Add a11y action for expand / collapse items in WidgetsFullSheet" into sc-dev am: f4bd91f0ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14314645

Change-Id: I2cdbfb887c0a1ca758620c790788fad37fa0916c
2021-04-27 16:53:22 +00:00
Steven Ng f4bd91f0ab Merge "Add a11y action for expand / collapse items in WidgetsFullSheet" into sc-dev 2021-04-27 16:28:11 +00:00
Steven Ng fd68f757c8 Add a11y action for expand / collapse items in WidgetsFullSheet
Test: Enable talkback. When focusing on a collapsed item, it announces
      Collapsed "App Name" "n widgets/shortcuts". Action available. Use
      tap with 3 fingers to view. 3 fingers tap > Action > Expand.
      Widgets are expanded.
      When focusing on an expanded item, it announces
      Expanded "App Name" "n widgets/shortcuts". Action available. Use
      tap with 3 fingers to view. 3 fingers tap > Action > Collapse.
      Widgets are collapsed.
Bug: 183120145
Change-Id: Ibbb6025b929c141aa9e2fd2c72dce314e8be837e
2021-04-27 16:28:00 +00:00
Cyrus Boadway 0b88a6f89a Merge changes I65d2b1bc,I35bf9cb4 into sc-dev am: 5f35ff021d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14281907

Change-Id: Iec9f10a81ccc3e7d035348fff78daf2a107f58fe
2021-04-27 10:20:51 +00:00