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

55 lines
1.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.res.TypedArray;
import android.text.method.KeyListener;
import android.text.method.NumberKeyListener;
import android.util.AttributeSet;
import android.view.inputmethod.EditorInfo;
import android.view.inputmethod.InputConnection;
import android.widget.EditText;
import o.SYO;
/* renamed from: o.fpF, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public class C14224fpF {
private final EditText c;
private final mLT e;
public C14224fpF(EditText editText) {
this.c = editText;
this.e = new mLT(editText);
}
public void gj_(AttributeSet attributeSet, int i) {
TypedArray obtainStyledAttributes = this.c.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();
d(z);
} catch (Throwable th) {
obtainStyledAttributes.recycle();
throw th;
}
}
public boolean gi_(KeyListener keyListener) {
return !(keyListener instanceof NumberKeyListener);
}
public void d(boolean z) {
this.e.b.b(z);
}
public KeyListener gh_(KeyListener keyListener) {
return gi_(keyListener) ? this.e.b.xN_(keyListener) : keyListener;
}
public InputConnection gk_(InputConnection inputConnection, EditorInfo editorInfo) {
mLT mlt = this.e;
if (inputConnection == null) {
return null;
}
return mlt.b.xO_(inputConnection, editorInfo);
}
}