Searched refs:cellXY (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 169 final int[] cellXY = mTmpCellXY; in onLayout() local 170 getLocationOnScreen(cellXY); in onLayout() 173 cellXY[0] + childLeft + lp.width / 2, in onLayout() 174 cellXY[1] + childTop + lp.height / 2, 0, null); in onLayout()
|
D | Launcher.java | 1152 int[] cellXY = mTmpAddItemCellCoordinates; in completeAddShortcut() local 1183 cellXY[0] = cellX; in completeAddShortcut() 1184 cellXY[1] = cellY; in completeAddShortcut() 1188 if (mWorkspace.createUserFolderIfNecessary(view, container, layout, cellXY, 0, in completeAddShortcut() 1194 if (mWorkspace.addToExistingFolderIfNecessary(view, layout, cellXY, 0, dragObject, in completeAddShortcut() 1199 foundCellSpan = layout.findCellForSpan(cellXY, 1, 1); in completeAddShortcut() 1207 getModelWriter().addItemToDatabase(info, container, screenId, cellXY[0], cellXY[1]); in completeAddShortcut()
|
D | CellLayout.java | 1172 final int[] cellXY = mTmpPoint; in findNearestArea() local 1173 cellToCenterPoint(x, y, cellXY); in findNearestArea() 1188 double distance = Math.hypot(cellXY[0] - pixelX, cellXY[1] - pixelY); in findNearestArea() 2468 public boolean findCellForSpan(int[] cellXY, int spanX, int spanY) { in findCellForSpan() argument 2469 if (cellXY == null) { in findCellForSpan() 2470 cellXY = new int[2]; in findCellForSpan() 2472 return mOccupied.findVacantCell(cellXY, spanX, spanY); in findCellForSpan()
|