Searched refs:pixelX (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher/src/com/android/launcher/ |
D | CellLayout.java | 559 int[] findNearestVacantArea(int pixelX, int pixelY, int spanX, int spanY, in findNearestVacantArea() argument 585 double distance = Math.sqrt(Math.pow(cellXY[0] - pixelX, 2) + in findNearestVacantArea()
|
D | Workspace.java | 975 private int[] estimateDropCell(int pixelX, int pixelY, in estimateDropCell() argument 983 return layout.findNearestVacantArea(pixelX, pixelY, spanX, spanY, mVacantCache, recycle); in estimateDropCell()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | CellLayout.java | 604 int[] findNearestVacantArea(int pixelX, int pixelY, int spanX, int spanY, in findNearestVacantArea() argument 630 double distance = Math.sqrt(Math.pow(cellXY[0] - pixelX, 2) + in findNearestVacantArea()
|
D | Workspace.java | 1173 private int[] estimateDropCell(int pixelX, int pixelY, in estimateDropCell() argument 1181 return layout.findNearestVacantArea(pixelX, pixelY, in estimateDropCell()
|