Commit Graph

3645 Commits

Author SHA1 Message Date
Jonathan Miranda cb5139f20e Merge "Tuning app close, and turn on flag." into sc-dev am: 951962cd05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14512489

Change-Id: I72329605b46faa408cd5db21989497d26738044c
2021-05-12 23:56:46 +00:00
Jonathan Miranda 951962cd05 Merge "Tuning app close, and turn on flag." into sc-dev 2021-05-12 23:28:59 +00:00
Jon Miranda b3a267b58a Tuning app close, and turn on flag.
- Tracks centery, slowed things down a bit

* We will be replacing StaggeredWorkspaceAnim with
  another animation, but I'm keeping it here in
  case we decide to turn the flag off later on.

Bug: 173107751
Test: manual
Change-Id: I5cd54ec374ad07c4912aff125a905b3b1dc7ebd5
2021-05-12 15:04:15 -07:00
Hyunyoung Song 45c5e37519 Merge "Implement overshoot and squish motion in all apps open" into sc-dev am: afd470fc69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14492394

Change-Id: Iba165d235e9bdefda3cf1e41b8fd037f02531524
2021-05-12 18:08:36 +00:00
Hyunyoung Song afd470fc69 Merge "Implement overshoot and squish motion in all apps open" into sc-dev 2021-05-12 17:51:31 +00:00
Alina Zaidi ce75fe39ba Merge "Prevent cropping of personal/work tabs in full screen widget picker." into sc-dev am: 3237236f26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14503978

Change-Id: I4790d3397cde3252e662c4dd024b9f9b3e943160
2021-05-12 17:23:15 +00:00
Alina Zaidi 3237236f26 Merge "Prevent cropping of personal/work tabs in full screen widget picker." into sc-dev 2021-05-12 17:13:50 +00:00
Hyunyoung Song 6c1989221b Merge "Fix white text on light accent color issue for all apps and widgets drawer" into sc-dev am: 15df06d05e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14513826

Change-Id: I671e0c0281fe1939608985132273b05f955175a4
2021-05-12 17:01:05 +00:00
Hyunyoung Song 15df06d05e Merge "Fix white text on light accent color issue for all apps and widgets drawer" into sc-dev 2021-05-12 16:42:09 +00:00
Jonathan Miranda e530554941 Merge "Remove color extraction from popup arrow, add shadows." into sc-dev am: d95aa5a5d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14471367

Change-Id: Ic355dc0a2332f6107d24111ad16ede8831e10f1c
2021-05-12 16:07:25 +00:00
Jonathan Miranda d95aa5a5d7 Merge "Remove color extraction from popup arrow, add shadows." into sc-dev 2021-05-12 15:47:43 +00:00
TreeHugger Robot 54ea4b7072 Merge "Update colors in pin widget dialog, to be similar to widget bottom sheet." into sc-dev am: 01d1cb9273
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14491688

Change-Id: I251c9febf984ca0d42113a53623ff2b53d0b7d6a
2021-05-12 15:19:03 +00:00
TreeHugger Robot 01d1cb9273 Merge "Update colors in pin widget dialog, to be similar to widget bottom sheet." into sc-dev 2021-05-12 14:56:14 +00:00
Alina Zaidi 071665c89b Prevent cropping of personal/work tabs in full screen widget picker.
Bug: 187632869
Test: Tested manually
Change-Id: I39a43ed1efae5802ffdd5d79ad3cb1a50af38d62
2021-05-12 14:57:42 +01:00
Hyunyoung Song 3af62c1e25 Fix white text on light accent color issue for all apps and widgets drawer
Bug: 187857897
Bug: 185211063

Test: manual, see screenshot on the bug
Change-Id: Ie7461ce4724c15dafda35a5c533d9539a34d68ab
2021-05-12 00:42:11 -07:00
Jonathan Miranda 5b274bf0a8 Merge "Fix contrast issue with folder background and text colors." into sc-dev am: d75f89c6c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14506765

Change-Id: I5773e0dc435cb3da3ad4a1392f2af58679008085
2021-05-12 03:34:08 +00:00
Jonathan Miranda d75f89c6c0 Merge "Fix contrast issue with folder background and text colors." into sc-dev 2021-05-12 01:49:26 +00:00
Jon Miranda 35c5477d5c Remove color extraction from popup arrow, add shadows.
Bug: 175329686
Bug: 187014675
Test: manual

Change-Id: I84a3f23b7a9ceef004a2b1b66e5f8a10585bd113
2021-05-11 17:35:01 -07:00
Jon Miranda 7bbd03160f Fix contrast issue with folder background and text colors.
Bug: 187797251
Test: dark wallpaper, light wallpaper, toggle dark theme on both
Change-Id: I57ddfc91878d68735d5ae5ec5ab78222fda101ca
2021-05-11 17:01:53 -07:00
Shan Huang feacf13a75 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: Ib13259427f37a449397d1a0d2dc27a7c7fa28f01
2021-05-11 23:43:20 +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 feb62274c8 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: I2eba32b1fca0f1b4bd2671891baecd42b2bd3dcb
2021-05-11 16:19:52 +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
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 c665322894 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: I8121c7f5aa33712d6b6b20de3806a5f24df8b233
2021-05-11 11:20:05 +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 e2e4ff5b48 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: I8d70d9e100cfa72d30a4e5efd165fc857e0785f4
2021-05-11 00:53:01 +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 55c252fe44 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: I8ec568dfc0e5025d3a792de27d50e900b23a6f7a
2021-05-08 20:22:00 +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 f25d2ac249 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: I09572dde0c836f4884d2ce1ef6be7d882b02d7c9
2021-05-07 18:18:29 +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 0d92d808bc 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: I25b56c7d710db7737ced41e6393c9517fd7d9620
2021-05-07 15:24:43 +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 dde42b46ab 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: Ib88bd2561446e56c22e38175608c086d5b61d049
2021-05-07 04:14:18 +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 413e64d398 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: Ie43572bc81628f336452040ec717e130ce687b77
2021-05-06 23:50:49 +00:00