Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java457 public static int resolveColor(Context context, int color, boolean defaultBackgroundIsDark) { in resolveColor() argument
459 int res = defaultBackgroundIsDark in resolveColor()
526 boolean defaultBackgroundIsDark) { in resolvePrimaryColor() argument
527 boolean useDark = shouldUseDark(backgroundColor, defaultBackgroundIsDark); in resolvePrimaryColor()
538 boolean defaultBackgroundIsDark) { in resolveSecondaryColor() argument
539 boolean useDark = shouldUseDark(backgroundColor, defaultBackgroundIsDark); in resolveSecondaryColor()
550 boolean defaultBackgroundIsDark) { in resolveDefaultColor() argument
551 boolean useDark = shouldUseDark(backgroundColor, defaultBackgroundIsDark); in resolveDefaultColor()
594 private static boolean shouldUseDark(int backgroundColor, boolean defaultBackgroundIsDark) { in shouldUseDark() argument
596 return !defaultBackgroundIsDark; in shouldUseDark()