52 lines
1.4 KiB
Java
52 lines
1.4 KiB
Java
package o;
|
|
|
|
import android.content.res.TypedArray;
|
|
import android.text.InputFilter;
|
|
import android.text.method.TransformationMethod;
|
|
import android.util.AttributeSet;
|
|
import android.widget.TextView;
|
|
import o.SYO;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class WvB {
|
|
private final TextView a;
|
|
private final IYy c;
|
|
|
|
public WvB(TextView textView) {
|
|
this.a = textView;
|
|
this.c = new IYy(textView);
|
|
}
|
|
|
|
public void gm_(AttributeSet attributeSet, int i) {
|
|
TypedArray obtainStyledAttributes = this.a.getContext().obtainStyledAttributes(attributeSet, SYO.ZqN.AppCompatTextView, i, 0);
|
|
try {
|
|
boolean z = obtainStyledAttributes.hasValue(SYO.ZqN.AppCompatTextView_emojiCompatEnabled) ? obtainStyledAttributes.getBoolean(SYO.ZqN.AppCompatTextView_emojiCompatEnabled, true) : true;
|
|
obtainStyledAttributes.recycle();
|
|
a(z);
|
|
} catch (Throwable th) {
|
|
obtainStyledAttributes.recycle();
|
|
throw th;
|
|
}
|
|
}
|
|
|
|
public void a(boolean z) {
|
|
this.c.a.b(z);
|
|
}
|
|
|
|
public boolean b() {
|
|
return this.c.a.a();
|
|
}
|
|
|
|
public InputFilter[] gl_(InputFilter[] inputFilterArr) {
|
|
return this.c.a.yd_(inputFilterArr);
|
|
}
|
|
|
|
public void e(boolean z) {
|
|
this.c.a.c(z);
|
|
}
|
|
|
|
public TransformationMethod gn_(TransformationMethod transformationMethod) {
|
|
return this.c.a.ye_(transformationMethod);
|
|
}
|
|
}
|