Searched refs:gridCountY (Results 1 – 1 of 1) sorted by relevance
96 int gridCountY = mCountY; in calculateGridSize() local100 gridCountY = mMaxCountY; in calculateGridSize()108 int oldCountY = gridCountY; in calculateGridSize()109 if (gridCountX * gridCountY < count) { in calculateGridSize()111 if ((gridCountX <= gridCountY || gridCountY == mMaxCountY) in calculateGridSize()114 } else if (gridCountY < mMaxCountY) { in calculateGridSize()115 gridCountY++; in calculateGridSize()117 if (gridCountY == 0) gridCountY++; in calculateGridSize()118 } else if ((gridCountY - 1) * gridCountX >= count && gridCountY >= gridCountX) { in calculateGridSize()119 gridCountY = Math.max(0, gridCountY - 1); in calculateGridSize()[all …]