Home
last modified time | relevance | path

Searched refs:mMagneticSensor (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/hardware/
DHeadingSensor.java43 private final Sensor mMagneticSensor; field in HeadingSensor
61 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()