Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java53 int r = compositeComponent(Color.red(foreground), fgAlpha, in compositeColors()
55 int g = compositeComponent(Color.green(foreground), fgAlpha, in compositeColors()
57 int b = compositeComponent(Color.blue(foreground), fgAlpha, in compositeColors()
67 private static int compositeComponent(int fgC, int fgA, int bgC, int bgA, int a) { in compositeComponent() method in ColorUtils
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java650 int r = compositeComponent(Color.red(foreground), fgAlpha, in compositeColors()
652 int g = compositeComponent(Color.green(foreground), fgAlpha, in compositeColors()
654 int b = compositeComponent(Color.blue(foreground), fgAlpha, in compositeColors()
664 private static int compositeComponent(int fgC, int fgA, int bgC, int bgA, int a) { in compositeComponent() method in ContrastColorUtil.ColorUtilsFromCompat