Searched refs:defaultBackgroundIsDark (Results 1 – 1 of 1) sorted by relevance
546 public static int resolveColor(Context context, int color, boolean defaultBackgroundIsDark) { in resolveColor() argument548 int res = defaultBackgroundIsDark in resolveColor()615 boolean defaultBackgroundIsDark) { in resolvePrimaryColor() argument616 boolean useDark = shouldUseDark(backgroundColor, defaultBackgroundIsDark); in resolvePrimaryColor()627 boolean defaultBackgroundIsDark) { in resolveSecondaryColor() argument628 boolean useDark = shouldUseDark(backgroundColor, defaultBackgroundIsDark); in resolveSecondaryColor()639 boolean defaultBackgroundIsDark) { in resolveDefaultColor() argument640 boolean useDark = shouldUseDark(backgroundColor, defaultBackgroundIsDark); in resolveDefaultColor()683 private static boolean shouldUseDark(int backgroundColor, boolean defaultBackgroundIsDark) { in shouldUseDark() argument685 return !defaultBackgroundIsDark; in shouldUseDark()