Home
last modified time | relevance | path

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

/development/samples/browseable/BatchStepSensor/
D_index.jd9 sensor batching.</p>
12 <p>The Step Detector sensor fires an
14 steps since a listener was first registered for this sensor.
18 requires manually flushing the sensor event queue before it overflows, which is not
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/
DBatchStepSensorFragment.java257 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in registerEventListener() local
262 mListener, sensor, SensorManager.SENSOR_DELAY_NORMAL, maxdelay); in registerEventListener()
323 if (event.sensor.getType() == Sensor.TYPE_STEP_DETECTOR) {
338 } else if (event.sensor.getType() == Sensor.TYPE_STEP_COUNTER) {
368 public void onAccuracyChanged(Sensor sensor, int accuracy) {
468 String sensor = "-"; in showCountingCards() local
470 sensor = getString(R.string.sensor_counter); in showCountingCards()
472 sensor = getString(R.string.sensor_detector); in showCountingCards()
477 .setDescription(getString(R.string.counting_description, sensor, mMaxDelay, "-")); in showCountingCards()
/development/samples/browseable/JumpingJack/
D_index.jd8 Uses the Gravity sensor to count how many jumping jacks you have performed.
/development/samples/browseable/HdrViewfinder/
D_index.jd9 the sensor\'s exposure time between two exposure values on even and odd frames, and then
/development/samples/ApiDemos/src/com/example/android/apis/os/
DRotationVectorDemo.java113 if (event.sensor.getType() == Sensor.TYPE_ROTATION_VECTOR) { in onSensorChanged()
213 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/development/samples/Compass/src/com/example/android/compass/
DCompassActivity.java205 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
209 int type = event.sensor.getType(); in onSensorChanged()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DSensorTest.java99 Log.e(TAG, "sensorChanged " + event.sensor.getName() +
133 public void onAccuracyChanged(Sensor sensor, int accuracy) {
DCompass.java48 public void onAccuracyChanged(Sensor sensor, int accuracy) {
/development/tools/logblame/
Dsample.txt37 queueActivate: sensor=28, handle=30, enable=0
50 queueActivate: sensor=12, handle=7, enable=0
92 queueBatch: sensor=24, handle=20, period=1000000, latency=0
98 queueActivate: sensor=24, handle=20, enable=1
216 queueBatch: sensor=24, handle=20, period=1000000, latency=0
222 queueActivate: sensor=24, handle=20, enable=1
276 queueBatch: sensor=13, handle=6, period=200000000, latency=0
282 queueActivate: sensor=13, handle=6, enable=1
316 queueBatch: sensor=28, handle=30, period=66667000, latency=0
330 queueActivate: sensor=28, handle=30, enable=1
[all …]
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java379 if (event.sensor.getType() != Sensor.TYPE_ACCELEROMETER) in onSensorChanged()
457 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/
DMainActivity.java151 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/
DMissileLauncherActivity.java210 public void onAccuracyChanged(Sensor sensor, int accuracy) {