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

61 lines
2.4 KiB
Java

package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import java.text.NumberFormat;
import o.C15715hv;
/* renamed from: o.oI, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16422oI extends C16412oC {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C16422oI(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
}
public static C0508If b(TPf tPf, C5762bzF c5762bzF, boolean z, String str) {
C14957gcv.e(tPf, "");
C14957gcv.e(c5762bzF, "");
C14957gcv.e(str, "");
NumberFormat numberFormat = (NumberFormat) C6583cXR.c(new Object[]{2}, -1969602709, 1969602717, 2);
String b = C6583cXR.b(tPf.b.h, z);
String str2 = tPf.b.f;
String str3 = tPf.b.d;
StringBuilder sb = new StringBuilder();
sb.append(b);
sb.append("\n");
sb.append(str3);
IX ix = new IX(str2, sb.toString(), C6583cXR.VR_(C15715hv.IeS.bankicon_scb).toString());
IX ix2 = new IX(e(tPf.b.k, c5762bzF.m), tPf.b.i, 4);
IX ix3 = new IX(tPf.a.b, C6583cXR.b(tPf.a.c, C14957gcv.b((Object) str, (Object) "CLOSE_ACCOUNT_OTHERS_FRAGMENT") ? false : z), C6583cXR.VR_(C15715hv.IeS.bankicon_scb).toString());
String format = numberFormat.format(tPf.b.a);
C14957gcv.c((Object) format, "");
String format2 = numberFormat.format(tPf.b.b);
C14957gcv.c((Object) format2, "");
double d = tPf.b.g;
if (d > 0.0d) {
d = -d;
}
String format3 = numberFormat.format(d);
C14957gcv.c((Object) format3, "");
double d2 = tPf.b.c;
if (d2 > 0.0d) {
d2 = -d2;
}
String format4 = numberFormat.format(d2);
C14957gcv.c((Object) format4, "");
double d3 = tPf.b.e;
if (d3 > 0.0d) {
d3 = -d3;
}
String format5 = numberFormat.format(d3);
C14957gcv.c((Object) format5, "");
String format6 = numberFormat.format(tPf.b.j);
C14957gcv.c((Object) format6, "");
return new C0508If(ix, ix2, ix3, new C0501Ia(format, format2, format3, format4, format5, format6), tPf.c, C14881gav.b(tPf.e, "\n\n", null, null, 0, null, null, 62));
}
}