Home | History | Annotate | Download | only in tests

Lines Matching refs:EPSILON

34 static const float EPSILON = 0.001f;
1440 ASSERT_NEAR(min, range->min, EPSILON) << "Axis: " << axis << " Source: " << source;
1441 ASSERT_NEAR(max, range->max, EPSILON) << "Axis: " << axis << " Source: " << source;
1442 ASSERT_NEAR(flat, range->flat, EPSILON) << "Axis: " << axis << " Source: " << source;
1443 ASSERT_NEAR(fuzz, range->fuzz, EPSILON) << "Axis: " << axis << " Source: " << source;
1452 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON);
1453 ASSERT_NEAR(size, coords.getAxisValue(AMOTION_EVENT_AXIS_SIZE), EPSILON);
1458 ASSERT_NEAR(orientation, coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), EPSILON);
1459 ASSERT_NEAR(distance, coords.getAxisValue(AMOTION_EVENT_AXIS_DISTANCE), EPSILON);
2877 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
2878 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
2901 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
2902 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
2924 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
2925 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
2975 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
2976 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
2998 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
2999 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3041 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3042 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3066 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3067 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3089 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3090 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3849 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3850 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3873 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3874 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3904 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3905 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3934 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3935 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3953 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3954 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3978 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3979 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
4010 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
4011 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
4040 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
4041 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
4059 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
4060 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
4082 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
4083 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);