86 lines
3.3 KiB
Java
86 lines
3.3 KiB
Java
|
package com.google.android.gms.maps.model;
|
||
|
|
||
|
import android.os.IBinder;
|
||
|
import android.os.Parcel;
|
||
|
import android.os.Parcelable;
|
||
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class zzh implements Parcelable.Creator<MarkerOptions> {
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* synthetic */ MarkerOptions[] newArray(int i) {
|
||
|
return new MarkerOptions[i];
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* synthetic */ MarkerOptions createFromParcel(Parcel parcel) {
|
||
|
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
|
||
|
LatLng latLng = null;
|
||
|
String str = null;
|
||
|
String str2 = null;
|
||
|
IBinder iBinder = null;
|
||
|
float f = 0.0f;
|
||
|
float f2 = 0.0f;
|
||
|
float f3 = 0.0f;
|
||
|
float f4 = 0.0f;
|
||
|
float f5 = 0.0f;
|
||
|
boolean z = false;
|
||
|
boolean z2 = false;
|
||
|
boolean z3 = false;
|
||
|
float f6 = 0.5f;
|
||
|
float f7 = 1.0f;
|
||
|
while (parcel.dataPosition() < validateObjectHeader) {
|
||
|
int readHeader = SafeParcelReader.readHeader(parcel);
|
||
|
switch (SafeParcelReader.getFieldId(readHeader)) {
|
||
|
case 2:
|
||
|
latLng = (LatLng) SafeParcelReader.createParcelable(parcel, readHeader, LatLng.CREATOR);
|
||
|
break;
|
||
|
case 3:
|
||
|
str = SafeParcelReader.createString(parcel, readHeader);
|
||
|
break;
|
||
|
case 4:
|
||
|
str2 = SafeParcelReader.createString(parcel, readHeader);
|
||
|
break;
|
||
|
case 5:
|
||
|
iBinder = SafeParcelReader.readIBinder(parcel, readHeader);
|
||
|
break;
|
||
|
case 6:
|
||
|
f = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
case 7:
|
||
|
f2 = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
case 8:
|
||
|
z = SafeParcelReader.readBoolean(parcel, readHeader);
|
||
|
break;
|
||
|
case 9:
|
||
|
z2 = SafeParcelReader.readBoolean(parcel, readHeader);
|
||
|
break;
|
||
|
case 10:
|
||
|
z3 = SafeParcelReader.readBoolean(parcel, readHeader);
|
||
|
break;
|
||
|
case 11:
|
||
|
f3 = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
case 12:
|
||
|
f6 = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
case 13:
|
||
|
f4 = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
case 14:
|
||
|
f7 = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
case 15:
|
||
|
f5 = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
default:
|
||
|
SafeParcelReader.skipUnknownField(parcel, readHeader);
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
|
||
|
return new MarkerOptions(latLng, str, str2, iBinder, f, f2, z, z2, z3, f3, f6, f4, f7, f5);
|
||
|
}
|
||
|
}
|