Searched refs:vacant (Results 1 - 2 of 2) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolder.java863 int[] vacant = new int[2];
871 mContent.getVacantCell(vacant, 1, 1);
873 lp.cellX = vacant[0];
874 lp.cellY = vacant[1];
876 if (info.cellX != vacant[0] || info.cellY != vacant[1]) {
877 info.cellX = vacant[0];
878 info.cellY = vacant[1];
H A DCellLayout.java1133 * Find a vacant area that will fit the given bounds nearest the requested
1134 * cell location. Uses Euclidean distance to score multiple vacant areas.
1136 * @param pixelX The X location at which you want to search for a vacant area.
1137 * @param pixelY The Y location at which you want to search for a vacant area.
1142 * @return The X, Y cell of a vacant area that can contain this object,
1151 * Find a vacant area that will fit the given bounds nearest the requested
1152 * cell location. Uses Euclidean distance to score multiple vacant areas.
1154 * @param pixelX The X location at which you want to search for a vacant area.
1155 * @param pixelY The Y location at which you want to search for a vacant area.
1161 * @return The X, Y cell of a vacant are
1526 getVacantCell(int[] vacant, int spanX, int spanY) argument
1531 findVacantCell(int[] vacant, int spanX, int spanY, int xCount, int yCount, boolean[][] occupied) argument
[all...]

Completed in 118 milliseconds