Searched refs:addPosition (Results 1 - 17 of 17) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DGapWorkerTest.java48 registry.addPosition(0, 0);
49 registry.addPosition(2, 0);
50 registry.addPosition(3, 0);
60 registry.addPosition(-1, 0);
66 registry.addPosition(0, -1);
72 registry.addPosition(0, 0);
H A DCacheUtils.java35 verify(layoutPrefetchRegistry, times(positionData.length)).addPosition(anyInt(), anyInt());
37 verify(layoutPrefetchRegistry).addPosition(aPositionData[0], aPositionData[1]);
H A DRecyclerViewPrefetchTest.java63 layoutPrefetchRegistry.addPosition(6, 0);
H A DRecyclerViewBasicTest.java416 prefetchManager.addPosition(0, 0);
417 prefetchManager.addPosition(1, 0);
418 prefetchManager.addPosition(2, 0);
H A DRecyclerViewCacheTest.java135 prefetchManager.addPosition(0, 0);
136 prefetchManager.addPosition(1, 0);
137 prefetchManager.addPosition(2, 0);
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DGridWidgetPrefetchTest.java52 verify(registry, times(positionData.length)).addPosition(anyInt(), anyInt());
54 verify(registry).addPosition(aPositionData[0], aPositionData[1]);
238 verify(registry, times(positionData.length)).addPosition(anyInt(), anyInt());
240 verify(registry).addPosition(position, 0);
H A DSingleRowTest.java177 verify(registry, times(positionData.length)).addPosition(anyInt(), anyInt());
179 verify(registry).addPosition(aPositionData[0], aPositionData[1]);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DSingleRow.java162 layoutPrefetchRegistry.addPosition(indexToPrefetch, distance);
H A DGridLayoutManager.java2520 layoutPrefetchRegistry.addPosition(i, 0);
/frameworks/base/core/java/com/android/internal/widget/
H A DGapWorker.java109 public void addPosition(int layoutPosition, int pixelDistance) { method in class:GapWorker.LayoutPrefetchRegistryImpl
H A DLinearLayoutManager.java1192 layoutPrefetchRegistry.addPosition(pos, layoutState.mScrollingOffset);
1221 layoutPrefetchRegistry.addPosition(targetPos, 0);
H A DRecyclerView.java6876 void addPosition(int layoutPosition, int pixelDistance); method in interface:RecyclerView.LayoutManager.LayoutPrefetchRegistry
7192 * <p>The LayoutManager should call {@link LayoutPrefetchRegistry#addPosition(int, int)} for
7222 * <p>The LayoutManager should call {@link LayoutPrefetchRegistry#addPosition(int, int)} for
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DGapWorker.java109 public void addPosition(int layoutPosition, int pixelDistance) { method in class:GapWorker.LayoutPrefetchRegistryImpl
H A DLinearLayoutManager.java1219 layoutPrefetchRegistry.addPosition(pos, Math.max(0, layoutState.mScrollingOffset));
1248 layoutPrefetchRegistry.addPosition(targetPos, 0);
H A DGridLayoutManager.java515 layoutPrefetchRegistry.addPosition(pos, Math.max(0, layoutState.mScrollingOffset));
H A DStaggeredGridLayoutManager.java2153 layoutPrefetchRegistry.addPosition(mLayoutState.mCurrentPosition,
H A DRecyclerView.java7425 void addPosition(int layoutPosition, int pixelDistance); method in interface:RecyclerView.LayoutManager.LayoutPrefetchRegistry
7756 * <p>The LayoutManager should call {@link LayoutPrefetchRegistry#addPosition(int, int)} for
7786 * <p>The LayoutManager should call {@link LayoutPrefetchRegistry#addPosition(int, int)} for

Completed in 158 milliseconds