Home
last modified time | relevance | path

Searched refs:scrapHeap (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DAbsSpinner.java480 final SparseArray<View> scrapHeap = mScrapHeap; in clear() local
481 final int count = scrapHeap.size(); in clear()
483 final View view = scrapHeap.valueAt(i); in clear()
488 scrapHeap.clear(); in clear()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java5098 final ArrayList<ViewHolder> scrapHeap = scrapData.mScrapHeap; in setMaxRecycledViews() local
5099 if (scrapHeap != null) { in setMaxRecycledViews()
5100 while (scrapHeap.size() > max) { in setMaxRecycledViews()
5101 scrapHeap.remove(scrapHeap.size() - 1); in setMaxRecycledViews()
5116 final ArrayList<ViewHolder> scrapHeap = scrapData.mScrapHeap; in getRecycledView() local
5117 return scrapHeap.remove(scrapHeap.size() - 1); in getRecycledView()
5135 final ArrayList scrapHeap = getScrapDataForType(viewType).mScrapHeap; in putRecycledView() local
5136 if (mScrap.get(viewType).mMaxScrap <= scrapHeap.size()) { in putRecycledView()
5139 if (DEBUG && scrapHeap.contains(scrap)) { in putRecycledView()
5143 scrapHeap.add(scrap); in putRecycledView()