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.java1058 int[] findNearestVacantArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestVacantArea() argument
1060 return findNearestArea(pixelX, pixelY, minSpanX, minSpanY, spanX, spanY, true, in findNearestVacantArea()
1095 private int[] findNearestArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestArea() argument
1103 pixelY -= mCellHeight * (spanY - 1) / 2f; in findNearestArea()
1188 double distance = Math.hypot(cellXY[0] - pixelX, cellXY[1] - pixelY); in findNearestArea()
1800 … private ItemConfiguration findReorderSolution(int pixelX, int pixelY, int minSpanX, int minSpanY, in findReorderSolution() argument
1812 result = findNearestArea(pixelX, pixelY, spanX, spanY, result); in findReorderSolution()
1824 return findReorderSolution(pixelX, pixelY, minSpanX, minSpanY, spanX - 1, spanY, in findReorderSolution()
1827 return findReorderSolution(pixelX, pixelY, minSpanX, minSpanY, spanX, spanY - 1, in findReorderSolution()
2134 …private ItemConfiguration findConfigurationNoShuffle(int pixelX, int pixelY, int minSpanX, int min… in findConfigurationNoShuffle() argument
[all …]
DWorkspace.java2740 @Thunk int[] findNearestArea(int pixelX, int pixelY,
2743 pixelX, pixelY, spanX, spanY, recycle);
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java407 public int findNearestArea(int pixelX, int pixelY) { in findNearestArea() argument
410 page.findNearestArea(pixelX, pixelY, 1, 1, sTmpArray); in findNearestArea()