package androidx.core.view;

import android.view.WindowInsets;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes.dex */
public class z2 extends y2 {

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public j0.d f1873n;

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public j0.d f1874o;

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public j0.d f1875p;

    public z2(@NonNull f3 f3Var, @NonNull WindowInsets windowInsets) {
        super(f3Var, windowInsets);
        this.f1873n = null;
        this.f1874o = null;
        this.f1875p = null;
    }

    @Override // androidx.core.view.b3
    @NonNull
    public j0.d g() {
        if (this.f1874o == null) {
            this.f1874o = j0.d.c(this.f1848c.getMandatorySystemGestureInsets());
        }
        return this.f1874o;
    }

    @Override // androidx.core.view.b3
    @NonNull
    public j0.d i() {
        if (this.f1873n == null) {
            this.f1873n = j0.d.c(this.f1848c.getSystemGestureInsets());
        }
        return this.f1873n;
    }

    @Override // androidx.core.view.b3
    @NonNull
    public j0.d k() {
        if (this.f1875p == null) {
            this.f1875p = j0.d.c(this.f1848c.getTappableElementInsets());
        }
        return this.f1875p;
    }

    @Override // androidx.core.view.w2, androidx.core.view.b3
    @NonNull
    public f3 l(int i10, int i11, int i12, int i13) {
        return f3.toWindowInsetsCompat(this.f1848c.inset(i10, i11, i12, i13), null);
    }

    @Override // androidx.core.view.x2, androidx.core.view.b3
    public void setStableInsets(@Nullable j0.d dVar) {
    }

    public z2(@NonNull f3 f3Var, @NonNull z2 z2Var) {
        super(f3Var, z2Var);
        this.f1873n = null;
        this.f1874o = null;
        this.f1875p = null;
    }
}
