Searched refs:gridCountX (Results 1 – 1 of 1) sorted by relevance
95 int gridCountX = mCountX; in calculateGridSize() local99 gridCountX = mMaxCountX; in calculateGridSize()107 int oldCountX = gridCountX; in calculateGridSize()109 if (gridCountX * gridCountY < count) { in calculateGridSize()111 if ((gridCountX <= gridCountY || gridCountY == mMaxCountY) in calculateGridSize()112 && gridCountX < mMaxCountX) { in calculateGridSize()113 gridCountX++; in calculateGridSize()118 } else if ((gridCountY - 1) * gridCountX >= count && gridCountY >= gridCountX) { in calculateGridSize()120 } else if ((gridCountX - 1) * gridCountY >= count) { in calculateGridSize()121 gridCountX = Math.max(0, gridCountX - 1); in calculateGridSize()[all …]