Searched defs:outEvent (Results 1 - 10 of 10) sorted by relevance

/frameworks/native/services/sensorservice/
H A DCorrectedGyroSensor.cpp44 bool CorrectedGyroSensor::process(sensors_event_t* outEvent, argument
49 *outEvent = event;
50 outEvent->data[0] -= bias.x;
51 outEvent->data[1] -= bias.y;
52 outEvent->data[2] -= bias.z;
53 outEvent->sensor = '_cgy';
H A DOrientationSensor.cpp41 bool OrientationSensor::process(sensors_event_t* outEvent, argument
55 *outEvent = event;
56 outEvent->orientation.azimuth = g.x;
57 outEvent->orientation.pitch = g.y;
58 outEvent->orientation.roll = g.z;
59 outEvent->orientation.status = SENSOR_STATUS_ACCURACY_HIGH;
60 outEvent->sensor = '_ypr';
61 outEvent->type = SENSOR_TYPE_ORIENTATION;
H A DRotationVectorSensor.cpp36 bool RotationVectorSensor::process(sensors_event_t* outEvent, argument
42 *outEvent = event;
43 outEvent->data[0] = q.x;
44 outEvent->data[1] = q.y;
45 outEvent->data[2] = q.z;
46 outEvent->data[3] = q.w;
47 outEvent->sensor = '_rov';
48 outEvent->type = SENSOR_TYPE_ROTATION_VECTOR;
86 bool GyroDriftSensor::process(sensors_event_t* outEvent, argument
92 *outEvent
[all...]
H A DGravitySensor.cpp44 bool GravitySensor::process(sensors_event_t* outEvent, argument
58 *outEvent = event;
59 outEvent->data[0] = g.x;
60 outEvent->data[1] = g.y;
61 outEvent->data[2] = g.z;
62 outEvent->sensor = '_grv';
63 outEvent->type = SENSOR_TYPE_GRAVITY;
H A DLinearAccelerationSensor.cpp38 bool LinearAccelerationSensor::process(sensors_event_t* outEvent, argument
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
[all...]
H A DSensorInterface.cpp40 bool HardwareSensor::process(sensors_event_t* outEvent, argument
42 *outEvent = event;
/frameworks/native/libs/input/tests/
H A DInputEvent_test.cpp511 MotionEvent outEvent; local
516 outEvent.readFromParcel(&parcel);
518 ASSERT_NO_FATAL_FAILURE(assertEqualsEventWithHistory(&outEvent));
/frameworks/base/core/jni/
H A Dandroid_view_InputQueue.cpp91 status_t InputQueue::getEvent(InputEvent** outEvent) { argument
93 *outEvent = NULL;
95 *outEvent = mPendingEvents[0];
110 return *outEvent != NULL ? OK : WOULD_BLOCK;
/frameworks/base/native/android/
H A Dinput.cpp290 int32_t AInputQueue_getEvent(AInputQueue* queue, AInputEvent** outEvent) { argument
294 *outEvent = event;
/frameworks/native/libs/input/
H A DInputTransport.cpp394 bool consumeBatches, nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent) {
401 *outEvent = NULL;
405 while (!*outEvent) {
416 result = consumeBatch(factory, frameTime, outSeq, outEvent);
417 if (*outEvent) {
436 *outEvent = keyEvent;
460 batch, batch.samples.size(), outSeq, outEvent);
493 *outEvent = motionEvent;
511 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent) {
517 outSeq, outEvent);
393 consume(InputEventFactoryInterface* factory, bool consumeBatches, nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent) argument
510 consumeBatch(InputEventFactoryInterface* factory, nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent) argument
548 consumeSamples(InputEventFactoryInterface* factory, Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent) argument
[all...]

Completed in 85 milliseconds