Searched refs:mPendingEvent (Results 1 – 4 of 4) sorted by relevance
45 mPendingEvent.version = sizeof(sensors_event_t); in KionixSensor()46 mPendingEvent.sensor = ID_A; in KionixSensor()47 mPendingEvent.type = SENSOR_TYPE_ACCELEROMETER; in KionixSensor()48 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data)); in KionixSensor()66 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()69 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()72 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()163 mPendingEvent.timestamp = getTimestamp(); in readEvents()164 *data = mPendingEvent; in readEvents()180 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(value); in readEvents()[all …]
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()[all …]
37 sensors_event_t mPendingEvent; variable