Home
last modified time | relevance | path

Searched refs:scrollPos (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DScrollingTabContainerView.java263 final int scrollPos = tabView.getLeft() - (getWidth() - tabView.getWidth()) / 2; in animateToTab()
264 smoothScrollTo(scrollPos, 0); in animateToTab()
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java255 final int scrollPos = tabView.getLeft() - (getWidth() - tabView.getWidth()) / 2; in animateToTab()
256 smoothScrollTo(scrollPos, 0); in animateToTab()
DViewPager.java1510 final int scrollPos = (int) (scrollOffset *
1512 if (scrollPos != getScrollX()) {
1514 scrollTo(scrollPos, getScrollY());
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1836 public void setScrollYPos(@NonNull View view, int scrollPos) { in setScrollYPos() argument
1837 mScrollYPos.put(view, scrollPos); in setScrollYPos()
1845 public void setScrollXPos(@NonNull View view, int scrollPos) { in setScrollXPos() argument
1846 mScrollXPos.put(view, scrollPos); in setScrollXPos()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewLayoutTest.java838 int scrollPos = RecyclerView.NO_POSITION; in scrollToPositionCallback()
843 if (scrollPos == RecyclerView.NO_POSITION) { in scrollToPositionCallback()
846 layoutRange(recycler, scrollPos, scrollPos + 10); in scrollToPositionCallback()
852 scrollPos = position; in scrollToPositionCallback()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1657 final int scrollPos = (int) (scrollOffset *
1659 if (scrollPos != getScrollX()) {
1661 scrollTo(scrollPos, getScrollY());