Home
last modified time | relevance | path

Searched refs:gridCountX (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java121 int gridCountX = countX; in calculateGridSize() local
125 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 …]