Searched refs:nextPage (Results 1 – 3 of 3) sorted by relevance
1784 int nextPage = -1; in pageScroll() local1787 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()
2521 final int nextPage; in pageScroll() local2525 nextPage = Math.max(0, mSelectedPosition - getChildCount() - 1); in pageScroll()2528 nextPage = Math.min(mItemCount - 1, mSelectedPosition + getChildCount() - 1); in pageScroll()2534 if (nextPage >= 0) { in pageScroll()2535 final int position = lookForSelectablePositionAfter(mSelectedPosition, nextPage, down); in pageScroll()
2037 final int nextPage = determineTargetPage(2039 setCurrentItemInternal(nextPage, true, true, initialVelocity);