Commit Graph

3665 Commits

Author SHA1 Message Date
Samuel Fufa aeb6e508d1 Merge "[Search] Update all apps header protection" into sc-dev am: b1114a9834 am: 6019318f9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14628251

Change-Id: Ibe70b6ba32c234fa27af74827038d25b7f0396f2
2021-05-19 19:32:58 +00:00
Samuel Fufa b1114a9834 Merge "[Search] Update all apps header protection" into sc-dev 2021-05-19 19:00:33 +00:00
TreeHugger Robot 078c4437d2 Merge "Folder polish" into sc-dev am: 1e558a2f4c am: 6e1059810e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14625965

Change-Id: Ib6b16f98616411e5c76a0a1f43c8f79d9a054b46
2021-05-19 18:39:43 +00:00
TreeHugger Robot 1e558a2f4c Merge "Folder polish" into sc-dev 2021-05-19 18:00:18 +00:00
Jon Miranda e3104682fb Folder polish
- Update folder hint text to ensure enough contrast.
- Clamp down on alpha when animating to local color extraction
- Update colors to new spec.

Bug: 179209484
Bug: 175329686
Test: manual
Change-Id: I9471504e10f02630ae13b2c478ced1ee05bd5220
2021-05-19 14:03:09 +00:00
TreeHugger Robot 4717bae7dc Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-19 02:51:31 +00:00
Bill Yi ea03e18d60 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I77968af0ca2fab25ec12108db6c4e84d19c0ccec
2021-05-18 23:11:51 +00:00
Samuel Fufa 76b33404b5 [Search] Update all apps header protection
- Introduce spacing between header protection and search box
- introduce vertical padding for "personal | work" tab
- animate tab header protection color change when docking

Test: Manual
preview: https://drive.google.com/file/d/1eS4B7hcLExxCdjSp1IzBcziKm-9w87UR/view?usp=sharing&resourcekey=0--mtY6bCC9GJpFSUC8I5d6w
Bug: 184946772
Change-Id: I840af27c7557f1dffd7a15874aa09833514b4bb1
2021-05-18 17:14:14 -05:00
Samuel Fufa dc84ce57d1 Merge "Fix header protection interactions" into sc-dev am: b605d1d73c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14601721

Change-Id: I73cfd3d206a892c15a3916e16a12c221eb095609
2021-05-18 19:03:15 +00:00
Samuel Fufa b605d1d73c Merge "Fix header protection interactions" into sc-dev 2021-05-18 19:00:37 +00:00
Sunny Goyal 3cb1237308 Merge "Moving taskbar lifecycle to TouchInteractionService" into sc-dev am: 5bb515b6cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14445701

Change-Id: Ibe2ec56b9d9e4137323777f05b02a0b72d5b88ee
2021-05-18 17:27:58 +00:00
Sunny Goyal 5bb515b6cc Merge "Moving taskbar lifecycle to TouchInteractionService" into sc-dev 2021-05-18 17:17:27 +00:00
Jonathan Miranda 3183befc61 Merge "Add WorkspaceRevealAnim, successor to StaggeredWorkspaceAnim." into sc-dev am: 7d4aaaa73d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14523564

Change-Id: I129736f9fdd2e2a978186a3a05bf85eb482f9885
2021-05-18 17:04:06 +00:00
Jonathan Miranda 7d4aaaa73d Merge "Add WorkspaceRevealAnim, successor to StaggeredWorkspaceAnim." into sc-dev 2021-05-18 16:46:12 +00:00
Samuel Fufa 0a709374ae Fix header protection interactions
Bug: 184711608
Bug: 187790639
Preview: https://drive.google.com/file/d/1MDh71t8DQn0SxTQY3-GZTfIlGECQs_Kn/view?usp=sharing&resourcekey=0-ep9C3q9Meo8cQShVJqnKEw
Test: Manual
Change-Id: I9c939a894adc3e9cd1ed1beb7c11f9c2dd673824
2021-05-18 16:28:55 +00:00
Sunny Goyal e215fb730b Moving taskbar lifecycle to TouchInteractionService
> Inflating taskbar views with a non-launcher window context
> Removing separate taskbar view in Launcher
> Handling taskbar icon clicks directly instead of going via launcher
> Fixing some relayouts during show/hide animation

Bug: 187353581
Test: Manual
Change-Id: Ia7d44acbb770bf0345922234b3daa5cc040a5843
2021-05-17 21:47:08 -07:00
TreeHugger Robot 462de4142f Merge "Fix all apps & widgets picker tabs ripple effect" into sc-dev am: 162dca963c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14602574

Change-Id: Ic22477f4c271970102206ccd889c3de8bc39d914
2021-05-18 03:13:05 +00:00
TreeHugger Robot 162dca963c Merge "Fix all apps & widgets picker tabs ripple effect" into sc-dev 2021-05-18 03:07:01 +00:00
Jon Miranda 7d2dfcfb3f Add WorkspaceRevealAnim, successor to StaggeredWorkspaceAnim.
- Added support for widgets for the new close animation.
- This anim is used with the new app close.
- This anim is not compataible with the old app close, so we need to
  keep StaggeredWorkspaceAnim in case we turn the app close flag off.

- We will also use this anim in the lockscreen to launcher anim, will
  connect them in a follow up CL.

