Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DAbsSpinner.java479 final SparseArray<View> scrapHeap = mScrapHeap; in clear() local
480 final int count = scrapHeap.size(); in clear()
482 final View view = scrapHeap.valueAt(i); in clear()
487 scrapHeap.clear(); in clear()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java4991 final ArrayList<ViewHolder> scrapHeap = scrapData.mScrapHeap; in setMaxRecycledViews() local
4992 if (scrapHeap != null) { in setMaxRecycledViews()
4993 while (scrapHeap.size() > max) { in setMaxRecycledViews()
4994 scrapHeap.remove(scrapHeap.size() - 1); in setMaxRecycledViews()
5009 final ArrayList<ViewHolder> scrapHeap = scrapData.mScrapHeap; in getRecycledView() local
5010 return scrapHeap.remove(scrapHeap.size() - 1); in getRecycledView()
5028 final ArrayList scrapHeap = getScrapDataForType(viewType).mScrapHeap; in putRecycledView() local
5029 if (mScrap.get(viewType).mMaxScrap <= scrapHeap.size()) { in putRecycledView()
5032 if (DEBUG && scrapHeap.contains(scrap)) { in putRecycledView()
5036 scrapHeap.add(scrap); in putRecycledView()