Lines Matching refs:totalDistance
1483 final int totalDistance;1491 totalDistance = v.getMeasuredWidth() + mPageSpacing;1493 totalDistance = Math.abs(getScrollForPage(adjacentPage) - getScrollForPage(page));1496 float scrollProgress = delta / (totalDistance * 1.0f);