Searched refs:SIZE_ERROR_MARGIN (Results 1 – 2 of 2) sorted by relevance
75 final float SIZE_ERROR_MARGIN = 0.03f; in testHwSupportedLevel() local138 croppedSensorSize, maxJpegSize, SIZE_ERROR_MARGIN); in testHwSupportedLevel()
582 final float SIZE_ERROR_MARGIN = 0.03f; in isSizeWithinSensorMargin() local595 (sz.getWidth() <= croppedSensorSize.getWidth() * (1.0 + SIZE_ERROR_MARGIN) && in isSizeWithinSensorMargin()596 sz.getWidth() >= croppedSensorSize.getWidth() * (1.0 - SIZE_ERROR_MARGIN) && in isSizeWithinSensorMargin()597 sz.getHeight() <= croppedSensorSize.getHeight() * (1.0 + SIZE_ERROR_MARGIN) && in isSizeWithinSensorMargin()598 sz.getHeight() >= croppedSensorSize.getHeight() * (1.0 - SIZE_ERROR_MARGIN))); in isSizeWithinSensorMargin()