Unfolded shade expansion: make it slower to match motion specs
Increasing the split shade full transition distance from 200dp to 400dp.
Make scrim transition 600dp, which 15% larger than the full transition
distance, as it was before as well.
Test: Manually - Recorded before and after videos and compared side by
side.
Bug: 267543111
Change-Id: I2ba735011a740ce02e2a3a160325d1b3c9cd1e4a
This commit is contained in:
@@ -1362,13 +1362,13 @@
|
||||
<dimen name="pulse_expansion_max_top_overshoot">32dp</dimen>
|
||||
|
||||
<!-- The drag amount required for the split shade to fully expand. -->
|
||||
<dimen name="split_shade_full_transition_distance">200dp</dimen>
|
||||
<dimen name="split_shade_full_transition_distance">400dp</dimen>
|
||||
<!--
|
||||
The drag amount required for the scrim to fully fade in when expanding the split shade.
|
||||
Currently setting it a little longer than the full shade transition distance, to avoid
|
||||
having a state where the screen is fully black without any content showing.
|
||||
-->
|
||||
<dimen name="split_shade_scrim_transition_distance">300dp</dimen>
|
||||
<dimen name="split_shade_scrim_transition_distance">600dp</dimen>
|
||||
|
||||
<!-- Alpha in duration in ms for the auth ripple to become fully vislble. If set to 0,
|
||||
it is immediately visible. -->
|
||||
|
||||
Reference in New Issue
Block a user