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