Searched refs:scrollPos (Results 1 – 6 of 6) sorted by relevance
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ScrollingTabContainerView.java | 263 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/ |
D | ScrollingTabContainerView.java | 255 final int scrollPos = tabView.getLeft() - (getWidth() - tabView.getWidth()) / 2; in animateToTab() 256 smoothScrollTo(scrollPos, 0); in animateToTab()
|
D | ViewPager.java | 1510 final int scrollPos = (int) (scrollOffset * 1512 if (scrollPos != getScrollX()) { 1514 scrollTo(scrollPos, getScrollY());
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 1836 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/ |
D | RecyclerViewLayoutTest.java | 838 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/ |
D | ViewPager.java | 1657 final int scrollPos = (int) (scrollOffset * 1659 if (scrollPos != getScrollX()) { 1661 scrollTo(scrollPos, getScrollY());
|