Home
last modified time | relevance | path

Searched refs:testRatio (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java156 double testRatio = contrastCalculator.calculateContrast(foreground, background, 255); in calculateMinimumAlpha() local
157 if (testRatio < minContrastRatio) { in calculateMinimumAlpha()
186 final double testRatio = calculator.calculateContrast(foreground, background, in binaryAlphaSearch() local
188 if (testRatio < minContrastRatio) { in binaryAlphaSearch()