Searched refs:touchXy (Results 1 - 2 of 2) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DWorkspace.java2683 final float[] touchXy = {originX, originY};
2687 mapPointFromSelfToChild(cl, touchXy, mTempInverseMatrix);
2689 if (touchXy[0] >= 0 && touchXy[0] <= cl.getWidth() &&
2690 touchXy[1] >= 0 && touchXy[1] <= cl.getHeight()) {
2701 touchXy[0] = originX;
2702 touchXy[1] = originY;
2706 float dist = squaredDistance(touchXy, cellLayoutCenter);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DWorkspace.java3087 private CellLayout verifyInsidePage(int pageNo, float[] touchXy) { argument
3090 mapPointFromSelfToChild(cl, touchXy);
3091 if (touchXy[0] >= 0 && touchXy[0] <= cl.getWidth() &&
3092 touchXy[1] >= 0 && touchXy[1] <= cl.getHeight()) {

Completed in 589 milliseconds