Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java277 final int adapterPosition = recycler.convertPreLayoutPositionToPostLayout(viewPosition); in getSpanGroupIndex() local
278 if (adapterPosition == -1) { in getSpanGroupIndex()
286 return mSpanSizeLookup.getSpanGroupIndex(adapterPosition, mSpanCount); in getSpanGroupIndex()
297 final int adapterPosition = recycler.convertPreLayoutPositionToPostLayout(pos); in getSpanIndex() local
298 if (adapterPosition == -1) { in getSpanIndex()
307 return mSpanSizeLookup.getCachedSpanIndex(adapterPosition, mSpanCount); in getSpanIndex()
318 final int adapterPosition = recycler.convertPreLayoutPositionToPostLayout(pos); in getSpanSize() local
319 if (adapterPosition == -1) { in getSpanSize()
328 return mSpanSizeLookup.getSpanSize(adapterPosition); in getSpanSize()
710 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument
[all …]
/frameworks/base/core/java/android/widget/
DAdapterViewAnimator.java222 int adapterPosition; field in AdapterViewAnimator.ViewAndMetaData
225 ViewAndMetaData(View view, int relativeIndex, int adapterPosition, long itemId) { in ViewAndMetaData() argument
228 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()