Lines Matching refs:Gyro
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()
517 mHandlers[Gyro] = &MPLSensor::gyroHandler; in MPLSensor()
1518 } else if ((mEnabled & ( 1 << Gyro)) || in enablePedQuaternionData()
1546 !((mBatchEnabled & (1 << Gyro)) || (mBatchEnabled & (1 << RawGyro)))) { in enablePedQuaternionData()
1656 } else if ((mEnabled & ( 1 << Gyro)) || in enable6AxisQuaternionData()
1684 (!(mBatchEnabled & (1 << Gyro)) || in enable6AxisQuaternionData()
1685 (!(mEnabled & (1 << Gyro))))) { in enable6AxisQuaternionData()
2141 changed & ((1 << Gyro) | (1 << RawGyro) | (1 << Accelerometer) |
2158 if (changed & ((1 << Gyro) | (1 << RawGyro))) {
2166 if (!cal_stored && (!en && (changed & (1 << Gyro)))) {
2216 if (!(changed & ((1 << Gyro)
2257 if (changed & ((1 << Gyro) | (1 << RawGyro) | (1 << Accelerometer) |
2630 if (!mEnabledTime[Gyro] || !(s->timestamp > mEnabledTime[Gyro])) {
2632 mEnabledTime[Gyro], s->timestamp, android::elapsedRealtimeNano());
3152 what = Gyro;
3226 case Gyro:
3262 for (int i = Gyro; i <= RawMagneticField; i++) {
3279 for (int i = Gyro; i <= RawMagneticField; i++) {
3376 what = Gyro;
3470 case Gyro:
3482 for (int i = Gyro;
3503 (((mEnabled & (1 << Gyro)) && ns > mDelays[Gyro]) ||
3729 wanted = (mDelays[Gyro] <= mDelays[RawGyro]?
3730 (mEnabled & (1 << Gyro)? mDelays[Gyro]: mDelays[RawGyro]):
3731 (mEnabled & (1 << RawGyro)? mDelays[RawGyro]: mDelays[Gyro]));
3744 if (GY_ENABLED && mDelays[Gyro] < mDelays[Accelerometer]) {
3745 wanted = mDelays[Gyro];
3780 && (mDelays[Gyro] < compassWanted)) {
3781 wanted = mDelays[Gyro];
4420 mPendingMask |= 1 << Gyro;
5197 list[Gyro].maxRange = GYRO_MPU3050_RANGE;
5198 list[Gyro].resolution = GYRO_MPU3050_RESOLUTION;
5199 list[Gyro].power = GYRO_MPU3050_POWER;
5200 list[Gyro].minDelay = GYRO_MPU3050_MINDELAY;
5202 list[Gyro].maxRange = GYRO_MPU6050_RANGE;
5203 list[Gyro].resolution = GYRO_MPU6050_RESOLUTION;
5204 list[Gyro].power = GYRO_MPU6050_POWER;
5205 list[Gyro].minDelay = GYRO_MPU6050_MINDELAY;
5207 list[Gyro].maxRange = GYRO_MPU6500_RANGE;
5208 list[Gyro].resolution = GYRO_MPU6500_RESOLUTION;
5209 list[Gyro].power = GYRO_MPU6500_POWER;
5210 list[Gyro].minDelay = GYRO_MPU6500_MINDELAY;
5212 list[Gyro].maxRange = GYRO_MPU6500_RANGE;
5213 list[Gyro].resolution = GYRO_MPU6500_RESOLUTION;
5214 list[Gyro].power = GYRO_MPU6500_POWER;
5215 list[Gyro].minDelay = GYRO_MPU6500_MINDELAY;
5217 list[Gyro].maxRange = GYRO_MPU9150_RANGE;
5218 list[Gyro].resolution = GYRO_MPU9150_RESOLUTION;
5219 list[Gyro].power = GYRO_MPU9150_POWER;
5220 list[Gyro].minDelay = GYRO_MPU9150_MINDELAY;
5222 list[Gyro].maxRange = GYRO_MPU9250_RANGE;
5223 list[Gyro].resolution = GYRO_MPU9250_RESOLUTION;
5224 list[Gyro].power = GYRO_MPU9250_POWER;
5225 list[Gyro].minDelay = GYRO_MPU9250_MINDELAY;
5227 list[Gyro].maxRange = GYRO_MPU9255_RANGE;
5228 list[Gyro].resolution = GYRO_MPU9255_RESOLUTION;
5229 list[Gyro].power = GYRO_MPU9255_POWER;
5230 list[Gyro].minDelay = GYRO_MPU9255_MINDELAY;
5232 list[Gyro].maxRange = GYRO_MPU9350_RANGE;
5233 list[Gyro].resolution = GYRO_MPU9350_RESOLUTION;
5234 list[Gyro].power = GYRO_MPU9350_POWER;
5235 list[Gyro].minDelay = GYRO_MPU9350_MINDELAY;
5239 list[Gyro].maxRange = GYRO_MPU6500_RANGE;
5240 list[Gyro].resolution = GYRO_MPU6500_RESOLUTION;
5241 list[Gyro].power = GYRO_MPU6500_POWER;
5242 list[Gyro].minDelay = GYRO_MPU6500_MINDELAY;
5245 list[RawGyro].maxRange = list[Gyro].maxRange;
5246 list[RawGyro].resolution = list[Gyro].resolution;
5247 list[RawGyro].power = list[Gyro].power;
5248 list[RawGyro].minDelay = list[Gyro].minDelay;
5259 list[RotationVector].power = list[Gyro].power +
5290 list[GameRotationVector].power = list[Gyro].power +
5303 list[Orientation].power = list[Gyro].power +
5317 list[Gravity].power = list[Gyro].power +
5331 list[LinearAccel].power = list[Gyro].power +
5929 case Gyro:
6358 uint32_t hardwareSensorMask = (1 << Gyro)
6734 gyroRate = mBatchDelays[Gyro];
6737 if (mBatchEnabled & (1 << Gyro) || mBatchEnabled & (1 << RawGyro)) {
6738 gyroRate = (mBatchDelays[Gyro] <= mBatchDelays[RawGyro]) ?
6739 (mBatchEnabled & (1 << Gyro) ? mBatchDelays[Gyro] : mBatchDelays[RawGyro]):
6740 (mBatchEnabled & (1 << RawGyro) ? mBatchDelays[RawGyro] : mBatchDelays[Gyro]);