Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java50 int fgAlpha = Color.alpha(foreground); in compositeColors() local
51 int a = compositeAlpha(fgAlpha, bgAlpha); in compositeColors()
53 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()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java647 int fgAlpha = Color.alpha(foreground); in compositeColors() local
648 int a = compositeAlpha(fgAlpha, bgAlpha); in compositeColors()
650 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()