Lines Matching refs:Accelerometer
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()
519 mHandlers[Accelerometer] = &MPLSensor::accelHandler; 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()
1516 } else if (mEnabled & (1 << Accelerometer)) { in enablePedQuaternionData()
1537 !(mBatchEnabled & (1 << Accelerometer))) { in enablePedQuaternionData()
1654 } else if (mEnabled & (1 << Accelerometer)) { in enable6AxisQuaternionData()
1675 (!(mBatchEnabled & (1 << Accelerometer)) || in enable6AxisQuaternionData()
1676 (!(mEnabled & (1 << Accelerometer))))) { in enable6AxisQuaternionData()
2141 changed & ((1 << Gyro) | (1 << RawGyro) | (1 << Accelerometer) |
2172 if (changed & (1 << Accelerometer)) {
2218 | (1 << Accelerometer)
2257 if (changed & ((1 << Gyro) | (1 << RawGyro) | (1 << Accelerometer) |
2682 if (!mEnabledTime[Accelerometer] || !(s->timestamp > mEnabledTime[Accelerometer])) {
2684 mEnabledTime[Accelerometer], s->timestamp, android::elapsedRealtimeNano());
3136 what = Accelerometer;
3228 case Accelerometer:
3296 for (int i = Accelerometer; i <= RawMagneticField; i++) {
3360 what = Accelerometer;
3472 case Accelerometer:
3483 i <= Accelerometer + mCompassSensor->isIntegrated();
3505 ((mEnabled & (1 << Accelerometer)) &&
3506 ns > mDelays[Accelerometer])) &&
3744 if (GY_ENABLED && mDelays[Gyro] < mDelays[Accelerometer]) {
3747 < mDelays[Accelerometer]) {
3750 wanted = mDelays[Accelerometer];
3785 } else if (A_ENABLED && mDelays[Accelerometer]
3787 wanted = mDelays[Accelerometer];
4433 mPendingMask |= 1 << Accelerometer;
5127 list[Accelerometer].maxRange = ACCEL_BMA250_RANGE;
5128 list[Accelerometer].resolution = ACCEL_BMA250_RESOLUTION;
5129 list[Accelerometer].power = ACCEL_BMA250_POWER;
5130 list[Accelerometer].minDelay = ACCEL_BMA250_MINDELAY;
5133 list[Accelerometer].maxRange = ACCEL_MPU6050_RANGE;
5134 list[Accelerometer].resolution = ACCEL_MPU6050_RESOLUTION;
5135 list[Accelerometer].power = ACCEL_MPU6050_POWER;
5136 list[Accelerometer].minDelay = ACCEL_MPU6050_MINDELAY;
5139 list[Accelerometer].maxRange = ACCEL_MPU6500_RANGE;
5140 list[Accelerometer].resolution = ACCEL_MPU6500_RESOLUTION;
5141 list[Accelerometer].power = ACCEL_MPU6500_POWER;
5142 list[Accelerometer].minDelay = ACCEL_MPU6500_MINDELAY;
5145 list[Accelerometer].maxRange = ACCEL_MPU6500_RANGE;
5146 list[Accelerometer].resolution = ACCEL_MPU6500_RESOLUTION;
5147 list[Accelerometer].power = ACCEL_MPU6500_POWER;
5148 list[Accelerometer].minDelay = ACCEL_MPU6500_MINDELAY;
5151 list[Accelerometer].maxRange = ACCEL_MPU9150_RANGE;
5152 list[Accelerometer].resolution = ACCEL_MPU9150_RESOLUTION;
5153 list[Accelerometer].power = ACCEL_MPU9150_POWER;
5154 list[Accelerometer].minDelay = ACCEL_MPU9150_MINDELAY;
5157 list[Accelerometer].maxRange = ACCEL_MPU9250_RANGE;
5158 list[Accelerometer].resolution = ACCEL_MPU9250_RESOLUTION;
5159 list[Accelerometer].power = ACCEL_MPU9250_POWER;
5160 list[Accelerometer].minDelay = ACCEL_MPU9250_MINDELAY;
5163 list[Accelerometer].maxRange = ACCEL_MPU9255_RANGE;
5164 list[Accelerometer].resolution = ACCEL_MPU9255_RESOLUTION;
5165 list[Accelerometer].power = ACCEL_MPU9255_POWER;
5166 list[Accelerometer].minDelay = ACCEL_MPU9255_MINDELAY;
5169 list[Accelerometer].maxRange = ACCEL_MPU9350_RANGE;
5170 list[Accelerometer].resolution = ACCEL_MPU9350_RESOLUTION;
5171 list[Accelerometer].power = ACCEL_MPU9350_POWER;
5172 list[Accelerometer].minDelay = ACCEL_MPU9350_MINDELAY;
5175 list[Accelerometer].maxRange = ACCEL_BMA250_RANGE;
5176 list[Accelerometer].resolution = ACCEL_BMA250_RESOLUTION;
5177 list[Accelerometer].power = ACCEL_BMA250_POWER;
5178 list[Accelerometer].minDelay = ACCEL_BMA250_MINDELAY;
5186 list[Accelerometer].maxRange = ACCEL_MPU6500_RANGE;
5187 list[Accelerometer].resolution = ACCEL_MPU6500_RESOLUTION;
5188 list[Accelerometer].power = ACCEL_MPU6500_POWER;
5189 list[Accelerometer].minDelay = ACCEL_MPU6500_MINDELAY;
5260 list[Accelerometer].power +
5275 list[GeomagneticRotationVector].power = list[Accelerometer].power +
5291 list[Accelerometer].power;
5304 list[Accelerometer].power +
5318 list[Accelerometer].power +
5332 list[Accelerometer].power +
5334 list[LinearAccel].resolution = list[Accelerometer].resolution;
5335 list[LinearAccel].maxRange = list[Accelerometer].maxRange;
5345 list[SignificantMotion].power = list[Accelerometer].power;
5356 list[NumSensors].power = list[Accelerometer].power;
5931 case Accelerometer:
6360 | (1 << Accelerometer)
6750 accelRate = mBatchDelays[Accelerometer];