Commit Graph

4959 Commits

Author SHA1 Message Date
Samuel Fufa 2755dd5bc5 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: Iac83cfd896c41a35f3a2e5ebfb8301c2a136e99d
2021-05-18 19:25:19 +00: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 88e529f3bb 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: I84541f78bd437434aa3a0c7381a1f3c6a00e2026
2021-05-18 17:29:11 +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 1019beb108 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: Ibf71733090ee2b229be1c0658989e72914752909
2021-05-18 17:08:46 +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 6966f85f65 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: Ib640308bb2c52db40420eca8910d8d49ba2360e1
2021-05-18 03:16:31 +00: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 3d0e518805 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: Iaf73099b5eadea98482146e017b7b397413791f5
2021-05-17 22:08:26 +00: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 878717175c 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: If06a20c9efb600a13a042faf2ae2c2ba3ff8e4e5
2021-05-17 18:17:50 +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 80f084a4c1 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: Ied02846358d964cfa43bd7e7f5f0f28ba227aab2
2021-05-17 17:13:32 +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 ce6ea83fad 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: I223b94b8b8f2d1af4a166a21793ec4adceadda4c
2021-05-17 16:27:38 +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 8cc74d5a2f 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: I1018517b1723d9fedd4bcce2393b1c067fdcc8af
2021-05-17 11:02:49 +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 6a5f6fe7ff Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7f95bdaa8ef3bf953c5948b4bfe68b28c7ee659a
2021-05-13 07:41:45 +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 c166d5d3b7 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: Id558563ffd427eede4877fe49480fc4a13b7a41b
2021-05-12 23:55:04 +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 c4d2d11fb7 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: Icffe1c0ae38a17e4998618ff6896389fe31911b3
2021-05-12 18:06:57 +00: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 bf8f1d76e7 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: I856b0bd7c8ef1da055cafe1c71c809b995fabcd0
2021-05-12 17:21:36 +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 ae42c8dabb 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: Ia59d359bf9d7ac4bdb4f5bfbde299685cb316703
2021-05-12 16:59:07 +00:00