Lines Matching refs:vacant

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 area that can contain this object,
1323 * Find a vacant area that will fit the given bounds nearest the requested
1324 * cell location. Uses Euclidean distance to score multiple vacant areas.
1326 * @param pixelX The X location at which you want to search for a vacant area.
1327 * @param pixelY The Y location at which you want to search for a vacant area.
1333 * @return The X, Y cell of a vacant area that can contain this object,
1358 * Find a vacant area that will fit the given bounds nearest the requested
1359 * cell location. Uses Euclidean distance to score multiple vacant areas.
1361 * @param pixelX The X location at which you want to search for a vacant area.
1362 * @param pixelY The Y location at which you want to search for a vacant area.
1370 * @return The X, Y cell of a vacant area that can contain this object,
1498 * Find a vacant area that will fit the given bounds nearest the requested
1503 * @param cellX The X cell nearest to which you want to search for a vacant area.
1504 * @param cellY The Y cell nearest which you want to search for a vacant area.
1515 * @return The X, Y cell of a vacant area that can contain this object,
2736 * Find a vacant area that will fit the given bounds nearest the requested
2737 * cell location. Uses Euclidean distance to score multiple vacant areas.
2739 * @param pixelX The X location at which you want to search for a vacant area.
2740 * @param pixelY The Y location at which you want to search for a vacant area.
2745 * @return The X, Y cell of a vacant area that can contain this object,
2754 * Find a vacant area that will fit the given bounds nearest the requested
2755 * cell location. Uses Euclidean distance to score multiple vacant areas.
2757 * @param pixelX The X location at which you want to search for a vacant area.
2758 * @param pixelY The Y location at which you want to search for a vacant area.
2765 * @return The X, Y cell of a vacant area that can contain this object,
2776 * cell location. Uses Euclidean distance to score multiple vacant areas.
2778 * @param pixelX The X location at which you want to search for a vacant area.
2779 * @param pixelY The Y location at which you want to search for a vacant area.
2784 * @return The X, Y cell of a vacant area that can contain this object,
2802 * @param cellXY The array that will contain the position of a vacant cell if such a cell
2807 * @return True if a vacant cell of the specified dimension was found, false otherwise.
2816 * @param cellXY The array that will contain the position of a vacant cell if such a cell
2838 * @return True if a vacant cell of the specified dimension was found, false otherwise.
3044 * Find the first vacant cell, if there is one.
3046 * @param vacant Holds the x and y coordinate of the vacant cell
3050 * @return True if a vacant cell was found
3052 public boolean getVacantCell(int[] vacant, int spanX, int spanY) {
3054 return findVacantCell(vacant, spanX, spanY, mCountX, mCountY, mOccupied);
3057 static boolean findVacantCell(int[] vacant, int spanX, int spanY,
3071 vacant[0] = x;
3072 vacant[1] = y;