Home
last modified time | relevance | path

Searched refs:pixelY (Results 1 – 5 of 5) 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
1384 pixelY -= (mCellHeight + mHeightGap) * (spanY - 1) / 2f; in findNearestArea()
1470 + Math.pow(cellXY[1] - pixelY, 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);
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java1156 int[] findNearestVacantArea(int pixelX, int pixelY, int spanX, int spanY, int[] result) { in findNearestVacantArea() argument
1157 return findNearestVacantArea(pixelX, pixelY, spanX, spanY, spanX, spanY, result, null); in findNearestVacantArea()
1175 int[] findNearestVacantArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestVacantArea() argument
1177 return findNearestArea(pixelX, pixelY, minSpanX, minSpanY, spanX, spanY, true, in findNearestVacantArea()
1212 private int[] findNearestArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestArea() argument
1220 pixelY -= (mCellHeight + mHeightGap) * (spanY - 1) / 2f; in findNearestArea()
1305 double distance = Math.hypot(cellXY[0] - pixelX, cellXY[1] - pixelY); in findNearestArea()
1989 … private ItemConfiguration findReorderSolution(int pixelX, int pixelY, int minSpanX, int minSpanY, in findReorderSolution() argument
2001 result = findNearestArea(pixelX, pixelY, spanX, spanY, result); in findReorderSolution()
2013 return findReorderSolution(pixelX, pixelY, minSpanX, minSpanY, spanX - 1, spanY, in findReorderSolution()
[all …]
DFolderPagedView.java384 public int findNearestArea(int pixelX, int pixelY) { in findNearestArea() argument
387 page.findNearestArea(pixelX, pixelY, 1, 1, sTempPosArray); in findNearestArea()
DWorkspace.java3848 @Thunk int[] findNearestArea(int pixelX, int pixelY,
3851 pixelX, pixelY, spanX, spanY, recycle);