Skip to content
com.iristick.smartglass.support.camera2

Class CameraMetadata<Key>

Direct Known Subclasses:
CameraCharacteristics, CaptureRequest, CaptureResult

Deprecated. 
Not maintained anymore. Please use the com.iristick.smartglass.core.camera package instead.

@Deprecated
public abstract class CameraMetadata<Key>
extends Object

The base class for camera controls and information.

This class defines the basic key/value map used for querying for camera characteristics or capture results, and for setting camera request parameters.

All instances of CameraMetadata are immutable. The list of keys with getKeys() never changes, nor do the values returned by any key with #get throughout the lifetime of the object.

Since:
Android API level 21
See Also:
CameraDevice, CameraManager, CameraCharacteristics

Field Summary

Modifier and Type Field and Description
static int COLOR_CORRECTION_ABERRATION_MODE_FAST
Deprecated. 
Aberration correction will not slow down capture rate relative to sensor raw output.
static int COLOR_CORRECTION_ABERRATION_MODE_HIGH_QUALITY
Deprecated. 
Aberration correction operates at improved quality but the capture rate might be reduced (relative to sensor raw output rate)
static int COLOR_CORRECTION_ABERRATION_MODE_OFF
Deprecated. 
No aberration correction is applied.
static int COLOR_CORRECTION_MODE_FAST
Deprecated. 
Color correction processing must not slow down capture rate relative to sensor raw output.
static int COLOR_CORRECTION_MODE_HIGH_QUALITY
Deprecated. 
Color correction processing operates at improved quality but the capture rate might be reduced (relative to sensor raw output rate)
static int COLOR_CORRECTION_MODE_TRANSFORM_MATRIX
Deprecated. 
Use the android.colorCorrection.transform matrix and android.colorCorrection.gains to do color conversion.
static int CONTROL_AE_ANTIBANDING_MODE_50HZ
Deprecated. 
The camera device will adjust exposure duration to avoid banding problems with 50Hz illumination sources.
static int CONTROL_AE_ANTIBANDING_MODE_60HZ
Deprecated. 
The camera device will adjust exposure duration to avoid banding problems with 60Hz illumination sources.
static int CONTROL_AE_ANTIBANDING_MODE_AUTO
Deprecated. 
The camera device will automatically adapt its antibanding routine to the current illumination condition.
static int CONTROL_AE_ANTIBANDING_MODE_OFF
Deprecated. 
The camera device will not adjust exposure duration to avoid banding problems.
static int CONTROL_AE_MODE_OFF
Deprecated. 
The camera device's autoexposure routine is disabled.
static int CONTROL_AE_MODE_ON
Deprecated. 
The camera device's autoexposure routine is active, with no flash control.
static int CONTROL_AE_MODE_ON_ALWAYS_FLASH
Deprecated. 
Like ON, except that the camera device also controls the camera's flash unit, always firing it for still captures.
static int CONTROL_AE_MODE_ON_AUTO_FLASH
Deprecated. 
Like ON, except that the camera device also controls the camera's flash unit, firing it in low-light conditions.
static int CONTROL_AE_MODE_ON_AUTO_FLASH_REDEYE
Deprecated. 
Like ON_AUTO_FLASH, but with automatic red eye reduction.
static int CONTROL_AE_PRECAPTURE_TRIGGER_CANCEL
Deprecated. 
The camera device will cancel any currently active or completed precapture metering sequence, the auto-exposure routine will return to its initial state.
static int CONTROL_AE_PRECAPTURE_TRIGGER_IDLE
Deprecated. 
The trigger is idle.
static int CONTROL_AE_PRECAPTURE_TRIGGER_START
Deprecated. 
The precapture metering sequence will be started by the camera device.
static int CONTROL_AE_STATE_CONVERGED
Deprecated. 
AE has a good set of control values for the current scene.
static int CONTROL_AE_STATE_FLASH_REQUIRED
Deprecated. 
AE has a good set of control values, but flash needs to be fired for good quality still capture.
static int CONTROL_AE_STATE_INACTIVE
Deprecated. 
AE is off or recently reset.
static int CONTROL_AE_STATE_LOCKED
Deprecated. 
AE has been locked.
static int CONTROL_AE_STATE_PRECAPTURE
Deprecated. 
AE has been asked to do a precapture sequence and is currently executing it.
static int CONTROL_AE_STATE_SEARCHING
Deprecated. 
AE doesn't yet have a good set of control values for the current scene.
static int CONTROL_AF_MODE_AUTO
Deprecated. 
Basic automatic focus mode.
static int CONTROL_AF_MODE_CONTINUOUS_PICTURE
Deprecated. 
In this mode, the AF algorithm modifies the lens position continually to attempt to provide a constantly-in-focus image stream.
static int CONTROL_AF_MODE_CONTINUOUS_VIDEO
Deprecated. 
In this mode, the AF algorithm modifies the lens position continually to attempt to provide a constantly-in-focus image stream.
static int CONTROL_AF_MODE_EDOF
Deprecated. 
Extended depth of field (digital focus) mode.
static int CONTROL_AF_MODE_LASER_ASSISTED
Deprecated. 
Laser-assisted automatic focus mode.
static int CONTROL_AF_MODE_MACRO
Deprecated. 
Close-up focusing mode.
static int CONTROL_AF_MODE_OFF
Deprecated. 
The auto-focus routine does not control the lens; android.lens.focusDistance is controlled by the application.
static int CONTROL_AF_STATE_ACTIVE_SCAN
Deprecated. 
AF is performing an AF scan because it was triggered by AF trigger.
static int CONTROL_AF_STATE_FOCUSED_LOCKED
Deprecated. 
AF believes it is focused correctly and has locked focus.
static int CONTROL_AF_STATE_INACTIVE
Deprecated. 
AF is off or has not yet tried to scan/been asked to scan.
static int CONTROL_AF_STATE_NOT_FOCUSED_LOCKED
Deprecated. 
AF has failed to focus successfully and has locked focus.
static int CONTROL_AF_STATE_PASSIVE_FOCUSED
Deprecated. 
AF currently believes it is in focus, but may restart scanning at any time.
static int CONTROL_AF_STATE_PASSIVE_SCAN
Deprecated. 
AF is currently performing an AF scan initiated the camera device in a continuous autofocus mode.
static int CONTROL_AF_STATE_PASSIVE_UNFOCUSED
Deprecated. 
AF finished a passive scan without finding focus, and may restart scanning at any time.
static int CONTROL_AF_TRIGGER_CANCEL
Deprecated. 
Autofocus will return to its initial state, and cancel any currently active trigger.
static int CONTROL_AF_TRIGGER_IDLE
Deprecated. 
The trigger is idle.
static int CONTROL_AF_TRIGGER_START
Deprecated. 
Autofocus will trigger now.
static int CONTROL_AWB_MODE_AUTO
Deprecated. 
The camera device's auto-white balance routine is active.
static int CONTROL_AWB_MODE_CLOUDY_DAYLIGHT
Deprecated. 
The camera device's auto-white balance routine is disabled; the camera device uses cloudy daylight light as the assumed scene illumination for white balance.
static int CONTROL_AWB_MODE_DAYLIGHT
Deprecated. 
The camera device's auto-white balance routine is disabled; the camera device uses daylight light as the assumed scene illumination for white balance.
static int CONTROL_AWB_MODE_FLUORESCENT
Deprecated. 
The camera device's auto-white balance routine is disabled; the camera device uses fluorescent light as the assumed scene illumination for white balance.
static int CONTROL_AWB_MODE_INCANDESCENT
Deprecated. 
The camera device's auto-white balance routine is disabled; the camera device uses incandescent light as the assumed scene illumination for white balance.
static int CONTROL_AWB_MODE_OFF
Deprecated. 
The camera device's auto-white balance routine is disabled.
static int CONTROL_AWB_MODE_SHADE
Deprecated. 
The camera device's auto-white balance routine is disabled; the camera device uses shade light as the assumed scene illumination for white balance.
static int CONTROL_AWB_MODE_TWILIGHT
Deprecated. 
The camera device's auto-white balance routine is disabled; the camera device uses twilight light as the assumed scene illumination for white balance.
static int CONTROL_AWB_MODE_WARM_FLUORESCENT
Deprecated. 
The camera device's auto-white balance routine is disabled; the camera device uses warm fluorescent light as the assumed scene illumination for white balance.
static int CONTROL_AWB_STATE_CONVERGED
Deprecated. 
AWB has a good set of control values for the current scene.
static int CONTROL_AWB_STATE_INACTIVE
Deprecated. 
AWB is not in auto mode, or has not yet started metering.
static int CONTROL_AWB_STATE_LOCKED
Deprecated. 
AWB has been locked.
static int CONTROL_AWB_STATE_SEARCHING
Deprecated. 
AWB doesn't yet have a good set of control values for the current scene.
static int CONTROL_CAPTURE_INTENT_CUSTOM
Deprecated. 
The goal of this request doesn't fall into the other categories.
static int CONTROL_CAPTURE_INTENT_MANUAL
Deprecated. 
This request is for manual capture use case where the applications want to directly control the capture parameters.
static int CONTROL_CAPTURE_INTENT_PREVIEW
Deprecated. 
This request is for a preview-like use case.
static int CONTROL_CAPTURE_INTENT_STILL_CAPTURE
Deprecated. 
This request is for a still capture-type use case.
static int CONTROL_CAPTURE_INTENT_VIDEO_RECORD
Deprecated. 
This request is for a video recording use case.
static int CONTROL_CAPTURE_INTENT_VIDEO_SNAPSHOT
Deprecated. 
This request is for a video snapshot (still image while recording video) use case.
static int CONTROL_CAPTURE_INTENT_ZERO_SHUTTER_LAG
Deprecated. 
This request is for a ZSL usecase; the application will stream full-resolution images and reprocess one or several later for a final capture.
static int CONTROL_EFFECT_MODE_AQUA
Deprecated. 
An "aqua" effect where a blue hue is added to the image.
static int CONTROL_EFFECT_MODE_BLACKBOARD
Deprecated. 
A "blackboard" effect where the image is typically displayed as regions of black, with white or grey details.
static int CONTROL_EFFECT_MODE_MONO
Deprecated. 
A "monocolor" effect where the image is mapped into a single color.
static int CONTROL_EFFECT_MODE_NEGATIVE
Deprecated. 
A "photo-negative" effect where the image's colors are inverted.
static int CONTROL_EFFECT_MODE_OFF
Deprecated. 
No color effect will be applied.
static int CONTROL_EFFECT_MODE_POSTERIZE
Deprecated. 
A "posterization" effect where the image uses discrete regions of tone rather than a continuous gradient of tones.
static int CONTROL_EFFECT_MODE_SEPIA
Deprecated. 
A "sepia" effect where the image is mapped into warm gray, red, and brown tones.
static int CONTROL_EFFECT_MODE_SOLARIZE
Deprecated. 
A "solarisation" effect (Sabattier effect) where the image is wholly or partially reversed in tone.
static int CONTROL_EFFECT_MODE_WHITEBOARD
Deprecated. 
A "whiteboard" effect where the image is typically displayed as regions of white, with black or grey details.
static int CONTROL_MODE_AUTO
Deprecated. 
Use settings for each individual 3A routine.
static int CONTROL_MODE_OFF
Deprecated. 
Full application control of pipeline.
static int CONTROL_MODE_OFF_KEEP_STATE
Deprecated. 
Same as OFF mode, except that this capture will not be used by camera device background auto-exposure, auto-white balance and auto-focus algorithms (3A) to update their statistics.
static int CONTROL_MODE_USE_SCENE_MODE
Deprecated. 
Use a specific scene mode.
static int CONTROL_SCENE_MODE_ACTION
Deprecated. 
Optimized for photos of quickly moving objects.
static int CONTROL_SCENE_MODE_BARCODE
Deprecated. 
Optimized for accurately capturing a photo of barcode for use by camera applications that wish to read the barcode value.
static int CONTROL_SCENE_MODE_BEACH
Deprecated. 
Optimized for bright, outdoor beach settings.
static int CONTROL_SCENE_MODE_CANDLELIGHT
Deprecated. 
Optimized for dim settings where the main light source is a flame.
static int CONTROL_SCENE_MODE_DISABLED
Deprecated. 
Indicates that no scene modes are set for a given capture request.
static int CONTROL_SCENE_MODE_FACE_PRIORITY
Deprecated. 
If face detection support exists, use face detection data for auto-focus, auto-white balance, and auto-exposure routines.
static int CONTROL_SCENE_MODE_FIREWORKS
Deprecated. 
Optimized for nighttime photos of fireworks.
static int CONTROL_SCENE_MODE_HDR
Deprecated. 
Turn on a device-specific high dynamic range (HDR) mode.
static int CONTROL_SCENE_MODE_HIGH_SPEED_VIDEO
Deprecated. 
Please refer to this API documentation to find the alternatives
static int CONTROL_SCENE_MODE_LANDSCAPE
Deprecated. 
Optimized for photos of distant macroscopic objects.
static int CONTROL_SCENE_MODE_NIGHT
Deprecated. 
Optimized for low-light settings.
static int CONTROL_SCENE_MODE_NIGHT_PORTRAIT
Deprecated. 
Optimized for still photos of people in low-light settings.
static int CONTROL_SCENE_MODE_PARTY
Deprecated. 
Optimized for dim, indoor settings with multiple moving people.
static int CONTROL_SCENE_MODE_PORTRAIT
Deprecated. 
Optimized for still photos of people.
static int CONTROL_SCENE_MODE_SNOW
Deprecated. 
Optimized for bright, outdoor settings containing snow.
static int CONTROL_SCENE_MODE_SPORTS
Deprecated. 
Optimized for photos of quickly moving people.
static int CONTROL_SCENE_MODE_STEADYPHOTO
Deprecated. 
Optimized to avoid blurry photos due to small amounts of device motion (for example: due to hand shake).
static int CONTROL_SCENE_MODE_SUNSET
Deprecated. 
Optimized for scenes of the setting sun.
static int CONTROL_SCENE_MODE_THEATRE
Deprecated. 
Optimized for dim, indoor settings where flash must remain off.
static int CONTROL_VIDEO_STABILIZATION_MODE_OFF
Deprecated. 
Video stabilization is disabled.
static int CONTROL_VIDEO_STABILIZATION_MODE_ON
Deprecated. 
Video stabilization is enabled.
static int EDGE_MODE_FAST
Deprecated. 
Apply edge enhancement at a quality level that does not slow down frame rate relative to sensor output.
static int EDGE_MODE_HIGH_QUALITY
Deprecated. 
Apply high-quality edge enhancement, at a cost of possibly reduced output frame rate.
static int EDGE_MODE_OFF
Deprecated. 
No edge enhancement is applied.
static int EDGE_MODE_ZERO_SHUTTER_LAG
Deprecated. 
Edge enhancement is applied at different levels for different output streams, based on resolution.
static int FLASH_MODE_OFF
Deprecated. 
Do not fire the flash for this capture.
static int FLASH_MODE_SINGLE
Deprecated. 
If the flash is available and charged, fire flash for this capture.
static int FLASH_MODE_TORCH
Deprecated. 
Transition flash to continuously on.
static int FLASH_STATE_CHARGING
Deprecated. 
Flash is charging and cannot be fired.
static int FLASH_STATE_FIRED
Deprecated. 
Flash fired for this capture.
static int FLASH_STATE_PARTIAL
Deprecated. 
Flash partially illuminated this frame.
static int FLASH_STATE_READY
Deprecated. 
Flash is ready to fire.
static int FLASH_STATE_UNAVAILABLE
Deprecated. 
No flash on camera.
static int HOT_PIXEL_MODE_FAST
Deprecated. 
Hot pixel correction is applied, without reducing frame rate relative to sensor raw output.
static int HOT_PIXEL_MODE_HIGH_QUALITY
Deprecated. 
High-quality hot pixel correction is applied, at a cost of possibly reduced frame rate relative to sensor raw output.
static int HOT_PIXEL_MODE_OFF
Deprecated. 
No hot pixel correction is applied.
static int INFO_SUPPORTED_HARDWARE_LEVEL_3
Deprecated. 
This camera device is capable of YUV reprocessing and RAW data capture, in addition to FULL-level capabilities.
static int INFO_SUPPORTED_HARDWARE_LEVEL_FULL
Deprecated. 
This camera device is capable of supporting advanced imaging applications.
static int INFO_SUPPORTED_HARDWARE_LEVEL_IRISTICK_SMARTGLASS
Deprecated. 
This camera device is an Iristick Smartglass camera.
static int INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY
Deprecated. 
This camera device is running in backward compatibility mode.
static int INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED
Deprecated. 
This camera device does not have enough capabilities to qualify as a FULL device or better.
static int LENS_FACING_BACK
Deprecated. 
The camera device faces the opposite direction as the device's screen.
static int LENS_FACING_EXTERNAL
Deprecated. 
The camera device is an external camera, and has no fixed facing relative to the device's screen.
static int LENS_FACING_FRONT
Deprecated. 
The camera device faces the same direction as the device's screen.
static int LENS_INFO_FOCUS_DISTANCE_CALIBRATION_APPROXIMATE
Deprecated. 
The lens focus distance is measured in diopters.
static int LENS_INFO_FOCUS_DISTANCE_CALIBRATION_CALIBRATED
Deprecated. 
The lens focus distance is measured in diopters, and is calibrated.
static int LENS_INFO_FOCUS_DISTANCE_CALIBRATION_UNCALIBRATED
Deprecated. 
The lens focus distance is not accurate, and the units used for android.lens.focusDistance do not correspond to any physical units.
static int LENS_OPTICAL_STABILIZATION_MODE_OFF
Deprecated. 
Optical stabilization is unavailable.
static int LENS_OPTICAL_STABILIZATION_MODE_ON
Deprecated. 
Optical stabilization is enabled.
static int LENS_STATE_MOVING
Deprecated. 
One or several of the lens parameters (android.lens.focalLength, android.lens.focusDistance, android.lens.filterDensity or android.lens.aperture) is currently changing.
static int LENS_STATE_STATIONARY
Deprecated. 
static int NOISE_REDUCTION_MODE_FAST
Deprecated. 
Noise reduction is applied without reducing frame rate relative to sensor output.
static int NOISE_REDUCTION_MODE_HIGH_QUALITY
Deprecated. 
High-quality noise reduction is applied, at the cost of possibly reduced frame rate relative to sensor output.
static int NOISE_REDUCTION_MODE_MINIMAL
Deprecated. 
MINIMAL noise reduction is applied without reducing frame rate relative to sensor output.
static int NOISE_REDUCTION_MODE_OFF
Deprecated. 
No noise reduction is applied.
static int NOISE_REDUCTION_MODE_ZERO_SHUTTER_LAG
Deprecated. 
Noise reduction is applied at different levels for different output streams, based on resolution.
static int REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE
Deprecated. 
The minimal set of capabilities that every camera device (regardless of android.info.supportedHardwareLevel) supports.
static int REQUEST_AVAILABLE_CAPABILITIES_BURST_CAPTURE
Deprecated. 
The camera device supports capturing high-resolution images at >= 20 frames per second, in at least the uncompressed YUV format, when post-processing settings are set to FAST.
static int REQUEST_AVAILABLE_CAPABILITIES_CONSTRAINED_HIGH_SPEED_VIDEO
Deprecated. 
The device supports constrained high speed video recording (frame rate >=120fps) use case.
static int REQUEST_AVAILABLE_CAPABILITIES_DEPTH_OUTPUT
Deprecated. 
The camera device can produce depth measurements from its field of view.
static int REQUEST_AVAILABLE_CAPABILITIES_IRISTICK_SMARTGLASS
Deprecated. 
The camera device supports interacting with the Iristick Smartglass hardware, such as the laser and flash light.
static int REQUEST_AVAILABLE_CAPABILITIES_MANUAL_POST_PROCESSING
Deprecated. 
The camera device post-processing stages can be manually controlled.
static int REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR
Deprecated. 
The camera device can be manually controlled (3A algorithms such as auto-exposure, and auto-focus can be bypassed).
static int REQUEST_AVAILABLE_CAPABILITIES_PRIVATE_REPROCESSING
Deprecated. 
The camera device supports the Zero Shutter Lag reprocessing use case.
static int REQUEST_AVAILABLE_CAPABILITIES_RAW
Deprecated. 
The camera device supports outputting RAW buffers and metadata for interpreting them.
static int REQUEST_AVAILABLE_CAPABILITIES_READ_SENSOR_SETTINGS
Deprecated. 
The camera device supports accurately reporting the sensor settings for many of the sensor controls while the built-in 3A algorithm is running.
static int REQUEST_AVAILABLE_CAPABILITIES_YUV_REPROCESSING
Deprecated. 
The camera device supports the YUV_420_888 reprocessing use case, similar as PRIVATE_REPROCESSING, This capability requires the camera device to support the following:
static int SCALER_CROPPING_TYPE_CENTER_ONLY
Deprecated. 
The camera device only supports centered crop regions.
static int SCALER_CROPPING_TYPE_FREEFORM
Deprecated. 
The camera device supports arbitrarily chosen crop regions.
static int SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_BGGR
Deprecated. 
 
