Searched refs:totalDistance (Results 1 – 3 of 3) sorted by relevance
467 double totalDistance = getSplineFlingDistance(velocity); in fling() local468 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()
760 double totalDistance = 0.0; in fling() local764 totalDistance = getSplineFlingDistance(velocity); in fling()767 mSplineDistance = (int) (totalDistance * Math.signum(velocity)); in fling()831 final double totalDistance = getSplineFlingDistance(velocity); in startAfterEdge() local832 if (totalDistance > Math.abs(overDistance)) { in startAfterEdge()
1223 int totalDistance = getScaledMeasuredWidth(v) + mPageSpacing; in getScrollProgress() local1227 float scrollProgress = delta / (totalDistance * 1.0f); in getScrollProgress()