Lines Matching refs:sensorManager
24 import android.hardware.SensorManager;
254 SensorManager sensorManager =
255 (SensorManager) getActivity().getSystemService(Activity.SENSOR_SERVICE);
257 Sensor sensor = sensorManager.getDefaultSensor(sensorType);
261 final boolean batchMode = sensorManager.registerListener(
262 mListener, sensor, SensorManager.SENSOR_DELAY_NORMAL, maxdelay);
290 SensorManager sensorManager =
291 (SensorManager) getActivity().getSystemService(Activity.SENSOR_SERVICE);
292 sensorManager.unregisterListener(mListener);