Home
last modified time | relevance | path

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

/developers/samples/android/sensors/BatchStepSensor/Application/src/main/java/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()
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/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()
/developers/build/prebuilts/gradle/BatchStepSensor/
DREADME.md12 sensor batching.
17 The Step Detector sensor fires an
19 steps since a listener was first registered for this sensor.
24 requires manually flushing the [sensor event][3] queue before it overflows, which is not
/developers/samples/android/sensors/BatchStepSensor/
DREADME.md12 sensor batching.
17 The Step Detector sensor fires an
19 steps since a listener was first registered for this sensor.
24 requires manually flushing the [sensor event][3] queue before it overflows, which is not
/developers/build/prebuilts/gradle/Camera2Raw/
DREADME.md5 This sample demonstrates using the Camera2 API to capture a JPEG and RAW sensor frame.
8 RAW image for the same sensor frame; and save these into MediaStore for use in other
15 directly from the camera sensor that has not yet been converted into a format and
/developers/build/prebuilts/gradle/JumpingJack/
DREADME.md5 A basic sample showing how to use the Gravity sensor on the wearable device
12 [SensorManager][2] when sensor values have changed.
15 of the Gravity sensor by the following code:
/developers/samples/android/media/HdrViewfinder/
DREADME.md6 the sensor's exposure time between two exposure values on even and odd frames, and then
15 by alternating the sensor's exposure time between two exposure values on even and odd
/developers/build/prebuilts/gradle/HdrViewfinder/
DREADME.md6 the sensor's exposure time between two exposure values on even and odd frames, and then
15 by alternating the sensor's exposure time between two exposure values on even and odd
/developers/samples/android/sensors/AccelerometerPlay/app/src/main/java/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java360 if (event.sensor.getType() != Sensor.TYPE_ACCELEROMETER) in onSensorChanged()
426 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/developers/samples/android/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/
DMainActivity.java152 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/developers/build/prebuilts/gradle/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/
DMainActivity.java151 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/developers/samples/android/security/FingerprintDialog/kotlinApp/
DREADME.md21 Then start listening to a fingerprint on the fingerprint sensor by calling
/developers/build/prebuilts/gradle/FingerprintDialog/kotlinApp/
DREADME.md21 Then start listening to a fingerprint on the fingerprint sensor by calling
/developers/build/prebuilts/gradle/FingerprintDialog/
DREADME.md21 Then start listening to a fingerprint on the fingerprint sensor by calling
/developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/
DREADME.md22 Then start listening to a fingerprint on the fingerprint sensor by calling