/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestDistance.rscript | 26 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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/ |
D | ReferencePath.java | 74 float distance, pathRemaining = 0; in calculatePathRemaining() local 79 distance = MathsUtils.distanceCalculationOnXYPlane( in calculatePathRemaining() 82 pathRemaining += distance; in calculatePathRemaining() 159 float distance = MathsUtils.distanceCalculationInXYZSpace( in validateBackToStart() local 166 if (distance > maximumDistanceFromFirstWaypoint) { in validateBackToStart()
|
D | Path.java | 65 float distance = MathsUtils.distanceCalculationOnXYPlane( in getLengthOfCurrentPath() local 68 length += Math.abs(distance); in getLengthOfCurrentPath()
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoEncoderInput.java | 74 int distance = manhattanDistance(cfg.mWidth, cfg.mHeight, element.getValue().mWidth, in getRawResource() local 76 if (distance < closestDistance) { in getRawResource() 77 closestDistance = distance; in getRawResource()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/ |
D | Test.java | 130 float distance; in markerTest() local 132 distance = MathsUtils.distanceCalculationInXYZSpace( in markerTest() 135 mMarkerAccuracy.add(distance); in markerTest() 196 float totalDistance, distance; in calculatePathDistance() local 202 distance = MathsUtils.distanceCalculationOnXYPlane( in calculatePathDistance() 205 totalDistance += distance; in calculatePathDistance()
|
D | RobustnessTest.java | 54 for (float distance : mReferencePathDistances) { in RobustnessTest() 55 mPathTotalDistance += distance; in RobustnessTest()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathMeasureTest.java | 61 float distance = 1f; in testGetPosTanArraysTooSmall() local 65 mPathMeasure.getPosTan(distance, pos, tan); in testGetPosTanArraysTooSmall() 70 float distance = 1f; in testGetPosTan() local 73 assertFalse(mPathMeasure.getPosTan(distance, pos2, tan2)); in testGetPosTan()
|
/cts/tests/attentionservice/src/android/attentionservice/cts/ |
D | CtsTestAttentionService.java | 83 public static void respondProximity(double distance) { in respondProximity() argument 85 sCurrentProximityUpdateCallback.onProximityUpdate(distance); in respondProximity()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/ |
D | NanAccuracyActivity.java | 329 for (TestDistance distance : TestDistance.values()) { in TestResult() 330 testResults.put(distance, TestStatus.NOT_YET_RUN); in TestResult() 334 void setTestResult(TestDistance distance, TestStatus status) { in setTestResult() argument 335 testResults.put(distance, status); in setTestResult() 346 for (TestDistance distance : testResults.keySet()) { in isAllPassed() 347 if (testResults.get(distance) != TestStatus.PASSED) { in isAllPassed()
|
/cts/apps/CameraITS/tests/scene3/ |
D | test_landscape_to_portrait.py | 115 cam, props, image_path, distance=self.chart_distance, rotation=90) 144 cam, props, image_path, distance=self.chart_distance)
|
/cts/tests/openglperf2/jni/graphics/ |
D | Vector2D.h | 29 float distance(const Vector2D& v);
|
D | Vector2D.cpp | 46 float Vector2D::distance(const Vector2D& v) { in distance() function in Vector2D
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | layered_filter_d1new_helper.rsh | 33 // 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.
|
D | layered_filter_f32_helper.rsh | 16 // 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.
|
D | layer_info.rsh | 19 // distance transform result to be a matte value within [0,1].
|
D | layer_info_fast.rsh | 19 // distance transform result to be a matte value within [0,1].
|
/cts/tests/location/location_none/src/android/location/cts/none/ |
D | LocationTest.java | 319 float distance; in testDistanceTo() local 328 distance = zeroLocation.distanceTo(zeroLocation); in testDistanceTo() 329 assertEquals(0, distance, DELTA); in testDistanceTo() 331 distance = zeroLocation.distanceTo(testLocation); in testDistanceTo() 332 assertEquals(6244139.0, distance, 1); in testDistanceTo()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | StretchEdgeUtil.kt | 90 return edgeEffect.distance > 0 in dragStretches() 170 startDistance = edgeEffect.distance in dragAndHoldKeepsStretch() 173 nextFrameDistance = edgeEffect.distance in dragAndHoldKeepsStretch()
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
D | test_lens_intrinsic_calibration.py | 225 distance = math.dist(first_point, principal_point) 226 pp_diffs.append(distance)
|
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
D | Boid.cpp | 33 float dist = mPosition.distance(b->mPosition); in flock()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CbGeoUtilsTest.java | 56 assertEquals(DIST, p1.distance(p2), DELTA); in testLatLong()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BitmapUtils.java | 189 mse += distance(expColors[idx], actualColors[idx], isPremultiplied); in compareBitmapsMse() 216 private static double distance(int expect, int actual, boolean isPremultiplied) { in distance() method in BitmapUtils
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | Manager.java | 133 String distance = String.valueOf( in addPoseDataToPath() 138 + distance in addPoseDataToPath()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 213 mse += distance(expColors[idx], actualColors[idx], isPremultiplied); in compareBitmapsMse() 246 private static double distance(int expect, int actual, boolean isPremultiplied) { in distance() method in BitmapUtils
|
/cts/apps/CameraITS/utils/ |
D | opencv_processing_utils.py | 241 distance=None, argument 262 distance, CHART_DISTANCE_31CM, rel_tol=CHART_SCALE_RTOL): 264 self._distance = distance 533 image_processing_utils.distance( 546 image_processing_utils.distance( 878 if scipy.spatial.distance.euclidean(xy1, xy2) < FACE_MIN_CENTER_DELTA:
|