Searched refs:getLayoutPosition (Results 1 – 9 of 9) sorted by relevance
346 selectPosition(holder.getLayoutPosition()); in onBindViewHolder()390 int position = holder.getLayoutPosition(); in onBindViewHolder()589 return canRemoveFromPosition(getLayoutPosition()); in canRemove()593 return canAddFromPosition(getLayoutPosition()); in canAdd()605 if (addFromPosition(getLayoutPosition())) { in add()612 if (removeFromPosition(getLayoutPosition())) { in remove()619 return TileAdapter.this.isCurrentTile(getLayoutPosition()); in isCurrentTile()623 TileAdapter.this.startAccessibleAdd(getLayoutPosition()); in startAccessibleAdd()627 TileAdapter.this.startAccessibleMove(getLayoutPosition()); in startAccessibleMove()
75 R.string.accessibility_qs_edit_position, holder.getLayoutPosition())); in onInitializeAccessibilityNodeInfo()
104 when(mHolder.getLayoutPosition()).thenReturn(position); in testStateDescriptionHasPositionForCurrentTile()118 when(mHolder.getLayoutPosition()).thenReturn(position); in testStateDescriptionEmptyForNotCurrentTile()
371 return new PageRange(firstHolder.getLayoutPosition(), in computeShownPages()372 lastHolder.getLayoutPosition()); in computeShownPages()
130 final int index = holder.getLayoutPosition(); in shouldDrawDividerBelow()
210 if (holder.getLayoutPosition() == position in findHiddenNonRemovedView()
3828 final int pos = holder.getLayoutPosition(); in findMinMaxChildLayoutPositions()4375 return holder != null ? holder.getLayoutPosition() : NO_POSITION; in getChildLayoutPosition()4472 } else if (holder.getLayoutPosition() != position) { in findViewHolderForPosition()5984 if (!holder.wasReturnedFromScrap() && holder.getLayoutPosition() == position) { in getChangedScrapViewForPosition()6019 if (!holder.wasReturnedFromScrap() && holder.getLayoutPosition() == position in getScrapOrHiddenOrCachedHolderForPosition()6052 if (!holder.isInvalid() && holder.getLayoutPosition() == position) { in getScrapOrHiddenOrCachedHolderForPosition()6239 final int pos = holder.getLayoutPosition(); in viewRangeUpdate()7980 if (vh.getLayoutPosition() == position && !vh.shouldIgnore() in findViewByPosition()10244 public final int getLayoutPosition() { in getLayoutPosition() method in RecyclerView.ViewHolder10666 return mViewHolder.getLayoutPosition(); in getViewLayoutPosition()
686 final int position = scrap.getLayoutPosition(); in layoutForPredictiveAnimations()
210 this::getLayoutPosition,