Searched refs:sensorSize (Results 1 – 2 of 2) sorted by relevance
70 Size sensorSize = new Size(activeRect.width(), activeRect.height()); in testHwSupportedLevel() local116 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()
565 private Pair<Boolean, Size> isSizeWithinSensorMargin(Size sz, Size sensorSize) { in isSizeWithinSensorMargin() argument567 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() local1213 sensorSize); in testStaticBurstCharacteristics()1301 mAllCameraIds[i], maxYuvSize.toString(), sensorSize.toString(), in testStaticBurstCharacteristics()