Home
last modified time | relevance | path

Searched refs:regions (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CameraITS/tests/inprog/
Dtest_crop_region.py27 regions = [[0.0, 0.0, 0.5, 0.5], # top left
42 for i,region in enumerate(regions):
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java898 JSONObject regions = params.getJSONObject(REGION_KEY);
899 if (regions.has(REGION_AE_KEY)) {
901 regions.getJSONArray(REGION_AE_KEY), true, width, height);
903 if (regions.has(REGION_AF_KEY)) {
905 regions.getJSONArray(REGION_AF_KEY), true, width, height);
907 if (regions.has(REGION_AWB_KEY)) {
909 regions.getJSONArray(REGION_AWB_KEY), true, width, height);
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceTest.java1396 private void checkMeteringRect(MeteringRectangle[] regions) { in checkMeteringRect() argument
1397 if (regions == null) { in checkMeteringRect()
1400 mCollector.expectNotEquals("Number of metering region should not be 0", 0, regions.length); in checkMeteringRect()
1401 for (int i = 0; i < regions.length; i++) { in checkMeteringRect()
1403 0, regions[i].getMeteringWeight()); in checkMeteringRect()
DExtendedCameraCharacteristicsTest.java1254 Rect[] regions = CameraTestUtils.getValueNotNull(c, in testOpticalBlackRegions() local
1256 CameraTestUtils.assertArrayNotEmpty(regions, "Optical back region arrays must not" in testOpticalBlackRegions()
1265 for (Rect region : regions) { in testOpticalBlackRegions()
1291 for (Rect region2 : regions) { in testOpticalBlackRegions()
DCaptureRequestTest.java2685 CaptureRequest.Builder requestBuilder, int algoIdx, MeteringRectangle[] regions)
2690 if (regions == null || regions.length == 0) {
2711 if (maxRegions >= regions.length) {
2712 requestBuilder.set(key, regions);