Searched defs:layoutPrefetchRegistry (Results 1 - 13 of 13) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewPrefetchTest.java61 LayoutPrefetchRegistry layoutPrefetchRegistry) {
63 layoutPrefetchRegistry.addPosition(6, 0);
60 collectAdjacentPrefetchPositions(int dx, int dy, RecyclerView.State state, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
H A DBaseGridLayoutManagerTest.java322 LayoutPrefetchRegistry layoutPrefetchRegistry) {
324 super.collectAdjacentPrefetchPositions(dx, dy, state, layoutPrefetchRegistry);
321 collectAdjacentPrefetchPositions(int dx, int dy, RecyclerView.State state, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
H A DBaseLinearLayoutManagerTest.java641 LayoutPrefetchRegistry layoutPrefetchRegistry) {
643 super.collectAdjacentPrefetchPositions(dx, dy, state, layoutPrefetchRegistry);
640 collectAdjacentPrefetchPositions(int dx, int dy, RecyclerView.State state, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
H A DBaseStaggeredGridLayoutManagerTest.java832 LayoutPrefetchRegistry layoutPrefetchRegistry) {
834 super.collectAdjacentPrefetchPositions(dx, dy, state, layoutPrefetchRegistry);
831 collectAdjacentPrefetchPositions(int dx, int dy, RecyclerView.State state, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DSingleRow.java137 @NonNull RecyclerView.LayoutManager.LayoutPrefetchRegistry layoutPrefetchRegistry) {
162 layoutPrefetchRegistry.addPosition(indexToPrefetch, distance);
136 collectAdjacentPrefetchPositions(int fromLimit, int da, @NonNull RecyclerView.LayoutManager.LayoutPrefetchRegistry layoutPrefetchRegistry) argument
H A DGrid.java526 @NonNull RecyclerView.LayoutManager.LayoutPrefetchRegistry layoutPrefetchRegistry) {
525 collectAdjacentPrefetchPositions(int fromLimit, int da, @NonNull RecyclerView.LayoutManager.LayoutPrefetchRegistry layoutPrefetchRegistry) argument
H A DGridLayoutManager.java2493 LayoutPrefetchRegistry layoutPrefetchRegistry) {
2505 mGrid.collectAdjacentPrefetchPositions(fromLimit, da, layoutPrefetchRegistry);
2513 LayoutPrefetchRegistry layoutPrefetchRegistry) {
2520 layoutPrefetchRegistry.addPosition(i, 0);
2492 collectAdjacentPrefetchPositions(int dx, int dy, State state, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
2512 collectInitialPrefetchPositions(int adapterItemCount, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DGridLayoutManager.java510 LayoutPrefetchRegistry layoutPrefetchRegistry) {
515 layoutPrefetchRegistry.addPosition(pos, Math.max(0, layoutState.mScrollingOffset));
509 collectPrefetchPositionsForLayoutState(RecyclerView.State state, LayoutState layoutState, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
H A DLinearLayoutManager.java1216 LayoutPrefetchRegistry layoutPrefetchRegistry) {
1219 layoutPrefetchRegistry.addPosition(pos, Math.max(0, layoutState.mScrollingOffset));
1225 LayoutPrefetchRegistry layoutPrefetchRegistry) {
1248 layoutPrefetchRegistry.addPosition(targetPos, 0);
1307 LayoutPrefetchRegistry layoutPrefetchRegistry) {
1318 collectPrefetchPositionsForLayoutState(state, mLayoutState, layoutPrefetchRegistry);
1215 collectPrefetchPositionsForLayoutState(RecyclerView.State state, LayoutState layoutState, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
1224 collectInitialPrefetchPositions(int adapterItemCount, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
1306 collectAdjacentPrefetchPositions(int dx, int dy, RecyclerView.State state, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
H A DStaggeredGridLayoutManager.java2113 LayoutPrefetchRegistry layoutPrefetchRegistry) {
2153 layoutPrefetchRegistry.addPosition(mLayoutState.mCurrentPosition,
2112 collectAdjacentPrefetchPositions(int dx, int dy, RecyclerView.State state, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
H A DRecyclerView.java7764 * @param layoutPrefetchRegistry PrefetchRegistry to add prefetch entries into.
7770 LayoutPrefetchRegistry layoutPrefetchRegistry) {}
7792 * @param layoutPrefetchRegistry PrefetchRegistry to add prefetch entries into.
7798 LayoutPrefetchRegistry layoutPrefetchRegistry) {}
7769 collectAdjacentPrefetchPositions(int dx, int dy, State state, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
7797 collectInitialPrefetchPositions(int adapterItemCount, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DLinearLayoutManager.java1189 LayoutPrefetchRegistry layoutPrefetchRegistry) {
1192 layoutPrefetchRegistry.addPosition(pos, layoutState.mScrollingOffset);
1198 LayoutPrefetchRegistry layoutPrefetchRegistry) {
1221 layoutPrefetchRegistry.addPosition(targetPos, 0);
1280 LayoutPrefetchRegistry layoutPrefetchRegistry) {
1290 collectPrefetchPositionsForLayoutState(state, mLayoutState, layoutPrefetchRegistry);
1188 collectPrefetchPositionsForLayoutState(RecyclerView.State state, LayoutState layoutState, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
1197 collectInitialPrefetchPositions(int adapterItemCount, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
1279 collectAdjacentPrefetchPositions(int dx, int dy, RecyclerView.State state, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
H A DRecyclerView.java7200 * @param layoutPrefetchRegistry PrefetchRegistry to add prefetch entries into.
7206 LayoutPrefetchRegistry layoutPrefetchRegistry) {}
7228 * @param layoutPrefetchRegistry PrefetchRegistry to add prefetch entries into.
7234 LayoutPrefetchRegistry layoutPrefetchRegistry) {}
7205 collectAdjacentPrefetchPositions(int dx, int dy, State state, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
7233 collectInitialPrefetchPositions(int adapterItemCount, LayoutPrefetchRegistry layoutPrefetchRegistry) argument

Completed in 227 milliseconds