Home
last modified time | relevance | path

Searched refs:adapterPosition (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DFavoritesModel.kt221 onMoveItem(viewHolder.adapterPosition, target.adapterPosition) in onMove()
229 if (viewHolder.adapterPosition < dividerPosition) { in getMovementFlags()
241 return target.adapterPosition < dividerPosition in canDropOver()
/frameworks/base/core/java/com/android/internal/widget/
DGridLayoutManager.java451 final int adapterPosition = recycler.convertPreLayoutPositionToPostLayout(viewPosition); in getSpanGroupIndex() local
452 if (adapterPosition == -1) { in getSpanGroupIndex()
460 return mSpanSizeLookup.getSpanGroupIndex(adapterPosition, mSpanCount); in getSpanGroupIndex()
471 final int adapterPosition = recycler.convertPreLayoutPositionToPostLayout(pos); in getSpanIndex() local
472 if (adapterPosition == -1) { in getSpanIndex()
481 return mSpanSizeLookup.getCachedSpanIndex(adapterPosition, mSpanCount); in getSpanIndex()
492 final int adapterPosition = recycler.convertPreLayoutPositionToPostLayout(pos); in getSpanSize() local
493 if (adapterPosition == -1) { in getSpanSize()
502 return mSpanSizeLookup.getSpanSize(adapterPosition); in getSpanSize()
957 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument
[all …]
/frameworks/base/core/java/android/widget/
DAdapterViewAnimator.java223 int adapterPosition; field in AdapterViewAnimator.ViewAndMetaData
226 ViewAndMetaData(View view, int relativeIndex, int adapterPosition, long itemId) { in ViewAndMetaData() argument
229 this.adapterPosition = adapterPosition; in ViewAndMetaData()
547 final int adapterPosition = modulo(i, adapterCount); in showOnly() local
548 View newView = mAdapter.getView(adapterPosition, null, this); in showOnly()
549 long itemId = mAdapter.getItemId(adapterPosition); in showOnly()
560 adapterPosition, itemId)); in showOnly()
656 performItemClick(v, viewData.adapterPosition, in onTouchEvent()