Lines Matching refs:scrap
598 * @param optScrap Optional scrap view; will be reused if possible
611 final View scrap = optType == positionViewType ?
614 view = mAdapter.getView(position, scrap, this);
616 if (view != scrap && scrap != null) {
618 mRecycler.addScrap(scrap);
829 ArrayList<View> scrap = mScrapViews[lp.viewType];
830 if (scrap.size() < mMaxScrap) {
831 scrap.add(v);
848 ArrayList<View> scrap = mScrapViews[type];
849 if (scrap.isEmpty()) {
853 final int index = scrap.size() - 1;
854 final View result = scrap.get(index);
855 scrap.remove(index);