Searched refs:SIZE_ERROR_MARGIN (Results 1 – 2 of 2) sorted by relevance
65 final float SIZE_ERROR_MARGIN = 0.03f; in testHwSupportedLevel() local128 croppedSensorSize, maxJpegSize, SIZE_ERROR_MARGIN); in testHwSupportedLevel()
566 final float SIZE_ERROR_MARGIN = 0.03f; in isSizeWithinSensorMargin() local579 (sz.getWidth() <= croppedSensorSize.getWidth() * (1.0 + SIZE_ERROR_MARGIN) && in isSizeWithinSensorMargin()580 sz.getWidth() >= croppedSensorSize.getWidth() * (1.0 - SIZE_ERROR_MARGIN) && in isSizeWithinSensorMargin()581 sz.getHeight() <= croppedSensorSize.getHeight() * (1.0 + SIZE_ERROR_MARGIN) && in isSizeWithinSensorMargin()582 sz.getHeight() >= croppedSensorSize.getHeight() * (1.0 - SIZE_ERROR_MARGIN))); in isSizeWithinSensorMargin()