64 lines
1.8 KiB
Java
64 lines
1.8 KiB
Java
|
package com.google.android.gms.internal.vision;
|
||
|
|
||
|
import com.google.android.gms.internal.vision.zzfy;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class zzhu implements zzhd {
|
||
|
private final int flags;
|
||
|
private final String info;
|
||
|
private final Object[] zzze;
|
||
|
private final zzhf zzzh;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public zzhu(zzhf zzhfVar, String str, Object[] objArr) {
|
||
|
this.zzzh = zzhfVar;
|
||
|
this.info = str;
|
||
|
this.zzze = objArr;
|
||
|
char charAt = str.charAt(0);
|
||
|
if (charAt < 55296) {
|
||
|
this.flags = charAt;
|
||
|
return;
|
||
|
}
|
||
|
int i = charAt & 8191;
|
||
|
int i2 = 1;
|
||
|
int i3 = 13;
|
||
|
while (true) {
|
||
|
char charAt2 = str.charAt(i2);
|
||
|
if (charAt2 < 55296) {
|
||
|
this.flags = i | (charAt2 << i3);
|
||
|
return;
|
||
|
} else {
|
||
|
i |= (charAt2 & 8191) << i3;
|
||
|
i3 += 13;
|
||
|
i2++;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.vision.zzhd
|
||
|
public final int zzge() {
|
||
|
return (this.flags & 1) == 1 ? zzfy.zzg.zzxf : zzfy.zzg.zzxg;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public final Object[] zzgo() {
|
||
|
return this.zzze;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public final String zzgn() {
|
||
|
return this.info;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.vision.zzhd
|
||
|
public final zzhf zzgg() {
|
||
|
return this.zzzh;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.vision.zzhd
|
||
|
public final boolean zzgf() {
|
||
|
return (this.flags & 2) == 2;
|
||
|
}
|
||
|
}
|