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.java80 Size sensorSize = new Size(activeRect.width(), activeRect.height()); in testHwSupportedLevel() local
126 float croppedWidth = (float)sensorSize.getWidth(); in testHwSupportedLevel()
127 float croppedHeight = (float)sensorSize.getHeight(); in testHwSupportedLevel()
128 … float sensorAspectRatio = (float)sensorSize.getWidth() / (float)sensorSize.getHeight(); in testHwSupportedLevel()
131 croppedHeight = (float)sensorSize.getWidth() / maxJpegAspectRatio; in testHwSupportedLevel()
133 croppedWidth = (float)sensorSize.getHeight() * maxJpegAspectRatio; in testHwSupportedLevel()
DExtendedCameraCharacteristicsTest.java581 private Pair<Boolean, Size> isSizeWithinSensorMargin(Size sz, Size sensorSize) { in isSizeWithinSensorMargin() argument
583 float croppedWidth = (float)sensorSize.getWidth(); in isSizeWithinSensorMargin()
584 float croppedHeight = (float)sensorSize.getHeight(); in isSizeWithinSensorMargin()
585 float sensorAspectRatio = (float)sensorSize.getWidth() / (float)sensorSize.getHeight(); in isSizeWithinSensorMargin()
588 croppedHeight = (float)sensorSize.getWidth() / maxAspectRatio; in isSizeWithinSensorMargin()
590 croppedWidth = (float)sensorSize.getHeight() * maxAspectRatio; in isSizeWithinSensorMargin()
1216 Size sensorSize = new Size(activeRect.width(), activeRect.height()); in testStaticBurstCharacteristics() local
1241 sensorSize); in testStaticBurstCharacteristics()
1329 mAllCameraIds[i], maxYuvSize.toString(), sensorSize.toString(), in testStaticBurstCharacteristics()
DLogicalCameraDeviceTest.java1011 SizeF sensorSize = mStaticInfo.getValueFromKeyNonNull( in validatePhysicalCamerasFov() local
1015 double fov = 2 * Math.toDegrees(Math.atan2(sensorSize.getWidth() * cropRegion.width() / in validatePhysicalCamerasFov()