Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestDistance.rs26 return distance(inLeftVector, inRightVector);
31 return distance(inLeftVector, inRightVector);
36 return distance(inLeftVector, inRightVector);
41 return distance(inLeftVector, inRightVector);
46 return distance(inLeftVector, inRightVector);
51 return distance(inLeftVector, inRightVector);
56 return distance(inLeftVector, inRightVector);
61 return distance(inLeftVector, inRightVector);
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathMeasureTest.java50 float distance = 1f; in testGetPosTan() local
54 mPathMeasure.getPosTan(distance, pos, tan); in testGetPosTan()
61 assertFalse(mPathMeasure.getPosTan(distance, pos2, tan2)); in testGetPosTan()
DYuvImageTest.java364 mse += distance(expColors[idx], actualColors[idx]); in compareBitmaps()
379 private double distance(int exp, int actual) { in distance() method in YuvImageTest
DBitmapRegionDecoderTest.java502 mse += distance(expectedColors[idx], actualColors[idx]); in compareBitmaps()
516 private double distance(int exp, int actual) { in distance() method in BitmapRegionDecoderTest
DBitmapFactoryTest.java795 mse += distance(expectedColors[idx], actualColors[idx], isPremultiplied); in compareBitmaps()
815 private double distance(int expect, int actual, boolean isPremultiplied) { in distance() method in BitmapFactoryTest
/cts/tests/tests/security/src/android/security/cts/
DClonedSecureRandomTest.java234 int distance = (firstPid - previousPid + MAX_PID) % MAX_PID; in wastePids() local
238 if ((distance < PID_WASTING_SKIP_LOWER) || (MAX_PID - distance < PID_WASTING_SKIP_UPPER)) { in wastePids()
242 for (int i = 0; i < distance; i++) { in wastePids()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_d1new_helper.rsh33 // active pixel to (x,y). Sets the closest distance to sharp->matte and sets the
48 // Initializes the minimum distance from this pixel to the active pixels on
51 min_dist *= min_dist; // Prepares for L2 distance.
62 // L_2 distance:
64 // Whether or not this is an active pixel with a smaller distance.
89 // Initializes the minimum distance from this pixel to the active pixels on
92 min_dist *= min_dist; // Prepares for L2 distance.
103 // L_2 distance:
105 // Whether or not this is an active pixel with a smaller distance.
Dlayered_filter_f32_helper.rsh16 // active pixel to (x,y). Sets the closest distance to sharp->matte and sets the
29 // Initializes the minimum distance from this pixel to the active pixels on
32 min_dist *= min_dist; // Prepares for L2 distance.
42 // L_2 distance:
44 // Whether or not this is an active pixel with a smaller distance.
Dlayer_info.rsh19 // distance transform result to be a matte value within [0,1].
Dlayer_info_fast.rsh19 // distance transform result to be a matte value within [0,1].
Dpixel_format_f32.rsh13 // computed for blending color between layers. "Close enough" means L1 distance
/cts/tests/openglperf2/jni/graphics/
DVector2D.h29 float distance(const Vector2D& v);
DVector2D.cpp46 float Vector2D::distance(const Vector2D& v) { in distance() function in Vector2D
/cts/tests/tests/location/src/android/location/cts/
DLocationTest.java245 float distance; in testDistanceTo() local
254 distance = zeroLocation.distanceTo(zeroLocation); in testDistanceTo()
255 assertEquals(0, distance, DELTA); in testDistanceTo()
257 distance = zeroLocation.distanceTo(testLocation); in testDistanceTo()
258 assertEquals(6244139.0, distance, 1); in testDistanceTo()
/cts/tests/openglperf2/jni/reference/scene/flocking/
DBoid.cpp33 float dist = mPosition.distance(b->mPosition); in flock()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java297 assertEquals(startSpacing, distance(coords0, coords1), pinchTolerance); in testAngledPinch_looksReasonable()
313 assertEquals(endSpacing, distance(coords0, coords1), pinchTolerance); in testAngledPinch_looksReasonable()
329 float spacing = distance(coords0, coords1); in testAngledPinch_looksReasonable()
456 private float distance(MotionEvent.PointerCoords point1, MotionEvent.PointerCoords point2) { in distance() method in AccessibilityGestureDispatchTest
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py124 dist = scipy.spatial.distance.correlation(cam_rots, gyro_rots)
150 dists.append(scipy.spatial.distance.correlation(cam_rots, gyro_rots))
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DCoreMathVerifier.java515 static private Target.Floaty distance(double[] point1, double[] point2, Target t) { in distance() method in CoreMathVerifier
526 static private Target.Floaty distance(float[] point1, float[] point2, Target t) { in distance() method in CoreMathVerifier
1789 args.out = distance(new double[] {args.inLeftVectorDouble}, in computeDistance()
1794 args.out = distance(args.inLeftVectorDouble, args.inRightVectorDouble, t); in computeDistance()
1799 args.out = distance(new float[] {args.inLeftVector}, new float[] {args.inRightVector}, t); in computeDistance()
1804 args.out = distance(args.inLeftVector, args.inRightVector, t); in computeDistance()
1927 args.out = distance(new float[] {args.inLeftVector}, new float[] {args.inRightVector}, t); in computeFastDistance()
1932 args.out = distance(args.inLeftVector, args.inRightVector, t); in computeFastDistance()
2543 args.out = distance(new double[] {args.inLeftVectorDouble},
2549 args.out = distance(args.inLeftVectorDouble, args.inRightVectorDouble, t);
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraTestUtils.java2005 float distance = Math.abs(values[i] - target); in getClosestValueInArray() local
2006 if (minDistance > distance) { in getClosestValueInArray()
2007 minDistance = distance; in getClosestValueInArray()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tools/dex-tools/dex/
Dclasses.out.dex118429 private final float[] distance