Home
last modified time | relevance | path

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

/frameworks/support/paging/common/src/main/java/androidx/paging/
DContiguousPagedList.java121 final int previousLeading = snapshot.getLeadingNullCount(); in dispatchUpdatesSinceSnapshot()
129 || mStorage.getLeadingNullCount() != Math.max(previousLeading - newlyPrepended, 0) in dispatchUpdatesSinceSnapshot()
140 final int endPosition = snapshot.getLeadingNullCount() + snapshot.getStorageCount(); in dispatchUpdatesSinceSnapshot()
164 int prependItems = mConfig.prefetchDistance - (index - mStorage.getLeadingNullCount()); in loadAroundInternal()
166 - (mStorage.getLeadingNullCount() + mStorage.getStorageCount()); in loadAroundInternal()
186 final int position = mStorage.getLeadingNullCount() + mStorage.getPositionOffset(); in schedulePrepend()
214 final int position = mStorage.getLeadingNullCount() in scheduleAppend()
DTiledPagedList.java135 final int leadingNullPages = mStorage.getLeadingNullCount() / pageSize; in dispatchUpdatesSinceSnapshot()
DPagedStorage.java167 int getLeadingNullCount() { in getLeadingNullCount() method in PagedStorage
/frameworks/support/paging/runtime/src/main/java/androidx/paging/
DPagedStorageDiffHelper.java42 T newItem = newList.get(newItemPosition + newList.getLeadingNullCount()); in computeDiff()
62 T newItem = newList.get(newItemPosition + newList.getLeadingNullCount()); in computeDiff()
76 T newItem = newList.get(newItemPosition + newList.getLeadingNullCount()); in computeDiff()