Searched refs:lastPrefetchIncludedPosition (Results 1 - 6 of 6) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DGapWorkerTest.java51 assertTrue(registry.lastPrefetchIncludedPosition(0));
52 assertFalse(registry.lastPrefetchIncludedPosition(1));
53 assertTrue(registry.lastPrefetchIncludedPosition(2));
54 assertTrue(registry.lastPrefetchIncludedPosition(3));
73 assertFalse(registry.lastPrefetchIncludedPosition(-1));
74 assertTrue(registry.lastPrefetchIncludedPosition(0));
78 assertFalse(registry.lastPrefetchIncludedPosition(-1));
79 assertFalse(registry.lastPrefetchIncludedPosition(0));
H A DCacheUtils.java66 assertTrue(view.mPrefetchRegistry.lastPrefetchIncludedPosition(position));
/frameworks/base/core/java/com/android/internal/widget/
H A DGapWorker.java132 boolean lastPrefetchIncludedPosition(int position) { method in class:GapWorker.LayoutPrefetchRegistryImpl
H A DRecyclerView.java5721 && !mPrefetchRegistry.lastPrefetchIncludedPosition(holder.mPosition)) {
5726 if (!mPrefetchRegistry.lastPrefetchIncludedPosition(cachedPos)) {
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DGapWorker.java136 boolean lastPrefetchIncludedPosition(int position) { method in class:GapWorker.LayoutPrefetchRegistryImpl
H A DRecyclerView.java6155 && !mPrefetchRegistry.lastPrefetchIncludedPosition(holder.mPosition)) {
6160 if (!mPrefetchRegistry.lastPrefetchIncludedPosition(cachedPos)) {

Completed in 393 milliseconds