Searched refs:DECELERATED_FACTOR (Results 1 – 1 of 1) sorted by relevance
34 private static final int DECELERATED_FACTOR = 4; field in FlingScroller97 * Math.pow(Math.abs(velocity), 1.0 / (DECELERATED_FACTOR - 1))); in fling()101 velocity * mDuration / DECELERATED_FACTOR / 1000); in fling()110 f = 1 - (float) Math.pow(f, DECELERATED_FACTOR); in computeScrollOffset()138 return DECELERATED_FACTOR * mDistance * 1000 * in getV()139 Math.pow(1 - progress, DECELERATED_FACTOR - 1) / mDuration; in getV()