List of usage examples for android.hardware.camera2 CameraCharacteristics CONTROL_MAX_REGIONS_AF
Key CONTROL_MAX_REGIONS_AF
To view the source code for android.hardware.camera2 CameraCharacteristics CONTROL_MAX_REGIONS_AF.
Click Source Link
The maximum number of metering regions that can be used by the auto-focus (AF) routine.
This corresponds to the the maximum allowed number of elements in CaptureRequest#CONTROL_AF_REGIONS android.control.afRegions .
Range of valid values:
Value will be >= 0.
From source file:com.dastanapps.camera2.view.Cam2AutoFitTextureView.java
private boolean isMeteringAreaAFSupported() { return mCharacteristics.get(CameraCharacteristics.CONTROL_MAX_REGIONS_AF) >= 1; }