Searched refs:vec3 (Results 1 – 3 of 3) sorted by relevance
/device/google/cuttlefish/guest/commands/sensor_injection/ |
D | main.cpp | 85 Event::EventPayload::Vec3 vec3; in InjectOrientation() local 87 vec3.x = 9.2 * std::sin(rad); in InjectOrientation() 88 vec3.y = 9.2 * std::cos(rad); in InjectOrientation() 91 vec3.z = 3.5; in InjectOrientation() 92 vec3.status = SensorStatus::ACCURACY_HIGH; in InjectOrientation() 93 event.payload.set<Event::EventPayload::Tag::vec3>(vec3); in InjectOrientation() 117 Event::EventPayload::Vec3 vec3; in InjectAccelerometer() local 118 vec3.x = x; in InjectAccelerometer() 119 vec3.y = y; in InjectAccelerometer() 120 vec3.z = z; in InjectAccelerometer() [all …]
|
/device/generic/goldfish/sensors/ |
D | multihal_sensors_qemu.cpp | 127 ahs10::Vec3* vec3 = &payload->vec3; in parseQemuSensorEventLocked() local 131 &vec3->x, &vec3->y, &vec3->z) == 3) { in parseQemuSensorEventLocked() 132 vec3->status = SensorStatus::ACCURACY_MEDIUM; in parseQemuSensorEventLocked() 154 &vec3->x, &vec3->y, &vec3->z) == 3) { in parseQemuSensorEventLocked() 155 vec3->status = SensorStatus::ACCURACY_MEDIUM; in parseQemuSensorEventLocked() 181 &vec3->x, &vec3->y, &vec3->z) == 3) { in parseQemuSensorEventLocked() 182 vec3->status = SensorStatus::ACCURACY_HIGH; in parseQemuSensorEventLocked() 191 &vec3->x, &vec3->y, &vec3->z) == 3) { in parseQemuSensorEventLocked() 192 vec3->status = SensorStatus::ACCURACY_HIGH; in parseQemuSensorEventLocked()
|
/device/google/trout/hal/sensors/2.1/ |
D | Sensor.cpp | 181 evt->u.vec3.x = getChannelData(channelData, mXMap, mXNegate); in processScanData() 182 evt->u.vec3.y = getChannelData(channelData, mYMap, mYNegate); in processScanData() 183 evt->u.vec3.z = getChannelData(channelData, mZMap, mZNegate); in processScanData() 184 evt->u.vec3.status = SensorStatus::ACCURACY_HIGH; in processScanData()
|