package p037.p041.p051;

import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.widget.RadioButton;
import p037.p041.C1468;
import p037.p041.p043.p044.C1527;

/* JADX INFO: renamed from: މ.ؠ.ގ.ގ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C1623 extends RadioButton {

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final C1614 f5270;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public final C1610 f5271;

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public final C1640 f5272;

    /* JADX WARN: Illegal instructions before constructor call */
    public C1623(Context context, AttributeSet attributeSet) {
        int i = C1468.radioButtonStyle;
        C1686.m3292(context);
        super(context, attributeSet, i);
        C1684.m3289(this, getContext());
        C1614 c1614 = new C1614(this);
        this.f5270 = c1614;
        c1614.m3154(attributeSet, i);
        C1610 c1610 = new C1610(this);
        this.f5271 = c1610;
        c1610.m3148(attributeSet, i);
        C1640 c1640 = new C1640(this);
        this.f5272 = c1640;
        c1640.m3202(attributeSet, i);
    }

    @Override // android.widget.CompoundButton, android.widget.TextView, android.view.View
    public void drawableStateChanged() {
        super.drawableStateChanged();
        C1610 c1610 = this.f5271;
        if (c1610 != null) {
            c1610.m3144();
        }
        C1640 c1640 = this.f5272;
        if (c1640 != null) {
            c1640.m3194();
        }
    }

    @Override // android.widget.CompoundButton, android.widget.TextView
    public int getCompoundPaddingLeft() {
        int compoundPaddingLeft = super.getCompoundPaddingLeft();
        C1614 c1614 = this.f5270;
        return compoundPaddingLeft;
    }

    public ColorStateList getSupportBackgroundTintList() {
        C1610 c1610 = this.f5271;
        if (c1610 != null) {
            return c1610.m3149();
        }
        return null;
    }

    public PorterDuff.Mode getSupportBackgroundTintMode() {
        C1610 c1610 = this.f5271;
        if (c1610 != null) {
            return c1610.m3151();
        }
        return null;
    }

    public ColorStateList getSupportButtonTintList() {
        C1614 c1614 = this.f5270;
        if (c1614 != null) {
            return c1614.f5241;
        }
        return null;
    }

    public PorterDuff.Mode getSupportButtonTintMode() {
        C1614 c1614 = this.f5270;
        if (c1614 != null) {
            return c1614.f5242;
        }
        return null;
    }

    @Override // android.view.View
    public void setBackgroundDrawable(Drawable drawable) {
        super.setBackgroundDrawable(drawable);
        C1610 c1610 = this.f5271;
        if (c1610 != null) {
            c1610.m3152();
        }
    }

    @Override // android.view.View
    public void setBackgroundResource(int i) {
        super.setBackgroundResource(i);
        C1610 c1610 = this.f5271;
        if (c1610 != null) {
            c1610.m3145(i);
        }
    }

    @Override // android.widget.CompoundButton
    public void setButtonDrawable(int i) {
        setButtonDrawable(C1527.m3025(getContext(), i));
    }

    @Override // android.widget.CompoundButton
    public void setButtonDrawable(Drawable drawable) {
        super.setButtonDrawable(drawable);
        C1614 c1614 = this.f5270;
        if (c1614 != null) {
            if (c1614.f5245) {
                c1614.f5245 = false;
            } else {
                c1614.f5245 = true;
                c1614.m3153();
            }
        }
    }

    public void setSupportBackgroundTintList(ColorStateList colorStateList) {
        C1610 c1610 = this.f5271;
        if (c1610 != null) {
            c1610.m3150(colorStateList);
        }
    }

    public void setSupportBackgroundTintMode(PorterDuff.Mode mode) {
        C1610 c1610 = this.f5271;
        if (c1610 != null) {
            c1610.m3147(mode);
        }
    }

    public void setSupportButtonTintList(ColorStateList colorStateList) {
        C1614 c1614 = this.f5270;
        if (c1614 != null) {
            c1614.f5241 = colorStateList;
            c1614.f5243 = true;
            c1614.m3153();
        }
    }

    public void setSupportButtonTintMode(PorterDuff.Mode mode) {
        C1614 c1614 = this.f5270;
        if (c1614 != null) {
            c1614.f5242 = mode;
            c1614.f5244 = true;
            c1614.m3153();
        }
    }
}
