Searched refs:bgC (Results 1 – 3 of 3) sorted by relevance
/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
D | ColorUtils.java | 134 private static int compositeComponent(int fgC, int fgA, int bgC, int bgA, int a) { in compositeComponent() argument 136 return ((0xFF * fgC * fgA) + (bgC * bgA * (0xFF - fgA))) / (a * 0xFF); in compositeComponent()
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 67 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/ |
D | NotificationColorUtil.java | 665 private static int compositeComponent(int fgC, int fgA, int bgC, int bgA, int a) { in compositeComponent() argument 667 return ((0xFF * fgC * fgA) + (bgC * bgA * (0xFF - fgA))) / (a * 0xFF); in compositeComponent()
|