Updated Stretch based on design feedback

Bug: 179047472
Test: re-ran EdgeEffectTests
Change-Id: I1ed6df2d8ec1d69670cf4977cf7286052240b0d1
This commit is contained in:
Michel Comin Escude
2021-03-23 06:07:22 +00:00
parent 1d7bd5166c
commit d29d73d814

View File

@@ -130,11 +130,11 @@ public class EdgeEffect {
public @interface EdgeEffectType {
}
private static final float LINEAR_STRETCH_INTENSITY = 0.03f;
private static final float LINEAR_STRETCH_INTENSITY = 0.06f;
private static final float EXP_STRETCH_INTENSITY = 0.02f;
private static final float EXP_STRETCH_INTENSITY = 0.06f;
private static final float SCROLL_DIST_AFFECTED_BY_EXP_STRETCH = 0.4f;
private static final float SCROLL_DIST_AFFECTED_BY_EXP_STRETCH = 0.33f;
@SuppressWarnings("UnusedDeclaration")
private static final String TAG = "EdgeEffect";