Home
last modified time | relevance | path

Searched refs:INVALID_PAGE_INDEX (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java71 private static final int INVALID_PAGE_INDEX = -1; field in PageAdapter
341 if (pageIndexInFile != INVALID_PAGE_INDEX) { in onBindViewHolder()
397 myHolder.mPageInAdapter = INVALID_PAGE_INDEX; in onViewRecycled()
523 int startPageIndex = INVALID_PAGE_INDEX; in computeSelectedPages()
524 int endPageIndex = INVALID_PAGE_INDEX; in computeSelectedPages()
529 if (startPageIndex == INVALID_PAGE_INDEX) { in computeSelectedPages()
540 if (startPageIndex != INVALID_PAGE_INDEX in computeSelectedPages()
541 && endPageIndex != INVALID_PAGE_INDEX) { in computeSelectedPages()
588 return INVALID_PAGE_INDEX; in computePageIndexInDocument()
593 return INVALID_PAGE_INDEX; in computePageIndexInFile()
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java64 private static final int INVALID_PAGE_INDEX = -1; field in PageContentRepository
568 return INVALID_PAGE_INDEX; in findIndexOfPage()
585 if (firstVisiblePageIndex == INVALID_PAGE_INDEX in startPreload()
586 || lastVisiblePageIndex == INVALID_PAGE_INDEX) { in startPreload()