Home
last modified time | relevance | path

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

/frameworks/support/content/src/main/java/androidx/contentpager/content/
DContentPager.java362 Cursor unpaged = mCursorCache.get(query.getUri()); in createPagedCursor() local
363 checkState(unpaged != null, "No un-paged cursor in cache, or can't retrieve it."); in createPagedCursor()
368 int count = Math.min(query.getLimit(), unpaged.getCount()); in createPagedCursor()
371 if (query.getOffset() + query.getLimit() > unpaged.getCount()) { in createPagedCursor()
372 count = unpaged.getCount() % query.getLimit(); in createPagedCursor()
381 if (query.getOffset() == 0 && unpaged.getCount() < query.getLimit()) { in createPagedCursor()
383 unpaged, unpaged.getCount(), CURSOR_DISPOSITION_WRAPPED); in createPagedCursor()
389 unpaged, query.getOffset(), count, CURSOR_DISPOSITION_COPIED); in createPagedCursor()