package com.google.android.gms.maps; import android.graphics.Bitmap; import android.location.Location; import android.os.RemoteException; import android.view.View; import com.google.android.gms.common.internal.Preconditions; import com.google.android.gms.dynamic.ObjectWrapper; import com.google.android.gms.maps.internal.IGoogleMapDelegate; import com.google.android.gms.maps.model.AdvancedMarker; import com.google.android.gms.maps.model.AdvancedMarkerOptions; import com.google.android.gms.maps.model.CameraPosition; import com.google.android.gms.maps.model.Circle; import com.google.android.gms.maps.model.CircleOptions; import com.google.android.gms.maps.model.FeatureLayer; import com.google.android.gms.maps.model.FeatureLayerOptions; import com.google.android.gms.maps.model.FeatureType; import com.google.android.gms.maps.model.GroundOverlay; import com.google.android.gms.maps.model.GroundOverlayOptions; import com.google.android.gms.maps.model.IndoorBuilding; import com.google.android.gms.maps.model.LatLng; import com.google.android.gms.maps.model.LatLngBounds; import com.google.android.gms.maps.model.MapCapabilities; import com.google.android.gms.maps.model.MapColorScheme; import com.google.android.gms.maps.model.MapStyleOptions; import com.google.android.gms.maps.model.Marker; import com.google.android.gms.maps.model.MarkerOptions; import com.google.android.gms.maps.model.PointOfInterest; import com.google.android.gms.maps.model.Polygon; import com.google.android.gms.maps.model.PolygonOptions; import com.google.android.gms.maps.model.Polyline; import com.google.android.gms.maps.model.PolylineOptions; import com.google.android.gms.maps.model.RuntimeRemoteException; import com.google.android.gms.maps.model.TileOverlay; import com.google.android.gms.maps.model.TileOverlayOptions; import java.util.HashMap; import java.util.Map; /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ /* JADX INFO: loaded from: classes2.dex */ public class GoogleMap { public static final String DEMO_MAP_ID = "demo_map_id"; public static final int MAP_TYPE_HYBRID = 4; public static final int MAP_TYPE_NONE = 0; public static final int MAP_TYPE_NORMAL = 1; public static final int MAP_TYPE_SATELLITE = 2; public static final int MAP_TYPE_TERRAIN = 3; private final IGoogleMapDelegate zza; private MapCapabilities zzb; private final Map zzc = new HashMap(); private final Map zzd = new HashMap(); private UiSettings zze; /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface CancelableCallback { void onCancel(); void onFinish(); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface InfoWindowAdapter { View getInfoContents(Marker marker); View getInfoWindow(Marker marker); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ @Deprecated public interface OnCameraChangeListener { void onCameraChange(CameraPosition cameraPosition); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnCameraIdleListener { void onCameraIdle(); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnCameraMoveCanceledListener { void onCameraMoveCanceled(); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnCameraMoveListener { void onCameraMove(); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnCameraMoveStartedListener { public static final int REASON_API_ANIMATION = 2; public static final int REASON_DEVELOPER_ANIMATION = 3; public static final int REASON_GESTURE = 1; void onCameraMoveStarted(int i); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnCircleClickListener { void onCircleClick(Circle circle); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnGroundOverlayClickListener { void onGroundOverlayClick(GroundOverlay groundOverlay); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnIndoorStateChangeListener { void onIndoorBuildingFocused(); void onIndoorLevelActivated(IndoorBuilding indoorBuilding); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnInfoWindowClickListener { void onInfoWindowClick(Marker marker); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnInfoWindowCloseListener { void onInfoWindowClose(Marker marker); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnInfoWindowLongClickListener { void onInfoWindowLongClick(Marker marker); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnMapCapabilitiesChangedListener { void onMapCapabilitiesChanged(MapCapabilities mapCapabilities); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnMapClickListener { void onMapClick(LatLng latLng); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnMapLoadedCallback { void onMapLoaded(); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnMapLongClickListener { void onMapLongClick(LatLng latLng); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnMarkerClickListener { boolean onMarkerClick(Marker marker); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnMarkerDragListener { void onMarkerDrag(Marker marker); void onMarkerDragEnd(Marker marker); void onMarkerDragStart(Marker marker); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnMyLocationButtonClickListener { boolean onMyLocationButtonClick(); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ @Deprecated public interface OnMyLocationChangeListener { void onMyLocationChange(Location location); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnMyLocationClickListener { void onMyLocationClick(Location location); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnPoiClickListener { void onPoiClick(PointOfInterest pointOfInterest); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnPolygonClickListener { void onPolygonClick(Polygon polygon); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface OnPolylineClickListener { void onPolylineClick(Polyline polyline); } /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ public interface SnapshotReadyCallback { void onSnapshotReady(Bitmap bitmap); } public GoogleMap(IGoogleMapDelegate iGoogleMapDelegate) { this.zza = (IGoogleMapDelegate) Preconditions.checkNotNull(iGoogleMapDelegate); } public final Circle addCircle(CircleOptions circleOptions) { try { Preconditions.checkNotNull(circleOptions, "CircleOptions must not be null."); return new Circle(this.zza.addCircle(circleOptions)); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final GroundOverlay addGroundOverlay(GroundOverlayOptions groundOverlayOptions) { try { Preconditions.checkNotNull(groundOverlayOptions, "GroundOverlayOptions must not be null."); com.google.android.gms.internal.maps.zzv zzvVarAddGroundOverlay = this.zza.addGroundOverlay(groundOverlayOptions); if (zzvVarAddGroundOverlay != null) { return new GroundOverlay(zzvVarAddGroundOverlay); } return null; } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final Marker addMarker(MarkerOptions markerOptions) { if (markerOptions instanceof AdvancedMarkerOptions) { markerOptions.zzf(1); } try { Preconditions.checkNotNull(markerOptions, "MarkerOptions must not be null."); com.google.android.gms.internal.maps.zzah zzahVarAddMarker = this.zza.addMarker(markerOptions); if (zzahVarAddMarker != null) { return markerOptions.zzb() == 1 ? new AdvancedMarker(zzahVarAddMarker) : new Marker(zzahVarAddMarker); } return null; } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final Polygon addPolygon(PolygonOptions polygonOptions) { try { Preconditions.checkNotNull(polygonOptions, "PolygonOptions must not be null"); return new Polygon(this.zza.addPolygon(polygonOptions)); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final Polyline addPolyline(PolylineOptions polylineOptions) { try { Preconditions.checkNotNull(polylineOptions, "PolylineOptions must not be null"); return new Polyline(this.zza.addPolyline(polylineOptions)); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final TileOverlay addTileOverlay(TileOverlayOptions tileOverlayOptions) { try { Preconditions.checkNotNull(tileOverlayOptions, "TileOverlayOptions must not be null."); com.google.android.gms.internal.maps.zzau zzauVarAddTileOverlay = this.zza.addTileOverlay(tileOverlayOptions); if (zzauVarAddTileOverlay != null) { return new TileOverlay(zzauVarAddTileOverlay); } return null; } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final CameraPosition getCameraPosition() { try { return this.zza.getCameraPosition(); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public FeatureLayer getFeatureLayer(FeatureLayerOptions featureLayerOptions) { String featureType = featureLayerOptions.getFeatureType(); String datasetId = featureLayerOptions.getDatasetId(); boolean zEquals = featureType.equals(FeatureType.DATASET); FeatureLayer featureLayer = zEquals ? (FeatureLayer) this.zzd.get(datasetId) : (FeatureLayer) this.zzd.get(featureType); if (featureLayer == null) { try { featureLayer = new FeatureLayer(this.zza.getFeatureLayer(featureLayerOptions)); if (zEquals) { this.zzd.put(datasetId, featureLayer); } else { this.zzd.put(featureType, featureLayer); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } return featureLayer; } public IndoorBuilding getFocusedBuilding() { try { com.google.android.gms.internal.maps.zzy focusedBuilding = this.zza.getFocusedBuilding(); if (focusedBuilding != null) { return new IndoorBuilding(focusedBuilding); } return null; } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public MapCapabilities getMapCapabilities() { if (this.zzb == null) { try { this.zzb = new MapCapabilities(this.zza.getMapCapabilities()); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } return this.zzb; } @MapColorScheme public int getMapColorScheme() { try { return this.zza.getMapColorScheme(); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final int getMapType() { try { return this.zza.getMapType(); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final float getMaxZoomLevel() { try { return this.zza.getMaxZoomLevel(); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final float getMinZoomLevel() { try { return this.zza.getMinZoomLevel(); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } @Deprecated public final Location getMyLocation() { try { return this.zza.getMyLocation(); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final Projection getProjection() { try { return new Projection(this.zza.getProjection()); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final UiSettings getUiSettings() { try { if (this.zze == null) { this.zze = new UiSettings(this.zza.getUiSettings()); } return this.zze; } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final boolean isBuildingsEnabled() { try { return this.zza.isBuildingsEnabled(); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final boolean isIndoorEnabled() { try { return this.zza.isIndoorEnabled(); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final boolean isMyLocationEnabled() { try { return this.zza.isMyLocationEnabled(); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final boolean isTrafficEnabled() { try { return this.zza.isTrafficEnabled(); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void removeOnMapCapabilitiesChangedListener(OnMapCapabilitiesChangedListener onMapCapabilitiesChangedListener) { try { if (this.zzc.containsKey(onMapCapabilitiesChangedListener)) { this.zza.removeOnMapCapabilitiesChangedListener((com.google.android.gms.maps.internal.zzal) this.zzc.get(onMapCapabilitiesChangedListener)); this.zzc.remove(onMapCapabilitiesChangedListener); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final boolean setIndoorEnabled(boolean z) { try { return this.zza.setIndoorEnabled(z); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setInfoWindowAdapter(InfoWindowAdapter infoWindowAdapter) { try { if (infoWindowAdapter == null) { this.zza.setInfoWindowAdapter(null); } else { this.zza.setInfoWindowAdapter(new zzf(this, infoWindowAdapter)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setLocationSource(LocationSource locationSource) { try { if (locationSource == null) { this.zza.setLocationSource(null); } else { this.zza.setLocationSource(new zzt(this, locationSource)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public boolean setMapStyle(MapStyleOptions mapStyleOptions) { try { return this.zza.setMapStyle(mapStyleOptions); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } @Deprecated public final void setOnCameraChangeListener(OnCameraChangeListener onCameraChangeListener) { try { if (onCameraChangeListener == null) { this.zza.setOnCameraChangeListener(null); } else { this.zza.setOnCameraChangeListener(new zzu(this, onCameraChangeListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnCameraIdleListener(OnCameraIdleListener onCameraIdleListener) { try { if (onCameraIdleListener == null) { this.zza.setOnCameraIdleListener(null); } else { this.zza.setOnCameraIdleListener(new zzy(this, onCameraIdleListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnCameraMoveCanceledListener(OnCameraMoveCanceledListener onCameraMoveCanceledListener) { try { if (onCameraMoveCanceledListener == null) { this.zza.setOnCameraMoveCanceledListener(null); } else { this.zza.setOnCameraMoveCanceledListener(new zzx(this, onCameraMoveCanceledListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnCameraMoveListener(OnCameraMoveListener onCameraMoveListener) { try { if (onCameraMoveListener == null) { this.zza.setOnCameraMoveListener(null); } else { this.zza.setOnCameraMoveListener(new zzw(this, onCameraMoveListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnCameraMoveStartedListener(OnCameraMoveStartedListener onCameraMoveStartedListener) { try { if (onCameraMoveStartedListener == null) { this.zza.setOnCameraMoveStartedListener(null); } else { this.zza.setOnCameraMoveStartedListener(new zzv(this, onCameraMoveStartedListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnCircleClickListener(OnCircleClickListener onCircleClickListener) { try { if (onCircleClickListener == null) { this.zza.setOnCircleClickListener(null); } else { this.zza.setOnCircleClickListener(new zzn(this, onCircleClickListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnGroundOverlayClickListener(OnGroundOverlayClickListener onGroundOverlayClickListener) { try { if (onGroundOverlayClickListener == null) { this.zza.setOnGroundOverlayClickListener(null); } else { this.zza.setOnGroundOverlayClickListener(new zzm(this, onGroundOverlayClickListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnIndoorStateChangeListener(OnIndoorStateChangeListener onIndoorStateChangeListener) { try { if (onIndoorStateChangeListener == null) { this.zza.setOnIndoorStateChangeListener(null); } else { this.zza.setOnIndoorStateChangeListener(new zzk(this, onIndoorStateChangeListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnInfoWindowClickListener(OnInfoWindowClickListener onInfoWindowClickListener) { try { if (onInfoWindowClickListener == null) { this.zza.setOnInfoWindowClickListener(null); } else { this.zza.setOnInfoWindowClickListener(new zzc(this, onInfoWindowClickListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnInfoWindowCloseListener(OnInfoWindowCloseListener onInfoWindowCloseListener) { try { if (onInfoWindowCloseListener == null) { this.zza.setOnInfoWindowCloseListener(null); } else { this.zza.setOnInfoWindowCloseListener(new zze(this, onInfoWindowCloseListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnInfoWindowLongClickListener(OnInfoWindowLongClickListener onInfoWindowLongClickListener) { try { if (onInfoWindowLongClickListener == null) { this.zza.setOnInfoWindowLongClickListener(null); } else { this.zza.setOnInfoWindowLongClickListener(new zzd(this, onInfoWindowLongClickListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnMapClickListener(OnMapClickListener onMapClickListener) { try { if (onMapClickListener == null) { this.zza.setOnMapClickListener(null); } else { this.zza.setOnMapClickListener(new zzz(this, onMapClickListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public void setOnMapLoadedCallback(OnMapLoadedCallback onMapLoadedCallback) { try { if (onMapLoadedCallback == null) { this.zza.setOnMapLoadedCallback(null); } else { this.zza.setOnMapLoadedCallback(new zzj(this, onMapLoadedCallback)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnMapLongClickListener(OnMapLongClickListener onMapLongClickListener) { try { if (onMapLongClickListener == null) { this.zza.setOnMapLongClickListener(null); } else { this.zza.setOnMapLongClickListener(new zzaa(this, onMapLongClickListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnMarkerClickListener(OnMarkerClickListener onMarkerClickListener) { try { if (onMarkerClickListener == null) { this.zza.setOnMarkerClickListener(null); } else { this.zza.setOnMarkerClickListener(new zza(this, onMarkerClickListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnMarkerDragListener(OnMarkerDragListener onMarkerDragListener) { try { if (onMarkerDragListener == null) { this.zza.setOnMarkerDragListener(null); } else { this.zza.setOnMarkerDragListener(new zzb(this, onMarkerDragListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnMyLocationButtonClickListener(OnMyLocationButtonClickListener onMyLocationButtonClickListener) { try { if (onMyLocationButtonClickListener == null) { this.zza.setOnMyLocationButtonClickListener(null); } else { this.zza.setOnMyLocationButtonClickListener(new zzh(this, onMyLocationButtonClickListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } @Deprecated public final void setOnMyLocationChangeListener(OnMyLocationChangeListener onMyLocationChangeListener) { try { if (onMyLocationChangeListener == null) { this.zza.setOnMyLocationChangeListener(null); } else { this.zza.setOnMyLocationChangeListener(new zzg(this, onMyLocationChangeListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnMyLocationClickListener(OnMyLocationClickListener onMyLocationClickListener) { try { if (onMyLocationClickListener == null) { this.zza.setOnMyLocationClickListener(null); } else { this.zza.setOnMyLocationClickListener(new zzi(this, onMyLocationClickListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnPoiClickListener(OnPoiClickListener onPoiClickListener) { try { if (onPoiClickListener == null) { this.zza.setOnPoiClickListener(null); } else { this.zza.setOnPoiClickListener(new zzr(this, onPoiClickListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnPolygonClickListener(OnPolygonClickListener onPolygonClickListener) { try { if (onPolygonClickListener == null) { this.zza.setOnPolygonClickListener(null); } else { this.zza.setOnPolygonClickListener(new zzo(this, onPolygonClickListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setOnPolylineClickListener(OnPolylineClickListener onPolylineClickListener) { try { if (onPolylineClickListener == null) { this.zza.setOnPolylineClickListener(null); } else { this.zza.setOnPolylineClickListener(new zzp(this, onPolylineClickListener)); } } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void snapshot(SnapshotReadyCallback snapshotReadyCallback) { Preconditions.checkNotNull(snapshotReadyCallback, "Callback must not be null."); snapshot(snapshotReadyCallback, null); } public final void clear() { try { this.zza.clear(); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public void resetMinMaxZoomPreference() { try { this.zza.resetMinMaxZoomPreference(); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setBuildingsEnabled(boolean z) { try { this.zza.setBuildingsEnabled(z); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setContentDescription(String str) { try { this.zza.setContentDescription(str); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public void setLatLngBoundsForCameraTarget(LatLngBounds latLngBounds) { try { this.zza.setLatLngBoundsForCameraTarget(latLngBounds); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public void setMapColorScheme(@MapColorScheme int i) { try { this.zza.setMapColorScheme(i); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setMapType(int i) { try { this.zza.setMapType(i); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public void setMaxZoomPreference(float f) { try { this.zza.setMaxZoomPreference(f); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public void setMinZoomPreference(float f) { try { this.zza.setMinZoomPreference(f); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setMyLocationEnabled(boolean z) { try { this.zza.setMyLocationEnabled(z); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setPadding(int i, int i2, int i3, int i4) { try { this.zza.setPadding(i, i2, i3, i4); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void setTrafficEnabled(boolean z) { try { this.zza.setTrafficEnabled(z); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void stopAnimation() { try { this.zza.stopAnimation(); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void animateCamera(CameraUpdate cameraUpdate) { try { Preconditions.checkNotNull(cameraUpdate, "CameraUpdate must not be null."); this.zza.animateCamera(cameraUpdate.zza()); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void moveCamera(CameraUpdate cameraUpdate) { try { Preconditions.checkNotNull(cameraUpdate, "CameraUpdate must not be null."); this.zza.moveCamera(cameraUpdate.zza()); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void snapshot(SnapshotReadyCallback snapshotReadyCallback, Bitmap bitmap) { Preconditions.checkNotNull(snapshotReadyCallback, "Callback must not be null."); try { this.zza.snapshot(new zzq(this, snapshotReadyCallback), (ObjectWrapper) (bitmap != null ? ObjectWrapper.wrap(bitmap) : null)); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void addOnMapCapabilitiesChangedListener(OnMapCapabilitiesChangedListener onMapCapabilitiesChangedListener) { try { zzs zzsVar = new zzs(this, onMapCapabilitiesChangedListener); this.zzc.put(onMapCapabilitiesChangedListener, zzsVar); this.zza.addOnMapCapabilitiesChangedListener(zzsVar); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void animateCamera(CameraUpdate cameraUpdate, int i, CancelableCallback cancelableCallback) { try { Preconditions.checkNotNull(cameraUpdate, "CameraUpdate must not be null."); this.zza.animateCameraWithDurationAndCallback(cameraUpdate.zza(), i, cancelableCallback == null ? null : new zzab(cancelableCallback)); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public final void animateCamera(CameraUpdate cameraUpdate, CancelableCallback cancelableCallback) { try { Preconditions.checkNotNull(cameraUpdate, "CameraUpdate must not be null."); this.zza.animateCameraWithCallback(cameraUpdate.zza(), cancelableCallback == null ? null : new zzab(cancelableCallback)); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } }