what-the-bank/sources/com/google/android/gms/maps/internal/zzg.java

602 lines
24 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.maps.internal;
import android.location.Location;
import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;
import com.google.android.gms.dynamic.IObjectWrapper;
import com.google.android.gms.maps.model.CameraPosition;
import com.google.android.gms.maps.model.CircleOptions;
import com.google.android.gms.maps.model.GroundOverlayOptions;
import com.google.android.gms.maps.model.LatLngBounds;
import com.google.android.gms.maps.model.MapStyleOptions;
import com.google.android.gms.maps.model.MarkerOptions;
import com.google.android.gms.maps.model.PolygonOptions;
import com.google.android.gms.maps.model.PolylineOptions;
import com.google.android.gms.maps.model.TileOverlayOptions;
/* loaded from: classes2.dex */
public final class zzg extends com.google.android.gms.internal.maps.zza implements IGoogleMapDelegate {
/* JADX INFO: Access modifiers changed from: package-private */
public zzg(IBinder iBinder) {
super(iBinder, "com.google.android.gms.maps.internal.IGoogleMapDelegate");
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final CameraPosition getCameraPosition() throws RemoteException {
Parcel zza = zza(1, zza());
CameraPosition cameraPosition = (CameraPosition) com.google.android.gms.internal.maps.zzc.zza(zza, CameraPosition.CREATOR);
zza.recycle();
return cameraPosition;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final float getMaxZoomLevel() throws RemoteException {
Parcel zza = zza(2, zza());
float readFloat = zza.readFloat();
zza.recycle();
return readFloat;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final float getMinZoomLevel() throws RemoteException {
Parcel zza = zza(3, zza());
float readFloat = zza.readFloat();
zza.recycle();
return readFloat;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void moveCamera(IObjectWrapper iObjectWrapper) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, iObjectWrapper);
zzb(4, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void animateCamera(IObjectWrapper iObjectWrapper) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, iObjectWrapper);
zzb(5, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void animateCameraWithCallback(IObjectWrapper iObjectWrapper, zzc zzcVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, iObjectWrapper);
com.google.android.gms.internal.maps.zzc.zza(zza, zzcVar);
zzb(6, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void animateCameraWithDurationAndCallback(IObjectWrapper iObjectWrapper, int i, zzc zzcVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, iObjectWrapper);
zza.writeInt(i);
com.google.android.gms.internal.maps.zzc.zza(zza, zzcVar);
zzb(7, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void stopAnimation() throws RemoteException {
zzb(8, zza());
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final com.google.android.gms.internal.maps.zzz addPolyline(PolylineOptions polylineOptions) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, polylineOptions);
Parcel zza2 = zza(9, zza);
com.google.android.gms.internal.maps.zzz zzi = com.google.android.gms.internal.maps.zzaa.zzi(zza2.readStrongBinder());
zza2.recycle();
return zzi;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final com.google.android.gms.internal.maps.zzw addPolygon(PolygonOptions polygonOptions) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, polygonOptions);
Parcel zza2 = zza(10, zza);
com.google.android.gms.internal.maps.zzw zzh = com.google.android.gms.internal.maps.zzx.zzh(zza2.readStrongBinder());
zza2.recycle();
return zzh;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final com.google.android.gms.internal.maps.zzt addMarker(MarkerOptions markerOptions) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, markerOptions);
Parcel zza2 = zza(11, zza);
com.google.android.gms.internal.maps.zzt zzg = com.google.android.gms.internal.maps.zzu.zzg(zza2.readStrongBinder());
zza2.recycle();
return zzg;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final com.google.android.gms.internal.maps.zzk addGroundOverlay(GroundOverlayOptions groundOverlayOptions) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, groundOverlayOptions);
Parcel zza2 = zza(12, zza);
com.google.android.gms.internal.maps.zzk zzd = com.google.android.gms.internal.maps.zzl.zzd(zza2.readStrongBinder());
zza2.recycle();
return zzd;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final com.google.android.gms.internal.maps.zzac addTileOverlay(TileOverlayOptions tileOverlayOptions) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, tileOverlayOptions);
Parcel zza2 = zza(13, zza);
com.google.android.gms.internal.maps.zzac zzj = com.google.android.gms.internal.maps.zzad.zzj(zza2.readStrongBinder());
zza2.recycle();
return zzj;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void clear() throws RemoteException {
zzb(14, zza());
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final int getMapType() throws RemoteException {
Parcel zza = zza(15, zza());
int readInt = zza.readInt();
zza.recycle();
return readInt;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setMapType(int i) throws RemoteException {
Parcel zza = zza();
zza.writeInt(i);
zzb(16, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final boolean isTrafficEnabled() throws RemoteException {
Parcel zza = zza(17, zza());
boolean zza2 = com.google.android.gms.internal.maps.zzc.zza(zza);
zza.recycle();
return zza2;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setTrafficEnabled(boolean z) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.writeBoolean(zza, z);
zzb(18, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final boolean isIndoorEnabled() throws RemoteException {
Parcel zza = zza(19, zza());
boolean zza2 = com.google.android.gms.internal.maps.zzc.zza(zza);
zza.recycle();
return zza2;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final boolean setIndoorEnabled(boolean z) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.writeBoolean(zza, z);
Parcel zza2 = zza(20, zza);
boolean zza3 = com.google.android.gms.internal.maps.zzc.zza(zza2);
zza2.recycle();
return zza3;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final boolean isMyLocationEnabled() throws RemoteException {
Parcel zza = zza(21, zza());
boolean zza2 = com.google.android.gms.internal.maps.zzc.zza(zza);
zza.recycle();
return zza2;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setMyLocationEnabled(boolean z) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.writeBoolean(zza, z);
zzb(22, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final Location getMyLocation() throws RemoteException {
Parcel zza = zza(23, zza());
Location location = (Location) com.google.android.gms.internal.maps.zzc.zza(zza, Location.CREATOR);
zza.recycle();
return location;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setLocationSource(ILocationSourceDelegate iLocationSourceDelegate) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, iLocationSourceDelegate);
zzb(24, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final IUiSettingsDelegate getUiSettings() throws RemoteException {
IUiSettingsDelegate zzbxVar;
Parcel zza = zza(25, zza());
IBinder readStrongBinder = zza.readStrongBinder();
if (readStrongBinder == null) {
zzbxVar = null;
} else {
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IUiSettingsDelegate");
if (queryLocalInterface instanceof IUiSettingsDelegate) {
zzbxVar = (IUiSettingsDelegate) queryLocalInterface;
} else {
zzbxVar = new zzbx(readStrongBinder);
}
}
zza.recycle();
return zzbxVar;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final IProjectionDelegate getProjection() throws RemoteException {
IProjectionDelegate zzbrVar;
Parcel zza = zza(26, zza());
IBinder readStrongBinder = zza.readStrongBinder();
if (readStrongBinder == null) {
zzbrVar = null;
} else {
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IProjectionDelegate");
if (queryLocalInterface instanceof IProjectionDelegate) {
zzbrVar = (IProjectionDelegate) queryLocalInterface;
} else {
zzbrVar = new zzbr(readStrongBinder);
}
}
zza.recycle();
return zzbrVar;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnCameraChangeListener(zzl zzlVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzlVar);
zzb(27, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnMapClickListener(zzaj zzajVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzajVar);
zzb(28, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnMapLongClickListener(zzan zzanVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzanVar);
zzb(29, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnMarkerClickListener(zzar zzarVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzarVar);
zzb(30, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnMarkerDragListener(zzat zzatVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzatVar);
zzb(31, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnInfoWindowClickListener(zzab zzabVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzabVar);
zzb(32, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setInfoWindowAdapter(zzh zzhVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzhVar);
zzb(33, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final com.google.android.gms.internal.maps.zzh addCircle(CircleOptions circleOptions) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, circleOptions);
Parcel zza2 = zza(35, zza);
com.google.android.gms.internal.maps.zzh zzc = com.google.android.gms.internal.maps.zzi.zzc(zza2.readStrongBinder());
zza2.recycle();
return zzc;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnMyLocationChangeListener(zzax zzaxVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzaxVar);
zzb(36, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnMyLocationButtonClickListener(zzav zzavVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzavVar);
zzb(37, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void snapshot(zzbs zzbsVar, IObjectWrapper iObjectWrapper) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzbsVar);
com.google.android.gms.internal.maps.zzc.zza(zza, iObjectWrapper);
zzb(38, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setPadding(int i, int i2, int i3, int i4) throws RemoteException {
Parcel zza = zza();
zza.writeInt(i);
zza.writeInt(i2);
zza.writeInt(i3);
zza.writeInt(i4);
zzb(39, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final boolean isBuildingsEnabled() throws RemoteException {
Parcel zza = zza(40, zza());
boolean zza2 = com.google.android.gms.internal.maps.zzc.zza(zza);
zza.recycle();
return zza2;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setBuildingsEnabled(boolean z) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.writeBoolean(zza, z);
zzb(41, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnMapLoadedCallback(zzal zzalVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzalVar);
zzb(42, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final com.google.android.gms.internal.maps.zzn getFocusedBuilding() throws RemoteException {
Parcel zza = zza(44, zza());
com.google.android.gms.internal.maps.zzn zze = com.google.android.gms.internal.maps.zzo.zze(zza.readStrongBinder());
zza.recycle();
return zze;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnIndoorStateChangeListener(zzz zzzVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzzVar);
zzb(45, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setWatermarkEnabled(boolean z) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.writeBoolean(zza, z);
zzb(51, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void getMapAsync(zzap zzapVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzapVar);
zzb(53, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void onCreate(Bundle bundle) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, bundle);
zzb(54, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void onResume() throws RemoteException {
zzb(55, zza());
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void onPause() throws RemoteException {
zzb(56, zza());
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void onDestroy() throws RemoteException {
zzb(57, zza());
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void onLowMemory() throws RemoteException {
zzb(58, zza());
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final boolean useViewLifecycleWhenInFragment() throws RemoteException {
Parcel zza = zza(59, zza());
boolean zza2 = com.google.android.gms.internal.maps.zzc.zza(zza);
zza.recycle();
return zza2;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void onSaveInstanceState(Bundle bundle) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, bundle);
Parcel zza2 = zza(60, zza);
if (zza2.readInt() != 0) {
bundle.readFromParcel(zza2);
}
zza2.recycle();
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setContentDescription(String str) throws RemoteException {
Parcel zza = zza();
zza.writeString(str);
zzb(61, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void snapshotForTest(zzbs zzbsVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzbsVar);
zzb(71, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnPoiClickListener(zzbb zzbbVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzbbVar);
zzb(80, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void onEnterAmbient(Bundle bundle) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, bundle);
zzb(81, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void onExitAmbient() throws RemoteException {
zzb(82, zza());
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnGroundOverlayClickListener(zzx zzxVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzxVar);
zzb(83, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnInfoWindowLongClickListener(zzaf zzafVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzafVar);
zzb(84, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnPolygonClickListener(zzbd zzbdVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzbdVar);
zzb(85, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnInfoWindowCloseListener(zzad zzadVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzadVar);
zzb(86, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnPolylineClickListener(zzbf zzbfVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzbfVar);
zzb(87, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnCircleClickListener(zzv zzvVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzvVar);
zzb(89, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setMinZoomPreference(float f) throws RemoteException {
Parcel zza = zza();
zza.writeFloat(f);
zzb(92, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setMaxZoomPreference(float f) throws RemoteException {
Parcel zza = zza();
zza.writeFloat(f);
zzb(93, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void resetMinMaxZoomPreference() throws RemoteException {
zzb(94, zza());
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setLatLngBoundsForCameraTarget(LatLngBounds latLngBounds) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, latLngBounds);
zzb(95, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnCameraMoveStartedListener(zzt zztVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zztVar);
zzb(96, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnCameraMoveListener(zzr zzrVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzrVar);
zzb(97, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnCameraMoveCanceledListener(zzp zzpVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzpVar);
zzb(98, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnCameraIdleListener(zzn zznVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zznVar);
zzb(99, zza);
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final boolean setMapStyle(MapStyleOptions mapStyleOptions) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, mapStyleOptions);
Parcel zza2 = zza(91, zza);
boolean zza3 = com.google.android.gms.internal.maps.zzc.zza(zza2);
zza2.recycle();
return zza3;
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void onStart() throws RemoteException {
zzb(101, zza());
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void onStop() throws RemoteException {
zzb(102, zza());
}
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
public final void setOnMyLocationClickListener(zzaz zzazVar) throws RemoteException {
Parcel zza = zza();
com.google.android.gms.internal.maps.zzc.zza(zza, zzazVar);
zzb(107, zza);
}
}