Searched refs:scrollPos (Results 1 – 6 of 6) sorted by relevance
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()
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()
261 final int scrollPos = tabView.getLeft() - (getWidth() - tabView.getWidth()) / 2; in animateToTab()262 smoothScrollTo(scrollPos, 0); in animateToTab()
1491 final int scrollPos = (int) (scrollOffset *1493 if (scrollPos != getScrollX()) {1495 scrollTo(scrollPos, getScrollY());
2043 public void setScrollYPos(@NonNull View view, int scrollPos) { in setScrollYPos() argument2044 mScrollYPos.put(view, scrollPos); in setScrollYPos()2052 public void setScrollXPos(@NonNull View view, int scrollPos) { in setScrollXPos() argument2053 mScrollXPos.put(view, scrollPos); in setScrollXPos()