Home
last modified time | relevance | path

Searched refs:sensor (Results 1 – 4 of 4) sorted by relevance

/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/
DSensorChannel.java182 for (MonitoredSensor sensor : mSensors) { in onEmulatorQuery()
186 final byte[] name = sensor.getEmulatorFriendlyName().getBytes(); in onEmulatorQuery()
189 resp.putInt(sensor.getType()); in onEmulatorQuery()
247 for (MonitoredSensor sensor : mSensors) { in onEnableSensor()
248 sensor.enableSensor(); in onEnableSensor()
252 final MonitoredSensor sensor = getSensorByEFN(name); in onEnableSensor() local
253 if (sensor != null) { in onEnableSensor()
254 sensor.enableSensor(); in onEnableSensor()
268 for (MonitoredSensor sensor : mSensors) { in onDisableSensor()
269 sensor.disableSensor(); in onDisableSensor()
[all …]
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
DSensorActivity.java183 for (MonitoredSensor sensor : sensors) { in createSensorUi()
188 mDisplayedSensors.put(sensor, new DisplayInfo(sensor, row)); in createSensorUi()
210 public DisplayInfo(MonitoredSensor sensor, TableRow row) { in DisplayInfo() argument
211 mSensor = sensor; in DisplayInfo()
216 mChk.setText(sensor.getUiName()); in DisplayInfo()
217 mChk.setEnabled(sensor.isEnabledByEmulator()); in DisplayInfo()
218 mChk.setChecked(sensor.isEnabledByUser()); in DisplayInfo()
223 mVal.setText(sensor.getValue()); in DisplayInfo()
/sdk/testapps/testSensors/src/com/android/tests/testsensors/
DTestSensorsActivity.java58 MonitoredSensor(Sensor sensor) { in MonitoredSensor() argument
59 mSensor = sensor; in MonitoredSensor()
80 switch (sensor.getType()) { in MonitoredSensor()
197 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/sdk/apps/SdkController/
DImplementation.txt16 sending sensor data, sending multi-touch events, receiving screen updates,
21 will run in the background (e.g. sending sensor data) whereas other might