Searched refs:spanSize (Results 1 – 2 of 2) sorted by relevance
74 int spanSize = 500; in garbageCollectOldSpans() local76 (int) (MAX_BATTERY_STATS_SNAPSHOT_STORAGE_BYTES / spanSize); in garbageCollectOldSpans()79 span.addSection(new TestSection(i, spanSize)); in garbageCollectOldSpans()
341 int getSpaceForSpanRange(int startSpan, int spanSize) { in getSpaceForSpanRange() argument344 - mCachedBorders[mSpanCount - startSpan - spanSize]; in getSpaceForSpanRange()346 return mCachedBorders[startSpan + spanSize] - mCachedBorders[startSpan]; in getSpaceForSpanRange()513 final int spanSize = mSpanSizeLookup.getSpanSize(pos); in collectPrefetchPositionsForLayoutState() local514 remainingSpan -= spanSize; in collectPrefetchPositionsForLayoutState()544 final int spanSize = getSpanSize(recycler, state, pos); in layoutChunk() local545 if (spanSize > mSpanCount) { in layoutChunk()547 + spanSize + " spans but GridLayoutManager has only " + mSpanCount in layoutChunk()550 remainingSpan -= spanSize; in layoutChunk()558 consumedSpanCount += spanSize; in layoutChunk()