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

Commit 34961cc2 authored by Gilles Debunne's avatar Gilles Debunne
Browse files

Reduced Overfling threshold after many different cefficient tries.

Change-Id: Ib655e73fc75a09c6379883871fabf90793a6cff5
parent d7fe27c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -166,7 +166,7 @@ public class ViewConfiguration {
    /**
     * Max distance to overfling for edge effects
     */
    private static final int OVERFLING_DISTANCE = 20;
    private static final int OVERFLING_DISTANCE = 12;

    private final int mEdgeSlop;
    private final int mFadingEdgeLength;
+1 −0
Original line number Diff line number Diff line
@@ -948,6 +948,7 @@ public class OverScroller {
            }

            mCurrentPosition = mStart + (int) Math.round(distance);

            return true;
        }
    }