Searched refs:bgC (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/
H A DColorUtils.java67 private static int compositeComponent(int fgC, int fgA, int bgC, int bgA, int a) { argument
69 return ((0xFF * fgC * fgA) + (bgC * bgA * (0xFF - fgA))) / (a * 0xFF);
/frameworks/support/core-utils/java/android/support/v4/graphics/
H A DColorUtils.java66 private static int compositeComponent(int fgC, int fgA, int bgC, int bgA, int a) { argument
68 return ((0xFF * fgC * fgA) + (bgC * bgA * (0xFF - fgA))) / (a * 0xFF);
/frameworks/base/core/java/com/android/internal/util/
H A DNotificationColorUtil.java590 private static int compositeComponent(int fgC, int fgA, int bgC, int bgA, int a) { argument
592 return ((0xFF * fgC * fgA) + (bgC * bgA * (0xFF - fgA))) / (a * 0xFF);

Completed in 132 milliseconds