package q5;

import android.graphics.drawable.Drawable;
import androidx.annotation.CheckResult;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.bumptech.glide.load.engine.n;

/* JADX INFO: loaded from: classes.dex */
public final class f extends a {

    @Nullable
    private static f centerCropOptions;

    @Nullable
    private static f centerInsideOptions;

    @Nullable
    private static f circleCropOptions;

    @Nullable
    private static f fitCenterOptions;

    @Nullable
    private static f noAnimationOptions;

    @Nullable
    private static f noTransformOptions;

    @Nullable
    private static f skipMemoryCacheFalseOptions;

    @Nullable
    private static f skipMemoryCacheTrueOptions;

    @NonNull
    @CheckResult
    public static f errorOf(@Nullable Drawable drawable) {
        return (f) new f().error(drawable);
    }

    @NonNull
    @CheckResult
    public static f placeholderOf(@Nullable Drawable drawable) {
        return (f) new f().placeholder(drawable);
    }

    public static f v(n nVar) {
        return (f) new f().e(nVar);
    }

    public static f w() {
        if (skipMemoryCacheTrueOptions == null) {
            f fVar = (f) new f().q(true);
            fVar.b();
            skipMemoryCacheTrueOptions = fVar;
        }
        return skipMemoryCacheTrueOptions;
    }
}
