Searched refs:VELOCITY_TOLERANCE (Results 1 - 1 of 1) sorted by relevance

/frameworks/native/libs/input/tests/
H A DVelocityTracker_test.cpp32 // here EV = expected value, tol = VELOCITY_TOLERANCE
33 constexpr float VELOCITY_TOLERANCE = 0.2; member in namespace:android
46 const float Vlower = fabsf(Vtarget * (1 - VELOCITY_TOLERANCE));
47 const float Vupper = fabsf(Vtarget * (1 + VELOCITY_TOLERANCE));
50 Vactual, VELOCITY_TOLERANCE * 100, Vtarget);
54 Vactual, VELOCITY_TOLERANCE * 100, Vtarget);
57 Vactual, VELOCITY_TOLERANCE * 100, Vtarget);

Completed in 61 milliseconds