Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DContrastColorUtil.java321 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
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DLightBarControllerTest.java91 colors.setSupportsDarkText(!ContrastColorUtil.isColorDark(bgColor)); in makeColors()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSmartReplyView.java729 final boolean dark = ContrastColorUtil.isColorDark(backgroundColor); in setBackgroundTintColor()
H A DRemoteInputView.java225 final boolean dark = ContrastColorUtil.isColorDark(backgroundColor); in setBackgroundTintColor()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DScrimController.java1498 final boolean isBackgroundLight = !ContrastColorUtil.isColorDark(background); in updateThemeColors()
/aosp14/frameworks/base/core/java/android/app/
H A DNotification.java6435 public static boolean isColorDark(int color) { in isColorDark() method in Notification.Builder
6449 return isColorDark(bg) in ensureButtonFillContrast()