• Home
  • Raw
  • Download

Lines Matching refs:EPSILON

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