Lines Matching refs:mPendingEvent
43 mPendingEvent.version = sizeof(sensors_event_t); in AdxlSensor()
44 mPendingEvent.sensor = ID_A; in AdxlSensor()
45 mPendingEvent.type = SENSOR_TYPE_ACCELEROMETER; in AdxlSensor()
46 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data)); in AdxlSensor()
71 mPendingEvent.acceleration.x = ADXL_UNIT_CONVERSION(absinfo.value); in setInitialState()
74 mPendingEvent.acceleration.y = ADXL_UNIT_CONVERSION(absinfo.value); in setInitialState()
77 mPendingEvent.acceleration.z = ADXL_UNIT_CONVERSION(absinfo.value); in setInitialState()
186 mPendingEvent.timestamp = getTimestamp(); in readEvents()
187 *data = mPendingEvent; in readEvents()
203 mPendingEvent.acceleration.x = ADXL_UNIT_CONVERSION(value); in readEvents()
205 mPendingEvent.acceleration.y = ADXL_UNIT_CONVERSION(value); in readEvents()
207 mPendingEvent.acceleration.z = ADXL_UNIT_CONVERSION(value); in readEvents()
210 mPendingEvent.timestamp = timevalToNano(event->time); in readEvents()
212 *data++ = mPendingEvent; in readEvents()