Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java19 import static com.android.internal.util.NotificationColorUtil.satisfiesTextContrast;
97 assertTrue(satisfiesTextContrast(primaryTextColor, backgroundColor)); in testColorSatisfiedWhenBgDarkTextDarker()
99 assertTrue(satisfiesTextContrast(secondaryTextColor, backgroundColor)); in testColorSatisfiedWhenBgDarkTextDarker()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconViewTest.java118 NotificationColorUtil.satisfiesTextContrast(Color.WHITE, color)); in testGetContrastedStaticDrawableColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java642 if (!NotificationColorUtil.satisfiesTextContrast(mCachedContrastBackgroundColor, in updateContrastedStaticColor()
/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java599 public static boolean satisfiesTextContrast(int backgroundColor, int foregroundColor) { in satisfiesTextContrast() method in NotificationColorUtil
/frameworks/base/core/java/android/app/
DNotification.java19 import static com.android.internal.util.NotificationColorUtil.satisfiesTextContrast;
4001 && satisfiesTextContrast(backgroundColor, Color.BLACK) in ensureColors()
4003 && !satisfiesTextContrast(backgroundColor, Color.WHITE); in ensureColors()
/frameworks/base/config/
Dboot-image-profile.txt11570 HPLcom/android/internal/util/NotificationColorUtil;->satisfiesTextContrast(II)Z