Home
last modified time | relevance | path

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

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DLocationListeners.java51 private final Sensor mSensor; field in LocationListeners.SensorHelper
60 mSensor = (mSensorMgr != null) ? mSensorMgr.getDefaultSensor(type) : null; in SensorHelper()
63 if (mSensor == null) { in SensorHelper()
76 if (mSensor == null) { in startListening()
80 if (!mSensorMgr.registerListener(this, mSensor, in startListening()
91 if (mSensor != null) { in stopListening()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DEyePosition.java65 private Sensor mSensor; field in EyePosition
204 if (mSensor != null) { in pause()
212 if (mSensor != null) { in resume()
216 mSensor, SensorManager.SENSOR_DELAY_GAME); in resume()
/packages/apps/Settings/src/com/android/settings/utils/
DSensorPrivacyManagerHelper.java70 int mSensor; field in SensorPrivacyManagerHelper.CallbackInfo
76 mSensor = sensor; in CallbackInfo()
265 if (callbackInfo.mUserId == userId && callbackInfo.mSensor == sensor) { in dispatchStateChangedLocked()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java156 private Sensor mSensor; field in PanoramaActivity
279 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE); in onCreate()
280 if (mSensor == null) { in onCreate()
281 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION); in onCreate()