Searched defs:point1 (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/crop/
H A DGeometryMathUtils.java118 public static float[] getVectorFromPoints(float[] point1, float[] point2) { argument
120 point2[0] - point1[0], point2[1] - point1[1]
125 public static float[] getUnitVectorFromPoints(float[] point1, float[] point2) { argument
127 point2[0] - point1[0], point2[1] - point1[1]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DGeometryMathUtils.java167 public static float[] getVectorFromPoints(float[] point1, float[] point2) { argument
169 point2[0] - point1[0], point2[1] - point1[1]
174 public static float[] getUnitVectorFromPoints(float[] point1, float[] point2) { argument
176 point2[0] - point1[0], point2[1] - point1[1]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DWorkspace.java2617 static private float squaredDistance(float[] point1, float[] point2) { argument
2618 float distanceX = point1[0] - point2[0];
/packages/apps/Launcher3/src/com/android/launcher3/
H A DWorkspace.java3130 static private float squaredDistance(float[] point1, float[] point2) { argument
3131 float distanceX = point1[0] - point2[0];

Completed in 477 milliseconds