Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DFolder.java771 int countY = mContent.getCountY(); in setupContentDimensions() local
776 int oldCountY = countY; in setupContentDimensions()
777 if (countX * countY < count) { in setupContentDimensions()
779 if ((countX <= countY || countY == mMaxCountY) && countX < mMaxCountX) { in setupContentDimensions()
781 } else if (countY < mMaxCountY) { in setupContentDimensions()
782 countY++; in setupContentDimensions()
784 if (countY == 0) countY++; in setupContentDimensions()
785 } else if ((countY - 1) * countX >= count && countY >= countX) { in setupContentDimensions()
786 countY = Math.max(0, countY - 1); in setupContentDimensions()
787 } else if ((countX - 1) * countY >= count) { in setupContentDimensions()
[all …]
DFocusHelper.java283 int countY; in handleAppsCustomizeKeyEvent() local
288 countY = ((PagedViewCellLayout) parentLayout).getCellCountY(); in handleAppsCustomizeKeyEvent()
292 countY = ((PagedViewGridLayout) parentLayout).getCellCountY(); in handleAppsCustomizeKeyEvent()
367 if (y < (countY - 1)) { in handleAppsCustomizeKeyEvent()
DCellLayout.java874 int countX, int countY, int orientation) { in getMetrics() argument
876 int numHeightGaps = countY - 1; in getMetrics()
913 int vFreeSpace = vSpace - (countY * cellHeight); in getMetrics()
1134 final int countY = mCountY; in estimateDropCell() local
1146 int bottomOverhang = result[1] + spanY - countY; in estimateDropCell()
1337 final int countY = mCountY; in findNearestArea() local
1344 for (int y = 0; y < countY - (minSpanY - 1); y++) { in findNearestArea()
1380 if (y + ySize > countY - 1 || occupied[x + i][y + ySize]) { in findNearestArea()
1470 final int countY = mCountY; in findNearestArea() local
1472 for (int y = 0; y < countY - (spanY - 1); y++) { in findNearestArea()
DAppWidgetResizeFrame.java234 int countY = mCellLayout.getCountY(); in resizeWidgetIfNeeded() local
280 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc); in resizeWidgetIfNeeded()