Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DScrollingTabContainerView.java267 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/
DScrollingTabContainerView.java254 final int scrollPos = tabView.getLeft() - (getWidth() - tabView.getWidth()) / 2; in animateToTab()
255 smoothScrollTo(scrollPos, 0); in animateToTab()
DViewPager.java1485 final int scrollPos = (int) (scrollOffset *
1487 if (scrollPos != getScrollX()) {
1489 scrollTo(scrollPos, getScrollY());
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1992 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/
DViewPager.java1671 final int scrollPos =
1673 if (scrollPos != getScrollX()) {
1675 scrollTo(scrollPos, getScrollY());
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DRecyclerViewLayoutTest.java1573 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/
DGridWidgetTest.java1568 int scrollPos = 0; in testScrollAndStuck() local
1572 if (scrollPos != pos) { in testScrollAndStuck()
1573 scrollPos = pos; in testScrollAndStuck()