Lines Matching refs:vacant
1228 * Find a vacant area that will fit the given bounds nearest the requested
1229 * cell location. Uses Euclidean distance to score multiple vacant areas.
1231 * @param pixelX The X location at which you want to search for a vacant area.
1232 * @param pixelY The Y location at which you want to search for a vacant area.
1237 * @return The X, Y cell of a vacant area that can contain this object,
1246 * Find a vacant
1247 * cell location. Uses Euclidean distance to score multiple vacant areas.
1249 * @param pixelX The X location at which you want to search for a vacant area.
1250 * @param pixelY The Y location at which you want to search for a vacant area.
1257 * @return The X, Y cell of a vacant area that can contain this object,
1267 * Find a vacant area that will fit the given bounds nearest the requested
1268 * cell location. Uses Euclidean distance to score multiple vacant areas.
1270 * @param pixelX The X location at which you want to search for a vacant area.
1271 * @param pixelY The Y location at which you want to search for a vacant area.
1277 * @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.
1314 * @return The X, Y cell of a vacant area that can contain this object,
1442 * Find a vacant area that will fit the given bounds nearest the requested
1447 * @param cellX The X cell nearest to which you want to search for a vacant area.
1448 * @param cellY The Y cell nearest which you want to search for a vacant area.
1459 * @return The X, Y cell of a vacant area that can contain this object,
2425 * Find a vacant area that will fit the given bounds nearest the requested
2426 * cell location. Uses Euclidean distance to score multiple vacant areas.
2428 * @param pixelX The X location at which you want to search for a vacant area.
2429 * @param pixelY The Y location at which you want to search for a vacant area.
2434 * @return The X, Y cell of a vacant area that can contain this object,
2443 * Find a vacant area that will fit the given bounds nearest the requested
2444 * cell location. Uses Euclidean distance to score multiple vacant areas.
2446 * @param pixelX The X location at which you want to search for a vacant area.
2447 * @param pixelY The Y location at which you want to search for a vacant area.
2454 * @return The X, Y cell of a vacant area that can contain this object,
2465 * cell location. Uses Euclidean distance to score multiple vacant areas.
2467 * @param pixelX The X location at which you want to search for a vacant area.
2468 * @param pixelY The Y location at which you want to search for a vacant area.
2473 * @return The X, Y cell of a vacant area that can contain this object,
2491 * @param cellXY The array that will contain the position of a vacant cell if such a cell
2496 * @return True if a vacant cell of the specified dimension was found, false otherwise.
2505 * @param cellXY The array that will contain the position of a vacant cell if such a cell
2527 * @return True if a vacant cell of the specified dimension was found, false otherwise.
2733 * Find the first vacant cell, if there is one.
2735 * @param vacant Holds the x and y coordinate of the vacant cell
2739 * @return True if a vacant cell was found
2741 public boolean getVacantCell(int[] vacant, int spanX, int spanY) {
2743 return findVacantCell(vacant, spanX, spanY, mCountX, mCountY, mOccupied);
2746 static boolean findVacantCell(int[] vacant, int spanX, int spanY,
2760 vacant[0] = x;
2761 vacant[1] = y;