Home
last modified time | relevance | path

Searched refs:difference (Results 1 – 22 of 22) sorted by relevance

/cts/libs/view/src/com/android/view/
DPosition.java66 double difference = originToOtherAngle - originToThisAngle; in arcAngleTo() local
70 if (difference < -Math.PI) { in arcAngleTo()
71 difference += 2 * Math.PI; in arcAngleTo()
72 } else if (difference > Math.PI){ in arcAngleTo()
73 difference -= 2 * Math.PI; in arcAngleTo()
75 return difference; in arcAngleTo()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTest.java254 final BitmapCompare.Difference difference = BitmapCompare.computeMinimumDifference( in validateResult() local
257 + difference.bestMatchBorderCrop.first + ", " in validateResult()
258 + difference.bestMatchBorderCrop.second + "), " in validateResult()
260 + difference.greatestPixelDifference in validateResult()
261 + (difference.greatestPixelDifferenceCoordinates != null in validateResult()
262 ? " at (" + difference.greatestPixelDifferenceCoordinates.first + ", " in validateResult()
263 + difference.greatestPixelDifferenceCoordinates.second + ")" : "") in validateResult()
265 difference.greatestPixelDifference <= ALLOWED_GREATEST_PIXEL_DIFFERENCE); in validateResult()
DDecodeAccuracyTestBase.java1792 final int difference = euclideanDistance(pixels1[i], pixels2[i]); in computeDifference() local
1793 if (difference > greatestDifference) { in computeDifference()
1794 greatestDifference = difference; in computeDifference()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/
DTest.java220 float difference; in calculatePathDifferences() local
224 difference = mReferencePathDistances.get(i) - mTestPathDistances.get(i); in calculatePathDifferences()
225 mPathAccuracy.add(Math.abs(difference)); in calculatePathDifferences()
254 private void recordPathTestResults(float difference) { in recordPathTestResults() argument
255 int pathNumber = mPathAccuracy.indexOf(difference); in recordPathTestResults()
260 " Difference: " + difference + in recordPathTestResults()
/cts/apps/CtsVerifier/include/colorchecker/
Dvec2.h51 int difference = 0.f; in squareDistance() local
52 difference = (static_cast<float>(mX) - static_cast<float>(param.x())) * in squareDistance()
56 return difference; in squareDistance()
Dvec3.h81 float difference = 0.f; in squareDistance() local
82 difference = static_cast<float>(mRed - param.r()) * in squareDistance()
88 return difference; in squareDistance()
/cts/tests/tests/permission2/src/android/permission2/cts/
DPrivappPermissionsTest.java25 import static com.google.common.collect.Sets.difference;
143 Set<String> factoryNotGranted = difference(factoryRequestedPrivPermissions, in privappPermissionsNeedToBeWhitelisted()
148 Set<String> removed = difference(factoryRequestedPrivPermissions, in privappPermissionsNeedToBeWhitelisted()
174 Set<String> grantedNotInWhitelist = difference(granted, whitelist); in privappPermissionsNeedToBeWhitelisted()
175 Set<String> factoryNotGrantedNotRemovedNotInDenylist = difference(difference( in privappPermissionsNeedToBeWhitelisted()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCbGeoUtilsTest.java52 CbGeoUtils.LatLng difference = new CbGeoUtils.LatLng(LAT1 - LAT2, LNG1 - LNG2); in testLatLong() local
53 assertEquals(difference.lat, p1.subtract(p2).lat, DELTA); in testLatLong()
54 assertEquals(difference.lng, p1.subtract(p2).lng, DELTA); in testLatLong()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
DBaseRenderer.java339 int difference = (currentOrientation - defaultOrientation) % ORIENTATION_COUNT; in getDeviceRotation() local
340 difference = difference * 90; in getDeviceRotation()
342 return difference; in getDeviceRotation()
/cts/tests/tests/notificationlegacy/notificationlegacy20/
DOWNERS3 # need to tell the difference between "no owner is specified for this module" vs "explicitly
/cts/tests/tests/notificationlegacy/notificationlegacy29/
DOWNERS3 # need to tell the difference between "no owner is specified for this module" vs "explicitly
/cts/tests/tests/notificationlegacy/notificationlegacy27/
DOWNERS3 # need to tell the difference between "no owner is specified for this module" vs "explicitly
/cts/tests/tests/notificationlegacy/notificationlegacy28/
DOWNERS3 # need to tell the difference between "no owner is specified for this module" vs "explicitly
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DProcStateAtomTests.java256 private Set<Integer> difference(Set<Integer> a, Set<Integer> b) { in difference() method in ProcStateAtomTests
264 return difference(ALL_STATES, set); in complement()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java103 double difference = mean - value.doubleValue(); in getVariance() local
104 squaredDiffs.add(Math.pow(difference, 2)); in getVariance()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dcamera_response_fast.rsh13 // The difference here is that we use a normalized model such
Dcamera_response.rsh13 // The difference here is that we use a normalized model such
/cts/tests/tests/location/protos/
Dephemeris.proto79 // Mean motion difference from computed value.
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java604 double difference = BitmapUtils.calcDifferenceMetric(jpegPatch, rawPatch); in validateRawJpegImagePair() local
605 if (difference > IMAGE_DIFFERENCE_TOLERANCE) { in validateRawJpegImagePair()
630 difference); in validateRawJpegImagePair()
DImageReaderTest.java630 double difference = BitmapUtils.calcDifferenceMetric(yuvBmap, jpegBmap); in testAllOutputYUVResolutions() local
636 difference); in testAllOutputYUVResolutions()
637 if (difference > tolerance) { in testAllOutputYUVResolutions()
661 difference + ", tolerance is " + tolerance); in testAllOutputYUVResolutions()
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/
DValidationTests.java208 long difference = Math.abs(statsdDurationMs - bsDurationMs); local
211 difference <= Math.max(bsDurationMs / 10, 10L));
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale250 difference in execution time to a Dhrystone version where all
327 feeling how much performance difference is due to compiler optimization