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.java422 for (MeteringRectangle[] afRegions : afRegionTestCases) { in testAfRegions()
423 takePictureTestByCamera(/*aeRegions*/null, /*awbRegions*/null, afRegions); in testAfRegions()
561 MeteringRectangle[] afRegions) throws Exception { in takePictureTestByCamera() argument
562 takePictureTestByCamera(aeRegions, awbRegions, afRegions, in takePictureTestByCamera()
588 MeteringRectangle[] afRegions, boolean addAeTriggerCancel, boolean allocateBitmap, in takePictureTestByCamera() argument
620 boolean canSetAfRegion = hasFocuser && (afRegions != null) && in takePictureTestByCamera()
627 stillRequest.set(CaptureRequest.CONTROL_AF_REGIONS, afRegions); in takePictureTestByCamera()
629 focuser.startAutoFocus(afRegions); in takePictureTestByCamera()
748 afRegions, in takePictureTestByCamera()
793 for (MeteringRectangle[] afRegions : testAfRegions) { in touchForFocusTestByCamera()
[all …]
DCameraDeviceTest.java1648 MeteringRectangle[] afRegions = request.get(CONTROL_AF_REGIONS); in checkRequestForTemplate() local
1649 checkMeteringRect(afRegions); in checkRequestForTemplate()