package com.scb.phone.view.custom.easycash; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.LinearLayout; import android.widget.TextView; import com.scb.phone.R; import o.AbstractC14961gcz; import o.C0614Kr; import o.C10809ePg; import o.C14957gcv; import o.InterfaceC13393fZL; import o.InterfaceC14890gbN; import o.fZZ; import o.qeC; /* loaded from: classes5.dex */ public final class CustomLeftRightTextWithTitleLayout extends LinearLayout { public final InterfaceC13393fZL d; public /* synthetic */ CustomLeftRightTextWithTitleLayout(Context context, AttributeSet attributeSet, int i, byte b) { this(context, (i & 2) != 0 ? null : attributeSet, 0); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public CustomLeftRightTextWithTitleLayout(Context context, AttributeSet attributeSet, int i) { super(context, attributeSet, i); C14957gcv.e(context, ""); RVV rvv = new RVV(context, this); C14957gcv.e(rvv, ""); this.d = new fZZ(rvv); setBackgroundResource(R.color.f14042131100912); } /* loaded from: classes5.dex */ static final class RVV extends AbstractC14961gcz implements InterfaceC14890gbN { private Context b; private CustomLeftRightTextWithTitleLayout e; @Override // o.InterfaceC14890gbN public final /* synthetic */ C10809ePg invoke() { LayoutInflater from = LayoutInflater.from(this.b); CustomLeftRightTextWithTitleLayout customLeftRightTextWithTitleLayout = this.e; if (customLeftRightTextWithTitleLayout == null) { throw new NullPointerException("parent"); } from.inflate(R.layout.2131560159, customLeftRightTextWithTitleLayout); int i = R.id.ll_left_right_layout; LinearLayout linearLayout = (LinearLayout) qeC.e(customLeftRightTextWithTitleLayout, R.id.ll_left_right_layout); if (linearLayout != null) { i = R.id.ll_separator_view; LinearLayout linearLayout2 = (LinearLayout) qeC.e(customLeftRightTextWithTitleLayout, R.id.ll_separator_view); if (linearLayout2 != null) { i = R.id.separator_view; View e = qeC.e(customLeftRightTextWithTitleLayout, R.id.separator_view); if (e != null) { i = R.id.tv_left; TextView textView = (TextView) qeC.e(customLeftRightTextWithTitleLayout, R.id.tv_left); if (textView != null) { i = R.id.tv_right; TextView textView2 = (TextView) qeC.e(customLeftRightTextWithTitleLayout, R.id.tv_right); if (textView2 != null) { i = R.id.tv_title; TextView textView3 = (TextView) qeC.e(customLeftRightTextWithTitleLayout, R.id.tv_title); if (textView3 != null) { C10809ePg c10809ePg = new C10809ePg(customLeftRightTextWithTitleLayout, linearLayout, linearLayout2, e, textView, textView2, textView3); C14957gcv.c(c10809ePg, ""); return c10809ePg; } } } } } } throw new NullPointerException("Missing required view with ID: ".concat(customLeftRightTextWithTitleLayout.getResources().getResourceName(i))); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(Context context, CustomLeftRightTextWithTitleLayout customLeftRightTextWithTitleLayout) { super(0); this.b = context; this.e = customLeftRightTextWithTitleLayout; } } public final void b(C0614Kr c0614Kr) { C14957gcv.e(c0614Kr, ""); C10809ePg c10809ePg = (C10809ePg) this.d.e(); c10809ePg.b.setText(c0614Kr.c); c10809ePg.c.setText(c0614Kr.b); c10809ePg.e.setText(c0614Kr.e); if (c0614Kr.c.length() == 0) { TextView textView = c10809ePg.b; C14957gcv.c(textView, ""); TextView textView2 = textView; C14957gcv.e(textView2, ""); textView2.setVisibility(8); return; } TextView textView3 = c10809ePg.b; C14957gcv.c(textView3, ""); TextView textView4 = textView3; C14957gcv.e(textView4, ""); textView4.setVisibility(0); } /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */ public CustomLeftRightTextWithTitleLayout(Context context, AttributeSet attributeSet) { this(context, attributeSet, 4, (byte) 0); C14957gcv.e(context, ""); } /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */ public CustomLeftRightTextWithTitleLayout(Context context) { this(context, null, 6, (byte) 0); C14957gcv.e(context, ""); } }