Searched refs:gridCountY (Results 1 – 1 of 1) sorted by relevance
94 int gridCountY = mCountY; in calculateGridSize() local98 gridCountY = mMaxCountY; in calculateGridSize()106 int oldCountY = gridCountY; in calculateGridSize()107 if (gridCountX * gridCountY < count) { in calculateGridSize()109 if ((gridCountX <= gridCountY || gridCountY == mMaxCountY) in calculateGridSize()112 } else if (gridCountY < mMaxCountY) { in calculateGridSize()113 gridCountY++; in calculateGridSize()115 if (gridCountY == 0) gridCountY++; in calculateGridSize()116 } else if ((gridCountY - 1) * gridCountX >= count && gridCountY >= gridCountX) { in calculateGridSize()117 gridCountY = Math.max(0, gridCountY - 1); in calculateGridSize()[all …]