Searched refs:sensorSize (Results 1 – 3 of 3) sorted by relevance
80 Size sensorSize = new Size(activeRect.width(), activeRect.height()); in testHwSupportedLevel() local126 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()
581 private Pair<Boolean, Size> isSizeWithinSensorMargin(Size sz, Size sensorSize) { in isSizeWithinSensorMargin() argument583 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() local1241 sensorSize); in testStaticBurstCharacteristics()1329 mAllCameraIds[i], maxYuvSize.toString(), sensorSize.toString(), in testStaticBurstCharacteristics()
1011 SizeF sensorSize = mStaticInfo.getValueFromKeyNonNull( in validatePhysicalCamerasFov() local1015 double fov = 2 * Math.toDegrees(Math.atan2(sensorSize.getWidth() * cropRegion.width() / in validatePhysicalCamerasFov()