Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DGridOccupancy.java17 public GridOccupancy(int countX, int countY) { in GridOccupancy() argument
18 mCountX = countX; in GridOccupancy()
20 cells = new boolean[countX][countY]; in GridOccupancy()
DFocusLogic.java476 private static boolean isValid(int xPos, int yPos, int countX, int countY) {
477 return (0 <= xPos && xPos < countX && 0 <= yPos && yPos < countY);
/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java540 int countX = cellLayout.getCountX(); in getFirstFocusableIconInReadingOrder() local
543 for (int x = isRtl ? countX - 1 : 0; 0 <= x && x < countX; x += increment) { in getFirstFocusableIconInReadingOrder()
555 int countX = cellLayout.getCountX(); in getFirstFocusableIconInReverseReadingOrder() local
558 for (int x = isRtl ? 0 : countX - 1; 0 <= x && x < countX; x += increment) { in getFirstFocusableIconInReverseReadingOrder()
DShortcutAndWidgetContainer.java57 public void setCellDimensions(int cellWidth, int cellHeight, int countX, int countY) { in setCellDimensions() argument
60 mCountX = countX; in setCellDimensions()
DDeviceProfile.java528 public static int calculateCellWidth(int width, int countX) { in calculateCellWidth() argument
529 return width / countX; in calculateCellWidth()
DCellLayout.java1111 final int countX = mCountX; in findNearestArea() local
1121 for (int x = 0; x < countX - (minSpanX - 1); x++) { in findNearestArea()
1145 if (x + xSize > countX -1 || mOccupied.cells[x + xSize][y + j]) { in findNearestArea()
1239 final int countX = mCountX; in findNearestArea() local
1244 for (int x = 0; x < countX - (spanX - 1); x++) { in findNearestArea()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java428 final int countX = mIDP.numColumns; in checkItemPlacement() local
432 item.cellX + item.spanX > countX || item.cellY + item.spanY > countY) { in checkItemPlacement()
436 + ") out of screen bounds ( " + countX + "x" + countY + ")"); in checkItemPlacement()
441 GridOccupancy screen = new GridOccupancy(countX + 1, countY + 1); in checkItemPlacement()
445 screen.markCells(0, 0, countX + 1, 1, FeatureFlags.QSB_ON_FIRST_SCREEN); in checkItemPlacement()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java118 public static void calculateGridSize(int count, int countX, int countY, int maxCountX, in calculateGridSize() argument
121 int gridCountX = countX; in calculateGridSize()