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()
2517 final int nextPage; in pageScroll() local2521 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()
2037 final int nextPage = determineTargetPage(2039 setCurrentItemInternal(nextPage, true, true, initialVelocity);