/frameworks/base/graphics/java/android/graphics/ |
H A D | AvoidXfermode.java | 42 * There are two modes, and each mode interprets a tolerance value. 54 public AvoidXfermode(int opColor, int tolerance, Mode mode) { argument 55 if (tolerance < 0 || tolerance > 255) { 56 throw new IllegalArgumentException("tolerance must be 0..255");
|
/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/tools/aapt/ |
H A D | Main.cpp | 61 " [-0 extension [-0 extension ...]] [-g tolerance] [-j jarfile] \\\n" 113 " -g specify a pixel tolerance to force images to grayscale, default 0\n" 266 int tolerance = 0; local 338 tolerance = atoi(argv[0]); 339 bundle.setGrayscaleTolerance(tolerance); 340 printf("%s: Images with deviation <= %d will be forced to grayscale.\n", prog, tolerance);
|
/frameworks/base/core/java/android/test/ |
H A D | InstrumentationTestCase.java | 181 runCount = method.getAnnotation(FlakyTest.class).tolerance(); 188 final int tolerance = runCount; 195 runMethod(testMethod, tolerance, repetitive); 210 private void runMethod(Method runMethod, int tolerance) throws Throwable { argument 211 runMethod(runMethod, tolerance, false); 214 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable { argument 237 } while ((runCount < tolerance) && (isRepetitive || exception != null));
|
/frameworks/base/media/jni/ |
H A D | android_media_SyncParams.h | 41 jfieldID tolerance; member in struct:android::SyncParams::fields_t
|
/frameworks/base/media/java/android/media/ |
H A D | SyncParams.java | 52 * <p> <strong>tolerance:</strong> specifies the amount of allowed playback rate 73 * surface that directly renders to a display, and tolerance is non zero (e.g. not 99 * When using this mode, the tolerance should be set to greater than 0 (e.g. at least 104 * better playback experience on most devices. In this case the tolerance should be 230 * Sets the tolerance. The default tolerance is platform specific, but is never more than 1/24. 231 * @param tolerance A non-negative number representing 235 * @throws InvalidArgumentException if the tolerance is negative, or not less than one 237 public SyncParams setTolerance(float tolerance) { argument 238 if (tolerance < [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | Vector3Test.java | 28 private static final float tolerance = 1.0f / (1 << 12); field in class:Vector3Test 47 return Math.abs(a - b) <= tolerance;
|
/frameworks/native/libs/gui/tests/ |
H A D | GLTest.cpp | 176 int r, int g, int b, int a, int tolerance) { 188 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) { 191 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) { 197 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) { 203 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) { 217 int tolerance) { 220 if (abs(r1.left - r2.left) > tolerance) { 223 if (abs(r1.top - r2.top) > tolerance) { 229 if (abs(r1.right - r2.right) > tolerance) { 235 if (abs(r1.bottom - r2.bottom) > tolerance) { 175 checkPixel(int x, int y, int r, int g, int b, int a, int tolerance) argument 216 assertRectEq(const Rect &r1, const Rect &r2, int tolerance) 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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraErrorCollector.java | 285 * Check if the two float values are equal with given error tolerance. 290 * @param tolerance The error margin for the equality check. 293 public <T> boolean expectEquals(String msg, float expected, float actual, float tolerance) { argument 298 if (!(Math.abs(expected - actual) <= tolerance)) { 299 addMessage(String.format("%s (expected = %s, actual = %s, tolerance = %s) ", msg, 300 expected, actual, tolerance)); 308 * Check if the two double values are equal with given error tolerance. 313 * @param tolerance The error margin for the equality check 316 public <T> boolean expectEquals(String msg, double expected, double actual, double tolerance) { argument 321 if (!(Math.abs(expected - actual) <= tolerance)) { [all...] |
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 288 int g, int b, int a, int tolerance=2) { 302 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) { 305 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) { 311 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) { 317 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) { 287 checkPixel(int x, int y, int r, int g, int b, int a, int tolerance=2) argument
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |