Searched refs:cellXY (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 261 final int[] cellXY = mTmpCellXY; in layoutChild() local 262 getLocationOnScreen(cellXY); in layoutChild() 265 cellXY[0] + childLeft + lp.width / 2, in layoutChild() 266 cellXY[1] + childTop + lp.height / 2, 0, null); in layoutChild()
|
D | CellLayout.java | 1314 final int[] cellXY = mTmpPoint; in findNearestArea() local 1315 cellToCenterPoint(x, y, cellXY); in findNearestArea() 1329 double distance = Math.hypot(cellXY[0] - relativeXPos, cellXY[1] - relativeYPos); in findNearestArea() 1734 public boolean findCellForSpan(int[] cellXY, int spanX, int spanY) { in findCellForSpan() argument 1735 if (cellXY == null) { in findCellForSpan() 1736 cellXY = new int[2]; in findCellForSpan() 1738 return mOccupied.findVacantCell(cellXY, spanX, spanY); in findCellForSpan()
|
D | Launcher.java | 1427 int[] cellXY = mTmpAddItemCellCoordinates; 1443 cellXY[0] = cellX; 1444 cellXY[1] = cellY; 1450 if (mWorkspace.createUserFolderIfNecessary(view, container, layout, cellXY, 0, 1454 if (mWorkspace.addToExistingFolderIfNecessary(view, layout, cellXY, 0, dragObject, 1459 foundCellSpan = layout.findCellForSpan(cellXY, 1, 1); 1467 getModelWriter().addItemToDatabase(info, container, screenId, cellXY[0], cellXY[1]);
|