Primer paso de la investigacion. Se aportan el .apk, las carpetas con el apk extraido y el apk descompilado. El archivo API_DOCUMENTATION.md es un archivo donde se anotaran los descubrimientos del funcionamiento de la API, y los .py son scripts para probar la funcionalidad de la API con los métodos que vayamos encontrando. Finalmente, los archivos .js son scripts de Frida para extraer informacion de la APP durante la ejecucion.

This commit is contained in:
2025-12-04 13:59:54 +01:00
parent f2fd1c3bf5
commit e0133d2ca2
10432 changed files with 1019085 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
package com.google.android.gms.maps.model;
import android.os.RemoteException;
import android.view.View;
import com.google.android.gms.dynamic.ObjectWrapper;
/* loaded from: classes3.dex */
public class AdvancedMarker extends Marker {
public AdvancedMarker(com.google.android.gms.internal.maps.zzad zzadVar) {
super(zzadVar);
}
public View getIconView() {
try {
return (View) ObjectWrapper.unwrap(this.zza.zzh());
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setIconView(View view) {
if (view != null && view.getParent() != null) {
throw new IllegalArgumentException("View already has a parent, can not be used as Marker");
}
try {
this.zza.zzu(ObjectWrapper.wrap(view));
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
}

View File

@@ -0,0 +1,113 @@
package com.google.android.gms.maps.model;
import android.view.View;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/* loaded from: classes3.dex */
public class AdvancedMarkerOptions extends MarkerOptions {
@Retention(RetentionPolicy.RUNTIME)
/* loaded from: classes3.dex */
public @interface CollisionBehavior {
public static final int OPTIONAL_AND_HIDES_LOWER_PRIORITY = 2;
public static final int REQUIRED = 0;
public static final int REQUIRED_AND_HIDES_OPTIONAL = 1;
}
@Override // com.google.android.gms.maps.model.MarkerOptions
public AdvancedMarkerOptions alpha(float f2) {
super.alpha(f2);
return this;
}
@Override // com.google.android.gms.maps.model.MarkerOptions
public AdvancedMarkerOptions anchor(float f2, float f4) {
super.anchor(f2, f4);
return this;
}
public AdvancedMarkerOptions collisionBehavior(@CollisionBehavior int i) {
zzd(i);
return this;
}
@Override // com.google.android.gms.maps.model.MarkerOptions
public AdvancedMarkerOptions contentDescription(String str) {
super.contentDescription(str);
return this;
}
@Override // com.google.android.gms.maps.model.MarkerOptions
public AdvancedMarkerOptions draggable(boolean z3) {
super.draggable(z3);
return this;
}
@Override // com.google.android.gms.maps.model.MarkerOptions
public AdvancedMarkerOptions flat(boolean z3) {
super.flat(z3);
return this;
}
public int getCollisionBehavior() {
return zza();
}
public View getIconView() {
return zzc();
}
@Override // com.google.android.gms.maps.model.MarkerOptions
public AdvancedMarkerOptions icon(BitmapDescriptor bitmapDescriptor) {
super.icon(bitmapDescriptor);
return this;
}
public AdvancedMarkerOptions iconView(View view) {
zze(view);
return this;
}
@Override // com.google.android.gms.maps.model.MarkerOptions
public AdvancedMarkerOptions infoWindowAnchor(float f2, float f4) {
super.infoWindowAnchor(f2, f4);
return this;
}
@Override // com.google.android.gms.maps.model.MarkerOptions
public AdvancedMarkerOptions position(LatLng latLng) {
super.position(latLng);
return this;
}
@Override // com.google.android.gms.maps.model.MarkerOptions
public AdvancedMarkerOptions rotation(float f2) {
super.rotation(f2);
return this;
}
@Override // com.google.android.gms.maps.model.MarkerOptions
public AdvancedMarkerOptions snippet(String str) {
super.snippet(str);
return this;
}
@Override // com.google.android.gms.maps.model.MarkerOptions
public AdvancedMarkerOptions title(String str) {
super.title(str);
return this;
}
@Override // com.google.android.gms.maps.model.MarkerOptions
public AdvancedMarkerOptions visible(boolean z3) {
super.visible(z3);
return this;
}
@Override // com.google.android.gms.maps.model.MarkerOptions
public AdvancedMarkerOptions zIndex(float f2) {
super.zIndex(f2);
return this;
}
}

View File

@@ -0,0 +1,17 @@
package com.google.android.gms.maps.model;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.dynamic.IObjectWrapper;
/* loaded from: classes3.dex */
public final class BitmapDescriptor {
private final IObjectWrapper zza;
public BitmapDescriptor(IObjectWrapper iObjectWrapper) {
this.zza = (IObjectWrapper) Preconditions.checkNotNull(iObjectWrapper);
}
public final IObjectWrapper zza() {
return this.zza;
}
}

View File

@@ -0,0 +1,102 @@
package com.google.android.gms.maps.model;
import android.graphics.Bitmap;
import android.os.RemoteException;
import com.google.android.gms.common.internal.Preconditions;
/* loaded from: classes3.dex */
public final class BitmapDescriptorFactory {
public static final float HUE_AZURE = 210.0f;
public static final float HUE_BLUE = 240.0f;
public static final float HUE_CYAN = 180.0f;
public static final float HUE_GREEN = 120.0f;
public static final float HUE_MAGENTA = 300.0f;
public static final float HUE_ORANGE = 30.0f;
public static final float HUE_RED = 0.0f;
public static final float HUE_ROSE = 330.0f;
public static final float HUE_VIOLET = 270.0f;
public static final float HUE_YELLOW = 60.0f;
private static com.google.android.gms.internal.maps.zzi zza;
private BitmapDescriptorFactory() {
}
public static BitmapDescriptor defaultMarker() {
try {
return new BitmapDescriptor(zzb().zzd());
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public static BitmapDescriptor fromAsset(String str) {
Preconditions.checkNotNull(str, "assetName must not be null");
try {
return new BitmapDescriptor(zzb().zzf(str));
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public static BitmapDescriptor fromBitmap(Bitmap bitmap) {
Preconditions.checkNotNull(bitmap, "image must not be null");
try {
return new BitmapDescriptor(zzb().zzg(bitmap));
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public static BitmapDescriptor fromFile(String str) {
Preconditions.checkNotNull(str, "fileName must not be null");
try {
return new BitmapDescriptor(zzb().zzh(str));
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public static BitmapDescriptor fromPath(String str) {
Preconditions.checkNotNull(str, "absolutePath must not be null");
try {
return new BitmapDescriptor(zzb().zzi(str));
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public static BitmapDescriptor fromPinConfig(PinConfig pinConfig) {
try {
return new BitmapDescriptor(zzb().zzj(pinConfig));
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public static BitmapDescriptor fromResource(int i) {
try {
return new BitmapDescriptor(zzb().zzk(i));
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public static void zza(com.google.android.gms.internal.maps.zzi zziVar) {
if (zza != null) {
return;
}
zza = (com.google.android.gms.internal.maps.zzi) Preconditions.checkNotNull(zziVar, "delegate must not be null");
}
private static com.google.android.gms.internal.maps.zzi zzb() {
return (com.google.android.gms.internal.maps.zzi) Preconditions.checkNotNull(zza, "IBitmapDescriptorFactory is not initialized");
}
public static BitmapDescriptor defaultMarker(float f2) {
try {
return new BitmapDescriptor(zzb().zze(f2));
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
}

View File

@@ -0,0 +1,13 @@
package com.google.android.gms.maps.model;
/* loaded from: classes3.dex */
public final class ButtCap extends Cap {
public ButtCap() {
super(0);
}
@Override // com.google.android.gms.maps.model.Cap
public String toString() {
return "[ButtCap]";
}
}

View File

@@ -0,0 +1,136 @@
package com.google.android.gms.maps.model;
import android.content.Context;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.AttributeSet;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.internal.ReflectedParcelable;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.maps.GoogleMapOptions;
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
@SafeParcelable.Class(creator = "CameraPositionCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class CameraPosition extends AbstractSafeParcelable implements ReflectedParcelable {
public static final Parcelable.Creator<CameraPosition> CREATOR = new zza();
@SafeParcelable.Field(id = 5)
public final float bearing;
@SafeParcelable.Field(id = 2)
public final LatLng target;
@SafeParcelable.Field(id = 4)
public final float tilt;
@SafeParcelable.Field(id = 3)
public final float zoom;
/* loaded from: classes3.dex */
public static final class Builder {
private LatLng zza;
private float zzb;
private float zzc;
private float zzd;
public Builder() {
}
public Builder bearing(float f2) {
this.zzd = f2;
return this;
}
public CameraPosition build() {
return new CameraPosition(this.zza, this.zzb, this.zzc, this.zzd);
}
public Builder target(LatLng latLng) {
this.zza = (LatLng) Preconditions.checkNotNull(latLng, "location must not be null.");
return this;
}
public Builder tilt(float f2) {
this.zzc = f2;
return this;
}
public Builder zoom(float f2) {
this.zzb = f2;
return this;
}
public Builder(CameraPosition cameraPosition) {
CameraPosition cameraPosition2 = (CameraPosition) Preconditions.checkNotNull(cameraPosition, "previous must not be null.");
this.zza = cameraPosition2.target;
this.zzb = cameraPosition2.zoom;
this.zzc = cameraPosition2.tilt;
this.zzd = cameraPosition2.bearing;
}
}
@SafeParcelable.Constructor
public CameraPosition(@SafeParcelable.Param(id = 2) LatLng latLng, @SafeParcelable.Param(id = 3) float f2, @SafeParcelable.Param(id = 4) float f4, @SafeParcelable.Param(id = 5) float f5) {
Preconditions.checkNotNull(latLng, "camera target must not be null.");
boolean z3 = false;
if (f4 >= BitmapDescriptorFactory.HUE_RED && f4 <= 90.0f) {
z3 = true;
}
Preconditions.checkArgument(z3, "Tilt needs to be between 0 and 90 inclusive: %s", Float.valueOf(f4));
this.target = latLng;
this.zoom = f2;
this.tilt = f4 + BitmapDescriptorFactory.HUE_RED;
this.bearing = (((double) f5) <= FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE ? (f5 % 360.0f) + 360.0f : f5) % 360.0f;
}
public static Builder builder() {
return new Builder();
}
public static CameraPosition createFromAttributes(Context context, AttributeSet attributeSet) {
return GoogleMapOptions.zza(context, attributeSet);
}
public static final CameraPosition fromLatLngZoom(LatLng latLng, float f2) {
return new CameraPosition(latLng, f2, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof CameraPosition)) {
return false;
}
CameraPosition cameraPosition = (CameraPosition) obj;
return this.target.equals(cameraPosition.target) && Float.floatToIntBits(this.zoom) == Float.floatToIntBits(cameraPosition.zoom) && Float.floatToIntBits(this.tilt) == Float.floatToIntBits(cameraPosition.tilt) && Float.floatToIntBits(this.bearing) == Float.floatToIntBits(cameraPosition.bearing);
}
public int hashCode() {
return Objects.hashCode(this.target, Float.valueOf(this.zoom), Float.valueOf(this.tilt), Float.valueOf(this.bearing));
}
public String toString() {
return Objects.toStringHelper(this).add("target", this.target).add("zoom", Float.valueOf(this.zoom)).add("tilt", Float.valueOf(this.tilt)).add("bearing", Float.valueOf(this.bearing)).toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
LatLng latLng = this.target;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeParcelable(parcel, 2, latLng, i, false);
SafeParcelWriter.writeFloat(parcel, 3, this.zoom);
SafeParcelWriter.writeFloat(parcel, 4, this.tilt);
SafeParcelWriter.writeFloat(parcel, 5, this.bearing);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public static Builder builder(CameraPosition cameraPosition) {
return new Builder(cameraPosition);
}
}

View File

@@ -0,0 +1,105 @@
package com.google.android.gms.maps.model;
import android.os.IBinder;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.Log;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.dynamic.IObjectWrapper;
import com.google.android.gms.measurement.internal.a;
@SafeParcelable.Class(creator = "CapCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public class Cap extends AbstractSafeParcelable {
public static final Parcelable.Creator<Cap> CREATOR = new zzb();
private static final String zza = "Cap";
@SafeParcelable.Field(getter = "getType", id = 2)
private final int zzb;
@SafeParcelable.Field(getter = "getWrappedBitmapDescriptorImplBinder", id = 3, type = "android.os.IBinder")
private final BitmapDescriptor zzc;
@SafeParcelable.Field(getter = "getBitmapRefWidth", id = 4)
private final Float zzd;
public Cap(int i) {
this(i, (BitmapDescriptor) null, (Float) null);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof Cap)) {
return false;
}
Cap cap = (Cap) obj;
return this.zzb == cap.zzb && Objects.equal(this.zzc, cap.zzc) && Objects.equal(this.zzd, cap.zzd);
}
public int hashCode() {
return Objects.hashCode(Integer.valueOf(this.zzb), this.zzc, this.zzd);
}
public String toString() {
return a.m(new StringBuilder("[Cap: type="), this.zzb, "]");
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
int i4 = this.zzb;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeInt(parcel, 2, i4);
BitmapDescriptor bitmapDescriptor = this.zzc;
SafeParcelWriter.writeIBinder(parcel, 3, bitmapDescriptor == null ? null : bitmapDescriptor.zza().asBinder(), false);
SafeParcelWriter.writeFloatObject(parcel, 4, this.zzd, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public final Cap zza() {
int i = this.zzb;
if (i == 0) {
return new ButtCap();
}
if (i == 1) {
return new SquareCap();
}
if (i == 2) {
return new RoundCap();
}
if (i == 3) {
Preconditions.checkState(this.zzc != null, "bitmapDescriptor must not be null");
Preconditions.checkState(this.zzd != null, "bitmapRefWidth must not be null");
return new CustomCap(this.zzc, this.zzd.floatValue());
}
Log.w(zza, "Unknown Cap type: " + i);
return this;
}
@SafeParcelable.Constructor
public Cap(@SafeParcelable.Param(id = 2) int i, @SafeParcelable.Param(id = 3) IBinder iBinder, @SafeParcelable.Param(id = 4) Float f2) {
this(i, iBinder == null ? null : new BitmapDescriptor(IObjectWrapper.Stub.asInterface(iBinder)), f2);
}
private Cap(int i, BitmapDescriptor bitmapDescriptor, Float f2) {
boolean z3 = f2 != null && f2.floatValue() > BitmapDescriptorFactory.HUE_RED;
if (i == 3) {
r0 = bitmapDescriptor != null && z3;
i = 3;
}
Preconditions.checkArgument(r0, "Invalid Cap: type=" + i + " bitmapDescriptor=" + bitmapDescriptor + " bitmapRefWidth=" + f2);
this.zzb = i;
this.zzc = bitmapDescriptor;
this.zzd = f2;
}
public Cap(BitmapDescriptor bitmapDescriptor, float f2) {
this(3, bitmapDescriptor, Float.valueOf(f2));
}
}

View File

@@ -0,0 +1,211 @@
package com.google.android.gms.maps.model;
import android.os.RemoteException;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.dynamic.ObjectWrapper;
import java.util.List;
/* loaded from: classes3.dex */
public final class Circle {
private final com.google.android.gms.internal.maps.zzl zza;
public Circle(com.google.android.gms.internal.maps.zzl zzlVar) {
this.zza = (com.google.android.gms.internal.maps.zzl) Preconditions.checkNotNull(zzlVar);
}
public final boolean equals(Object obj) {
if (!(obj instanceof Circle)) {
return false;
}
try {
return this.zza.zzy(((Circle) obj).zza);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public LatLng getCenter() {
try {
return this.zza.zzk();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int getFillColor() {
try {
return this.zza.zzg();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public String getId() {
try {
return this.zza.zzl();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public double getRadius() {
try {
return this.zza.zzd();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int getStrokeColor() {
try {
return this.zza.zzh();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public List<PatternItem> getStrokePattern() {
try {
return PatternItem.zza(this.zza.zzm());
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getStrokeWidth() {
try {
return this.zza.zze();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public Object getTag() {
try {
return ObjectWrapper.unwrap(this.zza.zzj());
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getZIndex() {
try {
return this.zza.zzf();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public final int hashCode() {
try {
return this.zza.zzi();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isClickable() {
try {
return this.zza.zzz();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isVisible() {
try {
return this.zza.zzA();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void remove() {
try {
this.zza.zzn();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setCenter(LatLng latLng) {
try {
Preconditions.checkNotNull(latLng, "center must not be null.");
this.zza.zzo(latLng);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setClickable(boolean z3) {
try {
this.zza.zzp(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setFillColor(int i) {
try {
this.zza.zzq(i);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setRadius(double d4) {
try {
this.zza.zzr(d4);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setStrokeColor(int i) {
try {
this.zza.zzs(i);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setStrokePattern(List<PatternItem> list) {
try {
this.zza.zzt(list);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setStrokeWidth(float f2) {
try {
this.zza.zzu(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setTag(Object obj) {
try {
this.zza.zzv(ObjectWrapper.wrap(obj));
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setVisible(boolean z3) {
try {
this.zza.zzw(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setZIndex(float f2) {
try {
this.zza.zzx(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
}

View File

@@ -0,0 +1,166 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
import java.util.List;
@SafeParcelable.Class(creator = "CircleOptionsCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class CircleOptions extends AbstractSafeParcelable {
public static final Parcelable.Creator<CircleOptions> CREATOR = new zzc();
@SafeParcelable.Field(getter = "getCenter", id = 2)
private LatLng zza;
@SafeParcelable.Field(getter = "getRadius", id = 3)
private double zzb;
@SafeParcelable.Field(getter = "getStrokeWidth", id = 4)
private float zzc;
@SafeParcelable.Field(getter = "getStrokeColor", id = 5)
private int zzd;
@SafeParcelable.Field(getter = "getFillColor", id = 6)
private int zze;
@SafeParcelable.Field(getter = "getZIndex", id = 7)
private float zzf;
@SafeParcelable.Field(getter = "isVisible", id = 8)
private boolean zzg;
@SafeParcelable.Field(getter = "isClickable", id = 9)
private boolean zzh;
@SafeParcelable.Field(getter = "getStrokePattern", id = 10)
private List zzi;
public CircleOptions() {
this.zza = null;
this.zzb = FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE;
this.zzc = 10.0f;
this.zzd = -16777216;
this.zze = 0;
this.zzf = BitmapDescriptorFactory.HUE_RED;
this.zzg = true;
this.zzh = false;
this.zzi = null;
}
public CircleOptions center(LatLng latLng) {
Preconditions.checkNotNull(latLng, "center must not be null.");
this.zza = latLng;
return this;
}
public CircleOptions clickable(boolean z3) {
this.zzh = z3;
return this;
}
public CircleOptions fillColor(int i) {
this.zze = i;
return this;
}
public LatLng getCenter() {
return this.zza;
}
public int getFillColor() {
return this.zze;
}
public double getRadius() {
return this.zzb;
}
public int getStrokeColor() {
return this.zzd;
}
public List<PatternItem> getStrokePattern() {
return this.zzi;
}
public float getStrokeWidth() {
return this.zzc;
}
public float getZIndex() {
return this.zzf;
}
public boolean isClickable() {
return this.zzh;
}
public boolean isVisible() {
return this.zzg;
}
public CircleOptions radius(double d4) {
this.zzb = d4;
return this;
}
public CircleOptions strokeColor(int i) {
this.zzd = i;
return this;
}
public CircleOptions strokePattern(List<PatternItem> list) {
this.zzi = list;
return this;
}
public CircleOptions strokeWidth(float f2) {
this.zzc = f2;
return this;
}
public CircleOptions visible(boolean z3) {
this.zzg = z3;
return this;
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeParcelable(parcel, 2, getCenter(), i, false);
SafeParcelWriter.writeDouble(parcel, 3, getRadius());
SafeParcelWriter.writeFloat(parcel, 4, getStrokeWidth());
SafeParcelWriter.writeInt(parcel, 5, getStrokeColor());
SafeParcelWriter.writeInt(parcel, 6, getFillColor());
SafeParcelWriter.writeFloat(parcel, 7, getZIndex());
SafeParcelWriter.writeBoolean(parcel, 8, isVisible());
SafeParcelWriter.writeBoolean(parcel, 9, isClickable());
SafeParcelWriter.writeTypedList(parcel, 10, getStrokePattern(), false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public CircleOptions zIndex(float f2) {
this.zzf = f2;
return this;
}
@SafeParcelable.Constructor
public CircleOptions(@SafeParcelable.Param(id = 2) LatLng latLng, @SafeParcelable.Param(id = 3) double d4, @SafeParcelable.Param(id = 4) float f2, @SafeParcelable.Param(id = 5) int i, @SafeParcelable.Param(id = 6) int i4, @SafeParcelable.Param(id = 7) float f4, @SafeParcelable.Param(id = 8) boolean z3, @SafeParcelable.Param(id = 9) boolean z4, @SafeParcelable.Param(id = 10) List list) {
this.zza = latLng;
this.zzb = d4;
this.zzc = f2;
this.zzd = i;
this.zze = i4;
this.zzf = f4;
this.zzg = z3;
this.zzh = z4;
this.zzi = list;
}
}

View File

@@ -0,0 +1,48 @@
package com.google.android.gms.maps.model;
import com.google.android.gms.measurement.internal.a;
/* loaded from: classes3.dex */
public final class CustomCap extends Cap {
public final BitmapDescriptor bitmapDescriptor;
public final float refWidth;
public CustomCap(BitmapDescriptor bitmapDescriptor) {
this(bitmapDescriptor, 10.0f);
}
@Override // com.google.android.gms.maps.model.Cap
public String toString() {
StringBuilder p = a.p("[CustomCap: bitmapDescriptor=", String.valueOf(this.bitmapDescriptor), " refWidth=");
p.append(this.refWidth);
p.append("]");
return p.toString();
}
/* JADX WARN: Illegal instructions before constructor call */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public CustomCap(com.google.android.gms.maps.model.BitmapDescriptor r3, float r4) {
/*
r2 = this;
java.lang.String r0 = "bitmapDescriptor must not be null"
java.lang.Object r0 = com.google.android.gms.common.internal.Preconditions.checkNotNull(r3, r0)
com.google.android.gms.maps.model.BitmapDescriptor r0 = (com.google.android.gms.maps.model.BitmapDescriptor) r0
r1 = 0
int r1 = (r4 > r1 ? 1 : (r4 == r1 ? 0 : -1))
if (r1 <= 0) goto L15
r2.<init>(r0, r4)
r2.bitmapDescriptor = r3
r2.refWidth = r4
return
L15:
java.lang.IllegalArgumentException r2 = new java.lang.IllegalArgumentException
java.lang.String r3 = "refWidth must be positive"
r2.<init>(r3)
throw r2
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.maps.model.CustomCap.<init>(com.google.android.gms.maps.model.BitmapDescriptor, float):void");
}
}

View File

@@ -0,0 +1,16 @@
package com.google.android.gms.maps.model;
/* loaded from: classes3.dex */
public final class Dash extends PatternItem {
public final float length;
public Dash(float f2) {
super(0, Float.valueOf(Math.max(f2, BitmapDescriptorFactory.HUE_RED)));
this.length = Math.max(f2, BitmapDescriptorFactory.HUE_RED);
}
@Override // com.google.android.gms.maps.model.PatternItem
public String toString() {
return "[Dash: length=" + this.length + "]";
}
}

View File

@@ -0,0 +1,13 @@
package com.google.android.gms.maps.model;
/* loaded from: classes3.dex */
public final class Dot extends PatternItem {
public Dot() {
super(1, null);
}
@Override // com.google.android.gms.maps.model.PatternItem
public String toString() {
return "[Dot]";
}
}

View File

@@ -0,0 +1,16 @@
package com.google.android.gms.maps.model;
/* loaded from: classes3.dex */
public final class Gap extends PatternItem {
public final float length;
public Gap(float f2) {
super(2, Float.valueOf(Math.max(f2, BitmapDescriptorFactory.HUE_RED)));
this.length = Math.max(f2, BitmapDescriptorFactory.HUE_RED);
}
@Override // com.google.android.gms.maps.model.PatternItem
public String toString() {
return "[Gap: length=" + this.length + "]";
}
}

View File

@@ -0,0 +1,218 @@
package com.google.android.gms.maps.model;
import android.os.RemoteException;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.dynamic.ObjectWrapper;
/* loaded from: classes3.dex */
public final class GroundOverlay {
private final com.google.android.gms.internal.maps.zzr zza;
public GroundOverlay(com.google.android.gms.internal.maps.zzr zzrVar) {
this.zza = (com.google.android.gms.internal.maps.zzr) Preconditions.checkNotNull(zzrVar);
}
public boolean equals(Object obj) {
if (!(obj instanceof GroundOverlay)) {
return false;
}
try {
return this.zza.zzz(((GroundOverlay) obj).zza);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getBearing() {
try {
return this.zza.zzd();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public LatLngBounds getBounds() {
try {
return this.zza.zzl();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getHeight() {
try {
return this.zza.zze();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public String getId() {
try {
return this.zza.zzm();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public LatLng getPosition() {
try {
return this.zza.zzk();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public Object getTag() {
try {
return ObjectWrapper.unwrap(this.zza.zzj());
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getTransparency() {
try {
return this.zza.zzf();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getWidth() {
try {
return this.zza.zzg();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getZIndex() {
try {
return this.zza.zzh();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int hashCode() {
try {
return this.zza.zzi();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isClickable() {
try {
return this.zza.zzA();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isVisible() {
try {
return this.zza.zzB();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void remove() {
try {
this.zza.zzn();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setBearing(float f2) {
try {
this.zza.zzo(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setClickable(boolean z3) {
try {
this.zza.zzp(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setDimensions(float f2) {
try {
this.zza.zzq(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setImage(BitmapDescriptor bitmapDescriptor) {
Preconditions.checkNotNull(bitmapDescriptor, "imageDescriptor must not be null");
try {
this.zza.zzs(bitmapDescriptor.zza());
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setPosition(LatLng latLng) {
try {
this.zza.zzt(latLng);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setPositionFromBounds(LatLngBounds latLngBounds) {
try {
this.zza.zzu(latLngBounds);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setTag(Object obj) {
try {
this.zza.zzv(ObjectWrapper.wrap(obj));
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setTransparency(float f2) {
try {
this.zza.zzw(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setVisible(boolean z3) {
try {
this.zza.zzx(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setZIndex(float f2) {
try {
this.zza.zzy(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setDimensions(float f2, float f4) {
try {
this.zza.zzr(f2, f4);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
}

View File

@@ -0,0 +1,222 @@
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.Preconditions;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.dynamic.IObjectWrapper;
@SafeParcelable.Class(creator = "GroundOverlayOptionsCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class GroundOverlayOptions extends AbstractSafeParcelable {
public static final Parcelable.Creator<GroundOverlayOptions> CREATOR = new zzg();
public static final float NO_DIMENSION = -1.0f;
@SafeParcelable.Field(getter = "getWrappedImageDescriptorImplBinder", id = 2, type = "android.os.IBinder")
private BitmapDescriptor zza;
@SafeParcelable.Field(getter = "getLocation", id = 3)
private LatLng zzb;
@SafeParcelable.Field(getter = "getWidth", id = 4)
private float zzc;
@SafeParcelable.Field(getter = "getHeight", id = 5)
private float zzd;
@SafeParcelable.Field(getter = "getBounds", id = 6)
private LatLngBounds zze;
@SafeParcelable.Field(getter = "getBearing", id = 7)
private float zzf;
@SafeParcelable.Field(getter = "getZIndex", id = 8)
private float zzg;
@SafeParcelable.Field(getter = "isVisible", id = 9)
private boolean zzh;
@SafeParcelable.Field(getter = "getTransparency", id = 10)
private float zzi;
@SafeParcelable.Field(getter = "getAnchorU", id = 11)
private float zzj;
@SafeParcelable.Field(getter = "getAnchorV", id = 12)
private float zzk;
@SafeParcelable.Field(getter = "isClickable", id = 13)
private boolean zzl;
public GroundOverlayOptions() {
this.zzh = true;
this.zzi = BitmapDescriptorFactory.HUE_RED;
this.zzj = 0.5f;
this.zzk = 0.5f;
this.zzl = false;
}
private final GroundOverlayOptions zza(LatLng latLng, float f2, float f4) {
this.zzb = latLng;
this.zzc = f2;
this.zzd = f4;
return this;
}
public GroundOverlayOptions anchor(float f2, float f4) {
this.zzj = f2;
this.zzk = f4;
return this;
}
public GroundOverlayOptions bearing(float f2) {
this.zzf = ((f2 % 360.0f) + 360.0f) % 360.0f;
return this;
}
public GroundOverlayOptions clickable(boolean z3) {
this.zzl = z3;
return this;
}
public float getAnchorU() {
return this.zzj;
}
public float getAnchorV() {
return this.zzk;
}
public float getBearing() {
return this.zzf;
}
public LatLngBounds getBounds() {
return this.zze;
}
public float getHeight() {
return this.zzd;
}
public BitmapDescriptor getImage() {
return this.zza;
}
public LatLng getLocation() {
return this.zzb;
}
public float getTransparency() {
return this.zzi;
}
public float getWidth() {
return this.zzc;
}
public float getZIndex() {
return this.zzg;
}
public GroundOverlayOptions image(BitmapDescriptor bitmapDescriptor) {
Preconditions.checkNotNull(bitmapDescriptor, "imageDescriptor must not be null");
this.zza = bitmapDescriptor;
return this;
}
public boolean isClickable() {
return this.zzl;
}
public boolean isVisible() {
return this.zzh;
}
public GroundOverlayOptions position(LatLng latLng, float f2) {
Preconditions.checkState(this.zze == null, "Position has already been set using positionFromBounds");
Preconditions.checkArgument(latLng != null, "Location must be specified");
Preconditions.checkArgument(f2 >= BitmapDescriptorFactory.HUE_RED, "Width must be non-negative");
zza(latLng, f2, -1.0f);
return this;
}
public GroundOverlayOptions positionFromBounds(LatLngBounds latLngBounds) {
LatLng latLng = this.zzb;
Preconditions.checkState(latLng == null, "Position has already been set using position: ".concat(String.valueOf(latLng)));
this.zze = latLngBounds;
return this;
}
public GroundOverlayOptions transparency(float f2) {
boolean z3 = false;
if (f2 >= BitmapDescriptorFactory.HUE_RED && f2 <= 1.0f) {
z3 = true;
}
Preconditions.checkArgument(z3, "Transparency must be in the range [0..1]");
this.zzi = f2;
return this;
}
public GroundOverlayOptions visible(boolean z3) {
this.zzh = z3;
return this;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeIBinder(parcel, 2, this.zza.zza().asBinder(), false);
SafeParcelWriter.writeParcelable(parcel, 3, getLocation(), i, false);
SafeParcelWriter.writeFloat(parcel, 4, getWidth());
SafeParcelWriter.writeFloat(parcel, 5, getHeight());
SafeParcelWriter.writeParcelable(parcel, 6, getBounds(), i, false);
SafeParcelWriter.writeFloat(parcel, 7, getBearing());
SafeParcelWriter.writeFloat(parcel, 8, getZIndex());
SafeParcelWriter.writeBoolean(parcel, 9, isVisible());
SafeParcelWriter.writeFloat(parcel, 10, getTransparency());
SafeParcelWriter.writeFloat(parcel, 11, getAnchorU());
SafeParcelWriter.writeFloat(parcel, 12, getAnchorV());
SafeParcelWriter.writeBoolean(parcel, 13, isClickable());
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public GroundOverlayOptions zIndex(float f2) {
this.zzg = f2;
return this;
}
@SafeParcelable.Constructor
public GroundOverlayOptions(@SafeParcelable.Param(id = 2) IBinder iBinder, @SafeParcelable.Param(id = 3) LatLng latLng, @SafeParcelable.Param(id = 4) float f2, @SafeParcelable.Param(id = 5) float f4, @SafeParcelable.Param(id = 6) LatLngBounds latLngBounds, @SafeParcelable.Param(id = 7) float f5, @SafeParcelable.Param(id = 8) float f6, @SafeParcelable.Param(id = 9) boolean z3, @SafeParcelable.Param(id = 10) float f7, @SafeParcelable.Param(id = 11) float f8, @SafeParcelable.Param(id = 12) float f9, @SafeParcelable.Param(id = 13) boolean z4) {
this.zzh = true;
this.zzi = BitmapDescriptorFactory.HUE_RED;
this.zzj = 0.5f;
this.zzk = 0.5f;
this.zzl = false;
this.zza = new BitmapDescriptor(IObjectWrapper.Stub.asInterface(iBinder));
this.zzb = latLng;
this.zzc = f2;
this.zzd = f4;
this.zze = latLngBounds;
this.zzf = f5;
this.zzg = f6;
this.zzh = z3;
this.zzi = f7;
this.zzj = f8;
this.zzk = f9;
this.zzl = z4;
}
public GroundOverlayOptions position(LatLng latLng, float f2, float f4) {
Preconditions.checkState(this.zze == null, "Position has already been set using positionFromBounds");
Preconditions.checkArgument(latLng != null, "Location must be specified");
Preconditions.checkArgument(f2 >= BitmapDescriptorFactory.HUE_RED, "Width must be non-negative");
Preconditions.checkArgument(f4 >= BitmapDescriptorFactory.HUE_RED, "Height must be non-negative");
zza(latLng, f2, f4);
return this;
}
}

View File

@@ -0,0 +1,77 @@
package com.google.android.gms.maps.model;
import android.os.IBinder;
import android.os.RemoteException;
import com.google.android.gms.common.internal.Preconditions;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/* loaded from: classes3.dex */
public final class IndoorBuilding {
private final com.google.android.gms.internal.maps.zzu zza;
private final zzh zzb;
public IndoorBuilding(com.google.android.gms.internal.maps.zzu zzuVar) {
zzh zzhVar = zzh.zza;
this.zza = (com.google.android.gms.internal.maps.zzu) Preconditions.checkNotNull(zzuVar, "delegate");
this.zzb = (zzh) Preconditions.checkNotNull(zzhVar, "shim");
}
public boolean equals(Object obj) {
if (!(obj instanceof IndoorBuilding)) {
return false;
}
try {
return this.zza.zzh(((IndoorBuilding) obj).zza);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int getActiveLevelIndex() {
try {
return this.zza.zzd();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int getDefaultLevelIndex() {
try {
return this.zza.zze();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public List<IndoorLevel> getLevels() {
try {
List zzg = this.zza.zzg();
ArrayList arrayList = new ArrayList(zzg.size());
Iterator it = zzg.iterator();
while (it.hasNext()) {
arrayList.add(new IndoorLevel(com.google.android.gms.internal.maps.zzw.zzb((IBinder) it.next())));
}
return arrayList;
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int hashCode() {
try {
return this.zza.zzf();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isUnderground() {
try {
return this.zza.zzi();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
}

View File

@@ -0,0 +1,56 @@
package com.google.android.gms.maps.model;
import android.os.RemoteException;
import com.google.android.gms.common.internal.Preconditions;
/* loaded from: classes3.dex */
public final class IndoorLevel {
private final com.google.android.gms.internal.maps.zzx zza;
public IndoorLevel(com.google.android.gms.internal.maps.zzx zzxVar) {
this.zza = (com.google.android.gms.internal.maps.zzx) Preconditions.checkNotNull(zzxVar);
}
public void activate() {
try {
this.zza.zzg();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean equals(Object obj) {
if (!(obj instanceof IndoorLevel)) {
return false;
}
try {
return this.zza.zzh(((IndoorLevel) obj).zza);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public String getName() {
try {
return this.zza.zze();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public String getShortName() {
try {
return this.zza.zzf();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int hashCode() {
try {
return this.zza.zzd();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
}

View File

@@ -0,0 +1,11 @@
package com.google.android.gms.maps.model;
/* loaded from: classes3.dex */
public final class JointType {
public static final int BEVEL = 1;
public static final int DEFAULT = 0;
public static final int ROUND = 2;
private JointType() {
}
}

View File

@@ -0,0 +1,65 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.google.android.gms.common.internal.ReflectedParcelable;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
@SafeParcelable.Class(creator = "LatLngCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class LatLng extends AbstractSafeParcelable implements ReflectedParcelable {
@KeepForSdk
public static final Parcelable.Creator<LatLng> CREATOR = new zzj();
@SafeParcelable.Field(id = 2)
public final double latitude;
@SafeParcelable.Field(id = 3)
public final double longitude;
@SafeParcelable.Constructor
public LatLng(@SafeParcelable.Param(id = 2) double d4, @SafeParcelable.Param(id = 3) double d5) {
if (d5 < -180.0d || d5 >= 180.0d) {
this.longitude = ((((d5 - 180.0d) % 360.0d) + 360.0d) % 360.0d) - 180.0d;
} else {
this.longitude = d5;
}
this.latitude = Math.max(-90.0d, Math.min(90.0d, d4));
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof LatLng)) {
return false;
}
LatLng latLng = (LatLng) obj;
return Double.doubleToLongBits(this.latitude) == Double.doubleToLongBits(latLng.latitude) && Double.doubleToLongBits(this.longitude) == Double.doubleToLongBits(latLng.longitude);
}
public int hashCode() {
long doubleToLongBits = Double.doubleToLongBits(this.latitude);
long j4 = doubleToLongBits ^ (doubleToLongBits >>> 32);
long doubleToLongBits2 = Double.doubleToLongBits(this.longitude);
return ((((int) j4) + 31) * 31) + ((int) (doubleToLongBits2 ^ (doubleToLongBits2 >>> 32)));
}
public String toString() {
return "lat/lng: (" + this.latitude + "," + this.longitude + ")";
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
double d4 = this.latitude;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeDouble(parcel, 2, d4);
SafeParcelWriter.writeDouble(parcel, 3, this.longitude);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
}

View File

@@ -0,0 +1,154 @@
package com.google.android.gms.maps.model;
import android.content.Context;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.AttributeSet;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.internal.ReflectedParcelable;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.maps.GoogleMapOptions;
@SafeParcelable.Class(creator = "LatLngBoundsCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class LatLngBounds extends AbstractSafeParcelable implements ReflectedParcelable {
@KeepForSdk
public static final Parcelable.Creator<LatLngBounds> CREATOR = new zzi();
@SafeParcelable.Field(id = 3)
public final LatLng northeast;
@SafeParcelable.Field(id = 2)
public final LatLng southwest;
/* loaded from: classes3.dex */
public static final class Builder {
private double zza = Double.POSITIVE_INFINITY;
private double zzb = Double.NEGATIVE_INFINITY;
private double zzc = Double.NaN;
private double zzd = Double.NaN;
public LatLngBounds build() {
Preconditions.checkState(!Double.isNaN(this.zzc), "no included points");
return new LatLngBounds(new LatLng(this.zza, this.zzc), new LatLng(this.zzb, this.zzd));
}
public Builder include(LatLng latLng) {
Preconditions.checkNotNull(latLng, "point must not be null");
this.zza = Math.min(this.zza, latLng.latitude);
this.zzb = Math.max(this.zzb, latLng.latitude);
double d4 = latLng.longitude;
if (Double.isNaN(this.zzc)) {
this.zzc = d4;
this.zzd = d4;
return this;
}
double d5 = this.zzc;
double d6 = this.zzd;
if (d5 > d6 ? !(d5 <= d4 || d4 <= d6) : !(d5 <= d4 && d4 <= d6)) {
Parcelable.Creator<LatLngBounds> creator = LatLngBounds.CREATOR;
if (((d5 - d4) + 360.0d) % 360.0d < ((d4 - d6) + 360.0d) % 360.0d) {
this.zzc = d4;
return this;
}
this.zzd = d4;
}
return this;
}
}
@SafeParcelable.Constructor
public LatLngBounds(@SafeParcelable.Param(id = 2) LatLng latLng, @SafeParcelable.Param(id = 3) LatLng latLng2) {
Preconditions.checkNotNull(latLng, "southwest must not be null.");
Preconditions.checkNotNull(latLng2, "northeast must not be null.");
double d4 = latLng2.latitude;
double d5 = latLng.latitude;
Preconditions.checkArgument(d4 >= d5, "southern latitude exceeds northern latitude (%s > %s)", Double.valueOf(d5), Double.valueOf(latLng2.latitude));
this.southwest = latLng;
this.northeast = latLng2;
}
public static Builder builder() {
return new Builder();
}
public static LatLngBounds createFromAttributes(Context context, AttributeSet attributeSet) {
return GoogleMapOptions.zzb(context, attributeSet);
}
private final boolean zza(double d4) {
LatLng latLng = this.northeast;
double d5 = this.southwest.longitude;
double d6 = latLng.longitude;
return d5 <= d6 ? d5 <= d4 && d4 <= d6 : d5 <= d4 || d4 <= d6;
}
public boolean contains(LatLng latLng) {
LatLng latLng2 = (LatLng) Preconditions.checkNotNull(latLng, "point must not be null.");
double d4 = latLng2.latitude;
return this.southwest.latitude <= d4 && d4 <= this.northeast.latitude && zza(latLng2.longitude);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof LatLngBounds)) {
return false;
}
LatLngBounds latLngBounds = (LatLngBounds) obj;
return this.southwest.equals(latLngBounds.southwest) && this.northeast.equals(latLngBounds.northeast);
}
public LatLng getCenter() {
LatLng latLng = this.northeast;
LatLng latLng2 = this.southwest;
double d4 = latLng2.latitude + latLng.latitude;
double d5 = latLng.longitude;
double d6 = latLng2.longitude;
if (d6 > d5) {
d5 += 360.0d;
}
return new LatLng(d4 / 2.0d, (d5 + d6) / 2.0d);
}
public int hashCode() {
return Objects.hashCode(this.southwest, this.northeast);
}
public LatLngBounds including(LatLng latLng) {
LatLng latLng2 = (LatLng) Preconditions.checkNotNull(latLng, "point must not be null.");
double min = Math.min(this.southwest.latitude, latLng2.latitude);
double max = Math.max(this.northeast.latitude, latLng2.latitude);
double d4 = this.northeast.longitude;
double d5 = this.southwest.longitude;
double d6 = latLng2.longitude;
if (!zza(d6)) {
if (((d5 - d6) + 360.0d) % 360.0d < ((d6 - d4) + 360.0d) % 360.0d) {
d5 = d6;
} else {
d4 = d6;
}
}
return new LatLngBounds(new LatLng(min, d5), new LatLng(max, d4));
}
public String toString() {
return Objects.toStringHelper(this).add("southwest", this.southwest).add("northeast", this.northeast).toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
LatLng latLng = this.southwest;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeParcelable(parcel, 2, latLng, i, false);
SafeParcelWriter.writeParcelable(parcel, 3, this.northeast, i, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
}

View File

@@ -0,0 +1,21 @@
package com.google.android.gms.maps.model;
import android.os.RemoteException;
import com.google.android.gms.common.internal.Preconditions;
/* loaded from: classes3.dex */
public final class MapCapabilities {
private final com.google.android.gms.internal.maps.zzaa zza;
public MapCapabilities(com.google.android.gms.internal.maps.zzaa zzaaVar) {
this.zza = (com.google.android.gms.internal.maps.zzaa) Preconditions.checkNotNull(zzaaVar);
}
public boolean isAdvancedMarkersAvailable() {
try {
return this.zza.zzd();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
}

View File

@@ -0,0 +1,45 @@
package com.google.android.gms.maps.model;
import android.content.Context;
import android.content.res.Resources;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.common.util.IOUtils;
import java.io.IOException;
@SafeParcelable.Class(creator = "MapStyleOptionsCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class MapStyleOptions extends AbstractSafeParcelable {
public static final Parcelable.Creator<MapStyleOptions> CREATOR = new zzk();
private static final String zza = "MapStyleOptions";
@SafeParcelable.Field(getter = "getJson", id = 2)
private final String zzb;
@SafeParcelable.Constructor
public MapStyleOptions(@SafeParcelable.Param(id = 2) String str) {
Preconditions.checkNotNull(str, "json must not be null");
this.zzb = str;
}
public static MapStyleOptions loadRawResourceStyle(Context context, int i) throws Resources.NotFoundException {
try {
return new MapStyleOptions(new String(IOUtils.readInputStreamFully(context.getResources().openRawResource(i)), "UTF-8"));
} catch (IOException e4) {
throw new Resources.NotFoundException("Failed to read resource " + i + ": " + e4.toString());
}
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
String str = this.zzb;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeString(parcel, 2, str, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
}

View File

@@ -0,0 +1,264 @@
package com.google.android.gms.maps.model;
import android.os.RemoteException;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.dynamic.ObjectWrapper;
/* loaded from: classes3.dex */
public class Marker {
protected final com.google.android.gms.internal.maps.zzad zza;
public Marker(com.google.android.gms.internal.maps.zzad zzadVar) {
this.zza = (com.google.android.gms.internal.maps.zzad) Preconditions.checkNotNull(zzadVar);
}
public boolean equals(Object obj) {
if (!(obj instanceof Marker)) {
return false;
}
try {
return this.zza.zzE(((Marker) obj).zza);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getAlpha() {
try {
return this.zza.zzd();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public String getId() {
try {
return this.zza.zzk();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public LatLng getPosition() {
try {
return this.zza.zzj();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getRotation() {
try {
return this.zza.zze();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public String getSnippet() {
try {
return this.zza.zzl();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public Object getTag() {
try {
return ObjectWrapper.unwrap(this.zza.zzi());
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public String getTitle() {
try {
return this.zza.zzm();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getZIndex() {
try {
return this.zza.zzf();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int hashCode() {
try {
return this.zza.zzg();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void hideInfoWindow() {
try {
this.zza.zzn();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isDraggable() {
try {
return this.zza.zzF();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isFlat() {
try {
return this.zza.zzG();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isInfoWindowShown() {
try {
return this.zza.zzH();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isVisible() {
try {
return this.zza.zzI();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void remove() {
try {
this.zza.zzo();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setAlpha(float f2) {
try {
this.zza.zzp(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setAnchor(float f2, float f4) {
try {
this.zza.zzq(f2, f4);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setDraggable(boolean z3) {
try {
this.zza.zzr(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setFlat(boolean z3) {
try {
this.zza.zzs(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setIcon(BitmapDescriptor bitmapDescriptor) {
try {
if (bitmapDescriptor == null) {
this.zza.zzt(null);
} else {
this.zza.zzt(bitmapDescriptor.zza());
}
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setInfoWindowAnchor(float f2, float f4) {
try {
this.zza.zzv(f2, f4);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setPosition(LatLng latLng) {
if (latLng == null) {
throw new IllegalArgumentException("latlng cannot be null - a position is required.");
}
try {
this.zza.zzw(latLng);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setRotation(float f2) {
try {
this.zza.zzx(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setSnippet(String str) {
try {
this.zza.zzy(str);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setTag(Object obj) {
try {
this.zza.zzz(ObjectWrapper.wrap(obj));
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setTitle(String str) {
try {
this.zza.zzA(str);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setVisible(boolean z3) {
try {
this.zza.zzB(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setZIndex(float f2) {
try {
this.zza.zzC(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void showInfoWindow() {
try {
this.zza.zzD();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
}

View File

@@ -0,0 +1,305 @@
package com.google.android.gms.maps.model;
import android.os.IBinder;
import android.os.Parcel;
import android.os.Parcelable;
import android.view.View;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.dynamic.IObjectWrapper;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.maps.model.AdvancedMarkerOptions;
@SafeParcelable.Class(creator = "MarkerOptionsCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public class MarkerOptions extends AbstractSafeParcelable {
public static final Parcelable.Creator<MarkerOptions> CREATOR = new zzl();
@SafeParcelable.Field(getter = "getPosition", id = 2)
private LatLng zza;
@SafeParcelable.Field(getter = "getTitle", id = 3)
private String zzb;
@SafeParcelable.Field(getter = "getSnippet", id = 4)
private String zzc;
@SafeParcelable.Field(getter = "getWrappedIconDescriptorImplBinder", id = 5, type = "android.os.IBinder")
private BitmapDescriptor zzd;
@SafeParcelable.Field(getter = "getAnchorU", id = 6)
private float zze;
@SafeParcelable.Field(getter = "getAnchorV", id = 7)
private float zzf;
@SafeParcelable.Field(getter = "isDraggable", id = 8)
private boolean zzg;
@SafeParcelable.Field(getter = "isVisible", id = 9)
private boolean zzh;
@SafeParcelable.Field(getter = "isFlat", id = 10)
private boolean zzi;
@SafeParcelable.Field(getter = "getRotation", id = 11)
private float zzj;
@SafeParcelable.Field(defaultValue = "0.5f", getter = "getInfoWindowAnchorU", id = 12)
private float zzk;
@SafeParcelable.Field(getter = "getInfoWindowAnchorV", id = 13)
private float zzl;
@SafeParcelable.Field(defaultValue = "1.0f", getter = "getAlpha", id = 14)
private float zzm;
@SafeParcelable.Field(getter = "getZIndex", id = 15)
private float zzn;
@AdvancedMarkerOptions.CollisionBehavior
@SafeParcelable.Field(getter = "getCollisionBehaviorInternal", id = 17)
private int zzo;
@SafeParcelable.Field(getter = "getIconViewBinder", id = 18, type = "android.os.IBinder")
private View zzp;
@SafeParcelable.Field(getter = "getMarkerType", id = 19)
private int zzq;
@SafeParcelable.Field(getter = "getContentDescription", id = 20)
private String zzr;
@SafeParcelable.Field(getter = "getAltitudeInternal", id = 21)
private float zzs;
public MarkerOptions() {
this.zze = 0.5f;
this.zzf = 1.0f;
this.zzh = true;
this.zzi = false;
this.zzj = BitmapDescriptorFactory.HUE_RED;
this.zzk = 0.5f;
this.zzl = BitmapDescriptorFactory.HUE_RED;
this.zzm = 1.0f;
this.zzo = 0;
}
public MarkerOptions alpha(float f2) {
this.zzm = f2;
return this;
}
public MarkerOptions anchor(float f2, float f4) {
this.zze = f2;
this.zzf = f4;
return this;
}
public MarkerOptions contentDescription(String str) {
this.zzr = str;
return this;
}
public MarkerOptions draggable(boolean z3) {
this.zzg = z3;
return this;
}
public MarkerOptions flat(boolean z3) {
this.zzi = z3;
return this;
}
public float getAlpha() {
return this.zzm;
}
public float getAnchorU() {
return this.zze;
}
public float getAnchorV() {
return this.zzf;
}
public BitmapDescriptor getIcon() {
return this.zzd;
}
public float getInfoWindowAnchorU() {
return this.zzk;
}
public float getInfoWindowAnchorV() {
return this.zzl;
}
public LatLng getPosition() {
return this.zza;
}
public float getRotation() {
return this.zzj;
}
public String getSnippet() {
return this.zzc;
}
public String getTitle() {
return this.zzb;
}
public float getZIndex() {
return this.zzn;
}
public MarkerOptions icon(BitmapDescriptor bitmapDescriptor) {
this.zzd = bitmapDescriptor;
return this;
}
public MarkerOptions infoWindowAnchor(float f2, float f4) {
this.zzk = f2;
this.zzl = f4;
return this;
}
public boolean isDraggable() {
return this.zzg;
}
public boolean isFlat() {
return this.zzi;
}
public boolean isVisible() {
return this.zzh;
}
public MarkerOptions position(LatLng latLng) {
if (latLng == null) {
throw new IllegalArgumentException("latlng cannot be null - a position is required.");
}
this.zza = latLng;
return this;
}
public MarkerOptions rotation(float f2) {
this.zzj = f2;
return this;
}
public MarkerOptions snippet(String str) {
this.zzc = str;
return this;
}
public MarkerOptions title(String str) {
this.zzb = str;
return this;
}
public MarkerOptions visible(boolean z3) {
this.zzh = z3;
return this;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeParcelable(parcel, 2, getPosition(), i, false);
SafeParcelWriter.writeString(parcel, 3, getTitle(), false);
SafeParcelWriter.writeString(parcel, 4, getSnippet(), false);
BitmapDescriptor bitmapDescriptor = this.zzd;
SafeParcelWriter.writeIBinder(parcel, 5, bitmapDescriptor == null ? null : bitmapDescriptor.zza().asBinder(), false);
SafeParcelWriter.writeFloat(parcel, 6, getAnchorU());
SafeParcelWriter.writeFloat(parcel, 7, getAnchorV());
SafeParcelWriter.writeBoolean(parcel, 8, isDraggable());
SafeParcelWriter.writeBoolean(parcel, 9, isVisible());
SafeParcelWriter.writeBoolean(parcel, 10, isFlat());
SafeParcelWriter.writeFloat(parcel, 11, getRotation());
SafeParcelWriter.writeFloat(parcel, 12, getInfoWindowAnchorU());
SafeParcelWriter.writeFloat(parcel, 13, getInfoWindowAnchorV());
SafeParcelWriter.writeFloat(parcel, 14, getAlpha());
SafeParcelWriter.writeFloat(parcel, 15, getZIndex());
SafeParcelWriter.writeInt(parcel, 17, this.zzo);
SafeParcelWriter.writeIBinder(parcel, 18, ObjectWrapper.wrap(this.zzp).asBinder(), false);
SafeParcelWriter.writeInt(parcel, 19, this.zzq);
SafeParcelWriter.writeString(parcel, 20, this.zzr, false);
SafeParcelWriter.writeFloat(parcel, 21, this.zzs);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public MarkerOptions zIndex(float f2) {
this.zzn = f2;
return this;
}
public final int zza() {
return this.zzo;
}
public final int zzb() {
return this.zzq;
}
public final View zzc() {
return this.zzp;
}
public final MarkerOptions zzd(@AdvancedMarkerOptions.CollisionBehavior int i) {
this.zzo = i;
return this;
}
public final MarkerOptions zze(View view) {
this.zzp = view;
return this;
}
public final MarkerOptions zzf(int i) {
this.zzq = 1;
return this;
}
@SafeParcelable.Constructor
public MarkerOptions(@SafeParcelable.Param(id = 2) LatLng latLng, @SafeParcelable.Param(id = 3) String str, @SafeParcelable.Param(id = 4) String str2, @SafeParcelable.Param(id = 5) IBinder iBinder, @SafeParcelable.Param(id = 6) float f2, @SafeParcelable.Param(id = 7) float f4, @SafeParcelable.Param(id = 8) boolean z3, @SafeParcelable.Param(id = 9) boolean z4, @SafeParcelable.Param(id = 10) boolean z5, @SafeParcelable.Param(id = 11) float f5, @SafeParcelable.Param(id = 12) float f6, @SafeParcelable.Param(id = 13) float f7, @SafeParcelable.Param(id = 14) float f8, @SafeParcelable.Param(id = 15) float f9, @SafeParcelable.Param(id = 17) int i, @SafeParcelable.Param(id = 18) IBinder iBinder2, @SafeParcelable.Param(id = 19) int i4, @SafeParcelable.Param(id = 20) String str3, @SafeParcelable.Param(id = 21) float f10) {
this.zze = 0.5f;
this.zzf = 1.0f;
this.zzh = true;
this.zzi = false;
this.zzj = BitmapDescriptorFactory.HUE_RED;
this.zzk = 0.5f;
this.zzl = BitmapDescriptorFactory.HUE_RED;
this.zzm = 1.0f;
this.zzo = 0;
this.zza = latLng;
this.zzb = str;
this.zzc = str2;
if (iBinder == null) {
this.zzd = null;
} else {
this.zzd = new BitmapDescriptor(IObjectWrapper.Stub.asInterface(iBinder));
}
this.zze = f2;
this.zzf = f4;
this.zzg = z3;
this.zzh = z4;
this.zzi = z5;
this.zzj = f5;
this.zzk = f6;
this.zzl = f7;
this.zzm = f8;
this.zzn = f9;
this.zzq = i4;
this.zzo = i;
IObjectWrapper asInterface = IObjectWrapper.Stub.asInterface(iBinder2);
this.zzp = asInterface != null ? (View) ObjectWrapper.unwrap(asInterface) : null;
this.zzr = str3;
this.zzs = f10;
}
}

View File

@@ -0,0 +1,97 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.Log;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
@SafeParcelable.Class(creator = "PatternItemCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public class PatternItem extends AbstractSafeParcelable {
public static final Parcelable.Creator<PatternItem> CREATOR = new zzm();
private static final String zza = "PatternItem";
@SafeParcelable.Field(getter = "getType", id = 2)
private final int zzb;
@SafeParcelable.Field(getter = "getLength", id = 3)
private final Float zzc;
@SafeParcelable.Constructor
public PatternItem(@SafeParcelable.Param(id = 2) int i, @SafeParcelable.Param(id = 3) Float f2) {
boolean z3 = true;
if (i != 1 && (f2 == null || f2.floatValue() < BitmapDescriptorFactory.HUE_RED)) {
z3 = false;
}
Preconditions.checkArgument(z3, "Invalid PatternItem: type=" + i + " length=" + f2);
this.zzb = i;
this.zzc = f2;
}
public static List zza(List list) {
PatternItem dash;
if (list == null) {
return null;
}
ArrayList arrayList = new ArrayList(list.size());
Iterator it = list.iterator();
while (it.hasNext()) {
PatternItem patternItem = (PatternItem) it.next();
if (patternItem == null) {
patternItem = null;
} else {
int i = patternItem.zzb;
if (i == 0) {
Preconditions.checkState(patternItem.zzc != null, "length must not be null.");
dash = new Dash(patternItem.zzc.floatValue());
} else if (i == 1) {
patternItem = new Dot();
} else if (i != 2) {
Log.w(zza, "Unknown PatternItem type: " + i);
} else {
Preconditions.checkState(patternItem.zzc != null, "length must not be null.");
dash = new Gap(patternItem.zzc.floatValue());
}
patternItem = dash;
}
arrayList.add(patternItem);
}
return arrayList;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof PatternItem)) {
return false;
}
PatternItem patternItem = (PatternItem) obj;
return this.zzb == patternItem.zzb && Objects.equal(this.zzc, patternItem.zzc);
}
public int hashCode() {
return Objects.hashCode(Integer.valueOf(this.zzb), this.zzc);
}
public String toString() {
return "[PatternItem: type=" + this.zzb + " length=" + this.zzc + "]";
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
int i4 = this.zzb;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeInt(parcel, 2, i4);
SafeParcelWriter.writeFloatObject(parcel, 3, this.zzc, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
}

View File

@@ -0,0 +1,196 @@
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.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.dynamic.IObjectWrapper;
import com.google.android.gms.dynamic.ObjectWrapper;
import java.util.Arrays;
@SafeParcelable.Class(creator = "PinConfigCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public class PinConfig extends AbstractSafeParcelable {
public static final int BITMAP_LENGTH_DP = 37;
public static final int BITMAP_WIDTH_DP = 26;
public static final Parcelable.Creator<PinConfig> CREATOR = new zzo();
public static final int DEFAULT_PIN_BACKGROUND_COLOR = -1424587;
public static final int DEFAULT_PIN_BORDER_COLOR = -3857889;
public static final int DEFAULT_PIN_GLYPH_COLOR = -5041134;
@SafeParcelable.Field(getter = "getBackgroundColor", id = 2)
private final int zza;
@SafeParcelable.Field(getter = "getBorderColor", id = 3)
private final int zzb;
@SafeParcelable.Field(getter = "getGlyph", id = 4)
private final Glyph zzc;
/* loaded from: classes3.dex */
public static class Builder {
private int zza = PinConfig.DEFAULT_PIN_BACKGROUND_COLOR;
private int zzb = PinConfig.DEFAULT_PIN_BORDER_COLOR;
private Glyph zzc = new Glyph(PinConfig.DEFAULT_PIN_GLYPH_COLOR);
public PinConfig build() {
return new PinConfig(this.zza, this.zzb, this.zzc);
}
public Builder setBackgroundColor(int i) {
this.zza = i;
return this;
}
public Builder setBorderColor(int i) {
this.zzb = i;
return this;
}
public Builder setGlyph(Glyph glyph) {
this.zzc = glyph;
return this;
}
}
@SafeParcelable.Class(creator = "GlyphCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public static class Glyph extends AbstractSafeParcelable {
public static final Parcelable.Creator<Glyph> CREATOR = new zzf();
public static final float DEFAULT_CIRCLE_RADIUS_DP = 5.0f;
public static final float X_COORDINATE_DP = 13.0f;
public static final float Y_COORDINATE_DP = 13.0f;
@SafeParcelable.Field(getter = "getText", id = 2)
private String zza;
@SafeParcelable.Field(getter = "getWrappedBitmapDescriptorBinder", id = 3, type = "android.os.IBinder")
private BitmapDescriptor zzb;
@SafeParcelable.Field(getter = "getGlyphColor", id = 4)
private int zzc;
@SafeParcelable.Field(getter = "getTextColor", id = 5)
private int zzd;
public Glyph(int i) {
this.zzd = -16777216;
this.zzc = i;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof Glyph)) {
return false;
}
Glyph glyph = (Glyph) obj;
if (this.zzc != glyph.zzc || !zzn.zza(this.zza, glyph.zza) || this.zzd != glyph.zzd) {
return false;
}
BitmapDescriptor bitmapDescriptor = this.zzb;
if ((bitmapDescriptor == null && glyph.zzb != null) || (bitmapDescriptor != null && glyph.zzb == null)) {
return false;
}
BitmapDescriptor bitmapDescriptor2 = glyph.zzb;
if (bitmapDescriptor == null || bitmapDescriptor2 == null) {
return true;
}
return zzn.zza(ObjectWrapper.unwrap(bitmapDescriptor.zza()), ObjectWrapper.unwrap(bitmapDescriptor2.zza()));
}
public BitmapDescriptor getBitmapDescriptor() {
return this.zzb;
}
public int getGlyphColor() {
return this.zzc;
}
public String getText() {
return this.zza;
}
public int getTextColor() {
return this.zzd;
}
public int hashCode() {
return Arrays.hashCode(new Object[]{this.zza, this.zzb, Integer.valueOf(this.zzc)});
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeString(parcel, 2, getText(), false);
BitmapDescriptor bitmapDescriptor = this.zzb;
SafeParcelWriter.writeIBinder(parcel, 3, bitmapDescriptor == null ? null : bitmapDescriptor.zza().asBinder(), false);
SafeParcelWriter.writeInt(parcel, 4, getGlyphColor());
SafeParcelWriter.writeInt(parcel, 5, getTextColor());
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public Glyph(BitmapDescriptor bitmapDescriptor) {
this.zzc = PinConfig.DEFAULT_PIN_GLYPH_COLOR;
this.zzd = -16777216;
this.zzb = bitmapDescriptor;
}
public Glyph(String str) {
this(str, -16777216);
}
public Glyph(String str, int i) {
this.zzc = PinConfig.DEFAULT_PIN_GLYPH_COLOR;
this.zza = str;
this.zzd = i;
}
@SafeParcelable.Constructor
public Glyph(@SafeParcelable.Param(id = 2) String str, @SafeParcelable.Param(id = 3) IBinder iBinder, @SafeParcelable.Param(id = 4) int i, @SafeParcelable.Param(id = 5) int i4) {
this.zzc = PinConfig.DEFAULT_PIN_GLYPH_COLOR;
this.zzd = -16777216;
this.zza = str;
this.zzb = iBinder == null ? null : new BitmapDescriptor(IObjectWrapper.Stub.asInterface(iBinder));
this.zzc = i;
this.zzd = i4;
}
}
@SafeParcelable.Constructor
public PinConfig(@SafeParcelable.Param(id = 2) int i, @SafeParcelable.Param(id = 3) int i4, @SafeParcelable.Param(id = 4) Glyph glyph) {
this.zza = i;
this.zzb = i4;
this.zzc = glyph;
}
public static Builder builder() {
return new Builder();
}
public int getBackgroundColor() {
return this.zza;
}
public int getBorderColor() {
return this.zzb;
}
public Glyph getGlyph() {
return this.zzc;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeInt(parcel, 2, getBackgroundColor());
SafeParcelWriter.writeInt(parcel, 3, getBorderColor());
SafeParcelWriter.writeParcelable(parcel, 4, getGlyph(), i, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
}

View File

@@ -0,0 +1,40 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
@SafeParcelable.Class(creator = "PointOfInterestCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class PointOfInterest extends AbstractSafeParcelable {
public static final Parcelable.Creator<PointOfInterest> CREATOR = new zzp();
@SafeParcelable.Field(id = 2)
public final LatLng latLng;
@SafeParcelable.Field(id = 4)
public final String name;
@SafeParcelable.Field(id = 3)
public final String placeId;
@SafeParcelable.Constructor
public PointOfInterest(@SafeParcelable.Param(id = 2) LatLng latLng, @SafeParcelable.Param(id = 3) String str, @SafeParcelable.Param(id = 4) String str2) {
this.latLng = latLng;
this.placeId = str;
this.name = str2;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
LatLng latLng = this.latLng;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeParcelable(parcel, 2, latLng, i, false);
SafeParcelWriter.writeString(parcel, 3, this.placeId, false);
SafeParcelWriter.writeString(parcel, 4, this.name, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
}

View File

@@ -0,0 +1,243 @@
package com.google.android.gms.maps.model;
import android.os.RemoteException;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.dynamic.ObjectWrapper;
import java.util.List;
/* loaded from: classes3.dex */
public final class Polygon {
private final com.google.android.gms.internal.maps.zzag zza;
public Polygon(com.google.android.gms.internal.maps.zzag zzagVar) {
this.zza = (com.google.android.gms.internal.maps.zzag) Preconditions.checkNotNull(zzagVar);
}
public boolean equals(Object obj) {
if (!(obj instanceof Polygon)) {
return false;
}
try {
return this.zza.zzB(((Polygon) obj).zza);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int getFillColor() {
try {
return this.zza.zzf();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public List<List<LatLng>> getHoles() {
try {
return this.zza.zzl();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public String getId() {
try {
return this.zza.zzk();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public List<LatLng> getPoints() {
try {
return this.zza.zzm();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int getStrokeColor() {
try {
return this.zza.zzg();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int getStrokeJointType() {
try {
return this.zza.zzh();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public List<PatternItem> getStrokePattern() {
try {
return PatternItem.zza(this.zza.zzn());
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getStrokeWidth() {
try {
return this.zza.zzd();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public Object getTag() {
try {
return ObjectWrapper.unwrap(this.zza.zzj());
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getZIndex() {
try {
return this.zza.zze();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int hashCode() {
try {
return this.zza.zzi();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isClickable() {
try {
return this.zza.zzC();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isGeodesic() {
try {
return this.zza.zzD();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isVisible() {
try {
return this.zza.zzE();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void remove() {
try {
this.zza.zzo();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setClickable(boolean z3) {
try {
this.zza.zzp(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setFillColor(int i) {
try {
this.zza.zzq(i);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setGeodesic(boolean z3) {
try {
this.zza.zzr(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setHoles(List<? extends List<LatLng>> list) {
try {
this.zza.zzs(list);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setPoints(List<LatLng> list) {
try {
Preconditions.checkNotNull(list, "points must not be null.");
this.zza.zzt(list);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setStrokeColor(int i) {
try {
this.zza.zzu(i);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setStrokeJointType(int i) {
try {
this.zza.zzv(i);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setStrokePattern(List<PatternItem> list) {
try {
this.zza.zzw(list);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setStrokeWidth(float f2) {
try {
this.zza.zzx(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setTag(Object obj) {
try {
this.zza.zzy(ObjectWrapper.wrap(obj));
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setVisible(boolean z3) {
try {
this.zza.zzz(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setZIndex(float f2) {
try {
this.zza.zzA(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
}

View File

@@ -0,0 +1,219 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
@SafeParcelable.Class(creator = "PolygonOptionsCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class PolygonOptions extends AbstractSafeParcelable {
public static final Parcelable.Creator<PolygonOptions> CREATOR = new zzq();
@SafeParcelable.Field(getter = "getPoints", id = 2)
private final List zza;
@SafeParcelable.Field(getter = "getHolesForParcel", id = 3, type = "java.util.List")
private final List zzb;
@SafeParcelable.Field(getter = "getStrokeWidth", id = 4)
private float zzc;
@SafeParcelable.Field(getter = "getStrokeColor", id = 5)
private int zzd;
@SafeParcelable.Field(getter = "getFillColor", id = 6)
private int zze;
@SafeParcelable.Field(getter = "getZIndex", id = 7)
private float zzf;
@SafeParcelable.Field(getter = "isVisible", id = 8)
private boolean zzg;
@SafeParcelable.Field(getter = "isGeodesic", id = 9)
private boolean zzh;
@SafeParcelable.Field(getter = "isClickable", id = 10)
private boolean zzi;
@SafeParcelable.Field(getter = "getStrokeJointType", id = 11)
private int zzj;
@SafeParcelable.Field(getter = "getStrokePattern", id = 12)
private List zzk;
public PolygonOptions() {
this.zzc = 10.0f;
this.zzd = -16777216;
this.zze = 0;
this.zzf = BitmapDescriptorFactory.HUE_RED;
this.zzg = true;
this.zzh = false;
this.zzi = false;
this.zzj = 0;
this.zzk = null;
this.zza = new ArrayList();
this.zzb = new ArrayList();
}
public PolygonOptions add(LatLng latLng) {
Preconditions.checkNotNull(latLng, "point must not be null.");
this.zza.add(latLng);
return this;
}
public PolygonOptions addAll(Iterable<LatLng> iterable) {
Preconditions.checkNotNull(iterable, "points must not be null.");
Iterator<LatLng> it = iterable.iterator();
while (it.hasNext()) {
this.zza.add(it.next());
}
return this;
}
public PolygonOptions addHole(Iterable<LatLng> iterable) {
Preconditions.checkNotNull(iterable, "points must not be null.");
ArrayList arrayList = new ArrayList();
Iterator<LatLng> it = iterable.iterator();
while (it.hasNext()) {
arrayList.add(it.next());
}
this.zzb.add(arrayList);
return this;
}
public PolygonOptions clickable(boolean z3) {
this.zzi = z3;
return this;
}
public PolygonOptions fillColor(int i) {
this.zze = i;
return this;
}
public PolygonOptions geodesic(boolean z3) {
this.zzh = z3;
return this;
}
public int getFillColor() {
return this.zze;
}
public List<List<LatLng>> getHoles() {
return this.zzb;
}
public List<LatLng> getPoints() {
return this.zza;
}
public int getStrokeColor() {
return this.zzd;
}
public int getStrokeJointType() {
return this.zzj;
}
public List<PatternItem> getStrokePattern() {
return this.zzk;
}
public float getStrokeWidth() {
return this.zzc;
}
public float getZIndex() {
return this.zzf;
}
public boolean isClickable() {
return this.zzi;
}
public boolean isGeodesic() {
return this.zzh;
}
public boolean isVisible() {
return this.zzg;
}
public PolygonOptions strokeColor(int i) {
this.zzd = i;
return this;
}
public PolygonOptions strokeJointType(int i) {
this.zzj = i;
return this;
}
public PolygonOptions strokePattern(List<PatternItem> list) {
this.zzk = list;
return this;
}
public PolygonOptions strokeWidth(float f2) {
this.zzc = f2;
return this;
}
public PolygonOptions visible(boolean z3) {
this.zzg = z3;
return this;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeTypedList(parcel, 2, getPoints(), false);
SafeParcelWriter.writeList(parcel, 3, this.zzb, false);
SafeParcelWriter.writeFloat(parcel, 4, getStrokeWidth());
SafeParcelWriter.writeInt(parcel, 5, getStrokeColor());
SafeParcelWriter.writeInt(parcel, 6, getFillColor());
SafeParcelWriter.writeFloat(parcel, 7, getZIndex());
SafeParcelWriter.writeBoolean(parcel, 8, isVisible());
SafeParcelWriter.writeBoolean(parcel, 9, isGeodesic());
SafeParcelWriter.writeBoolean(parcel, 10, isClickable());
SafeParcelWriter.writeInt(parcel, 11, getStrokeJointType());
SafeParcelWriter.writeTypedList(parcel, 12, getStrokePattern(), false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public PolygonOptions zIndex(float f2) {
this.zzf = f2;
return this;
}
public PolygonOptions add(LatLng... latLngArr) {
Preconditions.checkNotNull(latLngArr, "points must not be null.");
this.zza.addAll(Arrays.asList(latLngArr));
return this;
}
@SafeParcelable.Constructor
public PolygonOptions(@SafeParcelable.Param(id = 2) List list, @SafeParcelable.Param(id = 3) List list2, @SafeParcelable.Param(id = 4) float f2, @SafeParcelable.Param(id = 5) int i, @SafeParcelable.Param(id = 6) int i4, @SafeParcelable.Param(id = 7) float f4, @SafeParcelable.Param(id = 8) boolean z3, @SafeParcelable.Param(id = 9) boolean z4, @SafeParcelable.Param(id = 10) boolean z5, @SafeParcelable.Param(id = 11) int i5, @SafeParcelable.Param(id = 12) List list3) {
this.zza = list;
this.zzb = list2;
this.zzc = f2;
this.zzd = i;
this.zze = i4;
this.zzf = f4;
this.zzg = z3;
this.zzh = z4;
this.zzi = z5;
this.zzj = i5;
this.zzk = list3;
}
}

View File

@@ -0,0 +1,262 @@
package com.google.android.gms.maps.model;
import android.os.RemoteException;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.maps.zzaj;
import java.util.List;
/* loaded from: classes3.dex */
public final class Polyline {
private final zzaj zza;
public Polyline(zzaj zzajVar) {
this.zza = (zzaj) Preconditions.checkNotNull(zzajVar);
}
public boolean equals(Object obj) {
if (!(obj instanceof Polyline)) {
return false;
}
try {
return this.zza.zzD(((Polyline) obj).zza);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int getColor() {
try {
return this.zza.zzf();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public Cap getEndCap() {
try {
return this.zza.zzj().zza();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public String getId() {
try {
return this.zza.zzl();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int getJointType() {
try {
return this.zza.zzg();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public List<PatternItem> getPattern() {
try {
return PatternItem.zza(this.zza.zzm());
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public List<LatLng> getPoints() {
try {
return this.zza.zzn();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public List<StyleSpan> getSpans() {
try {
return this.zza.zzo();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public Cap getStartCap() {
try {
return this.zza.zzk().zza();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public Object getTag() {
try {
return ObjectWrapper.unwrap(this.zza.zzi());
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getWidth() {
try {
return this.zza.zzd();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getZIndex() {
try {
return this.zza.zze();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int hashCode() {
try {
return this.zza.zzh();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isClickable() {
try {
return this.zza.zzE();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isGeodesic() {
try {
return this.zza.zzF();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isVisible() {
try {
return this.zza.zzG();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void remove() {
try {
this.zza.zzp();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setClickable(boolean z3) {
try {
this.zza.zzq(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setColor(int i) {
try {
this.zza.zzr(i);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setEndCap(Cap cap) {
Preconditions.checkNotNull(cap, "endCap must not be null");
try {
this.zza.zzs(cap);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setGeodesic(boolean z3) {
try {
this.zza.zzt(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setJointType(int i) {
try {
this.zza.zzu(i);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setPattern(List<PatternItem> list) {
try {
this.zza.zzv(list);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setPoints(List<LatLng> list) {
Preconditions.checkNotNull(list, "points must not be null");
try {
this.zza.zzw(list);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setSpans(List<StyleSpan> list) {
try {
this.zza.zzx(list);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setStartCap(Cap cap) {
Preconditions.checkNotNull(cap, "startCap must not be null");
try {
this.zza.zzy(cap);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setTag(Object obj) {
try {
this.zza.zzz(ObjectWrapper.wrap(obj));
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setVisible(boolean z3) {
try {
this.zza.zzA(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setWidth(float f2) {
try {
this.zza.zzB(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setZIndex(float f2) {
try {
this.zza.zzC(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
}

View File

@@ -0,0 +1,264 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.maps.model.StrokeStyle;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
@SafeParcelable.Class(creator = "PolylineOptionsCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class PolylineOptions extends AbstractSafeParcelable {
public static final Parcelable.Creator<PolylineOptions> CREATOR = new zzr();
@SafeParcelable.Field(getter = "getPoints", id = 2)
private final List zza;
@SafeParcelable.Field(getter = "getWidth", id = 3)
private float zzb;
@SafeParcelable.Field(getter = "getColor", id = 4)
private int zzc;
@SafeParcelable.Field(getter = "getZIndex", id = 5)
private float zzd;
@SafeParcelable.Field(getter = "isVisible", id = 6)
private boolean zze;
@SafeParcelable.Field(getter = "isGeodesic", id = 7)
private boolean zzf;
@SafeParcelable.Field(getter = "isClickable", id = 8)
private boolean zzg;
@SafeParcelable.Field(getter = "getStartCap", id = 9)
private Cap zzh;
@SafeParcelable.Field(getter = "getEndCap", id = 10)
private Cap zzi;
@SafeParcelable.Field(getter = "getJointType", id = 11)
private int zzj;
@SafeParcelable.Field(getter = "getPattern", id = 12)
private List zzk;
@SafeParcelable.Field(getter = "getSpans", id = 13)
private List zzl;
public PolylineOptions() {
this.zzb = 10.0f;
this.zzc = -16777216;
this.zzd = BitmapDescriptorFactory.HUE_RED;
this.zze = true;
this.zzf = false;
this.zzg = false;
this.zzh = new ButtCap();
this.zzi = new ButtCap();
this.zzj = 0;
this.zzk = null;
this.zzl = new ArrayList();
this.zza = new ArrayList();
}
public PolylineOptions add(LatLng latLng) {
Preconditions.checkNotNull(this.zza, "point must not be null.");
this.zza.add(latLng);
return this;
}
public PolylineOptions addAll(Iterable<LatLng> iterable) {
Preconditions.checkNotNull(iterable, "points must not be null.");
Iterator<LatLng> it = iterable.iterator();
while (it.hasNext()) {
this.zza.add(it.next());
}
return this;
}
public PolylineOptions addAllSpans(Iterable<StyleSpan> iterable) {
Iterator<StyleSpan> it = iterable.iterator();
while (it.hasNext()) {
addSpan(it.next());
}
return this;
}
public PolylineOptions addSpan(StyleSpan styleSpan) {
this.zzl.add(styleSpan);
return this;
}
public PolylineOptions clickable(boolean z3) {
this.zzg = z3;
return this;
}
public PolylineOptions color(int i) {
this.zzc = i;
return this;
}
public PolylineOptions endCap(Cap cap) {
this.zzi = (Cap) Preconditions.checkNotNull(cap, "endCap must not be null");
return this;
}
public PolylineOptions geodesic(boolean z3) {
this.zzf = z3;
return this;
}
public int getColor() {
return this.zzc;
}
public Cap getEndCap() {
return this.zzi.zza();
}
public int getJointType() {
return this.zzj;
}
public List<PatternItem> getPattern() {
return this.zzk;
}
public List<LatLng> getPoints() {
return this.zza;
}
public Cap getStartCap() {
return this.zzh.zza();
}
public float getWidth() {
return this.zzb;
}
public float getZIndex() {
return this.zzd;
}
public boolean isClickable() {
return this.zzg;
}
public boolean isGeodesic() {
return this.zzf;
}
public boolean isVisible() {
return this.zze;
}
public PolylineOptions jointType(int i) {
this.zzj = i;
return this;
}
public PolylineOptions pattern(List<PatternItem> list) {
this.zzk = list;
return this;
}
public PolylineOptions startCap(Cap cap) {
this.zzh = (Cap) Preconditions.checkNotNull(cap, "startCap must not be null");
return this;
}
public PolylineOptions visible(boolean z3) {
this.zze = z3;
return this;
}
public PolylineOptions width(float f2) {
this.zzb = f2;
return this;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeTypedList(parcel, 2, getPoints(), false);
SafeParcelWriter.writeFloat(parcel, 3, getWidth());
SafeParcelWriter.writeInt(parcel, 4, getColor());
SafeParcelWriter.writeFloat(parcel, 5, getZIndex());
SafeParcelWriter.writeBoolean(parcel, 6, isVisible());
SafeParcelWriter.writeBoolean(parcel, 7, isGeodesic());
SafeParcelWriter.writeBoolean(parcel, 8, isClickable());
SafeParcelWriter.writeParcelable(parcel, 9, getStartCap(), i, false);
SafeParcelWriter.writeParcelable(parcel, 10, getEndCap(), i, false);
SafeParcelWriter.writeInt(parcel, 11, getJointType());
SafeParcelWriter.writeTypedList(parcel, 12, getPattern(), false);
ArrayList arrayList = new ArrayList(this.zzl.size());
for (StyleSpan styleSpan : this.zzl) {
StrokeStyle.Builder builder = new StrokeStyle.Builder(styleSpan.getStyle());
builder.zzd(this.zzb);
builder.zzc(this.zze);
arrayList.add(new StyleSpan(builder.build(), styleSpan.getSegments()));
}
SafeParcelWriter.writeTypedList(parcel, 13, arrayList, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public PolylineOptions zIndex(float f2) {
this.zzd = f2;
return this;
}
public PolylineOptions addSpan(StyleSpan... styleSpanArr) {
for (StyleSpan styleSpan : styleSpanArr) {
addSpan(styleSpan);
}
return this;
}
public PolylineOptions add(LatLng... latLngArr) {
Preconditions.checkNotNull(latLngArr, "points must not be null.");
Collections.addAll(this.zza, latLngArr);
return this;
}
@SafeParcelable.Constructor
public PolylineOptions(@SafeParcelable.Param(id = 2) List list, @SafeParcelable.Param(id = 3) float f2, @SafeParcelable.Param(id = 4) int i, @SafeParcelable.Param(id = 5) float f4, @SafeParcelable.Param(id = 6) boolean z3, @SafeParcelable.Param(id = 7) boolean z4, @SafeParcelable.Param(id = 8) boolean z5, @SafeParcelable.Param(id = 9) Cap cap, @SafeParcelable.Param(id = 10) Cap cap2, @SafeParcelable.Param(id = 11) int i4, @SafeParcelable.Param(id = 12) List list2, @SafeParcelable.Param(id = 13) List list3) {
this.zzb = 10.0f;
this.zzc = -16777216;
this.zzd = BitmapDescriptorFactory.HUE_RED;
this.zze = true;
this.zzf = false;
this.zzg = false;
this.zzh = new ButtCap();
this.zzi = new ButtCap();
this.zzj = 0;
this.zzk = null;
this.zzl = new ArrayList();
this.zza = list;
this.zzb = f2;
this.zzc = i;
this.zzd = f4;
this.zze = z3;
this.zzf = z4;
this.zzg = z5;
if (cap != null) {
this.zzh = cap;
}
if (cap2 != null) {
this.zzi = cap2;
}
this.zzj = i4;
this.zzk = list2;
if (list3 != null) {
this.zzl = list3;
}
}
}

View File

@@ -0,0 +1,13 @@
package com.google.android.gms.maps.model;
/* loaded from: classes3.dex */
public final class RoundCap extends Cap {
public RoundCap() {
super(2);
}
@Override // com.google.android.gms.maps.model.Cap
public String toString() {
return "[RoundCap]";
}
}

View File

@@ -0,0 +1,10 @@
package com.google.android.gms.maps.model;
import android.os.RemoteException;
/* loaded from: classes3.dex */
public final class RuntimeRemoteException extends RuntimeException {
public RuntimeRemoteException(RemoteException remoteException) {
super(remoteException);
}
}

View File

@@ -0,0 +1,39 @@
package com.google.android.gms.maps.model;
import com.google.android.gms.maps.model.StampStyle;
/* loaded from: classes3.dex */
public class SpriteStyle extends StampStyle {
/* loaded from: classes3.dex */
public static final class Builder extends StampStyle.Builder<Builder> {
private Builder() {
}
public SpriteStyle build() {
return new SpriteStyle(this.zza);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // com.google.android.gms.maps.model.StampStyle.Builder
public Builder self() {
return this;
}
public /* synthetic */ Builder(zzs zzsVar) {
}
@Override // com.google.android.gms.maps.model.StampStyle.Builder
public final /* bridge */ /* synthetic */ Builder self() {
return this;
}
}
public SpriteStyle(BitmapDescriptor bitmapDescriptor) {
super(bitmapDescriptor);
}
public static Builder newBuilder(BitmapDescriptor bitmapDescriptor) {
return new Builder(null).stamp(bitmapDescriptor);
}
}

View File

@@ -0,0 +1,13 @@
package com.google.android.gms.maps.model;
/* loaded from: classes3.dex */
public final class SquareCap extends Cap {
public SquareCap() {
super(1);
}
@Override // com.google.android.gms.maps.model.Cap
public String toString() {
return "[SquareCap]";
}
}

View File

@@ -0,0 +1,52 @@
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.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.dynamic.IObjectWrapper;
@SafeParcelable.Class(creator = "StampStyleCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public class StampStyle extends AbstractSafeParcelable {
public static final Parcelable.Creator<StampStyle> CREATOR = new zzt();
@SafeParcelable.Field(getter = "getWrappedStampBinder", id = 2, type = "android.os.IBinder")
protected final BitmapDescriptor zza;
/* loaded from: classes3.dex */
public static abstract class Builder<T extends Builder<T>> {
BitmapDescriptor zza;
public abstract T self();
public T stamp(BitmapDescriptor bitmapDescriptor) {
this.zza = bitmapDescriptor;
return self();
}
}
@SafeParcelable.Constructor
public StampStyle(@SafeParcelable.Param(id = 2) IBinder iBinder) {
this.zza = new BitmapDescriptor(IObjectWrapper.Stub.asInterface(iBinder));
}
public BitmapDescriptor getStamp() {
return this.zza;
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
BitmapDescriptor bitmapDescriptor = this.zza;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeIBinder(parcel, 2, bitmapDescriptor.zza().asBinder(), false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public StampStyle(BitmapDescriptor bitmapDescriptor) {
this.zza = bitmapDescriptor;
}
}

View File

@@ -0,0 +1,129 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.internal.ReflectedParcelable;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.maps.model.StreetViewPanoramaOrientation;
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
@SafeParcelable.Class(creator = "StreetViewPanoramaCameraCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public class StreetViewPanoramaCamera extends AbstractSafeParcelable implements ReflectedParcelable {
public static final Parcelable.Creator<StreetViewPanoramaCamera> CREATOR = new zzu();
@SafeParcelable.Field(id = 4)
public final float bearing;
@SafeParcelable.Field(id = 3)
public final float tilt;
@SafeParcelable.Field(id = 2)
public final float zoom;
private final StreetViewPanoramaOrientation zza;
/* loaded from: classes3.dex */
public static final class Builder {
public float bearing;
public float tilt;
public float zoom;
public Builder() {
}
public Builder bearing(float f2) {
this.bearing = f2;
return this;
}
public StreetViewPanoramaCamera build() {
return new StreetViewPanoramaCamera(this.zoom, this.tilt, this.bearing);
}
public Builder orientation(StreetViewPanoramaOrientation streetViewPanoramaOrientation) {
Preconditions.checkNotNull(streetViewPanoramaOrientation, "orientation must not be null.");
this.tilt = streetViewPanoramaOrientation.tilt;
this.bearing = streetViewPanoramaOrientation.bearing;
return this;
}
public Builder tilt(float f2) {
this.tilt = f2;
return this;
}
public Builder zoom(float f2) {
this.zoom = f2;
return this;
}
public Builder(StreetViewPanoramaCamera streetViewPanoramaCamera) {
Preconditions.checkNotNull(streetViewPanoramaCamera, "StreetViewPanoramaCamera must not be null.");
this.zoom = streetViewPanoramaCamera.zoom;
this.bearing = streetViewPanoramaCamera.bearing;
this.tilt = streetViewPanoramaCamera.tilt;
}
}
@SafeParcelable.Constructor
public StreetViewPanoramaCamera(@SafeParcelable.Param(id = 2) float f2, @SafeParcelable.Param(id = 3) float f4, @SafeParcelable.Param(id = 4) float f5) {
boolean z3 = false;
if (f4 >= -90.0f && f4 <= 90.0f) {
z3 = true;
}
Preconditions.checkArgument(z3, "Tilt needs to be between -90 and 90 inclusive: " + f4);
this.zoom = ((double) f2) <= FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE ? 0.0f : f2;
this.tilt = BitmapDescriptorFactory.HUE_RED + f4;
this.bearing = (((double) f5) <= FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE ? (f5 % 360.0f) + 360.0f : f5) % 360.0f;
StreetViewPanoramaOrientation.Builder builder = new StreetViewPanoramaOrientation.Builder();
builder.tilt(f4);
builder.bearing(f5);
this.zza = builder.build();
}
public static Builder builder() {
return new Builder();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof StreetViewPanoramaCamera)) {
return false;
}
StreetViewPanoramaCamera streetViewPanoramaCamera = (StreetViewPanoramaCamera) obj;
return Float.floatToIntBits(this.zoom) == Float.floatToIntBits(streetViewPanoramaCamera.zoom) && Float.floatToIntBits(this.tilt) == Float.floatToIntBits(streetViewPanoramaCamera.tilt) && Float.floatToIntBits(this.bearing) == Float.floatToIntBits(streetViewPanoramaCamera.bearing);
}
public StreetViewPanoramaOrientation getOrientation() {
return this.zza;
}
public int hashCode() {
return Objects.hashCode(Float.valueOf(this.zoom), Float.valueOf(this.tilt), Float.valueOf(this.bearing));
}
public String toString() {
return Objects.toStringHelper(this).add("zoom", Float.valueOf(this.zoom)).add("tilt", Float.valueOf(this.tilt)).add("bearing", Float.valueOf(this.bearing)).toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
float f2 = this.zoom;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeFloat(parcel, 2, f2);
SafeParcelWriter.writeFloat(parcel, 3, this.tilt);
SafeParcelWriter.writeFloat(parcel, 4, this.bearing);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public static Builder builder(StreetViewPanoramaCamera streetViewPanoramaCamera) {
return new Builder(streetViewPanoramaCamera);
}
}

View File

@@ -0,0 +1,56 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
@SafeParcelable.Class(creator = "StreetViewPanoramaLinkCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public class StreetViewPanoramaLink extends AbstractSafeParcelable {
public static final Parcelable.Creator<StreetViewPanoramaLink> CREATOR = new zzv();
@SafeParcelable.Field(id = 3)
public final float bearing;
@SafeParcelable.Field(id = 2)
public final String panoId;
@SafeParcelable.Constructor
public StreetViewPanoramaLink(@SafeParcelable.Param(id = 2) String str, @SafeParcelable.Param(id = 3) float f2) {
this.panoId = str;
this.bearing = (((double) f2) <= FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE ? (f2 % 360.0f) + 360.0f : f2) % 360.0f;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof StreetViewPanoramaLink)) {
return false;
}
StreetViewPanoramaLink streetViewPanoramaLink = (StreetViewPanoramaLink) obj;
return this.panoId.equals(streetViewPanoramaLink.panoId) && Float.floatToIntBits(this.bearing) == Float.floatToIntBits(streetViewPanoramaLink.bearing);
}
public int hashCode() {
return Objects.hashCode(this.panoId, Float.valueOf(this.bearing));
}
public String toString() {
return Objects.toStringHelper(this).add("panoId", this.panoId).add("bearing", Float.valueOf(this.bearing)).toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
String str = this.panoId;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeString(parcel, 2, str, false);
SafeParcelWriter.writeFloat(parcel, 3, this.bearing);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
}

View File

@@ -0,0 +1,60 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
@SafeParcelable.Class(creator = "StreetViewPanoramaLocationCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public class StreetViewPanoramaLocation extends AbstractSafeParcelable {
public static final Parcelable.Creator<StreetViewPanoramaLocation> CREATOR = new zzw();
@SafeParcelable.Field(id = 2)
public final StreetViewPanoramaLink[] links;
@SafeParcelable.Field(id = 4)
public final String panoId;
@SafeParcelable.Field(id = 3)
public final LatLng position;
@SafeParcelable.Constructor
public StreetViewPanoramaLocation(@SafeParcelable.Param(id = 2) StreetViewPanoramaLink[] streetViewPanoramaLinkArr, @SafeParcelable.Param(id = 3) LatLng latLng, @SafeParcelable.Param(id = 4) String str) {
this.links = streetViewPanoramaLinkArr;
this.position = latLng;
this.panoId = str;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof StreetViewPanoramaLocation)) {
return false;
}
StreetViewPanoramaLocation streetViewPanoramaLocation = (StreetViewPanoramaLocation) obj;
return this.panoId.equals(streetViewPanoramaLocation.panoId) && this.position.equals(streetViewPanoramaLocation.position);
}
public int hashCode() {
return Objects.hashCode(this.position, this.panoId);
}
public String toString() {
return Objects.toStringHelper(this).add("panoId", this.panoId).add("position", this.position.toString()).toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
StreetViewPanoramaLink[] streetViewPanoramaLinkArr = this.links;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeTypedArray(parcel, 2, streetViewPanoramaLinkArr, i, false);
SafeParcelWriter.writeParcelable(parcel, 3, this.position, i, false);
SafeParcelWriter.writeString(parcel, 4, this.panoId, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
}

View File

@@ -0,0 +1,99 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
@SafeParcelable.Class(creator = "StreetViewPanoramaOrientationCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public class StreetViewPanoramaOrientation extends AbstractSafeParcelable {
public static final Parcelable.Creator<StreetViewPanoramaOrientation> CREATOR = new zzx();
@SafeParcelable.Field(id = 3)
public final float bearing;
@SafeParcelable.Field(id = 2)
public final float tilt;
/* loaded from: classes3.dex */
public static final class Builder {
public float bearing;
public float tilt;
public Builder() {
}
public Builder bearing(float f2) {
this.bearing = f2;
return this;
}
public StreetViewPanoramaOrientation build() {
return new StreetViewPanoramaOrientation(this.tilt, this.bearing);
}
public Builder tilt(float f2) {
this.tilt = f2;
return this;
}
public Builder(StreetViewPanoramaOrientation streetViewPanoramaOrientation) {
Preconditions.checkNotNull(streetViewPanoramaOrientation, "StreetViewPanoramaOrientation must not be null.");
this.bearing = streetViewPanoramaOrientation.bearing;
this.tilt = streetViewPanoramaOrientation.tilt;
}
}
@SafeParcelable.Constructor
public StreetViewPanoramaOrientation(@SafeParcelable.Param(id = 2) float f2, @SafeParcelable.Param(id = 3) float f4) {
boolean z3 = false;
if (f2 >= -90.0f && f2 <= 90.0f) {
z3 = true;
}
Preconditions.checkArgument(z3, "Tilt needs to be between -90 and 90 inclusive: " + f2);
this.tilt = f2 + BitmapDescriptorFactory.HUE_RED;
this.bearing = (((double) f4) <= FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE ? (f4 % 360.0f) + 360.0f : f4) % 360.0f;
}
public static Builder builder() {
return new Builder();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof StreetViewPanoramaOrientation)) {
return false;
}
StreetViewPanoramaOrientation streetViewPanoramaOrientation = (StreetViewPanoramaOrientation) obj;
return Float.floatToIntBits(this.tilt) == Float.floatToIntBits(streetViewPanoramaOrientation.tilt) && Float.floatToIntBits(this.bearing) == Float.floatToIntBits(streetViewPanoramaOrientation.bearing);
}
public int hashCode() {
return Objects.hashCode(Float.valueOf(this.tilt), Float.valueOf(this.bearing));
}
public String toString() {
return Objects.toStringHelper(this).add("tilt", Float.valueOf(this.tilt)).add("bearing", Float.valueOf(this.bearing)).toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
float f2 = this.tilt;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeFloat(parcel, 2, f2);
SafeParcelWriter.writeFloat(parcel, 3, this.bearing);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public static Builder builder(StreetViewPanoramaOrientation streetViewPanoramaOrientation) {
return new Builder(streetViewPanoramaOrientation);
}
}

View File

@@ -0,0 +1,51 @@
package com.google.android.gms.maps.model;
import C.w;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
@SafeParcelable.Class(creator = "StreetViewSourceCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class StreetViewSource extends AbstractSafeParcelable {
public static final Parcelable.Creator<StreetViewSource> CREATOR = new zzy();
public static final StreetViewSource DEFAULT = new StreetViewSource(0);
public static final StreetViewSource OUTDOOR = new StreetViewSource(1);
private static final String zza = "StreetViewSource";
@SafeParcelable.Field(getter = "getType", id = 2)
private final int zzb;
@SafeParcelable.Constructor
public StreetViewSource(@SafeParcelable.Param(id = 2) int i) {
this.zzb = i;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
return (obj instanceof StreetViewSource) && this.zzb == ((StreetViewSource) obj).zzb;
}
public int hashCode() {
return Objects.hashCode(Integer.valueOf(this.zzb));
}
public String toString() {
int i = this.zzb;
return "StreetViewSource:".concat(i != 0 ? i != 1 ? w.i(i, "UNKNOWN(", ")") : "OUTDOOR" : "DEFAULT");
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
int i4 = this.zzb;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeInt(parcel, 2, i4);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
}

View File

@@ -0,0 +1,139 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.Pair;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
@SafeParcelable.Class(creator = "StrokeStyleCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class StrokeStyle extends AbstractSafeParcelable {
public static final Parcelable.Creator<StrokeStyle> CREATOR = new zzaa();
@SafeParcelable.Field(getter = "getWidth", id = 2)
private final float zza;
@SafeParcelable.Field(getter = "getColor", id = 3)
private final int zzb;
@SafeParcelable.Field(getter = "getToColor", id = 4)
private final int zzc;
@SafeParcelable.Field(getter = "isVisible", id = 5)
private final boolean zzd;
@SafeParcelable.Field(getter = "getStamp", id = 6)
private final StampStyle zze;
/* loaded from: classes3.dex */
public static final class Builder {
private float zza;
private int zzb;
private int zzc;
private boolean zzd;
private StampStyle zze;
private Builder() {
}
public StrokeStyle build() {
return new StrokeStyle(this.zza, this.zzb, this.zzc, this.zzd, this.zze);
}
public Builder stamp(StampStyle stampStyle) {
this.zze = stampStyle;
return this;
}
public final Builder zza(int i) {
this.zzb = i;
this.zzc = i;
return this;
}
public final Builder zzb(int i, int i4) {
this.zzb = i;
this.zzc = i4;
return this;
}
public final Builder zzc(boolean z3) {
this.zzd = z3;
return this;
}
public final Builder zzd(float f2) {
this.zza = f2;
return this;
}
public /* synthetic */ Builder(zzz zzzVar) {
}
public Builder(StrokeStyle strokeStyle) {
this.zza = strokeStyle.zza();
Pair zzb = strokeStyle.zzb();
this.zzb = ((Integer) zzb.first).intValue();
this.zzc = ((Integer) zzb.second).intValue();
this.zzd = strokeStyle.isVisible();
this.zze = strokeStyle.getStamp();
}
}
@SafeParcelable.Constructor
public StrokeStyle(@SafeParcelable.Param(id = 2) float f2, @SafeParcelable.Param(id = 3) int i, @SafeParcelable.Param(id = 4) int i4, @SafeParcelable.Param(id = 5) boolean z3, @SafeParcelable.Param(id = 6) StampStyle stampStyle) {
this.zza = f2;
this.zzb = i;
this.zzc = i4;
this.zzd = z3;
this.zze = stampStyle;
}
public static Builder colorBuilder(int i) {
Builder builder = new Builder((zzz) null);
builder.zza(i);
return builder;
}
public static Builder gradientBuilder(int i, int i4) {
Builder builder = new Builder((zzz) null);
builder.zzb(i, i4);
return builder;
}
public static Builder transparentColorBuilder() {
Builder builder = new Builder((zzz) null);
builder.zza(0);
return builder;
}
public StampStyle getStamp() {
return this.zze;
}
public boolean isVisible() {
return this.zzd;
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeFloat(parcel, 2, this.zza);
SafeParcelWriter.writeInt(parcel, 3, this.zzb);
SafeParcelWriter.writeInt(parcel, 4, this.zzc);
SafeParcelWriter.writeBoolean(parcel, 5, isVisible());
SafeParcelWriter.writeParcelable(parcel, 6, getStamp(), i, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public final float zza() {
return this.zza;
}
public final Pair zzb() {
return new Pair(Integer.valueOf(this.zzb), Integer.valueOf(this.zzc));
}
}

View File

@@ -0,0 +1,66 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
@SafeParcelable.Class(creator = "StyleSpanCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class StyleSpan extends AbstractSafeParcelable {
public static final Parcelable.Creator<StyleSpan> CREATOR = new zzab();
@SafeParcelable.Field(getter = "getStyle", id = 2)
private final StrokeStyle zza;
@SafeParcelable.Field(getter = "getSegments", id = 3)
private final double zzb;
public StyleSpan(int i) {
this.zza = StrokeStyle.colorBuilder(i).build();
this.zzb = 1.0d;
}
public double getSegments() {
return this.zzb;
}
public StrokeStyle getStyle() {
return this.zza;
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeParcelable(parcel, 2, getStyle(), i, false);
SafeParcelWriter.writeDouble(parcel, 3, getSegments());
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public StyleSpan(int i, double d4) {
if (d4 > FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE) {
this.zza = StrokeStyle.colorBuilder(i).build();
this.zzb = d4;
return;
}
throw new IllegalArgumentException("A style must be applied to some segments on a polyline.");
}
public StyleSpan(StrokeStyle strokeStyle) {
this.zza = strokeStyle;
this.zzb = 1.0d;
}
@SafeParcelable.Constructor
public StyleSpan(@SafeParcelable.Param(id = 2) StrokeStyle strokeStyle, @SafeParcelable.Param(id = 3) double d4) {
if (d4 > FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE) {
this.zza = strokeStyle;
this.zzb = d4;
return;
}
throw new IllegalArgumentException("A style must be applied to some segments on a polyline.");
}
}

View File

@@ -0,0 +1,39 @@
package com.google.android.gms.maps.model;
import com.google.android.gms.maps.model.StampStyle;
/* loaded from: classes3.dex */
public class TextureStyle extends StampStyle {
/* loaded from: classes3.dex */
public static final class Builder extends StampStyle.Builder<Builder> {
private Builder() {
}
public TextureStyle build() {
return new TextureStyle(this.zza, null);
}
@Override // com.google.android.gms.maps.model.StampStyle.Builder
public final /* bridge */ /* synthetic */ Builder self() {
return this;
}
public /* synthetic */ Builder(zzac zzacVar) {
}
@Override // com.google.android.gms.maps.model.StampStyle.Builder
/* renamed from: self, reason: avoid collision after fix types in other method */
public Builder self2() {
return this;
}
}
public /* synthetic */ TextureStyle(BitmapDescriptor bitmapDescriptor, zzad zzadVar) {
super(bitmapDescriptor);
}
public static Builder newBuilder(BitmapDescriptor bitmapDescriptor) {
return new Builder(null).stamp(bitmapDescriptor);
}
}

View File

@@ -0,0 +1,40 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
@SafeParcelable.Class(creator = "TileCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class Tile extends AbstractSafeParcelable {
public static final Parcelable.Creator<Tile> CREATOR = new zzae();
@SafeParcelable.Field(id = 4)
public final byte[] data;
@SafeParcelable.Field(id = 3)
public final int height;
@SafeParcelable.Field(id = 2)
public final int width;
@SafeParcelable.Constructor
public Tile(@SafeParcelable.Param(id = 2) int i, @SafeParcelable.Param(id = 3) int i4, @SafeParcelable.Param(id = 4) byte[] bArr) {
this.width = i;
this.height = i4;
this.data = bArr;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
int i4 = this.width;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeInt(parcel, 2, i4);
SafeParcelWriter.writeInt(parcel, 3, this.height);
SafeParcelWriter.writeByteArray(parcel, 4, this.data, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
}

View File

@@ -0,0 +1,121 @@
package com.google.android.gms.maps.model;
import android.os.RemoteException;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.internal.maps.zzam;
/* loaded from: classes3.dex */
public final class TileOverlay {
private final zzam zza;
public TileOverlay(zzam zzamVar) {
this.zza = (zzam) Preconditions.checkNotNull(zzamVar);
}
public void clearTileCache() {
try {
this.zza.zzh();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean equals(Object obj) {
if (!(obj instanceof TileOverlay)) {
return false;
}
try {
return this.zza.zzn(((TileOverlay) obj).zza);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean getFadeIn() {
try {
return this.zza.zzo();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public String getId() {
try {
return this.zza.zzg();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getTransparency() {
try {
return this.zza.zzd();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public float getZIndex() {
try {
return this.zza.zze();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public int hashCode() {
try {
return this.zza.zzf();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public boolean isVisible() {
try {
return this.zza.zzp();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void remove() {
try {
this.zza.zzi();
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setFadeIn(boolean z3) {
try {
this.zza.zzj(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setTransparency(float f2) {
try {
this.zza.zzk(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setVisible(boolean z3) {
try {
this.zza.zzl(z3);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
public void setZIndex(float f2) {
try {
this.zza.zzm(f2);
} catch (RemoteException e4) {
throw new RuntimeRemoteException(e4);
}
}
}

View File

@@ -0,0 +1,117 @@
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.Preconditions;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.internal.maps.zzao;
import com.google.android.gms.internal.maps.zzap;
@SafeParcelable.Class(creator = "TileOverlayOptionsCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class TileOverlayOptions extends AbstractSafeParcelable {
public static final Parcelable.Creator<TileOverlayOptions> CREATOR = new zzah();
@SafeParcelable.Field(getter = "getTileProviderDelegate", id = 2, type = "android.os.IBinder")
private zzap zza;
private TileProvider zzb;
@SafeParcelable.Field(getter = "isVisible", id = 3)
private boolean zzc;
@SafeParcelable.Field(getter = "getZIndex", id = 4)
private float zzd;
@SafeParcelable.Field(defaultValue = "true", getter = "getFadeIn", id = 5)
private boolean zze;
@SafeParcelable.Field(getter = "getTransparency", id = 6)
private float zzf;
public TileOverlayOptions() {
this.zzc = true;
this.zze = true;
this.zzf = BitmapDescriptorFactory.HUE_RED;
}
public TileOverlayOptions fadeIn(boolean z3) {
this.zze = z3;
return this;
}
public boolean getFadeIn() {
return this.zze;
}
public TileProvider getTileProvider() {
return this.zzb;
}
public float getTransparency() {
return this.zzf;
}
public float getZIndex() {
return this.zzd;
}
public boolean isVisible() {
return this.zzc;
}
public TileOverlayOptions tileProvider(TileProvider tileProvider) {
this.zzb = (TileProvider) Preconditions.checkNotNull(tileProvider, "tileProvider must not be null.");
this.zza = new zzag(this, tileProvider);
return this;
}
public TileOverlayOptions transparency(float f2) {
boolean z3 = false;
if (f2 >= BitmapDescriptorFactory.HUE_RED && f2 <= 1.0f) {
z3 = true;
}
Preconditions.checkArgument(z3, "Transparency must be in the range [0..1]");
this.zzf = f2;
return this;
}
public TileOverlayOptions visible(boolean z3) {
this.zzc = z3;
return this;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
zzap zzapVar = this.zza;
SafeParcelWriter.writeIBinder(parcel, 2, zzapVar == null ? null : zzapVar.asBinder(), false);
SafeParcelWriter.writeBoolean(parcel, 3, isVisible());
SafeParcelWriter.writeFloat(parcel, 4, getZIndex());
SafeParcelWriter.writeBoolean(parcel, 5, getFadeIn());
SafeParcelWriter.writeFloat(parcel, 6, getTransparency());
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public TileOverlayOptions zIndex(float f2) {
this.zzd = f2;
return this;
}
@SafeParcelable.Constructor
public TileOverlayOptions(@SafeParcelable.Param(id = 2) IBinder iBinder, @SafeParcelable.Param(id = 3) boolean z3, @SafeParcelable.Param(id = 4) float f2, @SafeParcelable.Param(id = 5) boolean z4, @SafeParcelable.Param(id = 6) float f4) {
this.zzc = true;
this.zze = true;
this.zzf = BitmapDescriptorFactory.HUE_RED;
zzap zzc = zzao.zzc(iBinder);
this.zza = zzc;
this.zzb = zzc == null ? null : new zzaf(this);
this.zzc = z3;
this.zzd = f2;
this.zze = z4;
this.zzf = f4;
}
}

View File

@@ -0,0 +1,8 @@
package com.google.android.gms.maps.model;
/* loaded from: classes3.dex */
public interface TileProvider {
public static final Tile NO_TILE = new Tile(-1, -1, null);
Tile getTile(int i, int i4, int i5);
}

View File

@@ -0,0 +1,54 @@
package com.google.android.gms.maps.model;
import com.google.android.gms.common.internal.Preconditions;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import kotlin.io.ConstantsKt;
/* loaded from: classes3.dex */
public abstract class UrlTileProvider implements TileProvider {
private final int zza;
private final int zzb;
public UrlTileProvider(int i, int i4) {
this.zza = i;
this.zzb = i4;
}
@Override // com.google.android.gms.maps.model.TileProvider
public final Tile getTile(int i, int i4, int i5) {
URL tileUrl = getTileUrl(i, i4, i5);
if (tileUrl == null) {
return TileProvider.NO_TILE;
}
try {
com.google.android.gms.internal.maps.zzf.zzb(4352);
int i6 = this.zza;
int i7 = this.zzb;
InputStream inputStream = tileUrl.openConnection().getInputStream();
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
Preconditions.checkNotNull(inputStream, "from must not be null.");
Preconditions.checkNotNull(byteArrayOutputStream, "to must not be null.");
byte[] bArr = new byte[ConstantsKt.DEFAULT_BLOCK_SIZE];
while (true) {
int read = inputStream.read(bArr);
if (read == -1) {
Tile tile = new Tile(i6, i7, byteArrayOutputStream.toByteArray());
com.google.android.gms.internal.maps.zzf.zza();
return tile;
}
byteArrayOutputStream.write(bArr, 0, read);
}
} catch (IOException unused) {
com.google.android.gms.internal.maps.zzf.zza();
return null;
} catch (Throwable th) {
com.google.android.gms.internal.maps.zzf.zza();
throw th;
}
}
public abstract URL getTileUrl(int i, int i4, int i5);
}

View File

@@ -0,0 +1,70 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
@SafeParcelable.Class(creator = "VisibleRegionCreator")
@SafeParcelable.Reserved({1})
/* loaded from: classes3.dex */
public final class VisibleRegion extends AbstractSafeParcelable {
public static final Parcelable.Creator<VisibleRegion> CREATOR = new zzai();
@SafeParcelable.Field(id = 4)
public final LatLng farLeft;
@SafeParcelable.Field(id = 5)
public final LatLng farRight;
@SafeParcelable.Field(id = 6)
public final LatLngBounds latLngBounds;
@SafeParcelable.Field(id = 2)
public final LatLng nearLeft;
@SafeParcelable.Field(id = 3)
public final LatLng nearRight;
@SafeParcelable.Constructor
public VisibleRegion(@SafeParcelable.Param(id = 2) LatLng latLng, @SafeParcelable.Param(id = 3) LatLng latLng2, @SafeParcelable.Param(id = 4) LatLng latLng3, @SafeParcelable.Param(id = 5) LatLng latLng4, @SafeParcelable.Param(id = 6) LatLngBounds latLngBounds) {
this.nearLeft = latLng;
this.nearRight = latLng2;
this.farLeft = latLng3;
this.farRight = latLng4;
this.latLngBounds = latLngBounds;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof VisibleRegion)) {
return false;
}
VisibleRegion visibleRegion = (VisibleRegion) obj;
return this.nearLeft.equals(visibleRegion.nearLeft) && this.nearRight.equals(visibleRegion.nearRight) && this.farLeft.equals(visibleRegion.farLeft) && this.farRight.equals(visibleRegion.farRight) && this.latLngBounds.equals(visibleRegion.latLngBounds);
}
public int hashCode() {
return Objects.hashCode(this.nearLeft, this.nearRight, this.farLeft, this.farRight, this.latLngBounds);
}
public String toString() {
return Objects.toStringHelper(this).add("nearLeft", this.nearLeft).add("nearRight", this.nearRight).add("farLeft", this.farLeft).add("farRight", this.farRight).add("latLngBounds", this.latLngBounds).toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
LatLng latLng = this.nearLeft;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeParcelable(parcel, 2, latLng, i, false);
SafeParcelWriter.writeParcelable(parcel, 3, this.nearRight, i, false);
SafeParcelWriter.writeParcelable(parcel, 4, this.farLeft, i, false);
SafeParcelWriter.writeParcelable(parcel, 5, this.farRight, i, false);
SafeParcelWriter.writeParcelable(parcel, 6, this.latLngBounds, i, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
}

View File

@@ -0,0 +1,39 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes3.dex */
public final class zza implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
float f2 = BitmapDescriptorFactory.HUE_RED;
float f4 = 0.0f;
LatLng latLng = null;
float f5 = 0.0f;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
latLng = (LatLng) SafeParcelReader.createParcelable(parcel, readHeader, LatLng.CREATOR);
} else if (fieldId == 3) {
f2 = SafeParcelReader.readFloat(parcel, readHeader);
} else if (fieldId == 4) {
f5 = SafeParcelReader.readFloat(parcel, readHeader);
} else if (fieldId != 5) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
f4 = SafeParcelReader.readFloat(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new CameraPosition(latLng, f2, f5, f4);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new CameraPosition[i];
}
}

View File

@@ -0,0 +1,42 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes3.dex */
public final class zzaa implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
StampStyle stampStyle = null;
int i = 0;
int i4 = 0;
boolean z3 = false;
float f2 = 0.0f;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
f2 = SafeParcelReader.readFloat(parcel, readHeader);
} else if (fieldId == 3) {
i = SafeParcelReader.readInt(parcel, readHeader);
} else if (fieldId == 4) {
i4 = SafeParcelReader.readInt(parcel, readHeader);
} else if (fieldId == 5) {
z3 = SafeParcelReader.readBoolean(parcel, readHeader);
} else if (fieldId != 6) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
stampStyle = (StampStyle) SafeParcelReader.createParcelable(parcel, readHeader, StampStyle.CREATOR);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new StrokeStyle(f2, i, i4, z3, stampStyle);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new StrokeStyle[i];
}
}

View File

@@ -0,0 +1,34 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
/* loaded from: classes3.dex */
public final class zzab implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
double d4 = FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE;
StrokeStyle strokeStyle = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
strokeStyle = (StrokeStyle) SafeParcelReader.createParcelable(parcel, readHeader, StrokeStyle.CREATOR);
} else if (fieldId != 3) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
d4 = SafeParcelReader.readDouble(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new StyleSpan(strokeStyle, d4);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new StyleSpan[i];
}
}

View File

@@ -0,0 +1,36 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes3.dex */
public final class zzae implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
byte[] bArr = null;
int i = 0;
int i4 = 0;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
i = SafeParcelReader.readInt(parcel, readHeader);
} else if (fieldId == 3) {
i4 = SafeParcelReader.readInt(parcel, readHeader);
} else if (fieldId != 4) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
bArr = SafeParcelReader.createByteArray(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new Tile(i, i4, bArr);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new Tile[i];
}
}

View File

@@ -0,0 +1,27 @@
package com.google.android.gms.maps.model;
import android.os.RemoteException;
import com.google.android.gms.internal.maps.zzap;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes3.dex */
public final class zzaf implements TileProvider {
final /* synthetic */ TileOverlayOptions zza;
private final zzap zzb;
public zzaf(TileOverlayOptions tileOverlayOptions) {
zzap zzapVar;
this.zza = tileOverlayOptions;
zzapVar = tileOverlayOptions.zza;
this.zzb = zzapVar;
}
@Override // com.google.android.gms.maps.model.TileProvider
public final Tile getTile(int i, int i4, int i5) {
try {
return this.zzb.zzb(i, i4, i5);
} catch (RemoteException unused) {
return null;
}
}
}

View File

@@ -0,0 +1,17 @@
package com.google.android.gms.maps.model;
import com.google.android.gms.internal.maps.zzao;
/* loaded from: classes3.dex */
final class zzag extends zzao {
final /* synthetic */ TileProvider zza;
public zzag(TileOverlayOptions tileOverlayOptions, TileProvider tileProvider) {
this.zza = tileProvider;
}
@Override // com.google.android.gms.internal.maps.zzap
public final Tile zzb(int i, int i4, int i5) {
return this.zza.getTile(i, i4, i5);
}
}

View File

@@ -0,0 +1,43 @@
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: classes3.dex */
public final class zzah implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
float f2 = 0.0f;
float f4 = 0.0f;
boolean z3 = true;
boolean z4 = false;
IBinder iBinder = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
iBinder = SafeParcelReader.readIBinder(parcel, readHeader);
} else if (fieldId == 3) {
z4 = SafeParcelReader.readBoolean(parcel, readHeader);
} else if (fieldId == 4) {
f2 = SafeParcelReader.readFloat(parcel, readHeader);
} else if (fieldId == 5) {
z3 = SafeParcelReader.readBoolean(parcel, readHeader);
} else if (fieldId != 6) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
f4 = SafeParcelReader.readFloat(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new TileOverlayOptions(iBinder, z4, f2, z3, f4);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new TileOverlayOptions[i];
}
}

View File

@@ -0,0 +1,42 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes3.dex */
public final class zzai implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
LatLng latLng = null;
LatLng latLng2 = null;
LatLng latLng3 = null;
LatLng latLng4 = null;
LatLngBounds latLngBounds = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
latLng = (LatLng) SafeParcelReader.createParcelable(parcel, readHeader, LatLng.CREATOR);
} else if (fieldId == 3) {
latLng2 = (LatLng) SafeParcelReader.createParcelable(parcel, readHeader, LatLng.CREATOR);
} else if (fieldId == 4) {
latLng3 = (LatLng) SafeParcelReader.createParcelable(parcel, readHeader, LatLng.CREATOR);
} else if (fieldId == 5) {
latLng4 = (LatLng) SafeParcelReader.createParcelable(parcel, readHeader, LatLng.CREATOR);
} else if (fieldId != 6) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
latLngBounds = (LatLngBounds) SafeParcelReader.createParcelable(parcel, readHeader, LatLngBounds.CREATOR);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new VisibleRegion(latLng, latLng2, latLng3, latLng4, latLngBounds);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new VisibleRegion[i];
}
}

View File

@@ -0,0 +1,37 @@
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: classes3.dex */
public final class zzb implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
IBinder iBinder = null;
int i = 0;
Float f2 = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
i = SafeParcelReader.readInt(parcel, readHeader);
} else if (fieldId == 3) {
iBinder = SafeParcelReader.readIBinder(parcel, readHeader);
} else if (fieldId != 4) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
f2 = SafeParcelReader.readFloatObject(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new Cap(i, iBinder, f2);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new Cap[i];
}
}

View File

@@ -0,0 +1,65 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
import java.util.ArrayList;
/* loaded from: classes3.dex */
public final class zzc implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
LatLng latLng = null;
ArrayList arrayList = null;
int i = 0;
int i4 = 0;
boolean z3 = false;
boolean z4 = false;
float f2 = 0.0f;
float f4 = 0.0f;
double d4 = 0.0d;
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:
d4 = SafeParcelReader.readDouble(parcel, readHeader);
break;
case 4:
f2 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 5:
i = SafeParcelReader.readInt(parcel, readHeader);
break;
case 6:
i4 = SafeParcelReader.readInt(parcel, readHeader);
break;
case 7:
f4 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 8:
z3 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 9:
z4 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 10:
arrayList = SafeParcelReader.createTypedList(parcel, readHeader, PatternItem.CREATOR);
break;
default:
SafeParcelReader.skipUnknownField(parcel, readHeader);
break;
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new CircleOptions(latLng, d4, f2, i, i4, f4, z3, z4, arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new CircleOptions[i];
}
}

View File

@@ -0,0 +1,31 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.internal.maps.zzba;
@SafeParcelable.Class(creator = "FeatureLayerOptionsCreator")
/* loaded from: classes3.dex */
public final class zzd extends AbstractSafeParcelable {
public static final Parcelable.Creator<zzd> CREATOR = new zze();
private static final zzba zza = zzba.zzi("ADMINISTRATIVE_AREA_LEVEL_1", "ADMINISTRATIVE_AREA_LEVEL_2", "COUNTRY", "LOCALITY", "POSTAL_CODE", "SCHOOL_DISTRICT", new String[0]);
@SafeParcelable.Field(getter = "getFeatureType", id = 1)
private final String zzb;
@SafeParcelable.Constructor
public zzd(@SafeParcelable.Param(id = 1) String str) {
this.zzb = str;
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
String str = this.zzb;
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeString(parcel, 1, str, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
}

View File

@@ -0,0 +1,29 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes3.dex */
public final class zze implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
String str = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
if (SafeParcelReader.getFieldId(readHeader) != 1) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
str = SafeParcelReader.createString(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new zzd(str);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new zzd[i];
}
}

View File

@@ -0,0 +1,41 @@
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;
import com.google.android.gms.maps.model.PinConfig;
/* loaded from: classes3.dex */
public final class zzf implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
int i = 0;
String str = null;
IBinder iBinder = null;
int i4 = 0;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
str = SafeParcelReader.createString(parcel, readHeader);
} else if (fieldId == 3) {
iBinder = SafeParcelReader.readIBinder(parcel, readHeader);
} else if (fieldId == 4) {
i = SafeParcelReader.readInt(parcel, readHeader);
} else if (fieldId != 5) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
i4 = SafeParcelReader.readInt(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new PinConfig.Glyph(str, iBinder, i, i4);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new PinConfig.Glyph[i];
}
}

View File

@@ -0,0 +1,77 @@
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: classes3.dex */
public final class zzg implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
boolean z3 = false;
boolean z4 = false;
float f2 = 0.0f;
float f4 = 0.0f;
float f5 = 0.0f;
float f6 = 0.0f;
float f7 = 0.0f;
float f8 = 0.0f;
float f9 = 0.0f;
IBinder iBinder = null;
LatLng latLng = null;
LatLngBounds latLngBounds = null;
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:
f2 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 5:
f4 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 6:
latLngBounds = (LatLngBounds) SafeParcelReader.createParcelable(parcel, readHeader, LatLngBounds.CREATOR);
break;
case 7:
f5 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 8:
f6 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 9:
z3 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 10:
f7 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 11:
f8 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 12:
f9 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 13:
z4 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
default:
SafeParcelReader.skipUnknownField(parcel, readHeader);
break;
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new GroundOverlayOptions(iBinder, latLng, f2, f4, latLngBounds, f5, f6, z3, f7, f8, f9, z4);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new GroundOverlayOptions[i];
}
}

View File

@@ -0,0 +1,9 @@
package com.google.android.gms.maps.model;
/* loaded from: classes3.dex */
final class zzh {
public static final zzh zza = new zzh();
private zzh() {
}
}

View File

@@ -0,0 +1,33 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes3.dex */
public final class zzi implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
LatLng latLng = null;
LatLng latLng2 = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
latLng = (LatLng) SafeParcelReader.createParcelable(parcel, readHeader, LatLng.CREATOR);
} else if (fieldId != 3) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
latLng2 = (LatLng) SafeParcelReader.createParcelable(parcel, readHeader, LatLng.CREATOR);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new LatLngBounds(latLng, latLng2);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new LatLngBounds[i];
}
}

View File

@@ -0,0 +1,34 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
/* loaded from: classes3.dex */
public final class zzj implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
double d4 = FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE;
double d5 = 0.0d;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
d4 = SafeParcelReader.readDouble(parcel, readHeader);
} else if (fieldId != 3) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
d5 = SafeParcelReader.readDouble(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new LatLng(d4, d5);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new LatLng[i];
}
}

View File

@@ -0,0 +1,29 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes3.dex */
public final class zzk implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
String str = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
if (SafeParcelReader.getFieldId(readHeader) != 2) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
str = SafeParcelReader.createString(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new MapStyleOptions(str);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new MapStyleOptions[i];
}
}

View File

@@ -0,0 +1,106 @@
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: classes3.dex */
public final class zzl implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
float f2 = 0.0f;
float f4 = 0.0f;
float f5 = 0.0f;
float f6 = 0.0f;
float f7 = 0.0f;
float f8 = 0.0f;
LatLng latLng = null;
String str = null;
String str2 = null;
IBinder iBinder = null;
IBinder iBinder2 = null;
String str3 = null;
boolean z3 = false;
boolean z4 = false;
boolean z5 = false;
int i = 0;
int i4 = 0;
float f9 = 1.0f;
float f10 = 0.5f;
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:
f2 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 7:
f4 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 8:
z3 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 9:
z4 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 10:
z5 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 11:
f5 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 12:
f10 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 13:
f6 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 14:
f9 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 15:
f7 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 16:
default:
SafeParcelReader.skipUnknownField(parcel, readHeader);
break;
case 17:
i = SafeParcelReader.readInt(parcel, readHeader);
break;
case 18:
iBinder2 = SafeParcelReader.readIBinder(parcel, readHeader);
break;
case 19:
i4 = SafeParcelReader.readInt(parcel, readHeader);
break;
case 20:
str3 = SafeParcelReader.createString(parcel, readHeader);
break;
case 21:
f8 = SafeParcelReader.readFloat(parcel, readHeader);
break;
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new MarkerOptions(latLng, str, str2, iBinder, f2, f4, z3, z4, z5, f5, f10, f6, f9, f7, i, iBinder2, i4, str3, f8);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new MarkerOptions[i];
}
}

View File

@@ -0,0 +1,33 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes3.dex */
public final class zzm implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
Float f2 = null;
int i = 0;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
i = SafeParcelReader.readInt(parcel, readHeader);
} else if (fieldId != 3) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
f2 = SafeParcelReader.readFloatObject(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new PatternItem(i, f2);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new PatternItem[i];
}
}

View File

@@ -0,0 +1,11 @@
package com.google.android.gms.maps.model;
/* loaded from: classes3.dex */
public final /* synthetic */ class zzn {
public static /* synthetic */ boolean zza(Object obj, Object obj2) {
if (obj != obj2) {
return obj != null && obj.equals(obj2);
}
return true;
}
}

View File

@@ -0,0 +1,37 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
import com.google.android.gms.maps.model.PinConfig;
/* loaded from: classes3.dex */
public final class zzo implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
PinConfig.Glyph glyph = null;
int i = 0;
int i4 = 0;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
i = SafeParcelReader.readInt(parcel, readHeader);
} else if (fieldId == 3) {
i4 = SafeParcelReader.readInt(parcel, readHeader);
} else if (fieldId != 4) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
glyph = (PinConfig.Glyph) SafeParcelReader.createParcelable(parcel, readHeader, PinConfig.Glyph.CREATOR);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new PinConfig(i, i4, glyph);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new PinConfig[i];
}
}

View File

@@ -0,0 +1,36 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes3.dex */
public final class zzp implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
LatLng latLng = null;
String str = null;
String str2 = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
latLng = (LatLng) SafeParcelReader.createParcelable(parcel, readHeader, LatLng.CREATOR);
} else if (fieldId == 3) {
str = SafeParcelReader.createString(parcel, readHeader);
} else if (fieldId != 4) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
str2 = SafeParcelReader.createString(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new PointOfInterest(latLng, str, str2);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new PointOfInterest[i];
}
}

View File

@@ -0,0 +1,73 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
import java.util.ArrayList;
/* loaded from: classes3.dex */
public final class zzq implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
ArrayList arrayList = new ArrayList();
float f2 = BitmapDescriptorFactory.HUE_RED;
ArrayList arrayList2 = null;
int i = 0;
int i4 = 0;
boolean z3 = false;
boolean z4 = false;
boolean z5 = false;
int i5 = 0;
float f4 = 0.0f;
ArrayList arrayList3 = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
switch (SafeParcelReader.getFieldId(readHeader)) {
case 2:
arrayList3 = SafeParcelReader.createTypedList(parcel, readHeader, LatLng.CREATOR);
break;
case 3:
SafeParcelReader.readList(parcel, readHeader, arrayList, zzq.class.getClassLoader());
break;
case 4:
f2 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 5:
i = SafeParcelReader.readInt(parcel, readHeader);
break;
case 6:
i4 = SafeParcelReader.readInt(parcel, readHeader);
break;
case 7:
f4 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 8:
z3 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 9:
z4 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 10:
z5 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 11:
i5 = SafeParcelReader.readInt(parcel, readHeader);
break;
case 12:
arrayList2 = SafeParcelReader.createTypedList(parcel, readHeader, PatternItem.CREATOR);
break;
default:
SafeParcelReader.skipUnknownField(parcel, readHeader);
break;
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new PolygonOptions(arrayList3, arrayList, f2, i, i4, f4, z3, z4, z5, i5, arrayList2);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new PolygonOptions[i];
}
}

View File

@@ -0,0 +1,77 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
import java.util.ArrayList;
/* loaded from: classes3.dex */
public final class zzr implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
ArrayList arrayList = null;
Cap cap = null;
Cap cap2 = null;
ArrayList arrayList2 = null;
ArrayList arrayList3 = null;
int i = 0;
boolean z3 = false;
boolean z4 = false;
boolean z5 = false;
int i4 = 0;
float f2 = 0.0f;
float f4 = 0.0f;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
switch (SafeParcelReader.getFieldId(readHeader)) {
case 2:
arrayList = SafeParcelReader.createTypedList(parcel, readHeader, LatLng.CREATOR);
break;
case 3:
f2 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 4:
i = SafeParcelReader.readInt(parcel, readHeader);
break;
case 5:
f4 = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 6:
z3 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 7:
z4 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 8:
z5 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 9:
cap = (Cap) SafeParcelReader.createParcelable(parcel, readHeader, Cap.CREATOR);
break;
case 10:
cap2 = (Cap) SafeParcelReader.createParcelable(parcel, readHeader, Cap.CREATOR);
break;
case 11:
i4 = SafeParcelReader.readInt(parcel, readHeader);
break;
case 12:
arrayList2 = SafeParcelReader.createTypedList(parcel, readHeader, PatternItem.CREATOR);
break;
case 13:
arrayList3 = SafeParcelReader.createTypedList(parcel, readHeader, StyleSpan.CREATOR);
break;
default:
SafeParcelReader.skipUnknownField(parcel, readHeader);
break;
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new PolylineOptions(arrayList, f2, i, f4, z3, z4, z5, cap, cap2, i4, arrayList2, arrayList3);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new PolylineOptions[i];
}
}

View File

@@ -0,0 +1,30 @@
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: classes3.dex */
public final class zzt implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
IBinder iBinder = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
if (SafeParcelReader.getFieldId(readHeader) != 2) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
iBinder = SafeParcelReader.readIBinder(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new StampStyle(iBinder);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new StampStyle[i];
}
}

View File

@@ -0,0 +1,36 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes3.dex */
public final class zzu implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
float f2 = BitmapDescriptorFactory.HUE_RED;
float f4 = 0.0f;
float f5 = 0.0f;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
f2 = SafeParcelReader.readFloat(parcel, readHeader);
} else if (fieldId == 3) {
f4 = SafeParcelReader.readFloat(parcel, readHeader);
} else if (fieldId != 4) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
f5 = SafeParcelReader.readFloat(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new StreetViewPanoramaCamera(f2, f4, f5);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new StreetViewPanoramaCamera[i];
}
}

View File

@@ -0,0 +1,33 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes3.dex */
public final class zzv implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
float f2 = BitmapDescriptorFactory.HUE_RED;
String str = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
str = SafeParcelReader.createString(parcel, readHeader);
} else if (fieldId != 3) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
f2 = SafeParcelReader.readFloat(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new StreetViewPanoramaLink(str, f2);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new StreetViewPanoramaLink[i];
}
}

View File

@@ -0,0 +1,36 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes3.dex */
public final class zzw implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
StreetViewPanoramaLink[] streetViewPanoramaLinkArr = null;
LatLng latLng = null;
String str = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
streetViewPanoramaLinkArr = (StreetViewPanoramaLink[]) SafeParcelReader.createTypedArray(parcel, readHeader, StreetViewPanoramaLink.CREATOR);
} else if (fieldId == 3) {
latLng = (LatLng) SafeParcelReader.createParcelable(parcel, readHeader, LatLng.CREATOR);
} else if (fieldId != 4) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
str = SafeParcelReader.createString(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new StreetViewPanoramaLocation(streetViewPanoramaLinkArr, latLng, str);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new StreetViewPanoramaLocation[i];
}
}

View File

@@ -0,0 +1,33 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes3.dex */
public final class zzx implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
float f2 = BitmapDescriptorFactory.HUE_RED;
float f4 = 0.0f;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
f2 = SafeParcelReader.readFloat(parcel, readHeader);
} else if (fieldId != 3) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
f4 = SafeParcelReader.readFloat(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new StreetViewPanoramaOrientation(f2, f4);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new StreetViewPanoramaOrientation[i];
}
}

View File

@@ -0,0 +1,29 @@
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes3.dex */
public final class zzy implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
int i = 0;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
if (SafeParcelReader.getFieldId(readHeader) != 2) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
i = SafeParcelReader.readInt(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new StreetViewSource(i);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new StreetViewSource[i];
}
}