Lines Matching refs:mPendingEvent
38 mPendingEvent.sensor = ID_L;
39 mPendingEvent.type = SENSOR_TYPE_LIGHT;
40 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data));
124 mPendingEvent.timestamp = getTimestamp();
125 *data = mPendingEvent;
140 mPendingEvent.sensor = ID_L;
141 mPendingEvent.type = SENSOR_TYPE_LIGHT;
142 mPendingEvent.light = (float)event->value;
145 mPendingEvent.timestamp = timevalToNano(event->time);
146 if (mEnabled && (mPendingEvent.light != mPreviousLight) ) {
147 *data++ = mPendingEvent;
150 mPreviousLight = mPendingEvent.light;