Searched defs:distanceRatio (Results 1 – 2 of 2) sorted by relevance
793 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dx) / width); in smoothScrollTo() local
4813 final float distanceRatio = Math.min(1.f, 1.f * delta / containerSize); in computeScrollDuration() local