Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java150 ContrastCalculator contrastCalculator = (fg, bg, alpha) -> { in calculateMinimumAlpha() local
156 double testRatio = contrastCalculator.calculateContrast(foreground, background, 255); in calculateMinimumAlpha()
162 return binaryAlphaSearch(foreground, background, minContrastRatio, contrastCalculator); in calculateMinimumAlpha()