ReplacementSpan

Class of android.text.style · ReplacementSpan.java · Android's reference

public abstract class ReplacementSpan extends MetricAffectingSpan

ReplacementSpan ← MetricAffectingSpan ← CharacterStyle

A span drawn in place of its characters.

Extended in the framework by

Methods

public abstract int getSize(Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fm) source
public abstract void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) source
public CharSequence getContentDescription() source
public void setContentDescription(CharSequence d) source
public void updateMeasureState(TextPaint p) empty body source
public void updateDrawState(TextPaint ds) empty body source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.