Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DIntraPreviewAction.java218 Rect activeArray = mCameraCharacteristics.get( in execute() local
220 assert activeArray != null; in execute()
221 int aaWidth = activeArray.right - activeArray.left; in execute()
222 int aaHeight = activeArray.bottom - activeArray.top; in execute()
DItsService.java2138 Rect activeArray = mCameraCharacteristics.get(
2140 int aaWidth = activeArray.right - activeArray.left;
2141 int aaHeight = activeArray.bottom - activeArray.top;
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java986 Rect activeArray = getValueFromKeyNonNull(key); in getPreCorrectedActiveArraySizeChecked() local
988 if (activeArray == null) { in getPreCorrectedActiveArraySizeChecked()
993 …checkTrueForKey(key, "values left/top are invalid", activeArray.left >= 0 && activeArray.top >= 0); in getPreCorrectedActiveArraySizeChecked()
995 activeArray.width() <= pixelArraySize.getWidth() && in getPreCorrectedActiveArraySizeChecked()
996 activeArray.height() <= pixelArraySize.getHeight()); in getPreCorrectedActiveArraySizeChecked()
998 return activeArray; in getPreCorrectedActiveArraySizeChecked()
1022 Rect activeArray = getValueFromKeyNonNull(key); in getActiveArraySizeChecked() local
1024 if (activeArray == null) { in getActiveArraySizeChecked()
1029 …checkTrueForKey(key, "values left/top are invalid", activeArray.left >= 0 && activeArray.top >= 0); in getActiveArraySizeChecked()
1031 activeArray.width() <= pixelArraySize.getWidth() && in getActiveArraySizeChecked()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java1870 Rect activeArray = c.get( in testDepthOutputCharacteristics() local
1880 activeArray.left + ", " + activeArray.top + ", " + activeArray.right + in testDepthOutputCharacteristics()
1881 ", " + activeArray.bottom, in testDepthOutputCharacteristics()
1882 precorrectionArray.contains(activeArray.left, activeArray.top) && in testDepthOutputCharacteristics()
1883 precorrectionArray.contains(activeArray.right-1, activeArray.bottom-1)); in testDepthOutputCharacteristics()
2954 Rect activeArray = CameraTestUtils.getValueNotNull(c, in testOpticalBlackRegions() local
2957 + " active array " + activeArray, in testOpticalBlackRegions()
2958 !region.intersect(activeArray)); in testOpticalBlackRegions()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2987 final float maxZoom, final Rect activeArray) { in getCropRegionForZoom() argument
3002 if (activeArray == null) { in getCropRegionForZoom()
3021 int cropCenterX = (int)(activeArray.width() * center.x); in getCropRegionForZoom()
3022 int cropCenterY = (int)(activeArray.height() * center.y); in getCropRegionForZoom()
3023 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom()
3024 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom()