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/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTest.java319 final BitmapCompare.Difference difference = BitmapCompare.computeMinimumDifference( in validateResult() local
323 if (difference.greatestPixelDifference > ALLOWED_GREATEST_PIXEL_DIFFERENCE) { in validateResult()
337 + difference.bestMatchBorderCrop.first + ", " in validateResult()
338 + difference.bestMatchBorderCrop.second + "), " in validateResult()
340 + difference.greatestPixelDifference in validateResult()
341 + (difference.greatestPixelDifferenceCoordinates != null in validateResult()
342 ? " at (" + difference.greatestPixelDifferenceCoordinates.first + ", " in validateResult()
343 + difference.greatestPixelDifferenceCoordinates.second + ")" : "") in validateResult()
345 difference.greatestPixelDifference <= ALLOWED_GREATEST_PIXEL_DIFFERENCE); in validateResult()
DDecodeAccuracyTestBase.java1842 final int difference = euclideanDistance(pixels1[i], pixels2[i]); in computeDifference() local
1844 if (difference > greatestDifference) { in computeDifference()
1845 greatestDifference = difference; in computeDifference()
/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/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/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/tests/tests/time/shell_utils/common/android/app/time/cts/shell/
DDeviceConfigShellHelper.java155 MapDifference<String, String> difference = in restoreDeviceConfigStateForTest() local
156 Maps.difference(oldEntries.keyValues, currentEntries.keyValues); in restoreDeviceConfigStateForTest()
157 deleteAll(oldEntries.namespace, difference.entriesOnlyOnRight()); in restoreDeviceConfigStateForTest()
158 putAll(oldEntries.namespace, difference.entriesOnlyOnLeft()); in restoreDeviceConfigStateForTest()
160 subMap(oldEntries.keyValues, difference.entriesDiffering().keySet()); in restoreDeviceConfigStateForTest()
/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/hostsidetests/car/app/src/android/car/cts/app/watchdog/
DIoOveruseConfigurationSubject.java91 && Maps.difference(actual.getPackageSpecificThresholds(), in isEquals()
93 && Maps.difference(actual.getAppCategorySpecificThresholds(), in isEquals()
DResourceOveruseConfigurationSubject.java80 && Maps.difference(actual.getPackagesToAppCategoryTypes(), in isEquals()
/cts/tests/tests/car/src/android/car/cts/utils/watchdog/
DIoOveruseConfigurationSubject.java91 && Maps.difference(actual.getPackageSpecificThresholds(), in isEquals()
93 && Maps.difference(actual.getAppCategorySpecificThresholds(), in isEquals()
DResourceOveruseConfigurationSubject.java73 && Maps.difference(actual.getPackagesToAppCategoryTypes(), in isEquals()
/cts/tests/tests/companion/
DREADME.md5 The core difference between the two test modules is that `CtsCompanionDeviceManager_Core_TestCases`
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DProcStateAtomTests.java302 private Set<Integer> difference(Set<Integer> a, Set<Integer> b) { in difference() method in ProcStateAtomTests
310 return difference(ALL_STATES, set); in complement()
/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/location/location_gnss/protos/
Dephemeris.proto79 // Mean motion difference from computed value.
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java109 double difference = mean - value.doubleValue(); in getVariance() local
110 squaredDiffs.add(Math.pow(difference, 2)); in getVariance()
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java902 double difference = BitmapUtils.calcDifferenceMetric(jpegPatch, rawPatch); in validateRawJpegImagePair() local
903 if (difference > IMAGE_DIFFERENCE_TOLERANCE) { in validateRawJpegImagePair()
928 difference); in validateRawJpegImagePair()
DImageReaderTest.java1236 double difference = BitmapUtils.calcDifferenceMetric(yuvBmap, jpegBmap); in testAllOutputYUVResolutions() local
1242 difference); in testAllOutputYUVResolutions()
1243 if (difference > tolerance) { in testAllOutputYUVResolutions()
1268 + difference + ", tolerance is " + tolerance); in testAllOutputYUVResolutions()
/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