package p028j;

import android.content.res.TypedArray;
import android.text.InputFilter;
import android.util.AttributeSet;
import android.widget.TextView;
import p007c.C0494j;
import p044o0.C1523g;

/* renamed from: j.m */
/* loaded from: classes.dex */
public class C1144m {

    /* renamed from: a */
    public final TextView f2773a;

    /* renamed from: b */
    public final C1523g f2774b;

    public C1144m(TextView textView) {
        this.f2773a = textView;
        this.f2774b = new C1523g(textView, false);
    }

    /* renamed from: a */
    public InputFilter[] m2043a(InputFilter[] inputFilterArr) {
        return this.f2774b.m1123a(inputFilterArr);
    }

    /* renamed from: b */
    public void m2042b(AttributeSet attributeSet, int i) {
        TypedArray obtainStyledAttributes = this.f2773a.getContext().obtainStyledAttributes(attributeSet, C0494j.f1832g0, i, 0);
        try {
            int i2 = C0494j.f1902u0;
            boolean z = obtainStyledAttributes.hasValue(i2) ? obtainStyledAttributes.getBoolean(i2, true) : true;
            obtainStyledAttributes.recycle();
            m2040d(z);
        } catch (Throwable th) {
            obtainStyledAttributes.recycle();
            throw th;
        }
    }

    /* renamed from: c */
    public void m2041c(boolean z) {
        this.f2774b.m1122b(z);
    }

    /* renamed from: d */
    public void m2040d(boolean z) {
        this.f2774b.m1121c(z);
    }
}