Home
last modified time | relevance | path

Searched refs:hypot (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestHypot.rscript26 return hypot(inA, inB);
31 return hypot(inA, inB);
36 return hypot(inA, inB);
41 return hypot(inA, inB);
46 return hypot(inA, inB);
51 return hypot(inA, inB);
56 return hypot(inA, inB);
61 return hypot(inA, inB);
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java136 return (float) Math.hypot(a.x - b.x, a.y - b.y); in distance()
160 return (float) Math.hypot(p.x, p.y); in length()
249 return Math.hypot(event.getX() - point.x, event.getY() - point.y) <= tol; in isAtPoint()
273 return Math.hypot(event.getRawX() - point.x, event.getRawY() - point.y) <= tol;
/cts/tests/location/location_gnss/src/android/location/cts/gnss/pseudorange/
DEcefToTopocentricConverter.java56 double horizontalDistanceMeters = Math.hypot(eastMeters, northMeters); in convertCartesianToTopocentericRadMeters()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DCoreMathVerifier.java76 static native float hypot(float x, float y); in hypot() method in CoreMathVerifier
687 static private Target.Floaty hypot(double x, double y, Target t) { in hypot() method in CoreMathVerifier
691 Math.hypot(inX.mid(), inY.mid()), in hypot()
692 Math.hypot(inX.min(), inY.min()), in hypot()
693 Math.hypot(inX.min(), inY.max()), in hypot()
694 Math.hypot(inX.max(), inY.min()), in hypot()
695 Math.hypot(inX.max(), inY.max())); in hypot()
698 static private Target.Floaty hypot(float x, float y, Target t) { in hypot() method in CoreMathVerifier
702 hypot(inX.mid32(), inY.mid32()), in hypot()
703 hypot(inX.min32(), inY.min32()), in hypot()
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java593 return (float) Math.hypot((double) (point1.x - point2.x), (double) (point1.y - point2.y)); in distance()