Home
last modified time | relevance | path

Searched refs:viewPosition (Results 1 – 3 of 3) 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()
449 int viewPosition) { in getSpanGroupIndex() argument
451 return mSpanSizeLookup.getSpanGroupIndex(viewPosition, mSpanCount); in getSpanGroupIndex()
453 final int adapterPosition = recycler.convertPreLayoutPositionToPostLayout(viewPosition); in getSpanGroupIndex()
457 + viewPosition); in getSpanGroupIndex()
459 Log.w(TAG, "Cannot find span size for pre layout position. " + viewPosition); in getSpanGroupIndex()
DLinearLayoutManager.java402 final int viewPosition = position - firstChild; in findViewByPosition() local
403 if (viewPosition >= 0 && viewPosition < childCount) { in findViewByPosition()
404 final View child = getChildAt(viewPosition); in findViewByPosition()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java398 final int viewPosition = position - firstChild; in findViewByPosition() local
399 if (viewPosition >= 0 && viewPosition < childCount) { in findViewByPosition()
400 final View child = getChildAt(viewPosition); in findViewByPosition()