Searched refs:satisfiesTextContrast (Results 1 – 6 of 6) sorted by relevance
19 import static com.android.internal.util.NotificationColorUtil.satisfiesTextContrast;97 assertTrue(satisfiesTextContrast(primaryTextColor, backgroundColor)); in testColorSatisfiedWhenBgDarkTextDarker()99 assertTrue(satisfiesTextContrast(secondaryTextColor, backgroundColor)); in testColorSatisfiedWhenBgDarkTextDarker()
118 NotificationColorUtil.satisfiesTextContrast(Color.WHITE, color)); in testGetContrastedStaticDrawableColor()
642 if (!NotificationColorUtil.satisfiesTextContrast(mCachedContrastBackgroundColor, in updateContrastedStaticColor()
599 public static boolean satisfiesTextContrast(int backgroundColor, int foregroundColor) { in satisfiesTextContrast() method in NotificationColorUtil
19 import static com.android.internal.util.NotificationColorUtil.satisfiesTextContrast;4001 && satisfiesTextContrast(backgroundColor, Color.BLACK) in ensureColors()4003 && !satisfiesTextContrast(backgroundColor, Color.WHITE); in ensureColors()
11570 HPLcom/android/internal/util/NotificationColorUtil;->satisfiesTextContrast(II)Z