Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.cpp33 constexpr float DEGREE_RADIAN_UNIT = 0.0174533f; variable
47 values[i] *= DEGREE_RADIAN_UNIT; in convertFromLinuxToAndroid()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp3177 static const float DEGREE_RADIAN_UNIT; member in android::SensorInputMapperTest
3199 const float SensorInputMapperTest::DEGREE_RADIAN_UNIT = 0.0174533f; member in android::SensorInputMapperTest
3299 std::vector<float> values = {20000.0f / GYRO_RAW_RESOLUTION * DEGREE_RADIAN_UNIT, in TEST_F()
3300 -20000.0f / GYRO_RAW_RESOLUTION * DEGREE_RADIAN_UNIT, in TEST_F()
3301 40000.0f / GYRO_RAW_RESOLUTION * DEGREE_RADIAN_UNIT}; in TEST_F()