HomeSort by relevance Sort by last modified time
    Searched refs:isRegionVacant (Results 1 - 8 of 8) sorted by null

  /packages/apps/Launcher3/tests/src/com/android/launcher3/util/
GridOccupancyTest.java 50 assertTrue(grid.isRegionVacant(4, 0, 1, 4));
51 assertTrue(grid.isRegionVacant(0, 1, 2, 2));
52 assertTrue(grid.isRegionVacant(2, 2, 3, 2));
54 assertFalse(grid.isRegionVacant(3, 0, 2, 4));
55 assertFalse(grid.isRegionVacant(0, 0, 2, 1));
  /packages/apps/Launcher3/src/com/android/launcher3/accessibility/
LauncherAccessibilityDelegate.java 255 if (layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY) ||
256 layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) {
266 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) ||
267 layout.isRegionVacant(info.cellX, info.cellY - 1, info.spanX, 1)) {
285 && layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY))
286 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) {
296 if (!layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1)) {
  /packages/apps/Launcher3/src/com/android/launcher3/util/
GridOccupancy.java 61 public boolean isRegionVacant(int x, int y, int spanX, int spanY) {
  /packages/apps/Launcher3/tests/src/com/android/launcher3/model/
AddWorkspaceItemsTaskTest.java 81 .isRegionVacant(spaceFound.second[0], spaceFound.second[1], 1, 1));
88 .isRegionVacant(spaceFound.second[0], spaceFound.second[1], 2, 3));
  /packages/apps/Launcher3/src/com/android/launcher3/model/
GridSizeMigrationTask.java 496 if (occupied.isRegionVacant(x, y, myW, myH)) {
504 if (myW > me.minSpanX && occupied.isRegionVacant(x, y, myW - 1, myH)) {
514 if (myH > me.minSpanY && occupied.isRegionVacant(x, y, myW, myH - 1)) {
525 occupied.isRegionVacant(x, y, myW - 1, myH - 1)) {
    [all...]
LoaderCursor.java 460 if (occupancy.isRegionVacant(item.cellX, item.cellY, item.spanX, item.spanY)) {
  /packages/apps/Launcher3/src/com/android/launcher3/
CellLayout.java     [all...]
Workspace.java     [all...]

Completed in 5394 milliseconds