Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DInputEvent_test.cpp594 const float PI_180 = float(M_PI / 180); in TEST_F() local
603 float angle = float(i * ARC * PI_180); in TEST_F()
637 setRotationMatrix(matrix, ROTATION * PI_180); in TEST_F()
642 float angle = float((i * ARC + ROTATION) * PI_180); in TEST_F()
653 ASSERT_NEAR(cosf(PI_180 * ROTATION) * RADIUS, event.getXCursorPosition(), 0.001); in TEST_F()
654 ASSERT_NEAR(sinf(PI_180 * ROTATION) * RADIUS, event.getYCursorPosition(), 0.001); in TEST_F()