Searched refs:scrapHeap (Results 1 – 2 of 2) sorted by relevance
477 final SparseArray<View> scrapHeap = mScrapHeap; in clear() local478 final int count = scrapHeap.size(); in clear()480 final View view = scrapHeap.valueAt(i); in clear()485 scrapHeap.clear(); in clear()
5144 final ArrayList<ViewHolder> scrapHeap = scrapData.mScrapHeap; in setMaxRecycledViews() local5145 if (scrapHeap != null) { in setMaxRecycledViews()5146 while (scrapHeap.size() > max) { in setMaxRecycledViews()5147 scrapHeap.remove(scrapHeap.size() - 1); in setMaxRecycledViews()5162 final ArrayList<ViewHolder> scrapHeap = scrapData.mScrapHeap; in getRecycledView() local5163 return scrapHeap.remove(scrapHeap.size() - 1); in getRecycledView()5181 final ArrayList<ViewHolder> scrapHeap = getScrapDataForType(viewType).mScrapHeap; in putRecycledView() local5182 if (mScrap.get(viewType).mMaxScrap <= scrapHeap.size()) { in putRecycledView()5185 if (DEBUG && scrapHeap.contains(scrap)) { in putRecycledView()5189 scrapHeap.add(scrap); in putRecycledView()