Searched refs:relativeXPos (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | MultipageCellLayout.java | 51 protected int[] findNearestArea(int relativeXPos, int relativeYPos, int minSpanX, int minSpanY, in findNearestArea() argument 54 () -> super.findNearestArea(relativeXPos, relativeYPos, minSpanX, minSpanY, spanX, in findNearestArea()
|
D | CellLayout.java | 1242 protected int[] findNearestArea(int relativeXPos, int relativeYPos, int minSpanX, int minSpanY, in findNearestArea() argument 1247 relativeXPos = (int) (relativeXPos - (mCellWidth + mBorderSpace.x) * (spanX - 1) / 2f); in findNearestArea() 1329 double distance = Math.hypot(cellXY[0] - relativeXPos, cellXY[1] - relativeYPos); in findNearestArea()
|