/frameworks/base/graphics/java/android/graphics/ |
D | AvoidXfermode.java | 52 public AvoidXfermode(int opColor, int tolerance, Mode mode) { in AvoidXfermode() argument 53 if (tolerance < 0 || tolerance > 255) { in AvoidXfermode() 56 native_instance = nativeCreate(opColor, tolerance, mode.nativeInt); in AvoidXfermode() 59 private static native int nativeCreate(int opColor, int tolerance, in nativeCreate() argument
|
/frameworks/base/core/java/android/test/ |
D | InstrumentationTestCase.java | 175 runCount = method.getAnnotation(FlakyTest.class).tolerance(); in runTest() 182 final int tolerance = runCount; in runTest() local 189 runMethod(testMethod, tolerance, repetitive); in runTest() 204 private void runMethod(Method runMethod, int tolerance) throws Throwable { in runMethod() argument 205 runMethod(runMethod, tolerance, false); in runMethod() 208 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable { in runMethod() argument 231 } while ((runCount < tolerance) && (isRepetitive || exception != null)); in runMethod()
|
D | FlakyTest.java | 40 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/media/jni/mediaeditor/ |
D | VideoEditorThumbnailMain.cpp | 77 M4OSA_UInt32* pTimeMS, M4OSA_UInt32 tolerance); 222 M4OSA_UInt32* pTimeMS, M4OSA_UInt32 tolerance) in ThumbnailGetPixels() argument 252 err = videoBrowserPrepareFrame(pC->m_pVideoBrowser, pTimeMS, tolerance); in ThumbnailGetPixels() 268 M4OSA_UInt32 tolerance) in ThumbnailGetPixels32() argument 281 err = ThumbnailGetPixels(pContext, pixelArray, width, height, timeMS, tolerance); in ThumbnailGetPixels32() 291 M4OSA_UInt32 tolerance) in ThumbnailGetPixels16() argument 304 timeMS, tolerance); in ThumbnailGetPixels16()
|
D | VideoEditorThumbnailMain.h | 53 M4OSA_UInt32 tolerance); 68 M4OSA_UInt32 tolerance);
|
D | VideoBrowserMain.h | 137 M4OSA_UInt32 tolerance);
|
D | VideoBrowserMain.c | 445 M4OSA_UInt32 tolerance) in videoBrowserPrepareFrame() argument 482 pC->m_pDecoderCtx, &timeMS, bJumpNeeded, tolerance); in videoBrowserPrepareFrame()
|
D | VideoEditorMain.cpp | 2273 M4OSA_UInt32 tolerance = duration / (2 * noOfThumbnails); in videoEditor_getPixelsList() local 2286 width, height, &timeMS, tolerance); in videoEditor_getPixelsList()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | GlobalFocusChangeTest.java | 51 @FlakyTest(tolerance = 4) 63 @FlakyTest(tolerance = 4) 74 @FlakyTest(tolerance = 4)
|
/frameworks/base/core/jni/android/graphics/ |
D | Xfermode.cpp | 35 U8CPU tolerance, SkAvoidXfermode::Mode mode) in avoid_create() argument 37 return new SkAvoidXfermode(opColor, tolerance, mode); in avoid_create()
|
/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/tools/aapt/ |
D | Main.cpp | 233 int tolerance = 0; in main() local 303 tolerance = atoi(argv[0]); in main() 304 bundle.setGrayscaleTolerance(tolerance); in main() 305 … printf("%s: Images with deviation <= %d will be forced to grayscale.\n", prog, tolerance); in main()
|
/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/layoutlib/bridge/src/android/graphics/ |
D | AvoidXfermode_Delegate.java | 64 /*package*/ static int nativeCreate(int opColor, int tolerance, int nativeMode) { in nativeCreate() argument
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
D | ListWithEditTextHeaderTest.java | 51 @FlakyTest(tolerance=2)
|
/frameworks/av/media/libstagefright/tests/ |
D | SurfaceMediaSource_test.cpp | 291 int g, int b, int a, int tolerance=2) { in checkPixel() argument 305 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) { in checkPixel() 308 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) { in checkPixel() 314 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) { in checkPixel() 320 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) { in checkPixel()
|
/frameworks/av/libvideoeditor/vss/common/inc/ |
D | M4DECODER_Common.h | 347 M4OSA_Bool bJump, M4OSA_UInt32 tolerance);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListManagedCursorTest.java | 113 @FlakyTest(tolerance=3)
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTexture_test.cpp | 198 int g, int b, int a, int tolerance=2) { in checkPixel() argument 211 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) { in checkPixel() 214 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) { in checkPixel() 220 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) { in checkPixel() 226 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) { in checkPixel() 241 const Rect &r2, int tolerance=1) { in assertRectEq() argument 245 if (abs(r1.left - r2.left) > tolerance) { in assertRectEq() 248 if (abs(r1.top - r2.top) > tolerance) { in assertRectEq() 254 if (abs(r1.right - r2.right) > tolerance) { in assertRectEq() 260 if (abs(r1.bottom - r2.bottom) > tolerance) { in assertRectEq()
|
/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/av/libvideoeditor/vss/src/ |
D | M4DECODER_Null.c | 298 M4OSA_UInt32 tolerance) { in M4DECODER_NULL_decode() argument
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
D | VideoEditorVideoDecoder.cpp | 1338 M4_MediaTime* pTime, M4OSA_Bool bJump, M4OSA_UInt32 tolerance) { in VideoEditorVideoDecoder_decode() argument 1373 while (pDecoderBuffer == NULL || pDecShellContext->m_lastDecodedCTS + tolerance < *pTime) { in VideoEditorVideoDecoder_decode() 1454 tolerance; in VideoEditorVideoDecoder_decode()
|