Searched refs:nextPage (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | GridView.java | 1766 int nextPage = -1; in pageScroll() local 1769 nextPage = Math.max(0, mSelectedPosition - getChildCount()); in pageScroll() 1771 nextPage = Math.min(mItemCount - 1, mSelectedPosition + getChildCount()); in pageScroll() 1774 if (nextPage >= 0) { in pageScroll() 1775 setSelectionInt(nextPage); in pageScroll()
|
D | ListView.java | 2317 final int nextPage; in pageScroll() local 2321 nextPage = Math.max(0, mSelectedPosition - getChildCount() - 1); in pageScroll() 2324 nextPage = Math.min(mItemCount - 1, mSelectedPosition + getChildCount() - 1); in pageScroll() 2330 if (nextPage >= 0) { in pageScroll() 2331 final int position = lookForSelectablePositionAfter(mSelectedPosition, nextPage, down); in pageScroll()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | PagedView.java | 1623 int nextPage = Math.max(0, mCurrentPage - 1); in onTouchEvent() local 1624 if (nextPage != mCurrentPage) { in onTouchEvent() 1625 snapToPage(nextPage); in onTouchEvent() 1633 int nextPage = Math.min(getChildCount() - 1, mCurrentPage + 1); in onTouchEvent() local 1634 if (nextPage != mCurrentPage) { in onTouchEvent() 1635 snapToPage(nextPage); in onTouchEvent()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | ViewPager.java | 2018 int nextPage = determineTargetPage(currentPage, pageOffset, initialVelocity, 2020 setCurrentItemInternal(nextPage, true, true, initialVelocity); 2319 int nextPage = determineTargetPage(currentPage, pageOffset, initialVelocity, 2321 setCurrentItemInternal(nextPage, true, true, initialVelocity);
|