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

/packages/apps/Dialer/src/com/android/dialer/
H A DProximitySensorManager.java28 * Manages the proximity sensor and notifies a listener when enabled.
32 * Listener of the state of the proximity sensor.
34 * This interface abstracts two possible states for the proximity sensor, near and far.
36 * The actual meaning of these states depends on the actual sensor.
39 /** Called when the proximity sensor transitions from the far to the near state. */
41 /** Called when the proximity sensor transitions from the near to the far state. */
53 * sensor.
58 * The listener to the state of the sensor.
60 * Contains most of the logic concerning tracking of the sensor.
66 * listener the next time the sensor reache
131 onAccuracyChanged(Sensor sensor, int accuracy) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DEyePosition.java92 Log.w(TAG, "no sensor available");
185 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
190 switch (event.sensor.getType()) {
/packages/apps/Camera2/src/com/android/camera/
H A DCaptureModule.java231 /** Magnetic sensor data. */
448 int type = event.sensor.getType();
455 Log.w(TAG, String.format("Unexpected sensor type %s", event.sensor.getName()));
472 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
558 // Get events from the accelerometer and magnetic sensor.
1107 // - Aspect ratio for the sensor buffers is in landscape
1153 // on a device like N10 with different sensor orientation.
H A DPhotoModule.java1162 // heading direction has been updated by the sensor.
2402 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
2407 int type = event.sensor.getType();

Completed in 141 milliseconds