Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DGridOccupancy.java17 public GridOccupancy(int countX, int countY) { in GridOccupancy() argument
19 mCountY = countY; 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/model/
DLoaderCursor.java429 final int countY = mIDP.numRows; 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()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java564 public static int calculateCellHeight(int height, int countY) { in calculateCellHeight() argument
565 return height / countY; in calculateCellHeight()
DCellLayout.java1112 final int countY = mCountY; in findNearestArea() local
1119 for (int y = 0; y < countY - (minSpanY - 1); y++) { in findNearestArea()
1155 if (y + ySize > countY - 1 || mOccupied.cells[x + i][y + ySize]) { in findNearestArea()
1240 final int countY = mCountY; in findNearestArea() local
1242 for (int y = 0; y < countY - (spanY - 1); y++) { in findNearestArea()
DShortcutAndWidgetContainer.java57 public void setCellDimensions(int cellWidth, int cellHeight, int countX, int countY) { in setCellDimensions() argument