Searched refs:sen_events (Results 1 – 1 of 1) sorted by relevance
46 ASensorEvent sen_events[8]; in sensor_events_listener() local47 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()