78 lines
3.1 KiB
Java
78 lines
3.1 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 zzd implements Parcelable.Creator<GroundOverlayOptions> {
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* synthetic */ GroundOverlayOptions[] newArray(int i) {
|
||
|
return new GroundOverlayOptions[i];
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* synthetic */ GroundOverlayOptions createFromParcel(Parcel parcel) {
|
||
|
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
|
||
|
IBinder iBinder = null;
|
||
|
LatLng latLng = null;
|
||
|
LatLngBounds latLngBounds = null;
|
||
|
float f = 0.0f;
|
||
|
float f2 = 0.0f;
|
||
|
float f3 = 0.0f;
|
||
|
float f4 = 0.0f;
|
||
|
float f5 = 0.0f;
|
||
|
float f6 = 0.0f;
|
||
|
float f7 = 0.0f;
|
||
|
boolean z = false;
|
||
|
boolean z2 = false;
|
||
|
while (parcel.dataPosition() < validateObjectHeader) {
|
||
|
int readHeader = SafeParcelReader.readHeader(parcel);
|
||
|
switch (SafeParcelReader.getFieldId(readHeader)) {
|
||
|
case 2:
|
||
|
iBinder = SafeParcelReader.readIBinder(parcel, readHeader);
|
||
|
break;
|
||
|
case 3:
|
||
|
latLng = (LatLng) SafeParcelReader.createParcelable(parcel, readHeader, LatLng.CREATOR);
|
||
|
break;
|
||
|
case 4:
|
||
|
f = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
case 5:
|
||
|
f2 = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
case 6:
|
||
|
latLngBounds = (LatLngBounds) SafeParcelReader.createParcelable(parcel, readHeader, LatLngBounds.CREATOR);
|
||
|
break;
|
||
|
case 7:
|
||
|
f3 = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
case 8:
|
||
|
f4 = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
case 9:
|
||
|
z = SafeParcelReader.readBoolean(parcel, readHeader);
|
||
|
break;
|
||
|
case 10:
|
||
|
f5 = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
case 11:
|
||
|
f6 = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
case 12:
|
||
|
f7 = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
case 13:
|
||
|
z2 = SafeParcelReader.readBoolean(parcel, readHeader);
|
||
|
break;
|
||
|
default:
|
||
|
SafeParcelReader.skipUnknownField(parcel, readHeader);
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
|
||
|
return new GroundOverlayOptions(iBinder, latLng, f, f2, latLngBounds, f3, f4, z, f5, f6, f7, z2);
|
||
|
}
|
||
|
}
|