Searched refs:distanceRatio (Results 1 – 6 of 6) sorted by relevance
535 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dy) / height);537 distanceInfluenceForSnapDuration(distanceRatio);
787 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dx) / width); in smoothScrollTo() local789 distanceInfluenceForSnapDuration(distanceRatio); in smoothScrollTo()
4812 final float distanceRatio = Math.min(1.f, 1.f * delta / containerSize); in computeScrollDuration() local4814 * distanceInfluenceForSnapDuration(distanceRatio); in computeScrollDuration()
644 final float distanceRatio = Math.min(1f, (float) Math.abs(delta) / width); in computeAxisDuration() local646 * distanceInfluenceForSnapDuration(distanceRatio); in computeAxisDuration()
985 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dx) / width); in smoothScrollTo() local987 * distanceInfluenceForSnapDuration(distanceRatio); in smoothScrollTo()
5163 final float distanceRatio = Math.min(1.f, 1.f * delta / containerSize); in computeScrollDuration() local5165 * distanceInfluenceForSnapDuration(distanceRatio); in computeScrollDuration()