Home
last modified time | relevance | path

Searched refs:hypot (Results 1 – 9 of 9) 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/location/location_gnss/src/android/location/cts/gnss/pseudorange/
DEcefToTopocentricConverter.java56 double horizontalDistanceMeters = Math.hypot(eastMeters, northMeters); in convertCartesianToTopocentericRadMeters()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java184 return (float) Math.hypot(a.x - b.x, a.y - b.y); in distance()
208 return (float) Math.hypot(p.x, p.y); in length()
318 return Math.hypot(event.getX() - point.x, event.getY() - point.y) <= tol; in isAtPoint()
341 return Math.hypot(event.getRawX() - point.x, event.getRawY() - point.y) <= tol;
/cts/apps/CameraITS/utils/
Dzoom_capture_utils.py231 circles, key=lambda x: math.hypot(x[0] - img_ctr[0], x[1] - img_ctr[1]))
398 offset_hypot_init = math.hypot(offset_xy[0], offset_xy[1])
407 offset_hypot_rel = math.hypot(offset_xy[0], offset_xy[1]) / z_ratio
Dopencv_processing_utils.py917 centers_dist = math.hypot(x-x1, y-y1)
/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/apps/CameraITS/tests/scene_extensions/scene_hdr/
Dtest_hdr_extension.py110 sobel = np.float32(np.hypot(sobel_x, sobel_y))
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DBlurTests.java641 assertBlur(screenshot, (int) Math.hypot(BACKGROUND_BLUR_PX, BLUR_BEHIND_PX), windowFrame); in assertBackgroundBlurOverBlurBehind()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java621 return (float) Math.hypot((double) (point1.x - point2.x), (double) (point1.y - point2.y)); in distance()