Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java67 private static int compositeComponent(int fgC, int fgA, int bgC, int bgA, int a) { in compositeComponent() argument
69 return ((0xFF * fgC * fgA) + (bgC * bgA * (0xFF - fgA))) / (a * 0xFF); in compositeComponent()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java664 private static int compositeComponent(int fgC, int fgA, int bgC, int bgA, int a) { in compositeComponent() argument
666 return ((0xFF * fgC * fgA) + (bgC * bgA * (0xFF - fgA))) / (a * 0xFF); in compositeComponent()