/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/tests/coretests/src/android/app/activity/ |
BroadcastTest.java | 233 @FlakyTest(tolerance=2) 250 @FlakyTest(tolerance=2) 255 @FlakyTest(tolerance=2) 350 @FlakyTest(tolerance=2) 360 @FlakyTest(tolerance=2)
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaRecorderTest.java | 46 private static final float TOLERANCE = 0.0002f; 263 // Make sure the tolerance is very small - due to rounding errors?. 276 assertTrue("Incorrect latitude: " + latitude, Math.abs(latitude - LATITUDE) <= TOLERANCE); 277 assertTrue("Incorrect longitude: " + longitude, Math.abs(longitude - LONGITUDE) <= TOLERANCE); 400 private void checkRecordedTime(long expectedMs, long actualMs, long tolerance) { 401 assertEquals(expectedMs, actualMs, tolerance); 403 assertEquals(actualFileDurationMs, actualMs, tolerance); 422 long fileSize, long tolerance) throws Exception { 441 checkOutputFileSize(OUTPUT_PATH, fileSize, tolerance); 444 private void checkOutputFileSize(final String fileName, long fileSize, long tolerance) { [all...] |
MediaPlayerTest.java | 90 final int tolerance = 70; local 107 assertEquals(mp3Duration, mp.getDuration(), tolerance); 113 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance); 424 final int tolerance = 150; 446 assertEquals(posAfter, posBefore, tolerance); 454 assertEquals(seekPos, posAfter, tolerance + audioLatencyTolerance); 460 assertEquals(posAfter, posBefore, tolerance); 469 assertEquals(posAfter, posBefore, tolerance); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropObject.java | 109 public void setTouchTolerance(float tolerance) { 110 if (tolerance <= 0) { 111 throw new IllegalArgumentException("Tolerance must be greater than zero"); 113 mTouchTolerance = tolerance;
|
/external/kernel-headers/original/linux/ |
timex.h | 87 * offset and maximum frequency tolerance. 115 long tolerance; /* clock frequency tolerance (ppm) member in struct:timex 211 extern long time_tolerance; /* frequency tolerance (ppm) */
|
compat.h | 56 compat_long_t tolerance; member in struct:compat_timex
|
/frameworks/av/libvideoeditor/vss/common/inc/ |
M4DECODER_Common.h | 338 * @param tolerance: (IN) We may decode an earlier frame within the tolerance. 347 M4OSA_Bool bJump, M4OSA_UInt32 tolerance);
|
/external/eigen/Eigen/src/SparseCore/ |
SparseProduct.h | 102 EIGEN_STRONG_INLINE SparseSparseProduct(const Lhs& lhs, const Rhs& rhs, RealScalar tolerance) 103 : m_lhs(lhs), m_rhs(rhs), m_tolerance(tolerance), m_conservative(false)
|
/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/skia/tests/ |
Matrix44Test.cpp | 12 const double tolerance = 1e-7; local 16 return diff <= tolerance; 23 const SkScalar tolerance = SK_Scalar1 / 200000; local 25 const SkScalar tolerance = SK_Scalar1 / 1024; 28 return SkTAbs<SkMScalar>(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; 295 * issue, i.e. the way we use tolerance in isSimilarityTransformation
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListManagedCursorTest.java | 113 @FlakyTest(tolerance=3)
|
/frameworks/av/media/libstagefright/tests/ |
SurfaceMediaSource_test.cpp | 291 int g, int b, int a, int tolerance=2) { 305 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) { 308 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) { 314 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) { 320 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) { [all...] |
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
LoopBlinnMathUtils.cpp | 215 bool nearlyZero(float x, float tolerance = NearlyZeroConstant) 217 ASSERT(tolerance > 0.0f); 218 return ::fabsf(x) < tolerance;
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
webkit.py | 125 if self.get_option('tolerance') is not None: 126 tolerance = self.get_option('tolerance') 128 tolerance = 0.1 129 command = [self._path_to_image_diff(), '--tolerance', str(tolerance)]
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/ |
rebaseline_chromium_webkit_tests_unittest.py | 176 self.assertEqual(options.tolerance, 0) 180 self.assertEqual(options.tolerance, 0)
|
/frameworks/base/media/jni/mediaeditor/ |
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);
|
/frameworks/native/services/sensorservice/ |
mat.h | 308 static bool isPositiveSemidefinite(const mat<TYPE, C, C>& m, TYPE tolerance) { 315 if (fabs(m[i][j] - m[j][i]) > tolerance)
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
TangentBinormalGenerator.java | 384 float tolerance = 1E-4f; local 385 return (FastMath.abs(u.x - v.x) < tolerance) && 386 (FastMath.abs(u.y - v.y) < tolerance) && 387 (FastMath.abs(u.z - v.z) < tolerance); 472 "Angle between tangents exceeds tolerance " 482 "Angle between binormals exceeds tolerance "
|
/external/strace/ |
time.c | 571 int tolerance; member in struct:__anon15676 595 tprintf("tolerance=%d, time=", tx.tolerance); 627 tprintf("tolerance=%ld, time=", tx.tolerance); 638 tprintf("tolerance=%ld, time=", tx.tolerance);
|
/frameworks/av/libvideoeditor/vss/src/ |
M4DECODER_Null.c | 298 M4OSA_UInt32 tolerance) {
|
/frameworks/native/libs/gui/tests/ |
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) { [all...] |
/external/webkit/Tools/Scripts/ |
old-run-webkit-tests | 171 my $tolerance = 0; 216 $tolerance = 1.0; 219 $tolerance = 0.1; 222 $tolerance = 0.1; 298 --tolerance t Ignore image differences less than this percentage (default: $tolerance) 364 'tolerance=f' => \$tolerance, 480 print "Enabling pixel tests with a tolerance of $tolerance%\n" [all...] |
/external/eigen/Eigen/src/Cholesky/ |
LDLT.h | 501 RealScalar tolerance = (max)(vectorD.array().abs().maxCoeff() * NumTraits<Scalar>::epsilon(), local 504 if(abs(vectorD(i)) > tolerance)
|