Searched refs:mPrefetchArray (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
H A DGapWorker.java67 int[] mPrefetchArray; field in class:GapWorker.LayoutPrefetchRegistryImpl
78 if (mPrefetchArray != null) {
79 Arrays.fill(mPrefetchArray, -1);
116 if (mPrefetchArray == null) {
117 mPrefetchArray = new int[4];
118 Arrays.fill(mPrefetchArray, -1);
119 } else if (storagePosition >= mPrefetchArray.length) {
120 final int[] oldArray = mPrefetchArray;
121 mPrefetchArray = new int[storagePosition * 2];
122 System.arraycopy(oldArray, 0, mPrefetchArray,
[all...]
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DGapWorker.java67 int[] mPrefetchArray; field in class:GapWorker.LayoutPrefetchRegistryImpl
78 if (mPrefetchArray != null) {
79 Arrays.fill(mPrefetchArray, -1);
120 if (mPrefetchArray == null) {
121 mPrefetchArray = new int[4];
122 Arrays.fill(mPrefetchArray, -1);
123 } else if (storagePosition >= mPrefetchArray.length) {
124 final int[] oldArray = mPrefetchArray;
125 mPrefetchArray = new int[storagePosition * 2];
126 System.arraycopy(oldArray, 0, mPrefetchArray,
[all...]
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewCacheTest.java703 int prefetchTarget = mRecyclerView.mPrefetchRegistry.mPrefetchArray[0];

Completed in 26 milliseconds