Home
last modified time | relevance | path

Searched refs:mCurrentPage (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java98 protected int mCurrentPage; field in PagedView
173 mCurrentPage = 0; in init()
212 return mCurrentPage; in getCurrentPage()
219 return (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage; in getNextPage()
242 if (0 <= mCurrentPage && mCurrentPage < getPageCount()) { in updateCurrentPageScroll()
243 newX = getScrollForPage(mCurrentPage); in updateCurrentPageScroll()
320 int prevPage = overridePrevPage != INVALID_PAGE ? overridePrevPage : mCurrentPage; in setCurrentPage()
321 mCurrentPage = validateNewPage(currentPage); in setCurrentPage()
426 if (mCurrentPage != getNextPage()) { in sendScrollAccessibilityEvent()
466 int prevPage = mCurrentPage; in computeScrollHelper()
[all …]
DWorkspace.java451 mCurrentPage = DEFAULT_PAGE; in initWorkspace()
857 || (!workspaceInModalState() && indexOfChild(v) != mCurrentPage); in shouldConsumeTouch()
1160 if (prevPage != mCurrentPage) { in notifyPageSwitchListener()
1161 … int swipeDirection = (prevPage < mCurrentPage) ? Action.Direction.RIGHT : Action.Direction.LEFT; in notifyPageSwitchListener()
1258 if (mFirstLayout && mCurrentPage >= 0 && mCurrentPage < getChildCount()) { in onLayout()
1856 if (getScreenIdForPageIndex(mCurrentPage) != screenId && !hasMovedIntoHotseat) { in onDrop()
2465 && screenId != getScreenIdForPageIndex(mCurrentPage)
3300 int page = (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage; in getCurrentPageDescription()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java1128 if (mCurrentPage == draggedIndex) { in createTaskDismissAnimation()
1130 if (mCurrentPage == lastPage) { in createTaskDismissAnimation()
1135 int negativeAdjacent = mCurrentPage - 1; // (Right in RTL, left in LTR) in createTaskDismissAnimation()
1186 int pageToSnapTo = mCurrentPage; in createTaskDismissAnimation()
DLauncherRecentsView.java243 if (((mCurrentPage != 0) || mightNeedToRefill) && offsetX > 0) { in redrawLiveTile()