Searched refs:scrapHeap (Results 1 – 3 of 3) 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()
4975 final ArrayList<ViewHolder> scrapHeap = scrapData.mScrapHeap; in setMaxRecycledViews() local4976 if (scrapHeap != null) { in setMaxRecycledViews()4977 while (scrapHeap.size() > max) { in setMaxRecycledViews()4978 scrapHeap.remove(scrapHeap.size() - 1); in setMaxRecycledViews()4993 final ArrayList<ViewHolder> scrapHeap = scrapData.mScrapHeap; in getRecycledView() local4994 return scrapHeap.remove(scrapHeap.size() - 1); in getRecycledView()5012 final ArrayList scrapHeap = getScrapDataForType(viewType).mScrapHeap; in putRecycledView() local5013 if (mScrap.get(viewType).mMaxScrap <= scrapHeap.size()) { in putRecycledView()5016 if (DEBUG && scrapHeap.contains(scrap)) { in putRecycledView()5020 scrapHeap.add(scrap); in putRecycledView()
5380 final ArrayList<ViewHolder> scrapHeap = scrapData.mScrapHeap; in setMaxRecycledViews() local5381 while (scrapHeap.size() > max) { in setMaxRecycledViews()5382 scrapHeap.remove(scrapHeap.size() - 1); in setMaxRecycledViews()5405 final ArrayList<ViewHolder> scrapHeap = scrapData.mScrapHeap; in getRecycledView() local5406 return scrapHeap.remove(scrapHeap.size() - 1); in getRecycledView()5436 final ArrayList<ViewHolder> scrapHeap = getScrapDataForType(viewType).mScrapHeap; in putRecycledView() local5437 if (mScrap.get(viewType).mMaxScrap <= scrapHeap.size()) { in putRecycledView()5440 if (DEBUG && scrapHeap.contains(scrap)) { in putRecycledView()5444 scrapHeap.add(scrap); in putRecycledView()