/frameworks/native/services/sensorservice/ |
LinearAccelerationSensor.cpp | 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 [all...] |
RotationVectorSensor.cpp | 36 bool RotationVectorSensor::process(sensors_event_t* outEvent, 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, 92 *outEvent = event [all...] |
OrientationSensor.cpp | 41 bool OrientationSensor::process(sensors_event_t* outEvent, 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;
|
GravitySensor.cpp | 44 bool GravitySensor::process(sensors_event_t* outEvent, 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;
|
CorrectedGyroSensor.cpp | 44 bool CorrectedGyroSensor::process(sensors_event_t* outEvent, 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';
|
RotationVectorSensor.h | 41 virtual bool process(sensors_event_t* outEvent, 55 virtual bool process(sensors_event_t* outEvent,
|
LinearAccelerationSensor.h | 39 virtual bool process(sensors_event_t* outEvent,
|
OrientationSensor.h | 40 virtual bool process(sensors_event_t* outEvent,
|
CorrectedGyroSensor.h | 41 virtual bool process(sensors_event_t* outEvent,
|
GravitySensor.h | 41 virtual bool process(sensors_event_t* outEvent,
|
SensorInterface.cpp | 43 bool HardwareSensor::process(sensors_event_t* outEvent, 45 *outEvent = event;
|
SensorInterface.h | 36 virtual bool process(sensors_event_t* outEvent, 72 virtual bool process(sensors_event_t* outEvent,
|
/frameworks/base/include/android_runtime/ |
android_view_InputQueue.h | 45 status_t getEvent(InputEvent** outEvent);
|
/frameworks/native/libs/input/ |
InputTransport.cpp | 393 bool consumeBatches, nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent) { 400 *outEvent = NULL; 404 while (!*outEvent) { 415 result = consumeBatch(factory, frameTime, outSeq, outEvent); 416 if (*outEvent) { 435 *outEvent = keyEvent; 459 batch, batch.samples.size(), outSeq, outEvent); 492 *outEvent = motionEvent; 510 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent) { 516 outSeq, outEvent); [all...] |
/frameworks/base/core/jni/ |
android_view_InputQueue.cpp | 91 status_t InputQueue::getEvent(InputEvent** outEvent) { 93 *outEvent = NULL; 95 *outEvent = mPendingEvents[0]; 110 return *outEvent != NULL ? OK : WOULD_BLOCK;
|
/frameworks/native/include/input/ |
InputTransport.h | 296 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent); 417 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent); 419 Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent);
|
/frameworks/base/native/android/ |
input.cpp | 290 int32_t AInputQueue_getEvent(AInputQueue* queue, AInputEvent** outEvent) { 294 *outEvent = event;
|
/frameworks/native/libs/input/tests/ |
InputEvent_test.cpp | 511 MotionEvent outEvent; 516 outEvent.readFromParcel(&parcel); 518 ASSERT_NO_FATAL_FAILURE(assertEqualsEventWithHistory(&outEvent));
|
/development/ndk/platforms/android-9/include/android/ |
input.h | 666 int32_t AInputQueue_getEvent(AInputQueue* queue, AInputEvent** outEvent);
|
/prebuilts/ndk/5/platforms/android-9/arch-arm/usr/include/android/ |
input.h | 666 int32_t AInputQueue_getEvent(AInputQueue* queue, AInputEvent** outEvent);
|
/prebuilts/ndk/6/platforms/android-9/arch-arm/usr/include/android/ |
input.h | 666 int32_t AInputQueue_getEvent(AInputQueue* queue, AInputEvent** outEvent);
|
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/android/ |
input.h | 666 int32_t AInputQueue_getEvent(AInputQueue* queue, AInputEvent** outEvent);
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/android/ |
input.h | 666 int32_t AInputQueue_getEvent(AInputQueue* queue, AInputEvent** outEvent);
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/android/ |
input.h | 666 int32_t AInputQueue_getEvent(AInputQueue* queue, AInputEvent** outEvent);
|
/prebuilts/ndk/7/platforms/android-9/arch-arm/usr/include/android/ |
input.h | 666 int32_t AInputQueue_getEvent(AInputQueue* queue, AInputEvent** outEvent);
|