Home
last modified time | relevance | path

Searched refs:scaledAxisEpsilon (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DInputMapperTest.cpp240 float orientation, float distance, float scaledAxisEpsilon) { in assertPointerCoords() argument
241 ASSERT_NEAR(x, coords.getAxisValue(AMOTION_EVENT_AXIS_X), scaledAxisEpsilon); in assertPointerCoords()
242 ASSERT_NEAR(y, coords.getAxisValue(AMOTION_EVENT_AXIS_Y), scaledAxisEpsilon); in assertPointerCoords()
245 ASSERT_NEAR(touchMajor, coords.getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR), scaledAxisEpsilon); in assertPointerCoords()
246 ASSERT_NEAR(touchMinor, coords.getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR), scaledAxisEpsilon); in assertPointerCoords()
247 ASSERT_NEAR(toolMajor, coords.getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR), scaledAxisEpsilon); in assertPointerCoords()
248 ASSERT_NEAR(toolMinor, coords.getAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR), scaledAxisEpsilon); in assertPointerCoords()
DInputMapperTest.h148 float orientation, float distance, float scaledAxisEpsilon = 1.f);