From 14c753626e0bee5c550fdb70a7c1bffd29caea7a Mon Sep 17 00:00:00 2001 From: Eino-Ville Talvala Date: Fri, 19 Jun 2020 13:52:55 -0700 Subject: [PATCH] Camera: Adjust documentation and comments for insensitive language. Test: Builds Bug: 159480149 Change-Id: I0daadbfa6505339bdcec4a49c6e4577424832f75 --- .../android/hardware/camera2/CameraCharacteristics.java | 9 +++++---- core/java/android/hardware/camera2/CaptureRequest.java | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/core/java/android/hardware/camera2/CameraCharacteristics.java b/core/java/android/hardware/camera2/CameraCharacteristics.java index b149d7798aab2..dc56963ffd8c8 100644 --- a/core/java/android/hardware/camera2/CameraCharacteristics.java +++ b/core/java/android/hardware/camera2/CameraCharacteristics.java @@ -4086,10 +4086,11 @@ public final class CameraCharacteristics extends CameraMetadataThe accuracy of frame timestamp synchronization between physical cameras

*

The accuracy of the frame timestamp synchronization determines the physical cameras' - * ability to start exposure at the same time. If the sensorSyncType is CALIBRATED, - * the physical camera sensors usually run in master-slave mode so that their shutter - * time is synchronized. For APPROXIMATE sensorSyncType, the camera sensors usually run in - * master-master mode, and there could be offset between their start of exposure.

+ * ability to start exposure at the same time. If the sensorSyncType is CALIBRATED, the + * physical camera sensors usually run in leader/follower mode where one sensor generates a + * timing signal for the other, so that their shutter time is synchronized. For APPROXIMATE + * sensorSyncType, the camera sensors usually run in leader/leader mode, where both sensors + * use their own timing generator, and there could be offset between their start of exposure.

*

In both cases, all images generated for a particular capture request still carry the same * timestamps, so that they can be used to look up the matching frame number and * onCaptureStarted callback.

diff --git a/core/java/android/hardware/camera2/CaptureRequest.java b/core/java/android/hardware/camera2/CaptureRequest.java index d071037409a7d..1b1ccb590e162 100644 --- a/core/java/android/hardware/camera2/CaptureRequest.java +++ b/core/java/android/hardware/camera2/CaptureRequest.java @@ -477,8 +477,8 @@ public final class CaptureRequest extends CameraMetadata> * A constrained high speed request list contains some constrained high speed capture requests * with certain interleaved pattern that is suitable for high speed preview/video streaming. An * active constrained high speed capture session only accepts constrained high speed request - * lists. This method can be used to do the sanity check when a constrained high speed capture - * session receives a request list via {@link CameraCaptureSession#setRepeatingBurst} or + * lists. This method can be used to do the correctness check when a constrained high speed + * capture session receives a request list via {@link CameraCaptureSession#setRepeatingBurst} or * {@link CameraCaptureSession#captureBurst}.

* *