Searched refs:sensor (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/one/v2/
H A DAutoFocusHelper.java115 /** Compute 3A regions for a sensor-referenced touch coordinate.
123 * @param sensorOrientation sensor orientation as defined by
133 // Compute the output MeteringRectangle in sensor space.
135 // Crop region itself is specified in sensor coordinates.
137 // Normalized coordinates, now rotated into sensor space.
159 * Return AF region(s) for a sensor-referenced touch coordinate.
175 * Return AE region(s) for a sensor-referenced touch coordinate.
191 * Calculates sensor crop region for a zoom level (zoom >= 1.0).
196 Rect sensor = characteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE);
197 int xCenter = sensor
[all...]
/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/InCallUI/src/com/android/incallui/
H A DAccelerometerListener.java44 // mPendingOrientation is the latest orientation computed based on the sensor value.
118 // If some values are exactly zero, then likely the sensor is not powered up yet.
138 public void onAccuracyChanged(Sensor sensor, int accuracy) {
/packages/services/Telephony/src/com/android/phone/
H A DAccelerometerListener.java44 // mPendingOrientation is the latest orientation computed based on the sensor value.
118 // If some values are exactly zero, then likely the sensor is not powered up yet.
138 public void onAccuracyChanged(Sensor sensor, int accuracy) {
/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 2457 milliseconds