Home
last modified time | relevance | path

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

/cts/tests/camera/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.java333 for (MeteringRectangle[] afRegions : afRegionTestCases) { in testAfRegions()
334 takePictureTestByCamera(/*aeRegions*/null, /*awbRegions*/null, afRegions); in testAfRegions()
470 MeteringRectangle[] afRegions) throws Exception { in takePictureTestByCamera() argument
471 takePictureTestByCamera(aeRegions, awbRegions, afRegions, in takePictureTestByCamera()
494 MeteringRectangle[] afRegions, boolean addAeTriggerCancel, boolean allocateBitmap) in takePictureTestByCamera() argument
523 boolean canSetAfRegion = hasFocuser && (afRegions != null) && in takePictureTestByCamera()
530 stillRequest.set(CaptureRequest.CONTROL_AF_REGIONS, afRegions); in takePictureTestByCamera()
532 focuser.startAutoFocus(afRegions); in takePictureTestByCamera()
651 afRegions, in takePictureTestByCamera()
696 for (MeteringRectangle[] afRegions : testAfRegions) { in touchForFocusTestByCamera()
[all …]
DCameraDeviceTest.java1483 MeteringRectangle[] afRegions = request.get(CONTROL_AF_REGIONS); in checkRequestForTemplate() local
1484 checkMeteringRect(afRegions); in checkRequestForTemplate()