/frameworks/base/graphics/java/android/graphics/ |
D | AvoidXfermode.java | 54 public AvoidXfermode(int opColor, int tolerance, Mode mode) { in AvoidXfermode() argument 55 if (tolerance < 0 || tolerance > 255) { in AvoidXfermode()
|
/frameworks/native/libs/gui/tests/ |
D | GLTest.cpp | 176 int r, int g, int b, int a, int tolerance) { in checkPixel() argument 188 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) { in checkPixel() 191 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) { in checkPixel() 197 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) { in checkPixel() 203 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) { in checkPixel() 217 int tolerance) { in assertRectEq() argument 220 if (abs(r1.left - r2.left) > tolerance) { in assertRectEq() 223 if (abs(r1.top - r2.top) > tolerance) { in assertRectEq() 229 if (abs(r1.right - r2.right) > tolerance) { in assertRectEq() 235 if (abs(r1.bottom - r2.bottom) > tolerance) { in assertRectEq()
|
D | GLTest.h | 56 int r, int g, int b, int a, int tolerance = 2); 58 int tolerance = 1);
|
/frameworks/base/media/java/android/media/ |
D | SyncParams.java | 237 public SyncParams setTolerance(float tolerance) { in setTolerance() argument 238 if (tolerance < 0.f || tolerance >= 1.f) { in setTolerance() 241 mTolerance = tolerance; in setTolerance()
|
/frameworks/base/core/java/android/test/ |
D | InstrumentationTestCase.java | 181 runCount = method.getAnnotation(FlakyTest.class).tolerance(); in runTest() 188 final int tolerance = runCount; in runTest() local 195 runMethod(testMethod, tolerance, repetitive); in runTest() 210 private void runMethod(Method runMethod, int tolerance) throws Throwable { in runMethod() argument 211 runMethod(runMethod, tolerance, false); in runMethod() 214 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable { in runMethod() argument 237 } while ((runCount < tolerance) && (isRepetitive || exception != null)); in runMethod()
|
D | FlakyTest.java | 46 int tolerance() default 1; in tolerance() method
|
/frameworks/base/core/tests/utillib/src/android/test/ |
D | BandwidthTestCase.java | 66 runCount = method.getAnnotation(FlakyTest.class).tolerance(); in runTest() 73 final int tolerance = runCount; in runTest() local 80 runMethod(testMethod, tolerance, repetitive); in runTest() 116 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable { in runMethod() argument 140 } while ((runCount < tolerance) && (isRepetitive || exception != null)); in runMethod()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | AutoCompleteTextViewPopup.java | 44 @FlakyTest(tolerance=3) 76 @FlakyTest(tolerance=3) 103 @FlakyTest(tolerance=3) 136 @FlakyTest(tolerance=3) 170 @FlakyTest(tolerance=3)
|
D | AutoCompleteTextViewCallbacks.java | 35 @FlakyTest(tolerance=3) 60 @FlakyTest(tolerance=3) 109 @FlakyTest(tolerance=3)
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | GlobalFocusChangeTest.java | 53 @FlakyTest(tolerance = 4) 65 @FlakyTest(tolerance = 4) 76 @FlakyTest(tolerance = 4)
|
/frameworks/base/media/jni/ |
D | android_media_SyncParams.cpp | 38 tolerance = env->GetFieldID(clazz, "mTolerance", "F"); in init() 62 sync.mTolerance = env->GetFloatField(params, fields.tolerance); in fillFromJobject() 79 env->SetFloatField(params, fields.tolerance, (jfloat)sync.mTolerance); in asJobject()
|
D | android_media_SyncParams.h | 41 jfieldID tolerance; member
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | BitmapTest.java | 195 final int tolerance = 1; in testSetPixelsWithNonOpaqueAlpha() local 214 assertTrue("red", Math.abs(rr - r1) <= tolerance); in testSetPixelsWithNonOpaqueAlpha() 219 assertTrue("green", Math.abs(gg - g1) <= tolerance); in testSetPixelsWithNonOpaqueAlpha() 224 assertTrue("blue", Math.abs(bb - b1) <= tolerance); in testSetPixelsWithNonOpaqueAlpha()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | BroadcastTest.java | 233 @FlakyTest(tolerance=2) 250 @FlakyTest(tolerance=2) 255 @FlakyTest(tolerance=2) 350 @FlakyTest(tolerance=2) 360 @FlakyTest(tolerance=2)
|
/frameworks/base/tools/aapt/ |
D | Main.cpp | 266 int tolerance = 0; in main() local 338 tolerance = atoi(argv[0]); in main() 339 bundle.setGrayscaleTolerance(tolerance); in main() 340 … printf("%s: Images with deviation <= %d will be forced to grayscale.\n", prog, tolerance); in main()
|
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | SGEMMTest.java | 84 float tolerance = allowedError * (l2NormOut < l2NormRef ? l2NormOut : l2NormRef); in testWithTolerance() local 85 tolerance /= m * n; in testWithTolerance() 89 if (absErr > tolerance) { in testWithTolerance()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraErrorCollector.java | 293 public <T> boolean expectEquals(String msg, float expected, float actual, float tolerance) { in expectEquals() argument 298 if (!(Math.abs(expected - actual) <= tolerance)) { in expectEquals() 300 expected, actual, tolerance)); in expectEquals() 316 public <T> boolean expectEquals(String msg, double expected, double actual, double tolerance) { in expectEquals() argument 321 if (!(Math.abs(expected - actual) <= tolerance)) { in expectEquals() 323 expected, actual, tolerance)); in expectEquals()
|
D | CameraTestUtils.java | 2033 double tolerance = expected * EXIF_EXPOSURE_TIME_ERROR_MARGIN_RATIO; in verifyJpegExifExtraTags() local 2034 tolerance = Math.max(tolerance, EXIF_EXPOSURE_TIME_MIN_ERROR_MARGIN_SEC); in verifyJpegExifExtraTags() 2036 exposureTimeValue, tolerance); in verifyJpegExifExtraTags()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | Vector3Test.java | 28 private static final float tolerance = 1.0f / (1 << 12); field in Vector3Test 47 return Math.abs(a - b) <= tolerance; in nearlyEqual()
|
/frameworks/av/media/libstagefright/tests/ |
D | SurfaceMediaSource_test.cpp | 288 int g, int b, int a, int tolerance=2) { in checkPixel() argument 302 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) { in checkPixel() 305 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) { in checkPixel() 311 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) { in checkPixel() 317 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) { in checkPixel()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
D | ListWithEditTextHeaderTest.java | 52 @FlakyTest(tolerance=2)
|
/frameworks/native/services/sensorservice/ |
D | mat.h | 308 static bool isPositiveSemidefinite(const mat<TYPE, C, C>& m, TYPE tolerance) { in isPositiveSemidefinite() argument 315 if (fabs(m[i][j] - m[j][i]) > tolerance) in isPositiveSemidefinite()
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
D | databinding-studio-bundle.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/databinding/
android/ ... |