Lines Matching refs:mPendingEvent
45 mPendingEvent.version = sizeof(sensors_event_t);
46 mPendingEvent.sensor = ID_A;
47 mPendingEvent.type = SENSOR_TYPE_ACCELEROMETER;
48 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data));
66 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(absinfo.value);
69 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(absinfo.value);
72 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(absinfo.value);
163 mPendingEvent.timestamp = getTimestamp();
164 *data = mPendingEvent;
180 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(value);
182 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(value);
184 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(value);
187 mPendingEvent.timestamp = timevalToNano(event->time);
189 *data++ = mPendingEvent;