Searched refs:testRatio (Results 1 – 1 of 1) sorted by relevance
156 double testRatio = contrastCalculator.calculateContrast(foreground, background, 255); in calculateMinimumAlpha() local157 if (testRatio < minContrastRatio) { in calculateMinimumAlpha()186 final double testRatio = calculator.calculateContrast(foreground, background, in binaryAlphaSearch() local188 if (testRatio < minContrastRatio) { in binaryAlphaSearch()