Searched refs:cachedBorders (Results 1 – 1 of 1) sorted by relevance
318 static int[] calculateItemBorders(int[] cachedBorders, int spanCount, int totalSpace) { in calculateItemBorders() argument319 if (cachedBorders == null || cachedBorders.length != spanCount + 1 in calculateItemBorders()320 || cachedBorders[cachedBorders.length - 1] != totalSpace) { in calculateItemBorders()321 cachedBorders = new int[spanCount + 1]; in calculateItemBorders()323 cachedBorders[0] = 0; in calculateItemBorders()336 cachedBorders[i] = consumedPixels; in calculateItemBorders()338 return cachedBorders; in calculateItemBorders()