27 lines
742 B
Java
27 lines
742 B
Java
package o;
|
|
|
|
import android.graphics.Typeface;
|
|
import android.text.TextPaint;
|
|
import android.text.style.MetricAffectingSpan;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class fKA extends MetricAffectingSpan {
|
|
private Typeface a;
|
|
|
|
public fKA(Typeface typeface) {
|
|
this.a = typeface;
|
|
}
|
|
|
|
@Override // android.text.style.MetricAffectingSpan
|
|
public final void updateMeasureState(TextPaint textPaint) {
|
|
textPaint.setTypeface(this.a);
|
|
textPaint.setFlags(textPaint.getFlags() | 128);
|
|
}
|
|
|
|
@Override // android.text.style.CharacterStyle
|
|
public final void updateDrawState(TextPaint textPaint) {
|
|
textPaint.setTypeface(this.a);
|
|
textPaint.setFlags(textPaint.getFlags() | 128);
|
|
}
|
|
}
|