Lines Matching refs:mPendingEvent
42 mPendingEvent.version = sizeof(sensors_event_t);
43 mPendingEvent.sensor = ID_A;
44 mPendingEvent.type = SENSOR_TYPE_ACCELEROMETER;
45 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data));
70 mPendingEvent.acceleration.x = ADXL_UNIT_CONVERSION(absinfo.value);
73 mPendingEvent.acceleration.y = ADXL_UNIT_CONVERSION(absinfo.value);
76 mPendingEvent.acceleration.z = ADXL_UNIT_CONVERSION(absinfo.value);
185 mPendingEvent.timestamp = getTimestamp();
186 *data = mPendingEvent;
202 mPendingEvent.acceleration.x = ADXL_UNIT_CONVERSION(value);
204 mPendingEvent.acceleration.y = ADXL_UNIT_CONVERSION(value);
206 mPendingEvent.acceleration.z = ADXL_UNIT_CONVERSION(value);
209 mPendingEvent.timestamp = timevalToNano(event->time);
211 *data++ = mPendingEvent;