package p032k0;

import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.widget.CheckedTextView;

/* renamed from: k0.b */
/* loaded from: classes.dex */
public final class C1281b {

    /* renamed from: k0.b$a */
    /* loaded from: classes.dex */
    public static class C1282a {
        /* renamed from: a */
        public static Drawable m1706a(CheckedTextView checkedTextView) {
            return checkedTextView.getCheckMarkDrawable();
        }
    }

    /* renamed from: k0.b$b */
    /* loaded from: classes.dex */
    public static class C1283b {
        /* renamed from: a */
        public static void m1705a(CheckedTextView checkedTextView, ColorStateList colorStateList) {
            checkedTextView.setCheckMarkTintList(colorStateList);
        }

        /* renamed from: b */
        public static void m1704b(CheckedTextView checkedTextView, PorterDuff.Mode mode) {
            checkedTextView.setCheckMarkTintMode(mode);
        }
    }

    /* renamed from: a */
    public static Drawable m1709a(CheckedTextView checkedTextView) {
        return C1282a.m1706a(checkedTextView);
    }

    /* renamed from: b */
    public static void m1708b(CheckedTextView checkedTextView, ColorStateList colorStateList) {
        if (Build.VERSION.SDK_INT >= 21) {
            C1283b.m1705a(checkedTextView, colorStateList);
        } else if (checkedTextView instanceof InterfaceC1349z0) {
            ((InterfaceC1349z0) checkedTextView).setSupportCheckMarkTintList(colorStateList);
        }
    }

    /* renamed from: c */
    public static void m1707c(CheckedTextView checkedTextView, PorterDuff.Mode mode) {
        if (Build.VERSION.SDK_INT >= 21) {
            C1283b.m1704b(checkedTextView, mode);
        } else if (checkedTextView instanceof InterfaceC1349z0) {
            ((InterfaceC1349z0) checkedTextView).setSupportCheckMarkTintMode(mode);
        }
    }
}