Home
last modified time | relevance | path

Searched refs:mNextPage (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java92 protected int mNextPage = INVALID_PAGE; field in PagedView
286 return (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage; in getNextPage()
454 } else if (mNextPage != INVALID_PAGE) { in computeScrollHelper()
455 mCurrentPage = Math.max(0, Math.min(mNextPage, getPageCount() - 1)); in computeScrollHelper()
456 mNextPage = INVALID_PAGE; in computeScrollHelper()
873 if (mNextPage != INVALID_PAGE) { in onRequestFocusInDescendants()
874 focusablePage = mNextPage; in onRequestFocusInDescendants()
1572 mNextPage = whichPage; in snapToPage()
1592 loadAssociatedPages(mNextPage); in snapToPage()
1604 if (mNextPage > 0) snapToPage(mNextPage - 1); in scrollLeft()
[all …]
DAppsCustomizePagedView.java965 if ((mNextPage > mCurrentPage && pageIndex >= mCurrentPage) || in snapToPage()
966 (mNextPage < mCurrentPage && pageIndex <= mCurrentPage)) { in snapToPage()
1059 if (mNextPage > -1) { in getWidgetPageLoadPriority()
1060 toPage = mNextPage; in getWidgetPageLoadPriority()
1692 int page = (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage;
DWorkspace.java600 final int current = (mNextPage == INVALID_PAGE) ? mCurrentPage : mNextPage; in hitsPreviousPage()
611 final int current = (mNextPage == INVALID_PAGE) ? mCurrentPage : mNextPage; in hitsNextPage()
734 if (mNextPage != INVALID_PAGE) { in onPageBeginMoving()
736 enableChildrenCache(mCurrentPage, mNextPage); in onPageBeginMoving()
2586 if (mNextPage != INVALID_PAGE) {
2611 if (mNextPage != INVALID_PAGE) {
3880 int page = (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage;
DPagedViewWithDraggableItems.java106 if (mNextPage != INVALID_PAGE) return false; in onLongClick()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java102 protected int mNextPage = INVALID_PAGE; field in PagedView
333 return (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage; in getNextPage()
369 mNextPage = INVALID_PAGE; in abortScrollerAnimation()
378 mNextPage = INVALID_PAGE; in forceFinishScroller()
577 } else if (mNextPage != INVALID_PAGE && shouldInvalidate) { in computeScrollHelper()
580 mCurrentPage = validateNewPage(mNextPage); in computeScrollHelper()
581 mNextPage = INVALID_PAGE; in computeScrollHelper()
1029 if (mNextPage != INVALID_PAGE) { in onRequestFocusInDescendants()
1030 focusablePage = mNextPage; in onRequestFocusInDescendants()
1644mNextPage = getPageNearestToCenterOfScreen((int) (mScroller.getFinalX() / scaleX)); in onTouchEvent()
[all …]
DWorkspace.java4135 int page = (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage;