Searched refs:mCachedViews (Results 1 – 4 of 4) sorted by relevance
3439 final ArrayList<ViewHolder> mCachedViews = new ArrayList<ViewHolder>(); field in RecyclerView.Recycler3469 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 …]
1232 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()
424 mRecyclerView.getChildCount() + mRecyclerView.mRecycler.mCachedViews.size()); in testRecycleDuringAnimations()435 mRecyclerView.getChildCount() + mRecyclerView.mRecycler.mCachedViews.size()); in testRecycleDuringAnimations()
376 mRecyclerView.getChildCount() + mRecyclerView.mRecycler.mCachedViews.size()); in testRecycleDuringAnimations()