Home
last modified time | relevance | path

Searched refs:croppedSensorSize (Results 1 – 2 of 2) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DStaticMetadataTest.java145 Size croppedSensorSize = new Size((int)croppedWidth, (int)croppedHeight); in testHwSupportedLevel() local
148 croppedSensorSize, maxJpegSize, SIZE_ERROR_MARGIN); in testHwSupportedLevel()
DExtendedCameraCharacteristicsTest.java803 Size croppedSensorSize = new Size((int)croppedWidth, (int)croppedHeight); in isSizeWithinSensorMargin() local
806 (sz.getWidth() <= croppedSensorSize.getWidth() * (1.0 + SIZE_ERROR_MARGIN) && in isSizeWithinSensorMargin()
807 sz.getWidth() >= croppedSensorSize.getWidth() * (1.0 - SIZE_ERROR_MARGIN) && in isSizeWithinSensorMargin()
808 sz.getHeight() <= croppedSensorSize.getHeight() * (1.0 + SIZE_ERROR_MARGIN) && in isSizeWithinSensorMargin()
809 sz.getHeight() >= croppedSensorSize.getHeight() * (1.0 - SIZE_ERROR_MARGIN))); in isSizeWithinSensorMargin()
811 return Pair.create(match, croppedSensorSize); in isSizeWithinSensorMargin()