Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLinearLayoutManagerTest.java413 mRecyclerView.getChildCount() + mRecyclerView.mRecycler.mCachedViews.size()); in recycleDuringAnimations()
424 mRecyclerView.getChildCount() + mRecyclerView.mRecycler.mCachedViews.size()); in recycleDuringAnimations()
434 int recyclerSize = mRecyclerView.mRecycler.getRecycledViewPool().size(); in dontRecycleChildrenOnDetach()
437 mRecyclerView.mRecycler.getRecycledViewPool().size()); in dontRecycleChildrenOnDetach()
449 int recyclerSize = mRecyclerView.mRecycler.getRecycledViewPool().size(); in recycleChildrenOnDetach()
450 mRecyclerView.mRecycler.getRecycledViewPool().setMaxRecycledViews( in recycleChildrenOnDetach()
454 mRecyclerView.mRecycler.getRecycledViewPool().size()); in recycleChildrenOnDetach()
DGridLayoutManagerTest.java421 glm.onAnchorReady(mRecyclerView.mRecycler, state, glm.mAnchorInfo, in anchorUpdate()
425 glm.onAnchorReady(mRecyclerView.mRecycler, state, glm.mAnchorInfo, in anchorUpdate()
431 glm.onAnchorReady(mRecyclerView.mRecycler, state, glm.mAnchorInfo, in anchorUpdate()
437 glm.onAnchorReady(mRecyclerView.mRecycler, state, glm.mAnchorInfo, in anchorUpdate()
441 glm.onAnchorReady(mRecyclerView.mRecycler, state, glm.mAnchorInfo, in anchorUpdate()
447 glm.onAnchorReady(mRecyclerView.mRecycler, state, glm.mAnchorInfo, in anchorUpdate()
451 glm.onAnchorReady(mRecyclerView.mRecycler, state, glm.mAnchorInfo, in anchorUpdate()
457 glm.onAnchorReady(mRecyclerView.mRecycler, state, glm.mAnchorInfo, in anchorUpdate()
460 glm.onAnchorReady(mRecyclerView.mRecycler, state, glm.mAnchorInfo, in anchorUpdate()
DGridLayoutManagerBaseConfigSetTest.java94 mRecyclerView.mRecycler, mRecyclerView.mState); in scrollBackAndPreservePositionsTest()
161 mRecyclerView.mRecycler, mRecyclerView.mState); in scrollBackAndPreservePositionsTest()
DWrapContentBasicTest.java85 .onLayoutChildren(mRecyclerView.mRecycler, mRecyclerView.mState); in testLayoutInOnMeasureWithoutPredictive()
96 .onLayoutChildren(mRecyclerView.mRecycler, mRecyclerView.mState); in dataChangeAfterMeasure()
DRecyclerViewBasicTest.java218 mRecyclerView.mRecycler.mCachedViews.add(mvh); in recyclerOffsetsOnMove()
241 mRecyclerView.mRecycler.mCachedViews.add(mvh); in recyclerOffsetsOnAdd()
DStaggeredGridLayoutManagerBaseConfigSetTest.java193 mRecyclerView.mRecycler, mRecyclerView.mState); in scrollBackAndPreservePositionsTest()
238 mRecyclerView.mRecycler, mRecyclerView.mState); in scrollBackAndPreservePositionsTest()
DRecyclerViewAnimationsTest.java161 MatcherAssert.assertThat(mRecyclerView.mRecycler.mCachedViews.contains(vh), in changeAndDisappearTest()
167 MatcherAssert.assertThat(mRecyclerView.mRecycler.mCachedViews.contains(updatedVH[0]), in changeAndDisappearTest()
1086 mRecyclerView.getChildCount() + mRecyclerView.mRecycler.mCachedViews.size()); in recycleDuringAnimations()
DStaggeredGridLayoutManagerTest.java74 mLayoutManager.onDetachedFromWindow(mRecyclerView, mRecyclerView.mRecycler); in forceLayoutOnDetach()
DRecyclerViewLayoutTest.java2541 lm.removeAndRecycleAllViews(recyclerView.mRecycler); in recycleIgnored()
2547 lm.removeAndRecycleView(child1, mRecyclerView.mRecycler); in recycleIgnored()
2682 for (RecyclerView.ViewHolder vh : mRecyclerView.mRecycler.mCachedViews) { in invalidateAllDecorOffsets()
2756 assertEquals("a view should be cached", 1, mRecyclerView.mRecycler.mCachedViews.size()); in invalidateAllDecorOffsets()
/frameworks/base/core/java/android/widget/
DAbsSpinner.java50 final RecycleBin mRecycler = new RecycleBin(); field in AbsSpinner
191 View view = mRecycler.get(selectedPosition); in onMeasure()
203 mRecycler.put(selectedPosition, view); in onMeasure()
255 final AbsSpinner.RecycleBin recycleBin = mRecycler; in recycleAllViews()
DGallery.java411 mRecycler.clear(); in trackMotionScroll()
508 mRecycler.put(firstPosition + n, child); in detachOffScreenChildren()
524 mRecycler.put(firstPosition + n, child); in detachOffScreenChildren()
687 mRecycler.clear(); in layout()
858 child = mRecycler.get(position); in makeAndAddView()
DSpinner.java522 mRecycler.clear(); in setAdapter()
542 mRecycler.put(0, child); in getBaseline()
667 mRecycler.clear(); in layout()
692 child = mRecycler.get(position); in makeView()
DAbsListView.java327 final RecycleBin mRecycler = new RecycleBin(); field in AbsListView
2159 mRecycler.markChildrenDirty(); in onLayout()
2340 final View transientView = mRecycler.getTransientStateView(position); in obtainView()
2351 mRecycler.addScrapView(updatedView, position); in obtainView()
2362 final View scrapView = mRecycler.getScrapView(position); in obtainView()
2367 mRecycler.addScrapView(scrapView, position); in obtainView()
2942 mRecycler.clear(); in onDetachedFromWindow()
5136 mRecycler.addScrapView(child, position);
5157 mRecycler.addScrapView(child, position);
5169 mRecycler.removeSkippedScrap();
[all …]
DGridView.java195 mRecycler.clear(); in setAdapter()
213 mRecycler.setViewTypeCount(mAdapter.getViewTypeCount()); in setAdapter()
1086 if (mRecycler.shouldRecycleViewType(p.viewType)) { in onMeasure()
1087 mRecycler.addScrapView(child, -1); in onMeasure()
1259 final RecycleBin recycleBin = mRecycler; in layoutChildren()
1428 final View activeView = mRecycler.getActiveView(position); in makeAndAddView()
DListView.java476 mRecycler.clear(); in setAdapter()
499 mRecycler.setViewTypeCount(mAdapter.getViewTypeCount()); in setAdapter()
1213 if (recycleOnMeasure() && mRecycler.shouldRecycleViewType( in onMeasure()
1215 mRecycler.addScrapView(child, 0); in onMeasure()
1321 final AbsListView.RecycleBin recycleBin = mRecycler; in measureHeightOfChildren()
1686 final RecycleBin recycleBin = mRecycler; in layoutChildren()
1959 final View activeView = mRecycler.getActiveView(position); in makeAndAddView()
3161 final AbsListView.RecycleBin recycleBin = mRecycler;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java258 final Recycler mRecycler = new Recycler(); field in RecyclerView
455 mRecycler.unscrapView(viewHolder);
481 mLayout.removeAndRecycleView(viewHolder.itemView, mRecycler);
960 mLayout.removeAndRecycleAllViews(mRecycler); in setAdapterInternal()
961 mLayout.removeAndRecycleScrapInt(mRecycler); in setAdapterInternal()
964 mRecycler.clear(); in setAdapterInternal()
976 mRecycler.onAdapterChanged(oldAdapter, mAdapter, compatibleWithPrevious); in setAdapterInternal()
1086 mLayout.removeAndRecycleAllViews(mRecycler); in setLayoutManager()
1087 mLayout.removeAndRecycleScrapInt(mRecycler); in setLayoutManager()
1088 mRecycler.clear(); in setLayoutManager()
[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/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java415 private RecyclerView.Recycler mRecycler; field in GridLayoutManager
971 return mRecycler.getViewForPosition(position); in getViewForPosition()
1057 if (mRecycler != null || mState != null) { in saveContext()
1060 mRecycler = recycler; in saveContext()
1068 mRecycler = null; in leaveContext()
1116 detachAndScrapAttachedViews(mRecycler); in layoutInit()
1178 View view = mRecycler.getViewForPosition(position); in measureScrapChild()
1193 mRecycler.recycleView(view); in measureScrapChild()
1575 detachAndScrapView(v, mRecycler);
1577 removeAndRecycleView(v, mRecycler);
[all …]