Loading core/java/android/widget/Scroller.java +1 −2 Original line number Diff line number Diff line Loading @@ -67,13 +67,12 @@ public class Scroller { private static final int FLING_MODE = 1; private static float DECELERATION_RATE = (float) (Math.log(0.75) / Math.log(0.9)); private static float ALPHA = 400; // pixels / seconds private static float ALPHA = 800; // pixels / seconds private static float START_TENSION = 0.4f; // Tension at start: (0.4 * total T, 1.0 * Distance) private static float END_TENSION = 1.0f - START_TENSION; private static final int NB_SAMPLES = 100; private static final float[] SPLINE = new float[NB_SAMPLES + 1]; private float mDeceleration; private final float mPpi; Loading Loading
core/java/android/widget/Scroller.java +1 −2 Original line number Diff line number Diff line Loading @@ -67,13 +67,12 @@ public class Scroller { private static final int FLING_MODE = 1; private static float DECELERATION_RATE = (float) (Math.log(0.75) / Math.log(0.9)); private static float ALPHA = 400; // pixels / seconds private static float ALPHA = 800; // pixels / seconds private static float START_TENSION = 0.4f; // Tension at start: (0.4 * total T, 1.0 * Distance) private static float END_TENSION = 1.0f - START_TENSION; private static final int NB_SAMPLES = 100; private static final float[] SPLINE = new float[NB_SAMPLES + 1]; private float mDeceleration; private final float mPpi; Loading