/frameworks/base/tools/aapt/ |
Main.cpp | 59 " [-0 extension [-0 extension ...]] [-g tolerance] [-j jarfile] \\\n" 109 " -g specify a pixel tolerance to force images to grayscale, default 0\n" 221 int tolerance = 0; local 289 tolerance = atoi(argv[0]); 290 bundle.setGrayscaleTolerance(tolerance); 291 printf("%s: Images with deviation <= %d will be forced to grayscale.\n", prog, tolerance);
|
/external/skia/tests/ |
Matrix44Test.cpp | 15 const SkScalar tolerance = SK_Scalar1 / 200000; local 17 const SkScalar tolerance = SK_Scalar1 / 1024; 20 return SkScalarAbs(a - b) <= tolerance;
|
MatrixTest.cpp | 17 const SkScalar tolerance = SK_Scalar1 / 200000; local 19 const SkScalar tolerance = SK_Scalar1 / 1024; 22 return SkScalarAbs(a - b) <= tolerance;
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerTest.java | 65 final int tolerance = 70; local 82 assertEquals(mp3Duration, mp.getDuration(), tolerance); 88 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance); 317 final int tolerance = 150; 339 assertEquals(posAfter, posBefore, tolerance); 347 assertEquals(seekPos, posAfter, tolerance + audioLatencyTolerance); 353 assertEquals(posAfter, posBefore, tolerance); 362 assertEquals(posAfter, posBefore, tolerance);
|
FaceDetector_FaceTest.java | 57 float tolerance = 5f; local 61 assertEquals(eyesDistance, face.eyesDistance(), tolerance); 64 assertEquals(eyesMidpointX, eyesMP.x, tolerance); 65 assertEquals(eyesMidpointY, eyesMP.y, tolerance);
|
/external/webkit/Tools/DumpRenderTree/qt/ |
ImageDiff.cpp | 34 qreal tolerance = 0; local 38 if (args[i] == "-t" || args[i] == "--tolerance") 39 tolerance = args[i + 1].toDouble(); 119 if (difference <= tolerance) {
|
/frameworks/base/core/tests/utillib/src/android/test/ |
BandwidthTestCase.java | 66 runCount = method.getAnnotation(FlakyTest.class).tolerance(); 73 final int tolerance = runCount; local 80 runMethod(testMethod, tolerance, repetitive); 116 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable { 140 } while ((runCount < tolerance) && (isRepetitive || exception != null));
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SweepGradientTest.java | 41 private static final int TOLERANCE = 10; 58 checkColors(colors, positions, TOLERANCE); 68 checkColors(colors, positions, TOLERANCE); 79 checkColors(colors, positions, TOLERANCE); 82 private void checkColors(int[] colors, float[] positions, int tolerance) { 124 assertEquals(Color.alpha(color), Color.alpha(pixel), tolerance); local 125 assertEquals(Color.red(color), Color.red(pixel), tolerance); local 126 assertEquals(Color.green(color), Color.green(pixel), tolerance); local 127 assertEquals(Color.blue(color), Color.blue(pixel), tolerance); local
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
CacheManager_CacheResultTest.java | 63 final long tolerance = 5 * 1000; // 5s local 92 (double)tolerance); 99 (double)tolerance);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ |
MirrorModifier.java | 53 modifierData.put("tolerance", modifierStructure.getFieldValue("tolerance"));
92 float tolerance = ((Number) modifierData.get("tolerance")).floatValue();
local 120 if (Math.abs(d) <= tolerance) {
|
/external/webkit/Tools/DumpRenderTree/cg/ |
ImageDiffCG.cpp | 183 float tolerance = 0.0f; local 186 if (!strcmp(argv[i], "-t") || !strcmp(argv[i], "--tolerance")) { 189 tolerance = strtof(argv[i + 1], 0); 223 if (difference <= tolerance)
|
/external/webkit/Tools/DumpRenderTree/gtk/ |
ImageDiff.cpp | 38 static double tolerance = 0; variable 41 { "tolerance", 0, 0, G_OPTION_ARG_DOUBLE, &tolerance, "Percentage difference between images before considering them different", "T" }, 138 if (difference <= tolerance)
|
/external/webkit/Tools/DumpRenderTree/win/ |
ImageDiffCairo.cpp | 186 float tolerance = 0; local 189 if (!strcmp(argv[i], "-t") || !strcmp(argv[i], "--tolerance")) { 192 tolerance = strtof(argv[i + 1], 0); 227 if (difference <= tolerance)
|
/frameworks/base/core/java/android/test/ |
InstrumentationTestCase.java | 175 runCount = method.getAnnotation(FlakyTest.class).tolerance(); 182 final int tolerance = runCount; local 189 runMethod(testMethod, tolerance, repetitive); 204 private void runMethod(Method runMethod, int tolerance) throws Throwable { 205 runMethod(runMethod, tolerance, false); 208 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable { 231 } while ((runCount < tolerance) && (isRepetitive || exception != null));
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
BitmapTest.java | 195 final int tolerance = 1; local 214 assertTrue("red", Math.abs(rr - r1) <= tolerance); 219 assertTrue("green", Math.abs(gg - g1) <= tolerance); 224 assertTrue("blue", Math.abs(bb - b1) <= tolerance);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/sys/ |
timex.h | 44 long int tolerance; /* clock frequency tolerance (ppm) (read only) */ member in struct:timex
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sys/ |
timex.h | 44 long int tolerance; /* clock frequency tolerance (ppm) (read only) */ member in struct:timex
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sys/ |
timex.h | 44 long int tolerance; /* clock frequency tolerance (ppm) (read only) */ member in struct:timex
|
/bionic/libc/kernel/common/linux/ |
timex.h | 52 long tolerance; member in struct:timex
|
/development/ndk/platforms/android-3/include/linux/ |
timex.h | 45 long tolerance; member in struct:timex
|
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/ |
timex.h | 45 long tolerance; member in struct:timex
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
timex.h | 82 * offset and maximum frequency tolerance. 108 long tolerance; /* clock frequency tolerance (ppm) member in struct:timex
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
timex.h | 82 * offset and maximum frequency tolerance. 108 long tolerance; /* clock frequency tolerance (ppm) member in struct:timex
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
timex.h | 82 * offset and maximum frequency tolerance. 108 long tolerance; /* clock frequency tolerance (ppm) member in struct:timex
|
/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/ |
timex.h | 45 long tolerance; member in struct:timex
|