Searched refs:point2 (Results 1 – 3 of 3) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | MathsUtils.java | 229 public static float distanceCalculationOnXYPlane(float[] point1, float[] point2) { in distanceCalculationOnXYPlane() argument 230 float yDifference = point2[Y] - point1[Y]; in distanceCalculationOnXYPlane() 231 float xDifference = point2[X] - point1[X]; in distanceCalculationOnXYPlane() 242 public static float distanceCalculationInXYZSpace(float[] point1, float[] point2) { in distanceCalculationInXYZSpace() argument 243 float zDifference = point2[Z] - point1[Z]; in distanceCalculationInXYZSpace() 244 float yDifference = point2[Y] - point1[Y]; in distanceCalculationInXYZSpace() 245 float xDifference = point2[X] - point1[X]; in distanceCalculationInXYZSpace()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDispatchTest.java | 548 private float distance(MotionEvent.PointerCoords point1, MotionEvent.PointerCoords point2) { in distance() argument 549 return (float) Math.hypot((double) (point1.x - point2.x), (double) (point1.y - point2.y)); in distance()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | CoreMathVerifier.java | 515 static private Target.Floaty distance(double[] point1, double[] point2, Target t) { in distance() argument 518 Target.Floaty diff = t.subtract(t.newFloaty(point1[i]), t.newFloaty(point2[i])); in distance() 526 static private Target.Floaty distance(float[] point1, float[] point2, Target t) { in distance() argument 529 Target.Floaty diff = t.subtract(t.new32(point1[i]), t.new32(point2[i])); in distance()
|