Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java795 Rect activeArray = getValueFromKeyNonNull(key); in getPreCorrectedActiveArraySizeChecked() local
797 if (activeArray == null) { in getPreCorrectedActiveArraySizeChecked()
802 …checkTrueForKey(key, "values left/top are invalid", activeArray.left >= 0 && activeArray.top >= 0); in getPreCorrectedActiveArraySizeChecked()
804 activeArray.width() <= pixelArraySize.getWidth() && in getPreCorrectedActiveArraySizeChecked()
805 activeArray.height() <= pixelArraySize.getHeight()); in getPreCorrectedActiveArraySizeChecked()
807 return activeArray; in getPreCorrectedActiveArraySizeChecked()
815 Rect activeArray = getValueFromKeyNonNull(key); in getActiveArraySizeChecked() local
817 if (activeArray == null) { in getActiveArraySizeChecked()
822 …checkTrueForKey(key, "values left/top are invalid", activeArray.left >= 0 && activeArray.top >= 0); in getActiveArraySizeChecked()
824 activeArray.width() <= pixelArraySize.getWidth() && in getActiveArraySizeChecked()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraTestUtils.java1624 final float maxZoom, final Rect activeArray) { in getCropRegionForZoom() argument
1639 if (activeArray == null) { in getCropRegionForZoom()
1658 int cropCenterX = (int)(activeArray.width() * center.x); in getCropRegionForZoom()
1659 int cropCenterY = (int)(activeArray.height() * center.y); in getCropRegionForZoom()
1660 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom()
1661 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom()
DExtendedCameraCharacteristicsTest.java1285 Rect activeArray = CameraTestUtils.getValueNotNull(c, in testOpticalBlackRegions() local
1288 + " active array " + activeArray, in testOpticalBlackRegions()
1289 !region.intersect(activeArray)); in testOpticalBlackRegions()