Searched refs:vacant (Results 1 - 3 of 3) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | Folder.java | 885 int[] vacant = new int[2]; 893 mContent.getVacantCell(vacant, 1, 1); 895 lp.cellX = vacant[0]; 896 lp.cellY = vacant[1]; 898 if (info.cellX != vacant[0] || info.cellY != vacant[1]) { 899 info.cellX = vacant[0]; 900 info.cellY = vacant[1];
|
H A D | CellLayout.java | 1284 * Find a vacant area that will fit the given bounds nearest the requested 1285 * cell location. Uses Euclidean distance to score multiple vacant areas. 1287 * @param pixelX The X location at which you want to search for a vacant area. 1288 * @param pixelY The Y location at which you want to search for a vacant area. 1293 * @return The X, Y cell of a vacant area that can contain this object, 1302 * Find a vacant area that will fit the given bounds nearest the requested 1303 * cell location. Uses Euclidean distance to score multiple vacant areas. 1305 * @param pixelX The X location at which you want to search for a vacant area. 1306 * @param pixelY The Y location at which you want to search for a vacant area. 1313 * @return The X, Y cell of a vacant are 3052 getVacantCell(int[] vacant, int spanX, int spanY) argument 3057 findVacantCell(int[] vacant, int spanX, int spanY, int xCount, int yCount, boolean[][] occupied) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | Utilities.java | 582 * Find the first vacant cell, if there is one. 584 * @param vacant Holds the x and y coordinate of the vacant cell 588 * @return true if a vacant cell was found 590 public static boolean findVacantCell(int[] vacant, int spanX, int spanY, argument 604 vacant[0] = x; 605 vacant[1] = y;
|
Completed in 485 milliseconds