Home
last modified time | relevance | path

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

/device/generic/goldfish/sensors/
Dmultihal_sensors_qemu.cpp128 ahs10::Uncal* uncal = &payload->uncal; in parseQemuSensorEventLocked() local
141 &uncal->x, &uncal->y, &uncal->z) == 3) { in parseQemuSensorEventLocked()
143 uncal->x_bias = randomError(-0.003f, 0.003f); in parseQemuSensorEventLocked()
144 uncal->y_bias = randomError(-0.003f, 0.003f); in parseQemuSensorEventLocked()
145 uncal->z_bias = randomError(-0.003f, 0.003f); in parseQemuSensorEventLocked()
164 &uncal->x, &uncal->y, &uncal->z) == 3) { in parseQemuSensorEventLocked()
166 uncal->x += randomError(0.00005f, 0.001f); in parseQemuSensorEventLocked()
167 uncal->y += randomError(0.00005f, 0.001f); in parseQemuSensorEventLocked()
168 uncal->z += randomError(0.00005f, 0.001f); in parseQemuSensorEventLocked()
170 uncal->x_bias = randomError(-0.0003f, 0.0003f); in parseQemuSensorEventLocked()
[all …]