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.java125 Size croppedSensorSize = new Size((int)croppedWidth, (int)croppedHeight); in testHwSupportedLevel() local
128 croppedSensorSize, maxJpegSize, SIZE_ERROR_MARGIN); in testHwSupportedLevel()
DExtendedCameraCharacteristicsTest.java573 Size croppedSensorSize = new Size((int)croppedWidth, (int)croppedHeight); in isSizeWithinSensorMargin() local
576 (sz.getWidth() <= croppedSensorSize.getWidth() * (1.0 + SIZE_ERROR_MARGIN) && in isSizeWithinSensorMargin()
577 sz.getWidth() >= croppedSensorSize.getWidth() * (1.0 - SIZE_ERROR_MARGIN) && in isSizeWithinSensorMargin()
578 sz.getHeight() <= croppedSensorSize.getHeight() * (1.0 + SIZE_ERROR_MARGIN) && in isSizeWithinSensorMargin()
579 sz.getHeight() >= croppedSensorSize.getHeight() * (1.0 - SIZE_ERROR_MARGIN))); in isSizeWithinSensorMargin()
581 return Pair.create(match, croppedSensorSize); in isSizeWithinSensorMargin()