- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
66 lines
2.3 KiB
Java
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();
|
|
}
|
|
}
|
|
}
|