Searched refs:getPageCount (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedView.java | 289 int getPageCount() { in getPageCount() method in PagedView 309 if (0 <= mCurrentPage && mCurrentPage < getPageCount()) { in updateCurrentPageScroll() 351 mCurrentPage = Math.max(0, Math.min(currentPage, getPageCount() - 1)); in setCurrentPage() 398 final int count = getPageCount(); in setOnLongClickListener() 455 mCurrentPage = Math.max(0, Math.min(mNextPage, getPageCount() - 1)); in computeScrollHelper() 894 if (getCurrentPage() < getPageCount() - 1) { in dispatchUnhandledMove() 905 if (mCurrentPage >= 0 && mCurrentPage < getPageCount()) { in addFocusables() 913 if (mCurrentPage < getPageCount() - 1) { in addFocusables() 1560 whichPage = Math.max(0, Math.min(whichPage, getPageCount() - 1)); in snapToPage() 1760 setCurrentPage(Math.min(getPageCount() - 1, currentPage)); in invalidatePageData() [all …]
|
D | AppsCustomizePagedView.java | 298 if (getPageCount() > 0) { in getMiddleComponentIndexOnCurrentPage()
|
D | Workspace.java | 1392 for (int i = 0; i < getPageCount(); i++) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 404 int getPageCount() { in getPageCount() method in PagedView 424 if (0 <= mCurrentPage && mCurrentPage < getPageCount()) { in updateCurrentPageScroll() 457 validatedPage = Math.max(0, Math.min(validatedPage, getPageCount() - 1)); in validateNewPage() 547 final int count = getPageCount(); in setOnLongClickListener() 1154 if (getPageCount() > 0) { in draw() 1172 … canvas.translate(display.left + mPageScrolls[mIsRtl ? 0 : (getPageCount() - 1)], display.top); in draw() 1236 if (getCurrentPage() < getPageCount() - 1) { in dispatchUnhandledMove() 1247 if (mCurrentPage >= 0 && mCurrentPage < getPageCount()) { in addFocusables() 1255 if (mCurrentPage < getPageCount() - 1) { in addFocusables() 1691 mTempVisiblePagesRange[1] = getPageCount() - 1; in onTouchEvent() [all …]
|
D | FolderPagedView.java | 147 for (int i = getPageCount() - 1; i >= 0; i--) { in setupContentDimensions() 352 setEnableOverscroll(getPageCount() > 1); in arrangeChildren() 355 mPageIndicator.setVisibility(getPageCount() > 1 ? View.VISIBLE : View.GONE); in arrangeChildren() 357 mFolder.mFolderName.setGravity(getPageCount() > 1 ? in arrangeChildren() 362 return getPageCount() > 0 ? in getDesiredWidth() 367 return getPageCount() > 0 ? in getDesiredHeight()
|
D | FocusHelper.java | 108 final int pageCount = pagedView.getPageCount(); in onKey() 571 if (pageIndex + 1 >= workspace.getPageCount()) { in handleNextPageFirstItem()
|
D | Folder.java | 560 if (mContent.getPageCount() > 1 && !mInfo.hasOption(FolderInfo.FLAG_MULTI_PAGE_ANIMATION)) { in animateOpen() 760 } else if (currentPage < (mContent.getPageCount() - 1) in onDragOver() 1284 if (mContent.getPageCount() > 1) { in onDrop()
|
D | Workspace.java | 1387 View child = getChildAt(getPageCount() - 1); in getEdgeVerticalPostion() 1917 for (int i = 0; i < getPageCount(); i++) { in updateChildrenLayersEnabled() 2130 int total = getPageCount(); in updateAccessibilityFlags()
|
/packages/apps/TV/src/com/android/tv/onboarding/ |
D | WelcomeFragment.java | 717 protected int getPageCount() { in getPageCount() method in WelcomeFragment
|