Searched refs:getContrastColor (Results 1 – 2 of 2) sorted by relevance
870 assertEquals(cDay.getContrastColor(), cNight.getContrastColor()); in validateColorizedPaletteForColor()1819 assertThat(c.getContrastColor()).isNotEqualTo(Notification.COLOR_INVALID); in assertValid()1828 assertContrastIsAtLeast(c.getContrastColor(), c.getBackgroundColor(), 4.5); in assertValid()
7153 return getColors(p).getContrastColor();7162 return getColors(/* isHeader = */ isHeader).getContrastColor();13885 public @ColorInt int getContrastColor() { in getContrastColor() method in Notification.Builder.Colors