Searched refs:gridCountX (Results 1 – 1 of 1) sorted by relevance
121 int gridCountX = countX; in calculateGridSize() local125 gridCountX = maxCountX; in calculateGridSize()133 int oldCountX = gridCountX; in calculateGridSize()135 if (gridCountX * gridCountY < count) { in calculateGridSize()137 if ((gridCountX <= gridCountY || gridCountY == maxCountY) in calculateGridSize()138 && gridCountX < maxCountX) { in calculateGridSize()139 gridCountX++; in calculateGridSize()144 } else if ((gridCountY - 1) * gridCountX >= count && gridCountY >= gridCountX) { in calculateGridSize()146 } else if ((gridCountX - 1) * gridCountY >= count) { in calculateGridSize()147 gridCountX = Math.max(0, gridCountX - 1); in calculateGridSize()[all …]