TreeHugger Robot
95ff5cf63e
Merge "Handle config changes in Launcher" into sc-dev
2021-05-11 10:58:48 +00:00
Shan Huang
f444db50aa
Update smartspace and workspace text color always use black or white.
...
This change updates the color of texts in launcher workspace as well as smartspace.
Bug: 185890335
Test: Visual inspection after setting different wallpapers for LS and
homescreen.
Change-Id: I77b870b8f7068103d687d39da01989b93d642b3b
2021-05-11 08:46:45 +00:00
TreeHugger Robot
b117c44b91
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-05-11 05:30:58 +00:00
Bill Yi
e2000a24af
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I29a8c938b4d0b96cbb04bdd1623381018c02e3ee
2021-05-11 04:20:00 +00:00
TreeHugger Robot
8f1c5d3546
Merge "Set swipe_up_rect_xy_stiffness back to 200 for existing app close anim." into sc-dev am: c790dab946
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14415116
Change-Id: I45de0897466282f86ff01092d2347217792136b1
2021-05-11 00:51:04 +00:00
TreeHugger Robot
3ca2e21013
Merge "Set swipe_up_rect_xy_stiffness back to 200 for existing app close anim." into sc-dev am: c790dab946
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14415116
Change-Id: I9ce0e7f106c041222d8ad57c0b3a4f646e31a029
2021-05-11 00:48:56 +00:00
TreeHugger Robot
c790dab946
Merge "Set swipe_up_rect_xy_stiffness back to 200 for existing app close anim." into sc-dev
2021-05-11 00:29:04 +00:00
Alex Chau
a02eddc144
Handle config changes in Launcher
...
- This is practically a revert to http://ag/c/13687966/5 and refactored to use DisplayController.DisplayInfoChangeListener
- Make Launcher handle size and density change so transition is less janky when screen size changes
- Added fix in RecentsView to update state and TaskView when display profile changes
- Removed 720dp specific resoureces
- Removed unused widget_section_indent
- Removed unnecessary all_apps_background_canvas 600dp override that is not needed in AllApps+
- Moved remaining dp specific into DeviceProfile
- Simplified allowRotation logic to use single variable in DeviceProfile to determine if allow rotation is enabled by default
Fixes: 180803696
Test: manual
Change-Id: Iea0a7d1a0e14dc3613152dd3b3887450a2e1fc2f
2021-05-10 18:50:02 +01:00
TreeHugger Robot
dccd36ba9b
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-05-09 20:42:37 +00:00
Bill Yi
8fa997f2b0
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I0c77f5561818d4516e821e7f11d01178e8272df1
2021-05-09 10:50:52 -07:00
TreeHugger Robot
e00df13995
Merge "New motion for ArrowPopup open/close." into sc-dev am: 21d9239559
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14390710
Change-Id: I6458542e7080a676a386474bcc58848794ae569f
2021-05-08 20:20:16 +00:00
TreeHugger Robot
89f1686ba1
Merge "New motion for ArrowPopup open/close." into sc-dev am: 21d9239559
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14390710
Change-Id: Id98c3c6aac6041090ef8e4526a32bd31fee0a256
2021-05-08 20:19:54 +00:00
TreeHugger Robot
21d9239559
Merge "New motion for ArrowPopup open/close." into sc-dev
2021-05-08 20:04:40 +00:00
Jon Miranda
94e43bd7d8
New motion for ArrowPopup open/close.
...
Bug: 175329686
Test: long press on apps where container opens above & below
and where container is aligned left & right
Change-Id: I09bbf57b6e19cc6f022b9a96fb48d8c4ae080813
2021-05-07 19:33:22 -07:00
Samuel Fufa
bea2954ee4
Merge "[Search][Motion] Introduce header protection in AllApps" into sc-dev am: 054f45486e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14454752
Change-Id: I9fd67bc0902a441c3bac6936a692c092a9c2af0c
2021-05-07 18:16:53 +00:00
Samuel Fufa
449c5b2ad1
Merge "[Search][Motion] Introduce header protection in AllApps" into sc-dev am: 054f45486e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14454752
Change-Id: I1a562b88f809b8c2ae6c62045a250c539f242f00
2021-05-07 18:16:32 +00:00
Samuel Fufa
054f45486e
Merge "[Search][Motion] Introduce header protection in AllApps" into sc-dev
2021-05-07 17:59:08 +00:00
TreeHugger Robot
8d9605c978
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-05-07 16:24:29 +00:00
Samuel Fufa
acebd1f69a
[Search][Motion] Introduce header protection in AllApps
...
ScrimView exposes ScrimDrawingController that allow FloatingHeaderView to observe AllApps scroll progress and draw header protection on Scrim. In addition, search box independently adopts header protection background to ensure proper clipping behavior.
Test: local
preview: https://drive.google.com/file/d/1_E577AAJ0LBg0zrKJQSEJK9GQnrtx7uv/view?usp=sharing&resourcekey=0-MTxjlB3xWyJ3qPvr4qMdig
Bug: 184946772
Change-Id: I64c0f4f50d26c475d31542148a15c7c145588d3f
2021-05-07 11:15:05 -05:00
Lucas Dupin
ad78ba7017
Merge "Fix launcher ripple opacity" into sc-dev am: f6f0892467
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14460819
Change-Id: I5fbade6a370988147f1f2c2c01003867ec3665a0
2021-05-07 15:22:56 +00:00
Lucas Dupin
1c233daa4c
Merge "Fix launcher ripple opacity" into sc-dev am: f6f0892467
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14460819
Change-Id: I9556a939e13de989c761b57814881cf04386ca7d
2021-05-07 15:21:46 +00:00
Lucas Dupin
f6f0892467
Merge "Fix launcher ripple opacity" into sc-dev
2021-05-07 15:08:45 +00:00
Bill Yi
3cf8cace5b
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I290c44f7134dc44c6ef200215d32c8c8a893e501
2021-05-07 14:44:16 +00:00
Shan Huang
3a2fb50dac
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: I5d06b055c1e715099535ba1b4172f25a029c1f1f
2021-05-07 04:14:06 +00:00
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