Steven Ng
f375e8bebc
Fix ripple effect shown when tapping an app row in widgets picker
...
Test: Open the full widgets and tap an app. Ripple effect is applied
to the entire row rather than just on the arrow.
Bug: 188873069
Change-Id: Id77b2055f6bc31c12bb19e695ea44aeaff36c4a6
2021-05-24 16:32:56 +01:00
Sunny Goyal
d5500548dc
Revert^2 "Moving taskbar lifecycle to TouchInteractionService"
...
430465a3d5
Bug: 187353581
Change-Id: I7b2280d16adfafd3e85ffc1d22e32d0c00d12b67
2021-05-21 07:05:02 +00:00
Steven Ng and Android (Google) Code Review
36f9aa7530
Merge "Apply android:attr/dialogCornerRadius to widgets picker dialog top corners" into sc-dev
2021-05-20 23:46:53 +00:00
Steven Ng and Android (Google) Code Review
b46428fcd9
Merge "Remove work profile badge from widget previews" into sc-dev
2021-05-20 23:42:50 +00:00
Steven Ng
400493c70c
Apply android:attr/dialogCornerRadius to widgets picker dialog top corners
...
Test: Open full & bottom widgets picker and observe the top corners.
Bug: 188651333
Change-Id: If091e2d760042582bb98cbd3e44663542098ecd9
2021-05-20 22:05:29 +01:00
Kholoud Mohamed
430465a3d5
Revert "Moving taskbar lifecycle to TouchInteractionService"
...
This reverts commit e215fb730b .
Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/tests/view?invocationId=I13700009003387451&testResultId=TR89423459137251402 , bug https://buganizer.corp.google.com/issues/188755902
Bug: 188755902
Change-Id: I4650136975b60f311499ee6ff5b27ab9a32d23d6
2021-05-20 13:32:05 +01:00
Bill Yi
34f90233c6
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I48b71c9a8d0d380b91f614fad5fc581a67a2fb6b
2021-05-20 01:54:58 +00:00
Steven Ng
f735c738ea
Remove work profile badge from widget previews
...
Test: Check work profile badge no longer shown on work widget in the
full and bottom widgets pickers.
Bug: 177675123
Change-Id: I0e5e32e18df832c1919749404094d68805c30556
2021-05-19 21:45:10 +01:00
Samuel Fufa and Android (Google) Code Review
b1114a9834
Merge "[Search] Update all apps header protection" into sc-dev
2021-05-19 19:00:33 +00:00
TreeHugger Robot and Android (Google) Code Review
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 and Android (Google) Code Review
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 and Android (Google) Code Review
b605d1d73c
Merge "Fix header protection interactions" into sc-dev
2021-05-18 19:00:37 +00:00
Sunny Goyal and Android (Google) Code Review
5bb515b6cc
Merge "Moving taskbar lifecycle to TouchInteractionService" into sc-dev
2021-05-18 17:17:27 +00:00
Jonathan Miranda and Android (Google) Code Review
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 and Android (Google) Code Review
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 and Android (Google) Code Review
b83e8f614a
Merge "Catch NPE for AllAppsContainerView.dispatchRestoreInstanceState" into sc-dev
2021-05-17 21:44:16 +00:00
Steven Ng and Android (Google) Code Review
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 and Android (Google) Code Review
f0e11cbbc3
Merge "Modify pin widget dialog open-close animation." into sc-dev
2021-05-17 16:51:50 +00:00
TreeHugger Robot and Android (Google) Code Review
a9021873a9
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-05-17 16:17:17 +00:00
Hyunyoung Song and Android (Google) Code Review
be26cb271f
Merge "Fix searchbox font and other specs" into sc-dev
2021-05-17 15:56:36 +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 and Android (Google) Code Review
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 and Android (Google) Code Review
afd470fc69
Merge "Implement overshoot and squish motion in all apps open" into sc-dev
2021-05-12 17:51:31 +00:00
Alina Zaidi and Android (Google) Code Review
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 and Android (Google) Code Review
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 and Android (Google) Code Review
d95aa5a5d7
Merge "Remove color extraction from popup arrow, add shadows." into sc-dev
2021-05-12 15:47:43 +00:00
TreeHugger Robot and Android (Google) Code Review
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 and Android (Google) Code Review
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 and Android (Google) Code Review
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 and Android (Google) Code Review
b1754bfc06
Merge "Update workspace text shadow according to new specs." into sc-dev
2021-05-11 15:59:57 +00:00