Searched refs:distanceRatio (Results 1 – 3 of 3) sorted by relevance
626 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dy) / height);628 distanceInfluenceForSnapDuration(distanceRatio);
793 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dx) / width); in smoothScrollTo() local795 distanceInfluenceForSnapDuration(distanceRatio); in smoothScrollTo()
4934 final float distanceRatio = Math.min(1.f, 1.f * delta / containerSize); in computeScrollDuration() local4936 * distanceInfluenceForSnapDuration(distanceRatio); in computeScrollDuration()