Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java63 private static int compositeAlpha(int foregroundAlpha, int backgroundAlpha) { in compositeAlpha() argument
64 return 0xFF - (((0xFF - backgroundAlpha) * (0xFF - foregroundAlpha)) / 0xFF); in compositeAlpha()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java660 private static int compositeAlpha(int foregroundAlpha, int backgroundAlpha) { in compositeAlpha() argument
661 return 0xFF - (((0xFF - backgroundAlpha) * (0xFF - foregroundAlpha)) / 0xFF); in compositeAlpha()