Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java863 assertThat(Notification.Builder.getFullLengthSpanColor("String")).isNull(); in testBuilder_getFullLengthSpanColor_returnsNullForString()
872 assertThat(Notification.Builder.getFullLengthSpanColor(text)).isNull(); in testBuilder_getFullLengthSpanColor_returnsNullWithPartialSpan()
880 assertThat(Notification.Builder.getFullLengthSpanColor(text)).isEqualTo(Color.RED); in testBuilder_getFullLengthSpanColor_worksWithSingleSpan()
892 assertThat(Notification.Builder.getFullLengthSpanColor(text)).isEqualTo(Color.BLUE); in testBuilder_getFullLengthSpanColor_worksWithFullAndPartialSpans()
907 assertThat(Notification.Builder.getFullLengthSpanColor(text)).isEqualTo(expectedTextColor); in testBuilder_getFullLengthSpanColor_worksWithTextAppearance()
/frameworks/base/core/java/android/app/
DNotification.java7185 Integer fullLengthColor = getFullLengthSpanColor(title); in generateActionButton()
7198 Integer fullLengthColor = getFullLengthSpanColor(title); in generateActionButton()
7295 public static Integer getFullLengthSpanColor(CharSequence charSequence) { in getFullLengthSpanColor() method in Builder