Home
last modified time | relevance | path

Searched refs:getAdapterPosition (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java256 } else if (!canRemoveTiles() && mCurrentDrag.getAdapterPosition() < mEditIndex) { in onBindViewHolder()
277 selectPosition(holder.getAdapterPosition(), v); in onBindViewHolder()
326 int position = holder.getAdapterPosition(); in onBindViewHolder()
540 if (holder.getAdapterPosition() == 0 || in onDraw()
541 holder.getAdapterPosition() < mEditIndex && !(child instanceof TextView)) { in onDraw()
577 int position = mCurrentDrag.getAdapterPosition();
600 final int position = target.getAdapterPosition();
604 if (!canRemoveTiles() && current.getAdapterPosition() < mEditIndex) {
627 int from = viewHolder.getAdapterPosition();
628 int to = target.getAdapterPosition();
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DLockscreenFragment.java275 v -> mCallback.accept(mItems.get(holder.getAdapterPosition()))); in onBindViewHolder()
281 v -> mItems.get(holder.getAdapterPosition()).toggleExpando(Adapter.this)); in onBindViewHolder()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java673 && anim.mViewHolder.getAdapterPosition() != RecyclerView.NO_POSITION) { in postDispatchSwipe()
844 final int toPosition = target.getAdapterPosition(); in moveIfNecessary()
845 final int fromPosition = viewHolder.getAdapterPosition(); in moveIfNecessary()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java3289 : focusedVh.getAdapterPosition()); in saveFocusInfo()
4239 return holder != null ? holder.getAdapterPosition() : NO_POSITION; in getChildAdapterPosition()
10149 public final int getAdapterPosition() { in getAdapterPosition() method in RecyclerView.ViewHolder
10557 return mViewHolder.getAdapterPosition(); in getViewAdapterPosition()
11879 final int pos = viewHolder.getAdapterPosition(); in buildAdapterChangeFlagsForAnimations()