Lines Matching refs:mPendingEvents

421     memset(mPendingEvents, 0, sizeof(mPendingEvents));  in MPLSensor()
424 mPendingEvents[RotationVector].version = sizeof(sensors_event_t); in MPLSensor()
425 mPendingEvents[RotationVector].sensor = ID_RV; in MPLSensor()
426 mPendingEvents[RotationVector].type = SENSOR_TYPE_ROTATION_VECTOR; in MPLSensor()
427 mPendingEvents[RotationVector].acceleration.status in MPLSensor()
430 mPendingEvents[GameRotationVector].version = sizeof(sensors_event_t); in MPLSensor()
431 mPendingEvents[GameRotationVector].sensor = ID_GRV; in MPLSensor()
432 mPendingEvents[GameRotationVector].type = SENSOR_TYPE_GAME_ROTATION_VECTOR; in MPLSensor()
433 mPendingEvents[GameRotationVector].acceleration.status in MPLSensor()
436 mPendingEvents[LinearAccel].version = sizeof(sensors_event_t); in MPLSensor()
437 mPendingEvents[LinearAccel].sensor = ID_LA; in MPLSensor()
438 mPendingEvents[LinearAccel].type = SENSOR_TYPE_LINEAR_ACCELERATION; in MPLSensor()
439 mPendingEvents[LinearAccel].acceleration.status in MPLSensor()
442 mPendingEvents[Gravity].version = sizeof(sensors_event_t); in MPLSensor()
443 mPendingEvents[Gravity].sensor = ID_GR; in MPLSensor()
444 mPendingEvents[Gravity].type = SENSOR_TYPE_GRAVITY; in MPLSensor()
445 mPendingEvents[Gravity].acceleration.status = SENSOR_STATUS_ACCURACY_HIGH; in MPLSensor()
447 mPendingEvents[Gyro].version = sizeof(sensors_event_t); in MPLSensor()
448 mPendingEvents[Gyro].sensor = ID_GY; in MPLSensor()
449 mPendingEvents[Gyro].type = SENSOR_TYPE_GYROSCOPE; in MPLSensor()
450 mPendingEvents[Gyro].gyro.status = SENSOR_STATUS_ACCURACY_HIGH; in MPLSensor()
452 mPendingEvents[RawGyro].version = sizeof(sensors_event_t); in MPLSensor()
453 mPendingEvents[RawGyro].sensor = ID_RG; in MPLSensor()
454 mPendingEvents[RawGyro].type = SENSOR_TYPE_GYROSCOPE_UNCALIBRATED; in MPLSensor()
455 mPendingEvents[RawGyro].gyro.status = SENSOR_STATUS_ACCURACY_HIGH; in MPLSensor()
457 mPendingEvents[Accelerometer].version = sizeof(sensors_event_t); in MPLSensor()
458 mPendingEvents[Accelerometer].sensor = ID_A; in MPLSensor()
459 mPendingEvents[Accelerometer].type = SENSOR_TYPE_ACCELEROMETER; in MPLSensor()
460 mPendingEvents[Accelerometer].acceleration.status in MPLSensor()
464 mPendingEvents[MagneticField].version = sizeof(sensors_event_t); in MPLSensor()
465 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor()
466 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in MPLSensor()
467 mPendingEvents[MagneticField].magnetic.status = in MPLSensor()
470 mPendingEvents[RawMagneticField].version = sizeof(sensors_event_t); in MPLSensor()
471 mPendingEvents[RawMagneticField].sensor = ID_RM; in MPLSensor()
472 mPendingEvents[RawMagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED; in MPLSensor()
473 mPendingEvents[RawMagneticField].magnetic.status = in MPLSensor()
477 mPendingEvents[Pressure].version = sizeof(sensors_event_t); in MPLSensor()
478 mPendingEvents[Pressure].sensor = ID_PS; in MPLSensor()
479 mPendingEvents[Pressure].type = SENSOR_TYPE_PRESSURE; in MPLSensor()
480 mPendingEvents[Pressure].magnetic.status = in MPLSensor()
484 mPendingEvents[Orientation].version = sizeof(sensors_event_t); in MPLSensor()
485 mPendingEvents[Orientation].sensor = ID_O; in MPLSensor()
486 mPendingEvents[Orientation].type = SENSOR_TYPE_ORIENTATION; in MPLSensor()
487 mPendingEvents[Orientation].orientation.status in MPLSensor()
490 mPendingEvents[GeomagneticRotationVector].version = sizeof(sensors_event_t); in MPLSensor()
491 mPendingEvents[GeomagneticRotationVector].sensor = ID_GMRV; in MPLSensor()
492 mPendingEvents[GeomagneticRotationVector].type in MPLSensor()
494 mPendingEvents[GeomagneticRotationVector].acceleration.status in MPLSensor()
1033 mPendingEvents[Accelerometer].data[0] = value * CONVERT_A_X; in setAccelInitialState()
1035 mPendingEvents[Accelerometer].data[1] = value * CONVERT_A_Y; in setAccelInitialState()
1037 mPendingEvents[Accelerometer].data[2] = value * CONVERT_A_Z; in setAccelInitialState()
3912 mPendingEvents[i].type, mStepSensorTimestamp);
3925 update = CALL_MEMBER_FN(this, mHandlers[i])(mPendingEvents + i);
3930 if (mLastTimestamp[i] != mPendingEvents[i].timestamp) {
3931 mLastTimestamp[i] = mPendingEvents[i].timestamp;
3932 *data++ = mPendingEvents[i];
3937mPendingEvents[i].type, mLastTimestamp[i], mPendingEvents[i].data[0], mPendingEvents[i].data[1], m…