Searched defs:sensor (Results 1 - 19 of 19) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowSensorManager.java25 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rate) { argument
37 public void unregisterListener(SensorEventListener listener, Sensor sensor) { argument
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DSensorManagerTest.java45 Sensor sensor = sensorManager.getDefaultSensor(SensorManager.SENSOR_ACCELEROMETER);
46 sensorManager.registerListener(listener, sensor, SensorManager.SENSOR_DELAY_NORMAL);
74 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
H A DAppRTCProximitySensor.java25 * AppRTCProximitySensor manages functions related to the proximity sensor in
27 * On most device, the proximity sensor is implemented as a boolean-sensor.
29 * value i.e. the LUX value of the light sensor is compared with a threshold.
30 * A LUX-value more than the threshold means the proximity sensor returns "FAR".
31 * Anything less than the threshold value and the sensor returns "NEAR".
60 * Activate the proximity sensor. Also do initializtion if called for the
67 // Proximity sensor is not supported on this device.
75 /** Deactivate the proximity sensor. */
92 public final void onAccuracyChanged(Sensor sensor, in argument
[all...]
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
H A DOrientationSensorExampleActivity.java37 // Monitor the phone's orientation sensor and plot the resulting azimuth pitch and roll values.
168 // register for orientation sensor events:
170 for (Sensor sensor : sensorMgr.getSensorList(Sensor.TYPE_ORIENTATION)) {
171 if (sensor.getType() == Sensor.TYPE_ORIENTATION) {
172 orSensor = sensor;
176 // if we can't access the orientation sensor then exit:
208 // aunregister with the orientation sensor before exiting:
246 public void onAccuracyChanged(Sensor sensor, int i) { argument
/external/replicaisland/src/com/replica/replicaisland/
H A DAndouKun.java723 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
731 if (event.sensor.getType() == Sensor.TYPE_ORIENTATION) {
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
H A DSensorManagerFacade.java43 * sensor readings have up to 16 decimal places, the majority of which are noise. On many phones the
48 * Following a startSensingTimed(A,B) api call sensor events are entered into the Event Queue (see
51 * duplicate readings the minimum delay should be 20 milliseconds. The light sensor will probably be
53 * level is constant no sensor events will be registered by the light sensor.
55 * Following a startSensingThreshold(A,B,C) api call sensor events greater than a given threshold
60 * C parameter is the required axis (XYZ) of the sensor: 0 = No axis, 1 = X, 2 = Y, 3 = X+Y, 4 = Z,
136 @Rpc(description = "Starts recording sensor data to be available for polling.")
152 for (Sensor sensor : mSensorManager.getSensorList(Sensor.TYPE_ALL)) {
153 mSensorManager.registerListener(mSensorListener, sensor,
289 onAccuracyChanged(Sensor sensor, int accuracy) argument
[all...]
/external/robolectric/v3/runtime/
H A Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
/external/robolectric/v1/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...

Completed in 172 milliseconds