Searched refs:totalDistance (Results 1 – 4 of 4) sorted by relevance
462 double totalDistance = getSplineFlingDistance(velocity); in fling() local463 mDistance = (int) (totalDistance * Math.signum(velocity)); in fling()470 mFinalX = startX + (int) Math.round(totalDistance * coeffX); in fling()475 mFinalY = startY + (int) Math.round(totalDistance * coeffY); in fling()
761 double totalDistance = 0.0; in fling() local765 totalDistance = getSplineFlingDistance(velocity); in fling()768 mSplineDistance = (int) (totalDistance * Math.signum(velocity)); in fling()834 final double totalDistance = getSplineFlingDistance(velocity); in startAfterEdge() local835 if (totalDistance > Math.abs(overDistance)) { in startAfterEdge()
795 int totalDistance = Math.abs(endHeight - startHeight); in calculateTransformationAmount() local796 if (totalDistance == 0) { in calculateTransformationAmount()803 float amount = (float) progress / (float) totalDistance; in calculateTransformationAmount()
5560 float totalDistance = getIntrinsicPadding(); in calculateAppearFractionBypass() local5561 return MathUtils.smoothStep(0, totalDistance, pulseHeight); in calculateAppearFractionBypass()