Searched refs:countY (Results 1 – 4 of 4) sorted by relevance
771 int countY = mContent.getCountY(); in setupContentDimensions() local776 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 …]
283 int countY; in handleAppsCustomizeKeyEvent() local288 countY = ((PagedViewCellLayout) parentLayout).getCellCountY(); in handleAppsCustomizeKeyEvent()292 countY = ((PagedViewGridLayout) parentLayout).getCellCountY(); in handleAppsCustomizeKeyEvent()367 if (y < (countY - 1)) { in handleAppsCustomizeKeyEvent()
874 int countX, int countY, int orientation) { in getMetrics() argument876 int numHeightGaps = countY - 1; in getMetrics()913 int vFreeSpace = vSpace - (countY * cellHeight); in getMetrics()1134 final int countY = mCountY; in estimateDropCell() local1146 int bottomOverhang = result[1] + spanY - countY; in estimateDropCell()1337 final int countY = mCountY; in findNearestArea() local1344 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() local1472 for (int y = 0; y < countY - (spanY - 1); y++) { in findNearestArea()
234 int countY = mCellLayout.getCountY(); in resizeWidgetIfNeeded() local280 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc); in resizeWidgetIfNeeded()