/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
|
/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...] |
/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/libvorbis/lib/ |
lsp.c | 309 #define EPSILON 10e-7 337 if(denom<EPSILON)denom=EPSILON; 340 if(denom>-(EPSILON))denom=-(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/guava/guava-tests/test/com/google/common/util/concurrent/ |
RateLimiterTest.java | 36 private static final double EPSILON = 1e-8; 86 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00 88 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00, ...which is granted immediately 89 assertEquals(0.2, limiter.acquire(), EPSILON); // R0.20
|
/external/libopus/celt/ |
arch.h | 103 #define EPSILON 1 144 #define EPSILON 1e-15f
|
/frameworks/base/libs/hwui/ |
Matrix.cpp | 36 static const float EPSILON = 0.0000001f; 72 return fabs(f) <= EPSILON;
|
SpotShadow.cpp | 68 static const float EPSILON = 1e-7; 230 return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) > EPSILON; 659 // Allow some epsilon here since the later ray intersection did allow for some small 663 return a >= -EPSILON && b >= -EPSILON; 665 return a <= EPSILON && b <= EPSILON; 799 // Normalize these vectors such that we can use epsilon comparison after [all...] |
/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/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) {
|
/frameworks/base/core/java/android/widget/ |
EdgeEffect.java | 74 private static final float EPSILON = 0.001f; 366 if (t >= 1.f - EPSILON) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
EdgeEffect.java | 82 private static final float EPSILON = 0.001f; 359 if (t >= 1.f - EPSILON) {
|
/external/libxml2/os400/iconv/bldcsndfa/ |
bldcsndfa.c | 57 #define EPSILON 0x100 /* Token for empty transition. */ 677 uniquetransition(EPSILON, t, final); [all...] |
/frameworks/native/services/inputflinger/tests/ |
InputReader_test.cpp | 34 static const float EPSILON = 0.001f; [all...] |
/external/antlr/antlr-3.4/lib/ |
antlr-3.4-complete.jar | |
/prebuilts/misc/common/antlr/ |
antlr-3.4-complete.jar | |