what-the-bank/sources/o/DialogC10413eDd.java

57 lines
2.5 KiB
Java

package o;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.scb.phone.view.custom.hml.HmlCommonCustomDialog;
/* renamed from: o.eDd, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class DialogC10413eDd extends HmlCommonCustomDialog {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public DialogC10413eDd(Context context, C0795Or c0795Or, InterfaceC14890gbN<C14866gag> interfaceC14890gbN, InterfaceC14890gbN<C14866gag> interfaceC14890gbN2) {
super(context);
C14957gcv.e(context, "");
C14957gcv.e(c0795Or, "");
c();
d();
TextView textView = this.messageText;
LinearLayout linearLayout = null;
if (textView == null) {
C14957gcv.a("");
textView = null;
}
textView.setTextColor(nMh.getColor(getContext(), com.scb.phone.R.color.f2732131099780));
d(interfaceC14890gbN);
e(interfaceC14890gbN2);
setCancelable(false);
View inflate = getLayoutInflater().inflate(com.scb.phone.R.layout.2131560124, (ViewGroup) null);
C14957gcv.c(inflate, "");
C14957gcv.e(inflate, "");
LinearLayout linearLayout2 = this.rootView;
if (linearLayout2 != null) {
linearLayout = linearLayout2;
} else {
C14957gcv.a("");
}
linearLayout.addView(inflate, 3);
boolean z = c0795Or.c;
View findViewById = inflate.findViewById(com.scb.phone.R.id.iv_analysis_bg);
C14957gcv.c(findViewById, "");
ImageView imageView = (ImageView) findViewById;
int i = com.scb.phone.R.drawable.ic_success;
imageView.setImageResource(z ? com.scb.phone.R.drawable.ic_success : com.scb.phone.R.drawable.ic_clear);
boolean z2 = c0795Or.a;
View findViewById2 = inflate.findViewById(com.scb.phone.R.id.iv_analysis_light);
C14957gcv.c(findViewById2, "");
((ImageView) findViewById2).setImageResource(z2 ? com.scb.phone.R.drawable.ic_success : com.scb.phone.R.drawable.ic_clear);
boolean z3 = c0795Or.b;
View findViewById3 = inflate.findViewById(com.scb.phone.R.id.iv_analysis_corners);
C14957gcv.c(findViewById3, "");
((ImageView) findViewById3).setImageResource(z3 ? i : com.scb.phone.R.drawable.ic_clear);
}
}