Searched refs:totalSpace (Results 1 – 1 of 1) sorted by relevance
273 int totalSpace; in updateMeasurements() local275 totalSpace = getWidth() - getPaddingRight() - getPaddingLeft(); in updateMeasurements()277 totalSpace = getHeight() - getPaddingBottom() - getPaddingTop(); in updateMeasurements()279 calculateItemBorders(totalSpace); in updateMeasurements()307 private void calculateItemBorders(int totalSpace) { in calculateItemBorders() argument308 mCachedBorders = calculateItemBorders(mCachedBorders, mSpanCount, totalSpace); in calculateItemBorders()318 static int[] calculateItemBorders(int[] cachedBorders, int spanCount, int totalSpace) { in calculateItemBorders() argument320 || cachedBorders[cachedBorders.length - 1] != totalSpace) { in calculateItemBorders()324 int sizePerSpan = totalSpace / spanCount; in calculateItemBorders()325 int sizePerSpanRemainder = totalSpace % spanCount; in calculateItemBorders()