package o; import android.content.res.AssetFileDescriptor; import android.content.res.Resources; import android.net.Uri; import android.os.ParcelFileDescriptor; import java.io.InputStream; import o.SCe; /* loaded from: classes.dex */ public final class lYS implements SCe { private final SCe b; private final Resources e; @Override // o.SCe public final /* bridge */ /* synthetic */ boolean d(Integer num) { return true; } @Override // o.SCe public final /* synthetic */ SCe.IeS e(Integer num, int i, int i2, unA una) { Uri Ev_ = Ev_(num); if (Ev_ == null) { return null; } return this.b.e(Ev_, i, i2, una); } public lYS(Resources resources, SCe sCe) { this.e = resources; this.b = sCe; } private Uri Ev_(Integer num) { try { StringBuilder sb = new StringBuilder("android.resource://"); sb.append(this.e.getResourcePackageName(num.intValue())); sb.append('/'); sb.append(this.e.getResourceTypeName(num.intValue())); sb.append('/'); sb.append(this.e.getResourceEntryName(num.intValue())); return Uri.parse(sb.toString()); } catch (Resources.NotFoundException unused) { return null; } } /* loaded from: classes.dex */ public static class HBt implements rIx { private final Resources d; public HBt(Resources resources) { this.d = resources; } @Override // o.rIx public final SCe c(Vzp vzp) { return new lYS(this.d, vzp.b(Uri.class, InputStream.class)); } } /* loaded from: classes.dex */ public static class LWm implements rIx { private final Resources b; public LWm(Resources resources) { this.b = resources; } @Override // o.rIx public final SCe c(Vzp vzp) { return new lYS(this.b, vzp.b(Uri.class, ParcelFileDescriptor.class)); } } /* loaded from: classes.dex */ public static final class IeS implements rIx { private final Resources d; public IeS(Resources resources) { this.d = resources; } @Override // o.rIx public final SCe c(Vzp vzp) { return new lYS(this.d, vzp.b(Uri.class, AssetFileDescriptor.class)); } } /* loaded from: classes.dex */ public static class RVV implements rIx { private final Resources d; public RVV(Resources resources) { this.d = resources; } @Override // o.rIx public final SCe c(Vzp vzp) { return new lYS(this.d, WHP.b()); } } }