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.java805 Rect activeArray = getValueFromKeyNonNull(key); in getPreCorrectedActiveArraySizeChecked() local
807 if (activeArray == null) { in getPreCorrectedActiveArraySizeChecked()
812 …checkTrueForKey(key, "values left/top are invalid", activeArray.left >= 0 && activeArray.top >= 0); in getPreCorrectedActiveArraySizeChecked()
814 activeArray.width() <= pixelArraySize.getWidth() && in getPreCorrectedActiveArraySizeChecked()
815 activeArray.height() <= pixelArraySize.getHeight()); in getPreCorrectedActiveArraySizeChecked()
817 return activeArray; in getPreCorrectedActiveArraySizeChecked()
825 Rect activeArray = getValueFromKeyNonNull(key); in getActiveArraySizeChecked() local
827 if (activeArray == null) { in getActiveArraySizeChecked()
832 …checkTrueForKey(key, "values left/top are invalid", activeArray.left >= 0 && activeArray.top >= 0); in getActiveArraySizeChecked()
834 activeArray.width() <= pixelArraySize.getWidth() && in getActiveArraySizeChecked()
[all …]
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1665 final float maxZoom, final Rect activeArray) { in getCropRegionForZoom() argument
1680 if (activeArray == null) { in getCropRegionForZoom()
1699 int cropCenterX = (int)(activeArray.width() * center.x); in getCropRegionForZoom()
1700 int cropCenterY = (int)(activeArray.height() * center.y); in getCropRegionForZoom()
1701 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom()
1702 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom()
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java1285 Rect activeArray = CameraTestUtils.getValueNotNull(c, in testOpticalBlackRegions() local
1288 + " active array " + activeArray, in testOpticalBlackRegions()
1289 !region.intersect(activeArray)); in testOpticalBlackRegions()