Searched refs:enablePlaceholders (Results 1 – 10 of 10) sorted by relevance
/frameworks/support/paging/common/src/test/java/androidx/paging/ |
D | PositionalDataSourceTest.kt | 116 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>()
|
D | ContiguousPagedListTest.kt | 53 enablePlaceholders: Boolean, in dispatchLoadInitial() 62 if (enablePlaceholders && mCounted) { in dispatchLoadInitial()
|
D | ItemKeyedDataSourceTest.kt | 38 enablePlaceholders: Boolean): PageResult<Item> { in loadInitial() 46 /* ignored pageSize */ 10, enablePlaceholders, FailExecutor(), receiver) in loadInitial()
|
/frameworks/support/paging/common/src/main/java/androidx/paging/ |
D | PagedList.java | 179 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()
|
D | ItemKeyedDataSource.java | 249 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()
|
D | PageKeyedDataSource.java | 319 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()
|
D | ContiguousDataSource.java | 34 boolean enablePlaceholders, in dispatchLoadInitial() argument
|
D | ContiguousPagedList.java | 105 mConfig.enablePlaceholders, in ContiguousPagedList()
|
D | PositionalDataSource.java | 510 boolean enablePlaceholders, @NonNull Executor mainThreadExecutor, in dispatchLoadInitial() argument
|
/frameworks/support/paging/common/api/ |
D | current.txt | 129 field public final boolean enablePlaceholders;
|