Home
last modified time | relevance | path

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

/frameworks/base/tests/Internal/src/com/android/internal/graphics/
DColorUtilsTest.java33 int alpha = ColorUtils.calculateMinimumBackgroundAlpha(Color.WHITE, Color.BLACK, 4.5f); in calculateMinimumBackgroundAlpha_satisfiestContrast()
/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java118 public static int calculateMinimumBackgroundAlpha(@ColorInt int foreground, in calculateMinimumBackgroundAlpha() method in ColorUtils
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java570 float minOpacity = ColorUtils.calculateMinimumBackgroundAlpha(textColor, mainColor, in updateScrims()