Searched refs:countY (Results 1 - 11 of 11) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | GridOccupancy.java | 17 public GridOccupancy(int countX, int countY) { argument 19 mCountY = countY; 20 cells = new boolean[countX][countY];
|
H A D | FocusLogic.java | 503 private static boolean isValid(int xPos, int yPos, int countX, int countY) { argument 504 return (0 <= xPos && xPos < countX && 0 <= yPos && yPos < countY);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | Folder.java | 765 int countY = mContent.getCountY(); 770 int oldCountY = countY; 771 if (countX * countY < count) { 773 if ((countX <= countY || countY == mMaxCountY) && countX < mMaxCountX) { 775 } else if (countY < mMaxCountY) { 776 countY++; 778 if (countY == 0) countY++; 779 } else if ((countY [all...] |
H A D | FocusHelper.java | 283 int countY; 288 countY = ((PagedViewCellLayout) parentLayout).getCellCountY(); 292 countY = ((PagedViewGridLayout) parentLayout).getCellCountY(); 367 if (y < (countY - 1)) {
|
H A D | AppWidgetResizeFrame.java | 242 int countY = mCellLayout.getCountY(); 288 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc);
|
H A D | CellLayout.java | 929 int countX, int countY, int orientation) { 931 int numHeightGaps = countY - 1; 968 int vFreeSpace = vSpace - (countY * cellHeight); 1190 final int countY = mCountY; 1202 int bottomOverhang = result[1] + spanY - countY; 1393 final int countY = mCountY; 1400 for (int y = 0; y < countY - (minSpanY - 1); y++) { 1436 if (y + ySize > countY - 1 || occupied[x + i][y + ySize]) { 1526 final int countY = mCountY; 1528 for (int y = 0; y < countY 928 getMetrics(Rect metrics, Resources res, int measureWidth, int measureHeight, int countX, int countY, int orientation) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
H A D | LoaderCursor.java | 437 final int countY = mIDP.numRows; 440 item.cellX + item.spanX > countX || item.cellY + item.spanY > countY) { 444 + ") out of screen bounds ( " + countX + "x" + countY + ")"); 449 GridOccupancy screen = new GridOccupancy(countX + 1, countY + 1);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | ShortcutAndWidgetContainer.java | 56 public void setCellDimensions(int cellWidth, int cellHeight, int countX, int countY) { argument
|
H A D | DeviceProfile.java | 512 public static int calculateCellHeight(int height, int countY) { argument 513 return height / countY;
|
H A D | CellLayout.java | 1080 final int countY = mCountY; 1087 for (int y = 0; y < countY - (minSpanY - 1); y++) { 1123 if (y + ySize > countY - 1 || mOccupied.cells[x + i][y + ySize]) { 1208 final int countY = mCountY; 1210 for (int y = 0; y < countY - (spanY - 1); y++) {
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
H A D | FolderPagedView.java | 115 * The grid size is calculated such that countY <= countX and countX = ceil(sqrt(count)) while 118 public static void calculateGridSize(int count, int countX, int countY, int maxCountX, argument 122 int gridCountY = countY;
|
Completed in 342 milliseconds