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() 805 Launcher.setScreen(mCurrentPage); in notifyPageSwitchListener() 934 computeWallpaperScrollRatio(mCurrentPage); in updateCurrentPageScroll() 1113 snapToPage(mCurrentPage); [all …]
|
D | AppsCustomizePagedView.java | 970 if ((mNextPage > mCurrentPage && pageIndex >= mCurrentPage) || in snapToPage() 971 (mNextPage < mCurrentPage && pageIndex <= mCurrentPage)) { in snapToPage() 1063 int toPage = mCurrentPage; in getWidgetPageLoadPriority() 1111 if (taskPage < getAssociatedLowerPageBound(mCurrentPage) || in prepareLoadWidgetPreviewsTask() 1112 taskPage > getAssociatedUpperPageBound(mCurrentPage)) { in prepareLoadWidgetPreviewsTask() 1615 if (mCurrentPage != 0) { 1695 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/Contacts/src/com/android/contacts/detail/ |
D | ContactDetailFragmentCarousel.java | 76 private int mCurrentPage = ABOUT_PAGE; field in ContactDetailFragmentCarousel 121 if (mEnableSwipe || mCurrentPage != 0) { in onMeasure() 143 mCurrentPage = pageIndex; in setCurrentPage() 178 if (mCurrentPage != ABOUT_PAGE) { in reset() 179 mCurrentPage = ABOUT_PAGE; in reset() 185 return mCurrentPage; in getCurrentPage() 191 mCurrentPage = ABOUT_PAGE; 199 mCurrentPage = UPDATES_PAGE; 207 mAboutFragment.setOverlayClickable(mCurrentPage != ABOUT_PAGE); in updateTouchInterceptors() 210 mUpdatesFragment.setOverlayClickable(mCurrentPage != UPDATES_PAGE); in updateTouchInterceptors() [all …]
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
D | CandidatesContainer.java | 165 private int mCurrentPage = -1; field in CandidatesContainer 196 mCurrentPage = 0; in showCandidates() 213 cv.showPage(mCurrentPage, 0, enableActiveHighlight); in showCandidates() 220 return mCurrentPage; in getCurrentPage() 280 if (mFlipper.isFlipping() || 0 == mCurrentPage) return false; in pageBackward() 287 mCurrentPage--; in pageBackward() 290 activeCandInPage = mDecInfo.mPageStart.elementAt(mCurrentPage + 1) in pageBackward() 291 - mDecInfo.mPageStart.elementAt(mCurrentPage) - 1; in pageBackward() 293 cvNext.showPage(mCurrentPage, activeCandInPage, enableActiveHighlight); in pageBackward() 305 if (mFlipper.isFlipping() || !mDecInfo.preparePage(mCurrentPage + 1)) { in pageForward() [all …]
|
/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()
|