Searched refs:satisfiesTextContrast (Results 1 – 7 of 7) sorted by relevance
19 import static com.android.internal.util.ContrastColorUtil.satisfiesTextContrast;113 assertTrue(satisfiesTextContrast(primaryTextColor, backgroundColor)); in testColorSatisfiedWhenBgDarkTextDarker()115 assertTrue(satisfiesTextContrast(secondaryTextColor, backgroundColor)); in testColorSatisfiedWhenBgDarkTextDarker()
395 final boolean satisfiesTextContrast = ContrastColorUtil in calculateDarkHints()397 if (!satisfiesTextContrast && alpha != 0) { in calculateDarkHints()
22 import static com.android.internal.util.ContrastColorUtil.satisfiesTextContrast;4795 && satisfiesTextContrast(backgroundColor, Color.BLACK) in ensureColors()4797 && !satisfiesTextContrast(backgroundColor, Color.WHITE); in ensureColors()
119 ContrastColorUtil.satisfiesTextContrast(Color.WHITE, color)); in testGetContrastedStaticDrawableColor()
698 if (!ContrastColorUtil.satisfiesTextContrast(mCachedContrastBackgroundColor, in updateContrastedStaticColor()
610 public static boolean satisfiesTextContrast(int backgroundColor, int foregroundColor) { in satisfiesTextContrast() method in ContrastColorUtil
106334 Lcom/android/internal/util/NotificationColorUtil;->satisfiesTextContrast(II)Z