/frameworks/base/graphics/java/android/graphics/ |
H A D | AvoidXfermode.java | 40 * There are two modes, and each mode interprets a tolerance value. 52 public AvoidXfermode(int opColor, int tolerance, Mode mode) { argument 53 if (tolerance < 0 || tolerance > 255) { 54 throw new IllegalArgumentException("tolerance must be 0..255"); 56 native_instance = nativeCreate(opColor, tolerance, mode.nativeInt); 59 private static native int nativeCreate(int opColor, int tolerance, argument
|
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorThumbnailMain.h | 53 M4OSA_UInt32 tolerance); 68 M4OSA_UInt32 tolerance);
|
H A D | VideoEditorThumbnailMain.cpp | 77 M4OSA_UInt32* pTimeMS, M4OSA_UInt32 tolerance); 222 M4OSA_UInt32* pTimeMS, M4OSA_UInt32 tolerance) 252 err = videoBrowserPrepareFrame(pC->m_pVideoBrowser, pTimeMS, tolerance); 268 M4OSA_UInt32 tolerance) 281 err = ThumbnailGetPixels(pContext, pixelArray, width, height, timeMS, tolerance); 291 M4OSA_UInt32 tolerance) 304 timeMS, tolerance); 219 ThumbnailGetPixels(const M4OSA_Context pContext, M4OSA_Int32* pixelArray, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32* pTimeMS, M4OSA_UInt32 tolerance) argument 265 ThumbnailGetPixels32(const M4OSA_Context pContext, M4OSA_Int32* pixelArray, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32* timeMS, M4OSA_UInt32 tolerance) argument 288 ThumbnailGetPixels16(const M4OSA_Context pContext, M4OSA_Int16* pixelArray, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32* timeMS, M4OSA_UInt32 tolerance) argument
|
H A D | VideoBrowserMain.h | 137 M4OSA_UInt32 tolerance);
|
H A D | VideoBrowserMain.c | 440 * @param tolerance (IN) : We may decode an earlier frame within the tolerance. 445 M4OSA_UInt32 tolerance) 482 pC->m_pDecoderCtx, &timeMS, bJumpNeeded, tolerance); 444 videoBrowserPrepareFrame(M4OSA_Context pContext, M4OSA_UInt32* pTime, M4OSA_UInt32 tolerance) argument
|
H A D | VideoEditorMain.cpp | 2273 M4OSA_UInt32 tolerance = duration / (2 * noOfThumbnails); local 2286 width, height, &timeMS, tolerance);
|
/frameworks/base/core/java/android/test/ |
H A D | FlakyTest.java | 27 * the test fails. The total number of executions is specified by the tolerance and 35 * as a failed test. If the tolerance factor is less than 1, the test runs 40 int tolerance() default 1;
|
H A D | InstrumentationTestCase.java | 175 runCount = method.getAnnotation(FlakyTest.class).tolerance(); 182 final int tolerance = runCount; 189 runMethod(testMethod, tolerance, repetitive); 204 private void runMethod(Method runMethod, int tolerance) throws Throwable { argument 205 runMethod(runMethod, tolerance, false); 208 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable { argument 231 } while ((runCount < tolerance) && (isRepetitive || exception != null));
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Xfermode.cpp | 35 U8CPU tolerance, SkAvoidXfermode::Mode mode) 37 return new SkAvoidXfermode(opColor, tolerance, mode); 34 avoid_create(JNIEnv* env, jobject, SkColor opColor, U8CPU tolerance, SkAvoidXfermode::Mode mode) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | AvoidXfermode_Delegate.java | 64 /*package*/ static int nativeCreate(int opColor, int tolerance, int nativeMode) { argument
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | GlobalFocusChangeTest.java | 51 @FlakyTest(tolerance = 4) 63 @FlakyTest(tolerance = 4) 74 @FlakyTest(tolerance = 4)
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | AutoCompleteTextViewCallbacks.java | 35 @FlakyTest(tolerance=3) 60 @FlakyTest(tolerance=3) 109 @FlakyTest(tolerance=3)
|
H A D | AutoCompleteTextViewPopup.java | 44 @FlakyTest(tolerance=3) 76 @FlakyTest(tolerance=3) 103 @FlakyTest(tolerance=3) 136 @FlakyTest(tolerance=3) 170 @FlakyTest(tolerance=3)
|
/frameworks/base/core/tests/utillib/src/android/test/ |
H A D | BandwidthTestCase.java | 66 runCount = method.getAnnotation(FlakyTest.class).tolerance(); 73 final int tolerance = runCount; 80 runMethod(testMethod, tolerance, repetitive); 116 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable { argument 140 } while ((runCount < tolerance) && (isRepetitive || exception != null));
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | BitmapTest.java | 195 final int tolerance = 1; 214 assertTrue("red", Math.abs(rr - r1) <= tolerance); 219 assertTrue("green", Math.abs(gg - g1) <= tolerance); 224 assertTrue("blue", Math.abs(bb - b1) <= tolerance);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
H A D | ListWithEditTextHeaderTest.java | 51 @FlakyTest(tolerance=2)
|
/frameworks/base/tools/aapt/ |
H A D | Main.cpp | 60 " [-0 extension [-0 extension ...]] [-g tolerance] [-j jarfile] \\\n" 114 " -g specify a pixel tolerance to force images to grayscale, default 0\n" 234 int tolerance = 0; local 304 tolerance = atoi(argv[0]); 305 bundle.setGrayscaleTolerance(tolerance); 306 printf("%s: Images with deviation <= %d will be forced to grayscale.\n", prog, tolerance);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | BroadcastTest.java | 233 @FlakyTest(tolerance=2) 250 @FlakyTest(tolerance=2) 255 @FlakyTest(tolerance=2) 350 @FlakyTest(tolerance=2) 360 @FlakyTest(tolerance=2)
|
/frameworks/av/libvideoeditor/vss/common/inc/ |
H A D | M4DECODER_Common.h | 338 * @param tolerance: (IN) We may decode an earlier frame within the tolerance. 347 M4OSA_Bool bJump, M4OSA_UInt32 tolerance);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListManagedCursorTest.java | 113 @FlakyTest(tolerance=3)
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 293 int g, int b, int a, int tolerance=2) { 307 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) { 310 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) { 316 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) { 322 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) { 292 checkPixel(int x, int y, int r, int g, int b, int a, int tolerance=2) argument
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4DECODER_Null.c | 298 M4OSA_UInt32 tolerance) { 296 M4DECODER_NULL_decode(M4OSA_Context context, M4_MediaTime* pTime, M4OSA_Bool bJump, M4OSA_UInt32 tolerance) argument
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTexture_test.cpp | 198 int g, int b, int a, int tolerance=2) { 211 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) { 214 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) { 220 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) { 226 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) { 241 const Rect &r2, int tolerance=1) { 245 if (abs(r1.left - r2.left) > tolerance) { 248 if (abs(r1.top - r2.top) > tolerance) { 254 if (abs(r1.right - r2.right) > tolerance) { 260 if (abs(r1.bottom - r2.bottom) > tolerance) { 197 checkPixel(int x, int y, int r, int g, int b, int a, int tolerance=2) argument 240 assertRectEq(const Rect &r1, const Rect &r2, int tolerance=1) argument [all...] |
/frameworks/native/services/sensorservice/ |
H A D | mat.h | 308 static bool isPositiveSemidefinite(const mat<TYPE, C, C>& m, TYPE tolerance) { argument 315 if (fabs(m[i][j] - m[j][i]) > tolerance)
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorVideoDecoder.cpp | 1338 M4_MediaTime* pTime, M4OSA_Bool bJump, M4OSA_UInt32 tolerance) { 1373 while (pDecoderBuffer == NULL || pDecShellContext->m_lastDecodedCTS + tolerance < *pTime) { 1454 tolerance; 1337 VideoEditorVideoDecoder_decode(M4OSA_Context context, M4_MediaTime* pTime, M4OSA_Bool bJump, M4OSA_UInt32 tolerance) argument
|