81 lines
2.6 KiB
Java
81 lines
2.6 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.SharedPreferences;
|
||
|
import android.content.res.Resources;
|
||
|
import java.text.NumberFormat;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.List;
|
||
|
import java.util.Locale;
|
||
|
import o.C15715hv;
|
||
|
|
||
|
/* renamed from: o.nm, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C16369nm extends AbstractC16173lt<qqq, GG> {
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
@InterfaceC13391fZD
|
||
|
public C16369nm(Resources resources, SharedPreferences sharedPreferences) {
|
||
|
super(resources, sharedPreferences);
|
||
|
C14957gcv.e(resources, "");
|
||
|
C14957gcv.e(sharedPreferences, "");
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.nm$IeS */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class IeS {
|
||
|
private IeS() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ IeS(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.AbstractC16173lt
|
||
|
/* renamed from: a, reason: merged with bridge method [inline-methods] */
|
||
|
public final GG d(qqq qqqVar) {
|
||
|
Integer num;
|
||
|
Integer num2;
|
||
|
C14957gcv.e(qqqVar, "");
|
||
|
boolean z = qqqVar.b;
|
||
|
Fut fut = qqqVar.a;
|
||
|
int i = 0;
|
||
|
C0412Ga c0412Ga = new C0412Ga((byte) 0);
|
||
|
if (fut != null) {
|
||
|
c0412Ga.b = fut.b;
|
||
|
c0412Ga.d = fut.a;
|
||
|
}
|
||
|
String str = qqqVar.j;
|
||
|
String str2 = qqqVar.c;
|
||
|
List<String> list = qqqVar.h;
|
||
|
ArrayList arrayList = new ArrayList();
|
||
|
List<String> list2 = list;
|
||
|
if (list2 != null && !list2.isEmpty()) {
|
||
|
String string = this.e.getString(C15715hv.tOB.select_reason);
|
||
|
C14957gcv.c((Object) string, "");
|
||
|
arrayList.add(string);
|
||
|
arrayList.addAll(list2);
|
||
|
}
|
||
|
Fut fut2 = qqqVar.a;
|
||
|
ArrayList arrayList2 = new ArrayList();
|
||
|
String string2 = this.e.getString(C15715hv.tOB.select_amount);
|
||
|
C14957gcv.c((Object) string2, "");
|
||
|
arrayList2.add(string2);
|
||
|
int intValue = (fut2 == null || (num2 = fut2.b) == null) ? 0 : num2.intValue();
|
||
|
if (fut2 != null && (num = fut2.a) != null) {
|
||
|
i = num.intValue();
|
||
|
}
|
||
|
if (intValue != 0) {
|
||
|
for (int i2 = intValue; i2 <= i; i2 += intValue) {
|
||
|
String format = NumberFormat.getInstance(Locale.getDefault()).format(Integer.valueOf(i2));
|
||
|
C14957gcv.c((Object) format, "");
|
||
|
arrayList2.add(format);
|
||
|
}
|
||
|
}
|
||
|
return new GG(z, c0412Ga, str, str2, arrayList, arrayList2, qqqVar.d, qqqVar.f);
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
new IeS((byte) 0);
|
||
|
}
|
||
|
}
|