package ff;

import android.content.Context;
import android.graphics.drawable.Drawable;
import kotlin.jvm.internal.t;

/* loaded from: classes4.dex */
public final class f implements v7.d {

    /* renamed from: p, reason: collision with root package name */
    private final int f18246p;

    /* renamed from: q, reason: collision with root package name */
    private final int f18247q;

    /* renamed from: r, reason: collision with root package name */
    private final String f18248r;

    /* renamed from: s, reason: collision with root package name */
    private final int f18249s;

    public f(int i10, int i11, String contentDescription) {
        t.g(contentDescription, "contentDescription");
        this.f18246p = i10;
        this.f18247q = i11;
        this.f18248r = contentDescription;
        this.f18249s = af.d.f349a;
    }

    public final Drawable c(Context context) {
        t.g(context, "context");
        int i10 = this.f18246p;
        if (i10 != 0) {
            return context.getDrawable(i10);
        }
        return null;
    }

    public final String d() {
        return this.f18248r;
    }

    public final int e() {
        return this.f18247q;
    }

    @Override // v7.d
    public int q() {
        return this.f18249s;
    }
}
