Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScroller.java467 double totalDistance = getSplineFlingDistance(velocity); in fling() local
468 mDistance = (int) (totalDistance * Math.signum(velocity)); in fling()
475 mFinalX = startX + (int) Math.round(totalDistance * coeffX); in fling()
480 mFinalY = startY + (int) Math.round(totalDistance * coeffY); in fling()
DOverScroller.java760 double totalDistance = 0.0; in fling() local
764 totalDistance = getSplineFlingDistance(velocity); in fling()
767 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()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DPagedView.java1223 int totalDistance = getScaledMeasuredWidth(v) + mPageSpacing; in getScrollProgress() local
1227 float scrollProgress = delta / (totalDistance * 1.0f); in getScrollProgress()