Searched refs:scrollPos (Results 1 – 4 of 4) sorted by relevance
901 int scrollPos) { in doDraw() argument905 int currentBlock = (scrollPos < 0) in doDraw()906 ? ((scrollPos - height + 1) / height) in doDraw()907 : (scrollPos / height); in doDraw()911 if (yPos >= scrollPos + thisHeight) { in doDraw()
216 final int scrollPos = selectedChild.getLeft() - (getWidth() - selectedChild.getWidth()) / 2; in onPageSelected() local217 smoothScrollTo(scrollPos, 0); in onPageSelected()
259 final int scrollPos = selectedChild.getLeft() - (getWidth() - selectedChild.getWidth()) / 2; in onPageSelected() local260 smoothScrollTo(scrollPos, 0); in onPageSelected()
1901 float scrollPos = isRtl ? mMaxScrollX - getScrollX() : getScrollX(); in updateScrollingIndicatorPosition() local1902 float offset = Math.max(0f, Math.min(1f, (float) scrollPos / mMaxScrollX)); in updateScrollingIndicatorPosition()