/frameworks/base/services/sensorservice/ |
D | RotationVectorSensor.cpp | 36 bool RotationVectorSensor::process(sensors_event_t* outEvent, in process() argument 42 *outEvent = event; in process() 43 outEvent->data[0] = q.x; in process() 44 outEvent->data[1] = q.y; in process() 45 outEvent->data[2] = q.z; in process() 46 outEvent->data[3] = q.w; in process() 47 outEvent->sensor = '_rov'; in process() 48 outEvent->type = SENSOR_TYPE_ROTATION_VECTOR; in process() 86 bool GyroDriftSensor::process(sensors_event_t* outEvent, in process() argument 92 *outEvent = event; in process() [all …]
|
D | LinearAccelerationSensor.cpp | 38 bool LinearAccelerationSensor::process(sensors_event_t* outEvent, in process() argument 41 bool result = mGravitySensor.process(outEvent, event); in process() 43 outEvent->data[0] = event.acceleration.x - outEvent->data[0]; in process() 44 outEvent->data[1] = event.acceleration.y - outEvent->data[1]; in process() 45 outEvent->data[2] = event.acceleration.z - outEvent->data[2]; in process() 46 outEvent->sensor = '_lin'; in process() 47 outEvent->type = SENSOR_TYPE_LINEAR_ACCELERATION; in process()
|
D | OrientationSensor.cpp | 38 bool OrientationSensor::process(sensors_event_t* outEvent, in process() argument 52 *outEvent = event; in process() 53 outEvent->orientation.azimuth = g.x; in process() 54 outEvent->orientation.pitch = g.y; in process() 55 outEvent->orientation.roll = g.z; in process() 56 outEvent->orientation.status = SENSOR_STATUS_ACCURACY_HIGH; in process() 57 outEvent->sensor = '_ypr'; in process() 58 outEvent->type = SENSOR_TYPE_ORIENTATION; in process()
|
D | GravitySensor.cpp | 44 bool GravitySensor::process(sensors_event_t* outEvent, in process() argument 58 *outEvent = event; in process() 59 outEvent->data[0] = g.x; in process() 60 outEvent->data[1] = g.y; in process() 61 outEvent->data[2] = g.z; in process() 62 outEvent->sensor = '_grv'; in process() 63 outEvent->type = SENSOR_TYPE_GRAVITY; in process()
|
D | CorrectedGyroSensor.cpp | 44 bool CorrectedGyroSensor::process(sensors_event_t* outEvent, in process() argument 49 *outEvent = event; in process() 50 outEvent->data[0] -= bias.x; in process() 51 outEvent->data[1] -= bias.y; in process() 52 outEvent->data[2] -= bias.z; in process() 53 outEvent->sensor = '_cgy'; in process()
|
D | SensorInterface.cpp | 43 bool HardwareSensor::process(sensors_event_t* outEvent, in process() argument 45 *outEvent = event; in process()
|
D | RotationVectorSensor.h | 41 virtual bool process(sensors_event_t* outEvent, 55 virtual bool process(sensors_event_t* outEvent,
|
D | SensorInterface.h | 36 virtual bool process(sensors_event_t* outEvent, 57 virtual bool process(sensors_event_t* outEvent,
|
D | OrientationSensor.h | 40 virtual bool process(sensors_event_t* outEvent,
|
D | LinearAccelerationSensor.h | 39 virtual bool process(sensors_event_t* outEvent,
|
D | GravitySensor.h | 41 virtual bool process(sensors_event_t* outEvent,
|
D | CorrectedGyroSensor.h | 41 virtual bool process(sensors_event_t* outEvent,
|
/frameworks/base/core/jni/ |
D | android_app_NativeActivity.cpp | 159 int32_t AInputQueue::getEvent(AInputEvent** outEvent) { in getEvent() argument 160 *outEvent = NULL; in getEvent() 170 *outEvent = kevent; in getEvent() 185 *outEvent = inflight.event; in getEvent() 189 if (*outEvent == NULL) { in getEvent() 196 finishEvent(*outEvent, true, false); in getEvent() 197 *outEvent = NULL; in getEvent() 199 } else if (*outEvent != NULL) { in getEvent() 226 *outEvent = myEvent; in getEvent()
|
/frameworks/base/libs/ui/ |
D | InputTransport.cpp | 580 status_t InputConsumer::consume(InputEventFactoryInterface* factory, InputEvent** outEvent) { in consume() argument 586 *outEvent = NULL; in consume() 628 *outEvent = keyEvent; in consume() 638 *outEvent = motionEvent; in consume()
|
/frameworks/base/include/android_runtime/ |
D | android_app_NativeActivity.h | 82 int32_t getEvent(AInputEvent** outEvent);
|
/frameworks/base/native/android/ |
D | input.cpp | 284 int32_t AInputQueue_getEvent(AInputQueue* queue, AInputEvent** outEvent) { in AInputQueue_getEvent() argument 285 return queue->getEvent(outEvent); in AInputQueue_getEvent()
|
/frameworks/base/libs/ui/tests/ |
D | InputEvent_test.cpp | 512 MotionEvent outEvent; in TEST_F() local 517 outEvent.readFromParcel(&parcel); in TEST_F() 519 ASSERT_NO_FATAL_FAILURE(assertEqualsEventWithHistory(&outEvent)); in TEST_F()
|
/frameworks/base/include/ui/ |
D | InputTransport.h | 308 status_t consume(InputEventFactoryInterface* factory, InputEvent** outEvent);
|
/frameworks/base/native/include/android/ |
D | input.h | 826 int32_t AInputQueue_getEvent(AInputQueue* queue, AInputEvent** outEvent);
|