Searched refs:getViewForPosition (Results 1 - 16 of 16) sorted by relevance

/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DLayoutState.java100 final View view = recycler.getViewForPosition(mCurrentPosition);
H A DLinearLayoutManager.java2230 final View view = recycler.getViewForPosition(mCurrentPosition);
H A DRecyclerView.java3332 // because getViewForPosition() will crash when LM uses a child to measure.
5650 * Helper method for getViewForPosition.
5718 * {@link #getViewForPosition(int)} or created by
5721 * Generally, a LayoutManager should acquire its views via {@link #getViewForPosition(int)}
5725 * Note that, {@link #getViewForPosition(int)} already binds the View to the position so
5766 * {@link #getViewForPosition(int)} or {@link #bindViewToPosition(View, int)} is called.
5807 public View getViewForPosition(int position) { method in class:RecyclerView.Recycler
5808 return getViewForPosition(position, false);
5811 View getViewForPosition(int position, boolean dryRun) { method in class:RecyclerView.Recycler
6614 * When {@link Recycler#getViewForPosition(in
[all...]
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DRecyclerViewActivity.java125 View v = recycler.getViewForPosition(mFirstPosition + i);
163 View v = recycler.getViewForPosition(mFirstPosition);
183 View v = recycler.getViewForPosition(mFirstPosition + getChildCount());
215 View v = recycler.getViewForPosition(mFirstPosition);
230 View v = recycler.getViewForPosition(mFirstPosition + getChildCount());
H A DAnimatedRecyclerView.java460 View v = recycler.getViewForPosition(mFirstPosition + i);
538 View v = recycler.getViewForPosition(mFirstPosition);
557 View v = recycler.getViewForPosition(mFirstPosition + getChildCount());
589 View v = recycler.getViewForPosition(mFirstPosition);
604 View v = recycler.getViewForPosition(mFirstPosition + getChildCount());
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DRecyclerViewActivity.java125 View v = recycler.getViewForPosition(mFirstPosition + i);
163 View v = recycler.getViewForPosition(mFirstPosition);
183 View v = recycler.getViewForPosition(mFirstPosition + getChildCount());
215 View v = recycler.getViewForPosition(mFirstPosition);
230 View v = recycler.getViewForPosition(mFirstPosition + getChildCount());
H A DAnimatedRecyclerView.java460 View v = recycler.getViewForPosition(mFirstPosition + i);
538 View v = recycler.getViewForPosition(mFirstPosition);
557 View v = recycler.getViewForPosition(mFirstPosition + getChildCount());
589 View v = recycler.getViewForPosition(mFirstPosition);
604 View v = recycler.getViewForPosition(mFirstPosition + getChildCount());
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewCacheTest.java208 mRecycler.recycleView(mRecycler.getViewForPosition(10));
211 mRecycler.recycleView(mRecycler.getViewForPosition(20));
214 mRecycler.recycleView(mRecycler.getViewForPosition(30));
217 mRecycler.recycleView(mRecycler.getViewForPosition(40));
223 mRecycler.recycleView(mRecycler.getViewForPosition(i));
H A DRecyclerViewLayoutTest.java700 View v = recycler.getViewForPosition(0);
843 View view = recycler.getViewForPosition(1);
988 View view = recycler.getViewForPosition(0);
1025 View view = recycler.getViewForPosition(0);
1109 recycler.getViewForPosition(i);
1233 recycler.getViewForPosition(state.getItemCount() - 1);
3289 View view = recycler.getViewForPosition(i);
3803 View view = recycler.getViewForPosition(movedViewFromIndex, true);
3811 View view = recycler.getViewForPosition(movedViewToIndex, true);
4606 final View view = recycler.getViewForPosition(positio
[all...]
H A DRecyclerViewAnimationsTest.java148 view = recycler.getViewForPosition(0);
239 .getViewForPosition(target.getAdapterPosition());
786 testView[0] = recycler.getViewForPosition(45);
1558 View view = recycler.getViewForPosition(position, true);
H A DBaseRecyclerViewInstrumentationTest.java648 View view = recycler.getViewForPosition(i);
654 assertFalse("In post layout, getViewForPosition should never return a view "
659 assertEquals("getViewForPosition should return correct position",
H A DItemAnimatorV2ApiTest.java114 mLayoutManager.addDisappearingView(recycler.getViewForPosition(0));
H A DRecyclerViewBasicTest.java334 View view = recycler.getViewForPosition(0);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGridLayoutManager.java1083 protected View getViewForPosition(int position) { method in class:GridLayoutManager
1084 return mRecycler.getViewForPosition(position);
1287 View view = mRecycler.getViewForPosition(position);
1612 View v = getViewForPosition(index - mPositionDeltaInPreLayout);
1961 // and call getViewForPosition() again to rebind.
1982 view = getViewForPosition(position);
/frameworks/base/core/java/com/android/internal/widget/
H A DLinearLayoutManager.java2138 final View view = recycler.getViewForPosition(mCurrentPosition);
H A DRecyclerView.java5225 * Helper method for getViewForPosition.
5293 * {@link #getViewForPosition(int)} or created by
5296 * Generally, a LayoutManager should acquire its views via {@link #getViewForPosition(int)}
5300 * Note that, {@link #getViewForPosition(int)} already binds the View to the position so
5341 * {@link #getViewForPosition(int)} or {@link #bindViewToPosition(View, int)} is called.
5381 public View getViewForPosition(int position) { method in class:RecyclerView.Recycler
5382 return getViewForPosition(position, false);
5385 View getViewForPosition(int position, boolean dryRun) { method in class:RecyclerView.Recycler
6186 * When {@link Recycler#getViewForPosition(int)} is called, Recycler checks attached scrap and
7662 * {@link Recycler#getViewForPosition(in
[all...]

Completed in 80 milliseconds