Searched refs:mSensorManager (Results 1 – 2 of 2) sorted by relevance
95 private final SensorManager mSensorManager; field in SensorManagerFacade133 mSensorManager = (SensorManager) manager.getService().getSystemService(Context.SENSOR_SERVICE); in SensorManagerFacade()152 for (Sensor sensor : mSensorManager.getSensorList(Sensor.TYPE_ALL)) { in startSensingTimed()153 mSensorManager.registerListener(mSensorListener, sensor, in startSensingTimed()158 for (Sensor sensor : mSensorManager.getSensorList(Sensor.TYPE_ACCELEROMETER)) { in startSensingTimed()159 mSensorManager.registerListener(mSensorListener, sensor, in startSensingTimed()164 for (Sensor sensor : mSensorManager.getSensorList(Sensor.TYPE_MAGNETIC_FIELD)) { in startSensingTimed()165 mSensorManager.registerListener(mSensorListener, sensor, in startSensingTimed()170 for (Sensor sensor : mSensorManager.getSensorList(Sensor.TYPE_LIGHT)) { in startSensingTimed()171 mSensorManager.registerListener(mSensorListener, sensor, in startSensingTimed()[all …]
82 private SensorManager mSensorManager; field in AndouKun226 mSensorManager = (SensorManager) getSystemService(SENSOR_SERVICE); in onCreate()279 if (mSensorManager != null) { in onPause()280 mSensorManager.unregisterListener(this); in onPause()321 if (mSensorManager != null) { in onResume()322 Sensor orientation = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION); in onResume()324 mSensorManager.registerListener(this, in onResume()