package androidx.core.widget; import android.content.res.ColorStateList; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.widget.CheckedTextView; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.ReplaceWith; import androidx.annotation.RequiresApi; /* loaded from: classes.dex */ public final class CheckedTextViewCompat { private CheckedTextViewCompat() { } public static void setCheckMarkTintList(@NonNull CheckedTextView checkedTextView, @Nullable ColorStateList colorStateList) { Api21Impl.setCheckMarkTintList(checkedTextView, colorStateList); } @Nullable public static ColorStateList getCheckMarkTintList(@NonNull CheckedTextView checkedTextView) { return Api21Impl.getCheckMarkTintList(checkedTextView); } public static void setCheckMarkTintMode(@NonNull CheckedTextView checkedTextView, @Nullable PorterDuff.Mode mode) { Api21Impl.setCheckMarkTintMode(checkedTextView, mode); } @Nullable public static PorterDuff.Mode getCheckMarkTintMode(@NonNull CheckedTextView checkedTextView) { return Api21Impl.getCheckMarkTintMode(checkedTextView); } @Nullable @ReplaceWith(expression = "textView.getCheckMarkDrawable()") @Deprecated public static Drawable getCheckMarkDrawable(@NonNull CheckedTextView checkedTextView) { return checkedTextView.getCheckMarkDrawable(); } @RequiresApi(21) public static class Api21Impl { private Api21Impl() { } public static void setCheckMarkTintList(@NonNull CheckedTextView checkedTextView, @Nullable ColorStateList colorStateList) { checkedTextView.setCheckMarkTintList(colorStateList); } @Nullable public static ColorStateList getCheckMarkTintList(@NonNull CheckedTextView checkedTextView) { return checkedTextView.getCheckMarkTintList(); } public static void setCheckMarkTintMode(@NonNull CheckedTextView checkedTextView, @Nullable PorterDuff.Mode mode) { checkedTextView.setCheckMarkTintMode(mode); } @Nullable public static PorterDuff.Mode getCheckMarkTintMode(@NonNull CheckedTextView checkedTextView) { return checkedTextView.getCheckMarkTintMode(); } } }