Searched refs:fgAlpha (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 50 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/ |
D | ContrastColorUtil.java | 647 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()
|