Shan Huang
43db9a1533
Merge "Update smartspace and workspace text color always use black or white." into sc-dev am: 9d16d7f192
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14494141
Change-Id: I551727f4e760d7ad1c3da0b3c6669bcaa090afa5
2021-05-11 23:49:19 +00:00
Shan Huang
9d16d7f192
Merge "Update smartspace and workspace text color always use black or white." into sc-dev
2021-05-11 23:38:29 +00:00
Hyunyoung Song
222a59e79a
Implement overshoot and squish motion in all apps open
...
Bug: 187475924
Bug: 183062683
Test: manual
Change-Id: I33b6c647c45ff467c6d49cf3796f92ca366ab3f1
2021-05-11 13:49:45 -07:00
Alina Zaidi
042249ff59
Update colors in pin widget dialog, to be similar to widget bottom sheet.
...
Bug: 187374499
Test: Visually tested. Also tested using accessibility scanner.
Change-Id: I3be84dc394d312d03b97fe66b7e8214c4d8bef71
2021-05-11 17:47:48 +01:00
TreeHugger Robot
c8c85b550e
Merge "Update workspace text shadow according to new specs." into sc-dev am: b1754bfc06
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14494140
Change-Id: Iafd7ff6e643005c341b536314c33c9fe5c782e8d
2021-05-11 16:26:06 +00:00
TreeHugger Robot
25e6958e75
Merge "Update workspace text shadow according to new specs." into sc-dev am: b1754bfc06
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14494140
Change-Id: If07bc0b10e85f6435710603fd98b62282e620150
2021-05-11 16:17:49 +00:00
TreeHugger Robot
b1754bfc06
Merge "Update workspace text shadow according to new specs." into sc-dev
2021-05-11 15:59:57 +00:00
TreeHugger Robot
f0b07f7164
Merge "Handle config changes in Launcher" into sc-dev am: 95ff5cf63e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14234761
Change-Id: I0d2a436b70d120fac658a331682f8630b4145806
2021-05-11 15:43:50 +00:00
Shan Huang
4cbe517801
Update workspace text shadow according to new specs.
...
Test: Manual
Bug: 185890335, 187796297
Change-Id: Iba455544cdba86ddab7f1cfcc6c30c074e55ab84
2021-05-11 22:35:27 +08:00
TreeHugger Robot
b8991cc1fc
Merge "Handle config changes in Launcher" into sc-dev am: 95ff5cf63e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14234761
Change-Id: Ic71f8c2c6f595ae6c968466b19228f6506f132f1
2021-05-11 11:17:58 +00:00
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