Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java270 } else if (!canRemoveTiles() && mCurrentDrag.getAdapterPosition() < mEditIndex) { in onBindViewHolder()
293 selectPosition(holder.getAdapterPosition(), v); in onBindViewHolder()
330 int position = holder.getAdapterPosition(); in onBindViewHolder()
558 if (holder.getAdapterPosition() == 0 || in onDraw()
559 holder.getAdapterPosition() < mEditIndex && !(child instanceof TextView)) { in onDraw()
595 int position = mCurrentDrag.getAdapterPosition();
618 final int position = target.getAdapterPosition();
622 if (!canRemoveTiles() && current.getAdapterPosition() < mEditIndex) {
645 int from = viewHolder.getAdapterPosition();
646 int to = target.getAdapterPosition();
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java226 onCatClick(mCats[holder.getAdapterPosition()]); in onBindViewHolder()
246 onCatRemove(mCats[holder.getAdapterPosition()]); in onBindViewHolder()
256 Cat cat = mCats[holder.getAdapterPosition()]; in onBindViewHolder()
DNekoDialog.java92 onFoodSelected(mFoods.get(holder.getAdapterPosition())); in onBindViewHolder()
/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.java3303 : focusedVh.getAdapterPosition()); in saveFocusInfo()
4253 return holder != null ? holder.getAdapterPosition() : NO_POSITION; in getChildAdapterPosition()
10163 public final int getAdapterPosition() { in getAdapterPosition() method in RecyclerView.ViewHolder
10571 return mViewHolder.getAdapterPosition(); in getViewAdapterPosition()
11893 final int pos = viewHolder.getAdapterPosition(); in buildAdapterChangeFlagsForAnimations()