/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/ |
D | GridOccupancyTest.java | 47 assertTrue(grid.isRegionVacant(4, 0, 1, 4)); in testIsRegionVacant() 48 assertTrue(grid.isRegionVacant(0, 1, 2, 2)); in testIsRegionVacant() 49 assertTrue(grid.isRegionVacant(2, 2, 3, 2)); in testIsRegionVacant() 51 assertFalse(grid.isRegionVacant(3, 0, 2, 4)); in testIsRegionVacant() 52 assertFalse(grid.isRegionVacant(0, 0, 2, 1)); in testIsRegionVacant()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | LauncherAccessibilityDelegate.java | 273 if (layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY) || in getSupportedResizeActions() 274 layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) { in getSupportedResizeActions() 284 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) || in getSupportedResizeActions() 285 layout.isRegionVacant(info.cellX, info.cellY - 1, info.spanX, 1)) { in getSupportedResizeActions() 303 && layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) in performResizeAction() 304 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) { in performResizeAction() 314 if (!layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1)) { in performResizeAction()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | AddWorkspaceItemsTaskTest.java | 77 .isRegionVacant(spaceFound[1], spaceFound[2], 1, 1)); in testFindSpaceForItem_prefers_second() 84 .isRegionVacant(spaceFound[1], spaceFound[2], 2, 3)); in testFindSpaceForItem_prefers_second()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | 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)) {
|
D | LoaderCursor.java | 452 if (occupancy.isRegionVacant(item.cellX, item.cellY, item.spanX, item.spanY)) { in checkItemPlacement()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | GridOccupancy.java | 61 public boolean isRegionVacant(int x, int y, int spanX, int spanY) { in isRegionVacant() method in GridOccupancy
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 2766 public boolean isRegionVacant(int x, int y, int spanX, int spanY) { in isRegionVacant() method in CellLayout 2767 return mOccupied.isRegionVacant(x, y, spanX, spanY); in isRegionVacant()
|
D | Workspace.java | 1832 .isRegionVacant(mTargetCell[0], mTargetCell[1], spanX, spanY); in onDrop()
|