Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java342 int getSpaceForSpanRange(int startSpan, int spanSize) { in getSpaceForSpanRange() argument
345 - mCachedBorders[mSpanCount - startSpan - spanSize]; in getSpaceForSpanRange()
347 return mCachedBorders[startSpan + spanSize] - mCachedBorders[startSpan]; in getSpaceForSpanRange()
515 final int spanSize = mSpanSizeLookup.getSpanSize(pos); in collectPrefetchPositionsForLayoutState() local
516 remainingSpan -= spanSize; in collectPrefetchPositionsForLayoutState()
546 final int spanSize = getSpanSize(recycler, state, pos); in layoutChunk() local
547 if (spanSize > mSpanCount) { in layoutChunk()
549 + spanSize + " spans but GridLayoutManager has only " + mSpanCount in layoutChunk()
552 remainingSpan -= spanSize; in layoutChunk()
560 consumedSpanCount += spanSize; in layoutChunk()