Home
last modified time | relevance | path

Searched refs:getLayoutPosition (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java346 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()
DTileAdapterDelegate.java75 R.string.accessibility_qs_edit_position, holder.getLayoutPosition())); in onInitializeAccessibilityNodeInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileAdapterDelegateTest.java104 when(mHolder.getLayoutPosition()).thenReturn(position); in testStateDescriptionHasPositionForCurrentTile()
118 when(mHolder.getLayoutPosition()).thenReturn(position); in testStateDescriptionEmptyForNotCurrentTile()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java371 return new PageRange(firstHolder.getLayoutPosition(), in computeShownPages()
372 lastHolder.getLayoutPosition()); in computeShownPages()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/
DDividerItemDecoration.java130 final int index = holder.getLayoutPosition(); in shouldDrawDividerBelow()
/frameworks/base/core/java/com/android/internal/widget/
DChildHelper.java210 if (holder.getLayoutPosition() == position in findHiddenNonRemovedView()
DRecyclerView.java3828 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.ViewHolder
10666 return mViewHolder.getLayoutPosition(); in getViewLayoutPosition()
DLinearLayoutManager.java686 final int position = scrap.getLayoutPosition(); in layoutForPredictiveAnimations()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlAdapter.kt210 this::getLayoutPosition,