package o; import android.content.Context; import android.content.res.Resources; import android.graphics.drawable.Drawable; import android.util.TypedValue; /* loaded from: classes5.dex */ public final class fMC { public final Drawable a; public final fMB b; public Integer c; public final int d; public final int e; public final int g; public final int h; private fMC(RVV rvv) { this.a = rvv.c; this.c = rvv.a; this.b = rvv.d; this.h = rvv.j; this.e = rvv.b; this.g = rvv.h; this.d = rvv.e; } /* loaded from: classes5.dex */ public static final class RVV { Integer a; public int b; public Drawable c; public fMB d; public int e; public int h; private final Context i; public int j; public RVV(Context context) { C14957gcv.e(context, ""); this.i = context; this.d = fMB.START; float applyDimension = TypedValue.applyDimension(1, 28.0f, Resources.getSystem().getDisplayMetrics()); if (!Float.isNaN(applyDimension)) { this.j = Math.round(applyDimension); float applyDimension2 = TypedValue.applyDimension(1, 28.0f, Resources.getSystem().getDisplayMetrics()); if (!Float.isNaN(applyDimension2)) { this.b = Math.round(applyDimension2); float applyDimension3 = TypedValue.applyDimension(1, 8.0f, Resources.getSystem().getDisplayMetrics()); if (!Float.isNaN(applyDimension3)) { this.h = Math.round(applyDimension3); this.e = -1; return; } throw new IllegalArgumentException("Cannot round NaN value."); } throw new IllegalArgumentException("Cannot round NaN value."); } throw new IllegalArgumentException("Cannot round NaN value."); } } public /* synthetic */ fMC(RVV rvv, byte b) { this(rvv); } }