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

Commit 4db72e24 authored by George Mount's avatar George Mount
Browse files

Change the spring constants for EdgeEffect

Bug: 171228096

New spring constants for EdgeEffect.

Test: EdgeEffectTest, ScrollViewTest, HorizontalScrollViewTest,
ListViewTest

Change-Id: I094bf6a68e9acc567919eaeb62d601cb84d405a6
parent 1dfc2561
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -117,12 +117,12 @@ public class EdgeEffect {
    /**
     * The natural frequency of the stretch spring.
     */
    private static final double NATURAL_FREQUENCY = 14.4222;
    private static final double NATURAL_FREQUENCY = 17.55;

    /**
     * The damping ratio of the stretch spring.
     */
    private static final double DAMPING_RATIO = 0.875;
    private static final double DAMPING_RATIO = 0.92;

    /** @hide */
    @IntDef({TYPE_GLOW, TYPE_STRETCH})