package defpackage;

import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.text.InputFilter;
import android.util.AttributeSet;
import android.widget.RadioButton;
import ar.tvplayer.tv.R;

/* renamed from: ˆᵻᵸ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public class C0905 extends RadioButton implements InterfaceC3846, InterfaceC4415 {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final C1611 f4095;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final C3855 f4096;

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public C1471 f4097;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final C2956 f4098;

    public C0905(Context context, AttributeSet attributeSet) {
        super(context, attributeSet, R.attr._11_res_0x7f040524);
        AbstractC3247.m7608(getContext(), this);
        C3855 c3855 = new C3855(this);
        this.f4096 = c3855;
        c3855.m8500(attributeSet, R.attr._11_res_0x7f040524);
        C1611 c1611 = new C1611(this);
        this.f4095 = c1611;
        c1611.m4617(attributeSet, R.attr._11_res_0x7f040524);
        C2956 c2956 = new C2956(this);
        this.f4098 = c2956;
        c2956.m7246(attributeSet, R.attr._11_res_0x7f040524);
        getEmojiTextViewHelper().m4380(attributeSet, R.attr._11_res_0x7f040524);
    }

    private C1471 getEmojiTextViewHelper() {
        if (this.f4097 == null) {
            this.f4097 = new C1471(this);
        }
        return this.f4097;
    }

    @Override // android.widget.CompoundButton, android.widget.TextView, android.view.View
    public final void drawableStateChanged() {
        super.drawableStateChanged();
        C1611 c1611 = this.f4095;
        if (c1611 != null) {
            c1611.m4619();
        }
        C2956 c2956 = this.f4098;
        if (c2956 != null) {
            c2956.m7244();
        }
    }

    public ColorStateList getSupportBackgroundTintList() {
        C1611 c1611 = this.f4095;
        if (c1611 != null) {
            return c1611.m4620();
        }
        return null;
    }

    public PorterDuff.Mode getSupportBackgroundTintMode() {
        C1611 c1611 = this.f4095;
        if (c1611 != null) {
            return c1611.m4622();
        }
        return null;
    }

    @Override // defpackage.InterfaceC3846
    public ColorStateList getSupportButtonTintList() {
        C3855 c3855 = this.f4096;
        if (c3855 != null) {
            return c3855.f14331;
        }
        return null;
    }

    public PorterDuff.Mode getSupportButtonTintMode() {
        C3855 c3855 = this.f4096;
        if (c3855 != null) {
            return c3855.f14332;
        }
        return null;
    }

    public ColorStateList getSupportCompoundDrawablesTintList() {
        return this.f4098.m7237();
    }

    public PorterDuff.Mode getSupportCompoundDrawablesTintMode() {
        return this.f4098.m7236();
    }

    @Override // android.widget.TextView
    public void setAllCaps(boolean z) {
        super.setAllCaps(z);
        getEmojiTextViewHelper().m4378(z);
    }

    @Override // android.view.View
    public void setBackgroundDrawable(Drawable drawable) {
        super.setBackgroundDrawable(drawable);
        C1611 c1611 = this.f4095;
        if (c1611 != null) {
            c1611.m4618();
        }
    }

    @Override // android.view.View
    public void setBackgroundResource(int i) {
        super.setBackgroundResource(i);
        C1611 c1611 = this.f4095;
        if (c1611 != null) {
            c1611.m4602(i);
        }
    }

    @Override // android.widget.CompoundButton
    public void setButtonDrawable(int i) {
        setButtonDrawable(ᵕˏᵛ.ˑᵥˁ(getContext(), i));
    }

    @Override // android.widget.CompoundButton
    public void setButtonDrawable(Drawable drawable) {
        super.setButtonDrawable(drawable);
        C3855 c3855 = this.f4096;
        if (c3855 != null) {
            if (c3855.f14328) {
                c3855.f14328 = false;
            } else {
                c3855.f14328 = true;
                c3855.m8501();
            }
        }
    }

    @Override // android.widget.TextView
    public final void setCompoundDrawables(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
        super.setCompoundDrawables(drawable, drawable2, drawable3, drawable4);
        C2956 c2956 = this.f4098;
        if (c2956 != null) {
            c2956.m7244();
        }
    }

    @Override // android.widget.TextView
    public final void setCompoundDrawablesRelative(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
        super.setCompoundDrawablesRelative(drawable, drawable2, drawable3, drawable4);
        C2956 c2956 = this.f4098;
        if (c2956 != null) {
            c2956.m7244();
        }
    }

    public void setEmojiCompatEnabled(boolean z) {
        getEmojiTextViewHelper().m4381(z);
    }

    @Override // android.widget.TextView
    public void setFilters(InputFilter[] inputFilterArr) {
        super.setFilters(getEmojiTextViewHelper().m4379(inputFilterArr));
    }

    public void setSupportBackgroundTintList(ColorStateList colorStateList) {
        C1611 c1611 = this.f4095;
        if (c1611 != null) {
            c1611.m4611(colorStateList);
        }
    }

    public void setSupportBackgroundTintMode(PorterDuff.Mode mode) {
        C1611 c1611 = this.f4095;
        if (c1611 != null) {
            c1611.m4626(mode);
        }
    }

    @Override // defpackage.InterfaceC3846
    public void setSupportButtonTintList(ColorStateList colorStateList) {
        C3855 c3855 = this.f4096;
        if (c3855 != null) {
            c3855.f14331 = colorStateList;
            c3855.f14330 = true;
            c3855.m8501();
        }
    }

    @Override // defpackage.InterfaceC3846
    public void setSupportButtonTintMode(PorterDuff.Mode mode) {
        C3855 c3855 = this.f4096;
        if (c3855 != null) {
            c3855.f14332 = mode;
            c3855.f14333 = true;
            c3855.m8501();
        }
    }

    @Override // defpackage.InterfaceC4415
    public void setSupportCompoundDrawablesTintList(ColorStateList colorStateList) {
        C2956 c2956 = this.f4098;
        c2956.m7241(colorStateList);
        c2956.m7244();
    }

    @Override // defpackage.InterfaceC4415
    public void setSupportCompoundDrawablesTintMode(PorterDuff.Mode mode) {
        C2956 c2956 = this.f4098;
        c2956.m7243(mode);
        c2956.m7244();
    }
}
