what-the-bank/sources/o/fKA.java

27 lines
742 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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);
}
}