Home
last modified time | relevance | path

Searched refs:pixelX (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher/src/com/android/launcher/
DCellLayout.java559 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()
DWorkspace.java975 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/
DCellLayout.java604 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()
DWorkspace.java1173 private int[] estimateDropCell(int pixelX, int pixelY, in estimateDropCell() argument
1181 return layout.findNearestVacantArea(pixelX, pixelY, in estimateDropCell()