Lines Matching refs:EPSILON
34 static const float EPSILON = 0.001f; variable
1458 ASSERT_NEAR(min, range->min, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange()
1459 ASSERT_NEAR(max, range->max, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange()
1460 ASSERT_NEAR(flat, range->flat, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange()
1461 ASSERT_NEAR(fuzz, range->fuzz, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange()
1470 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON); in assertPointerCoords()
1471 ASSERT_NEAR(size, coords.getAxisValue(AMOTION_EVENT_AXIS_SIZE), EPSILON); in assertPointerCoords()
1476 ASSERT_NEAR(orientation, coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), EPSILON); in assertPointerCoords()
1477 ASSERT_NEAR(distance, coords.getAxisValue(AMOTION_EVENT_AXIS_DISTANCE), EPSILON); in assertPointerCoords()
2915 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
2916 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
2939 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
2940 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
2962 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
2963 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
3013 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
3014 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
3036 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
3037 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
3079 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
3080 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
3104 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
3105 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
3127 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
3128 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
3911 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
3912 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
3935 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
3936 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
3966 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
3967 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
3996 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
3997 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
4015 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4016 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
4040 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4041 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
4072 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4073 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
4102 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4103 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
4121 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4122 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
4144 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4145 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()