| 8 | import androidx.annotation.Nullable; |
| 9 | |
| 10 | public class EmptyStubSpan extends ReplacementSpan { |
| 11 | @Override |
| 12 | public int getSize(@NonNull Paint paint, CharSequence text, int start, int end, @Nullable Paint.FontMetricsInt fm) { |
| 13 | return (int) paint.measureText(text, start, end); |
| 14 | } |
| 15 | |
| 16 | @Override |
| 17 | public void draw(@NonNull Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, @NonNull Paint paint) { |
| 18 | // empty |
| 19 | } |
| 20 | } |
nothing calls this directly
no outgoing calls
no test coverage detected