Searched refs:isColorDark (Results 1 – 7 of 7) sorted by relevance
321 boolean isBgDark = isColorDark(background); in ensureColorSpanContrast()341 boolean isBgDark = isColorDark(background); in ensureColorSpanContrast()366 public static boolean isColorDark(int color) { in isColorDark() method in ContrastColorUtil
144 ColorStateList newColor = ContrastColorUtil.isColorDark(mTintColor) in setStatefulColors()
111 colors.setSupportsDarkText(!ContrastColorUtil.isColorDark(bgColor)); in makeColors()
729 final boolean dark = ContrastColorUtil.isColorDark(backgroundColor); in setBackgroundTintColor()
218 final boolean dark = ContrastColorUtil.isColorDark(backgroundColor); in setBackgroundTintColor()
1611 final boolean isBackgroundLight = !ContrastColorUtil.isColorDark(background); in updateThemeColors()
7063 public static boolean isColorDark(int color) { in isColorDark() method in Notification.Builder7077 return isColorDark(bg) in ensureButtonFillContrast()