Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DGridView.java1785 int nextPage = -1; in pageScroll() local
1788 nextPage = Math.max(0, mSelectedPosition - getChildCount()); in pageScroll()
1790 nextPage = Math.min(mItemCount - 1, mSelectedPosition + getChildCount()); in pageScroll()
1793 if (nextPage >= 0) { in pageScroll()
1794 setSelectionInt(nextPage); in pageScroll()
DListView.java2515 final int nextPage; in pageScroll() local
2519 nextPage = Math.max(0, mSelectedPosition - getChildCount() - 1); in pageScroll()
2522 nextPage = Math.min(mItemCount - 1, mSelectedPosition + getChildCount() - 1); in pageScroll()
2528 if (nextPage >= 0) { in pageScroll()
2529 final int position = lookForSelectablePositionAfter(mSelectedPosition, nextPage, down); in pageScroll()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java2048 final int nextPage = determineTargetPage(
2050 setCurrentItemInternal(nextPage, true, true, initialVelocity);