Home
last modified time | relevance | path

Searched refs:mCachedViews (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java3439 final ArrayList<ViewHolder> mCachedViews = new ArrayList<ViewHolder>(); field in RecyclerView.Recycler
3469 for (int i = mCachedViews.size() - 1; i >= 0 && mCachedViews.size() > viewCount; i--) { in setViewCacheSize()
3817 final int count = mCachedViews.size(); in recycleAndClearCachedViews()
3821 mCachedViews.clear(); in recycleAndClearCachedViews()
3839 ViewHolder viewHolder = mCachedViews.get(cachedViewIndex); in recycleCachedViewAt()
3844 mCachedViews.remove(cachedViewIndex); in recycleCachedViewAt()
3878 final int cachedViewSize = mCachedViews.size(); in recycleViewHolderInternal()
3883 mCachedViews.add(holder); in recycleViewHolderInternal()
4040 final int cacheSize = mCachedViews.size(); in getScrapViewForPosition()
4042 final ViewHolder holder = mCachedViews.get(i); in getScrapViewForPosition()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewLayoutTest.java1232 for (RecyclerView.ViewHolder vh : mRecyclerView.mRecycler.mCachedViews) { in testInvalidateAllDecorOffsets()
1306 assertEquals("a view should be cached", 1, mRecyclerView.mRecycler.mCachedViews.size()); in testInvalidateAllDecorOffsets()
1792 .mCachedViews.size()); in testNotifyDataSetChangedWithStableIds()
1793 for (RecyclerView.ViewHolder vh : recycler.mCachedViews) { in testNotifyDataSetChangedWithStableIds()
1803 recycler.mCachedViews.size()); in testNotifyDataSetChangedWithStableIds()
DLinearLayoutManagerTest.java424 mRecyclerView.getChildCount() + mRecyclerView.mRecycler.mCachedViews.size()); in testRecycleDuringAnimations()
435 mRecyclerView.getChildCount() + mRecyclerView.mRecycler.mCachedViews.size()); in testRecycleDuringAnimations()
DRecyclerViewAnimationsTest.java376 mRecyclerView.getChildCount() + mRecyclerView.mRecycler.mCachedViews.size()); in testRecycleDuringAnimations()