package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Yc, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0625Yc extends AbstractC0089Dl {
    public int s;
    public int t;
    public C0651Zc u;

    public boolean getAllowsGoneWidget() {
        return this.u.t0;
    }

    public int getMargin() {
        return this.u.u0;
    }

    public int getType() {
        return this.s;
    }

    @Override // o.AbstractC0089Dl
    public final void h(C0530Ul c0530Ul, boolean z) {
        int i = this.s;
        this.t = i;
        if (z) {
            if (i == 5) {
                this.t = 1;
            } else if (i == 6) {
                this.t = 0;
            }
        } else if (i == 5) {
            this.t = 0;
        } else if (i == 6) {
            this.t = 1;
        }
        if (c0530Ul instanceof C0651Zc) {
            ((C0651Zc) c0530Ul).s0 = this.t;
        }
    }

    public void setAllowsGoneWidget(boolean z) {
        this.u.t0 = z;
    }

    public void setDpMargin(int i) {
        this.u.u0 = (int) ((i * getResources().getDisplayMetrics().density) + 0.5f);
    }

    public void setMargin(int i) {
        this.u.u0 = i;
    }

    public void setType(int i) {
        this.s = i;
    }
}
