Searched refs:scrollPos (Results 1 – 7 of 7) sorted by relevance
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
D | ScrollingTabContainerView.java | 267 final int scrollPos = tabView.getLeft() - (getWidth() - tabView.getWidth()) / 2; in animateToTab() 268 smoothScrollTo(scrollPos, 0); in animateToTab()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ScrollingTabContainerView.java | 254 final int scrollPos = tabView.getLeft() - (getWidth() - tabView.getWidth()) / 2; in animateToTab() 255 smoothScrollTo(scrollPos, 0); in animateToTab()
|
D | ViewPager.java | 1485 final int scrollPos = (int) (scrollOffset * 1487 if (scrollPos != getScrollX()) { 1489 scrollTo(scrollPos, getScrollY());
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 1992 public void setScrollYPos(@NonNull View view, int scrollPos) { in setScrollYPos() argument 1993 mScrollYPos.put(view, scrollPos); in setScrollYPos() 2001 public void setScrollXPos(@NonNull View view, int scrollPos) { in setScrollXPos() argument 2002 mScrollXPos.put(view, scrollPos); in setScrollXPos()
|
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/ |
D | ViewPager.java | 1671 final int scrollPos = 1673 if (scrollPos != getScrollX()) { 1675 scrollTo(scrollPos, getScrollY());
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | RecyclerViewLayoutTest.java | 1573 int scrollPos = RecyclerView.NO_POSITION; in scrollToPositionCallback() 1578 if (scrollPos == RecyclerView.NO_POSITION) { in scrollToPositionCallback() 1581 layoutRange(recycler, scrollPos, scrollPos + 10); in scrollToPositionCallback() 1587 scrollPos = position; in scrollToPositionCallback()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | GridWidgetTest.java | 1568 int scrollPos = 0; in testScrollAndStuck() local 1572 if (scrollPos != pos) { in testScrollAndStuck() 1573 scrollPos = pos; in testScrollAndStuck()
|