Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java1296 int[] findNearestVacantArea(int pixelX, int pixelY, int spanX, int spanY, in findNearestVacantArea() argument
1298 return findNearestVacantArea(pixelX, pixelY, spanX, spanY, null, result); in findNearestVacantArea()
1316 int[] findNearestVacantArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestVacantArea() argument
1318 return findNearestVacantArea(pixelX, pixelY, minSpanX, minSpanY, spanX, spanY, null, in findNearestVacantArea()
1336 int[] findNearestArea(int pixelX, int pixelY, int spanX, int spanY, View ignoreView, in findNearestArea() argument
1338 return findNearestArea(pixelX, pixelY, spanX, spanY, in findNearestArea()
1373 int[] findNearestArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, in findNearestArea() argument
1383 pixelX -= (mCellWidth + mWidthGap) * (spanX - 1) / 2f; in findNearestArea()
1469 double distance = Math.sqrt(Math.pow(cellXY[0] - pixelX, 2) in findNearestArea()
2155 ItemConfiguration simpleSwap(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in simpleSwap() argument
[all …]
DWorkspace.java3349 private int[] findNearestArea(int pixelX, int pixelY,
3352 pixelX, pixelY, spanX, spanY, recycle);