package com.bumptech.glide.request.target;

import android.graphics.drawable.Drawable;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import t5.p;

/* JADX INFO: loaded from: classes.dex */
public abstract class c implements j {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final int f5884a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final int f5885b;

    @Nullable
    private q5.c request;

    public c(int i10, int i11) {
        if (!p.g(i10, i11)) {
            throw new IllegalArgumentException(defpackage.e.f("Width and height must both be > 0 or Target#SIZE_ORIGINAL, but given width: ", i10, " and height: ", i11));
        }
        this.f5884a = i10;
        this.f5885b = i11;
    }

    @Override // com.bumptech.glide.request.target.j
    public final void a(i iVar) {
    }

    @Override // n5.i
    public final void b() {
    }

    @Override // com.bumptech.glide.request.target.j
    public final void c(i iVar) {
        ((com.bumptech.glide.request.a) iVar).m(this.f5884a, this.f5885b);
    }

    @Override // n5.i
    public final void d() {
    }

    @Override // com.bumptech.glide.request.target.j
    @Nullable
    public final q5.c getRequest() {
        return this.request;
    }

    @Override // n5.i
    public final void onDestroy() {
    }

    @Override // com.bumptech.glide.request.target.j
    public abstract /* synthetic */ void onLoadCleared(@Nullable Drawable drawable);

    @Override // com.bumptech.glide.request.target.j
    public void onLoadFailed(@Nullable Drawable drawable) {
    }

    @Override // com.bumptech.glide.request.target.j
    public void onLoadStarted(@Nullable Drawable drawable) {
    }

    @Override // com.bumptech.glide.request.target.j
    public abstract /* synthetic */ void onResourceReady(@NonNull Object obj, @Nullable r5.c cVar);

    @Override // com.bumptech.glide.request.target.j
    public final void setRequest(@Nullable q5.c cVar) {
        this.request = cVar;
    }
}
