Searched refs:EPSILON (Results 1 - 15 of 15) sorted by relevance

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

Completed in 356 milliseconds