static int SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GBRG
Deprecated. 
 
static int SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GRBG
Deprecated. 
 
static int SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGB
Deprecated. 
Sensor is not Bayer; output has 3 16-bit values for each pixel, instead of just 1 16-bit value per pixel.
static int SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGGB
Deprecated. 
 
static int SENSOR_INFO_TIMESTAMP_SOURCE_REALTIME
Deprecated. 
Timestamps from android.sensor.timestamp are in the same timebase as SystemClock.elapsedRealtimeNanos(), and they can be compared to other timestamps using that base.
static int SENSOR_INFO_TIMESTAMP_SOURCE_UNKNOWN
Deprecated. 
Timestamps from android.sensor.timestamp are in nanoseconds and monotonic, but can not be compared to timestamps from other subsystems (e.g.
static int SENSOR_REFERENCE_ILLUMINANT1_CLOUDY_WEATHER
Deprecated. 
 
static int SENSOR_REFERENCE_ILLUMINANT1_COOL_WHITE_FLUORESCENT
Deprecated. 
W 3900 - 4500K
static int SENSOR_REFERENCE_ILLUMINANT1_D50
Deprecated. 
 
static int SENSOR_REFERENCE_ILLUMINANT1_D55
Deprecated. 
 
static int SENSOR_REFERENCE_ILLUMINANT1_D65
Deprecated. 
 
static int SENSOR_REFERENCE_ILLUMINANT1_D75
Deprecated. 
 
static int SENSOR_REFERENCE_ILLUMINANT1_DAY_WHITE_FLUORESCENT
Deprecated. 
N 4600 - 5400K
static int SENSOR_REFERENCE_ILLUMINANT1_DAYLIGHT
Deprecated. 
 
static int SENSOR_REFERENCE_ILLUMINANT1_DAYLIGHT_FLUORESCENT
Deprecated. 
D 5700 - 7100K
static int SENSOR_REFERENCE_ILLUMINANT1_FINE_WEATHER
Deprecated. 
 
static int SENSOR_REFERENCE_ILLUMINANT1_FLASH
Deprecated. 
 
static int SENSOR_REFERENCE_ILLUMINANT1_FLUORESCENT
Deprecated. 
 
static int SENSOR_REFERENCE_ILLUMINANT1_ISO_STUDIO_TUNGSTEN
Deprecated. 
 
static int SENSOR_REFERENCE_ILLUMINANT1_SHADE
Deprecated. 
 
static int SENSOR_REFERENCE_ILLUMINANT1_STANDARD_A
Deprecated. 
 
static int SENSOR_REFERENCE_ILLUMINANT1_STANDARD_B
Deprecated. 
 
static int SENSOR_REFERENCE_ILLUMINANT1_STANDARD_C
Deprecated. 
 
static int SENSOR_REFERENCE_ILLUMINANT1_TUNGSTEN
Deprecated. 
Incandescent light
static int SENSOR_REFERENCE_ILLUMINANT1_WHITE_FLUORESCENT
Deprecated. 
WW 3200 - 3700K
static int SENSOR_TEST_PATTERN_MODE_COLOR_BARS
Deprecated. 
All pixel data is replaced with an 8-bar color pattern.
static int SENSOR_TEST_PATTERN_MODE_COLOR_BARS_FADE_TO_GRAY
Deprecated. 
The test pattern is similar to COLOR_BARS, except that each bar should start at its specified color at the top, and fade to gray at the bottom.
static int SENSOR_TEST_PATTERN_MODE_CUSTOM1
Deprecated. 
The first custom test pattern.
static int SENSOR_TEST_PATTERN_MODE_OFF
Deprecated. 
No test pattern mode is used, and the camera device returns captures from the image sensor.
static int SENSOR_TEST_PATTERN_MODE_PN9
Deprecated. 
All pixel data is replaced by a pseudo-random sequence generated from a PN9 512-bit sequence (typically implemented in hardware with a linear feedback shift register).
static int SENSOR_TEST_PATTERN_MODE_SOLID_COLOR
Deprecated. 
Each pixel in [R, G_even, G_odd, B] is replaced by its respective color channel provided in android.sensor.testPatternData.
static int SHADING_MODE_FAST
Deprecated. 
Apply lens shading corrections, without slowing frame rate relative to sensor raw output
static int SHADING_MODE_HIGH_QUALITY
Deprecated. 
Apply high-quality lens shading correction, at the cost of possibly reduced frame rate.
static int SHADING_MODE_OFF
Deprecated. 
No lens shading correction is applied.
static int STATISTICS_FACE_DETECT_MODE_FULL
Deprecated. 
Return all face metadata.
static int STATISTICS_FACE_DETECT_MODE_OFF
Deprecated. 
Do not include face detection statistics in capture results.
static int STATISTICS_FACE_DETECT_MODE_SIMPLE
Deprecated. 
Return face rectangle and confidence values only.
static int STATISTICS_LENS_SHADING_MAP_MODE_OFF
Deprecated. 
Do not include a lens shading map in the capture result.
static int STATISTICS_LENS_SHADING_MAP_MODE_ON
Deprecated. 
Include a lens shading map in the capture result.
static int STATISTICS_SCENE_FLICKER_50HZ
Deprecated. 
The camera device detects illumination flickering at 50Hz in the current scene.
static int STATISTICS_SCENE_FLICKER_60HZ
Deprecated. 
The camera device detects illumination flickering at 60Hz in the current scene.
static int STATISTICS_SCENE_FLICKER_NONE
Deprecated. 
The camera device does not detect any flickering illumination in the current scene.
static int SYNC_MAX_LATENCY_PER_FRAME_CONTROL
Deprecated. 
Every frame has the requests immediately applied.
static int SYNC_MAX_LATENCY_UNKNOWN
Deprecated. 
Each new frame has some subset (potentially the entire set) of the past requests applied to the camera settings.
static int TONEMAP_MODE_CONTRAST_CURVE
Deprecated. 
Use the tone mapping curve specified in the android.tonemap.curve* entries.
static int TONEMAP_MODE_FAST
Deprecated. 
Advanced gamma mapping and color enhancement may be applied, without reducing frame rate compared to raw sensor output.
static int TONEMAP_MODE_GAMMA_VALUE
Deprecated. 
Use the gamma value specified in android.tonemap.gamma to peform tonemapping.
static int TONEMAP_MODE_HIGH_QUALITY
Deprecated. 
High-quality gamma mapping and color enhancement will be applied, at the cost of possibly reduced frame rate compared to raw sensor output.
static int TONEMAP_MODE_PRESET_CURVE
Deprecated. 
Use the preset tonemapping curve specified in android.tonemap.presetCurve to peform tonemapping.
static int TONEMAP_PRESET_CURVE_REC709
Deprecated. 
Tonemapping curve is defined by ITU-R BT.709
static int TONEMAP_PRESET_CURVE_SRGB
Deprecated. 
Tonemapping curve is defined by sRGB

Method Summary

Modifier and Type Method and Description
abstract List<Key> getKeys()
Deprecated. 
Returns a list of the keys contained in this map.
com.iristick.smartglass.support.camera2.internal.ImplementationProvider getProvider()
Deprecated. 
 

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

COLOR_CORRECTION_ABERRATION_MODE_FAST

public static final int COLOR_CORRECTION_ABERRATION_MODE_FAST
Deprecated. 

Aberration correction will not slow down capture rate relative to sensor raw output.

See Also:
CaptureRequest.COLOR_CORRECTION_ABERRATION_MODE

COLOR_CORRECTION_ABERRATION_MODE_HIGH_QUALITY

public static final int COLOR_CORRECTION_ABERRATION_MODE_HIGH_QUALITY
Deprecated. 

Aberration correction operates at improved quality but the capture rate might be reduced (relative to sensor raw output rate)

See Also:
CaptureRequest.COLOR_CORRECTION_ABERRATION_MODE

COLOR_CORRECTION_ABERRATION_MODE_OFF

public static final int COLOR_CORRECTION_ABERRATION_MODE_OFF
Deprecated. 

No aberration correction is applied.

See Also:
CaptureRequest.COLOR_CORRECTION_ABERRATION_MODE

COLOR_CORRECTION_MODE_FAST

public static final int COLOR_CORRECTION_MODE_FAST
Deprecated. 

Color correction processing must not slow down capture rate relative to sensor raw output.

Advanced white balance adjustments above and beyond the specified white balance pipeline may be applied.

If AWB is enabled with android.control.awbMode != OFF, then the camera device uses the last frame's AWB values (or defaults if AWB has never been run).

See Also:
CaptureRequest.CONTROL_AWB_MODE, CaptureRequest.COLOR_CORRECTION_MODE

COLOR_CORRECTION_MODE_HIGH_QUALITY

public static final int COLOR_CORRECTION_MODE_HIGH_QUALITY
Deprecated. 

Color correction processing operates at improved quality but the capture rate might be reduced (relative to sensor raw output rate)

Advanced white balance adjustments above and beyond the specified white balance pipeline may be applied.

If AWB is enabled with android.control.awbMode != OFF, then the camera device uses the last frame's AWB values (or defaults if AWB has never been run).

See Also:
CaptureRequest.CONTROL_AWB_MODE, CaptureRequest.COLOR_CORRECTION_MODE

COLOR_CORRECTION_MODE_TRANSFORM_MATRIX

public static final int COLOR_CORRECTION_MODE_TRANSFORM_MATRIX
Deprecated. 

Use the android.colorCorrection.transform matrix and android.colorCorrection.gains to do color conversion.

All advanced white balance adjustments (not specified by our white balance pipeline) must be disabled.

If AWB is enabled with android.control.awbMode != OFF, then TRANSFORM_MATRIX is ignored. The camera device will override this value to either FAST or HIGH_QUALITY.

See Also:
CaptureRequest.COLOR_CORRECTION_GAINS, CaptureRequest.COLOR_CORRECTION_TRANSFORM, CaptureRequest.CONTROL_AWB_MODE, CaptureRequest.COLOR_CORRECTION_MODE

CONTROL_AE_ANTIBANDING_MODE_50HZ

public static final int CONTROL_AE_ANTIBANDING_MODE_50HZ
Deprecated. 

The camera device will adjust exposure duration to avoid banding problems with 50Hz illumination sources.

See Also:
CaptureRequest.CONTROL_AE_ANTIBANDING_MODE

CONTROL_AE_ANTIBANDING_MODE_60HZ

public static final int CONTROL_AE_ANTIBANDING_MODE_60HZ
Deprecated. 

The camera device will adjust exposure duration to avoid banding problems with 60Hz illumination sources.

See Also:
CaptureRequest.CONTROL_AE_ANTIBANDING_MODE

CONTROL_AE_ANTIBANDING_MODE_AUTO

public static final int CONTROL_AE_ANTIBANDING_MODE_AUTO
Deprecated. 

The camera device will automatically adapt its antibanding routine to the current illumination condition. This is the default mode if AUTO is available on given camera device.

See Also:
CaptureRequest.CONTROL_AE_ANTIBANDING_MODE

CONTROL_AE_ANTIBANDING_MODE_OFF

public static final int CONTROL_AE_ANTIBANDING_MODE_OFF
Deprecated. 

The camera device will not adjust exposure duration to avoid banding problems.

See Also:
CaptureRequest.CONTROL_AE_ANTIBANDING_MODE

CONTROL_AE_MODE_OFF

public static final int CONTROL_AE_MODE_OFF
Deprecated. 

The camera device's autoexposure routine is disabled.

The application-selected android.sensor.exposureTime, android.sensor.sensitivity and android.sensor.frameDuration are used by the camera device, along with android.flash.* fields, if there's a flash unit for this camera device.

Note that auto-white balance (AWB) and auto-focus (AF) behavior is device dependent when AE is in OFF mode. To have consistent behavior across different devices, it is recommended to either set AWB and AF to OFF mode or lock AWB and AF before setting AE to OFF. See android.control.awbMode, android.control.afMode, android.control.awbLock, and android.control.afTrigger for more details.

LEGACY devices do not support the OFF mode and will override attempts to use this value to ON.

See Also:
CaptureRequest.CONTROL_AF_MODE, CaptureRequest.CONTROL_AF_TRIGGER, CaptureRequest.CONTROL_AWB_LOCK, CaptureRequest.CONTROL_AWB_MODE, CaptureRequest.SENSOR_EXPOSURE_TIME, CaptureRequest.SENSOR_FRAME_DURATION, CaptureRequest.SENSOR_SENSITIVITY, CaptureRequest.CONTROL_AE_MODE

CONTROL_AE_MODE_ON

public static final int CONTROL_AE_MODE_ON
Deprecated. 

The camera device's autoexposure routine is active, with no flash control.

The application's values for android.sensor.exposureTime, android.sensor.sensitivity, and android.sensor.frameDuration are ignored. The application has control over the various android.flash.* fields.

See Also:
CaptureRequest.SENSOR_EXPOSURE_TIME, CaptureRequest.SENSOR_FRAME_DURATION, CaptureRequest.SENSOR_SENSITIVITY, CaptureRequest.CONTROL_AE_MODE

CONTROL_AE_MODE_ON_ALWAYS_FLASH

public static final int CONTROL_AE_MODE_ON_ALWAYS_FLASH
Deprecated. 

Like ON, except that the camera device also controls the camera's flash unit, always firing it for still captures.

The flash may be fired during a precapture sequence (triggered by android.control.aePrecaptureTrigger) and will always be fired for captures for which the android.control.captureIntent field is set to STILL_CAPTURE

See Also:
CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, CaptureRequest.CONTROL_CAPTURE_INTENT, CaptureRequest.CONTROL_AE_MODE

CONTROL_AE_MODE_ON_AUTO_FLASH

public static final int CONTROL_AE_MODE_ON_AUTO_FLASH
Deprecated. 

Like ON, except that the camera device also controls the camera's flash unit, firing it in low-light conditions.

The flash may be fired during a precapture sequence (triggered by android.control.aePrecaptureTrigger) and may be fired for captures for which the android.control.captureIntent field is set to STILL_CAPTURE

See Also:
CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, CaptureRequest.CONTROL_CAPTURE_INTENT, CaptureRequest.CONTROL_AE_MODE

CONTROL_AE_MODE_ON_AUTO_FLASH_REDEYE

public static final int CONTROL_AE_MODE_ON_AUTO_FLASH_REDEYE
Deprecated. 

Like ON_AUTO_FLASH, but with automatic red eye reduction.

If deemed necessary by the camera device, a red eye reduction flash will fire during the precapture sequence.

See Also:
CaptureRequest.CONTROL_AE_MODE

CONTROL_AE_PRECAPTURE_TRIGGER_CANCEL

public static final int CONTROL_AE_PRECAPTURE_TRIGGER_CANCEL
Deprecated. 

The camera device will cancel any currently active or completed precapture metering sequence, the auto-exposure routine will return to its initial state.

Since:
Android API level 23
See Also:
CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER

CONTROL_AE_PRECAPTURE_TRIGGER_IDLE

public static final int CONTROL_AE_PRECAPTURE_TRIGGER_IDLE
Deprecated. 

The trigger is idle.

See Also:
CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER

CONTROL_AE_PRECAPTURE_TRIGGER_START

public static final int CONTROL_AE_PRECAPTURE_TRIGGER_START
Deprecated. 

The precapture metering sequence will be started by the camera device.

The exact effect of the precapture trigger depends on the current AE mode and state.

See Also:
CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER

CONTROL_AE_STATE_CONVERGED

public static final int CONTROL_AE_STATE_CONVERGED
Deprecated. 

AE has a good set of control values for the current scene.

See Also:
CaptureResult.CONTROL_AE_STATE

CONTROL_AE_STATE_FLASH_REQUIRED

public static final int CONTROL_AE_STATE_FLASH_REQUIRED
Deprecated. 

AE has a good set of control values, but flash needs to be fired for good quality still capture.

See Also:
CaptureResult.CONTROL_AE_STATE

CONTROL_AE_STATE_INACTIVE

public static final int CONTROL_AE_STATE_INACTIVE
Deprecated. 

AE is off or recently reset.

When a camera device is opened, it starts in this state. This is a transient state, the camera device may skip reporting this state in capture result.

See Also:
CaptureResult.CONTROL_AE_STATE

CONTROL_AE_STATE_LOCKED

public static final int CONTROL_AE_STATE_LOCKED
Deprecated. 

AE has been locked.

See Also:
CaptureResult.CONTROL_AE_STATE

CONTROL_AE_STATE_PRECAPTURE

public static final int CONTROL_AE_STATE_PRECAPTURE
Deprecated. 

AE has been asked to do a precapture sequence and is currently executing it.

Precapture can be triggered through setting android.control.aePrecaptureTrigger to START. Currently active and completed (if it causes camera device internal AE lock) precapture metering sequence can be canceled through setting android.control.aePrecaptureTrigger to CANCEL.

Once PRECAPTURE completes, AE will transition to CONVERGED or FLASH_REQUIRED as appropriate. This is a transient state, the camera device may skip reporting this state in capture result.

See Also:
CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, CaptureResult.CONTROL_AE_STATE

CONTROL_AE_STATE_SEARCHING

public static final int CONTROL_AE_STATE_SEARCHING
Deprecated. 

AE doesn't yet have a good set of control values for the current scene.

This is a transient state, the camera device may skip reporting this state in capture result.

See Also:
CaptureResult.CONTROL_AE_STATE

CONTROL_AF_MODE_AUTO

public static final int CONTROL_AF_MODE_AUTO
Deprecated. 

Basic automatic focus mode.

In this mode, the lens does not move unless the autofocus trigger action is called. When that trigger is activated, AF will transition to ACTIVE_SCAN, then to the outcome of the scan (FOCUSED or NOT_FOCUSED).

Always supported if lens is not fixed focus.

Use android.lens.info.minimumFocusDistance to determine if lens is fixed-focus.

Triggering AF_CANCEL resets the lens position to default, and sets the AF state to INACTIVE.

See Also:
CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE, CaptureRequest.CONTROL_AF_MODE

CONTROL_AF_MODE_CONTINUOUS_PICTURE

public static final int CONTROL_AF_MODE_CONTINUOUS_PICTURE
Deprecated. 

In this mode, the AF algorithm modifies the lens position continually to attempt to provide a constantly-in-focus image stream.

The focusing behavior should be suitable for still image capture; typically this means focusing as fast as possible. When the AF trigger is not involved, the AF algorithm should start in INACTIVE state, and then transition into PASSIVE_SCAN and PASSIVE_FOCUSED states as appropriate as it attempts to maintain focus. When the AF trigger is activated, the algorithm should finish its PASSIVE_SCAN if active, and then transition into AF_FOCUSED or AF_NOT_FOCUSED as appropriate, and lock the lens position until a cancel AF trigger is received.

When the AF cancel trigger is activated, the algorithm should transition back to INACTIVE and then act as if it has just been started.

See Also:
CaptureRequest.CONTROL_AF_MODE

CONTROL_AF_MODE_CONTINUOUS_VIDEO

public static final int CONTROL_AF_MODE_CONTINUOUS_VIDEO
Deprecated. 

In this mode, the AF algorithm modifies the lens position continually to attempt to provide a constantly-in-focus image stream.

The focusing behavior should be suitable for good quality video recording; typically this means slower focus movement and no overshoots. When the AF trigger is not involved, the AF algorithm should start in INACTIVE state, and then transition into PASSIVE_SCAN and PASSIVE_FOCUSED states as appropriate. When the AF trigger is activated, the algorithm should immediately transition into AF_FOCUSED or AF_NOT_FOCUSED as appropriate, and lock the lens position until a cancel AF trigger is received.

Once cancel is received, the algorithm should transition back to INACTIVE and resume passive scan. Note that this behavior is not identical to CONTINUOUS_PICTURE, since an ongoing PASSIVE_SCAN must immediately be canceled.

See Also:
CaptureRequest.CONTROL_AF_MODE

CONTROL_AF_MODE_EDOF

public static final int CONTROL_AF_MODE_EDOF
Deprecated. 

Extended depth of field (digital focus) mode.

The camera device will produce images with an extended depth of field automatically; no special focusing operations need to be done before taking a picture.

AF triggers are ignored, and the AF state will always be INACTIVE.

See Also:
CaptureRequest.CONTROL_AF_MODE

CONTROL_AF_MODE_MACRO

public static final int CONTROL_AF_MODE_MACRO
Deprecated. 

Close-up focusing mode.

In this mode, the lens does not move unless the autofocus trigger action is called. When that trigger is activated, AF will transition to ACTIVE_SCAN, then to the outcome of the scan (FOCUSED or NOT_FOCUSED). This mode is optimized for focusing on objects very close to the camera.

When that trigger is activated, AF will transition to ACTIVE_SCAN, then to the outcome of the scan (FOCUSED or NOT_FOCUSED). Triggering cancel AF resets the lens position to default, and sets the AF state to INACTIVE.

See Also:
CaptureRequest.CONTROL_AF_MODE

CONTROL_AF_MODE_OFF

public static final int CONTROL_AF_MODE_OFF
Deprecated. 

The auto-focus routine does not control the lens; android.lens.focusDistance is controlled by the application.

See Also:
CaptureRequest.LENS_FOCUS_DISTANCE, CaptureRequest.CONTROL_AF_MODE

CONTROL_AF_MODE_LASER_ASSISTED

public static final int CONTROL_AF_MODE_LASER_ASSISTED
Deprecated. 

Laser-assisted automatic focus mode.

In this mode, the lens does not move unless the autofocus trigger action is called. The laser is then briefly fired to estimate the distance to the target object and set focus appropriately.

See Also:
CaptureRequest.CONTROL_AF_MODE

CONTROL_AF_STATE_ACTIVE_SCAN

public static final int CONTROL_AF_STATE_ACTIVE_SCAN
Deprecated. 

AF is performing an AF scan because it was triggered by AF trigger.

Only used by AUTO or MACRO AF modes. This is a transient state, the camera device may skip reporting this state in capture result.

See Also:
CaptureResult.CONTROL_AF_STATE

CONTROL_AF_STATE_FOCUSED_LOCKED

public static final int CONTROL_AF_STATE_FOCUSED_LOCKED
Deprecated. 

AF believes it is focused correctly and has locked focus.

This state is reached only after an explicit START AF trigger has been sent (android.control.afTrigger), when good focus has been obtained.

The lens will remain stationary until the AF mode (android.control.afMode) is changed or a new AF trigger is sent to the camera device (android.control.afTrigger).

See Also:
CaptureRequest.CONTROL_AF_MODE, CaptureRequest.CONTROL_AF_TRIGGER, CaptureResult.CONTROL_AF_STATE

CONTROL_AF_STATE_INACTIVE

public static final int CONTROL_AF_STATE_INACTIVE
Deprecated. 

AF is off or has not yet tried to scan/been asked to scan.

When a camera device is opened, it starts in this state. This is a transient state, the camera device may skip reporting this state in capture result.

See Also:
CaptureResult.CONTROL_AF_STATE

CONTROL_AF_STATE_NOT_FOCUSED_LOCKED

public static final int CONTROL_AF_STATE_NOT_FOCUSED_LOCKED
Deprecated. 

AF has failed to focus successfully and has locked focus.

This state is reached only after an explicit START AF trigger has been sent (android.control.afTrigger), when good focus cannot be obtained.

The lens will remain stationary until the AF mode (android.control.afMode) is changed or a new AF trigger is sent to the camera device (android.control.afTrigger).

See Also:
CaptureRequest.CONTROL_AF_MODE, CaptureRequest.CONTROL_AF_TRIGGER, CaptureResult.CONTROL_AF_STATE

CONTROL_AF_STATE_PASSIVE_FOCUSED

public static final int CONTROL_AF_STATE_PASSIVE_FOCUSED
Deprecated. 

AF currently believes it is in focus, but may restart scanning at any time.

Only used by CONTINUOUS_* AF modes. This is a transient state, the camera device may skip reporting this state in capture result.

See Also:
CaptureResult.CONTROL_AF_STATE

CONTROL_AF_STATE_PASSIVE_SCAN

public static final int CONTROL_AF_STATE_PASSIVE_SCAN
Deprecated. 

AF is currently performing an AF scan initiated the camera device in a continuous autofocus mode.

Only used by CONTINUOUS_* AF modes. This is a transient state, the camera device may skip reporting this state in capture result.

See Also:
CaptureResult.CONTROL_AF_STATE

CONTROL_AF_STATE_PASSIVE_UNFOCUSED

public static final int CONTROL_AF_STATE_PASSIVE_UNFOCUSED
Deprecated. 

AF finished a passive scan without finding focus, and may restart scanning at any time.

Only used by CONTINUOUS_* AF modes. This is a transient state, the camera device may skip reporting this state in capture result.

LEGACY camera devices do not support this state. When a passive scan has finished, it will always go to PASSIVE_FOCUSED.

See Also:
CaptureResult.CONTROL_AF_STATE

CONTROL_AF_TRIGGER_CANCEL

public static final int CONTROL_AF_TRIGGER_CANCEL
Deprecated. 

Autofocus will return to its initial state, and cancel any currently active trigger.

See Also:
CaptureRequest.CONTROL_AF_TRIGGER

CONTROL_AF_TRIGGER_IDLE

public static final int CONTROL_AF_TRIGGER_IDLE
Deprecated. 

The trigger is idle.

See Also:
CaptureRequest.CONTROL_AF_TRIGGER

CONTROL_AF_TRIGGER_START

public static final int CONTROL_AF_TRIGGER_START
Deprecated. 

Autofocus will trigger now.

See Also:
CaptureRequest.CONTROL_AF_TRIGGER

CONTROL_AWB_MODE_AUTO

public static final int CONTROL_AWB_MODE_AUTO
Deprecated. 

The camera device's auto-white balance routine is active.

The application's values for android.colorCorrection.transform and android.colorCorrection.gains are ignored. For devices that support the MANUAL_POST_PROCESSING capability, the values used by the camera device for the transform and gains will be available in the capture result for this request.

See Also:
CaptureRequest.COLOR_CORRECTION_GAINS, CaptureRequest.COLOR_CORRECTION_TRANSFORM, CaptureRequest.CONTROL_AWB_MODE

CONTROL_AWB_MODE_CLOUDY_DAYLIGHT

public static final int CONTROL_AWB_MODE_CLOUDY_DAYLIGHT
Deprecated. 

The camera device's auto-white balance routine is disabled; the camera device uses cloudy daylight light as the assumed scene illumination for white balance.

The application's values for android.colorCorrection.transform and android.colorCorrection.gains are ignored. For devices that support the MANUAL_POST_PROCESSING capability, the values used by the camera device for the transform and gains will be available in the capture result for this request.

See Also:
CaptureRequest.COLOR_CORRECTION_GAINS, CaptureRequest.COLOR_CORRECTION_TRANSFORM, CaptureRequest.CONTROL_AWB_MODE

CONTROL_AWB_MODE_DAYLIGHT

public static final int CONTROL_AWB_MODE_DAYLIGHT
Deprecated. 

The camera device's auto-white balance routine is disabled; the camera device uses daylight light as the assumed scene illumination for white balance.

While the exact white balance transforms are up to the camera device, they will approximately match the CIE standard illuminant D65.

The application's values for android.colorCorrection.transform and android.colorCorrection.gains are ignored. For devices that support the MANUAL_POST_PROCESSING capability, the values used by the camera device for the transform and gains will be available in the capture result for this request.

See Also:
CaptureRequest.COLOR_CORRECTION_GAINS, CaptureRequest.COLOR_CORRECTION_TRANSFORM, CaptureRequest.CONTROL_AWB_MODE

CONTROL_AWB_MODE_FLUORESCENT

public static final int CONTROL_AWB_MODE_FLUORESCENT
Deprecated. 

The camera device's auto-white balance routine is disabled; the camera device uses fluorescent light as the assumed scene illumination for white balance.

While the exact white balance transforms are up to the camera device, they will approximately match the CIE standard illuminant F2.

The application's values for android.colorCorrection.transform and android.colorCorrection.gains are ignored. For devices that support the MANUAL_POST_PROCESSING capability, the values used by the camera device for the transform and gains will be available in the capture result for this request.

See Also:
CaptureRequest.COLOR_CORRECTION_GAINS, CaptureRequest.COLOR_CORRECTION_TRANSFORM, CaptureRequest.CONTROL_AWB_MODE

CONTROL_AWB_MODE_INCANDESCENT

public static final int CONTROL_AWB_MODE_INCANDESCENT
Deprecated. 

The camera device's auto-white balance routine is disabled; the camera device uses incandescent light as the assumed scene illumination for white balance.

While the exact white balance transforms are up to the camera device, they will approximately match the CIE standard illuminant A.

The application's values for android.colorCorrection.transform and android.colorCorrection.gains are ignored. For devices that support the MANUAL_POST_PROCESSING capability, the values used by the camera device for the transform and gains will be available in the capture result for this request.

See Also:
CaptureRequest.COLOR_CORRECTION_GAINS, CaptureRequest.COLOR_CORRECTION_TRANSFORM, CaptureRequest.CONTROL_AWB_MODE

CONTROL_AWB_MODE_OFF

public static final int CONTROL_AWB_MODE_OFF
Deprecated. 

The camera device's auto-white balance routine is disabled.

The application-selected color transform matrix (android.colorCorrection.transform) and gains (android.colorCorrection.gains) are used by the camera device for manual white balance control.

See Also:
CaptureRequest.COLOR_CORRECTION_GAINS, CaptureRequest.COLOR_CORRECTION_TRANSFORM, CaptureRequest.CONTROL_AWB_MODE

CONTROL_AWB_MODE_SHADE

public static final int CONTROL_AWB_MODE_SHADE
Deprecated. 

The camera device's auto-white balance routine is disabled; the camera device uses shade light as the assumed scene illumination for white balance.

The application's values for android.colorCorrection.transform and android.colorCorrection.gains are ignored. For devices that support the MANUAL_POST_PROCESSING capability, the values used by the camera device for the transform and gains will be available in the capture result for this request.

See Also:
CaptureRequest.COLOR_CORRECTION_GAINS, CaptureRequest.COLOR_CORRECTION_TRANSFORM, CaptureRequest.CONTROL_AWB_MODE

CONTROL_AWB_MODE_TWILIGHT

public static final int CONTROL_AWB_MODE_TWILIGHT
Deprecated. 

The camera device's auto-white balance routine is disabled; the camera device uses twilight light as the assumed scene illumination for white balance.

The application's values for android.colorCorrection.transform and android.colorCorrection.gains are ignored. For devices that support the MANUAL_POST_PROCESSING capability, the values used by the camera device for the transform and gains will be available in the capture result for this request.

See Also:
CaptureRequest.COLOR_CORRECTION_GAINS, CaptureRequest.COLOR_CORRECTION_TRANSFORM, CaptureRequest.CONTROL_AWB_MODE

CONTROL_AWB_MODE_WARM_FLUORESCENT

public static final int CONTROL_AWB_MODE_WARM_FLUORESCENT
Deprecated. 

The camera device's auto-white balance routine is disabled; the camera device uses warm fluorescent light as the assumed scene illumination for white balance.

While the exact white balance transforms are up to the camera device, they will approximately match the CIE standard illuminant F4.

The application's values for android.colorCorrection.transform and android.colorCorrection.gains are ignored. For devices that support the MANUAL_POST_PROCESSING capability, the values used by the camera device for the transform and gains will be available in the capture result for this request.

See Also:
CaptureRequest.COLOR_CORRECTION_GAINS, CaptureRequest.COLOR_CORRECTION_TRANSFORM, CaptureRequest.CONTROL_AWB_MODE

CONTROL_AWB_STATE_CONVERGED

public static final int CONTROL_AWB_STATE_CONVERGED
Deprecated. 

AWB has a good set of control values for the current scene.

See Also:
CaptureResult.CONTROL_AWB_STATE

CONTROL_AWB_STATE_INACTIVE

public static final int CONTROL_AWB_STATE_INACTIVE
Deprecated. 

AWB is not in auto mode, or has not yet started metering.

When a camera device is opened, it starts in this state. This is a transient state, the camera device may skip reporting this state in capture result.

See Also:
CaptureResult.CONTROL_AWB_STATE

CONTROL_AWB_STATE_LOCKED

public static final int CONTROL_AWB_STATE_LOCKED
Deprecated. 

AWB has been locked.

See Also:
CaptureResult.CONTROL_AWB_STATE

CONTROL_AWB_STATE_SEARCHING

public static final int CONTROL_AWB_STATE_SEARCHING
Deprecated. 

AWB doesn't yet have a good set of control values for the current scene.

This is a transient state, the camera device may skip reporting this state in capture result.

See Also:
CaptureResult.CONTROL_AWB_STATE

CONTROL_CAPTURE_INTENT_CUSTOM

public static final int CONTROL_CAPTURE_INTENT_CUSTOM
Deprecated. 

The goal of this request doesn't fall into the other categories. The camera device will default to preview-like behavior.

See Also:
CaptureRequest.CONTROL_CAPTURE_INTENT

CONTROL_CAPTURE_INTENT_MANUAL

public static final int CONTROL_CAPTURE_INTENT_MANUAL
Deprecated. 

This request is for manual capture use case where the applications want to directly control the capture parameters.

For example, the application may wish to manually control android.sensor.exposureTime, android.sensor.sensitivity, etc.

See Also:
CaptureRequest.SENSOR_EXPOSURE_TIME, CaptureRequest.SENSOR_SENSITIVITY, CaptureRequest.CONTROL_CAPTURE_INTENT

CONTROL_CAPTURE_INTENT_PREVIEW

public static final int CONTROL_CAPTURE_INTENT_PREVIEW
Deprecated. 

This request is for a preview-like use case.

The precapture trigger may be used to start off a metering w/flash sequence.

See Also:
CaptureRequest.CONTROL_CAPTURE_INTENT

CONTROL_CAPTURE_INTENT_STILL_CAPTURE

public static final int CONTROL_CAPTURE_INTENT_STILL_CAPTURE
Deprecated. 

This request is for a still capture-type use case.

If the flash unit is under automatic control, it may fire as needed.

See Also:
CaptureRequest.CONTROL_CAPTURE_INTENT

CONTROL_CAPTURE_INTENT_VIDEO_RECORD

public static final int CONTROL_CAPTURE_INTENT_VIDEO_RECORD
Deprecated. 

This request is for a video recording use case.

See Also:
CaptureRequest.CONTROL_CAPTURE_INTENT

CONTROL_CAPTURE_INTENT_VIDEO_SNAPSHOT

public static final int CONTROL_CAPTURE_INTENT_VIDEO_SNAPSHOT
Deprecated. 

This request is for a video snapshot (still image while recording video) use case.

The camera device should take the highest-quality image possible (given the other settings) without disrupting the frame rate of video recording.

See Also:
CaptureRequest.CONTROL_CAPTURE_INTENT

CONTROL_CAPTURE_INTENT_ZERO_SHUTTER_LAG

public static final int CONTROL_CAPTURE_INTENT_ZERO_SHUTTER_LAG
Deprecated. 

This request is for a ZSL usecase; the application will stream full-resolution images and reprocess one or several later for a final capture.

See Also:
CaptureRequest.CONTROL_CAPTURE_INTENT

CONTROL_EFFECT_MODE_AQUA

public static final int CONTROL_EFFECT_MODE_AQUA
Deprecated. 

An "aqua" effect where a blue hue is added to the image.

See Also:
CaptureRequest.CONTROL_EFFECT_MODE

CONTROL_EFFECT_MODE_BLACKBOARD

public static final int CONTROL_EFFECT_MODE_BLACKBOARD
Deprecated. 

A "blackboard" effect where the image is typically displayed as regions of black, with white or grey details.

See Also:
CaptureRequest.CONTROL_EFFECT_MODE

CONTROL_EFFECT_MODE_MONO

public static final int CONTROL_EFFECT_MODE_MONO
Deprecated. 

A "monocolor" effect where the image is mapped into a single color.

This will typically be grayscale.

See Also:
CaptureRequest.CONTROL_EFFECT_MODE

CONTROL_EFFECT_MODE_NEGATIVE

public static final int CONTROL_EFFECT_MODE_NEGATIVE
Deprecated. 

A "photo-negative" effect where the image's colors are inverted.

See Also:
CaptureRequest.CONTROL_EFFECT_MODE

CONTROL_EFFECT_MODE_OFF

public static final int CONTROL_EFFECT_MODE_OFF
Deprecated. 

No color effect will be applied.

See Also:
CaptureRequest.CONTROL_EFFECT_MODE

CONTROL_EFFECT_MODE_POSTERIZE

public static final int CONTROL_EFFECT_MODE_POSTERIZE
Deprecated. 

A "posterization" effect where the image uses discrete regions of tone rather than a continuous gradient of tones.

See Also:
CaptureRequest.CONTROL_EFFECT_MODE

CONTROL_EFFECT_MODE_SEPIA

public static final int CONTROL_EFFECT_MODE_SEPIA
Deprecated. 

A "sepia" effect where the image is mapped into warm gray, red, and brown tones.

See Also:
CaptureRequest.CONTROL_EFFECT_MODE

CONTROL_EFFECT_MODE_SOLARIZE

public static final int CONTROL_EFFECT_MODE_SOLARIZE
Deprecated. 

A "solarisation" effect (Sabattier effect) where the image is wholly or partially reversed in tone.

See Also:
CaptureRequest.CONTROL_EFFECT_MODE

CONTROL_EFFECT_MODE_WHITEBOARD

public static final int CONTROL_EFFECT_MODE_WHITEBOARD
Deprecated. 

A "whiteboard" effect where the image is typically displayed as regions of white, with black or grey details.

See Also:
CaptureRequest.CONTROL_EFFECT_MODE

CONTROL_MODE_AUTO

public static final int CONTROL_MODE_AUTO
Deprecated. 

Use settings for each individual 3A routine.

Manual control of capture parameters is disabled. All controls in android.control.* besides sceneMode take effect.

See Also:
CaptureRequest.CONTROL_MODE

CONTROL_MODE_OFF

public static final int CONTROL_MODE_OFF
Deprecated. 

Full application control of pipeline.

All control by the device's metering and focusing (3A) routines is disabled, and no other settings in android.control.* have any effect, except that android.control.captureIntent may be used by the camera device to select post-processing values for processing blocks that do not allow for manual control, or are not exposed by the camera API.

However, the camera device's 3A routines may continue to collect statistics and update their internal state so that when control is switched to AUTO mode, good control values can be immediately applied.

See Also:
CaptureRequest.CONTROL_CAPTURE_INTENT, CaptureRequest.CONTROL_MODE

CONTROL_MODE_OFF_KEEP_STATE

public static final int CONTROL_MODE_OFF_KEEP_STATE
Deprecated. 

Same as OFF mode, except that this capture will not be used by camera device background auto-exposure, auto-white balance and auto-focus algorithms (3A) to update their statistics.

Specifically, the 3A routines are locked to the last values set from a request with AUTO, OFF, or USE_SCENE_MODE, and any statistics or state updates collected from manual captures with OFF_KEEP_STATE will be discarded by the camera device.

See Also:
CaptureRequest.CONTROL_MODE

CONTROL_MODE_USE_SCENE_MODE

public static final int CONTROL_MODE_USE_SCENE_MODE
Deprecated. 

Use a specific scene mode.

Enabling this disables control.aeMode, control.awbMode and control.afMode controls; the camera device will ignore those settings while USE_SCENE_MODE is active (except for FACE_PRIORITY scene mode). Other control entries are still active. This setting can only be used if scene mode is supported (i.e. android.control.availableSceneModes contain some modes other than DISABLED).

See Also:
CameraCharacteristics.CONTROL_AVAILABLE_SCENE_MODES, CaptureRequest.CONTROL_MODE

CONTROL_SCENE_MODE_ACTION

public static final int CONTROL_SCENE_MODE_ACTION
Deprecated. 

Optimized for photos of quickly moving objects.

Similar to SPORTS.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_BARCODE

public static final int CONTROL_SCENE_MODE_BARCODE
Deprecated. 

Optimized for accurately capturing a photo of barcode for use by camera applications that wish to read the barcode value.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_BEACH

public static final int CONTROL_SCENE_MODE_BEACH
Deprecated. 

Optimized for bright, outdoor beach settings.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_CANDLELIGHT

public static final int CONTROL_SCENE_MODE_CANDLELIGHT
Deprecated. 

Optimized for dim settings where the main light source is a flame.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_DISABLED

public static final int CONTROL_SCENE_MODE_DISABLED
Deprecated. 

Indicates that no scene modes are set for a given capture request.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_FACE_PRIORITY

public static final int CONTROL_SCENE_MODE_FACE_PRIORITY
Deprecated. 

If face detection support exists, use face detection data for auto-focus, auto-white balance, and auto-exposure routines.

If face detection statistics are disabled (i.e. android.statistics.faceDetectMode is set to OFF), this should still operate correctly (but will not return face detection statistics to the framework).

Unlike the other scene modes, android.control.aeMode, android.control.awbMode, and android.control.afMode remain active when FACE_PRIORITY is set.

See Also:
CaptureRequest.CONTROL_AE_MODE, CaptureRequest.CONTROL_AF_MODE, CaptureRequest.CONTROL_AWB_MODE, CaptureRequest.STATISTICS_FACE_DETECT_MODE, CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_FIREWORKS

public static final int CONTROL_SCENE_MODE_FIREWORKS
Deprecated. 

Optimized for nighttime photos of fireworks.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_HDR

public static final int CONTROL_SCENE_MODE_HDR
Deprecated. 

Turn on a device-specific high dynamic range (HDR) mode.

In this scene mode, the camera device captures images that keep a larger range of scene illumination levels visible in the final image. For example, when taking a picture of a object in front of a bright window, both the object and the scene through the window may be visible when using HDR mode, while in normal AUTO mode, one or the other may be poorly exposed. As a tradeoff, HDR mode generally takes much longer to capture a single image, has no user control, and may have other artifacts depending on the HDR method used.

Therefore, HDR captures operate at a much slower rate than regular captures.

In this mode, on LIMITED or FULL devices, when a request is made with a android.control.captureIntent of STILL_CAPTURE, the camera device will capture an image using a high dynamic range capture technique. On LEGACY devices, captures that target a JPEG-format output will be captured with HDR, and the capture intent is not relevant.

The HDR capture may involve the device capturing a burst of images internally and combining them into one, or it may involve the device using specialized high dynamic range capture hardware. In all cases, a single image is produced in response to a capture request submitted while in HDR mode.

Since substantial post-processing is generally needed to produce an HDR image, only YUV, PRIVATE, and JPEG outputs are supported for LIMITED/FULL device HDR captures, and only JPEG outputs are supported for LEGACY HDR captures. Using a RAW output for HDR capture is not supported.

Some devices may also support always-on HDR, which applies HDR processing at full frame rate. For these devices, intents other than STILL_CAPTURE will also produce an HDR output with no frame rate impact compared to normal operation, though the quality may be lower than for STILL_CAPTURE intents.

If SCENE_MODE_HDR is used with unsupported output types or capture intents, the images captured will be as if the SCENE_MODE was not enabled at all.

Since:
Android API level 23
See Also:
CaptureRequest.CONTROL_CAPTURE_INTENT, CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_HIGH_SPEED_VIDEO

@Deprecated
public static final int CONTROL_SCENE_MODE_HIGH_SPEED_VIDEO
Deprecated. Please refer to this API documentation to find the alternatives

This is deprecated, please use CameraDevice.createConstrainedHighSpeedCaptureSession(java.util.List<android.view.Surface>, com.iristick.smartglass.support.camera2.CameraCaptureSession.StateCallback, android.os.Handler) and CameraConstrainedHighSpeedCaptureSession.createHighSpeedRequestList(com.iristick.smartglass.support.camera2.CaptureRequest) for high speed video recording.

Optimized for high speed video recording (frame rate >=60fps) use case.

The supported high speed video sizes and fps ranges are specified in android.control.availableHighSpeedVideoConfigurations. To get desired output frame rates, the application is only allowed to select video size and fps range combinations listed in this static metadata. The fps range can be control via android.control.aeTargetFpsRange.

In this mode, the camera device will override aeMode, awbMode, and afMode to ON, ON, and CONTINUOUS_VIDEO, respectively. All post-processing block mode controls will be overridden to be FAST. Therefore, no manual control of capture and post-processing parameters is possible. All other controls operate the same as when android.control.mode == AUTO. This means that all other android.control.* fields continue to work, such as

Outside of android.control.*, the following controls will work:

For high speed recording use case, the actual maximum supported frame rate may be lower than what camera can output, depending on the destination Surfaces for the image data. For example, if the destination surface is from video encoder, the application need check if the video encoder is capable of supporting the high frame rate for a given video size, or it will end up with lower recording frame rate. If the destination surface is from preview window, the preview frame rate will be bounded by the screen refresh rate.

The camera device will only support up to 2 output high speed streams (processed non-stalling format defined in android.request.maxNumOutputStreams) in this mode. This control will be effective only if all of below conditions are true:

  • The application created no more than maxNumHighSpeedStreams processed non-stalling format output streams, where maxNumHighSpeedStreams is calculated as min(2, android.request.maxNumOutputStreams[Processed (but not-stalling)]).
  • The stream sizes are selected from the sizes reported by android.control.availableHighSpeedVideoConfigurations.
  • No processed non-stalling or raw streams are configured.

When above conditions are NOT satistied, the controls of this mode and android.control.aeTargetFpsRange will be ignored by the camera device, the camera device will fall back to android.control.mode == AUTO, and the returned capture result metadata will give the fps range choosen by the camera device.

Switching into or out of this mode may trigger some camera ISP/sensor reconfigurations, which may introduce extra latency. It is recommended that the application avoids unnecessary scene mode switch as much as possible.

See Also:
CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, CaptureRequest.CONTROL_AE_LOCK, CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, CaptureRequest.CONTROL_AE_REGIONS, CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, CaptureRequest.CONTROL_AF_REGIONS, CaptureRequest.CONTROL_AF_TRIGGER, CaptureRequest.CONTROL_AWB_LOCK, CaptureRequest.CONTROL_AWB_REGIONS, CaptureRequest.CONTROL_EFFECT_MODE, CaptureRequest.CONTROL_MODE, CaptureRequest.FLASH_MODE, CaptureRequest.LENS_OPTICAL_STABILIZATION_MODE, CaptureRequest.SCALER_CROP_REGION, CaptureRequest.STATISTICS_FACE_DETECT_MODE, CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_LANDSCAPE

public static final int CONTROL_SCENE_MODE_LANDSCAPE
Deprecated. 

Optimized for photos of distant macroscopic objects.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_NIGHT

public static final int CONTROL_SCENE_MODE_NIGHT
Deprecated. 

Optimized for low-light settings.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_NIGHT_PORTRAIT

public static final int CONTROL_SCENE_MODE_NIGHT_PORTRAIT
Deprecated. 

Optimized for still photos of people in low-light settings.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_PARTY

public static final int CONTROL_SCENE_MODE_PARTY
Deprecated. 

Optimized for dim, indoor settings with multiple moving people.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_PORTRAIT

public static final int CONTROL_SCENE_MODE_PORTRAIT
Deprecated. 

Optimized for still photos of people.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_SNOW

public static final int CONTROL_SCENE_MODE_SNOW
Deprecated. 

Optimized for bright, outdoor settings containing snow.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_SPORTS

public static final int CONTROL_SCENE_MODE_SPORTS
Deprecated. 

Optimized for photos of quickly moving people.

Similar to ACTION.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_STEADYPHOTO

public static final int CONTROL_SCENE_MODE_STEADYPHOTO
Deprecated. 

Optimized to avoid blurry photos due to small amounts of device motion (for example: due to hand shake).

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_SUNSET

public static final int CONTROL_SCENE_MODE_SUNSET
Deprecated. 

Optimized for scenes of the setting sun.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_SCENE_MODE_THEATRE

public static final int CONTROL_SCENE_MODE_THEATRE
Deprecated. 

Optimized for dim, indoor settings where flash must remain off.

See Also:
CaptureRequest.CONTROL_SCENE_MODE

CONTROL_VIDEO_STABILIZATION_MODE_OFF

public static final int CONTROL_VIDEO_STABILIZATION_MODE_OFF
Deprecated. 

Video stabilization is disabled.

See Also:
CaptureRequest.CONTROL_VIDEO_STABILIZATION_MODE

CONTROL_VIDEO_STABILIZATION_MODE_ON

public static final int CONTROL_VIDEO_STABILIZATION_MODE_ON
Deprecated. 

Video stabilization is enabled.

See Also:
CaptureRequest.CONTROL_VIDEO_STABILIZATION_MODE

EDGE_MODE_FAST

public static final int EDGE_MODE_FAST
Deprecated. 

Apply edge enhancement at a quality level that does not slow down frame rate relative to sensor output. It may be the same as OFF if edge enhancement will slow down frame rate relative to sensor.

See Also:
CaptureRequest.EDGE_MODE

EDGE_MODE_HIGH_QUALITY

public static final int EDGE_MODE_HIGH_QUALITY
Deprecated. 

Apply high-quality edge enhancement, at a cost of possibly reduced output frame rate.

See Also:
CaptureRequest.EDGE_MODE

EDGE_MODE_OFF

public static final int EDGE_MODE_OFF
Deprecated. 

No edge enhancement is applied.

See Also:
CaptureRequest.EDGE_MODE

EDGE_MODE_ZERO_SHUTTER_LAG

public static final int EDGE_MODE_ZERO_SHUTTER_LAG
Deprecated. 

Edge enhancement is applied at different levels for different output streams, based on resolution. Streams at maximum recording resolution (see CameraDevice.createCaptureSession(java.util.List<android.view.Surface>, android.hardware.camera2.CameraCaptureSession.StateCallback, android.os.Handler)) or below have edge enhancement applied, while higher-resolution streams have no edge enhancement applied. The level of edge enhancement for low-resolution streams is tuned so that frame rate is not impacted, and the quality is equal to or better than FAST (since it is only applied to lower-resolution outputs, quality may improve from FAST).

This mode is intended to be used by applications operating in a zero-shutter-lag mode with YUV or PRIVATE reprocessing, where the application continuously captures high-resolution intermediate buffers into a circular buffer, from which a final image is produced via reprocessing when a user takes a picture. For such a use case, the high-resolution buffers must not have edge enhancement applied to maximize efficiency of preview and to avoid double-applying enhancement when reprocessed, while low-resolution buffers (used for recording or preview, generally) need edge enhancement applied for reasonable preview quality.

This mode is guaranteed to be supported by devices that support either the YUV_REPROCESSING or PRIVATE_REPROCESSING capabilities (android.request.availableCapabilities lists either of those capabilities) and it will be the default mode for CAMERA3_TEMPLATE_ZERO_SHUTTER_LAG template.

Since:
Android API level 23
See Also:
CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES, CaptureRequest.EDGE_MODE

FLASH_MODE_OFF

public static final int FLASH_MODE_OFF
Deprecated. 

Do not fire the flash for this capture.

See Also:
CaptureRequest.FLASH_MODE

FLASH_MODE_SINGLE

public static final int FLASH_MODE_SINGLE
Deprecated. 

If the flash is available and charged, fire flash for this capture.

See Also:
CaptureRequest.FLASH_MODE

FLASH_MODE_TORCH

public static final int FLASH_MODE_TORCH
Deprecated. 

Transition flash to continuously on.

See Also:
CaptureRequest.FLASH_MODE

FLASH_STATE_CHARGING

public static final int FLASH_STATE_CHARGING
Deprecated. 

Flash is charging and cannot be fired.

See Also:
CaptureResult.FLASH_STATE

FLASH_STATE_FIRED

public static final int FLASH_STATE_FIRED
Deprecated. 

Flash fired for this capture.

See Also:
CaptureResult.FLASH_STATE

FLASH_STATE_PARTIAL

public static final int FLASH_STATE_PARTIAL
Deprecated. 

Flash partially illuminated this frame.

This is usually due to the next or previous frame having the flash fire, and the flash spilling into this capture due to hardware limitations.

See Also:
CaptureResult.FLASH_STATE

FLASH_STATE_READY

public static final int FLASH_STATE_READY
Deprecated. 

Flash is ready to fire.

See Also:
CaptureResult.FLASH_STATE

FLASH_STATE_UNAVAILABLE

public static final int FLASH_STATE_UNAVAILABLE
Deprecated. 

No flash on camera.

See Also:
CaptureResult.FLASH_STATE

HOT_PIXEL_MODE_FAST

public static final int HOT_PIXEL_MODE_FAST
Deprecated. 

Hot pixel correction is applied, without reducing frame rate relative to sensor raw output.

The hotpixel map may be returned in android.statistics.hotPixelMap.

See Also:
CaptureResult.STATISTICS_HOT_PIXEL_MAP, CaptureRequest.HOT_PIXEL_MODE

HOT_PIXEL_MODE_HIGH_QUALITY

public static final int HOT_PIXEL_MODE_HIGH_QUALITY
Deprecated. 

High-quality hot pixel correction is applied, at a cost of possibly reduced frame rate relative to sensor raw output.

The hotpixel map may be returned in android.statistics.hotPixelMap.

See Also:
CaptureResult.STATISTICS_HOT_PIXEL_MAP, CaptureRequest.HOT_PIXEL_MODE

HOT_PIXEL_MODE_OFF

public static final int HOT_PIXEL_MODE_OFF
Deprecated. 

No hot pixel correction is applied.

The frame rate must not be reduced relative to sensor raw output for this option.

The hotpixel map may be returned in android.statistics.hotPixelMap.

See Also:
CaptureResult.STATISTICS_HOT_PIXEL_MAP, CaptureRequest.HOT_PIXEL_MODE

INFO_SUPPORTED_HARDWARE_LEVEL_3

public static final int INFO_SUPPORTED_HARDWARE_LEVEL_3
Deprecated. 

This camera device is capable of YUV reprocessing and RAW data capture, in addition to FULL-level capabilities.

The stream configurations listed in the LEVEL_3, RAW, FULL, LEGACY and LIMITED tables in the createCaptureSession documentation are guaranteed to be supported.

The following additional capabilities are guaranteed to be supported:

Since:
Android API level 24
See Also:
CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES, CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL

INFO_SUPPORTED_HARDWARE_LEVEL_FULL

public static final int INFO_SUPPORTED_HARDWARE_LEVEL_FULL
Deprecated. 

This camera device is capable of supporting advanced imaging applications.

The stream configurations listed in the FULL, LEGACY and LIMITED tables in the createCaptureSession documentation are guaranteed to be supported.

A FULL device will support below capabilities:

Note: Pre-API level 23, FULL devices also supported arbitrary cropping region (android.scaler.croppingType == FREEFORM); this requirement was relaxed in API level 23, and FULL devices may only support CENTERED cropping.

See Also:
CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES, CameraCharacteristics.SCALER_CROPPING_TYPE, CameraCharacteristics.SENSOR_INFO_EXPOSURE_TIME_RANGE, CameraCharacteristics.SENSOR_INFO_MAX_FRAME_DURATION, CameraCharacteristics.SYNC_MAX_LATENCY, CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL

INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY

public static final int INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY
Deprecated. 

This camera device is running in backward compatibility mode.

Only the stream configurations listed in the LEGACY table in the createCaptureSession documentation are supported.

A LEGACY device does not support per-frame control, manual sensor control, manual post-processing, arbitrary cropping regions, and has relaxed performance constraints. No additional capabilities beyond BACKWARD_COMPATIBLE will ever be listed by a LEGACY device in android.request.availableCapabilities.

In addition, the android.control.aePrecaptureTrigger is not functional on LEGACY devices. Instead, every request that includes a JPEG-format output target is treated as triggering a still capture, internally executing a precapture trigger. This may fire the flash for flash power metering during precapture, and then fire the flash for the final capture, if a flash is available on the device and the AE mode is set to enable the flash.

See Also:
CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES, CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL

INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED

public static final int INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED
Deprecated. 

This camera device does not have enough capabilities to qualify as a FULL device or better.

Only the stream configurations listed in the LEGACY and LIMITED tables in the createCaptureSession documentation are guaranteed to be supported.

All LIMITED devices support the BACKWARDS_COMPATIBLE capability, indicating basic support for color image capture. The only exception is that the device may alternatively support only the DEPTH_OUTPUT capability, if it can only output depth measurements and not color images.

LIMITED devices and above require the use of android.control.aePrecaptureTrigger to lock exposure metering (and calculate flash power, for cameras with flash) before capturing a high-quality still image.

A LIMITED device that only lists the BACKWARDS_COMPATIBLE capability is only required to support full-automatic operation and post-processing (OFF is not supported for android.control.aeMode, android.control.afMode, or android.control.awbMode)

Additional capabilities may optionally be supported by a LIMITED-level device, and can be checked for in android.request.availableCapabilities.

See Also:
CaptureRequest.CONTROL_AE_MODE, CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, CaptureRequest.CONTROL_AF_MODE, CaptureRequest.CONTROL_AWB_MODE, CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES, CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL

INFO_SUPPORTED_HARDWARE_LEVEL_IRISTICK_SMARTGLASS

public static final int INFO_SUPPORTED_HARDWARE_LEVEL_IRISTICK_SMARTGLASS
Deprecated. 

This camera device is an Iristick Smartglass camera.

These devices do not fit in the traditional hardware levels defined by the Android camera2 API. As such, not all keys that are guaranteed to be available to all devices are supported. Camera devices with this hardware level do support several additional keys that are not available to regular camera devices.

This compatibility library only does a best effort in translating keys. See the respective documentation of each individual key.

See Also:
CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES, CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL

LENS_FACING_BACK

public static final int LENS_FACING_BACK
Deprecated. 

The camera device faces the opposite direction as the device's screen.

See Also:
CameraCharacteristics.LENS_FACING

LENS_FACING_EXTERNAL

public static final int LENS_FACING_EXTERNAL
Deprecated. 

The camera device is an external camera, and has no fixed facing relative to the device's screen.

Since:
Android API level 23
See Also:
CameraCharacteristics.LENS_FACING

LENS_FACING_FRONT

public static final int LENS_FACING_FRONT
Deprecated. 

The camera device faces the same direction as the device's screen.

See Also:
CameraCharacteristics.LENS_FACING

LENS_INFO_FOCUS_DISTANCE_CALIBRATION_APPROXIMATE

public static final int LENS_INFO_FOCUS_DISTANCE_CALIBRATION_APPROXIMATE
Deprecated. 

The lens focus distance is measured in diopters.

However, setting the lens to the same focus distance on separate occasions may result in a different real focus distance, depending on factors such as the orientation of the device, the age of the focusing mechanism, and the device temperature.

See Also:
CameraCharacteristics.LENS_INFO_FOCUS_DISTANCE_CALIBRATION

LENS_INFO_FOCUS_DISTANCE_CALIBRATION_CALIBRATED

public static final int LENS_INFO_FOCUS_DISTANCE_CALIBRATION_CALIBRATED
Deprecated. 

The lens focus distance is measured in diopters, and is calibrated.

The lens mechanism is calibrated so that setting the same focus distance is repeatable on multiple occasions with good accuracy, and the focus distance corresponds to the real physical distance to the plane of best focus.

See Also:
CameraCharacteristics.LENS_INFO_FOCUS_DISTANCE_CALIBRATION

LENS_INFO_FOCUS_DISTANCE_CALIBRATION_UNCALIBRATED

public static final int LENS_INFO_FOCUS_DISTANCE_CALIBRATION_UNCALIBRATED
Deprecated. 

The lens focus distance is not accurate, and the units used for android.lens.focusDistance do not correspond to any physical units.

Setting the lens to the same focus distance on separate occasions may result in a different real focus distance, depending on factors such as the orientation of the device, the age of the focusing mechanism, and the device temperature. The focus distance value will still be in the range of [0, android.lens.info.minimumFocusDistance], where 0 represents the farthest focus.

See Also:
CaptureRequest.LENS_FOCUS_DISTANCE, CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE, CameraCharacteristics.LENS_INFO_FOCUS_DISTANCE_CALIBRATION

LENS_OPTICAL_STABILIZATION_MODE_OFF

public static final int LENS_OPTICAL_STABILIZATION_MODE_OFF
Deprecated. 

Optical stabilization is unavailable.

See Also:
CaptureRequest.LENS_OPTICAL_STABILIZATION_MODE

LENS_OPTICAL_STABILIZATION_MODE_ON

public static final int LENS_OPTICAL_STABILIZATION_MODE_ON
Deprecated. 

Optical stabilization is enabled.

See Also:
CaptureRequest.LENS_OPTICAL_STABILIZATION_MODE

LENS_STATE_MOVING

public static final int LENS_STATE_MOVING
Deprecated. 

One or several of the lens parameters (android.lens.focalLength, android.lens.focusDistance, android.lens.filterDensity or android.lens.aperture) is currently changing.

See Also:
CaptureRequest.LENS_APERTURE, CaptureRequest.LENS_FILTER_DENSITY, CaptureRequest.LENS_FOCAL_LENGTH, CaptureRequest.LENS_FOCUS_DISTANCE, CaptureResult.LENS_STATE

LENS_STATE_STATIONARY

public static final int LENS_STATE_STATIONARY
Deprecated. 
See Also:
CaptureRequest.LENS_APERTURE, CaptureRequest.LENS_FILTER_DENSITY, CaptureRequest.LENS_FOCAL_LENGTH, CaptureRequest.LENS_FOCUS_DISTANCE, CaptureResult.LENS_STATE

NOISE_REDUCTION_MODE_FAST

public static final int NOISE_REDUCTION_MODE_FAST
Deprecated. 

Noise reduction is applied without reducing frame rate relative to sensor output. It may be the same as OFF if noise reduction will reduce frame rate relative to sensor.

See Also:
CaptureRequest.NOISE_REDUCTION_MODE

NOISE_REDUCTION_MODE_HIGH_QUALITY

public static final int NOISE_REDUCTION_MODE_HIGH_QUALITY
Deprecated. 

High-quality noise reduction is applied, at the cost of possibly reduced frame rate relative to sensor output.

See Also:
CaptureRequest.NOISE_REDUCTION_MODE

NOISE_REDUCTION_MODE_MINIMAL

public static final int NOISE_REDUCTION_MODE_MINIMAL
Deprecated. 

MINIMAL noise reduction is applied without reducing frame rate relative to sensor output.

Since:
Android API level 23
See Also:
CaptureRequest.NOISE_REDUCTION_MODE

NOISE_REDUCTION_MODE_OFF

public static final int NOISE_REDUCTION_MODE_OFF
Deprecated. 

No noise reduction is applied.

See Also:
CaptureRequest.NOISE_REDUCTION_MODE

NOISE_REDUCTION_MODE_ZERO_SHUTTER_LAG

public static final int NOISE_REDUCTION_MODE_ZERO_SHUTTER_LAG
Deprecated. 

Noise reduction is applied at different levels for different output streams, based on resolution. Streams at maximum recording resolution (see CameraDevice.createCaptureSession(java.util.List<android.view.Surface>, android.hardware.camera2.CameraCaptureSession.StateCallback, android.os.Handler)) or below have noise reduction applied, while higher-resolution streams have MINIMAL (if supported) or no noise reduction applied (if MINIMAL is not supported.) The degree of noise reduction for low-resolution streams is tuned so that frame rate is not impacted, and the quality is equal to or better than FAST (since it is only applied to lower-resolution outputs, quality may improve from FAST).

This mode is intended to be used by applications operating in a zero-shutter-lag mode with YUV or PRIVATE reprocessing, where the application continuously captures high-resolution intermediate buffers into a circular buffer, from which a final image is produced via reprocessing when a user takes a picture. For such a use case, the high-resolution buffers must not have noise reduction applied to maximize efficiency of preview and to avoid over-applying noise filtering when reprocessing, while low-resolution buffers (used for recording or preview, generally) need noise reduction applied for reasonable preview quality.

This mode is guaranteed to be supported by devices that support either the YUV_REPROCESSING or PRIVATE_REPROCESSING capabilities (android.request.availableCapabilities lists either of those capabilities) and it will be the default mode for CAMERA3_TEMPLATE_ZERO_SHUTTER_LAG template.

Since:
Android API level 23
See Also:
CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES, CaptureRequest.NOISE_REDUCTION_MODE

REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE

public static final int REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE
Deprecated. 

The minimal set of capabilities that every camera device (regardless of android.info.supportedHardwareLevel) supports.

This capability is listed by all normal devices, and indicates that the camera device has a feature set that's comparable to the baseline requirements for the older android.hardware.Camera API.

Devices with the DEPTH_OUTPUT capability might not list this capability, indicating that they support only depth measurement, not standard color output.

See Also:
CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL, CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES

REQUEST_AVAILABLE_CAPABILITIES_BURST_CAPTURE

public static final int REQUEST_AVAILABLE_CAPABILITIES_BURST_CAPTURE
Deprecated. 

The camera device supports capturing high-resolution images at >= 20 frames per second, in at least the uncompressed YUV format, when post-processing settings are set to FAST. Additionally, maximum-resolution images can be captured at >= 10 frames per second. Here, 'high resolution' means at least 8 megapixels, or the maximum resolution of the device, whichever is smaller.

More specifically, this means that a size matching the camera device's active array size is listed as a supported size for the ImageFormat.YUV_420_888 format in either StreamConfigurationMap.getOutputSizes(java.lang.Class<T>) or StreamConfigurationMap.getHighResolutionOutputSizes(int), with a minimum frame duration for that format and size of either <= 1/20 s, or <= 1/10 s, respectively; and the android.control.aeAvailableTargetFpsRanges entry lists at least one FPS range where the minimum FPS is >= 1 / minimumFrameDuration for the maximum-size YUV_420_888 format. If that maximum size is listed in StreamConfigurationMap.getHighResolutionOutputSizes(int), then the list of resolutions for YUV_420_888 from StreamConfigurationMap.getOutputSizes(java.lang.Class<T>) contains at least one resolution >= 8 megapixels, with a minimum frame duration of <= 1/20 s.

If the device supports the ImageFormat.RAW10, ImageFormat.RAW12, then those can also be captured at the same rate as the maximum-size YUV_420_888 resolution is.

If the device supports the PRIVATE_REPROCESSING capability, then the same guarantees as for the YUV_420_888 format also apply to the ImageFormat.PRIVATE format.

In addition, the android.sync.maxLatency field is guaranted to have a value between 0 and 4, inclusive. android.control.aeLockAvailable and android.control.awbLockAvailable are also guaranteed to be true so burst capture with these two locks ON yields consistent image output.

Since:
Android API level 22
See Also:
CameraCharacteristics.CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES, CameraCharacteristics.CONTROL_AE_LOCK_AVAILABLE, CameraCharacteristics.CONTROL_AWB_LOCK_AVAILABLE, CameraCharacteristics.SYNC_MAX_LATENCY, CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES

REQUEST_AVAILABLE_CAPABILITIES_CONSTRAINED_HIGH_SPEED_VIDEO

public static final int REQUEST_AVAILABLE_CAPABILITIES_CONSTRAINED_HIGH_SPEED_VIDEO
Deprecated. 

The device supports constrained high speed video recording (frame rate >=120fps) use case. The camera device will support high speed capture session created by CameraDevice.createConstrainedHighSpeedCaptureSession(java.util.List<android.view.Surface>, android.hardware.camera2.CameraCaptureSession.StateCallback, android.os.Handler), which only accepts high speed request lists created by CameraConstrainedHighSpeedCaptureSession.createHighSpeedRequestList(android.hardware.camera2.CaptureRequest).

A camera device can still support high speed video streaming by advertising the high speed FPS ranges in android.control.aeAvailableTargetFpsRanges. For this case, all normal capture request per frame control and synchronization requirements will apply to the high speed fps ranges, the same as all other fps ranges. This capability describes the capability of a specialized operating mode with many limitations (see below), which is only targeted at high speed video recording.

The supported high speed video sizes and fps ranges are specified in StreamConfigurationMap.getHighSpeedVideoFpsRanges(). To get desired output frame rates, the application is only allowed to select video size and FPS range combinations provided by StreamConfigurationMap.getHighSpeedVideoSizes(). The fps range can be controlled via android.control.aeTargetFpsRange.

In this capability, the camera device will override aeMode, awbMode, and afMode to ON, AUTO, and CONTINUOUS_VIDEO, respectively. All post-processing block mode controls will be overridden to be FAST. Therefore, no manual control of capture and post-processing parameters is possible. All other controls operate the same as when android.control.mode == AUTO. This means that all other android.control.* fields continue to work, such as

Outside of android.control.*, the following controls will work:

For high speed recording use case, the actual maximum supported frame rate may be lower than what camera can output, depending on the destination Surfaces for the image data. For example, if the destination surface is from video encoder, the application need check if the video encoder is capable of supporting the high frame rate for a given video size, or it will end up with lower recording frame rate. If the destination surface is from preview window, the actual preview frame rate will be bounded by the screen refresh rate.

The camera device will only support up to 2 high speed simultaneous output surfaces (preview and recording surfaces) in this mode. Above controls will be effective only if all of below conditions are true:

When above conditions are NOT satistied, CameraDevice.createConstrainedHighSpeedCaptureSession(java.util.List<android.view.Surface>, android.hardware.camera2.CameraCaptureSession.StateCallback, android.os.Handler) will fail.

Switching to a FPS range that has different maximum FPS may trigger some camera device reconfigurations, which may introduce extra latency. It is recommended that the application avoids unnecessary maximum target FPS changes as much as possible during high speed streaming.

Since:
Android API level 23
See Also:
CameraCharacteristics.CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES, CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, CaptureRequest.CONTROL_AE_LOCK, CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, CaptureRequest.CONTROL_AE_REGIONS, CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, CaptureRequest.CONTROL_AF_REGIONS, CaptureRequest.CONTROL_AF_TRIGGER, CaptureRequest.CONTROL_AWB_LOCK, CaptureRequest.CONTROL_AWB_REGIONS, CaptureRequest.CONTROL_EFFECT_MODE, CaptureRequest.CONTROL_MODE, CaptureRequest.FLASH_MODE, CaptureRequest.LENS_OPTICAL_STABILIZATION_MODE, CaptureRequest.SCALER_CROP_REGION, CaptureRequest.STATISTICS_FACE_DETECT_MODE, CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES

REQUEST_AVAILABLE_CAPABILITIES_DEPTH_OUTPUT

public static final int REQUEST_AVAILABLE_CAPABILITIES_DEPTH_OUTPUT
Deprecated. 

The camera device can produce depth measurements from its field of view.

This capability requires the camera device to support the following:

Generally, depth output operates at a slower frame rate than standard color capture, so the DEPTH16 and DEPTH_POINT_CLOUD formats will commonly have a stall duration that should be accounted for (see StreamConfigurationMap.getOutputStallDuration(int, android.util.Size)). On a device that supports both depth and color-based output, to enable smooth preview, using a repeating burst is recommended, where a depth-output target is only included once every N frames, where N is the ratio between preview output rate and depth output rate, including depth stall time.

Since:
Android API level 23
See Also:
CameraCharacteristics.DEPTH_DEPTH_IS_EXCLUSIVE, CameraCharacteristics.LENS_FACING, CameraCharacteristics.LENS_INTRINSIC_CALIBRATION, CameraCharacteristics.LENS_POSE_ROTATION, CameraCharacteristics.LENS_POSE_TRANSLATION, CameraCharacteristics.LENS_RADIAL_DISTORTION, CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES

REQUEST_AVAILABLE_CAPABILITIES_MANUAL_POST_PROCESSING

public static final int REQUEST_AVAILABLE_CAPABILITIES_MANUAL_POST_PROCESSING
Deprecated. 

The camera device post-processing stages can be manually controlled. The camera device supports basic manual control of the image post-processing stages. This means the following controls are guaranteed to be supported:

If auto white balance is enabled, then the camera device will accurately report the values applied by AWB in the result.

A given camera device may also support additional post-processing controls, but this capability only covers the above list of controls.

See Also:
CaptureRequest.COLOR_CORRECTION_ABERRATION_MODE, CameraCharacteristics.COLOR_CORRECTION_AVAILABLE_ABERRATION_MODES, CaptureRequest.COLOR_CORRECTION_GAINS, CaptureRequest.COLOR_CORRECTION_TRANSFORM, CaptureRequest.CONTROL_AWB_LOCK, CaptureRequest.SHADING_MODE, CaptureRequest.STATISTICS_LENS_SHADING_MAP_MODE, CaptureRequest.TONEMAP_CURVE, CaptureRequest.TONEMAP_GAMMA, CameraCharacteristics.TONEMAP_MAX_CURVE_POINTS, CaptureRequest.TONEMAP_MODE, CaptureRequest.TONEMAP_PRESET_CURVE, CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES

REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR

public static final int REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR
Deprecated. 

The camera device can be manually controlled (3A algorithms such as auto-exposure, and auto-focus can be bypassed). The camera device supports basic manual control of the sensor image acquisition related stages. This means the following controls are guaranteed to be supported:

If any of the above 3A algorithms are enabled, then the camera device will accurately report the values applied by 3A in the result.

A given camera device may also support additional manual sensor controls, but this capability only covers the above list of controls.

If this is supported, android.scaler.streamConfigurationMap will additionally return a min frame duration that is greater than zero for each supported size-format combination.

See Also:
CaptureRequest.BLACK_LEVEL_LOCK, CaptureRequest.CONTROL_AE_LOCK, CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP, CaptureRequest.SENSOR_EXPOSURE_TIME, CaptureRequest.SENSOR_FRAME_DURATION, CameraCharacteristics.SENSOR_INFO_EXPOSURE_TIME_RANGE, CameraCharacteristics.SENSOR_INFO_MAX_FRAME_DURATION, CameraCharacteristics.SENSOR_INFO_SENSITIVITY_RANGE, CaptureRequest.SENSOR_SENSITIVITY, CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES

REQUEST_AVAILABLE_CAPABILITIES_PRIVATE_REPROCESSING

public static final int REQUEST_AVAILABLE_CAPABILITIES_PRIVATE_REPROCESSING
Deprecated. 

The camera device supports the Zero Shutter Lag reprocessing use case.

Since:
Android API level 23
See Also:
CameraCharacteristics.EDGE_AVAILABLE_EDGE_MODES, CaptureRequest.EDGE_MODE, CameraCharacteristics.NOISE_REDUCTION_AVAILABLE_NOISE_REDUCTION_MODES, CaptureRequest.NOISE_REDUCTION_MODE, CameraCharacteristics.REPROCESS_MAX_CAPTURE_STALL, CameraCharacteristics.REQUEST_MAX_NUM_INPUT_STREAMS, CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES

REQUEST_AVAILABLE_CAPABILITIES_RAW

public static final int REQUEST_AVAILABLE_CAPABILITIES_RAW
Deprecated. 

The camera device supports outputting RAW buffers and metadata for interpreting them.

Devices supporting the RAW capability allow both for saving DNG files, and for direct application processing of raw sensor images.

See Also:
CameraCharacteristics.SENSOR_INFO_PIXEL_ARRAY_SIZE, CameraCharacteristics.SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE, CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES

REQUEST_AVAILABLE_CAPABILITIES_READ_SENSOR_SETTINGS

public static final int REQUEST_AVAILABLE_CAPABILITIES_READ_SENSOR_SETTINGS
Deprecated. 

The camera device supports accurately reporting the sensor settings for many of the sensor controls while the built-in 3A algorithm is running. This allows reporting of sensor settings even when these settings cannot be manually changed.

The values reported for the following controls are guaranteed to be available in the CaptureResult, including when 3A is enabled:

This capability is a subset of the MANUAL_SENSOR control capability, and will always be included if the MANUAL_SENSOR capability is available.

Since:
Android API level 22
See Also:
CaptureRequest.LENS_APERTURE, CaptureRequest.LENS_FOCUS_DISTANCE, CaptureRequest.SENSOR_EXPOSURE_TIME, CaptureRequest.SENSOR_SENSITIVITY, CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES

REQUEST_AVAILABLE_CAPABILITIES_YUV_REPROCESSING

public static final int REQUEST_AVAILABLE_CAPABILITIES_YUV_REPROCESSING
Deprecated. 

The camera device supports the YUV_420_888 reprocessing use case, similar as PRIVATE_REPROCESSING, This capability requires the camera device to support the following:

Since:
Android API level 23
See Also:
CameraCharacteristics.EDGE_AVAILABLE_EDGE_MODES, CaptureRequest.EDGE_MODE, CameraCharacteristics.NOISE_REDUCTION_AVAILABLE_NOISE_REDUCTION_MODES, CaptureRequest.NOISE_REDUCTION_MODE, CaptureRequest.REPROCESS_EFFECTIVE_EXPOSURE_FACTOR, CameraCharacteristics.REPROCESS_MAX_CAPTURE_STALL, CameraCharacteristics.REQUEST_MAX_NUM_INPUT_STREAMS, CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES

REQUEST_AVAILABLE_CAPABILITIES_IRISTICK_SMARTGLASS

public static final int REQUEST_AVAILABLE_CAPABILITIES_IRISTICK_SMARTGLASS
Deprecated. 

The camera device supports interacting with the Iristick Smartglass hardware, such as the laser and flash light.

See Also:
CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES

SCALER_CROPPING_TYPE_CENTER_ONLY

public static final int SCALER_CROPPING_TYPE_CENTER_ONLY
Deprecated. 

The camera device only supports centered crop regions.

See Also:
CameraCharacteristics.SCALER_CROPPING_TYPE

SCALER_CROPPING_TYPE_FREEFORM

public static final int SCALER_CROPPING_TYPE_FREEFORM
Deprecated. 

The camera device supports arbitrarily chosen crop regions.

See Also:
CameraCharacteristics.SCALER_CROPPING_TYPE

SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_BGGR

public static final int SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_BGGR
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_INFO_COLOR_FILTER_ARRANGEMENT

SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GBRG

public static final int SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GBRG
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_INFO_COLOR_FILTER_ARRANGEMENT

SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GRBG

public static final int SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GRBG
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_INFO_COLOR_FILTER_ARRANGEMENT

SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGB

public static final int SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGB
Deprecated. 

Sensor is not Bayer; output has 3 16-bit values for each pixel, instead of just 1 16-bit value per pixel.

See Also:
CameraCharacteristics.SENSOR_INFO_COLOR_FILTER_ARRANGEMENT

SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGGB

public static final int SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGGB
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_INFO_COLOR_FILTER_ARRANGEMENT

SENSOR_INFO_TIMESTAMP_SOURCE_REALTIME

public static final int SENSOR_INFO_TIMESTAMP_SOURCE_REALTIME
Deprecated. 

Timestamps from android.sensor.timestamp are in the same timebase as SystemClock.elapsedRealtimeNanos(), and they can be compared to other timestamps using that base.

See Also:
CaptureResult.SENSOR_TIMESTAMP, CameraCharacteristics.SENSOR_INFO_TIMESTAMP_SOURCE

SENSOR_INFO_TIMESTAMP_SOURCE_UNKNOWN

public static final int SENSOR_INFO_TIMESTAMP_SOURCE_UNKNOWN
Deprecated. 

Timestamps from android.sensor.timestamp are in nanoseconds and monotonic, but can not be compared to timestamps from other subsystems (e.g. accelerometer, gyro etc.), or other instances of the same or different camera devices in the same system. Timestamps between streams and results for a single camera instance are comparable, and the timestamps for all buffers and the result metadata generated by a single capture are identical.

See Also:
CaptureResult.SENSOR_TIMESTAMP, CameraCharacteristics.SENSOR_INFO_TIMESTAMP_SOURCE

SENSOR_REFERENCE_ILLUMINANT1_CLOUDY_WEATHER

public static final int SENSOR_REFERENCE_ILLUMINANT1_CLOUDY_WEATHER
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_COOL_WHITE_FLUORESCENT

public static final int SENSOR_REFERENCE_ILLUMINANT1_COOL_WHITE_FLUORESCENT
Deprecated. 

W 3900 - 4500K

See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_D50

public static final int SENSOR_REFERENCE_ILLUMINANT1_D50
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_D55

public static final int SENSOR_REFERENCE_ILLUMINANT1_D55
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_D65

public static final int SENSOR_REFERENCE_ILLUMINANT1_D65
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_D75

public static final int SENSOR_REFERENCE_ILLUMINANT1_D75
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_DAYLIGHT

public static final int SENSOR_REFERENCE_ILLUMINANT1_DAYLIGHT
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_DAYLIGHT_FLUORESCENT

public static final int SENSOR_REFERENCE_ILLUMINANT1_DAYLIGHT_FLUORESCENT
Deprecated. 

D 5700 - 7100K

See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_DAY_WHITE_FLUORESCENT

public static final int SENSOR_REFERENCE_ILLUMINANT1_DAY_WHITE_FLUORESCENT
Deprecated. 

N 4600 - 5400K

See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_FINE_WEATHER

public static final int SENSOR_REFERENCE_ILLUMINANT1_FINE_WEATHER
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_FLASH

public static final int SENSOR_REFERENCE_ILLUMINANT1_FLASH
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_FLUORESCENT

public static final int SENSOR_REFERENCE_ILLUMINANT1_FLUORESCENT
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_ISO_STUDIO_TUNGSTEN

public static final int SENSOR_REFERENCE_ILLUMINANT1_ISO_STUDIO_TUNGSTEN
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_SHADE

public static final int SENSOR_REFERENCE_ILLUMINANT1_SHADE
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_STANDARD_A

public static final int SENSOR_REFERENCE_ILLUMINANT1_STANDARD_A
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_STANDARD_B

public static final int SENSOR_REFERENCE_ILLUMINANT1_STANDARD_B
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_STANDARD_C

public static final int SENSOR_REFERENCE_ILLUMINANT1_STANDARD_C
Deprecated. 
See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_TUNGSTEN

public static final int SENSOR_REFERENCE_ILLUMINANT1_TUNGSTEN
Deprecated. 

Incandescent light

See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_REFERENCE_ILLUMINANT1_WHITE_FLUORESCENT

public static final int SENSOR_REFERENCE_ILLUMINANT1_WHITE_FLUORESCENT
Deprecated. 

WW 3200 - 3700K

See Also:
CameraCharacteristics.SENSOR_REFERENCE_ILLUMINANT1

SENSOR_TEST_PATTERN_MODE_COLOR_BARS

public static final int SENSOR_TEST_PATTERN_MODE_COLOR_BARS
Deprecated. 

All pixel data is replaced with an 8-bar color pattern.

The vertical bars (left-to-right) are as follows:

  • 100% white
  • yellow
  • cyan
  • green
  • magenta
  • red
  • blue
  • black

In general the image would look like the following:

W Y C G M R B K
 W Y C G M R B K
 W Y C G M R B K
 W Y C G M R B K
 W Y C G M R B K
 . . . . . . . .
 . . . . . . . .
 . . . . . . . .

 (B = Blue, K = Black)
 

Each bar should take up 1/8 of the sensor pixel array width. When this is not possible, the bar size should be rounded down to the nearest integer and the pattern can repeat on the right side.

Each bar's height must always take up the full sensor pixel array height.

Each pixel in this test pattern must be set to either 0% intensity or 100% intensity.

See Also:
CaptureRequest.SENSOR_TEST_PATTERN_MODE

SENSOR_TEST_PATTERN_MODE_COLOR_BARS_FADE_TO_GRAY

public static final int SENSOR_TEST_PATTERN_MODE_COLOR_BARS_FADE_TO_GRAY
Deprecated. 

The test pattern is similar to COLOR_BARS, except that each bar should start at its specified color at the top, and fade to gray at the bottom.

Furthermore each bar is further subdivided into a left and right half. The left half should have a smooth gradient, and the right half should have a quantized gradient.

In particular, the right half's should consist of blocks of the same color for 1/16th active sensor pixel array width.

The least significant bits in the quantized gradient should be copied from the most significant bits of the smooth gradient.

The height of each bar should always be a multiple of 128. When this is not the case, the pattern should repeat at the bottom of the image.

See Also:
CaptureRequest.SENSOR_TEST_PATTERN_MODE

SENSOR_TEST_PATTERN_MODE_CUSTOM1

public static final int SENSOR_TEST_PATTERN_MODE_CUSTOM1
Deprecated. 

The first custom test pattern. All custom patterns that are available only on this camera device are at least this numeric value.

All of the custom test patterns will be static (that is the raw image must not vary from frame to frame).

See Also:
CaptureRequest.SENSOR_TEST_PATTERN_MODE

SENSOR_TEST_PATTERN_MODE_OFF

public static final int SENSOR_TEST_PATTERN_MODE_OFF
Deprecated. 

No test pattern mode is used, and the camera device returns captures from the image sensor.

This is the default if the key is not set.

See Also:
CaptureRequest.SENSOR_TEST_PATTERN_MODE

SENSOR_TEST_PATTERN_MODE_PN9

public static final int SENSOR_TEST_PATTERN_MODE_PN9
Deprecated. 

All pixel data is replaced by a pseudo-random sequence generated from a PN9 512-bit sequence (typically implemented in hardware with a linear feedback shift register).

The generator should be reset at the beginning of each frame, and thus each subsequent raw frame with this test pattern should be exactly the same as the last.

See Also:
CaptureRequest.SENSOR_TEST_PATTERN_MODE

SENSOR_TEST_PATTERN_MODE_SOLID_COLOR

public static final int SENSOR_TEST_PATTERN_MODE_SOLID_COLOR
Deprecated. 

Each pixel in [R, G_even, G_odd, B] is replaced by its respective color channel provided in android.sensor.testPatternData.

For example:

android.testPatternData = [0, 0xFFFFFFFF, 0xFFFFFFFF, 0]
 

All green pixels are 100% green. All red/blue pixels are black.

android.testPatternData = [0xFFFFFFFF, 0, 0xFFFFFFFF, 0]
 

All red pixels are 100% red. Only the odd green pixels are 100% green. All blue pixels are 100% black.

See Also:
CaptureRequest.SENSOR_TEST_PATTERN_DATA, CaptureRequest.SENSOR_TEST_PATTERN_MODE

SHADING_MODE_FAST

public static final int SHADING_MODE_FAST
Deprecated. 

Apply lens shading corrections, without slowing frame rate relative to sensor raw output

See Also:
CaptureRequest.SHADING_MODE

SHADING_MODE_HIGH_QUALITY

public static final int SHADING_MODE_HIGH_QUALITY
Deprecated. 

Apply high-quality lens shading correction, at the cost of possibly reduced frame rate.

See Also:
CaptureRequest.SHADING_MODE

SHADING_MODE_OFF

public static final int SHADING_MODE_OFF
Deprecated. 

No lens shading correction is applied.

See Also:
CaptureRequest.SHADING_MODE

STATISTICS_FACE_DETECT_MODE_FULL

public static final int STATISTICS_FACE_DETECT_MODE_FULL
Deprecated. 

Return all face metadata.

In this mode, face rectangles, scores, landmarks, and face IDs are all valid.

See Also:
CaptureRequest.STATISTICS_FACE_DETECT_MODE

STATISTICS_FACE_DETECT_MODE_OFF

public static final int STATISTICS_FACE_DETECT_MODE_OFF
Deprecated. 

Do not include face detection statistics in capture results.

See Also:
CaptureRequest.STATISTICS_FACE_DETECT_MODE

STATISTICS_FACE_DETECT_MODE_SIMPLE

public static final int STATISTICS_FACE_DETECT_MODE_SIMPLE
Deprecated. 

Return face rectangle and confidence values only.

See Also:
CaptureRequest.STATISTICS_FACE_DETECT_MODE

STATISTICS_LENS_SHADING_MAP_MODE_OFF

public static final int STATISTICS_LENS_SHADING_MAP_MODE_OFF
Deprecated. 

Do not include a lens shading map in the capture result.

See Also:
CaptureRequest.STATISTICS_LENS_SHADING_MAP_MODE

STATISTICS_LENS_SHADING_MAP_MODE_ON

public static final int STATISTICS_LENS_SHADING_MAP_MODE_ON
Deprecated. 

Include a lens shading map in the capture result.

See Also:
CaptureRequest.STATISTICS_LENS_SHADING_MAP_MODE

STATISTICS_SCENE_FLICKER_50HZ

public static final int STATISTICS_SCENE_FLICKER_50HZ
Deprecated. 

The camera device detects illumination flickering at 50Hz in the current scene.

See Also:
CaptureResult.STATISTICS_SCENE_FLICKER

STATISTICS_SCENE_FLICKER_60HZ

public static final int STATISTICS_SCENE_FLICKER_60HZ
Deprecated. 

The camera device detects illumination flickering at 60Hz in the current scene.

See Also:
CaptureResult.STATISTICS_SCENE_FLICKER

STATISTICS_SCENE_FLICKER_NONE

public static final int STATISTICS_SCENE_FLICKER_NONE
Deprecated. 

The camera device does not detect any flickering illumination in the current scene.

See Also:
CaptureResult.STATISTICS_SCENE_FLICKER

SYNC_MAX_LATENCY_PER_FRAME_CONTROL

public static final int SYNC_MAX_LATENCY_PER_FRAME_CONTROL
Deprecated. 

Every frame has the requests immediately applied.

Changing controls over multiple requests one after another will produce results that have those controls applied atomically each frame.

All FULL capability devices will have this as their maxLatency.

See Also:
CameraCharacteristics.SYNC_MAX_LATENCY

SYNC_MAX_LATENCY_UNKNOWN

public static final int SYNC_MAX_LATENCY_UNKNOWN
Deprecated. 

Each new frame has some subset (potentially the entire set) of the past requests applied to the camera settings.

By submitting a series of identical requests, the camera device will eventually have the camera settings applied, but it is unknown when that exact point will be.

All LEGACY capability devices will have this as their maxLatency.

See Also:
CameraCharacteristics.SYNC_MAX_LATENCY

TONEMAP_MODE_CONTRAST_CURVE

public static final int TONEMAP_MODE_CONTRAST_CURVE
Deprecated. 

Use the tone mapping curve specified in the android.tonemap.curve* entries.

All color enhancement and tonemapping must be disabled, except for applying the tonemapping curve specified by android.tonemap.curve.

Must not slow down frame rate relative to raw sensor output.

See Also:
CaptureRequest.TONEMAP_CURVE, CaptureRequest.TONEMAP_MODE

TONEMAP_MODE_FAST

public static final int TONEMAP_MODE_FAST
Deprecated. 

Advanced gamma mapping and color enhancement may be applied, without reducing frame rate compared to raw sensor output.

See Also:
CaptureRequest.TONEMAP_MODE

TONEMAP_MODE_GAMMA_VALUE

public static final int TONEMAP_MODE_GAMMA_VALUE
Deprecated. 

Use the gamma value specified in android.tonemap.gamma to peform tonemapping.

All color enhancement and tonemapping must be disabled, except for applying the tonemapping curve specified by android.tonemap.gamma.

Must not slow down frame rate relative to raw sensor output.

Since:
Android API level 23
See Also:
CaptureRequest.TONEMAP_GAMMA, CaptureRequest.TONEMAP_MODE

TONEMAP_MODE_HIGH_QUALITY

public static final int TONEMAP_MODE_HIGH_QUALITY
Deprecated. 

High-quality gamma mapping and color enhancement will be applied, at the cost of possibly reduced frame rate compared to raw sensor output.

See Also:
CaptureRequest.TONEMAP_MODE

TONEMAP_MODE_PRESET_CURVE

public static final int TONEMAP_MODE_PRESET_CURVE
Deprecated. 

Use the preset tonemapping curve specified in android.tonemap.presetCurve to peform tonemapping.

All color enhancement and tonemapping must be disabled, except for applying the tonemapping curve specified by android.tonemap.presetCurve.

Must not slow down frame rate relative to raw sensor output.

Since:
Android API level 23
See Also:
CaptureRequest.TONEMAP_PRESET_CURVE, CaptureRequest.TONEMAP_MODE

TONEMAP_PRESET_CURVE_REC709

public static final int TONEMAP_PRESET_CURVE_REC709
Deprecated. 

Tonemapping curve is defined by ITU-R BT.709

Since:
Android API level 23
See Also:
CaptureRequest.TONEMAP_PRESET_CURVE

TONEMAP_PRESET_CURVE_SRGB

public static final int TONEMAP_PRESET_CURVE_SRGB
Deprecated. 

Tonemapping curve is defined by sRGB

Since:
Android API level 23
See Also:
CaptureRequest.TONEMAP_PRESET_CURVE

Method Detail

getProvider

public final com.iristick.smartglass.support.camera2.internal.ImplementationProvider getProvider()
Deprecated. 

getKeys

public abstract List<Key> getKeys()
Deprecated. 

Returns a list of the keys contained in this map.

The list returned is not modifiable, so any attempts to modify it will throw a UnsupportedOperationException.

All values retrieved by a key from this list with #get are guaranteed to be non-null. Each key is only listed once in this list. The order of the keys is undefined.

Returns:
List of the keys contained in this map. This value will never be null.