Home
last modified time | relevance | path

Searched refs:mRecycler (Results 1 – 16 of 16) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DAbsSpinnerCompat.java47 final RecycleBin mRecycler = new RecycleBin(); field in AbsSpinnerCompat
176 View view = mRecycler.get(selectedPosition); in onMeasure()
184 mRecycler.put(selectedPosition, view); in onMeasure()
236 final AbsSpinnerCompat.RecycleBin recycleBin = mRecycler; in recycleAllViews()
DSpinnerCompat.java362 mRecycler.clear(); in setAdapter()
384 mRecycler.put(0, child); in getBaseline()
503 mRecycler.clear(); in layout()
528 child = mRecycler.get(position); in makeView()
/frameworks/base/core/java/android/widget/
DAbsSpinner.java52 final RecycleBin mRecycler = new RecycleBin(); field in AbsSpinner
194 View view = mRecycler.get(selectedPosition); in onMeasure()
206 mRecycler.put(selectedPosition, view); in onMeasure()
258 final AbsSpinner.RecycleBin recycleBin = mRecycler; in recycleAllViews()
DGallery.java404 mRecycler.clear(); in trackMotionScroll()
501 mRecycler.put(firstPosition + n, child); in detachOffScreenChildren()
517 mRecycler.put(firstPosition + n, child); in detachOffScreenChildren()
680 mRecycler.clear(); in layout()
851 child = mRecycler.get(position); in makeAndAddView()
DSpinner.java434 mRecycler.clear(); in setAdapter()
457 mRecycler.put(0, child); in getBaseline()
582 mRecycler.clear(); in layout()
607 child = mRecycler.get(position); in makeView()
DAbsListView.java320 final RecycleBin mRecycler = new RecycleBin(); field in AbsListView
2145 mRecycler.markChildrenDirty(); in onLayout()
2323 final View transientView = mRecycler.getTransientStateView(position); in obtainView()
2334 mRecycler.addScrapView(updatedView, position); in obtainView()
2343 final View scrapView = mRecycler.getScrapView(position); in obtainView()
2348 mRecycler.addScrapView(scrapView, position); in obtainView()
2866 mRecycler.clear(); in onDetachedFromWindow()
4916 mRecycler.addScrapView(child, position);
4939 mRecycler.addScrapView(child, position);
4951 mRecycler.removeSkippedScrap();
[all …]
DGridView.java190 mRecycler.clear(); in setAdapter()
208 mRecycler.setViewTypeCount(mAdapter.getViewTypeCount()); in setAdapter()
1079 if (mRecycler.shouldRecycleViewType(p.viewType)) { in onMeasure()
1080 mRecycler.addScrapView(child, -1); in onMeasure()
1252 final RecycleBin recycleBin = mRecycler; in layoutChildren()
1422 child = mRecycler.getActiveView(position); in makeAndAddView()
DListView.java470 mRecycler.clear(); in setAdapter()
493 mRecycler.setViewTypeCount(mAdapter.getViewTypeCount()); in setAdapter()
1162 if (recycleOnMeasure() && mRecycler.shouldRecycleViewType( in onMeasure()
1164 mRecycler.addScrapView(child, 0); in onMeasure()
1265 final AbsListView.RecycleBin recycleBin = mRecycler; in measureHeightOfChildren()
1629 final RecycleBin recycleBin = mRecycler; in layoutChildren()
1853 child = mRecycler.getActiveView(position); in makeAndAddView()
3052 final AbsListView.RecycleBin recycleBin = mRecycler;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java113 final Recycler mRecycler = new Recycler(); field in RecyclerView
528 mLayout.removeAndRecycleAllViews(mRecycler); in setAdapterInternal()
529 mLayout.removeAndRecycleScrapInt(mRecycler, true); in setAdapterInternal()
541 mRecycler.onAdapterChanged(oldAdapter, mAdapter, compatibleWithPrevious); in setAdapterInternal()
590 mLayout.onDetachedFromWindow(this, mRecycler); in setLayoutManager()
594 mRecycler.clear(); in setLayoutManager()
643 mRecycler.unscrapView(getChildViewHolder(view)); in addAnimatingView()
660 mRecycler.unscrapView(viewHolder); in removeAnimatingView()
661 mRecycler.recycleViewHolderInternal(viewHolder); in removeAnimatingView()
688 return mRecycler.getRecycledViewPool(); in getRecycledViewPool()
[all …]
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java106 private final RecycleBin mRecycler = new RecycleBin(); field in StaggeredGridView
452 mRecycler.addScrap(getChildAt(i)); in recycleAllViews()
485 mRecycler.addScrap(child); in recycleOffscreenViews()
502 mRecycler.addScrap(child); in recycleOffscreenViews()
1229 View view = mRecycler.getTransientStateView(position); in obtainView()
1239 optScrap : mRecycler.getScrapView(positionViewType); in obtainView()
1245 mRecycler.addScrap(scrap); in obtainView()
1281 mRecycler.setViewTypeCount(adapter.getViewTypeCount()); in setAdapter()
1301 mRecycler.clear(); in clearAllState()
1554 mRecycler.clearTransientViews(); in onChanged()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLinearLayoutManagerTest.java424 mRecyclerView.getChildCount() + mRecyclerView.mRecycler.mCachedViews.size()); in testRecycleDuringAnimations()
435 mRecyclerView.getChildCount() + mRecyclerView.mRecycler.mCachedViews.size()); in testRecycleDuringAnimations()
450 int recyclerSize = mRecyclerView.mRecycler.getRecycledViewPool().size(); in testDontRecycleChildrenOnDetach()
453 mRecyclerView.mRecycler.getRecycledViewPool().size()); in testDontRecycleChildrenOnDetach()
464 int recyclerSize = mRecyclerView.mRecycler.getRecycledViewPool().size(); in testRecycleChildrenOnDetach()
465 mRecyclerView.mRecycler.getRecycledViewPool().setMaxRecycledViews( in testRecycleChildrenOnDetach()
469 mRecyclerView.mRecycler.getRecycledViewPool().size()); in testRecycleChildrenOnDetach()
DGridLayoutManagerTest.java478 mRecyclerView.mRecycler, mRecyclerView.mState); in scrollBackAndPreservePositionsTest()
528 mRecyclerView.mRecycler, mRecyclerView.mState); in scrollBackAndPreservePositionsTest()
DRecyclerViewLayoutTest.java622 lm.removeAndRecycleAllViews(recyclerView.mRecycler); in testRecycleIgnored()
628 lm.removeAndRecycleView(child1, mRecyclerView.mRecycler); in testRecycleIgnored()
700 for (RecyclerView.ViewHolder vh : mRecyclerView.mRecycler.mCachedViews) { in testInvalidateAllDecorOffsets()
773 assertEquals("a view should be cached", 1, mRecyclerView.mRecycler.mCachedViews.size()); in testInvalidateAllDecorOffsets()
DStaggeredGridLayoutManagerTest.java182 mRecyclerView.mRecycler, mRecyclerView.mState); in scrollBackAndPreservePositionsTest()
227 mRecyclerView.mRecycler, mRecyclerView.mState); in scrollBackAndPreservePositionsTest()
DRecyclerViewAnimationsTest.java375 mRecyclerView.getChildCount() + mRecyclerView.mRecycler.mCachedViews.size()); in testRecycleDuringAnimations()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java182 private RecyclerView.Recycler mRecycler; field in GridLayoutManager
586 return mRecycler.getViewForPosition(position); in getViewForPosition()
635 if (mRecycler != null || mState != null) { in saveContext()
638 mRecycler = recycler; in saveContext()
646 mRecycler = null; in leaveContext()
743 detachAndScrapAttachedViews(mRecycler); in init()
760 removeAndRecycleAllViews(mRecycler); in init()
802 View view = mRecycler.getViewForPosition(position); in measureScrapChild()
812 mRecycler.recycleView(view); in measureScrapChild()
1320 removeAndRecycleView(v, mRecycler); in removeChildAt()
[all …]