OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TOLERANCE
(Results
26 - 43
of
43
) sorted by null
1
2
/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
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
...]
/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/widget/src/android/widget/cts/
ScrollViewTest.java
51
private static final int
TOLERANCE
= 2;
281
assertEquals(mScrollBottom, mScrollView.getScrollY(),
TOLERANCE
);
300
assertEquals(mScrollBottom, mScrollView.getScrollY(),
TOLERANCE
);
360
assertEquals(mPageHeight, mScrollView.getScrollY(),
TOLERANCE
);
363
assertEquals(mPageHeight * 2, mScrollView.getScrollY(),
TOLERANCE
);
367
assertEquals(mScrollBottom, mScrollView.getScrollY(),
TOLERANCE
);
370
assertEquals(mScrollBottom - mPageHeight, mScrollView.getScrollY(),
TOLERANCE
);
373
assertEquals(mScrollBottom -mPageHeight * 2, mScrollView.getScrollY(),
TOLERANCE
);
491
mScrollView.computeVerticalScrollRange(),
TOLERANCE
);
/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
);
/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/skia/legacy/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/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/ceres-solver/internal/ceres/
types.cc
169
CASESTR(
TOLERANCE
);
sparse_normal_cholesky_solver.cc
147
summary.termination_type =
TOLERANCE
;
228
summary.termination_type =
TOLERANCE
;
schur_complement_solver.cc
95
summary.termination_type =
TOLERANCE
;
dogleg_strategy.cc
101
summary.termination_type =
TOLERANCE
;
/cts/tests/tests/app/src/android/app/cts/
NotificationTest.java
37
private static final int
TOLERANCE
= 200;
50
assertTrue(System.currentTimeMillis() - mNotification.when <
TOLERANCE
);
/cts/tests/tests/telephony/src/android/telephony/cts/
TelephonyManagerTest.java
40
private static final int
TOLERANCE
= 1000;
118
mLock.wait(
TOLERANCE
);
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.2.1.js
39
var
TOLERANCE
= 1000;
/external/skia/legacy/src/core/
SkEdgeClipper.cpp
236
const SkScalar
TOLERANCE
= SK_Scalar1 / 4096;
250
if (delta <
TOLERANCE
) {
/external/skia/src/core/
SkEdgeClipper.cpp
244
const SkScalar
TOLERANCE
= SK_Scalar1 / 4096;
262
if (delta <
TOLERANCE
) {
SkPath.cpp
[
all
...]
Completed in 1609 milliseconds
1
2