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/
DFolderGridOrganizer.java93 int gridCountX = mCountX; in calculateGridSize() local
97 gridCountX = mMaxCountX; in calculateGridSize()
105 int oldCountX = gridCountX; in calculateGridSize()
107 if (gridCountX * gridCountY < count) { in calculateGridSize()
109 if ((gridCountX <= gridCountY || gridCountY == mMaxCountY) in calculateGridSize()
110 && gridCountX < mMaxCountX) { in calculateGridSize()
111 gridCountX++; in calculateGridSize()
116 } else if ((gridCountY - 1) * gridCountX >= count && gridCountY >= gridCountX) { in calculateGridSize()
118 } else if ((gridCountX - 1) * gridCountY >= count) { in calculateGridSize()
119 gridCountX = Math.max(0, gridCountX - 1); in calculateGridSize()
[all …]