Home
last modified time | relevance | path

Searched refs:afRegions (Results 1 – 4 of 4) sorted by relevance

/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCamera2Focuser.java177 public synchronized void touchForAutoFocus(MeteringRectangle[] afRegions) in touchForAutoFocus() argument
179 startAutoFocusLocked(/*active*/true, afRegions); in touchForAutoFocus()
195 public synchronized void startAutoFocus(MeteringRectangle[] afRegions) in startAutoFocus() argument
197 startAutoFocusLocked(/*forceActive*/false, afRegions); in startAutoFocus()
237 boolean forceActive, MeteringRectangle[] afRegions) throws CameraAccessException { in startAutoFocusLocked() argument
239 setAfRegions(afRegions); in startAutoFocusLocked()
313 private void setAfRegions(MeteringRectangle[] afRegions) { in setAfRegions() argument
314 if (afRegions == null) { in setAfRegions()
319 if (afRegions.length == 0) { in setAfRegions()
323 mAfRegions = afRegions; in setAfRegions()
/cts/tests/camera/src/android/hardware/camera2/cts/
DStillCaptureTest.java616 for (MeteringRectangle[] afRegions : afRegionTestCases) { in testAfRegions()
617 takePictureTestByCamera(/*aeRegions*/null, /*awbRegions*/null, afRegions); in testAfRegions()
866 MeteringRectangle[] afRegions) throws Exception { in takePictureTestByCamera() argument
867 takePictureTestByCamera(aeRegions, awbRegions, afRegions, in takePictureTestByCamera()
893 MeteringRectangle[] afRegions, boolean addAeTriggerCancel, boolean allocateBitmap, in takePictureTestByCamera() argument
925 boolean canSetAfRegion = hasFocuser && (afRegions != null) && in takePictureTestByCamera()
932 previewRequest.set(CaptureRequest.CONTROL_AF_REGIONS, afRegions); in takePictureTestByCamera()
933 stillRequest.set(CaptureRequest.CONTROL_AF_REGIONS, afRegions); in takePictureTestByCamera()
935 focuser.startAutoFocus(afRegions); in takePictureTestByCamera()
1054 afRegions, in takePictureTestByCamera()
[all …]
DCameraExtensionSessionTest.java2173 MeteringRectangle[] afRegions = request.get(CaptureRequest.CONTROL_AF_REGIONS); in onCaptureResultAvailable() local
2174 if ((afRegions != null) && mPerFrameControl) { in onCaptureResultAvailable()
2179 afRegions, resultAfRegions, METERING_REGION_ERROR_PERCENT_DELTA); in onCaptureResultAvailable()
DCameraDeviceTest.java2138 MeteringRectangle[] afRegions = request.get(CONTROL_AF_REGIONS); in checkRequestForTemplate() local
2139 checkMeteringRect(afRegions); in checkRequestForTemplate()