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.java458 assertThat(Notification.Builder.getFullLengthSpanColor("String")).isNull(); in testBuilder_getFullLengthSpanColor_returnsNullForString()
467 assertThat(Notification.Builder.getFullLengthSpanColor(text)).isNull(); in testBuilder_getFullLengthSpanColor_returnsNullWithPartialSpan()
475 assertThat(Notification.Builder.getFullLengthSpanColor(text)).isEqualTo(Color.RED); in testBuilder_getFullLengthSpanColor_worksWithSingleSpan()
487 assertThat(Notification.Builder.getFullLengthSpanColor(text)).isEqualTo(Color.BLUE); in testBuilder_getFullLengthSpanColor_worksWithFullAndPartialSpans()
502 assertThat(Notification.Builder.getFullLengthSpanColor(text)).isEqualTo(expectedTextColor); in testBuilder_getFullLengthSpanColor_worksWithTextAppearance()
/frameworks/base/core/java/android/app/
DNotification.java6881 Integer fullLengthColor = getFullLengthSpanColor(title); in generateActionButton()
6894 Integer fullLengthColor = getFullLengthSpanColor(title); in generateActionButton()
6991 public static Integer getFullLengthSpanColor(CharSequence charSequence) { in getFullLengthSpanColor() method in Notification.Builder