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()
425 if (mCurrentPage != getNextPage()) { in sendScrollAccessibilityEvent()
465 int prevPage = mCurrentPage; in computeScrollHelper()
[all …]
DWorkspace.java458 mCurrentPage = DEFAULT_PAGE; in initWorkspace()
864 || (!workspaceInModalState() && indexOfChild(v) != mCurrentPage); in shouldConsumeTouch()
1155 if (prevPage != mCurrentPage) { in notifyPageSwitchListener()
1156 … int swipeDirection = (prevPage < mCurrentPage) ? Action.Direction.RIGHT : Action.Direction.LEFT; in notifyPageSwitchListener()
1253 if (mFirstLayout && mCurrentPage >= 0 && mCurrentPage < getChildCount()) { in onLayout()
1841 if (getScreenIdForPageIndex(mCurrentPage) != screenId && !hasMovedIntoHotseat) { in onDrop()
2447 && screenId != getScreenIdForPageIndex(mCurrentPage)
3291 int page = (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage; in getCurrentPageDescription()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java1098 if (mCurrentPage == draggedIndex) { in createTaskDismissAnimation()
1100 if (mCurrentPage == lastPage) { in createTaskDismissAnimation()
1105 int negativeAdjacent = mCurrentPage - 1; // (Right in RTL, left in LTR) in createTaskDismissAnimation()
1156 int pageToSnapTo = mCurrentPage; in createTaskDismissAnimation()
DLauncherRecentsView.java199 if (((mCurrentPage != 0) || mightNeedToRefill) && offsetX > 0) { in redrawLiveTile()