package sh;

import android.graphics.drawable.Drawable;
import android.net.Uri;

/* loaded from: classes4.dex */
public class x implements jh.j {

    /* renamed from: a, reason: collision with root package name */
    private final uh.e f35781a;

    /* renamed from: b, reason: collision with root package name */
    private final mh.d f35782b;

    public x(uh.e eVar, mh.d dVar) {
        this.f35781a = eVar;
        this.f35782b = dVar;
    }

    @Override // jh.j
    /* renamed from: c, reason: merged with bridge method [inline-methods] */
    public lh.v a(Uri uri, int i10, int i11, jh.h hVar) {
        lh.v a10 = this.f35781a.a(uri, i10, i11, hVar);
        if (a10 == null) {
            return null;
        }
        return n.a(this.f35782b, (Drawable) a10.get(), i10, i11);
    }

    @Override // jh.j
    /* renamed from: d, reason: merged with bridge method [inline-methods] */
    public boolean b(Uri uri, jh.h hVar) {
        return "android.resource".equals(uri.getScheme());
    }
}
