package c2;

import S4.d;
import android.content.Context;
import android.util.TypedValue;
import com.riyaz.zvytour.R;

/* JADX INFO: renamed from: c2.a, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0338a {

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public static final int f4718f = (int) Math.round(5.1000000000000005d);

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

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

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

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final float f4723e;

    public C0338a(Context context) {
        TypedValue typedValueC = d.C(context, R.attr.elevationOverlayEnabled);
        boolean z5 = (typedValueC == null || typedValueC.type != 18 || typedValueC.data == 0) ? false : true;
        int iR = b5.a.r(context, R.attr.elevationOverlayColor, 0);
        int iR2 = b5.a.r(context, R.attr.elevationOverlayAccentColor, 0);
        int iR3 = b5.a.r(context, R.attr.colorSurface, 0);
        float f6 = context.getResources().getDisplayMetrics().density;
        this.f4719a = z5;
        this.f4720b = iR;
        this.f4721c = iR2;
        this.f4722d = iR3;
        this.f4723e = f6;
    }
}
