Home
last modified time | relevance | path

Searched refs:pixelY (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java1121 int[] findNearestVacantArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestVacantArea() argument
1123 return findNearestArea(pixelX, pixelY, minSpanX, minSpanY, spanX, spanY, true, in findNearestVacantArea()
1158 private int[] findNearestArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestArea() argument
1166 pixelY -= mCellHeight * (spanY - 1) / 2f; in findNearestArea()
1251 double distance = Math.hypot(cellXY[0] - pixelX, cellXY[1] - pixelY); in findNearestArea()
1863 … private ItemConfiguration findReorderSolution(int pixelX, int pixelY, int minSpanX, int minSpanY, in findReorderSolution() argument
1875 result = findNearestArea(pixelX, pixelY, spanX, spanY, result); in findReorderSolution()
1887 return findReorderSolution(pixelX, pixelY, minSpanX, minSpanY, spanX - 1, spanY, in findReorderSolution()
1890 return findReorderSolution(pixelX, pixelY, minSpanX, minSpanY, spanX, spanY - 1, in findReorderSolution()
2195 …private ItemConfiguration findConfigurationNoShuffle(int pixelX, int pixelY, int minSpanX, int min… in findConfigurationNoShuffle() argument
[all …]
DWorkspace.java2774 @Thunk int[] findNearestArea(int pixelX, int pixelY,
2777 pixelX, pixelY, spanX, spanY, recycle);
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java363 public int findNearestArea(int pixelX, int pixelY) { in findNearestArea() argument
366 page.findNearestArea(pixelX, pixelY, 1, 1, sTmpArray); in findNearestArea()