Home
last modified time | relevance | path

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

/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java835 Rect activeArray = getValueFromKeyNonNull(key); in getPreCorrectedActiveArraySizeChecked() local
837 if (activeArray == null) { in getPreCorrectedActiveArraySizeChecked()
842 …checkTrueForKey(key, "values left/top are invalid", activeArray.left >= 0 && activeArray.top >= 0); in getPreCorrectedActiveArraySizeChecked()
844 activeArray.width() <= pixelArraySize.getWidth() && in getPreCorrectedActiveArraySizeChecked()
845 activeArray.height() <= pixelArraySize.getHeight()); in getPreCorrectedActiveArraySizeChecked()
847 return activeArray; in getPreCorrectedActiveArraySizeChecked()
855 Rect activeArray = getValueFromKeyNonNull(key); in getActiveArraySizeChecked() local
857 if (activeArray == null) { in getActiveArraySizeChecked()
862 …checkTrueForKey(key, "values left/top are invalid", activeArray.left >= 0 && activeArray.top >= 0); in getActiveArraySizeChecked()
864 activeArray.width() <= pixelArraySize.getWidth() && in getActiveArraySizeChecked()
[all …]
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1719 final float maxZoom, final Rect activeArray) { in getCropRegionForZoom() argument
1734 if (activeArray == null) { in getCropRegionForZoom()
1753 int cropCenterX = (int)(activeArray.width() * center.x); in getCropRegionForZoom()
1754 int cropCenterY = (int)(activeArray.height() * center.y); in getCropRegionForZoom()
1755 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom()
1756 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom()
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java1382 Rect activeArray = CameraTestUtils.getValueNotNull(c, in testOpticalBlackRegions() local
1385 + " active array " + activeArray, in testOpticalBlackRegions()
1386 !region.intersect(activeArray)); in testOpticalBlackRegions()