Bug: 188413065
Bug: 173107751
Test: manual
Change-Id: Icab3fd700f2c268bb1c4509a37466e4e6748f789
2021-05-17 23:04:07 +00:00
Steven Ng 33a328370b Fix all apps & widgets picker tabs ripple effect
Test: Switch between tabs in all apps & widgets picker
Bug: 188091348
Change-Id: I9d8aae33ffe11a0c19f166517be881e06cf6d6b0
2021-05-17 23:19:16 +01:00
Hyunyoung Song 7945a3e78f Merge "Catch NPE for AllAppsContainerView.dispatchRestoreInstanceState" into sc-dev am: b83e8f614a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14598100

Change-Id: I1e7adcf5dd10646165fe2a42feaef6b99392b5dc
2021-05-17 22:05:34 +00:00
Hyunyoung Song b83e8f614a Merge "Catch NPE for AllAppsContainerView.dispatchRestoreInstanceState" into sc-dev 2021-05-17 21:44:16 +00:00
Steven Ng 1f2a9b26e1 Merge "Add a scrim underneath the top section of search & recommendation UI" into sc-dev am: c47d8a027d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14549882

Change-Id: I77928890de298b225e29006818135f591e685963
2021-05-17 18:16:27 +00:00
Steven Ng c47d8a027d Merge "Add a scrim underneath the top section of search & recommendation UI" into sc-dev 2021-05-17 17:51:41 +00:00
Alina Zaidi 998441d729 Merge "Modify pin widget dialog open-close animation." into sc-dev am: f0e11cbbc3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14488296

Change-Id: Id9b478b877b121aa022b40a22c4cf34b298e8920
2021-05-17 17:12:51 +00:00
Alina Zaidi f0e11cbbc3 Merge "Modify pin widget dialog open-close animation." into sc-dev 2021-05-17 16:51:50 +00:00
Hyunyoung Song 5a981e2a56 Merge "Fix searchbox font and other specs" into sc-dev am: be26cb271f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14543544

Change-Id: I659ec45b9faaa8d96b5512ece387578b30d734bf
2021-05-17 16:25:48 +00:00
TreeHugger Robot a9021873a9 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-17 16:17:17 +00:00
Hyunyoung Song be26cb271f Merge "Fix searchbox font and other specs" into sc-dev 2021-05-17 15:56:36 +00:00
Stevie Kideckel b7818a633a Merge "Add start to widget app name layout gravity" into sc-dev am: 360793ed01
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14547196

Change-Id: I8347d37b027ac6f2f6612adfe2c9e085a74277fc
2021-05-17 10:58:19 +00:00
Bill Yi 420c767862 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia5ccecac9aa14e4d00d1beced9d823d80f8c1fcd
2021-05-17 10:51:51 +00:00
Hyunyoung Song 05d3e86401 Fix searchbox font and other specs
Bug: 187654557
Test: manual, see attached image on the bug

Change-Id: I570df1bcc926258ca406810ea10b3d1fdd3cd2ec
2021-05-17 01:08:44 -07:00
Hyunyoung Song 2cecad8e75 Catch NPE for AllAppsContainerView.dispatchRestoreInstanceState
TL;DR;;
Missing view id for work profile recycler view
caused restore failure as there are different type of
views that contains same id. However, even after that fix,
lack of view id in slice views generated by other process
causes failure when mFlags on these not restored slice
views needs to be accessed.

Bug: 186596139
Test: manual
Change-Id: I8a97598c27acbc05ac8a39c50fe5862e541d62ad
2021-05-17 00:47:28 -07:00
Alina Zaidi d80cec62b4 Modify pin widget dialog open-close animation.
Pin widget sheet should open from bottom up and close on drag down.
Behaviour with navigation bar is similar to that of widgets bottom sheet.

Add a drag layer and reuse AbstractSlideInView for open-close
animation.

Test: Tested manually- opening, closing through dragging/ cancel button/
back button. Adding widget to screen by dragging/ add to home screen
button.
Bug: 186124244

Change-Id: I4b77d5bdd4ed1689b651847dfed69d19cafa7456
2021-05-14 17:59:50 +01:00
Steven Ng 3503e6fa25 Add a scrim underneath the top section of search & recommendation UI
Test: In the full widgets picker, scroll up. Recommended widgets are
      not visible behind the search bar when they overlap.
Bug: 188021019
Change-Id: I13144ad534c74393bb1b12c651e734bb8bee0bc2
2021-05-14 17:03:01 +01:00
Stevie Kideckel 5fc74c7f8f Add start to widget app name layout gravity
This fixes the alignment issue in RTL. Seems like the default is start
if layout_gravity isn't set, but if you set layout_gravity to
center_vertical, you need to explicitly set start or it will go to the
left.

Bug: 188147009
Test: validated locally and in AS layout preview
Change-Id: Ic4b4d7e6dfe03e1e6dd3ead5c3821e77261b4bb5
2021-05-14 12:37:44 +00:00
Bill Yi 57d250944a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I01c33a3b97106b9b40c6175118e9d47153d8599c
2021-05-13 07:40:05 +00:00
Jonathan Miranda 122594d6c7 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: If51f153444e399ccd4ca4977809232826825db10
2021-05-12 23:54:24 +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 000596fbd4 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: Ifec9ee986d478df6dae9de67ec00135b967575c9
2021-05-12 18:06:34 +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 d9d40066cf 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: I9c01293e94f0aefe2a6bd1ef572d2d3fd9bad30f
2021-05-12 17:22:34 +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 e70c2108a7 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: I7c4c1679d15c187e0196984b356f316b6619148b
2021-05-12 16:56:46 +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 b3836071d1 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: Ic0c8bb64af3d7629e498ab272bdfadbce8921d20
2021-05-12 16:05:12 +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 f1e1a1848c 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: I773bbd9a98c61a118888561adc40a5f7d5d56056
2021-05-12 15:17:10 +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