Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.cpp32 constexpr float GRAVITY_MS2_UNIT = 9.80665f; variable
44 values[i] *= GRAVITY_MS2_UNIT; in convertFromLinuxToAndroid()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp3176 static const float GRAVITY_MS2_UNIT; member in android::SensorInputMapperTest
3198 const float SensorInputMapperTest::GRAVITY_MS2_UNIT = 9.80665f; member in android::SensorInputMapperTest
3269 std::vector<float> values = {20000.0f / ACCEL_RAW_RESOLUTION * GRAVITY_MS2_UNIT, in TEST_F()
3270 -20000.0f / ACCEL_RAW_RESOLUTION * GRAVITY_MS2_UNIT, in TEST_F()
3271 40000.0f / ACCEL_RAW_RESOLUTION * GRAVITY_MS2_UNIT}; in TEST_F()