Files
rr3-apk/decompiled/sources/androidx/core/widget/CheckedTextViewCompat.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

66 lines
2.3 KiB
Java

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();
}
}
}