Searched refs:isRegionVacant (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | GridOccupancyTest.java | 50 assertTrue(grid.isRegionVacant(4, 0, 1, 4)); in testIsRegionVacant() 51 assertTrue(grid.isRegionVacant(0, 1, 2, 2)); in testIsRegionVacant() 52 assertTrue(grid.isRegionVacant(2, 2, 3, 2)); in testIsRegionVacant() 54 assertFalse(grid.isRegionVacant(3, 0, 2, 4)); in testIsRegionVacant() 55 assertFalse(grid.isRegionVacant(0, 0, 2, 1)); in testIsRegionVacant()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | LauncherAccessibilityDelegate.java | 229 if (layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY) || in getSupportedResizeActions() 230 layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) { in getSupportedResizeActions() 248 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) || in getSupportedResizeActions() 249 layout.isRegionVacant(info.cellX, info.cellY - 1, info.spanX, 1)) { in getSupportedResizeActions() 275 && layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) in performResizeAction() 276 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) { in performResizeAction() 286 if (!layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1)) { in performResizeAction()
|
/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/tests/src/com/android/launcher3/model/ |
D | WorkspaceItemSpaceFinderTest.kt | 58 mScreenOccupancy[newItemSpace.screenId].isRegionVacant( in assertRegionVacant()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridSizeMigrationUtil.java | 385 boolean fits = occupied.isRegionVacant(x, y, entry.spanX, entry.spanY); in findPlacementForEntry() 386 boolean minFits = occupied.isRegionVacant(x, y, entry.minSpanX, in findPlacementForEntry()
|
D | LoaderCursor.java | 571 if (occupancy.isRegionVacant(item.cellX, item.cellY, item.spanX, item.spanY)) { in checkItemPlacement()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ModelCallbacks.kt | 299 if (cl?.isRegionVacant(0, 0, spanX, 1) != true) { in <lambda>()
|
D | CellLayout.java | 1938 public boolean isRegionVacant(int x, int y, int spanX, int spanY) { in isRegionVacant() method in CellLayout 1939 return mOccupied.isRegionVacant(x, y, spanX, spanY); in isRegionVacant()
|
D | Workspace.java | 2068 .isRegionVacant(mTargetCell[0], mTargetCell[1], spanX, spanY); in onDrop()
|