Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DAbsSpinner.java477 final SparseArray<View> scrapHeap = mScrapHeap; in clear() local
478 final int count = scrapHeap.size(); in clear()
480 final View view = scrapHeap.valueAt(i); in clear()
485 scrapHeap.clear(); in clear()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java5144 final ArrayList<ViewHolder> scrapHeap = scrapData.mScrapHeap; in setMaxRecycledViews() local
5145 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() local
5163 return scrapHeap.remove(scrapHeap.size() - 1); in getRecycledView()
5181 final ArrayList<ViewHolder> scrapHeap = getScrapDataForType(viewType).mScrapHeap; in putRecycledView() local
5182 if (mScrap.get(viewType).mMaxScrap <= scrapHeap.size()) { in putRecycledView()
5185 if (DEBUG && scrapHeap.contains(scrap)) { in putRecycledView()
5189 scrapHeap.add(scrap); in putRecycledView()