Searched refs:getLayoutPosition (Results 1 - 14 of 14) sorted by relevance

/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/
H A DDividerItemDecoration.java136 final int index = holder.getLayoutPosition();
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DBaseRecyclerViewAnimationsTest.java410 if (vh.getLayoutPosition() < 0) {
417 if (!existingOffsets.add(vh.getLayoutPosition())) {
616 viewHolder.getLayoutPosition());
624 + viewHolder, mPostLayoutPos, viewHolder.getLayoutPosition());
H A DBaseGridLayoutManagerTest.java234 position, RecyclerView.getChildViewHolderInt(next).getLayoutPosition());
H A DBaseLinearLayoutManagerTest.java503 position, RecyclerView.getChildViewHolderInt(next).getLayoutPosition());
H A DRecyclerViewLayoutTest.java4170 tvh.getLayoutPosition());
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintPreviewController.java371 return new PageRange(firstHolder.getLayoutPosition(),
372 lastHolder.getLayoutPosition());
/frameworks/base/core/java/com/android/internal/widget/
H A DChildHelper.java210 if (holder.getLayoutPosition() == position
H A DRecyclerView.java116 * layout calculation (e.g. {@link ViewHolder#getLayoutPosition()},
3706 final int pos = holder.getLayoutPosition();
4253 return holder != null ? holder.getLayoutPosition() : NO_POSITION;
4350 } else if (holder.getLayoutPosition() != position) {
5861 if (!holder.wasReturnedFromScrap() && holder.getLayoutPosition() == position) {
5896 if (!holder.wasReturnedFromScrap() && holder.getLayoutPosition() == position
5929 if (!holder.isInvalid() && holder.getLayoutPosition() == position) {
6116 final int pos = holder.getLayoutPosition();
7857 if (vh.getLayoutPosition() == position && !vh.shouldIgnore()
10088 * handling of adapter updates. Please use {@link #getLayoutPosition()} o
10121 public final int getLayoutPosition() { method in class:RecyclerView.ViewHolder
[all...]
H A DLinearLayoutManager.java686 final int position = scrap.getLayoutPosition();
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DChildHelper.java210 if (holder.getLayoutPosition() == position
H A DRecyclerView.java139 * layout calculation (e.g. {@link ViewHolder#getLayoutPosition()},
4058 final int pos = holder.getLayoutPosition();
4598 return holder != null ? holder.getLayoutPosition() : NO_POSITION;
4699 } else if (holder.getLayoutPosition() != position) {
6299 if (!holder.wasReturnedFromScrap() && holder.getLayoutPosition() == position) {
6334 if (!holder.wasReturnedFromScrap() && holder.getLayoutPosition() == position
6367 if (!holder.isInvalid() && holder.getLayoutPosition() == position) {
8427 if (vh.getLayoutPosition() == position && !vh.shouldIgnore()
10831 * handling of adapter updates. You should use {@link #getLayoutPosition()} or
10834 * @see #getLayoutPosition()
10864 public final int getLayoutPosition() { method in class:RecyclerView.ViewHolder
[all...]
H A DLinearLayoutManager.java716 final int position = scrap.getLayoutPosition();
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
H A DAdapterHelperTest.java145 viewHolder.getLayoutPosition() == updateOp.positionStart + i);
960 final int start = mViewHolders.get(0).getLayoutPosition();
963 start + i, mViewHolders.get(i).getLayoutPosition());
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGridLayoutManager.java1353 getChildAt(0)).getLayoutPosition();
1355 getChildAt(getChildCount() - 1)).getLayoutPosition();
3295 // is ignored or getLayoutPosition does not match the adapter position of focused view.

Completed in 104 milliseconds