Commit Graph

6493 Commits

Author SHA1 Message Date
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
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 ea46d9f4a2 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: I767e8f15481c75ec0d069c96a920077acfc9d0ab
2021-05-12 16:05:35 +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 edeeb450d1 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: I40648e858c42bb0076b9516137eb843ba0d331ec
2021-05-12 15:17:58 +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
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 a5ae0dd666 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: Ib3308f65fc52a0c248cf0d9eb0b21c18cb7df359
2021-05-12 03:33:02 +00:00
Jonathan Miranda 92e6deb120 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: I1b5f6c54bbe8a261bbc159d16216e2b3dff35abf
2021-05-12 03:25:14 +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 05fb32d368 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: Ie628ff4358301a3e6334ed860494f33b63b32658
2021-05-11 23:49:44 +00:00