Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/hardware/
DHeadingSensor.java41 private final Sensor mAccelerometerSensor; field in HeadingSensor
60 mAccelerometerSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in HeadingSensor()
80 if (mAccelerometerSensor != null) { in activate()
81 mSensorManager.registerListener(this, mAccelerometerSensor, in activate()
95 if (mAccelerometerSensor != null) { in deactivate()
96 mSensorManager.unregisterListener(this, mAccelerometerSensor); in deactivate()