Lines Matching refs:EPSILON
34 static const float EPSILON = 0.001f;
1450 ASSERT_NEAR(min, range->min, EPSILON) << "Axis: " << axis << " Source: " << source;
1451 ASSERT_NEAR(max, range->max, EPSILON) << "Axis: " << axis << " Source: " << source;
1452 ASSERT_NEAR(flat, range->flat, EPSILON) << "Axis: " << axis << " Source: " << source;
1453 ASSERT_NEAR(fuzz, range->fuzz, EPSILON) << "Axis: " << axis << " Source: " << source;
1462 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON);
1463 ASSERT_NEAR(size, coords.getAxisValue(AMOTION_EVENT_AXIS_SIZE), EPSILON);
1468 ASSERT_NEAR(orientation, coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), EPSILON);
1469 ASSERT_NEAR(distance, coords.getAxisValue(AMOTION_EVENT_AXIS_DISTANCE), EPSILON);
2907 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
2908 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
2931 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
2932 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
2954 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
2955 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3005 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3006 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3028 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3029 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3071 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3072 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3096 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3097 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3119 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3120 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3903 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3904 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3927 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3928 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3958 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3959 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
3988 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
3989 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
4007 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
4008 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
4032 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
4033 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
4064 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
4065 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
4094 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
4095 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
4113 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
4114 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);
4136 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON);
4137 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON);