Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java192 final int viewPosition = lp.getViewLayoutPosition(); in cachePreLayoutSpanMapping() local
193 mPreLayoutSpanSizeCache.put(viewPosition, lp.getSpanSize()); in cachePreLayoutSpanMapping()
194 mPreLayoutSpanIndexCache.put(viewPosition, lp.getSpanIndex()); in cachePreLayoutSpanMapping()
439 int viewPosition) { in getSpanGroupIndex() argument
441 return mSpanSizeLookup.getSpanGroupIndex(viewPosition, mSpanCount); in getSpanGroupIndex()
443 final int adapterPosition = recycler.convertPreLayoutPositionToPostLayout(viewPosition); in getSpanGroupIndex()
447 + viewPosition); in getSpanGroupIndex()
449 Log.w(TAG, "Cannot find span size for pre layout position. " + viewPosition); in getSpanGroupIndex()
DLinearLayoutManager.java392 final int viewPosition = position - firstChild; in findViewByPosition() local
393 if (viewPosition >= 0 && viewPosition < childCount) { in findViewByPosition()
394 final View child = getChildAt(viewPosition); in findViewByPosition()