Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderGridOrganizer.java94 int gridCountY = mCountY; in calculateGridSize() local
98 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 …]