Loading core/java/android/hardware/camera2/CameraCharacteristics.java +8 −6 Original line number Diff line number Diff line Loading @@ -284,12 +284,14 @@ public final class CameraCharacteristics extends CameraMetadata { new Key<float[]>("android.lens.info.availableApertures", float[].class); /** * <p>List of supported ND filter * values</p> * <p>If not available, only setting is 0. Otherwise, * lists the available exposure index values for dimming * (2 would mean the filter is set to reduce incoming * light by two stops)</p> * <p>List of supported neutral density filter values for * {@link CaptureRequest#LENS_FILTER_DENSITY android.lens.filterDensity}.</p> * <p>If changing {@link CaptureRequest#LENS_FILTER_DENSITY android.lens.filterDensity} is not supported, * availableFilterDensities must contain only 0. Otherwise, this * list contains only the exact filter density values available on * this camera device.</p> * * @see CaptureRequest#LENS_FILTER_DENSITY */ public static final Key<float[]> LENS_INFO_AVAILABLE_FILTER_DENSITIES = new Key<float[]>("android.lens.info.availableFilterDensities", float[].class); Loading core/java/android/hardware/camera2/CaptureRequest.java +14 −4 Original line number Diff line number Diff line Loading @@ -870,10 +870,20 @@ public final class CaptureRequest extends CameraMetadata implements Parcelable { new Key<Float>("android.lens.aperture", float.class); /** * <p>State of lens neutral density * filter(s)</p> * <p>Will not be supported on most devices. Can only * pick from supported list</p> * <p>State of lens neutral density filter(s).</p> * <p>This will not be supported on most camera devices. On devices * where this is supported, this may only be set to one of the * values included in {@link CameraCharacteristics#LENS_INFO_AVAILABLE_FILTER_DENSITIES android.lens.info.availableFilterDensities}.</p> * <p>Lens filters are typically used to lower the amount of light the * sensor is exposed to (measured in steps of EV). As used here, an EV * step is the standard logarithmic representation, which are * non-negative, and inversely proportional to the amount of light * hitting the sensor. For example, setting this to 0 would result * in no reduction of the incoming light, and setting this to 2 would * mean that the filter is set to reduce incoming light by two stops * (allowing 1/4 of the prior amount of light to the sensor).</p> * * @see CameraCharacteristics#LENS_INFO_AVAILABLE_FILTER_DENSITIES */ public static final Key<Float> LENS_FILTER_DENSITY = new Key<Float>("android.lens.filterDensity", float.class); Loading core/java/android/hardware/camera2/CaptureResult.java +14 −4 Original line number Diff line number Diff line Loading @@ -1078,10 +1078,20 @@ public final class CaptureResult extends CameraMetadata { new Key<Float>("android.lens.aperture", float.class); /** * <p>State of lens neutral density * filter(s)</p> * <p>Will not be supported on most devices. Can only * pick from supported list</p> * <p>State of lens neutral density filter(s).</p> * <p>This will not be supported on most camera devices. On devices * where this is supported, this may only be set to one of the * values included in {@link CameraCharacteristics#LENS_INFO_AVAILABLE_FILTER_DENSITIES android.lens.info.availableFilterDensities}.</p> * <p>Lens filters are typically used to lower the amount of light the * sensor is exposed to (measured in steps of EV). As used here, an EV * step is the standard logarithmic representation, which are * non-negative, and inversely proportional to the amount of light * hitting the sensor. For example, setting this to 0 would result * in no reduction of the incoming light, and setting this to 2 would * mean that the filter is set to reduce incoming light by two stops * (allowing 1/4 of the prior amount of light to the sensor).</p> * * @see CameraCharacteristics#LENS_INFO_AVAILABLE_FILTER_DENSITIES */ public static final Key<Float> LENS_FILTER_DENSITY = new Key<Float>("android.lens.filterDensity", float.class); Loading Loading
core/java/android/hardware/camera2/CameraCharacteristics.java +8 −6 Original line number Diff line number Diff line Loading @@ -284,12 +284,14 @@ public final class CameraCharacteristics extends CameraMetadata { new Key<float[]>("android.lens.info.availableApertures", float[].class); /** * <p>List of supported ND filter * values</p> * <p>If not available, only setting is 0. Otherwise, * lists the available exposure index values for dimming * (2 would mean the filter is set to reduce incoming * light by two stops)</p> * <p>List of supported neutral density filter values for * {@link CaptureRequest#LENS_FILTER_DENSITY android.lens.filterDensity}.</p> * <p>If changing {@link CaptureRequest#LENS_FILTER_DENSITY android.lens.filterDensity} is not supported, * availableFilterDensities must contain only 0. Otherwise, this * list contains only the exact filter density values available on * this camera device.</p> * * @see CaptureRequest#LENS_FILTER_DENSITY */ public static final Key<float[]> LENS_INFO_AVAILABLE_FILTER_DENSITIES = new Key<float[]>("android.lens.info.availableFilterDensities", float[].class); Loading
core/java/android/hardware/camera2/CaptureRequest.java +14 −4 Original line number Diff line number Diff line Loading @@ -870,10 +870,20 @@ public final class CaptureRequest extends CameraMetadata implements Parcelable { new Key<Float>("android.lens.aperture", float.class); /** * <p>State of lens neutral density * filter(s)</p> * <p>Will not be supported on most devices. Can only * pick from supported list</p> * <p>State of lens neutral density filter(s).</p> * <p>This will not be supported on most camera devices. On devices * where this is supported, this may only be set to one of the * values included in {@link CameraCharacteristics#LENS_INFO_AVAILABLE_FILTER_DENSITIES android.lens.info.availableFilterDensities}.</p> * <p>Lens filters are typically used to lower the amount of light the * sensor is exposed to (measured in steps of EV). As used here, an EV * step is the standard logarithmic representation, which are * non-negative, and inversely proportional to the amount of light * hitting the sensor. For example, setting this to 0 would result * in no reduction of the incoming light, and setting this to 2 would * mean that the filter is set to reduce incoming light by two stops * (allowing 1/4 of the prior amount of light to the sensor).</p> * * @see CameraCharacteristics#LENS_INFO_AVAILABLE_FILTER_DENSITIES */ public static final Key<Float> LENS_FILTER_DENSITY = new Key<Float>("android.lens.filterDensity", float.class); Loading
core/java/android/hardware/camera2/CaptureResult.java +14 −4 Original line number Diff line number Diff line Loading @@ -1078,10 +1078,20 @@ public final class CaptureResult extends CameraMetadata { new Key<Float>("android.lens.aperture", float.class); /** * <p>State of lens neutral density * filter(s)</p> * <p>Will not be supported on most devices. Can only * pick from supported list</p> * <p>State of lens neutral density filter(s).</p> * <p>This will not be supported on most camera devices. On devices * where this is supported, this may only be set to one of the * values included in {@link CameraCharacteristics#LENS_INFO_AVAILABLE_FILTER_DENSITIES android.lens.info.availableFilterDensities}.</p> * <p>Lens filters are typically used to lower the amount of light the * sensor is exposed to (measured in steps of EV). As used here, an EV * step is the standard logarithmic representation, which are * non-negative, and inversely proportional to the amount of light * hitting the sensor. For example, setting this to 0 would result * in no reduction of the incoming light, and setting this to 2 would * mean that the filter is set to reduce incoming light by two stops * (allowing 1/4 of the prior amount of light to the sensor).</p> * * @see CameraCharacteristics#LENS_INFO_AVAILABLE_FILTER_DENSITIES */ public static final Key<Float> LENS_FILTER_DENSITY = new Key<Float>("android.lens.filterDensity", float.class); Loading