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

Commit 87d9162e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Reduce animation completion epsilon to avoid early end." into sc-dev am: 1700fa9e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14282082

Change-Id: Ia2e70288a9a3194679d8a2b75216a9ce300e8e0f
parents ed41fca2 1700fa9e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -106,13 +106,13 @@ public class EdgeEffect {
     * The velocity threshold before the spring animation is considered settled.
     * The idea here is that velocity should be less than 0.1 pixel per second.
     */
    private static final double VELOCITY_THRESHOLD = 0.1;
    private static final double VELOCITY_THRESHOLD = 0.01;

    /**
     * The value threshold before the spring animation is considered close enough to
     * the destination to be settled. This should be around 0.01 pixel.
     */
    private static final double VALUE_THRESHOLD = 0.01;
    private static final double VALUE_THRESHOLD = 0.001;

    /**
     * The natural frequency of the stretch spring.