Searched defs:distanceRatio (Results 1 – 5 of 5) sorted by relevance
813 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dx) / width); in smoothScrollTo() local
976 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dx) / width); in smoothScrollTo() local
905 final float distanceRatio = (float) distance / child.getHeight(); in animateOffsetTo() local
632 final float distanceRatio = Math.min(1f, (float) Math.abs(delta) / width); in computeAxisDuration() local
4492 final float distanceRatio = Math.min(1.f, 1.f * delta / containerSize); in computeScrollDuration() local