Lines Matching refs:mPendingEvent
44 mPendingEvent.version = sizeof(sensors_event_t);
45 mPendingEvent.sensor = ID_L;
46 mPendingEvent.type = SENSOR_TYPE_LIGHT;
47 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data));
118 mPendingEvent.timestamp = getTimestamp();
119 *data = mPendingEvent;
134 mPendingEvent.light = indexToValue(event->value);
139 mPendingEvent.timestamp = timevalToNano(event->time);
140 if (mEnabled && (mPendingEvent.light != mPreviousLight) &&
142 *data++ = mPendingEvent;
145 mPreviousLight = mPendingEvent.light;