Home
last modified time | relevance | path

Searched refs:point2 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java456 private float distance(MotionEvent.PointerCoords point1, MotionEvent.PointerCoords point2) { in distance() argument
457 return (float) Math.hypot((double) (point1.x - point2.x), (double) (point1.y - point2.y)); in distance()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DCoreMathVerifier.java515 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()