Home
last modified time | relevance | path

Searched refs:totalDistance (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DScroller.java455 double totalDistance = getSplineFlingDistance(velocity); in fling() local
456 mDistance = (int) (totalDistance * Math.signum(velocity)); in fling()
463 mFinalX = startX + (int) Math.round(totalDistance * coeffX); in fling()
468 mFinalY = startY + (int) Math.round(totalDistance * coeffY); in fling()
DOverScroller.java758 double totalDistance = 0.0; in fling() local
762 totalDistance = getSplineFlingDistance(velocity); in fling()
765 mSplineDistance = (int) (totalDistance * Math.signum(velocity)); in fling()
831 final double totalDistance = getSplineFlingDistance(velocity); in startAfterEdge() local
832 if (totalDistance > Math.abs(overDistance)) { in startAfterEdge()