Lines Matching refs:mPendingEvents
500 memset(mPendingEvents, 0, sizeof(mPendingEvents)); in MPLSensor()
502 mPendingEvents[RotationVector].version = sizeof(sensors_event_t); in MPLSensor()
503 mPendingEvents[RotationVector].sensor = ID_RV; in MPLSensor()
504 mPendingEvents[RotationVector].type = SENSOR_TYPE_ROTATION_VECTOR; in MPLSensor()
505 mPendingEvents[RotationVector].acceleration.status in MPLSensor()
508 mPendingEvents[GameRotationVector].version = sizeof(sensors_event_t); in MPLSensor()
509 mPendingEvents[GameRotationVector].sensor = ID_GRV; in MPLSensor()
510 mPendingEvents[GameRotationVector].type = SENSOR_TYPE_GAME_ROTATION_VECTOR; in MPLSensor()
511 mPendingEvents[GameRotationVector].acceleration.status in MPLSensor()
514 mPendingEvents[LinearAccel].version = sizeof(sensors_event_t); in MPLSensor()
515 mPendingEvents[LinearAccel].sensor = ID_LA; in MPLSensor()
516 mPendingEvents[LinearAccel].type = SENSOR_TYPE_LINEAR_ACCELERATION; in MPLSensor()
517 mPendingEvents[LinearAccel].acceleration.status in MPLSensor()
520 mPendingEvents[Gravity].version = sizeof(sensors_event_t); in MPLSensor()
521 mPendingEvents[Gravity].sensor = ID_GR; in MPLSensor()
522 mPendingEvents[Gravity].type = SENSOR_TYPE_GRAVITY; in MPLSensor()
523 mPendingEvents[Gravity].acceleration.status = SENSOR_STATUS_ACCURACY_HIGH; in MPLSensor()
525 mPendingEvents[Gyro].version = sizeof(sensors_event_t); in MPLSensor()
526 mPendingEvents[Gyro].sensor = ID_GY; in MPLSensor()
527 mPendingEvents[Gyro].type = SENSOR_TYPE_GYROSCOPE; in MPLSensor()
528 mPendingEvents[Gyro].gyro.status = SENSOR_STATUS_ACCURACY_HIGH; in MPLSensor()
530 mPendingEvents[RawGyro].version = sizeof(sensors_event_t); in MPLSensor()
531 mPendingEvents[RawGyro].sensor = ID_RG; in MPLSensor()
532 mPendingEvents[RawGyro].type = SENSOR_TYPE_GYROSCOPE_UNCALIBRATED; in MPLSensor()
533 mPendingEvents[RawGyro].gyro.status = SENSOR_STATUS_ACCURACY_HIGH; in MPLSensor()
535 mPendingEvents[Accelerometer].version = sizeof(sensors_event_t); in MPLSensor()
536 mPendingEvents[Accelerometer].sensor = ID_A; in MPLSensor()
537 mPendingEvents[Accelerometer].type = SENSOR_TYPE_ACCELEROMETER; in MPLSensor()
538 mPendingEvents[Accelerometer].acceleration.status in MPLSensor()
542 mPendingEvents[MagneticField].version = sizeof(sensors_event_t); in MPLSensor()
543 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor()
544 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in MPLSensor()
545 mPendingEvents[MagneticField].magnetic.status = in MPLSensor()
548 mPendingEvents[RawMagneticField].version = sizeof(sensors_event_t); in MPLSensor()
549 mPendingEvents[RawMagneticField].sensor = ID_RM; in MPLSensor()
550 mPendingEvents[RawMagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED; in MPLSensor()
551 mPendingEvents[RawMagneticField].magnetic.status = in MPLSensor()
554 mPendingEvents[Pressure].version = sizeof(sensors_event_t); in MPLSensor()
555 mPendingEvents[Pressure].sensor = ID_PS; in MPLSensor()
556 mPendingEvents[Pressure].type = SENSOR_TYPE_PRESSURE; in MPLSensor()
557 mPendingEvents[Pressure].magnetic.status = in MPLSensor()
560 mPendingEvents[Orientation].version = sizeof(sensors_event_t); in MPLSensor()
561 mPendingEvents[Orientation].sensor = ID_O; in MPLSensor()
562 mPendingEvents[Orientation].type = SENSOR_TYPE_ORIENTATION; in MPLSensor()
563 mPendingEvents[Orientation].orientation.status in MPLSensor()
566 mPendingEvents[GeomagneticRotationVector].version = sizeof(sensors_event_t); in MPLSensor()
567 mPendingEvents[GeomagneticRotationVector].sensor = ID_GMRV; in MPLSensor()
568 mPendingEvents[GeomagneticRotationVector].type in MPLSensor()
570 mPendingEvents[GeomagneticRotationVector].acceleration.status in MPLSensor()
1109 mPendingEvents[Accelerometer].data[0] = value * CONVERT_A_X; in setAccelInitialState()
1111 mPendingEvents[Accelerometer].data[1] = value * CONVERT_A_Y; in setAccelInitialState()
1113 mPendingEvents[Accelerometer].data[2] = value * CONVERT_A_Z; in setAccelInitialState()
3670 update = CALL_MEMBER_FN(this, mHandlers[i])(mPendingEvents + i); in readEvents()
3674 *data++ = mPendingEvents[i]; in readEvents()