Searched refs:mMagneticSensor (Results 1 – 1 of 1) sorted by relevance
43 private final Sensor mMagneticSensor; field in HeadingSensor61 mMagneticSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD); in HeadingSensor()84 if (mMagneticSensor != null) { in activate()85 mSensorManager.registerListener(this, mMagneticSensor, in activate()98 if (mMagneticSensor != null) { in deactivate()99 mSensorManager.unregisterListener(this, mMagneticSensor); in deactivate()