package o;

import android.graphics.Canvas;
import android.graphics.Outline;
import android.view.View;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.ak0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0743ak0 extends View {
    public static final C0458Rr v = new C0458Rr(2);
    public final AbstractC1810lt l;
    public final C0006Ag m;
    public final C3113zg n;

    /* renamed from: o, reason: collision with root package name */
    public boolean f449o;
    public Outline p;
    public boolean q;
    public InterfaceC2281qr r;
    public EnumC1280gK s;
    public AbstractC0706aK t;
    public C1082eE u;

    public C0743ak0(AbstractC1810lt abstractC1810lt, C0006Ag c0006Ag, C3113zg c3113zg) {
        super(abstractC1810lt.getContext());
        this.l = abstractC1810lt;
        this.m = c0006Ag;
        this.n = c3113zg;
        setOutlineProvider(v);
        this.q = true;
        this.r = AbstractC2539te.b;
        this.s = EnumC1280gK.l;
        InterfaceC1178fE.a.getClass();
        this.t = C2291qw.u;
        setWillNotDraw(false);
        setClipBounds(null);
    }

    /* JADX WARN: Type inference failed for: r9v0, types: [o.OC, o.aK] */
    @Override // android.view.View
    public final void dispatchDraw(Canvas canvas) {
        C0006Ag c0006Ag = this.m;
        T2 t2 = c0006Ag.a;
        Canvas canvas2 = t2.a;
        t2.a = canvas;
        InterfaceC2281qr interfaceC2281qr = this.r;
        EnumC1280gK enumC1280gK = this.s;
        float width = getWidth();
        float height = getHeight();
        long jFloatToRawIntBits = (Float.floatToRawIntBits(height) & 4294967295L) | (Float.floatToRawIntBits(width) << 32);
        C1082eE c1082eE = this.u;
        ?? r9 = this.t;
        C3113zg c3113zg = this.n;
        C3126zm0 c3126zm0 = c3113zg.m;
        C3018yg c3018yg = ((C3113zg) c3126zm0.f831o).l;
        InterfaceC2281qr interfaceC2281qr2 = c3018yg.a;
        EnumC1280gK enumC1280gK2 = c3018yg.b;
        InterfaceC2923xg interfaceC2923xgX = c3126zm0.x();
        C3126zm0 c3126zm02 = c3113zg.m;
        long jD = c3126zm02.D();
        C1082eE c1082eE2 = (C1082eE) c3126zm02.n;
        c3126zm02.R(interfaceC2281qr);
        c3126zm02.S(enumC1280gK);
        c3126zm02.Q(t2);
        c3126zm02.T(jFloatToRawIntBits);
        c3126zm02.n = c1082eE;
        t2.n();
        try {
            r9.g(c3113zg);
            t2.k();
            c3126zm02.R(interfaceC2281qr2);
            c3126zm02.S(enumC1280gK2);
            c3126zm02.Q(interfaceC2923xgX);
            c3126zm02.T(jD);
            c3126zm02.n = c1082eE2;
            c0006Ag.a.a = canvas2;
            this.f449o = false;
        } catch (Throwable th) {
            t2.k();
            c3126zm02.R(interfaceC2281qr2);
            c3126zm02.S(enumC1280gK2);
            c3126zm02.Q(interfaceC2923xgX);
            c3126zm02.T(jD);
            c3126zm02.n = c1082eE2;
            throw th;
        }
    }

    public final boolean getCanUseCompositingLayer$ui_graphics_release() {
        return this.q;
    }

    public final C0006Ag getCanvasHolder() {
        return this.m;
    }

    public final View getOwnerView() {
        return this.l;
    }

    @Override // android.view.View
    public final boolean hasOverlappingRendering() {
        return this.q;
    }

    @Override // android.view.View
    public final void invalidate() {
        if (this.f449o) {
            return;
        }
        this.f449o = true;
        super.invalidate();
    }

    public final void setCanUseCompositingLayer$ui_graphics_release(boolean z) {
        if (this.q != z) {
            this.q = z;
            invalidate();
        }
    }

    public final void setInvalidated(boolean z) {
        this.f449o = z;
    }

    @Override // android.view.View
    public final void forceLayout() {
    }

    @Override // android.view.View
    public final void onLayout(boolean z, int i, int i2, int i3, int i4) {
    }
}
