Searched refs:mSensor (Results 1 – 3 of 3) sorted by relevance
206 private MonitoredSensor mSensor; field in SensorActivity.DisplayInfo211 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()
45 private final Sensor mSensor; field in TestSensorsActivity.MonitoredSensor59 mSensor = sensor; in MonitoredSensor()149 return mSensor.getType(); in getType()158 sm.registerListener(this, mSensor, SensorManager.SENSOR_DELAY_UI); in startListening()
344 private final Sensor mSensor; field in SensorChannel.MonitoredSensor372 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()