package com.seewo.ota.l;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.ProgressBar;
import android.widget.TextView;
import com.seewo.ota.R;

/* JADX INFO: compiled from: DialogMessageBinding.java */
/* JADX INFO: loaded from: classes.dex */
public final class a {
    private final LinearLayout a;

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

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

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

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

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final ProgressBar f2141f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final TextView f2142g;

    private a(LinearLayout linearLayout, TextView textView, TextView textView2, TextView textView3, TextView textView4, ProgressBar progressBar, TextView textView5) {
        this.a = linearLayout;
        this.f2137b = textView;
        this.f2138c = textView2;
        this.f2139d = textView3;
        this.f2140e = textView4;
        this.f2141f = progressBar;
        this.f2142g = textView5;
    }

    public static a a(View view) {
        int i2 = R.id.dialogButtonNegative;
        TextView textView = (TextView) view.findViewById(R.id.dialogButtonNegative);
        if (textView != null) {
            i2 = R.id.dialogButtonNeutral;
            TextView textView2 = (TextView) view.findViewById(R.id.dialogButtonNeutral);
            if (textView2 != null) {
                i2 = R.id.dialogButtonPositive;
                TextView textView3 = (TextView) view.findViewById(R.id.dialogButtonPositive);
                if (textView3 != null) {
                    i2 = R.id.dialogMessage;
                    TextView textView4 = (TextView) view.findViewById(R.id.dialogMessage);
                    if (textView4 != null) {
                        i2 = R.id.dialogProgress;
                        ProgressBar progressBar = (ProgressBar) view.findViewById(R.id.dialogProgress);
                        if (progressBar != null) {
                            i2 = R.id.dialogTitle;
                            TextView textView5 = (TextView) view.findViewById(R.id.dialogTitle);
                            if (textView5 != null) {
                                return new a((LinearLayout) view, textView, textView2, textView3, textView4, progressBar, textView5);
                            }
                        }
                    }
                }
            }
        }
        throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i2)));
    }

    public static a c(LayoutInflater layoutInflater) {
        return d(layoutInflater, null, false);
    }

    public static a d(LayoutInflater layoutInflater, ViewGroup viewGroup, boolean z) {
        View viewInflate = layoutInflater.inflate(R.layout.dialog_message, viewGroup, false);
        if (z) {
            viewGroup.addView(viewInflate);
        }
        return a(viewInflate);
    }

    public LinearLayout b() {
        return this.a;
    }
}
