Home
last modified time | relevance | path

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

/frameworks/support/paging/common/src/main/java/androidx/paging/
DTiledPagedList.java36 @NonNull PageResult<T> pageResult) {
37 if (pageResult.isInvalid()) {
53 pageResult.leadingNulls, pageResult.page, pageResult.trailingNulls,
54 pageResult.positionOffset, mConfig.pageSize, TiledPagedList.this);
56 mStorage.insertPage(pageResult.positionOffset, pageResult.page,
63 && pageResult.leadingNulls == 0
64 && pageResult.positionOffset == 0;
67 && ((type == PageResult.INIT && pageResult.trailingNulls == 0)
69 && (pageResult.positionOffset + mConfig.pageSize >= size)));
DContiguousPagedList.java41 @NonNull PageResult<V> pageResult) {
42 if (pageResult.isInvalid()) {
52 List<V> page = pageResult.page;
54 mStorage.init(pageResult.leadingNulls, page, pageResult.trailingNulls,
55 pageResult.positionOffset, ContiguousPagedList.this);
60 pageResult.leadingNulls + pageResult.positionOffset + page.size() / 2;
75 && pageResult.page.size() == 0;
78 && pageResult.page.size() == 0;
DPageResult.java90 public abstract void onPageResult(@ResultType int type, @NonNull PageResult<T> pageResult); in onPageResult() argument