Searched refs:EPSILON (Results 1 – 7 of 7) sorted by relevance
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | StochasticLinearRankerWithPrior.java | 27 private final float EPSILON = 0.0001f; field in StochasticLinearRankerWithPrior 141 mAutoAlpha = (mPriorRankerPerf + EPSILON) / (mUserRankerPerf + mPriorRankerPerf + EPSILON); in updateAutoAlpha()
|
/frameworks/base/libs/hwui/ |
D | SpotShadow.cpp | 63 static const double EPSILON = 1e-7; variable 222 return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) > EPSILON; in ccw() 301 if (delta.lengthSquared() < EPSILON) { in intersection() 334 if (delta.lengthSquared() >= EPSILON) { in intersection() 519 if (((x - x1) * (x - x2) > EPSILON) in lineIntersection() 520 || ((x - x3) * (x - x4) > EPSILON) in lineIntersection() 521 || ((y - y1) * (y - y2) > EPSILON) in lineIntersection() 522 || ((y - y3) * (y - y4) > EPSILON)) { in lineIntersection() 813 int rayIndex = floor((startAngle - EPSILON) / step); in convertPolyToRayDist() 829 int firstRayIndexOnNextSegment = floor((currentAngle - EPSILON) / step); in convertPolyToRayDist() [all …]
|
D | Matrix.cpp | 36 static const float EPSILON = 0.0000001f; variable 72 return fabs(f) <= EPSILON; in isZero()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 34 static const float EPSILON = 0.001f; variable 1450 ASSERT_NEAR(min, range->min, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange() 1451 ASSERT_NEAR(max, range->max, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange() 1452 ASSERT_NEAR(flat, range->flat, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange() 1453 ASSERT_NEAR(fuzz, range->fuzz, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange() 1462 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON); in assertPointerCoords() 1463 ASSERT_NEAR(size, coords.getAxisValue(AMOTION_EVENT_AXIS_SIZE), EPSILON); in assertPointerCoords() 1468 ASSERT_NEAR(orientation, coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), EPSILON); in assertPointerCoords() 1469 ASSERT_NEAR(distance, coords.getAxisValue(AMOTION_EVENT_AXIS_DISTANCE), EPSILON); in assertPointerCoords() 2907 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | EdgeEffect.java | 74 private static final float EPSILON = 0.001f; field in EdgeEffect 365 if (t >= 1.f - EPSILON) { in update()
|
/frameworks/native/services/surfaceflinger/ |
D | Transform.cpp | 47 static const float EPSILON = 0.0f; variable 50 return fabs(f) <= EPSILON; in isZero()
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_motion.jd | 384 // (that is, EPSILON should represent your maximum allowable margin of error) 385 if (omegaMagnitude > EPSILON) {
|