Searched refs:getColorAt (Results 1 – 3 of 3) sorted by relevance
61 assertThat(mSpanColors.getColorAt(27)).isEqualTo(SpanColors.NO_COLOR_FOUND); in testNoColorFound()67 assertThat(mSpanColors.getColorAt(3)).isEqualTo(Color.RED); in testSingleColorSpan()73 assertThat(mSpanColors.getColorAt(2)).isEqualTo(Color.RED); in testMultipleColorSpans()74 assertThat(mSpanColors.getColorAt(5)).isEqualTo(SpanColors.NO_COLOR_FOUND); in testMultipleColorSpans()75 assertThat(mSpanColors.getColorAt(8)).isEqualTo(Color.GREEN); in testMultipleColorSpans()76 assertThat(mSpanColors.getColorAt(13)).isEqualTo(Color.BLUE); in testMultipleColorSpans()
67 public @ColorInt int getColorAt(int index) { in getColorAt() method in SpanColors
1099 var textColor = mSpanColors.getColorAt(index); in drawHighContrastBackground()