Home
last modified time | relevance | path

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

/frameworks/support/paging/common/src/main/java/androidx/paging/
DPagedStorage.java372 private void allocatePageRange(final int minimumPage, final int maximumPage) { in allocatePageRange() argument
385 if (maximumPage >= leadingNullPages + mPages.size()) { in allocatePageRange()
387 (maximumPage + 1 - (leadingNullPages + mPages.size())) * mPageSize); in allocatePageRange()
388 for (int i = mPages.size(); i <= maximumPage - leadingNullPages; i++) { in allocatePageRange()
412 int maximumPage = Math.min((index + prefetchDistance) / mPageSize, maxPageCount - 1); in allocatePlaceholders() local
414 allocatePageRange(minimumPage, maximumPage); in allocatePlaceholders()
416 for (int pageIndex = minimumPage; pageIndex <= maximumPage; pageIndex++) { in allocatePlaceholders()