Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DNotification.java1843 Object resultSpan = span; in removeTextSizeSpans() local
1844 if (resultSpan instanceof CharacterStyle) { in removeTextSizeSpans()
1845 resultSpan = ((CharacterStyle) span).getUnderlying(); in removeTextSizeSpans()
1847 if (resultSpan instanceof TextAppearanceSpan) { in removeTextSizeSpans()
1848 TextAppearanceSpan originalSpan = (TextAppearanceSpan) resultSpan; in removeTextSizeSpans()
1849 resultSpan = new TextAppearanceSpan( in removeTextSizeSpans()
1855 } else if (resultSpan instanceof RelativeSizeSpan in removeTextSizeSpans()
1856 || resultSpan instanceof AbsoluteSizeSpan) { in removeTextSizeSpans()
1859 resultSpan = span; in removeTextSizeSpans()
1861 builder.setSpan(resultSpan, ss.getSpanStart(span), ss.getSpanEnd(span), in removeTextSizeSpans()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java186 Object resultSpan = span; in invertCharSequenceColors() local
188 resultSpan = processTextAppearanceSpan((TextAppearanceSpan) span); in invertCharSequenceColors()
190 builder.setSpan(resultSpan, ss.getSpanStart(span), ss.getSpanEnd(span), in invertCharSequenceColors()