Home
last modified time | relevance | path

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

/hardware/ti/omap4xxx/camera/
DSensorListener.cpp46 ASensorEvent sen_events[8]; in sensor_events_listener() local
47 while ((num_sensors = listener->mSensorEventQueue->read(sen_events, 8)) > 0) { in sensor_events_listener()
49 if (sen_events[i].type == Sensor::TYPE_ACCELEROMETER) { in sensor_events_listener()
50 float x = sen_events[i].vector.azimuth; in sensor_events_listener()
51 float y = sen_events[i].vector.pitch; in sensor_events_listener()
52 float z = sen_events[i].vector.roll; in sensor_events_listener()
58 sen_events[i].vector.azimuth, in sensor_events_listener()
59 sen_events[i].vector.pitch, in sensor_events_listener()
60 sen_events[i].vector.roll); in sensor_events_listener()
82 } else if (sen_events[i].type == Sensor::TYPE_GYROSCOPE) { in sensor_events_listener()