Searched refs:totalDistance (Results 1 – 3 of 3) sorted by relevance
455 double totalDistance = getSplineFlingDistance(velocity); in fling() local456 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()
760 double totalDistance = 0.0; in fling() local764 totalDistance = getSplineFlingDistance(velocity); in fling()767 mSplineDistance = (int) (totalDistance * Math.signum(velocity)); in fling()833 final double totalDistance = getSplineFlingDistance(velocity); in startAfterEdge() local834 if (totalDistance > Math.abs(overDistance)) { in startAfterEdge()
645 int totalDistance = Math.abs(endHeight - startHeight); in calculateTransformationAmount() local646 float amount = (float) progress / (float) totalDistance; in calculateTransformationAmount()