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