Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d29d73d8 authored by Michel Comin Escude's avatar Michel Comin Escude
Browse files

Updated Stretch based on design feedback

Bug: 179047472
Test: re-ran EdgeEffectTests
Change-Id: I1ed6df2d8ec1d69670cf4977cf7286052240b0d1
parent 1d7bd516
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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";