Home
last modified time | relevance | path

Searched refs:EPSILON (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DHistoryEvaluator.java29 private static final float EPSILON = 1e-5f; field in HistoryEvaluator
101 return x <= EPSILON && x >= -EPSILON; in isZero()
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
DPathInterpolatorCompat.java60 public static final double EPSILON = 0.00001; field in PathInterpolatorCompat
157 if (abs(mX[0]) > EPSILON || abs(mY[0]) > EPSILON || abs(mX[numPoints - 1] - 1) > EPSILON in initPath()
158 || abs(mY[numPoints - 1] - 1) > EPSILON) { in initPath()
/frameworks/support/wear/src/android/support/wear/widget/
DCurvingLayoutCallback.java32 private static final float EPSILON = 0.001f; field in CurvingLayoutCallback
82 Math.abs(mPathPoints[1] - mCurveBottom) < EPSILON in onLayoutFinished()
85 Math.abs(mPathPoints[1] - mCurveTop) < EPSILON in onLayoutFinished()
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
DPathInterpolatorValueParameterizedTest.java40 private static final float EPSILON = 1e-3f; field in PathInterpolatorValueParameterizedTest
74 assertTrue("value " + value + " is different than expected " + mExpected, delta < EPSILON); in testPathInterpolator()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DStochasticLinearRankerWithPrior.java27 private final float EPSILON = 0.0001f; field in StochasticLinearRankerWithPrior
141 mAutoAlpha = (mPriorRankerPerf + EPSILON) / (mUserRankerPerf + mPriorRankerPerf + EPSILON); in updateAutoAlpha()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp38 static const float EPSILON = 0.001f; variable
1494 ASSERT_NEAR(min, range->min, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange()
1495 ASSERT_NEAR(max, range->max, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange()
1496 ASSERT_NEAR(flat, range->flat, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange()
1497 ASSERT_NEAR(fuzz, range->fuzz, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange()
1506 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON); in assertPointerCoords()
1507 ASSERT_NEAR(size, coords.getAxisValue(AMOTION_EVENT_AXIS_SIZE), EPSILON); in assertPointerCoords()
1512 ASSERT_NEAR(orientation, coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), EPSILON); in assertPointerCoords()
1513 ASSERT_NEAR(distance, coords.getAxisValue(AMOTION_EVENT_AXIS_DISTANCE), EPSILON); in assertPointerCoords()
3235 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
[all …]
/frameworks/base/libs/hwui/
DSpotShadow.cpp66 static const float EPSILON = 1e-7; variable
228 return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) > EPSILON; in ccw()
646 return a >= -EPSILON && b >= -EPSILON; in sameDirections()
648 return a <= EPSILON && b <= EPSILON; in sameDirections()
1059 bool isCCWOrCoLinear = (delta >= EPSILON); in testConvex()
DMatrix.cpp34 static const float EPSILON = 0.0000001f; variable
70 return fabs(f) <= EPSILON; in isZero()
/frameworks/base/core/java/android/widget/
DEdgeEffect.java73 private static final float EPSILON = 0.001f; field in EdgeEffect
365 if (t >= 1.f - EPSILON) { in update()
/frameworks/native/services/surfaceflinger/
DTransform.cpp47 static const float EPSILON = 0.0f; variable
50 return fabs(f) <= EPSILON; in isZero()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java60 private static final float EPSILON = 1e-4f; field in Path_Delegate
692 if (Math.abs(dx) < EPSILON && Math.abs(dy) < EPSILON) { in rLineTo()
/frameworks/native/libs/math/tests/
Dmat_test.cpp373 #define TEST_MATRIX_INVERSE(MATRIX, EPSILON) \ argument
381 EXPECT_NEAR(ident1[row][col], IDENTITY[row][col], EPSILON); \
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaBrowserServiceCompat.java119 private static final float EPSILON = 0.00001f; field in MediaBrowserServiceCompat
702 if (value < -EPSILON || value > 1.0f + EPSILON) { in checkExtraFields()
/frameworks/base/core/java/android/util/
DHalf.java105 public static final @HalfFloat short EPSILON = (short) 0x1400; field in Half
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/base/api/
Dcurrent.txt43079 field public static final short EPSILON = 5120; // 0x1400
Dsystem-current.txt46618 field public static final short EPSILON = 5120; // 0x1400