Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DStaticMetadataTest.java70 Size sensorSize = new Size(activeRect.width(), activeRect.height()); in testHwSupportedLevel() local
116 float croppedWidth = (float)sensorSize.getWidth(); in testHwSupportedLevel()
117 float croppedHeight = (float)sensorSize.getHeight(); in testHwSupportedLevel()
118 … float sensorAspectRatio = (float)sensorSize.getWidth() / (float)sensorSize.getHeight(); in testHwSupportedLevel()
121 croppedHeight = (float)sensorSize.getWidth() / maxJpegAspectRatio; in testHwSupportedLevel()
123 croppedWidth = (float)sensorSize.getHeight() * maxJpegAspectRatio; in testHwSupportedLevel()
DExtendedCameraCharacteristicsTest.java565 private Pair<Boolean, Size> isSizeWithinSensorMargin(Size sz, Size sensorSize) { in isSizeWithinSensorMargin() argument
567 float croppedWidth = (float)sensorSize.getWidth(); in isSizeWithinSensorMargin()
568 float croppedHeight = (float)sensorSize.getHeight(); in isSizeWithinSensorMargin()
569 float sensorAspectRatio = (float)sensorSize.getWidth() / (float)sensorSize.getHeight(); in isSizeWithinSensorMargin()
572 croppedHeight = (float)sensorSize.getWidth() / maxAspectRatio; in isSizeWithinSensorMargin()
574 croppedWidth = (float)sensorSize.getHeight() * maxAspectRatio; in isSizeWithinSensorMargin()
1188 Size sensorSize = new Size(activeRect.width(), activeRect.height()); in testStaticBurstCharacteristics() local
1213 sensorSize); in testStaticBurstCharacteristics()
1301 mAllCameraIds[i], maxYuvSize.toString(), sensorSize.toString(), in testStaticBurstCharacteristics()