Home
last modified time | relevance | path

Searched refs:getPrimaryAccentColor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java860 assertEquals(cDay.getPrimaryAccentColor(), cNight.getPrimaryAccentColor()); in validateColorizedPaletteForColor()
1812 assertThat(c.getPrimaryAccentColor()).isNotEqualTo(Notification.COLOR_INVALID); in assertValid()
1826 assertContrastIsAtLeast(c.getPrimaryAccentColor(), c.getBackgroundColor(), 4.5); in assertValid()
/frameworks/base/core/java/android/app/
DNotification.java5925 ColorStateList progressTint = ColorStateList.valueOf(getPrimaryAccentColor(p)); in handleProgressBar()
6396 ColorStateList.valueOf(getPrimaryAccentColor(p))); in applyStandardTemplateWithActions()
7145 ? getPrimaryAccentColor(p) : getSecondaryTextColor(p);
7174 private @ColorInt int getPrimaryAccentColor(StandardTemplateParams p) {
7175 return getColors(p).getPrimaryAccentColor();
13852 public @ColorInt int getPrimaryAccentColor() { in getPrimaryAccentColor() method in Notification.Builder.Colors