- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
178 lines
3.8 KiB
Java
178 lines
3.8 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.text.TextUtils;
|
|
import androidx.annotation.ColorInt;
|
|
import androidx.annotation.Nullable;
|
|
import java.util.Arrays;
|
|
import java.util.Collections;
|
|
import java.util.HashSet;
|
|
import java.util.Set;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzaln {
|
|
|
|
@ColorInt
|
|
private int zzf;
|
|
private int zzh;
|
|
private float zzn;
|
|
private String zza = "";
|
|
private String zzb = "";
|
|
private Set zzc = Collections.emptySet();
|
|
private String zzd = "";
|
|
|
|
@Nullable
|
|
private String zze = null;
|
|
private boolean zzg = false;
|
|
private boolean zzi = false;
|
|
private int zzj = -1;
|
|
private int zzk = -1;
|
|
private int zzl = -1;
|
|
private int zzm = -1;
|
|
private int zzo = -1;
|
|
private boolean zzp = false;
|
|
|
|
private static int zzA(int i, String str, @Nullable String str2, int i2) {
|
|
if (str.isEmpty() || i == -1) {
|
|
return i;
|
|
}
|
|
if (str.equals(str2)) {
|
|
return i + i2;
|
|
}
|
|
return -1;
|
|
}
|
|
|
|
public final float zza() {
|
|
return this.zzn;
|
|
}
|
|
|
|
public final int zzb() {
|
|
if (this.zzi) {
|
|
return this.zzh;
|
|
}
|
|
throw new IllegalStateException("Background color not defined.");
|
|
}
|
|
|
|
public final int zzc() {
|
|
if (this.zzg) {
|
|
return this.zzf;
|
|
}
|
|
throw new IllegalStateException("Font color not defined");
|
|
}
|
|
|
|
public final int zzd() {
|
|
return this.zzm;
|
|
}
|
|
|
|
public final int zze() {
|
|
return this.zzo;
|
|
}
|
|
|
|
public final int zzf(@Nullable String str, @Nullable String str2, Set set, @Nullable String str3) {
|
|
if (this.zza.isEmpty() && this.zzb.isEmpty() && this.zzc.isEmpty() && this.zzd.isEmpty()) {
|
|
return TextUtils.isEmpty(str2) ? 1 : 0;
|
|
}
|
|
int zzA = zzA(zzA(zzA(0, this.zza, str, 1073741824), this.zzb, str2, 2), this.zzd, str3, 4);
|
|
if (zzA == -1 || !set.containsAll(this.zzc)) {
|
|
return 0;
|
|
}
|
|
return zzA + (this.zzc.size() * 4);
|
|
}
|
|
|
|
public final int zzg() {
|
|
int i = this.zzk;
|
|
if (i == -1 && this.zzl == -1) {
|
|
return -1;
|
|
}
|
|
return (i == 1 ? 1 : 0) | (this.zzl == 1 ? 2 : 0);
|
|
}
|
|
|
|
public final zzaln zzh(int i) {
|
|
this.zzh = i;
|
|
this.zzi = true;
|
|
return this;
|
|
}
|
|
|
|
public final zzaln zzi(boolean z) {
|
|
this.zzk = 1;
|
|
return this;
|
|
}
|
|
|
|
public final zzaln zzj(boolean z) {
|
|
this.zzp = z;
|
|
return this;
|
|
}
|
|
|
|
public final zzaln zzk(int i) {
|
|
this.zzf = i;
|
|
this.zzg = true;
|
|
return this;
|
|
}
|
|
|
|
public final zzaln zzl(@Nullable String str) {
|
|
this.zze = zzftt.zza(str);
|
|
return this;
|
|
}
|
|
|
|
public final zzaln zzm(float f) {
|
|
this.zzn = f;
|
|
return this;
|
|
}
|
|
|
|
public final zzaln zzn(int i) {
|
|
this.zzm = i;
|
|
return this;
|
|
}
|
|
|
|
public final zzaln zzo(boolean z) {
|
|
this.zzl = 1;
|
|
return this;
|
|
}
|
|
|
|
public final zzaln zzp(int i) {
|
|
this.zzo = i;
|
|
return this;
|
|
}
|
|
|
|
public final zzaln zzq(boolean z) {
|
|
this.zzj = 1;
|
|
return this;
|
|
}
|
|
|
|
@Nullable
|
|
public final String zzr() {
|
|
return this.zze;
|
|
}
|
|
|
|
public final void zzs(String[] strArr) {
|
|
this.zzc = new HashSet(Arrays.asList(strArr));
|
|
}
|
|
|
|
public final void zzt(String str) {
|
|
this.zza = str;
|
|
}
|
|
|
|
public final void zzu(String str) {
|
|
this.zzb = str;
|
|
}
|
|
|
|
public final void zzv(String str) {
|
|
this.zzd = str;
|
|
}
|
|
|
|
public final boolean zzw() {
|
|
return this.zzp;
|
|
}
|
|
|
|
public final boolean zzx() {
|
|
return this.zzi;
|
|
}
|
|
|
|
public final boolean zzy() {
|
|
return this.zzg;
|
|
}
|
|
|
|
public final boolean zzz() {
|
|
return this.zzj == 1;
|
|
}
|
|
}
|