Home
last modified time | relevance | path

Searched refs:nextPage (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
DGridView.java1784 int nextPage = -1; in pageScroll() local
1787 nextPage = Math.max(0, mSelectedPosition - getChildCount()); in pageScroll()
1789 nextPage = Math.min(mItemCount - 1, mSelectedPosition + getChildCount()); in pageScroll()
1792 if (nextPage >= 0) { in pageScroll()
1793 setSelectionInt(nextPage); in pageScroll()
DListView.java2517 final int nextPage; in pageScroll() local
2521 nextPage = Math.max(0, mSelectedPosition - getChildCount() - 1); in pageScroll()
2524 nextPage = Math.min(mItemCount - 1, mSelectedPosition + getChildCount() - 1); in pageScroll()
2530 if (nextPage >= 0) { in pageScroll()
2531 final int position = lookForSelectablePositionAfter(mSelectedPosition, nextPage, down); in pageScroll()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java2037 final int nextPage = determineTargetPage(
2039 setCurrentItemInternal(nextPage, true, true, initialVelocity);