/external/opencv/cvaux/src/ |
_cvvm.h | 58 /* Epsilon and real zero */ 59 #define EPSILON 1.e-4 60 //#define REAL_ZERO(x) ( (x) < EPSILON && (x) > -EPSILON)
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
MatrixUtilsTests.java | 28 private static final float EPSILON = 0.00001f; 31 assertEqualsFloat(f0, f1, EPSILON);
|
/external/replicaisland/src/com/replica/replicaisland/ |
Utils.java | 21 private static final float EPSILON = 0.0001f; 24 return close(a, b, EPSILON); 27 public final static boolean close(float a, float b, float epsilon) { 28 return Math.abs(a - b) < epsilon;
|
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/ |
normal_distribution_2d_test.cpp | 51 static const float EPSILON = 0.01f; 62 EXPECT_NEAR(probabilityDensity0, probabilityDensity1, EPSILON);
|
/external/fonttools/Lib/fontTools/pens/ |
pointInsidePen.py | 15 EPSILON = 1e-10 16 ONE_PLUS_EPSILON = 1 + EPSILON 17 ZERO_MINUS_EPSILON = 0 - EPSILON
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/graphics/ |
ParticleEmitterBox2D.java | 46 private final static float EPSILON = 0.001f; 104 /** If velocities squares summed is shorter than Epsilon it could lead ~0 length rayCast that cause nasty c++ assertion 106 if ((velocityX * velocityX + velocityY * velocityY) < EPSILON) return;
|
/external/opencv3/modules/video/test/ |
test_kalman.cpp | 68 const double EPSILON = 1.000; 113 code = cvtest::cmpEps2( ts, _Sample, _state_post, EPSILON, false, "The final estimated state" );
|
/packages/apps/Camera2/src/com/android/camera/ui/motion/ |
DampedSpring.java | 27 public static final float EPSILON = 0.01f; 132 boolean hasVelocity = Math.abs(mVelocity) >= EPSILON; 133 boolean atTarget = Math.abs(mTarget - mValue) < EPSILON;
|
UnitBezier.java | 31 private static final float EPSILON = 1e-6f; 82 if (Math.abs(value) < EPSILON) { 86 if (Math.abs(derivative) < EPSILON) { 106 if (Math.abs(value - target) < EPSILON) {
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
MathUtils.java | 35 /** Smallest positive number such that 1 - EPSILON is not numerically equal to 1. */ 36 public static final double EPSILON = 0x1.0p-53; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
HistoryEvaluator.java | 29 private static final float EPSILON = 1e-5f; 101 return x <= EPSILON && x >= -EPSILON;
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
Label.java | 36 * tokens. It can be an epsilon transition. It can be a semantic predicate 37 * (which assumes an epsilon transition) or a tree of predicates (in a DFA). 45 public static final int EPSILON = -5; 47 public static final String EPSILON_STR = "<EPSILON>"; 49 /** label is a semantic predicate; implies label is epsilon also */ 75 /** We have labels like EPSILON that are below 0; it's hard to 194 return label==EPSILON; 283 // labels must be the same even if epsilon or set or sempred etc...
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/ |
Settings.java | 32 /** A "close to zero" float epsilon value for use */ 33 public static final float EPSILON = 1.1920928955078125E-7f;
|
/external/libvorbis/lib/ |
lsp.c | 309 #define EPSILON 10e-7 337 if(denom<EPSILON)denom=EPSILON; 340 if(denom>-(EPSILON))denom=-(EPSILON);
|
/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ |
PnPProblem.cpp | 263 const double EPSILON = 0.000001; 288 if(det > -EPSILON && det < EPSILON) return false; 311 if(t > EPSILON) { //ray intersection
|
/frameworks/base/libs/hwui/ |
Matrix.cpp | 34 static const float EPSILON = 0.0000001f; 70 return fabs(f) <= EPSILON;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
StochasticLinearRankerWithPrior.java | 27 private final float EPSILON = 0.0001f; 141 mAutoAlpha = (mPriorRankerPerf + EPSILON) / (mUserRankerPerf + mPriorRankerPerf + EPSILON);
|
/frameworks/native/services/surfaceflinger/ |
Transform.cpp | 47 static const float EPSILON = 0.0f; 50 return fabs(f) <= EPSILON;
|
/external/eigen/unsupported/Eigen/src/SVD/ |
BDCSVD.h | 21 #define EPSILON 0.0000000000000001 534 // i,j >= 1, i != j and |di - dj| < epsilon * norm2(M) 579 RealScalar EPS = EPSILON * (std::max<RealScalar>(m_computed(firstCol + shift + 1, firstCol + shift + 1), m_computed(firstCol + k, firstCol + k)));
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
DelaunayTriangulator.java | 27 static private final float EPSILON = 0.000001f;
230 if (y1y2 < EPSILON) {
231 if (y2y3 < EPSILON) return INCOMPLETE;
241 if (y2y3 < EPSILON) {
260 if (dx + dy * dy - rsqr <= EPSILON) return INSIDE;
|
/external/libopus/celt/ |
arch.h | 103 #define EPSILON 1 144 #define EPSILON 1e-15f
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
LauncherEdgeEffect.java | 53 private static final float EPSILON = 0.001f; 330 if (t >= 1.f - EPSILON) {
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
RateLimiterTest.java | 49 private static final double EPSILON = 1e-8; 128 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00 130 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00, ...which is granted immediately 131 assertEquals(0.2, limiter.acquire(), EPSILON); // R0.20 137 assertEquals(0.0, limiter.acquire(), EPSILON); 139 assertEquals(0.0, limiter.acquire(), EPSILON); 140 assertEquals(0.0, limiter.acquire(), EPSILON); 141 assertEquals(0.2, limiter.acquire(), EPSILON);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneAliasTest.java | 161 static private final long EPSILON = HOUR/4; 280 while (low - high > EPSILON) {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneAliasTest.java | 157 static private final long EPSILON = HOUR/4; 276 while (low - high > EPSILON) {
|