Lines Matching refs:outEvent
38 bool LinearAccelerationSensor::process(sensors_event_t* outEvent,
41 bool result = mGravitySensor.process(outEvent, event);
43 outEvent->data[0] = event.acceleration.x - outEvent->data[0];
44 outEvent->data[1] = event.acceleration.y - outEvent->data[1];
45 outEvent->data[2] = event.acceleration.z - outEvent->data[2];
46 outEvent->sensor = '_lin';
47 outEvent->type = SENSOR_TYPE_LINEAR_ACCELERATION;