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

34 lines
1015 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.text.TextPaint;
import o.C16349neT;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public final class sMT implements C16349neT.RVV {
private static final ThreadLocal<StringBuilder> c = new ThreadLocal<>();
private final TextPaint e;
/* JADX INFO: Access modifiers changed from: package-private */
public sMT() {
TextPaint textPaint = new TextPaint();
this.e = textPaint;
textPaint.setTextSize(10.0f);
}
@Override // o.C16349neT.RVV
public final boolean a(CharSequence charSequence, int i, int i2, int i3) {
ThreadLocal<StringBuilder> threadLocal = c;
if (threadLocal.get() == null) {
threadLocal.set(new StringBuilder());
}
StringBuilder sb = threadLocal.get();
sb.setLength(0);
while (i < i2) {
sb.append(charSequence.charAt(i));
i++;
}
return kfk.oE_(this.e, sb.toString());
}
}