Shan Huang
232fadabb8
Merge "Add a background scrim to launcher for text protection." into sc-dev am: f1d3cf02c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14243130
Change-Id: I885f7171f787e49119a7bbab56a59feed9f81e94
2021-05-07 04:12:22 +00:00
Shan Huang
f1d3cf02c9
Merge "Add a background scrim to launcher for text protection." into sc-dev
2021-05-07 03:59:26 +00:00
Lucas Dupin
e4d07f960b
Fix launcher ripple opacity
...
colorControlHighlight has a might higher opacity on the launcher theme.
themes_material.xml defines it with 10% opacity instead, for both light
and dark themes.
Test: manual
Bug: 187465854
Change-Id: I9abb44aec1fe40db500c9ebdadd5877d1246331b
2021-05-07 02:06:11 +00:00
Samuel Fufa
043072e3bf
Merge "[WorkProfile] Update work/personal tab to pills" into sc-dev am: f94540b28a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14411679
Change-Id: Ia10c1288043d9594c92be9bae399df8d174ea01a
2021-05-06 23:48:27 +00:00
Samuel Fufa
a092e84f61
Merge "[WorkProfile] Update work/personal tab to pills" into sc-dev am: f94540b28a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14411679
Change-Id: If75348fcfb3996f6d379e505fb13e7e742f3fec7
2021-05-06 23:47:17 +00:00
Samuel Fufa
f94540b28a
Merge "[WorkProfile] Update work/personal tab to pills" into sc-dev
2021-05-06 23:33:06 +00:00
Steven Ng
78a3d40703
Merge "Only show collapse handle when the bottom widgets picker is scrollable" into sc-dev am: 1b28e6d40a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14453618
Change-Id: Ie103ef153b2480d8c973818524ca4ceb5d6b7a47
2021-05-06 22:13:36 +00:00
Steven Ng
293d51879a
Merge "Only show collapse handle when the bottom widgets picker is scrollable" into sc-dev am: 1b28e6d40a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14453618
Change-Id: I080da891e694a0cab8f9d56f6d253524168937f6
2021-05-06 22:13:18 +00:00
Steven Ng
57347bd6b7
Only show collapse handle when the bottom widgets picker is scrollable
...
Test: Go to contact bottom widgets picker. No collapse handle is
shown because the content isn't scrollable. Go to Google calendar
bottom widget picker. Collapse handle is hown because the content
is scrollable.
Bug: 185134663
Change-Id: Ic6109c055a072aa1cf3521f829833fd5f4cece0f
2021-05-06 17:39:49 +01:00
Steven Ng
2d4cf3f7ee
Merge "Fix scrolling issue in the full widgets picker" into sc-dev am: 9b68983790
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14442197
Change-Id: Ia1c290415d071e9787e7350e3ca1285424910817
2021-05-06 09:42:10 +00:00
Steven Ng
ef019a1e50
Merge "Fix scrolling issue in the full widgets picker" into sc-dev am: 9b68983790
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14442197
Change-Id: I88384dd3b7de4b7da16937e59da0a8f72dacb7b7
2021-05-06 09:40:36 +00:00
Shan Huang
18caa92dba
Add a background scrim to launcher for text protection.
...
This is a temporary approach to dim the wallpaper. Flip on ENABLE_WALLPAPER_SCRIM to enable the scrim.
In the long term we'll dim the wallpaper layer directly.
Test: Manual
Bug: 185890335
Change-Id: Ia88597bbcba6ae1536015d1b2a35260cab4a4453
2021-05-06 15:43:48 +08:00
Steven Ng
edfec2fc0b
Fix scrolling issue in the full widgets picker
...
Before this change, the widgets recommendation table handles all the
touch events. The table doesn't distinguish a touch event from a scroll
event. This change forwards the motion event to the active recycler view.
If the recycler view doesn't handle the event, it will then forward the
event back to the view hierarchy.
Test: Open the full widgets picker, then start scrolling on the
recommended widgets UI. The full widgets picker scrolls perfectly.
Drag-n-drop a recommended widget
Bug: 186567644
Change-Id: I89d473179796c516d2394332dd75f8e9a1d8b388
2021-05-05 23:19:09 +01:00
Santiago Etchebehere
022e2d672f
Merge "Update the label of Wallpapers button" into sc-dev am: b90a951fed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14419622
Change-Id: Ia9edd95096a63564c65ffaf8c23011ce46875d47
2021-05-05 01:32:51 +00:00
Santiago Etchebehere
18295e9779
Merge "Update the label of Wallpapers button" into sc-dev am: b90a951fed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14419622
Change-Id: Ifda9bd4254e9a0253726a659ce87fc66d47b9b2f
2021-05-05 01:32:50 +00:00
Santiago Etchebehere
b90a951fed
Merge "Update the label of Wallpapers button" into sc-dev
2021-05-05 00:59:02 +00:00
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