Home
last modified time | relevance | path

Searched refs:getPageCount (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPagedView.java427 int getPageCount() { in getPageCount() method in PagedView
468 mCurrentPage = Math.max(0, Math.min(currentPage, getPageCount() - 1)); in setCurrentPage()
562 final int count = getPageCount(); in setOnLongClickListener()
616 mCurrentPage = Math.max(0, Math.min(mNextPage, getPageCount() - 1)); in computeScrollHelper()
897 range[1] = getPageCount() - 1; in getVisiblePages()
1018 if (getCurrentPage() < getPageCount() - 1) { in dispatchUnhandledMove()
1028 if (mCurrentPage >= 0 && mCurrentPage < getPageCount()) { in addFocusables()
1036 if (mCurrentPage < getPageCount() - 1) { in addFocusables()
1506 mTempVisiblePagesRange[1] = getPageCount() - 1; in onTouchEvent()
1916 whichPage = Math.max(0, Math.min(whichPage, getPageCount() - 1)); in snapToPage()
[all …]
DKeyguardWidgetPager.java211 final int pageCount = getPageCount(); in updateWidgetFramesImportantForAccessibility()
947 int cameraPage = getPageCount() - 1;
/frameworks/base/core/java/android/print/
DPrintDocumentInfo.java157 public int getPageCount() { in getPageCount() method in PrintDocumentInfo
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DPrintJobConfigActivity.java609 && writtenPages[0].getEnd() == mDocument.info.getPageCount() - 1) { in updatePrintJobPages()
665 || lhs.getPageCount() != rhs.getPageCount()) { in equalsIgnoreSize()
1215 if (pageIndex < 1 || pageIndex > mDocument.info.getPageCount()) {
1231 < mDocument.info.getPageCount()) {
1522 final int pageCount = mDocument.info.getPageCount(); in updateFromAdvancedOptions()
2222 if (info != null && info.getPageCount() > 0) { in updateUi()
2223 if (info.getPageCount() == 1) { in updateUi()
2243 final int pageCount = mDocument.info.getPageCount(); in updateUi()
DPrintSpoolerService.java923 documentInfo.getPageCount())); in doWriteStateLocked()
/frameworks/base/api/
Dcurrent.txt18964 method public int getPageCount();