HomeSort by relevance Sort by last modified time
    Searched full:tolerance (Results 76 - 100 of 198) sorted by null

1 2 34 5 6 7 8

  /cts/tests/tests/graphics/src/android/graphics/cts/
InterpolatorTest.java 27 private static final float TOLERANCE = 0.1f;
65 // deviate more than TOLERANCE
263 assertEquals(expected, values[0], TOLERANCE);
276 assertEquals(expected, values[0], TOLERANCE);
282 assertEquals(expected[i], actual[i], TOLERANCE);
PaintFlagsDrawFilterTest.java 105 // underline is roughly the same length at the text (5% tolerance)
  /external/opencv/cv/src/
cvcamshift.cpp 170 const int TOLERANCE = 10;
193 windowIn.x -= TOLERANCE;
197 windowIn.y -= TOLERANCE;
201 windowIn.width += 2 * TOLERANCE;
205 windowIn.height += 2 * TOLERANCE;
  /cts/tests/tests/media/src/android/media/cts/
EqualizerTest.java 35 private final static float TOLERANCE = 100; // +/-1dB
97 // allow +/- TOLERANCE margin on actual level compared to requested level
99 (level >= (levelRange[1] - TOLERANCE)) &&
100 (level <= (levelRange[1] + TOLERANCE)));
180 (settings.bandLevels[0] >= (newLevel - TOLERANCE)) &&
181 (settings.bandLevels[0] <= (newLevel + TOLERANCE)));
MediaRecorderTest.java 44 private static final float TOLERANCE = 0.0002f;
238 // Make sure the tolerance is very small - due to rounding errors?.
251 assertTrue("Incorrect latitude: " + latitude, Math.abs(latitude - LATITUDE) <= TOLERANCE);
252 assertTrue("Incorrect longitude: " + longitude, Math.abs(longitude - LONGITUDE) <= TOLERANCE);
MediaPlayerTest.java 80 final int tolerance = 70; local
97 assertEquals(mp3Duration, mp.getDuration(), tolerance);
103 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance);
332 final int tolerance = 150;
354 assertEquals(posAfter, posBefore, tolerance);
362 assertEquals(seekPos, posAfter, tolerance + audioLatencyTolerance);
368 assertEquals(posAfter, posBefore, tolerance);
377 assertEquals(posAfter, posBefore, tolerance);
  /external/skia/include/core/
SkFixed.h 159 inline bool SkFixedNearlyZero(SkFixed x, SkFixed tolerance = SK_FixedNearlyZero)
161 SkASSERT(tolerance > 0);
162 return SkAbs32(x) < tolerance;
  /external/skia/tests/
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/graphics/src/android/graphics/drawable/cts/
AnimationDrawableTest.java 44 private static final long TOLERANCE = 500;
373 new PollingCheck(timeout + TOLERANCE) {
383 * Assert animation had been stopped. It will sleep duration + TOLERANCE milliseconds and
389 Thread.sleep(duration + 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) */
  /external/llvm/lib/Support/
FileUtilities.cpp 139 // Check to see if these are inside the absolute tolerance
141 // Nope, check the relative tolerance...
154 << "Out of tolerance: rel/abs: " << RelTolerance << '/'
232 *Error = "Files differ without tolerance allowance";
  /external/skia/src/views/
SkTouchGesture.cpp 41 const SkScalar TOLERANCE = SkDoubleToScalar(0.15);
42 if (SkScalarAbs(unit->fX) < TOLERANCE) {
45 } else if (SkScalarAbs(unit->fY) < TOLERANCE) {
221 // GrPrintf("--- drop touchMove, withing jitter tolerance %g %g\n", rec.fLastX - x, rec.fLastY - y);
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.2.2-6.js 38 var TOLERANCE = 100;
15.9.2.2-4.js 38 var TOLERANCE = 100;
15.9.2.2-5.js 38 var TOLERANCE = 100;
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
AvoidXfermode_Delegate.java 64 /*package*/ static int nativeCreate(int opColor, int tolerance, int nativeMode) {
  /cts/tests/tests/app/src/android/app/cts/
NotificationTest.java 37 private static final int TOLERANCE = 200;
50 assertTrue(System.currentTimeMillis() - mNotification.when < 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
  /frameworks/base/core/tests/coretests/src/android/app/activity/
BroadcastTest.java 232 @FlakyTest(tolerance=2)
249 @FlakyTest(tolerance=2)
254 @FlakyTest(tolerance=2)
349 @FlakyTest(tolerance=2)
359 @FlakyTest(tolerance=2)
  /external/strace/
time.c 571 int tolerance; member in struct:__anon12873
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/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);
  /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);
  /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 "

Completed in 1496 milliseconds

1 2 34 5 6 7 8