Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DStaticMetadataTest.java90 Size sensorSize = new Size(activeRect.width(), activeRect.height()); in testHwSupportedLevel() local
136 float croppedWidth = (float)sensorSize.getWidth(); in testHwSupportedLevel()
137 float croppedHeight = (float)sensorSize.getHeight(); in testHwSupportedLevel()
138 … float sensorAspectRatio = (float)sensorSize.getWidth() / (float)sensorSize.getHeight(); in testHwSupportedLevel()
141 croppedHeight = (float)sensorSize.getWidth() / maxJpegAspectRatio; in testHwSupportedLevel()
143 croppedWidth = (float)sensorSize.getHeight() * maxJpegAspectRatio; in testHwSupportedLevel()
DExtendedCameraCharacteristicsTest.java792 private Pair<Boolean, Size> isSizeWithinSensorMargin(Size sz, Size sensorSize) { in isSizeWithinSensorMargin() argument
794 float croppedWidth = (float)sensorSize.getWidth(); in isSizeWithinSensorMargin()
795 float croppedHeight = (float)sensorSize.getHeight(); in isSizeWithinSensorMargin()
796 float sensorAspectRatio = (float)sensorSize.getWidth() / (float)sensorSize.getHeight(); in isSizeWithinSensorMargin()
799 croppedHeight = (float)sensorSize.getWidth() / maxAspectRatio; in isSizeWithinSensorMargin()
801 croppedWidth = (float)sensorSize.getHeight() * maxAspectRatio; in isSizeWithinSensorMargin()
1442 Size sensorSize = new Size(activeRect.width(), activeRect.height()); in testStaticBurstCharacteristics() local
1467 sensorSize); in testStaticBurstCharacteristics()
1555 allCameraIds[i], maxYuvSize.toString(), sensorSize.toString(), in testStaticBurstCharacteristics()
DLogicalCameraDeviceTest.java1042 SizeF sensorSize = mStaticInfo.getValueFromKeyNonNull( in validatePhysicalCamerasFov() local
1050 Float logicalSensorWidth = sensorSize.getWidth() * fovTransferRatio; in validatePhysicalCamerasFov()