Home
last modified time | relevance | path

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

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DSensorManagerFacade.java95 private final SensorManager mSensorManager; field in SensorManagerFacade
133 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 …]
/external/replicaisland/src/com/replica/replicaisland/
DAndouKun.java82 private SensorManager mSensorManager; field in AndouKun
226 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()