Home
last modified time | relevance | path

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

/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java877 Rect activeArray = getValueFromKeyNonNull(key); in getPreCorrectedActiveArraySizeChecked() local
879 if (activeArray == null) { in getPreCorrectedActiveArraySizeChecked()
884 …checkTrueForKey(key, "values left/top are invalid", activeArray.left >= 0 && activeArray.top >= 0); in getPreCorrectedActiveArraySizeChecked()
886 activeArray.width() <= pixelArraySize.getWidth() && in getPreCorrectedActiveArraySizeChecked()
887 activeArray.height() <= pixelArraySize.getHeight()); in getPreCorrectedActiveArraySizeChecked()
889 return activeArray; in getPreCorrectedActiveArraySizeChecked()
897 Rect activeArray = getValueFromKeyNonNull(key); in getActiveArraySizeChecked() local
899 if (activeArray == null) { in getActiveArraySizeChecked()
904 …checkTrueForKey(key, "values left/top are invalid", activeArray.left >= 0 && activeArray.top >= 0); in getActiveArraySizeChecked()
906 activeArray.width() <= pixelArraySize.getWidth() && in getActiveArraySizeChecked()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java1482 Rect activeArray = c.get( in testDepthOutputCharacteristics() local
1491 activeArray.left + ", " + activeArray.top + ", " + activeArray.right + in testDepthOutputCharacteristics()
1492 ", " + activeArray.bottom, in testDepthOutputCharacteristics()
1493 precorrectionArray.contains(activeArray.left, activeArray.top) && in testDepthOutputCharacteristics()
1494 precorrectionArray.contains(activeArray.right-1, activeArray.bottom-1)); in testDepthOutputCharacteristics()
2070 Rect activeArray = CameraTestUtils.getValueNotNull(c, in testOpticalBlackRegions() local
2073 + " active array " + activeArray, in testOpticalBlackRegions()
2074 !region.intersect(activeArray)); in testOpticalBlackRegions()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1842 final float maxZoom, final Rect activeArray) { in getCropRegionForZoom() argument
1857 if (activeArray == null) { in getCropRegionForZoom()
1876 int cropCenterX = (int)(activeArray.width() * center.x); in getCropRegionForZoom()
1877 int cropCenterY = (int)(activeArray.height() * center.y); in getCropRegionForZoom()
1878 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom()
1879 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java1113 Rect activeArray = mCameraCharacteristics.get(
1115 int aaWidth = activeArray.right - activeArray.left;
1116 int aaHeight = activeArray.bottom - activeArray.top;