Home
last modified time | relevance | path

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

/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
DSensorActivity.java206 private MonitoredSensor mSensor; field in SensorActivity.DisplayInfo
211 mSensor = sensor; in DisplayInfo()
233 if (mSensor != null) { in onCheckedChanged()
234 mSensor.onCheckedChanged(isChecked); in onCheckedChanged()
241 mSensor = null; in release()
246 if (mChk != null && mSensor != null) { in updateState()
247 mChk.setEnabled(mSensor.isEnabledByEmulator()); in updateState()
248 mChk.setChecked(mSensor.isEnabledByUser()); in updateState()
253 if (mVal != null && mSensor != null) { in updateValue()
254 mVal.setText(mSensor.getValue()); in updateValue()
/sdk/testapps/testSensors/src/com/android/tests/testsensors/
DTestSensorsActivity.java45 private final Sensor mSensor; field in TestSensorsActivity.MonitoredSensor
59 mSensor = sensor; in MonitoredSensor()
149 return mSensor.getType(); in getType()
158 sm.registerListener(this, mSensor, SensorManager.SENSOR_DELAY_UI); in startListening()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/
DSensorChannel.java344 private final Sensor mSensor; field in SensorChannel.MonitoredSensor
372 mSensor = sensor; in MonitoredSensor()
440 if (DEBUG) Loge("Unknown sensor type " + mSensor.getType() + in MonitoredSensor()
441 " for sensor " + mSensor.getName()); in MonitoredSensor()
509 return mSensor.getType(); in getType()
528 mSenMan.registerListener(mListener, mSensor, SensorManager.SENSOR_DELAY_FASTEST); in startListening()
653 mSensor.getName())); in onSensorChanged()