Searched defs:distanceRatio (Results 1 – 2 of 2) sorted by relevance
1696 float distanceRatio = Math.min(1f, 1.0f * Math.abs(delta) / (2 * halfScreenSize)); in snapToPageWithVelocity() local
3606 val distanceRatio = delta / width in calculateDuration() constant