Searched refs:scrollPos (Results 1 – 3 of 3) 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()