From aef3b7ed9f2a27aed9aecef030432d1100a60406 Mon Sep 17 00:00:00 2001
From: Igor Murashkin
Date: Wed, 15 Jan 2014 13:20:37 -0800
Subject: [PATCH] camera2: @hide android.statistics.predictedColor*
Change-Id: I8c1b7596c1e0c311a4f9fabdd5de72b4b7b372b5
---
api/current.txt | 2 --
core/java/android/hardware/camera2/CaptureRequest.java | 6 +++---
core/java/android/hardware/camera2/CaptureResult.java | 10 +++++++---
3 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/api/current.txt b/api/current.txt
index 5ab64a2a8758c..8650f42b89bdd 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -11532,8 +11532,6 @@ package android.hardware.camera2 {
field public static final android.hardware.camera2.CameraMetadata.Key STATISTICS_FACES;
field public static final android.hardware.camera2.CameraMetadata.Key STATISTICS_FACE_DETECT_MODE;
field public static final android.hardware.camera2.CameraMetadata.Key STATISTICS_LENS_SHADING_MAP;
- field public static final android.hardware.camera2.CameraMetadata.Key STATISTICS_PREDICTED_COLOR_GAINS;
- field public static final android.hardware.camera2.CameraMetadata.Key STATISTICS_PREDICTED_COLOR_TRANSFORM;
field public static final android.hardware.camera2.CameraMetadata.Key STATISTICS_SCENE_FLICKER;
field public static final android.hardware.camera2.CameraMetadata.Key TONEMAP_CURVE_BLUE;
field public static final android.hardware.camera2.CameraMetadata.Key TONEMAP_CURVE_GREEN;
diff --git a/core/java/android/hardware/camera2/CaptureRequest.java b/core/java/android/hardware/camera2/CaptureRequest.java
index 09ad3fb0b78bd..e759e04111abb 100644
--- a/core/java/android/hardware/camera2/CaptureRequest.java
+++ b/core/java/android/hardware/camera2/CaptureRequest.java
@@ -400,8 +400,8 @@ public final class CaptureRequest extends CameraMetadata implements Parcelable {
* the application in this.
*
* @see CameraCharacteristics#CONTROL_AE_AVAILABLE_ANTIBANDING_MODES
- * @see CaptureRequest#CONTROL_MODE
* @see CaptureResult#STATISTICS_SCENE_FLICKER
+ * @see CaptureRequest#CONTROL_MODE
* @see CaptureRequest#CONTROL_AE_MODE
* @see #CONTROL_AE_ANTIBANDING_MODE_OFF
* @see #CONTROL_AE_ANTIBANDING_MODE_50HZ
@@ -453,12 +453,12 @@ public final class CaptureRequest extends CameraMetadata implements Parcelable {
* fields for a given capture will be available in its
* CaptureResult.
*
+ * @see CaptureRequest#SENSOR_EXPOSURE_TIME
+ * @see CaptureRequest#SENSOR_FRAME_DURATION
* @see CaptureRequest#SENSOR_SENSITIVITY
* @see CaptureRequest#FLASH_MODE
* @see CameraCharacteristics#FLASH_INFO_AVAILABLE
* @see CaptureRequest#CONTROL_MODE
- * @see CaptureRequest#SENSOR_EXPOSURE_TIME
- * @see CaptureRequest#SENSOR_FRAME_DURATION
* @see #CONTROL_AE_MODE_OFF
* @see #CONTROL_AE_MODE_ON
* @see #CONTROL_AE_MODE_ON_AUTO_FLASH
diff --git a/core/java/android/hardware/camera2/CaptureResult.java b/core/java/android/hardware/camera2/CaptureResult.java
index 5bec33ff9f21b..d23eafa9eeaa4 100644
--- a/core/java/android/hardware/camera2/CaptureResult.java
+++ b/core/java/android/hardware/camera2/CaptureResult.java
@@ -195,12 +195,12 @@ public final class CaptureResult extends CameraMetadata {
* fields for a given capture will be available in its
* CaptureResult.
*
+ * @see CaptureRequest#SENSOR_EXPOSURE_TIME
+ * @see CaptureRequest#SENSOR_FRAME_DURATION
* @see CaptureRequest#SENSOR_SENSITIVITY
* @see CaptureRequest#FLASH_MODE
* @see CameraCharacteristics#FLASH_INFO_AVAILABLE
* @see CaptureRequest#CONTROL_MODE
- * @see CaptureRequest#SENSOR_EXPOSURE_TIME
- * @see CaptureRequest#SENSOR_FRAME_DURATION
* @see #CONTROL_AE_MODE_OFF
* @see #CONTROL_AE_MODE_ON
* @see #CONTROL_AE_MODE_ON_AUTO_FLASH
@@ -522,8 +522,8 @@ public final class CaptureResult extends CameraMetadata {
* back to the user in the corresponding result.
*
* @see CameraCharacteristics#LENS_INFO_AVAILABLE_APERTURES
- * @see CaptureRequest#SENSOR_EXPOSURE_TIME
* @see CaptureRequest#SENSOR_SENSITIVITY
+ * @see CaptureRequest#SENSOR_EXPOSURE_TIME
* @see CaptureRequest#CONTROL_AE_MODE
*/
public static final Key LENS_APERTURE =
@@ -836,8 +836,10 @@ public final class CaptureResult extends CameraMetadata {
* see {@link CaptureRequest#COLOR_CORRECTION_GAINS android.colorCorrection.gains} for details.
* This value should always be calculated by the AWB block,
* regardless of the android.control.* current values.
+ * Optional - This value may be {@code null} on some devices.
*
* @see CaptureRequest#COLOR_CORRECTION_GAINS
+ * @hide
*/
public static final Key STATISTICS_PREDICTED_COLOR_GAINS =
new Key("android.statistics.predictedColorGains", float[].class);
@@ -858,6 +860,8 @@ public final class CaptureResult extends CameraMetadata {
* capture settings and color transforms are set by the application.
* This value should always be calculated by the AWB block,
* regardless of the android.control.* current values.
+ * Optional - This value may be {@code null} on some devices.
+ * @hide
*/
public static final Key STATISTICS_PREDICTED_COLOR_TRANSFORM =
new Key("android.statistics.predictedColorTransform", Rational[].class);