From 91db1773ddb0180502addd3ac85a7033cd9ccd4e Mon Sep 17 00:00:00 2001 From: Shuzhen Wang Date: Fri, 23 Apr 2021 09:34:06 -0700 Subject: Camera: Fix typos in API doc Test: Build Bug: 195574631 Change-Id: Idf1e6f4390146055cdb7df41d63ab010df5ad1a1 --- .../android/hardware/camera2/MultiResolutionImageReader.java | 2 +- .../android/hardware/camera2/params/InputConfiguration.java | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/java/android/hardware/camera2/MultiResolutionImageReader.java b/core/java/android/hardware/camera2/MultiResolutionImageReader.java index 3af1b5b03d35..0dbf29de5253 100644 --- a/core/java/android/hardware/camera2/MultiResolutionImageReader.java +++ b/core/java/android/hardware/camera2/MultiResolutionImageReader.java @@ -91,7 +91,7 @@ public class MultiResolutionImageReader implements AutoCloseable { *

*

* The {@code maxImages} parameter determines the maximum number of - * {@link Image} objects that can be be acquired from each of the {@code ImageReader} + * {@link Image} objects that can be acquired from each of the {@code ImageReader} * within the {@code MultiResolutionImageReader}. However, requesting more buffers will * use up more memory, so it is important to use only the minimum number necessary. The * application is strongly recommended to acquire no more than {@code maxImages} images diff --git a/core/java/android/hardware/camera2/params/InputConfiguration.java b/core/java/android/hardware/camera2/params/InputConfiguration.java index 8dfc0a7b41ca..70c85a1fb26c 100644 --- a/core/java/android/hardware/camera2/params/InputConfiguration.java +++ b/core/java/android/hardware/camera2/params/InputConfiguration.java @@ -42,7 +42,7 @@ public final class InputConfiguration { private final boolean mIsMultiResolution; /** - * Create an input configration with the width, height, and user-defined format. + * Create an input configuration with the width, height, and user-defined format. * *

Images of a user-defined format are accessible by applications. Use * {@link android.hardware.camera2.CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP} @@ -64,7 +64,7 @@ public final class InputConfiguration { } /** - * Create an input configration with the format and a list of multi-resolution input stream + * Create an input configuration with the format and a list of multi-resolution input stream * info. * *

Use {@link @@ -108,7 +108,7 @@ public final class InputConfiguration { } /** - * Get the width of this input configration. + * Get the width of this input configuration. * * @return width of this input configuration. */ @@ -117,7 +117,7 @@ public final class InputConfiguration { } /** - * Get the height of this input configration. + * Get the height of this input configuration. * * @return height of this input configuration. */ @@ -126,7 +126,7 @@ public final class InputConfiguration { } /** - * Get the format of this input configration. + * Get the format of this input configuration. * * @return format of this input configuration. */ -- cgit v1.2.3-59-g8ed1b