Home
last modified time | relevance | path

Searched refs:afRegions (Results 1 – 3 of 3) 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.java516 for (MeteringRectangle[] afRegions : afRegionTestCases) { in testAfRegions()
517 takePictureTestByCamera(/*aeRegions*/null, /*awbRegions*/null, afRegions); in testAfRegions()
749 MeteringRectangle[] afRegions) throws Exception { in takePictureTestByCamera() argument
750 takePictureTestByCamera(aeRegions, awbRegions, afRegions, in takePictureTestByCamera()
776 MeteringRectangle[] afRegions, boolean addAeTriggerCancel, boolean allocateBitmap, in takePictureTestByCamera() argument
808 boolean canSetAfRegion = hasFocuser && (afRegions != null) && in takePictureTestByCamera()
815 previewRequest.set(CaptureRequest.CONTROL_AF_REGIONS, afRegions); in takePictureTestByCamera()
816 stillRequest.set(CaptureRequest.CONTROL_AF_REGIONS, afRegions); in takePictureTestByCamera()
818 focuser.startAutoFocus(afRegions); in takePictureTestByCamera()
937 afRegions, in takePictureTestByCamera()
[all …]
DCameraDeviceTest.java2105 MeteringRectangle[] afRegions = request.get(CONTROL_AF_REGIONS); in checkRequestForTemplate() local
2106 checkMeteringRect(afRegions); in checkRequestForTemplate()