Home
last modified time | relevance | path

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

/development/ndk/platforms/android-21/include/android/
Dsensor.h123 int32_t sensor; member
153 int32_t sensor; member
242 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor);
247 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor);
256 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec);
287 const char* ASensor_getName(ASensor const* sensor);
292 const char* ASensor_getVendor(ASensor const* sensor);
297 int ASensor_getType(ASensor const* sensor);
302 float ASensor_getResolution(ASensor const* sensor);
309 int ASensor_getMinDelay(ASensor const* sensor);
[all …]
/development/ndk/platforms/android-19/include/android/
Dsensor.h111 int32_t sensor; member
136 int32_t sensor; member
215 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor);
220 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor);
229 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec);
260 const char* ASensor_getName(ASensor const* sensor);
265 const char* ASensor_getVendor(ASensor const* sensor);
270 int ASensor_getType(ASensor const* sensor);
275 float ASensor_getResolution(ASensor const* sensor);
282 int ASensor_getMinDelay(ASensor const* sensor);
/development/ndk/platforms/android-9/include/android/
Dsensor.h112 int32_t sensor; member
182 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor);
187 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor);
196 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec);
227 const char* ASensor_getName(ASensor const* sensor);
232 const char* ASensor_getVendor(ASensor const* sensor);
237 int ASensor_getType(ASensor const* sensor);
242 float ASensor_getResolution(ASensor const* sensor);
249 int ASensor_getMinDelay(ASensor const* sensor);
/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/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/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/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) {