Lines Matching refs:EPSILON
58 static const float EPSILON = 0.001f; variable
2329 ASSERT_NEAR(min, range->min, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange()
2330 ASSERT_NEAR(max, range->max, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange()
2331 ASSERT_NEAR(flat, range->flat, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange()
2332 ASSERT_NEAR(fuzz, range->fuzz, EPSILON) << "Axis: " << axis << " Source: " << source; in assertMotionRange()
2341 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON); in assertPointerCoords()
2342 ASSERT_NEAR(size, coords.getAxisValue(AMOTION_EVENT_AXIS_SIZE), EPSILON); in assertPointerCoords()
2347 ASSERT_NEAR(orientation, coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), EPSILON); in assertPointerCoords()
2348 ASSERT_NEAR(distance, coords.getAxisValue(AMOTION_EVENT_AXIS_DISTANCE), EPSILON); in assertPointerCoords()
4282 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4283 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
4306 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4307 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
4329 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4330 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
4379 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4380 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
4402 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4403 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
4448 ASSERT_NEAR(X_PRECISION_VIRTUAL, motionArgs.xPrecision, EPSILON); in TEST_F()
4449 ASSERT_NEAR(Y_PRECISION_VIRTUAL, motionArgs.yPrecision, EPSILON); in TEST_F()
4475 ASSERT_NEAR(X_PRECISION_VIRTUAL, motionArgs.xPrecision, EPSILON); in TEST_F()
4476 ASSERT_NEAR(Y_PRECISION_VIRTUAL, motionArgs.yPrecision, EPSILON); in TEST_F()
4500 ASSERT_NEAR(X_PRECISION_VIRTUAL, motionArgs.xPrecision, EPSILON); in TEST_F()
4501 ASSERT_NEAR(Y_PRECISION_VIRTUAL, motionArgs.yPrecision, EPSILON); in TEST_F()
4542 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4543 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
4567 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4568 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
4590 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4591 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
5439 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
5440 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
5463 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
5464 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
5494 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
5495 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
5524 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
5525 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
5543 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
5544 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
5568 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
5569 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
5600 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
5601 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
5630 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
5631 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
5649 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
5650 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()
5672 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
5673 ASSERT_NEAR(Y_PRECISION, motionArgs.yPrecision, EPSILON); in TEST_F()