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.java546 public static int resolveColor(Context context, int color, boolean defaultBackgroundIsDark) { in resolveColor() argument
548 int res = defaultBackgroundIsDark in resolveColor()
615 boolean defaultBackgroundIsDark) { in resolvePrimaryColor() argument
616 boolean useDark = shouldUseDark(backgroundColor, defaultBackgroundIsDark); in resolvePrimaryColor()
627 boolean defaultBackgroundIsDark) { in resolveSecondaryColor() argument
628 boolean useDark = shouldUseDark(backgroundColor, defaultBackgroundIsDark); in resolveSecondaryColor()
639 boolean defaultBackgroundIsDark) { in resolveDefaultColor() argument
640 boolean useDark = shouldUseDark(backgroundColor, defaultBackgroundIsDark); in resolveDefaultColor()
683 private static boolean shouldUseDark(int backgroundColor, boolean defaultBackgroundIsDark) { in shouldUseDark() argument
685 return !defaultBackgroundIsDark; in shouldUseDark()