Searched refs:mCurrentPage (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedView.java | 91 protected int mCurrentPage; field in PagedView 237 mCurrentPage = 0; in init() 255 mPageSwitchListener.onPageSwitch(getPageAt(mCurrentPage), mCurrentPage); in setPageSwitchListener() local 283 return mCurrentPage; in getCurrentPage() 286 return (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage; in getNextPage() 309 if (0 <= mCurrentPage && mCurrentPage < getPageCount()) { in updateCurrentPageScroll() 310 int offset = getChildOffset(mCurrentPage); in updateCurrentPageScroll() 311 int relOffset = getRelativeChildOffset(mCurrentPage); in updateCurrentPageScroll() 351 mCurrentPage = Math.max(0, Math.min(currentPage, getPageCount() - 1)); in setCurrentPage() 360 mPageSwitchListener.onPageSwitch(getPageAt(mCurrentPage), mCurrentPage); in notifyPageSwitchListener() local [all …]
|
D | Workspace.java | 407 mCurrentPage = mDefaultPage; in initWorkspace() 408 Launcher.setScreen(mCurrentPage); in initWorkspace() 600 final int current = (mNextPage == INVALID_PAGE) ? mCurrentPage : mNextPage; in hitsPreviousPage() 611 final int current = (mNextPage == INVALID_PAGE) ? mCurrentPage : mNextPage; in hitsNextPage() 661 final CellLayout currentPage = (CellLayout) getChildAt(mCurrentPage); in onInterceptTouchEvent() 736 enableChildrenCache(mCurrentPage, mNextPage); in onPageBeginMoving() 740 enableChildrenCache(mCurrentPage - 1, mCurrentPage + 1); in onPageBeginMoving() 804 Launcher.setScreen(mCurrentPage); in notifyPageSwitchListener() 933 computeWallpaperScrollRatio(mCurrentPage); in updateCurrentPageScroll() 1112 snapToPage(mCurrentPage); [all …]
|
D | AppsCustomizePagedView.java | 965 if ((mNextPage > mCurrentPage && pageIndex >= mCurrentPage) || in snapToPage() 966 (mNextPage < mCurrentPage && pageIndex <= mCurrentPage)) { in snapToPage() 1058 int toPage = mCurrentPage; in getWidgetPageLoadPriority() 1106 if (taskPage < getAssociatedLowerPageBound(mCurrentPage) || in prepareLoadWidgetPreviewsTask() 1107 taskPage > getAssociatedUpperPageBound(mCurrentPage)) { in prepareLoadWidgetPreviewsTask() 1612 if (mCurrentPage != 0) { 1692 int page = (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage;
|
D | PagedViewWithDraggableItems.java | 153 final View currentPage = getPageAt(mCurrentPage); in determineDraggingStart()
|
D | SmoothPagedView.java | 132 final int screenDelta = Math.max(1, Math.abs(whichPage - mCurrentPage)); in snapToPageWithVelocity()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 103 protected int mCurrentPage; field in PagedView 245 mCurrentPage = 0; in init() 391 mPageSwitchListener.onPageSwitch(getPageAt(mCurrentPage), mCurrentPage); in setPageSwitchListener() local 399 return mCurrentPage; in getCurrentPage() 406 return (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage; in getNextPage() 429 if (0 <= mCurrentPage && mCurrentPage < getPageCount()) { in updateCurrentPageScroll() 430 newX = getScrollForPage(mCurrentPage); in updateCurrentPageScroll() 479 mCurrentPage = validateNewPage(currentPage); in setCurrentPage() 625 if (mCurrentPage != getNextPage()) { in sendScrollAccessibilityEvent() 654 mCurrentPage = validateNewPage(mNextPage); in computeScrollHelper() [all …]
|
D | Workspace.java | 435 mCurrentPage = mDefaultPage; in initWorkspace() 1051 || (!workspaceInModalState() && indexOfChild(v) != mCurrentPage); in onTouch() 1088 final CellLayout currentPage = (CellLayout) getChildAt(mCurrentPage); in onInterceptTouchEvent() 1192 enableChildrenCache(mCurrentPage, mNextPage); in onPageBeginMoving() 1196 enableChildrenCache(mCurrentPage - 1, mCurrentPage + 1); in onPageBeginMoving() 1549 snapToPage(mCurrentPage); in showOutlinesTemporarily() 1718 if (mFirstLayout && mCurrentPage >= 0 && mCurrentPage < getChildCount()) { in onLayout() 2683 if (getScreenIdForPageIndex(mCurrentPage) != screenId && !hasMovedIntoHotseat) { in onDrop() 3436 && screenId != getScreenIdForPageIndex(mCurrentPage) 4465 int page = (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage;
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
D | GeneralPreferencesFragment.java | 60 String mCurrentPage; field in GeneralPreferencesFragment 68 mCurrentPage = getActivity().getIntent() in onCreate() 93 settings.setHomePage(mCurrentPage); in onPreferenceChange() 175 if (TextUtils.equals(mCurrentPage, homepage)) { in getHomepageValue()
|