what-the-bank/sources/com/google/android/libraries/places/internal/zzho.java

215 lines
5.1 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.libraries.places.internal;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.libraries.places.api.model.AutocompleteSessionToken;
import com.google.android.libraries.places.widget.model.AutocompleteActivityMode;
/* loaded from: classes2.dex */
public final class zzho implements Parcelable {
public static final Parcelable.Creator<zzho> CREATOR = new zzhm();
private final zzgp zza;
private final AutocompleteActivityMode zzb;
private final AutocompleteSessionToken zzc;
private boolean zzd;
private boolean zze;
private int zzf;
private int zzg;
private int zzh;
private int zzi;
private boolean zzj;
private boolean zzk;
private String zzl;
private int zzm;
private int zzn;
private boolean zzo;
private int zzp;
private long zzq;
private final zzbx zzr;
/* JADX INFO: Access modifiers changed from: package-private */
public /* synthetic */ zzho(Parcel parcel, zzhn zzhnVar) {
this.zza = (zzgp) parcel.readParcelable(zzgp.class.getClassLoader());
this.zzb = (AutocompleteActivityMode) parcel.readParcelable(AutocompleteActivityMode.class.getClassLoader());
this.zzc = (AutocompleteSessionToken) parcel.readParcelable(AutocompleteSessionToken.class.getClassLoader());
this.zzj = zzC(parcel);
this.zzd = zzC(parcel);
this.zze = zzC(parcel);
this.zzi = parcel.readInt();
this.zzf = parcel.readInt();
this.zzg = parcel.readInt();
this.zzk = zzC(parcel);
this.zzh = parcel.readInt();
this.zzl = zzil.zzb(parcel.readString());
this.zzm = parcel.readInt();
this.zzn = parcel.readInt();
this.zzo = zzC(parcel);
this.zzp = parcel.readInt();
this.zzq = parcel.readLong();
this.zzr = new zzca();
}
private static boolean zzC(Parcel parcel) {
return parcel.readInt() != 0;
}
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
parcel.writeParcelable(this.zza, i);
parcel.writeParcelable(this.zzb, i);
parcel.writeParcelable(this.zzc, i);
parcel.writeInt(this.zzj ? 1 : 0);
parcel.writeInt(this.zzd ? 1 : 0);
parcel.writeInt(this.zze ? 1 : 0);
parcel.writeInt(this.zzi);
parcel.writeInt(this.zzf);
parcel.writeInt(this.zzg);
parcel.writeInt(this.zzk ? 1 : 0);
parcel.writeInt(this.zzh);
parcel.writeString(this.zzl);
parcel.writeInt(this.zzm);
parcel.writeInt(this.zzn);
parcel.writeInt(this.zzo ? 1 : 0);
parcel.writeInt(this.zzp);
parcel.writeLong(this.zzq);
}
public final void zzl() {
if (zzB()) {
return;
}
this.zzq = this.zzr.zza();
}
public final void zzm() {
if (zzB()) {
this.zzp += (int) (this.zzr.zza() - this.zzq);
this.zzq = -1L;
}
}
public zzho(zzgp zzgpVar, AutocompleteActivityMode autocompleteActivityMode, String str, zzbx zzbxVar) {
this.zza = zzgpVar;
this.zzb = autocompleteActivityMode;
this.zzc = AutocompleteSessionToken.newInstance();
this.zzl = zzil.zzb(str);
this.zzi = -1;
this.zzq = -1L;
this.zzr = zzbxVar;
}
public final boolean zzz() {
return this.zzj;
}
public final boolean zzy() {
return this.zze;
}
public final boolean zzx() {
return this.zzd;
}
public final void zzw() {
this.zzn++;
}
public final void zzv() {
this.zzo = true;
}
public final void zzu(int i) {
this.zzj = true;
this.zzi = i;
}
public final void zzt(String str) {
this.zzm++;
this.zzl = str;
}
public final void zzs() {
this.zzh++;
}
public final void zzr() {
this.zzg++;
}
public final void zzq() {
this.zzk = true;
}
public final void zzp() {
this.zzf++;
}
public final void zzo() {
if (this.zzd || this.zzk) {
return;
}
this.zze = true;
}
public final void zzn() {
this.zzd = true;
}
public final String zzk() {
return this.zzl;
}
public final AutocompleteActivityMode zzj() {
return this.zzb;
}
public final zzgp zzi() {
return this.zza;
}
public final AutocompleteSessionToken zzh() {
return this.zzc;
}
public final int zzg() {
return this.zzm;
}
public final int zzf() {
return this.zzp;
}
public final int zze() {
return this.zzh;
}
public final int zzd() {
return this.zzi;
}
public final int zzc() {
return this.zzn;
}
public final int zzb() {
return this.zzf;
}
public final int zza() {
return this.zzg;
}
public final boolean zzA() {
return this.zzo;
}
private final boolean zzB() {
return this.zzq != -1;
}
}