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()
403 final boolean satisfiesTextContrast = ContrastColorUtil in calculateDarkHints()405 if (!satisfiesTextContrast && alpha != 0) { in calculateDarkHints()
23 import static com.android.internal.util.ContrastColorUtil.satisfiesTextContrast;4933 && satisfiesTextContrast(backgroundColor, Color.BLACK) in ensureColors()4935 && !satisfiesTextContrast(backgroundColor, Color.WHITE); in ensureColors()
119 ContrastColorUtil.satisfiesTextContrast(Color.WHITE, color)); in testGetContrastedStaticDrawableColor()
704 if (!ContrastColorUtil.satisfiesTextContrast(mCachedContrastBackgroundColor, in updateContrastedStaticColor()
610 public static boolean satisfiesTextContrast(int backgroundColor, int foregroundColor) { in satisfiesTextContrast() method in ContrastColorUtil
29850 HSPLcom/android/internal/util/ContrastColorUtil;->satisfiesTextContrast(II)Z