Searched refs:resultSpan (Results 1 – 2 of 2) sorted by relevance
1843 Object resultSpan = span; in removeTextSizeSpans() local1844 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 …]
186 Object resultSpan = span; in invertCharSequenceColors() local188 resultSpan = processTextAppearanceSpan((TextAppearanceSpan) span); in invertCharSequenceColors()190 builder.setSpan(resultSpan, ss.getSpanStart(span), ss.getSpanEnd(span), in invertCharSequenceColors()