Searched refs:countX (Results 1 – 4 of 4) sorted by relevance
343 final int countX = mContent.getCountX(); in placeInReadingOrder() local345 int x = i % countX; in placeInReadingOrder()346 int y = i / countX; in placeInReadingOrder()770 int countX = mContent.getCountX(); in setupContentDimensions() local775 int oldCountX = countX; in setupContentDimensions()777 if (countX * countY < count) { in setupContentDimensions()779 if ((countX <= countY || countY == mMaxCountY) && countX < mMaxCountX) { in setupContentDimensions()780 countX++; in setupContentDimensions()785 } else if ((countY - 1) * countX >= count && countY >= countX) { in setupContentDimensions()787 } else if ((countX - 1) * countY >= count) { in setupContentDimensions()[all …]
282 int countX; in handleAppsCustomizeKeyEvent() local287 countX = ((PagedViewCellLayout) parentLayout).getCellCountX(); in handleAppsCustomizeKeyEvent()291 countX = ((PagedViewGridLayout) parentLayout).getCellCountX(); in handleAppsCustomizeKeyEvent()305 final int x = iconIndex % countX; in handleAppsCustomizeKeyEvent()306 final int y = iconIndex / countX; in handleAppsCustomizeKeyEvent()356 int newiconIndex = ((y - 1) * countX) + x; in handleAppsCustomizeKeyEvent()368 int newiconIndex = Math.min(itemCount - 1, ((y + 1) * countX) + x); in handleAppsCustomizeKeyEvent()
919 int countX, int countY, int orientation) { in getMetrics() argument920 int numWidthGaps = countX - 1; in getMetrics()957 int hFreeSpace = hSpace - (countX * cellWidth); in getMetrics()1178 final int countX = mCountX; in estimateDropCell() local1186 int rightOverhang = result[0] + spanX - countX; in estimateDropCell()1381 final int countX = mCountX; in findNearestArea() local1391 for (int x = 0; x < countX - (minSpanX - 1); x++) { in findNearestArea()1415 if (x + xSize > countX -1 || occupied[x + xSize][y + j]) { in findNearestArea()1514 final int countX = mCountX; in findNearestArea() local1519 for (int x = 0; x < countX - (spanX - 1); x++) { in findNearestArea()
241 int countX = mCellLayout.getCountX(); in resizeWidgetIfNeeded() local275 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc); in resizeWidgetIfNeeded()