Searched refs:mRecyclerPool (Results 1 – 3 of 3) sorted by relevance
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | RecyclerViewCacheTest.java | 1230 assertEquals(1, mRecycler.mRecyclerPool.getRecycledViewCount(0)); in nestedPrefetchDiscardStaleChildren() 1235 for (RecyclerView.ViewHolder holder : mRecycler.mRecyclerPool.mScrap.get(0).mScrapHeap) { in nestedPrefetchDiscardStaleChildren() 1275 mRecycler.mRecyclerPool.clear(); in nestedPrefetchDiscardStalePrefetch() 1276 assertEquals(0, mRecycler.mRecyclerPool.getRecycledViewCount(0)); in nestedPrefetchDiscardStalePrefetch()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RecyclerView.java | 5179 RecycledViewPool mRecyclerPool; field in RecyclerView.Recycler 5277 && !mRecyclerPool.willBindInTime(viewType, startBindNs, deadlineNs)) { in tryBindViewHolderByDeadline() 5283 mRecyclerPool.factorInBindTime(holder.getItemViewType(), endBindNs - startBindNs); in tryBindViewHolderByDeadline() 5497 && !mRecyclerPool.willCreateInTime(type, start, deadlineNs)) { in tryGetViewHolderForPositionByDeadline() 5511 mRecyclerPool.factorInCreateTime(type, end - start); in tryGetViewHolderForPositionByDeadline() 6091 if (mRecyclerPool != null) { in setRecycledViewPool() 6092 mRecyclerPool.detach(); in setRecycledViewPool() 6094 mRecyclerPool = pool; in setRecycledViewPool() 6096 mRecyclerPool.attach(getAdapter()); in setRecycledViewPool() 6101 if (mRecyclerPool == null) { in getRecycledViewPool() [all …]
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | RecyclerView.java | 5603 RecycledViewPool mRecyclerPool; field in RecyclerView.Recycler 5702 && !mRecyclerPool.willBindInTime(viewType, startBindNs, deadlineNs)) { in tryBindViewHolderByDeadline() 5708 mRecyclerPool.factorInBindTime(holder.getItemViewType(), endBindNs - startBindNs); in tryBindViewHolderByDeadline() 5925 && !mRecyclerPool.willCreateInTime(type, start, deadlineNs)) { in tryGetViewHolderForPositionByDeadline() 5939 mRecyclerPool.factorInCreateTime(type, end - start); in tryGetViewHolderForPositionByDeadline() 6529 if (mRecyclerPool != null) { in setRecycledViewPool() 6530 mRecyclerPool.detach(); in setRecycledViewPool() 6532 mRecyclerPool = pool; in setRecycledViewPool() 6533 if (mRecyclerPool != null && getAdapter() != null) { in setRecycledViewPool() 6534 mRecyclerPool.attach(); in setRecycledViewPool() [all …]
|