Home
last modified time | relevance | path

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

/frameworks/support/paging/common/src/test/java/androidx/paging/
DPositionalDataSourceTest.kt116 enablePlaceholders: Boolean = true, in performLoadInitial()
137 .setEnablePlaceholders(enablePlaceholders) in performLoadInitial()
139 if (enablePlaceholders) { in performLoadInitial()
186 fun initialLoadCallbackRequireTotalCount() = performLoadInitial(enablePlaceholders = true) { in <lambda>()
192 fun initialLoadCallbackSuccessTwoArg() = performLoadInitial(enablePlaceholders = false) { in <lambda>()
198 fun initialLoadCallbackPosNegativeTwoArg() = performLoadInitial(enablePlaceholders = false) { in <lambda>()
204 fun initialLoadCallbackEmptyWithOffset() = performLoadInitial(enablePlaceholders = false) { in <lambda>()
DContiguousPagedListTest.kt53 enablePlaceholders: Boolean, in dispatchLoadInitial()
62 if (enablePlaceholders && mCounted) { in dispatchLoadInitial()
DItemKeyedDataSourceTest.kt38 enablePlaceholders: Boolean): PageResult<Item> { in loadInitial()
46 /* ignored pageSize */ 10, enablePlaceholders, FailExecutor(), receiver) in loadInitial()
/frameworks/support/paging/common/src/main/java/androidx/paging/
DPagedList.java179 if (dataSource.isContiguous() || !config.enablePlaceholders) { in create()
798 public final boolean enablePlaceholders; field in PagedList.Config
807 boolean enablePlaceholders, int initialLoadSizeHint) { in Config() argument
810 this.enablePlaceholders = enablePlaceholders; in Config()
895 public Builder setEnablePlaceholders(boolean enablePlaceholders) { in setEnablePlaceholders() argument
896 this.mEnablePlaceholders = enablePlaceholders; in setEnablePlaceholders()
DItemKeyedDataSource.java249 boolean enablePlaceholders, @NonNull Executor mainThreadExecutor, in dispatchLoadInitial() argument
252 new LoadInitialCallbackImpl<>(this, enablePlaceholders, receiver); in dispatchLoadInitial()
253 loadInitial(new LoadInitialParams<>(key, initialLoadSize, enablePlaceholders), callback); in dispatchLoadInitial()
DPageKeyedDataSource.java319 boolean enablePlaceholders, @NonNull Executor mainThreadExecutor, in dispatchLoadInitial() argument
322 new LoadInitialCallbackImpl<>(this, enablePlaceholders, receiver); in dispatchLoadInitial()
323 loadInitial(new LoadInitialParams<Key>(initialLoadSize, enablePlaceholders), callback); in dispatchLoadInitial()
DContiguousDataSource.java34 boolean enablePlaceholders, in dispatchLoadInitial() argument
DContiguousPagedList.java105 mConfig.enablePlaceholders, in ContiguousPagedList()
DPositionalDataSource.java510 boolean enablePlaceholders, @NonNull Executor mainThreadExecutor, in dispatchLoadInitial() argument
/frameworks/support/paging/common/api/
Dcurrent.txt129 field public final boolean enablePlaceholders;