/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowSensorManager.java | 25 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rate) { argument 37 public void unregisterListener(SensorEventListener listener, Sensor sensor) { argument
|
/external/libxcam/modules/isp/ |
H A D | isp_config_translator.cpp | 40 IspConfigTranslator::IspConfigTranslator (SmartPtr<SensorDescriptor> &sensor) argument 41 : _sensor (sensor) 125 XCAM_LOG_WARNING ("translate exposure failed since sensor not ready");
|
H A D | aiq_handler.cpp | 270 /* 185 sensor code : DB = 160 : 48 */ 536 struct atomisp_exposure sensor; local 539 xcam_mem_clear (sensor); 540 sensor.integration_time[0] = _result.sensor_exp_param.coarse_integration_time; 541 sensor.integration_time[1] = _result.sensor_exp_param.fine_integration_time; 542 sensor.gain[0] = _result.sensor_exp_param.analog_gain_code_global; 543 sensor.gain[1] = _result.sensor_exp_param.digital_gain_global; 544 result->set_isp_config (sensor);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | SensorManagerTest.java | 45 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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
H A D | ShadowSensorManagerTest.java | 60 Sensor sensor = sensorManager.getDefaultSensor(SensorManager.SENSOR_ACCELEROMETER); 61 sensorManager.registerListener(listener, sensor, SensorManager.SENSOR_DELAY_NORMAL); 96 Sensor sensor = Shadow.newInstanceOf(Sensor.class); 97 shadowOf(sensorManager).addSensor(Sensor.TYPE_ACCELEROMETER, sensor); 98 assertThat(sensor).isSameAs(sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER)); 109 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | ShadowSensorManager.java | 29 * Provide a Sensor for the indicated sensor type. 31 * @param sensor Sensor instance 33 public void addSensor(int sensorType, Sensor sensor) { argument 34 sensorMap.put(sensorType, sensor); 43 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rate) { argument 54 public void unregisterListener(SensorEventListener listener, Sensor sensor) { argument
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
H A D | AppRTCProximitySensor.java | 25 * 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 D | OrientationSensorExampleActivity.java | 37 // 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 D | AndouKun.java | 723 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 D | SensorManagerFacade.java | 43 * 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 D | shadows-core-3.1-SNAPSHOT-18.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-19.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-21.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-22.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-16.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-17.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | android-all-4.3_r2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.1.2_r1-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.4_r1-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
/external/robolectric/v1/lib/main/ |
H A D | android.jar | META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ... |