Searched refs:timeRatio (Results 1 – 2 of 2) sorted by relevance
2138 final float timeRatio; in interpolateOutOfBoundsScroll() local2140 timeRatio = 1f; in interpolateOutOfBoundsScroll()2142 timeRatio = (float) msSinceStartScroll / DRAG_SCROLL_ACCELERATION_LIMIT_TIME_MS; in interpolateOutOfBoundsScroll()2145 .getInterpolation(timeRatio)); in interpolateOutOfBoundsScroll()
1357 final float timeRatio = Math.min( in computeScrollDistance() local1361 final int numPixels = (int) (cappedScrollStep * smoothTimeRatio(timeRatio)); in computeScrollDistance()