Searched refs:resultSpan (Results 1 – 2 of 2) sorted by relevance
189 Object resultSpan = span; in invertCharSequenceColors() local190 if (resultSpan instanceof CharacterStyle) { in invertCharSequenceColors()191 resultSpan = ((CharacterStyle) span).getUnderlying(); in invertCharSequenceColors()193 if (resultSpan instanceof TextAppearanceSpan) { in invertCharSequenceColors()196 if (processedSpan != resultSpan) { in invertCharSequenceColors()197 resultSpan = processedSpan; in invertCharSequenceColors()200 resultSpan = span; in invertCharSequenceColors()202 } else if (resultSpan instanceof ForegroundColorSpan) { in invertCharSequenceColors()203 ForegroundColorSpan originalSpan = (ForegroundColorSpan) resultSpan; in invertCharSequenceColors()205 resultSpan = new ForegroundColorSpan(processColor(foregroundColor)); in invertCharSequenceColors()[all …]
2608 Object resultSpan = span; in removeTextSizeSpans() local2609 if (resultSpan instanceof CharacterStyle) { in removeTextSizeSpans()2610 resultSpan = ((CharacterStyle) span).getUnderlying(); in removeTextSizeSpans()2612 if (resultSpan instanceof TextAppearanceSpan) { in removeTextSizeSpans()2613 TextAppearanceSpan originalSpan = (TextAppearanceSpan) resultSpan; in removeTextSizeSpans()2614 resultSpan = new TextAppearanceSpan( in removeTextSizeSpans()2620 } else if (resultSpan instanceof RelativeSizeSpan in removeTextSizeSpans()2621 || resultSpan instanceof AbsoluteSizeSpan) { in removeTextSizeSpans()2624 resultSpan = span; in removeTextSizeSpans()2626 builder.setSpan(resultSpan, ss.getSpanStart(span), ss.getSpanEnd(span), in removeTextSizeSpans()[all …]