/cts/libs/view/src/com/android/view/ |
D | Position.java | 66 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/ |
D | DecodeAccuracyTest.java | 319 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()
|
D | DecodeAccuracyTestBase.java | 1842 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/ |
D | vec2.h | 51 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()
|
D | vec3.h | 81 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/ |
D | Test.java | 220 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/ |
D | CbGeoUtilsTest.java | 52 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/ |
D | DeviceConfigShellHelper.java | 155 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/ |
D | BaseRenderer.java | 339 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/ |
D | IoOveruseConfigurationSubject.java | 91 && Maps.difference(actual.getPackageSpecificThresholds(), in isEquals() 93 && Maps.difference(actual.getAppCategorySpecificThresholds(), in isEquals()
|
D | ResourceOveruseConfigurationSubject.java | 80 && Maps.difference(actual.getPackagesToAppCategoryTypes(), in isEquals()
|
/cts/tests/tests/car/src/android/car/cts/utils/watchdog/ |
D | IoOveruseConfigurationSubject.java | 91 && Maps.difference(actual.getPackageSpecificThresholds(), in isEquals() 93 && Maps.difference(actual.getAppCategorySpecificThresholds(), in isEquals()
|
D | ResourceOveruseConfigurationSubject.java | 73 && Maps.difference(actual.getPackagesToAppCategoryTypes(), in isEquals()
|
/cts/tests/tests/companion/ |
D | README.md | 5 The core difference between the two test modules is that `CtsCompanionDeviceManager_Core_TestCases`
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/ |
D | ProcStateAtomTests.java | 302 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/ |
D | camera_response_fast.rsh | 13 // The difference here is that we use a normalized model such
|
D | camera_response.rsh | 13 // The difference here is that we use a normalized model such
|
/cts/tests/location/location_gnss/protos/ |
D | ephemeris.proto | 79 // Mean motion difference from computed value.
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorCtsHelper.java | 109 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/ |
D | DngCreatorTest.java | 902 double difference = BitmapUtils.calcDifferenceMetric(jpegPatch, rawPatch); in validateRawJpegImagePair() local 903 if (difference > IMAGE_DIFFERENCE_TOLERANCE) { in validateRawJpegImagePair() 928 difference); in validateRawJpegImagePair()
|
D | ImageReaderTest.java | 1236 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/ |
D | Rationale | 250 difference in execution time to a Dhrystone version where all 327 feeling how much performance difference is due to compiler optimization
|