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:
@@ -0,0 +1,17 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class CameraUpdate {
|
||||
private final IObjectWrapper zza;
|
||||
|
||||
public CameraUpdate(IObjectWrapper iObjectWrapper) {
|
||||
this.zza = (IObjectWrapper) Preconditions.checkNotNull(iObjectWrapper);
|
||||
}
|
||||
|
||||
public final IObjectWrapper zza() {
|
||||
return this.zza;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.graphics.Point;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate;
|
||||
import com.google.android.gms.maps.model.CameraPosition;
|
||||
import com.google.android.gms.maps.model.LatLng;
|
||||
import com.google.android.gms.maps.model.LatLngBounds;
|
||||
import com.google.android.gms.maps.model.RuntimeRemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class CameraUpdateFactory {
|
||||
private static ICameraUpdateFactoryDelegate zza;
|
||||
|
||||
private CameraUpdateFactory() {
|
||||
}
|
||||
|
||||
public static CameraUpdate newCameraPosition(CameraPosition cameraPosition) {
|
||||
Preconditions.checkNotNull(cameraPosition, "cameraPosition must not be null");
|
||||
try {
|
||||
return new CameraUpdate(zzb().newCameraPosition(cameraPosition));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public static CameraUpdate newLatLng(LatLng latLng) {
|
||||
Preconditions.checkNotNull(latLng, "latLng must not be null");
|
||||
try {
|
||||
return new CameraUpdate(zzb().newLatLng(latLng));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public static CameraUpdate newLatLngBounds(LatLngBounds latLngBounds, int i) {
|
||||
Preconditions.checkNotNull(latLngBounds, "bounds must not be null");
|
||||
try {
|
||||
return new CameraUpdate(zzb().newLatLngBounds(latLngBounds, i));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public static CameraUpdate newLatLngZoom(LatLng latLng, float f2) {
|
||||
Preconditions.checkNotNull(latLng, "latLng must not be null");
|
||||
try {
|
||||
return new CameraUpdate(zzb().newLatLngZoom(latLng, f2));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public static CameraUpdate scrollBy(float f2, float f4) {
|
||||
try {
|
||||
return new CameraUpdate(zzb().scrollBy(f2, f4));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public static CameraUpdate zoomBy(float f2) {
|
||||
try {
|
||||
return new CameraUpdate(zzb().zoomBy(f2));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public static CameraUpdate zoomIn() {
|
||||
try {
|
||||
return new CameraUpdate(zzb().zoomIn());
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public static CameraUpdate zoomOut() {
|
||||
try {
|
||||
return new CameraUpdate(zzb().zoomOut());
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public static CameraUpdate zoomTo(float f2) {
|
||||
try {
|
||||
return new CameraUpdate(zzb().zoomTo(f2));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public static void zza(ICameraUpdateFactoryDelegate iCameraUpdateFactoryDelegate) {
|
||||
zza = (ICameraUpdateFactoryDelegate) Preconditions.checkNotNull(iCameraUpdateFactoryDelegate);
|
||||
}
|
||||
|
||||
private static ICameraUpdateFactoryDelegate zzb() {
|
||||
return (ICameraUpdateFactoryDelegate) Preconditions.checkNotNull(zza, "CameraUpdateFactory is not initialized");
|
||||
}
|
||||
|
||||
public static CameraUpdate zoomBy(float f2, Point point) {
|
||||
Preconditions.checkNotNull(point, "focus must not be null");
|
||||
try {
|
||||
return new CameraUpdate(zzb().zoomByWithFocus(f2, point.x, point.y));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public static CameraUpdate newLatLngBounds(LatLngBounds latLngBounds, int i, int i4, int i5) {
|
||||
Preconditions.checkNotNull(latLngBounds, "bounds must not be null");
|
||||
try {
|
||||
return new CameraUpdate(zzb().newLatLngBoundsWithSize(latLngBounds, i, i4, i5));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,855 @@
|
||||
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.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.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;
|
||||
|
||||
/* loaded from: classes3.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;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface CancelableCallback {
|
||||
void onCancel();
|
||||
|
||||
void onFinish();
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface InfoWindowAdapter {
|
||||
View getInfoContents(Marker marker);
|
||||
|
||||
View getInfoWindow(Marker marker);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnCameraChangeListener {
|
||||
void onCameraChange(CameraPosition cameraPosition);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnCameraIdleListener {
|
||||
void onCameraIdle();
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnCameraMoveCanceledListener {
|
||||
void onCameraMoveCanceled();
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnCameraMoveListener {
|
||||
void onCameraMove();
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
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);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnCircleClickListener {
|
||||
void onCircleClick(Circle circle);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnGroundOverlayClickListener {
|
||||
void onGroundOverlayClick(GroundOverlay groundOverlay);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnIndoorStateChangeListener {
|
||||
void onIndoorBuildingFocused();
|
||||
|
||||
void onIndoorLevelActivated(IndoorBuilding indoorBuilding);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnInfoWindowClickListener {
|
||||
void onInfoWindowClick(Marker marker);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnInfoWindowCloseListener {
|
||||
void onInfoWindowClose(Marker marker);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnInfoWindowLongClickListener {
|
||||
void onInfoWindowLongClick(Marker marker);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnMapCapabilitiesChangedListener {
|
||||
void onMapCapabilitiesChanged(MapCapabilities mapCapabilities);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnMapClickListener {
|
||||
void onMapClick(LatLng latLng);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnMapLoadedCallback {
|
||||
void onMapLoaded();
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnMapLongClickListener {
|
||||
void onMapLongClick(LatLng latLng);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnMarkerClickListener {
|
||||
boolean onMarkerClick(Marker marker);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnMarkerDragListener {
|
||||
void onMarkerDrag(Marker marker);
|
||||
|
||||
void onMarkerDragEnd(Marker marker);
|
||||
|
||||
void onMarkerDragStart(Marker marker);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnMyLocationButtonClickListener {
|
||||
boolean onMyLocationButtonClick();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnMyLocationChangeListener {
|
||||
void onMyLocationChange(Location location);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnMyLocationClickListener {
|
||||
void onMyLocationClick(Location location);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnPoiClickListener {
|
||||
void onPoiClick(PointOfInterest pointOfInterest);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnPolygonClickListener {
|
||||
void onPolygonClick(Polygon polygon);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnPolylineClickListener {
|
||||
void onPolylineClick(Polyline polyline);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
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 e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final GroundOverlay addGroundOverlay(GroundOverlayOptions groundOverlayOptions) {
|
||||
try {
|
||||
Preconditions.checkNotNull(groundOverlayOptions, "GroundOverlayOptions must not be null.");
|
||||
com.google.android.gms.internal.maps.zzr addGroundOverlay = this.zza.addGroundOverlay(groundOverlayOptions);
|
||||
if (addGroundOverlay != null) {
|
||||
return new GroundOverlay(addGroundOverlay);
|
||||
}
|
||||
return null;
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
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.zzad addMarker = this.zza.addMarker(markerOptions);
|
||||
if (addMarker != null) {
|
||||
return markerOptions.zzb() == 1 ? new AdvancedMarker(addMarker) : new Marker(addMarker);
|
||||
}
|
||||
return null;
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void addOnMapCapabilitiesChangedListener(OnMapCapabilitiesChangedListener onMapCapabilitiesChangedListener) {
|
||||
try {
|
||||
zzs zzsVar = new zzs(this, onMapCapabilitiesChangedListener);
|
||||
this.zzc.put(onMapCapabilitiesChangedListener, zzsVar);
|
||||
this.zza.addOnMapCapabilitiesChangedListener(zzsVar);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final Polygon addPolygon(PolygonOptions polygonOptions) {
|
||||
try {
|
||||
Preconditions.checkNotNull(polygonOptions, "PolygonOptions must not be null");
|
||||
return new Polygon(this.zza.addPolygon(polygonOptions));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final Polyline addPolyline(PolylineOptions polylineOptions) {
|
||||
try {
|
||||
Preconditions.checkNotNull(polylineOptions, "PolylineOptions must not be null");
|
||||
return new Polyline(this.zza.addPolyline(polylineOptions));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final TileOverlay addTileOverlay(TileOverlayOptions tileOverlayOptions) {
|
||||
try {
|
||||
Preconditions.checkNotNull(tileOverlayOptions, "TileOverlayOptions must not be null.");
|
||||
com.google.android.gms.internal.maps.zzam addTileOverlay = this.zza.addTileOverlay(tileOverlayOptions);
|
||||
if (addTileOverlay != null) {
|
||||
return new TileOverlay(addTileOverlay);
|
||||
}
|
||||
return null;
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void animateCamera(CameraUpdate cameraUpdate) {
|
||||
try {
|
||||
Preconditions.checkNotNull(cameraUpdate, "CameraUpdate must not be null.");
|
||||
this.zza.animateCamera(cameraUpdate.zza());
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void clear() {
|
||||
try {
|
||||
this.zza.clear();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final CameraPosition getCameraPosition() {
|
||||
try {
|
||||
return this.zza.getCameraPosition();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public IndoorBuilding getFocusedBuilding() {
|
||||
try {
|
||||
com.google.android.gms.internal.maps.zzu focusedBuilding = this.zza.getFocusedBuilding();
|
||||
if (focusedBuilding != null) {
|
||||
return new IndoorBuilding(focusedBuilding);
|
||||
}
|
||||
return null;
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public MapCapabilities getMapCapabilities() {
|
||||
if (this.zzb == null) {
|
||||
try {
|
||||
this.zzb = new MapCapabilities(this.zza.getMapCapabilities());
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
return this.zzb;
|
||||
}
|
||||
|
||||
public final int getMapType() {
|
||||
try {
|
||||
return this.zza.getMapType();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final float getMaxZoomLevel() {
|
||||
try {
|
||||
return this.zza.getMaxZoomLevel();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final float getMinZoomLevel() {
|
||||
try {
|
||||
return this.zza.getMinZoomLevel();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public final Location getMyLocation() {
|
||||
try {
|
||||
return this.zza.getMyLocation();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final Projection getProjection() {
|
||||
try {
|
||||
return new Projection(this.zza.getProjection());
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final UiSettings getUiSettings() {
|
||||
try {
|
||||
if (this.zze == null) {
|
||||
this.zze = new UiSettings(this.zza.getUiSettings());
|
||||
}
|
||||
return this.zze;
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final boolean isBuildingsEnabled() {
|
||||
try {
|
||||
return this.zza.isBuildingsEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final boolean isIndoorEnabled() {
|
||||
try {
|
||||
return this.zza.isIndoorEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final boolean isMyLocationEnabled() {
|
||||
try {
|
||||
return this.zza.isMyLocationEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final boolean isTrafficEnabled() {
|
||||
try {
|
||||
return this.zza.isTrafficEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void moveCamera(CameraUpdate cameraUpdate) {
|
||||
try {
|
||||
Preconditions.checkNotNull(cameraUpdate, "CameraUpdate must not be null.");
|
||||
this.zza.moveCamera(cameraUpdate.zza());
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
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 e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void resetMinMaxZoomPreference() {
|
||||
try {
|
||||
this.zza.resetMinMaxZoomPreference();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setBuildingsEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.setBuildingsEnabled(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setContentDescription(String str) {
|
||||
try {
|
||||
this.zza.setContentDescription(str);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final boolean setIndoorEnabled(boolean z3) {
|
||||
try {
|
||||
return this.zza.setIndoorEnabled(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setInfoWindowAdapter(InfoWindowAdapter infoWindowAdapter) {
|
||||
try {
|
||||
if (infoWindowAdapter == null) {
|
||||
this.zza.setInfoWindowAdapter(null);
|
||||
} else {
|
||||
this.zza.setInfoWindowAdapter(new zzf(this, infoWindowAdapter));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLatLngBoundsForCameraTarget(LatLngBounds latLngBounds) {
|
||||
try {
|
||||
this.zza.setLatLngBoundsForCameraTarget(latLngBounds);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setLocationSource(LocationSource locationSource) {
|
||||
try {
|
||||
if (locationSource == null) {
|
||||
this.zza.setLocationSource(null);
|
||||
} else {
|
||||
this.zza.setLocationSource(new zzt(this, locationSource));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean setMapStyle(MapStyleOptions mapStyleOptions) {
|
||||
try {
|
||||
return this.zza.setMapStyle(mapStyleOptions);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setMapType(int i) {
|
||||
try {
|
||||
this.zza.setMapType(i);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setMaxZoomPreference(float f2) {
|
||||
try {
|
||||
this.zza.setMaxZoomPreference(f2);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setMinZoomPreference(float f2) {
|
||||
try {
|
||||
this.zza.setMinZoomPreference(f2);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setMyLocationEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.setMyLocationEnabled(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@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 e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnCameraIdleListener(OnCameraIdleListener onCameraIdleListener) {
|
||||
try {
|
||||
if (onCameraIdleListener == null) {
|
||||
this.zza.setOnCameraIdleListener(null);
|
||||
} else {
|
||||
this.zza.setOnCameraIdleListener(new zzy(this, onCameraIdleListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnCameraMoveCanceledListener(OnCameraMoveCanceledListener onCameraMoveCanceledListener) {
|
||||
try {
|
||||
if (onCameraMoveCanceledListener == null) {
|
||||
this.zza.setOnCameraMoveCanceledListener(null);
|
||||
} else {
|
||||
this.zza.setOnCameraMoveCanceledListener(new zzx(this, onCameraMoveCanceledListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnCameraMoveListener(OnCameraMoveListener onCameraMoveListener) {
|
||||
try {
|
||||
if (onCameraMoveListener == null) {
|
||||
this.zza.setOnCameraMoveListener(null);
|
||||
} else {
|
||||
this.zza.setOnCameraMoveListener(new zzw(this, onCameraMoveListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnCameraMoveStartedListener(OnCameraMoveStartedListener onCameraMoveStartedListener) {
|
||||
try {
|
||||
if (onCameraMoveStartedListener == null) {
|
||||
this.zza.setOnCameraMoveStartedListener(null);
|
||||
} else {
|
||||
this.zza.setOnCameraMoveStartedListener(new zzv(this, onCameraMoveStartedListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnCircleClickListener(OnCircleClickListener onCircleClickListener) {
|
||||
try {
|
||||
if (onCircleClickListener == null) {
|
||||
this.zza.setOnCircleClickListener(null);
|
||||
} else {
|
||||
this.zza.setOnCircleClickListener(new zzn(this, onCircleClickListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnGroundOverlayClickListener(OnGroundOverlayClickListener onGroundOverlayClickListener) {
|
||||
try {
|
||||
if (onGroundOverlayClickListener == null) {
|
||||
this.zza.setOnGroundOverlayClickListener(null);
|
||||
} else {
|
||||
this.zza.setOnGroundOverlayClickListener(new zzm(this, onGroundOverlayClickListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnIndoorStateChangeListener(OnIndoorStateChangeListener onIndoorStateChangeListener) {
|
||||
try {
|
||||
if (onIndoorStateChangeListener == null) {
|
||||
this.zza.setOnIndoorStateChangeListener(null);
|
||||
} else {
|
||||
this.zza.setOnIndoorStateChangeListener(new zzk(this, onIndoorStateChangeListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnInfoWindowClickListener(OnInfoWindowClickListener onInfoWindowClickListener) {
|
||||
try {
|
||||
if (onInfoWindowClickListener == null) {
|
||||
this.zza.setOnInfoWindowClickListener(null);
|
||||
} else {
|
||||
this.zza.setOnInfoWindowClickListener(new zzc(this, onInfoWindowClickListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnInfoWindowCloseListener(OnInfoWindowCloseListener onInfoWindowCloseListener) {
|
||||
try {
|
||||
if (onInfoWindowCloseListener == null) {
|
||||
this.zza.setOnInfoWindowCloseListener(null);
|
||||
} else {
|
||||
this.zza.setOnInfoWindowCloseListener(new zze(this, onInfoWindowCloseListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnInfoWindowLongClickListener(OnInfoWindowLongClickListener onInfoWindowLongClickListener) {
|
||||
try {
|
||||
if (onInfoWindowLongClickListener == null) {
|
||||
this.zza.setOnInfoWindowLongClickListener(null);
|
||||
} else {
|
||||
this.zza.setOnInfoWindowLongClickListener(new zzd(this, onInfoWindowLongClickListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnMapClickListener(OnMapClickListener onMapClickListener) {
|
||||
try {
|
||||
if (onMapClickListener == null) {
|
||||
this.zza.setOnMapClickListener(null);
|
||||
} else {
|
||||
this.zza.setOnMapClickListener(new zzz(this, onMapClickListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setOnMapLoadedCallback(OnMapLoadedCallback onMapLoadedCallback) {
|
||||
try {
|
||||
if (onMapLoadedCallback == null) {
|
||||
this.zza.setOnMapLoadedCallback(null);
|
||||
} else {
|
||||
this.zza.setOnMapLoadedCallback(new zzj(this, onMapLoadedCallback));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnMapLongClickListener(OnMapLongClickListener onMapLongClickListener) {
|
||||
try {
|
||||
if (onMapLongClickListener == null) {
|
||||
this.zza.setOnMapLongClickListener(null);
|
||||
} else {
|
||||
this.zza.setOnMapLongClickListener(new zzaa(this, onMapLongClickListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnMarkerClickListener(OnMarkerClickListener onMarkerClickListener) {
|
||||
try {
|
||||
if (onMarkerClickListener == null) {
|
||||
this.zza.setOnMarkerClickListener(null);
|
||||
} else {
|
||||
this.zza.setOnMarkerClickListener(new zza(this, onMarkerClickListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnMarkerDragListener(OnMarkerDragListener onMarkerDragListener) {
|
||||
try {
|
||||
if (onMarkerDragListener == null) {
|
||||
this.zza.setOnMarkerDragListener(null);
|
||||
} else {
|
||||
this.zza.setOnMarkerDragListener(new zzb(this, onMarkerDragListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnMyLocationButtonClickListener(OnMyLocationButtonClickListener onMyLocationButtonClickListener) {
|
||||
try {
|
||||
if (onMyLocationButtonClickListener == null) {
|
||||
this.zza.setOnMyLocationButtonClickListener(null);
|
||||
} else {
|
||||
this.zza.setOnMyLocationButtonClickListener(new zzh(this, onMyLocationButtonClickListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@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 e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnMyLocationClickListener(OnMyLocationClickListener onMyLocationClickListener) {
|
||||
try {
|
||||
if (onMyLocationClickListener == null) {
|
||||
this.zza.setOnMyLocationClickListener(null);
|
||||
} else {
|
||||
this.zza.setOnMyLocationClickListener(new zzi(this, onMyLocationClickListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnPoiClickListener(OnPoiClickListener onPoiClickListener) {
|
||||
try {
|
||||
if (onPoiClickListener == null) {
|
||||
this.zza.setOnPoiClickListener(null);
|
||||
} else {
|
||||
this.zza.setOnPoiClickListener(new zzr(this, onPoiClickListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnPolygonClickListener(OnPolygonClickListener onPolygonClickListener) {
|
||||
try {
|
||||
if (onPolygonClickListener == null) {
|
||||
this.zza.setOnPolygonClickListener(null);
|
||||
} else {
|
||||
this.zza.setOnPolygonClickListener(new zzo(this, onPolygonClickListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnPolylineClickListener(OnPolylineClickListener onPolylineClickListener) {
|
||||
try {
|
||||
if (onPolylineClickListener == null) {
|
||||
this.zza.setOnPolylineClickListener(null);
|
||||
} else {
|
||||
this.zza.setOnPolylineClickListener(new zzp(this, onPolylineClickListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setPadding(int i, int i4, int i5, int i6) {
|
||||
try {
|
||||
this.zza.setPadding(i, i4, i5, i6);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setTrafficEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.setTrafficEnabled(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void snapshot(SnapshotReadyCallback snapshotReadyCallback) {
|
||||
Preconditions.checkNotNull(snapshotReadyCallback, "Callback must not be null.");
|
||||
snapshot(snapshotReadyCallback, null);
|
||||
}
|
||||
|
||||
public final void stopAnimation() {
|
||||
try {
|
||||
this.zza.stopAnimation();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
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 e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
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 e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
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 e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,446 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Color;
|
||||
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.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.BitmapDescriptorFactory;
|
||||
import com.google.android.gms.maps.model.CameraPosition;
|
||||
import com.google.android.gms.maps.model.LatLng;
|
||||
import com.google.android.gms.maps.model.LatLngBounds;
|
||||
import kotlin.KotlinVersion;
|
||||
|
||||
@SafeParcelable.Class(creator = "GoogleMapOptionsCreator")
|
||||
@SafeParcelable.Reserved({1})
|
||||
/* loaded from: classes3.dex */
|
||||
public final class GoogleMapOptions extends AbstractSafeParcelable implements ReflectedParcelable {
|
||||
public static final Parcelable.Creator<GoogleMapOptions> CREATOR = new zzac();
|
||||
private static final Integer zza = Integer.valueOf(Color.argb(KotlinVersion.MAX_COMPONENT_VALUE, 236, 233, 225));
|
||||
|
||||
@SafeParcelable.Field(defaultValue = "-1", getter = "getZOrderOnTopForParcel", id = 2, type = "byte")
|
||||
private Boolean zzb;
|
||||
|
||||
@SafeParcelable.Field(defaultValue = "-1", getter = "getUseViewLifecycleInFragmentForParcel", id = 3, type = "byte")
|
||||
private Boolean zzc;
|
||||
|
||||
@SafeParcelable.Field(getter = "getMapType", id = 4)
|
||||
private int zzd;
|
||||
|
||||
@SafeParcelable.Field(getter = "getCamera", id = 5)
|
||||
private CameraPosition zze;
|
||||
|
||||
@SafeParcelable.Field(defaultValue = "-1", getter = "getZoomControlsEnabledForParcel", id = 6, type = "byte")
|
||||
private Boolean zzf;
|
||||
|
||||
@SafeParcelable.Field(defaultValue = "-1", getter = "getCompassEnabledForParcel", id = 7, type = "byte")
|
||||
private Boolean zzg;
|
||||
|
||||
@SafeParcelable.Field(defaultValue = "-1", getter = "getScrollGesturesEnabledForParcel", id = 8, type = "byte")
|
||||
private Boolean zzh;
|
||||
|
||||
@SafeParcelable.Field(defaultValue = "-1", getter = "getZoomGesturesEnabledForParcel", id = 9, type = "byte")
|
||||
private Boolean zzi;
|
||||
|
||||
@SafeParcelable.Field(defaultValue = "-1", getter = "getTiltGesturesEnabledForParcel", id = 10, type = "byte")
|
||||
private Boolean zzj;
|
||||
|
||||
@SafeParcelable.Field(defaultValue = "-1", getter = "getRotateGesturesEnabledForParcel", id = 11, type = "byte")
|
||||
private Boolean zzk;
|
||||
|
||||
@SafeParcelable.Field(defaultValue = "-1", getter = "getLiteModeForParcel", id = 12, type = "byte")
|
||||
private Boolean zzl;
|
||||
|
||||
@SafeParcelable.Field(defaultValue = "-1", getter = "getMapToolbarEnabledForParcel", id = 14, type = "byte")
|
||||
private Boolean zzm;
|
||||
|
||||
@SafeParcelable.Field(defaultValue = "-1", getter = "getAmbientEnabledForParcel", id = 15, type = "byte")
|
||||
private Boolean zzn;
|
||||
|
||||
@SafeParcelable.Field(getter = "getMinZoomPreference", id = 16)
|
||||
private Float zzo;
|
||||
|
||||
@SafeParcelable.Field(getter = "getMaxZoomPreference", id = 17)
|
||||
private Float zzp;
|
||||
|
||||
@SafeParcelable.Field(getter = "getLatLngBoundsForCameraTarget", id = 18)
|
||||
private LatLngBounds zzq;
|
||||
|
||||
@SafeParcelable.Field(defaultValue = "-1", getter = "getScrollGesturesEnabledDuringRotateOrZoomForParcel", id = 19, type = "byte")
|
||||
private Boolean zzr;
|
||||
|
||||
@SafeParcelable.Field(getter = "getBackgroundColor", id = 20)
|
||||
private Integer zzs;
|
||||
|
||||
@SafeParcelable.Field(getter = "getMapId", id = 21)
|
||||
private String zzt;
|
||||
|
||||
public GoogleMapOptions() {
|
||||
this.zzd = -1;
|
||||
this.zzo = null;
|
||||
this.zzp = null;
|
||||
this.zzq = null;
|
||||
this.zzs = null;
|
||||
this.zzt = null;
|
||||
}
|
||||
|
||||
public static GoogleMapOptions createFromAttributes(Context context, AttributeSet attributeSet) {
|
||||
String string;
|
||||
if (context == null || attributeSet == null) {
|
||||
return null;
|
||||
}
|
||||
TypedArray obtainAttributes = context.getResources().obtainAttributes(attributeSet, R.styleable.MapAttrs);
|
||||
GoogleMapOptions googleMapOptions = new GoogleMapOptions();
|
||||
int i = R.styleable.MapAttrs_mapType;
|
||||
if (obtainAttributes.hasValue(i)) {
|
||||
googleMapOptions.mapType(obtainAttributes.getInt(i, -1));
|
||||
}
|
||||
int i4 = R.styleable.MapAttrs_zOrderOnTop;
|
||||
if (obtainAttributes.hasValue(i4)) {
|
||||
googleMapOptions.zOrderOnTop(obtainAttributes.getBoolean(i4, false));
|
||||
}
|
||||
int i5 = R.styleable.MapAttrs_useViewLifecycle;
|
||||
if (obtainAttributes.hasValue(i5)) {
|
||||
googleMapOptions.useViewLifecycleInFragment(obtainAttributes.getBoolean(i5, false));
|
||||
}
|
||||
int i6 = R.styleable.MapAttrs_uiCompass;
|
||||
if (obtainAttributes.hasValue(i6)) {
|
||||
googleMapOptions.compassEnabled(obtainAttributes.getBoolean(i6, true));
|
||||
}
|
||||
int i7 = R.styleable.MapAttrs_uiRotateGestures;
|
||||
if (obtainAttributes.hasValue(i7)) {
|
||||
googleMapOptions.rotateGesturesEnabled(obtainAttributes.getBoolean(i7, true));
|
||||
}
|
||||
int i8 = R.styleable.MapAttrs_uiScrollGesturesDuringRotateOrZoom;
|
||||
if (obtainAttributes.hasValue(i8)) {
|
||||
googleMapOptions.scrollGesturesEnabledDuringRotateOrZoom(obtainAttributes.getBoolean(i8, true));
|
||||
}
|
||||
int i9 = R.styleable.MapAttrs_uiScrollGestures;
|
||||
if (obtainAttributes.hasValue(i9)) {
|
||||
googleMapOptions.scrollGesturesEnabled(obtainAttributes.getBoolean(i9, true));
|
||||
}
|
||||
int i10 = R.styleable.MapAttrs_uiTiltGestures;
|
||||
if (obtainAttributes.hasValue(i10)) {
|
||||
googleMapOptions.tiltGesturesEnabled(obtainAttributes.getBoolean(i10, true));
|
||||
}
|
||||
int i11 = R.styleable.MapAttrs_uiZoomGestures;
|
||||
if (obtainAttributes.hasValue(i11)) {
|
||||
googleMapOptions.zoomGesturesEnabled(obtainAttributes.getBoolean(i11, true));
|
||||
}
|
||||
int i12 = R.styleable.MapAttrs_uiZoomControls;
|
||||
if (obtainAttributes.hasValue(i12)) {
|
||||
googleMapOptions.zoomControlsEnabled(obtainAttributes.getBoolean(i12, true));
|
||||
}
|
||||
int i13 = R.styleable.MapAttrs_liteMode;
|
||||
if (obtainAttributes.hasValue(i13)) {
|
||||
googleMapOptions.liteMode(obtainAttributes.getBoolean(i13, false));
|
||||
}
|
||||
int i14 = R.styleable.MapAttrs_uiMapToolbar;
|
||||
if (obtainAttributes.hasValue(i14)) {
|
||||
googleMapOptions.mapToolbarEnabled(obtainAttributes.getBoolean(i14, true));
|
||||
}
|
||||
int i15 = R.styleable.MapAttrs_ambientEnabled;
|
||||
if (obtainAttributes.hasValue(i15)) {
|
||||
googleMapOptions.ambientEnabled(obtainAttributes.getBoolean(i15, false));
|
||||
}
|
||||
int i16 = R.styleable.MapAttrs_cameraMinZoomPreference;
|
||||
if (obtainAttributes.hasValue(i16)) {
|
||||
googleMapOptions.minZoomPreference(obtainAttributes.getFloat(i16, Float.NEGATIVE_INFINITY));
|
||||
}
|
||||
if (obtainAttributes.hasValue(i16)) {
|
||||
googleMapOptions.maxZoomPreference(obtainAttributes.getFloat(R.styleable.MapAttrs_cameraMaxZoomPreference, Float.POSITIVE_INFINITY));
|
||||
}
|
||||
int i17 = R.styleable.MapAttrs_backgroundColor;
|
||||
if (obtainAttributes.hasValue(i17)) {
|
||||
googleMapOptions.backgroundColor(Integer.valueOf(obtainAttributes.getColor(i17, zza.intValue())));
|
||||
}
|
||||
int i18 = R.styleable.MapAttrs_mapId;
|
||||
if (obtainAttributes.hasValue(i18) && (string = obtainAttributes.getString(i18)) != null && !string.isEmpty()) {
|
||||
googleMapOptions.mapId(string);
|
||||
}
|
||||
googleMapOptions.latLngBoundsForCameraTarget(zzb(context, attributeSet));
|
||||
googleMapOptions.camera(zza(context, attributeSet));
|
||||
obtainAttributes.recycle();
|
||||
return googleMapOptions;
|
||||
}
|
||||
|
||||
public static CameraPosition zza(Context context, AttributeSet attributeSet) {
|
||||
if (context == null || attributeSet == null) {
|
||||
return null;
|
||||
}
|
||||
TypedArray obtainAttributes = context.getResources().obtainAttributes(attributeSet, R.styleable.MapAttrs);
|
||||
int i = R.styleable.MapAttrs_cameraTargetLat;
|
||||
LatLng latLng = new LatLng(obtainAttributes.hasValue(i) ? obtainAttributes.getFloat(i, BitmapDescriptorFactory.HUE_RED) : 0.0f, obtainAttributes.hasValue(R.styleable.MapAttrs_cameraTargetLng) ? obtainAttributes.getFloat(r0, BitmapDescriptorFactory.HUE_RED) : 0.0f);
|
||||
CameraPosition.Builder builder = CameraPosition.builder();
|
||||
builder.target(latLng);
|
||||
int i4 = R.styleable.MapAttrs_cameraZoom;
|
||||
if (obtainAttributes.hasValue(i4)) {
|
||||
builder.zoom(obtainAttributes.getFloat(i4, BitmapDescriptorFactory.HUE_RED));
|
||||
}
|
||||
int i5 = R.styleable.MapAttrs_cameraBearing;
|
||||
if (obtainAttributes.hasValue(i5)) {
|
||||
builder.bearing(obtainAttributes.getFloat(i5, BitmapDescriptorFactory.HUE_RED));
|
||||
}
|
||||
int i6 = R.styleable.MapAttrs_cameraTilt;
|
||||
if (obtainAttributes.hasValue(i6)) {
|
||||
builder.tilt(obtainAttributes.getFloat(i6, BitmapDescriptorFactory.HUE_RED));
|
||||
}
|
||||
obtainAttributes.recycle();
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
public static LatLngBounds zzb(Context context, AttributeSet attributeSet) {
|
||||
if (context == null || attributeSet == null) {
|
||||
return null;
|
||||
}
|
||||
TypedArray obtainAttributes = context.getResources().obtainAttributes(attributeSet, R.styleable.MapAttrs);
|
||||
int i = R.styleable.MapAttrs_latLngBoundsSouthWestLatitude;
|
||||
Float valueOf = obtainAttributes.hasValue(i) ? Float.valueOf(obtainAttributes.getFloat(i, BitmapDescriptorFactory.HUE_RED)) : null;
|
||||
int i4 = R.styleable.MapAttrs_latLngBoundsSouthWestLongitude;
|
||||
Float valueOf2 = obtainAttributes.hasValue(i4) ? Float.valueOf(obtainAttributes.getFloat(i4, BitmapDescriptorFactory.HUE_RED)) : null;
|
||||
int i5 = R.styleable.MapAttrs_latLngBoundsNorthEastLatitude;
|
||||
Float valueOf3 = obtainAttributes.hasValue(i5) ? Float.valueOf(obtainAttributes.getFloat(i5, BitmapDescriptorFactory.HUE_RED)) : null;
|
||||
int i6 = R.styleable.MapAttrs_latLngBoundsNorthEastLongitude;
|
||||
Float valueOf4 = obtainAttributes.hasValue(i6) ? Float.valueOf(obtainAttributes.getFloat(i6, BitmapDescriptorFactory.HUE_RED)) : null;
|
||||
obtainAttributes.recycle();
|
||||
if (valueOf == null || valueOf2 == null || valueOf3 == null || valueOf4 == null) {
|
||||
return null;
|
||||
}
|
||||
return new LatLngBounds(new LatLng(valueOf.floatValue(), valueOf2.floatValue()), new LatLng(valueOf3.floatValue(), valueOf4.floatValue()));
|
||||
}
|
||||
|
||||
public GoogleMapOptions ambientEnabled(boolean z3) {
|
||||
this.zzn = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions backgroundColor(Integer num) {
|
||||
this.zzs = num;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions camera(CameraPosition cameraPosition) {
|
||||
this.zze = cameraPosition;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions compassEnabled(boolean z3) {
|
||||
this.zzg = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Boolean getAmbientEnabled() {
|
||||
return this.zzn;
|
||||
}
|
||||
|
||||
public Integer getBackgroundColor() {
|
||||
return this.zzs;
|
||||
}
|
||||
|
||||
public CameraPosition getCamera() {
|
||||
return this.zze;
|
||||
}
|
||||
|
||||
public Boolean getCompassEnabled() {
|
||||
return this.zzg;
|
||||
}
|
||||
|
||||
public LatLngBounds getLatLngBoundsForCameraTarget() {
|
||||
return this.zzq;
|
||||
}
|
||||
|
||||
public Boolean getLiteMode() {
|
||||
return this.zzl;
|
||||
}
|
||||
|
||||
public String getMapId() {
|
||||
return this.zzt;
|
||||
}
|
||||
|
||||
public Boolean getMapToolbarEnabled() {
|
||||
return this.zzm;
|
||||
}
|
||||
|
||||
public int getMapType() {
|
||||
return this.zzd;
|
||||
}
|
||||
|
||||
public Float getMaxZoomPreference() {
|
||||
return this.zzp;
|
||||
}
|
||||
|
||||
public Float getMinZoomPreference() {
|
||||
return this.zzo;
|
||||
}
|
||||
|
||||
public Boolean getRotateGesturesEnabled() {
|
||||
return this.zzk;
|
||||
}
|
||||
|
||||
public Boolean getScrollGesturesEnabled() {
|
||||
return this.zzh;
|
||||
}
|
||||
|
||||
public Boolean getScrollGesturesEnabledDuringRotateOrZoom() {
|
||||
return this.zzr;
|
||||
}
|
||||
|
||||
public Boolean getTiltGesturesEnabled() {
|
||||
return this.zzj;
|
||||
}
|
||||
|
||||
public Boolean getUseViewLifecycleInFragment() {
|
||||
return this.zzc;
|
||||
}
|
||||
|
||||
public Boolean getZOrderOnTop() {
|
||||
return this.zzb;
|
||||
}
|
||||
|
||||
public Boolean getZoomControlsEnabled() {
|
||||
return this.zzf;
|
||||
}
|
||||
|
||||
public Boolean getZoomGesturesEnabled() {
|
||||
return this.zzi;
|
||||
}
|
||||
|
||||
public GoogleMapOptions latLngBoundsForCameraTarget(LatLngBounds latLngBounds) {
|
||||
this.zzq = latLngBounds;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions liteMode(boolean z3) {
|
||||
this.zzl = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions mapId(String str) {
|
||||
this.zzt = str;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions mapToolbarEnabled(boolean z3) {
|
||||
this.zzm = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions mapType(int i) {
|
||||
this.zzd = i;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions maxZoomPreference(float f2) {
|
||||
this.zzp = Float.valueOf(f2);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions minZoomPreference(float f2) {
|
||||
this.zzo = Float.valueOf(f2);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions rotateGesturesEnabled(boolean z3) {
|
||||
this.zzk = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions scrollGesturesEnabled(boolean z3) {
|
||||
this.zzh = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions scrollGesturesEnabledDuringRotateOrZoom(boolean z3) {
|
||||
this.zzr = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions tiltGesturesEnabled(boolean z3) {
|
||||
this.zzj = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return Objects.toStringHelper(this).add("MapType", Integer.valueOf(this.zzd)).add("LiteMode", this.zzl).add("Camera", this.zze).add("CompassEnabled", this.zzg).add("ZoomControlsEnabled", this.zzf).add("ScrollGesturesEnabled", this.zzh).add("ZoomGesturesEnabled", this.zzi).add("TiltGesturesEnabled", this.zzj).add("RotateGesturesEnabled", this.zzk).add("ScrollGesturesEnabledDuringRotateOrZoom", this.zzr).add("MapToolbarEnabled", this.zzm).add("AmbientEnabled", this.zzn).add("MinZoomPreference", this.zzo).add("MaxZoomPreference", this.zzp).add("BackgroundColor", this.zzs).add("LatLngBoundsForCameraTarget", this.zzq).add("ZOrderOnTop", this.zzb).add("UseViewLifecycleInFragment", this.zzc).toString();
|
||||
}
|
||||
|
||||
public GoogleMapOptions useViewLifecycleInFragment(boolean z3) {
|
||||
this.zzc = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public void writeToParcel(Parcel parcel, int i) {
|
||||
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||||
SafeParcelWriter.writeByte(parcel, 2, com.google.android.gms.maps.internal.zza.zza(this.zzb));
|
||||
SafeParcelWriter.writeByte(parcel, 3, com.google.android.gms.maps.internal.zza.zza(this.zzc));
|
||||
SafeParcelWriter.writeInt(parcel, 4, getMapType());
|
||||
SafeParcelWriter.writeParcelable(parcel, 5, getCamera(), i, false);
|
||||
SafeParcelWriter.writeByte(parcel, 6, com.google.android.gms.maps.internal.zza.zza(this.zzf));
|
||||
SafeParcelWriter.writeByte(parcel, 7, com.google.android.gms.maps.internal.zza.zza(this.zzg));
|
||||
SafeParcelWriter.writeByte(parcel, 8, com.google.android.gms.maps.internal.zza.zza(this.zzh));
|
||||
SafeParcelWriter.writeByte(parcel, 9, com.google.android.gms.maps.internal.zza.zza(this.zzi));
|
||||
SafeParcelWriter.writeByte(parcel, 10, com.google.android.gms.maps.internal.zza.zza(this.zzj));
|
||||
SafeParcelWriter.writeByte(parcel, 11, com.google.android.gms.maps.internal.zza.zza(this.zzk));
|
||||
SafeParcelWriter.writeByte(parcel, 12, com.google.android.gms.maps.internal.zza.zza(this.zzl));
|
||||
SafeParcelWriter.writeByte(parcel, 14, com.google.android.gms.maps.internal.zza.zza(this.zzm));
|
||||
SafeParcelWriter.writeByte(parcel, 15, com.google.android.gms.maps.internal.zza.zza(this.zzn));
|
||||
SafeParcelWriter.writeFloatObject(parcel, 16, getMinZoomPreference(), false);
|
||||
SafeParcelWriter.writeFloatObject(parcel, 17, getMaxZoomPreference(), false);
|
||||
SafeParcelWriter.writeParcelable(parcel, 18, getLatLngBoundsForCameraTarget(), i, false);
|
||||
SafeParcelWriter.writeByte(parcel, 19, com.google.android.gms.maps.internal.zza.zza(this.zzr));
|
||||
SafeParcelWriter.writeIntegerObject(parcel, 20, getBackgroundColor(), false);
|
||||
SafeParcelWriter.writeString(parcel, 21, getMapId(), false);
|
||||
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
||||
}
|
||||
|
||||
public GoogleMapOptions zOrderOnTop(boolean z3) {
|
||||
this.zzb = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions zoomControlsEnabled(boolean z3) {
|
||||
this.zzf = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GoogleMapOptions zoomGesturesEnabled(boolean z3) {
|
||||
this.zzi = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
@SafeParcelable.Constructor
|
||||
public GoogleMapOptions(@SafeParcelable.Param(id = 2) byte b4, @SafeParcelable.Param(id = 3) byte b5, @SafeParcelable.Param(id = 4) int i, @SafeParcelable.Param(id = 5) CameraPosition cameraPosition, @SafeParcelable.Param(id = 6) byte b6, @SafeParcelable.Param(id = 7) byte b7, @SafeParcelable.Param(id = 8) byte b8, @SafeParcelable.Param(id = 9) byte b9, @SafeParcelable.Param(id = 10) byte b10, @SafeParcelable.Param(id = 11) byte b11, @SafeParcelable.Param(id = 12) byte b12, @SafeParcelable.Param(id = 14) byte b13, @SafeParcelable.Param(id = 15) byte b14, @SafeParcelable.Param(id = 16) Float f2, @SafeParcelable.Param(id = 17) Float f4, @SafeParcelable.Param(id = 18) LatLngBounds latLngBounds, @SafeParcelable.Param(id = 19) byte b15, @SafeParcelable.Param(id = 20) Integer num, @SafeParcelable.Param(id = 21) String str) {
|
||||
this.zzd = -1;
|
||||
this.zzo = null;
|
||||
this.zzp = null;
|
||||
this.zzq = null;
|
||||
this.zzs = null;
|
||||
this.zzt = null;
|
||||
this.zzb = com.google.android.gms.maps.internal.zza.zzb(b4);
|
||||
this.zzc = com.google.android.gms.maps.internal.zza.zzb(b5);
|
||||
this.zzd = i;
|
||||
this.zze = cameraPosition;
|
||||
this.zzf = com.google.android.gms.maps.internal.zza.zzb(b6);
|
||||
this.zzg = com.google.android.gms.maps.internal.zza.zzb(b7);
|
||||
this.zzh = com.google.android.gms.maps.internal.zza.zzb(b8);
|
||||
this.zzi = com.google.android.gms.maps.internal.zza.zzb(b9);
|
||||
this.zzj = com.google.android.gms.maps.internal.zza.zzb(b10);
|
||||
this.zzk = com.google.android.gms.maps.internal.zza.zzb(b11);
|
||||
this.zzl = com.google.android.gms.maps.internal.zza.zzb(b12);
|
||||
this.zzm = com.google.android.gms.maps.internal.zza.zzb(b13);
|
||||
this.zzn = com.google.android.gms.maps.internal.zza.zzb(b14);
|
||||
this.zzo = f2;
|
||||
this.zzp = f4;
|
||||
this.zzq = latLngBounds;
|
||||
this.zzr = com.google.android.gms.maps.internal.zza.zzb(b15);
|
||||
this.zzs = num;
|
||||
this.zzt = str;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.location.Location;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface LocationSource {
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnLocationChangedListener {
|
||||
void onLocationChanged(Location location);
|
||||
}
|
||||
|
||||
void activate(OnLocationChangedListener onLocationChangedListener);
|
||||
|
||||
void deactivate();
|
||||
}
|
||||
@@ -0,0 +1,151 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.Fragment;
|
||||
import android.os.Bundle;
|
||||
import android.os.StrictMode;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public class MapFragment extends Fragment {
|
||||
private final zzaf zza = new zzaf(this);
|
||||
|
||||
public static MapFragment newInstance() {
|
||||
return new MapFragment();
|
||||
}
|
||||
|
||||
public void getMapAsync(OnMapReadyCallback onMapReadyCallback) {
|
||||
Preconditions.checkMainThread("getMapAsync must be called on the main thread.");
|
||||
Preconditions.checkNotNull(onMapReadyCallback, "callback must not be null.");
|
||||
this.zza.zzb(onMapReadyCallback);
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onActivityCreated(Bundle bundle) {
|
||||
ClassLoader classLoader = MapFragment.class.getClassLoader();
|
||||
if (bundle != null && classLoader != null) {
|
||||
bundle.setClassLoader(classLoader);
|
||||
}
|
||||
super.onActivityCreated(bundle);
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onAttach(Activity activity) {
|
||||
super.onAttach(activity);
|
||||
zzaf.zza(this.zza, activity);
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onCreate(Bundle bundle) {
|
||||
super.onCreate(bundle);
|
||||
this.zza.onCreate(bundle);
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||||
View onCreateView = this.zza.onCreateView(layoutInflater, viewGroup, bundle);
|
||||
onCreateView.setClickable(true);
|
||||
return onCreateView;
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onDestroy() {
|
||||
this.zza.onDestroy();
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onDestroyView() {
|
||||
this.zza.onDestroyView();
|
||||
super.onDestroyView();
|
||||
}
|
||||
|
||||
public final void onEnterAmbient(Bundle bundle) {
|
||||
Preconditions.checkMainThread("onEnterAmbient must be called on the main thread.");
|
||||
zzaf zzafVar = this.zza;
|
||||
if (zzafVar.getDelegate() != null) {
|
||||
((zzae) zzafVar.getDelegate()).zza(bundle);
|
||||
}
|
||||
}
|
||||
|
||||
public final void onExitAmbient() {
|
||||
Preconditions.checkMainThread("onExitAmbient must be called on the main thread.");
|
||||
zzaf zzafVar = this.zza;
|
||||
if (zzafVar.getDelegate() != null) {
|
||||
((zzae) zzafVar.getDelegate()).zzb();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onInflate(Activity activity, AttributeSet attributeSet, Bundle bundle) {
|
||||
StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy();
|
||||
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder(threadPolicy).permitAll().build());
|
||||
try {
|
||||
super.onInflate(activity, attributeSet, bundle);
|
||||
zzaf.zza(this.zza, activity);
|
||||
GoogleMapOptions createFromAttributes = GoogleMapOptions.createFromAttributes(activity, attributeSet);
|
||||
Bundle bundle2 = new Bundle();
|
||||
bundle2.putParcelable("MapOptions", createFromAttributes);
|
||||
this.zza.onInflate(activity, bundle2, bundle);
|
||||
} finally {
|
||||
StrictMode.setThreadPolicy(threadPolicy);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment, android.content.ComponentCallbacks
|
||||
public void onLowMemory() {
|
||||
this.zza.onLowMemory();
|
||||
super.onLowMemory();
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onPause() {
|
||||
this.zza.onPause();
|
||||
super.onPause();
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
this.zza.onResume();
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onSaveInstanceState(Bundle bundle) {
|
||||
ClassLoader classLoader = MapFragment.class.getClassLoader();
|
||||
if (bundle != null && classLoader != null) {
|
||||
bundle.setClassLoader(classLoader);
|
||||
}
|
||||
super.onSaveInstanceState(bundle);
|
||||
this.zza.onSaveInstanceState(bundle);
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
this.zza.onStart();
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onStop() {
|
||||
this.zza.onStop();
|
||||
super.onStop();
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void setArguments(Bundle bundle) {
|
||||
super.setArguments(bundle);
|
||||
}
|
||||
|
||||
public static MapFragment newInstance(GoogleMapOptions googleMapOptions) {
|
||||
MapFragment mapFragment = new MapFragment();
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putParcelable("MapOptions", googleMapOptions);
|
||||
mapFragment.setArguments(bundle);
|
||||
return mapFragment;
|
||||
}
|
||||
}
|
||||
101
apk_decompiled/sources/com/google/android/gms/maps/MapView.java
Normal file
101
apk_decompiled/sources/com/google/android/gms/maps/MapView.java
Normal file
@@ -0,0 +1,101 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.os.StrictMode;
|
||||
import android.util.AttributeSet;
|
||||
import android.widget.FrameLayout;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.dynamic.DeferredLifecycleHelper;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public class MapView extends FrameLayout {
|
||||
private final zzai zza;
|
||||
|
||||
public MapView(Context context) {
|
||||
super(context);
|
||||
this.zza = new zzai(this, context, null);
|
||||
setClickable(true);
|
||||
}
|
||||
|
||||
public void getMapAsync(OnMapReadyCallback onMapReadyCallback) {
|
||||
Preconditions.checkMainThread("getMapAsync() must be called on the main thread");
|
||||
Preconditions.checkNotNull(onMapReadyCallback, "callback must not be null.");
|
||||
this.zza.zza(onMapReadyCallback);
|
||||
}
|
||||
|
||||
public void onCreate(Bundle bundle) {
|
||||
StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy();
|
||||
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder(threadPolicy).permitAll().build());
|
||||
try {
|
||||
this.zza.onCreate(bundle);
|
||||
if (this.zza.getDelegate() == null) {
|
||||
DeferredLifecycleHelper.showGooglePlayUnavailableMessage(this);
|
||||
}
|
||||
} finally {
|
||||
StrictMode.setThreadPolicy(threadPolicy);
|
||||
}
|
||||
}
|
||||
|
||||
public void onDestroy() {
|
||||
this.zza.onDestroy();
|
||||
}
|
||||
|
||||
public void onEnterAmbient(Bundle bundle) {
|
||||
Preconditions.checkMainThread("onEnterAmbient() must be called on the main thread");
|
||||
zzai zzaiVar = this.zza;
|
||||
if (zzaiVar.getDelegate() != null) {
|
||||
((zzah) zzaiVar.getDelegate()).zza(bundle);
|
||||
}
|
||||
}
|
||||
|
||||
public void onExitAmbient() {
|
||||
Preconditions.checkMainThread("onExitAmbient() must be called on the main thread");
|
||||
zzai zzaiVar = this.zza;
|
||||
if (zzaiVar.getDelegate() != null) {
|
||||
((zzah) zzaiVar.getDelegate()).zzb();
|
||||
}
|
||||
}
|
||||
|
||||
public void onLowMemory() {
|
||||
this.zza.onLowMemory();
|
||||
}
|
||||
|
||||
public void onPause() {
|
||||
this.zza.onPause();
|
||||
}
|
||||
|
||||
public void onResume() {
|
||||
this.zza.onResume();
|
||||
}
|
||||
|
||||
public void onSaveInstanceState(Bundle bundle) {
|
||||
this.zza.onSaveInstanceState(bundle);
|
||||
}
|
||||
|
||||
public void onStart() {
|
||||
this.zza.onStart();
|
||||
}
|
||||
|
||||
public void onStop() {
|
||||
this.zza.onStop();
|
||||
}
|
||||
|
||||
public MapView(Context context, AttributeSet attributeSet) {
|
||||
super(context, attributeSet);
|
||||
this.zza = new zzai(this, context, GoogleMapOptions.createFromAttributes(context, attributeSet));
|
||||
setClickable(true);
|
||||
}
|
||||
|
||||
public MapView(Context context, AttributeSet attributeSet, int i) {
|
||||
super(context, attributeSet, i);
|
||||
this.zza = new zzai(this, context, GoogleMapOptions.createFromAttributes(context, attributeSet));
|
||||
setClickable(true);
|
||||
}
|
||||
|
||||
public MapView(Context context, GoogleMapOptions googleMapOptions) {
|
||||
super(context);
|
||||
this.zza = new zzai(this, context, googleMapOptions);
|
||||
setClickable(true);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class MapsInitializer {
|
||||
private static final String zza = "MapsInitializer";
|
||||
private static boolean zzb = false;
|
||||
private static Renderer zzc = Renderer.LEGACY;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public enum Renderer {
|
||||
LEGACY,
|
||||
LATEST
|
||||
}
|
||||
|
||||
private MapsInitializer() {
|
||||
}
|
||||
|
||||
public static synchronized int initialize(Context context) {
|
||||
int initialize;
|
||||
synchronized (MapsInitializer.class) {
|
||||
initialize = initialize(context, null, null);
|
||||
}
|
||||
return initialize;
|
||||
}
|
||||
|
||||
/* JADX WARN: Can't wrap try/catch for region: R(16:11|12|13|14|15|16|(10:18|(1:(1:21))|22|23|(1:25)|26|27|(1:29)|30|31)|36|22|23|(0)|26|27|(0)|30|31) */
|
||||
/* JADX WARN: Code restructure failed: missing block: B:33:0x0056, code lost:
|
||||
|
||||
r5 = move-exception;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:35:0x0060, code lost:
|
||||
|
||||
android.util.Log.e(com.google.android.gms.maps.MapsInitializer.zza, "Failed to retrieve renderer type or log initialization.", r5);
|
||||
*/
|
||||
/* JADX WARN: Removed duplicated region for block: B:25:0x0051 A[Catch: all -> 0x0024, RemoteException -> 0x0056, TryCatch #3 {RemoteException -> 0x0056, blocks: (B:23:0x004b, B:25:0x0051, B:26:0x0058), top: B:22:0x004b, outer: #1 }] */
|
||||
/* JADX WARN: Removed duplicated region for block: B:29:0x007a A[Catch: all -> 0x0024, TRY_LEAVE, TryCatch #1 {, blocks: (B:4:0x0003, B:7:0x001e, B:12:0x0028, B:14:0x002c, B:16:0x003b, B:18:0x0040, B:23:0x004b, B:25:0x0051, B:26:0x0058, B:27:0x0067, B:29:0x007a, B:35:0x0060, B:39:0x0082, B:40:0x0087, B:43:0x0089), top: B:3:0x0003, inners: #0, #2, #3 }] */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public static synchronized int initialize(android.content.Context r5, com.google.android.gms.maps.MapsInitializer.Renderer r6, com.google.android.gms.maps.OnMapsSdkInitializedCallback r7) {
|
||||
/*
|
||||
java.lang.Class<com.google.android.gms.maps.MapsInitializer> r0 = com.google.android.gms.maps.MapsInitializer.class
|
||||
monitor-enter(r0)
|
||||
java.lang.String r1 = "Context is null"
|
||||
com.google.android.gms.common.internal.Preconditions.checkNotNull(r5, r1) // Catch: java.lang.Throwable -> L24
|
||||
java.lang.String r1 = com.google.android.gms.maps.MapsInitializer.zza // Catch: java.lang.Throwable -> L24
|
||||
java.lang.String r2 = java.lang.String.valueOf(r6) // Catch: java.lang.Throwable -> L24
|
||||
java.lang.String r3 = "preferredRenderer: "
|
||||
java.lang.String r2 = r3.concat(r2) // Catch: java.lang.Throwable -> L24
|
||||
android.util.Log.d(r1, r2) // Catch: java.lang.Throwable -> L24
|
||||
boolean r1 = com.google.android.gms.maps.MapsInitializer.zzb // Catch: java.lang.Throwable -> L24
|
||||
r2 = 0
|
||||
if (r1 == 0) goto L28
|
||||
if (r7 == 0) goto L26
|
||||
com.google.android.gms.maps.MapsInitializer$Renderer r5 = com.google.android.gms.maps.MapsInitializer.zzc // Catch: java.lang.Throwable -> L24
|
||||
r7.onMapsSdkInitialized(r5) // Catch: java.lang.Throwable -> L24
|
||||
goto L26
|
||||
L24:
|
||||
r5 = move-exception
|
||||
goto L8d
|
||||
L26:
|
||||
monitor-exit(r0)
|
||||
return r2
|
||||
L28:
|
||||
com.google.android.gms.maps.internal.zzf r1 = com.google.android.gms.maps.internal.zzcc.zza(r5, r6) // Catch: java.lang.Throwable -> L24 com.google.android.gms.common.GooglePlayServicesNotAvailableException -> L88
|
||||
com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate r3 = r1.zze() // Catch: java.lang.Throwable -> L24 android.os.RemoteException -> L81
|
||||
com.google.android.gms.maps.CameraUpdateFactory.zza(r3) // Catch: java.lang.Throwable -> L24 android.os.RemoteException -> L81
|
||||
com.google.android.gms.internal.maps.zzi r3 = r1.zzj() // Catch: java.lang.Throwable -> L24 android.os.RemoteException -> L81
|
||||
com.google.android.gms.maps.model.BitmapDescriptorFactory.zza(r3) // Catch: java.lang.Throwable -> L24 android.os.RemoteException -> L81
|
||||
r3 = 1
|
||||
com.google.android.gms.maps.MapsInitializer.zzb = r3 // Catch: java.lang.Throwable -> L24
|
||||
r4 = 2
|
||||
if (r6 == 0) goto L48
|
||||
int r6 = r6.ordinal() // Catch: java.lang.Throwable -> L24
|
||||
if (r6 == 0) goto L4b
|
||||
if (r6 == r3) goto L4a
|
||||
L48:
|
||||
r3 = r2
|
||||
goto L4b
|
||||
L4a:
|
||||
r3 = r4
|
||||
L4b:
|
||||
int r6 = r1.zzd() // Catch: java.lang.Throwable -> L24 android.os.RemoteException -> L56
|
||||
if (r6 != r4) goto L58
|
||||
com.google.android.gms.maps.MapsInitializer$Renderer r6 = com.google.android.gms.maps.MapsInitializer.Renderer.LATEST // Catch: java.lang.Throwable -> L24 android.os.RemoteException -> L56
|
||||
com.google.android.gms.maps.MapsInitializer.zzc = r6 // Catch: java.lang.Throwable -> L24 android.os.RemoteException -> L56
|
||||
goto L58
|
||||
L56:
|
||||
r5 = move-exception
|
||||
goto L60
|
||||
L58:
|
||||
com.google.android.gms.dynamic.IObjectWrapper r5 = com.google.android.gms.dynamic.ObjectWrapper.wrap(r5) // Catch: java.lang.Throwable -> L24 android.os.RemoteException -> L56
|
||||
r1.zzl(r5, r3) // Catch: java.lang.Throwable -> L24 android.os.RemoteException -> L56
|
||||
goto L67
|
||||
L60:
|
||||
java.lang.String r6 = com.google.android.gms.maps.MapsInitializer.zza // Catch: java.lang.Throwable -> L24
|
||||
java.lang.String r1 = "Failed to retrieve renderer type or log initialization."
|
||||
android.util.Log.e(r6, r1, r5) // Catch: java.lang.Throwable -> L24
|
||||
L67:
|
||||
java.lang.String r5 = com.google.android.gms.maps.MapsInitializer.zza // Catch: java.lang.Throwable -> L24
|
||||
com.google.android.gms.maps.MapsInitializer$Renderer r6 = com.google.android.gms.maps.MapsInitializer.zzc // Catch: java.lang.Throwable -> L24
|
||||
java.lang.String r6 = java.lang.String.valueOf(r6) // Catch: java.lang.Throwable -> L24
|
||||
java.lang.String r1 = "loadedRenderer: "
|
||||
java.lang.String r6 = r1.concat(r6) // Catch: java.lang.Throwable -> L24
|
||||
android.util.Log.d(r5, r6) // Catch: java.lang.Throwable -> L24
|
||||
if (r7 == 0) goto L7f
|
||||
com.google.android.gms.maps.MapsInitializer$Renderer r5 = com.google.android.gms.maps.MapsInitializer.zzc // Catch: java.lang.Throwable -> L24
|
||||
r7.onMapsSdkInitialized(r5) // Catch: java.lang.Throwable -> L24
|
||||
L7f:
|
||||
monitor-exit(r0)
|
||||
return r2
|
||||
L81:
|
||||
r5 = move-exception
|
||||
com.google.android.gms.maps.model.RuntimeRemoteException r6 = new com.google.android.gms.maps.model.RuntimeRemoteException // Catch: java.lang.Throwable -> L24
|
||||
r6.<init>(r5) // Catch: java.lang.Throwable -> L24
|
||||
throw r6 // Catch: java.lang.Throwable -> L24
|
||||
L88:
|
||||
r5 = move-exception
|
||||
int r5 = r5.errorCode // Catch: java.lang.Throwable -> L24
|
||||
monitor-exit(r0)
|
||||
return r5
|
||||
L8d:
|
||||
monitor-exit(r0) // Catch: java.lang.Throwable -> L24
|
||||
throw r5
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.maps.MapsInitializer.initialize(android.content.Context, com.google.android.gms.maps.MapsInitializer$Renderer, com.google.android.gms.maps.OnMapsSdkInitializedCallback):int");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnMapReadyCallback {
|
||||
void onMapReady(GoogleMap googleMap);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import com.google.android.gms.maps.MapsInitializer;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnMapsSdkInitializedCallback {
|
||||
void onMapsSdkInitialized(MapsInitializer.Renderer renderer);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnStreetViewPanoramaReadyCallback {
|
||||
void onStreetViewPanoramaReady(StreetViewPanorama streetViewPanorama);
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.graphics.Point;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.dynamic.ObjectWrapper;
|
||||
import com.google.android.gms.maps.internal.IProjectionDelegate;
|
||||
import com.google.android.gms.maps.model.LatLng;
|
||||
import com.google.android.gms.maps.model.RuntimeRemoteException;
|
||||
import com.google.android.gms.maps.model.VisibleRegion;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class Projection {
|
||||
private final IProjectionDelegate zza;
|
||||
|
||||
public Projection(IProjectionDelegate iProjectionDelegate) {
|
||||
this.zza = iProjectionDelegate;
|
||||
}
|
||||
|
||||
public LatLng fromScreenLocation(Point point) {
|
||||
Preconditions.checkNotNull(point);
|
||||
try {
|
||||
return this.zza.fromScreenLocation(ObjectWrapper.wrap(point));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public VisibleRegion getVisibleRegion() {
|
||||
try {
|
||||
return this.zza.getVisibleRegion();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public Point toScreenLocation(LatLng latLng) {
|
||||
Preconditions.checkNotNull(latLng);
|
||||
try {
|
||||
return (Point) ObjectWrapper.unwrap(this.zza.toScreenLocation(latLng));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
}
|
||||
87
apk_decompiled/sources/com/google/android/gms/maps/R.java
Normal file
87
apk_decompiled/sources/com/google/android/gms/maps/R.java
Normal file
@@ -0,0 +1,87 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class R {
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class attr {
|
||||
public static final int ambientEnabled = 0x7f030035;
|
||||
public static final int backgroundColor = 0x7f030057;
|
||||
public static final int cameraBearing = 0x7f0300aa;
|
||||
public static final int cameraMaxZoomPreference = 0x7f0300ab;
|
||||
public static final int cameraMinZoomPreference = 0x7f0300ac;
|
||||
public static final int cameraTargetLat = 0x7f0300ad;
|
||||
public static final int cameraTargetLng = 0x7f0300ae;
|
||||
public static final int cameraTilt = 0x7f0300af;
|
||||
public static final int cameraZoom = 0x7f0300b0;
|
||||
public static final int latLngBoundsNorthEastLatitude = 0x7f0302bd;
|
||||
public static final int latLngBoundsNorthEastLongitude = 0x7f0302be;
|
||||
public static final int latLngBoundsSouthWestLatitude = 0x7f0302bf;
|
||||
public static final int latLngBoundsSouthWestLongitude = 0x7f0302c0;
|
||||
public static final int liteMode = 0x7f03032b;
|
||||
public static final int mapId = 0x7f030330;
|
||||
public static final int mapType = 0x7f030331;
|
||||
public static final int uiCompass = 0x7f03055b;
|
||||
public static final int uiMapToolbar = 0x7f03055c;
|
||||
public static final int uiRotateGestures = 0x7f03055d;
|
||||
public static final int uiScrollGestures = 0x7f03055e;
|
||||
public static final int uiScrollGesturesDuringRotateOrZoom = 0x7f03055f;
|
||||
public static final int uiTiltGestures = 0x7f030560;
|
||||
public static final int uiZoomControls = 0x7f030561;
|
||||
public static final int uiZoomGestures = 0x7f030562;
|
||||
public static final int useViewLifecycle = 0x7f030568;
|
||||
public static final int zOrderOnTop = 0x7f03058d;
|
||||
|
||||
private attr() {
|
||||
}
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class id {
|
||||
public static final int hybrid = 0x7f090192;
|
||||
public static final int none = 0x7f090264;
|
||||
public static final int normal = 0x7f090265;
|
||||
public static final int satellite = 0x7f0902dc;
|
||||
public static final int terrain = 0x7f09036c;
|
||||
|
||||
private id() {
|
||||
}
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class styleable {
|
||||
public static final int[] MapAttrs = {com.adif.elcanomovil.R.attr.ambientEnabled, com.adif.elcanomovil.R.attr.backgroundColor, com.adif.elcanomovil.R.attr.cameraBearing, com.adif.elcanomovil.R.attr.cameraMaxZoomPreference, com.adif.elcanomovil.R.attr.cameraMinZoomPreference, com.adif.elcanomovil.R.attr.cameraTargetLat, com.adif.elcanomovil.R.attr.cameraTargetLng, com.adif.elcanomovil.R.attr.cameraTilt, com.adif.elcanomovil.R.attr.cameraZoom, com.adif.elcanomovil.R.attr.latLngBoundsNorthEastLatitude, com.adif.elcanomovil.R.attr.latLngBoundsNorthEastLongitude, com.adif.elcanomovil.R.attr.latLngBoundsSouthWestLatitude, com.adif.elcanomovil.R.attr.latLngBoundsSouthWestLongitude, com.adif.elcanomovil.R.attr.liteMode, com.adif.elcanomovil.R.attr.mapId, com.adif.elcanomovil.R.attr.mapType, com.adif.elcanomovil.R.attr.uiCompass, com.adif.elcanomovil.R.attr.uiMapToolbar, com.adif.elcanomovil.R.attr.uiRotateGestures, com.adif.elcanomovil.R.attr.uiScrollGestures, com.adif.elcanomovil.R.attr.uiScrollGesturesDuringRotateOrZoom, com.adif.elcanomovil.R.attr.uiTiltGestures, com.adif.elcanomovil.R.attr.uiZoomControls, com.adif.elcanomovil.R.attr.uiZoomGestures, com.adif.elcanomovil.R.attr.useViewLifecycle, com.adif.elcanomovil.R.attr.zOrderOnTop};
|
||||
public static final int MapAttrs_ambientEnabled = 0x00000000;
|
||||
public static final int MapAttrs_backgroundColor = 0x00000001;
|
||||
public static final int MapAttrs_cameraBearing = 0x00000002;
|
||||
public static final int MapAttrs_cameraMaxZoomPreference = 0x00000003;
|
||||
public static final int MapAttrs_cameraMinZoomPreference = 0x00000004;
|
||||
public static final int MapAttrs_cameraTargetLat = 0x00000005;
|
||||
public static final int MapAttrs_cameraTargetLng = 0x00000006;
|
||||
public static final int MapAttrs_cameraTilt = 0x00000007;
|
||||
public static final int MapAttrs_cameraZoom = 0x00000008;
|
||||
public static final int MapAttrs_latLngBoundsNorthEastLatitude = 0x00000009;
|
||||
public static final int MapAttrs_latLngBoundsNorthEastLongitude = 0x0000000a;
|
||||
public static final int MapAttrs_latLngBoundsSouthWestLatitude = 0x0000000b;
|
||||
public static final int MapAttrs_latLngBoundsSouthWestLongitude = 0x0000000c;
|
||||
public static final int MapAttrs_liteMode = 0x0000000d;
|
||||
public static final int MapAttrs_mapId = 0x0000000e;
|
||||
public static final int MapAttrs_mapType = 0x0000000f;
|
||||
public static final int MapAttrs_uiCompass = 0x00000010;
|
||||
public static final int MapAttrs_uiMapToolbar = 0x00000011;
|
||||
public static final int MapAttrs_uiRotateGestures = 0x00000012;
|
||||
public static final int MapAttrs_uiScrollGestures = 0x00000013;
|
||||
public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom = 0x00000014;
|
||||
public static final int MapAttrs_uiTiltGestures = 0x00000015;
|
||||
public static final int MapAttrs_uiZoomControls = 0x00000016;
|
||||
public static final int MapAttrs_uiZoomGestures = 0x00000017;
|
||||
public static final int MapAttrs_useViewLifecycle = 0x00000018;
|
||||
public static final int MapAttrs_zOrderOnTop = 0x00000019;
|
||||
|
||||
private styleable() {
|
||||
}
|
||||
}
|
||||
|
||||
private R() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,240 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.graphics.Point;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
import com.google.android.gms.dynamic.ObjectWrapper;
|
||||
import com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate;
|
||||
import com.google.android.gms.maps.model.LatLng;
|
||||
import com.google.android.gms.maps.model.RuntimeRemoteException;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaCamera;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaLocation;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaOrientation;
|
||||
import com.google.android.gms.maps.model.StreetViewSource;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public class StreetViewPanorama {
|
||||
private final IStreetViewPanoramaDelegate zza;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnStreetViewPanoramaCameraChangeListener {
|
||||
void onStreetViewPanoramaCameraChange(StreetViewPanoramaCamera streetViewPanoramaCamera);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnStreetViewPanoramaChangeListener {
|
||||
void onStreetViewPanoramaChange(StreetViewPanoramaLocation streetViewPanoramaLocation);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnStreetViewPanoramaClickListener {
|
||||
void onStreetViewPanoramaClick(StreetViewPanoramaOrientation streetViewPanoramaOrientation);
|
||||
}
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnStreetViewPanoramaLongClickListener {
|
||||
void onStreetViewPanoramaLongClick(StreetViewPanoramaOrientation streetViewPanoramaOrientation);
|
||||
}
|
||||
|
||||
public StreetViewPanorama(IStreetViewPanoramaDelegate iStreetViewPanoramaDelegate) {
|
||||
this.zza = (IStreetViewPanoramaDelegate) Preconditions.checkNotNull(iStreetViewPanoramaDelegate, "delegate");
|
||||
}
|
||||
|
||||
public void animateTo(StreetViewPanoramaCamera streetViewPanoramaCamera, long j4) {
|
||||
Preconditions.checkNotNull(streetViewPanoramaCamera);
|
||||
try {
|
||||
this.zza.animateTo(streetViewPanoramaCamera, j4);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public StreetViewPanoramaLocation getLocation() {
|
||||
try {
|
||||
return this.zza.getStreetViewPanoramaLocation();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public StreetViewPanoramaCamera getPanoramaCamera() {
|
||||
try {
|
||||
return this.zza.getPanoramaCamera();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isPanningGesturesEnabled() {
|
||||
try {
|
||||
return this.zza.isPanningGesturesEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isStreetNamesEnabled() {
|
||||
try {
|
||||
return this.zza.isStreetNamesEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isUserNavigationEnabled() {
|
||||
try {
|
||||
return this.zza.isUserNavigationEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isZoomGesturesEnabled() {
|
||||
try {
|
||||
return this.zza.isZoomGesturesEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public Point orientationToPoint(StreetViewPanoramaOrientation streetViewPanoramaOrientation) {
|
||||
try {
|
||||
IObjectWrapper orientationToPoint = this.zza.orientationToPoint(streetViewPanoramaOrientation);
|
||||
if (orientationToPoint == null) {
|
||||
return null;
|
||||
}
|
||||
return (Point) ObjectWrapper.unwrap(orientationToPoint);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public StreetViewPanoramaOrientation pointToOrientation(Point point) {
|
||||
try {
|
||||
return this.zza.pointToOrientation(ObjectWrapper.wrap(point));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnStreetViewPanoramaCameraChangeListener(OnStreetViewPanoramaCameraChangeListener onStreetViewPanoramaCameraChangeListener) {
|
||||
try {
|
||||
if (onStreetViewPanoramaCameraChangeListener == null) {
|
||||
this.zza.setOnStreetViewPanoramaCameraChangeListener(null);
|
||||
} else {
|
||||
this.zza.setOnStreetViewPanoramaCameraChangeListener(new zzak(this, onStreetViewPanoramaCameraChangeListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnStreetViewPanoramaChangeListener(OnStreetViewPanoramaChangeListener onStreetViewPanoramaChangeListener) {
|
||||
try {
|
||||
if (onStreetViewPanoramaChangeListener == null) {
|
||||
this.zza.setOnStreetViewPanoramaChangeListener(null);
|
||||
} else {
|
||||
this.zza.setOnStreetViewPanoramaChangeListener(new zzaj(this, onStreetViewPanoramaChangeListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnStreetViewPanoramaClickListener(OnStreetViewPanoramaClickListener onStreetViewPanoramaClickListener) {
|
||||
try {
|
||||
if (onStreetViewPanoramaClickListener == null) {
|
||||
this.zza.setOnStreetViewPanoramaClickListener(null);
|
||||
} else {
|
||||
this.zza.setOnStreetViewPanoramaClickListener(new zzal(this, onStreetViewPanoramaClickListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void setOnStreetViewPanoramaLongClickListener(OnStreetViewPanoramaLongClickListener onStreetViewPanoramaLongClickListener) {
|
||||
try {
|
||||
if (onStreetViewPanoramaLongClickListener == null) {
|
||||
this.zza.setOnStreetViewPanoramaLongClickListener(null);
|
||||
} else {
|
||||
this.zza.setOnStreetViewPanoramaLongClickListener(new zzam(this, onStreetViewPanoramaLongClickListener));
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPanningGesturesEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.enablePanning(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPosition(LatLng latLng) {
|
||||
try {
|
||||
this.zza.setPosition(latLng);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setStreetNamesEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.enableStreetNames(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setUserNavigationEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.enableUserNavigation(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setZoomGesturesEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.enableZoom(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPosition(LatLng latLng, int i) {
|
||||
try {
|
||||
this.zza.setPositionWithRadius(latLng, i);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPosition(LatLng latLng, int i, StreetViewSource streetViewSource) {
|
||||
try {
|
||||
this.zza.setPositionWithRadiusAndSource(latLng, i, streetViewSource);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPosition(LatLng latLng, StreetViewSource streetViewSource) {
|
||||
try {
|
||||
this.zza.setPositionWithSource(latLng, streetViewSource);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPosition(String str) {
|
||||
try {
|
||||
this.zza.setPositionWithID(str);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.Fragment;
|
||||
import android.os.Bundle;
|
||||
import android.os.StrictMode;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public class StreetViewPanoramaFragment extends Fragment {
|
||||
private final zzap zza = new zzap(this);
|
||||
|
||||
public static StreetViewPanoramaFragment newInstance() {
|
||||
return new StreetViewPanoramaFragment();
|
||||
}
|
||||
|
||||
public void getStreetViewPanoramaAsync(OnStreetViewPanoramaReadyCallback onStreetViewPanoramaReadyCallback) {
|
||||
Preconditions.checkMainThread("getStreetViewPanoramaAsync() must be called on the main thread");
|
||||
Preconditions.checkNotNull(onStreetViewPanoramaReadyCallback, "callback must not be null.");
|
||||
this.zza.zzb(onStreetViewPanoramaReadyCallback);
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onActivityCreated(Bundle bundle) {
|
||||
ClassLoader classLoader = StreetViewPanoramaFragment.class.getClassLoader();
|
||||
if (bundle != null && classLoader != null) {
|
||||
bundle.setClassLoader(classLoader);
|
||||
}
|
||||
super.onActivityCreated(bundle);
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onAttach(Activity activity) {
|
||||
super.onAttach(activity);
|
||||
zzap.zza(this.zza, activity);
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onCreate(Bundle bundle) {
|
||||
super.onCreate(bundle);
|
||||
this.zza.onCreate(bundle);
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||||
return this.zza.onCreateView(layoutInflater, viewGroup, bundle);
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onDestroy() {
|
||||
this.zza.onDestroy();
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onDestroyView() {
|
||||
this.zza.onDestroyView();
|
||||
super.onDestroyView();
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onInflate(Activity activity, AttributeSet attributeSet, Bundle bundle) {
|
||||
StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy();
|
||||
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder(threadPolicy).permitAll().build());
|
||||
try {
|
||||
super.onInflate(activity, attributeSet, bundle);
|
||||
zzap.zza(this.zza, activity);
|
||||
this.zza.onInflate(activity, new Bundle(), bundle);
|
||||
} finally {
|
||||
StrictMode.setThreadPolicy(threadPolicy);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment, android.content.ComponentCallbacks
|
||||
public void onLowMemory() {
|
||||
this.zza.onLowMemory();
|
||||
super.onLowMemory();
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onPause() {
|
||||
this.zza.onPause();
|
||||
super.onPause();
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
this.zza.onResume();
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onSaveInstanceState(Bundle bundle) {
|
||||
ClassLoader classLoader = StreetViewPanoramaFragment.class.getClassLoader();
|
||||
if (bundle != null && classLoader != null) {
|
||||
bundle.setClassLoader(classLoader);
|
||||
}
|
||||
super.onSaveInstanceState(bundle);
|
||||
this.zza.onSaveInstanceState(bundle);
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
this.zza.onStart();
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void onStop() {
|
||||
this.zza.onStop();
|
||||
super.onStop();
|
||||
}
|
||||
|
||||
@Override // android.app.Fragment
|
||||
public void setArguments(Bundle bundle) {
|
||||
super.setArguments(bundle);
|
||||
}
|
||||
|
||||
public static StreetViewPanoramaFragment newInstance(StreetViewPanoramaOptions streetViewPanoramaOptions) {
|
||||
StreetViewPanoramaFragment streetViewPanoramaFragment = new StreetViewPanoramaFragment();
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putParcelable("StreetViewPanoramaOptions", streetViewPanoramaOptions);
|
||||
streetViewPanoramaFragment.setArguments(bundle);
|
||||
return streetViewPanoramaFragment;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,197 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import com.google.android.gms.common.internal.Objects;
|
||||
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.LatLng;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaCamera;
|
||||
import com.google.android.gms.maps.model.StreetViewSource;
|
||||
|
||||
@SafeParcelable.Class(creator = "StreetViewPanoramaOptionsCreator")
|
||||
@SafeParcelable.Reserved({1})
|
||||
/* loaded from: classes3.dex */
|
||||
public final class StreetViewPanoramaOptions extends AbstractSafeParcelable implements ReflectedParcelable {
|
||||
public static final Parcelable.Creator<StreetViewPanoramaOptions> CREATOR = new zzaq();
|
||||
|
||||
@SafeParcelable.Field(getter = "getStreetViewPanoramaCamera", id = 2)
|
||||
private StreetViewPanoramaCamera zza;
|
||||
|
||||
@SafeParcelable.Field(getter = "getPanoramaId", id = 3)
|
||||
private String zzb;
|
||||
|
||||
@SafeParcelable.Field(getter = "getPosition", id = 4)
|
||||
private LatLng zzc;
|
||||
|
||||
@SafeParcelable.Field(getter = "getRadius", id = 5)
|
||||
private Integer zzd;
|
||||
|
||||
@SafeParcelable.Field(getter = "getUserNavigationEnabledForParcel", id = 6, type = "byte")
|
||||
private Boolean zze;
|
||||
|
||||
@SafeParcelable.Field(getter = "getZoomGesturesEnabledForParcel", id = 7, type = "byte")
|
||||
private Boolean zzf;
|
||||
|
||||
@SafeParcelable.Field(getter = "getPanningGesturesEnabledForParcel", id = 8, type = "byte")
|
||||
private Boolean zzg;
|
||||
|
||||
@SafeParcelable.Field(getter = "getStreetNamesEnabledForParcel", id = 9, type = "byte")
|
||||
private Boolean zzh;
|
||||
|
||||
@SafeParcelable.Field(getter = "getUseViewLifecycleInFragmentForParcel", id = 10, type = "byte")
|
||||
private Boolean zzi;
|
||||
|
||||
@SafeParcelable.Field(getter = "getSource", id = 11)
|
||||
private StreetViewSource zzj;
|
||||
|
||||
public StreetViewPanoramaOptions() {
|
||||
Boolean bool = Boolean.TRUE;
|
||||
this.zze = bool;
|
||||
this.zzf = bool;
|
||||
this.zzg = bool;
|
||||
this.zzh = bool;
|
||||
this.zzj = StreetViewSource.DEFAULT;
|
||||
}
|
||||
|
||||
public Boolean getPanningGesturesEnabled() {
|
||||
return this.zzg;
|
||||
}
|
||||
|
||||
public String getPanoramaId() {
|
||||
return this.zzb;
|
||||
}
|
||||
|
||||
public LatLng getPosition() {
|
||||
return this.zzc;
|
||||
}
|
||||
|
||||
public Integer getRadius() {
|
||||
return this.zzd;
|
||||
}
|
||||
|
||||
public StreetViewSource getSource() {
|
||||
return this.zzj;
|
||||
}
|
||||
|
||||
public Boolean getStreetNamesEnabled() {
|
||||
return this.zzh;
|
||||
}
|
||||
|
||||
public StreetViewPanoramaCamera getStreetViewPanoramaCamera() {
|
||||
return this.zza;
|
||||
}
|
||||
|
||||
public Boolean getUseViewLifecycleInFragment() {
|
||||
return this.zzi;
|
||||
}
|
||||
|
||||
public Boolean getUserNavigationEnabled() {
|
||||
return this.zze;
|
||||
}
|
||||
|
||||
public Boolean getZoomGesturesEnabled() {
|
||||
return this.zzf;
|
||||
}
|
||||
|
||||
public StreetViewPanoramaOptions panningGesturesEnabled(boolean z3) {
|
||||
this.zzg = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
public StreetViewPanoramaOptions panoramaCamera(StreetViewPanoramaCamera streetViewPanoramaCamera) {
|
||||
this.zza = streetViewPanoramaCamera;
|
||||
return this;
|
||||
}
|
||||
|
||||
public StreetViewPanoramaOptions panoramaId(String str) {
|
||||
this.zzb = str;
|
||||
return this;
|
||||
}
|
||||
|
||||
public StreetViewPanoramaOptions position(LatLng latLng) {
|
||||
this.zzc = latLng;
|
||||
return this;
|
||||
}
|
||||
|
||||
public StreetViewPanoramaOptions streetNamesEnabled(boolean z3) {
|
||||
this.zzh = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return Objects.toStringHelper(this).add("PanoramaId", this.zzb).add("Position", this.zzc).add("Radius", this.zzd).add("Source", this.zzj).add("StreetViewPanoramaCamera", this.zza).add("UserNavigationEnabled", this.zze).add("ZoomGesturesEnabled", this.zzf).add("PanningGesturesEnabled", this.zzg).add("StreetNamesEnabled", this.zzh).add("UseViewLifecycleInFragment", this.zzi).toString();
|
||||
}
|
||||
|
||||
public StreetViewPanoramaOptions useViewLifecycleInFragment(boolean z3) {
|
||||
this.zzi = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
public StreetViewPanoramaOptions userNavigationEnabled(boolean z3) {
|
||||
this.zze = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public void writeToParcel(Parcel parcel, int i) {
|
||||
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||||
SafeParcelWriter.writeParcelable(parcel, 2, getStreetViewPanoramaCamera(), i, false);
|
||||
SafeParcelWriter.writeString(parcel, 3, getPanoramaId(), false);
|
||||
SafeParcelWriter.writeParcelable(parcel, 4, getPosition(), i, false);
|
||||
SafeParcelWriter.writeIntegerObject(parcel, 5, getRadius(), false);
|
||||
SafeParcelWriter.writeByte(parcel, 6, com.google.android.gms.maps.internal.zza.zza(this.zze));
|
||||
SafeParcelWriter.writeByte(parcel, 7, com.google.android.gms.maps.internal.zza.zza(this.zzf));
|
||||
SafeParcelWriter.writeByte(parcel, 8, com.google.android.gms.maps.internal.zza.zza(this.zzg));
|
||||
SafeParcelWriter.writeByte(parcel, 9, com.google.android.gms.maps.internal.zza.zza(this.zzh));
|
||||
SafeParcelWriter.writeByte(parcel, 10, com.google.android.gms.maps.internal.zza.zza(this.zzi));
|
||||
SafeParcelWriter.writeParcelable(parcel, 11, getSource(), i, false);
|
||||
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
||||
}
|
||||
|
||||
public StreetViewPanoramaOptions zoomGesturesEnabled(boolean z3) {
|
||||
this.zzf = Boolean.valueOf(z3);
|
||||
return this;
|
||||
}
|
||||
|
||||
public StreetViewPanoramaOptions position(LatLng latLng, StreetViewSource streetViewSource) {
|
||||
this.zzc = latLng;
|
||||
this.zzj = streetViewSource;
|
||||
return this;
|
||||
}
|
||||
|
||||
public StreetViewPanoramaOptions position(LatLng latLng, Integer num) {
|
||||
this.zzc = latLng;
|
||||
this.zzd = num;
|
||||
return this;
|
||||
}
|
||||
|
||||
@SafeParcelable.Constructor
|
||||
public StreetViewPanoramaOptions(@SafeParcelable.Param(id = 2) StreetViewPanoramaCamera streetViewPanoramaCamera, @SafeParcelable.Param(id = 3) String str, @SafeParcelable.Param(id = 4) LatLng latLng, @SafeParcelable.Param(id = 5) Integer num, @SafeParcelable.Param(id = 6) byte b4, @SafeParcelable.Param(id = 7) byte b5, @SafeParcelable.Param(id = 8) byte b6, @SafeParcelable.Param(id = 9) byte b7, @SafeParcelable.Param(id = 10) byte b8, @SafeParcelable.Param(id = 11) StreetViewSource streetViewSource) {
|
||||
Boolean bool = Boolean.TRUE;
|
||||
this.zze = bool;
|
||||
this.zzf = bool;
|
||||
this.zzg = bool;
|
||||
this.zzh = bool;
|
||||
this.zzj = StreetViewSource.DEFAULT;
|
||||
this.zza = streetViewPanoramaCamera;
|
||||
this.zzc = latLng;
|
||||
this.zzd = num;
|
||||
this.zzb = str;
|
||||
this.zze = com.google.android.gms.maps.internal.zza.zzb(b4);
|
||||
this.zzf = com.google.android.gms.maps.internal.zza.zzb(b5);
|
||||
this.zzg = com.google.android.gms.maps.internal.zza.zzb(b6);
|
||||
this.zzh = com.google.android.gms.maps.internal.zza.zzb(b7);
|
||||
this.zzi = com.google.android.gms.maps.internal.zza.zzb(b8);
|
||||
this.zzj = streetViewSource;
|
||||
}
|
||||
|
||||
public StreetViewPanoramaOptions position(LatLng latLng, Integer num, StreetViewSource streetViewSource) {
|
||||
this.zzc = latLng;
|
||||
this.zzd = num;
|
||||
this.zzj = streetViewSource;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.os.StrictMode;
|
||||
import android.util.AttributeSet;
|
||||
import android.widget.FrameLayout;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.dynamic.DeferredLifecycleHelper;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public class StreetViewPanoramaView extends FrameLayout {
|
||||
private final zzat zza;
|
||||
|
||||
public StreetViewPanoramaView(Context context) {
|
||||
super((Context) Preconditions.checkNotNull(context, "context must not be null"));
|
||||
this.zza = new zzat(this, context, null);
|
||||
}
|
||||
|
||||
public void getStreetViewPanoramaAsync(OnStreetViewPanoramaReadyCallback onStreetViewPanoramaReadyCallback) {
|
||||
Preconditions.checkNotNull(onStreetViewPanoramaReadyCallback, "callback must not be null");
|
||||
Preconditions.checkMainThread("getStreetViewPanoramaAsync() must be called on the main thread");
|
||||
this.zza.zza(onStreetViewPanoramaReadyCallback);
|
||||
}
|
||||
|
||||
public final void onCreate(Bundle bundle) {
|
||||
StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy();
|
||||
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder(threadPolicy).permitAll().build());
|
||||
try {
|
||||
this.zza.onCreate(bundle);
|
||||
if (this.zza.getDelegate() == null) {
|
||||
DeferredLifecycleHelper.showGooglePlayUnavailableMessage(this);
|
||||
}
|
||||
} finally {
|
||||
StrictMode.setThreadPolicy(threadPolicy);
|
||||
}
|
||||
}
|
||||
|
||||
public void onDestroy() {
|
||||
this.zza.onDestroy();
|
||||
}
|
||||
|
||||
public final void onLowMemory() {
|
||||
this.zza.onLowMemory();
|
||||
}
|
||||
|
||||
public final void onPause() {
|
||||
this.zza.onPause();
|
||||
}
|
||||
|
||||
public void onResume() {
|
||||
this.zza.onResume();
|
||||
}
|
||||
|
||||
public final void onSaveInstanceState(Bundle bundle) {
|
||||
this.zza.onSaveInstanceState(bundle);
|
||||
}
|
||||
|
||||
public void onStart() {
|
||||
this.zza.onStart();
|
||||
}
|
||||
|
||||
public void onStop() {
|
||||
this.zza.onStop();
|
||||
}
|
||||
|
||||
public StreetViewPanoramaView(Context context, AttributeSet attributeSet) {
|
||||
super((Context) Preconditions.checkNotNull(context, "context must not be null"), attributeSet);
|
||||
this.zza = new zzat(this, context, null);
|
||||
}
|
||||
|
||||
public StreetViewPanoramaView(Context context, AttributeSet attributeSet, int i) {
|
||||
super((Context) Preconditions.checkNotNull(context, "context must not be null"), attributeSet, i);
|
||||
this.zza = new zzat(this, context, null);
|
||||
}
|
||||
|
||||
public StreetViewPanoramaView(Context context, StreetViewPanoramaOptions streetViewPanoramaOptions) {
|
||||
super((Context) Preconditions.checkNotNull(context, "context must not be null"));
|
||||
this.zza = new zzat(this, context, streetViewPanoramaOptions);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,157 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
||||
import android.os.StrictMode;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.fragment.app.K;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public class SupportMapFragment extends K {
|
||||
private final zzaw zza = new zzaw(this);
|
||||
|
||||
public static SupportMapFragment newInstance() {
|
||||
return new SupportMapFragment();
|
||||
}
|
||||
|
||||
public void getMapAsync(OnMapReadyCallback onMapReadyCallback) {
|
||||
Preconditions.checkMainThread("getMapAsync must be called on the main thread.");
|
||||
Preconditions.checkNotNull(onMapReadyCallback, "callback must not be null.");
|
||||
this.zza.zzb(onMapReadyCallback);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onActivityCreated(Bundle bundle) {
|
||||
ClassLoader classLoader = SupportMapFragment.class.getClassLoader();
|
||||
if (bundle != null && classLoader != null) {
|
||||
bundle.setClassLoader(classLoader);
|
||||
}
|
||||
super.onActivityCreated(bundle);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onAttach(Activity activity) {
|
||||
super.onAttach(activity);
|
||||
zzaw.zza(this.zza, activity);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onCreate(Bundle bundle) {
|
||||
StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy();
|
||||
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder(threadPolicy).permitAll().build());
|
||||
try {
|
||||
super.onCreate(bundle);
|
||||
this.zza.onCreate(bundle);
|
||||
} finally {
|
||||
StrictMode.setThreadPolicy(threadPolicy);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||||
View onCreateView = this.zza.onCreateView(layoutInflater, viewGroup, bundle);
|
||||
onCreateView.setClickable(true);
|
||||
return onCreateView;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onDestroy() {
|
||||
this.zza.onDestroy();
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onDestroyView() {
|
||||
this.zza.onDestroyView();
|
||||
super.onDestroyView();
|
||||
}
|
||||
|
||||
public final void onEnterAmbient(Bundle bundle) {
|
||||
Preconditions.checkMainThread("onEnterAmbient must be called on the main thread.");
|
||||
zzaw zzawVar = this.zza;
|
||||
if (zzawVar.getDelegate() != null) {
|
||||
((zzav) zzawVar.getDelegate()).zza(bundle);
|
||||
}
|
||||
}
|
||||
|
||||
public final void onExitAmbient() {
|
||||
Preconditions.checkMainThread("onExitAmbient must be called on the main thread.");
|
||||
zzaw zzawVar = this.zza;
|
||||
if (zzawVar.getDelegate() != null) {
|
||||
((zzav) zzawVar.getDelegate()).zzb();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onInflate(Activity activity, AttributeSet attributeSet, Bundle bundle) {
|
||||
StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy();
|
||||
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder(threadPolicy).permitAll().build());
|
||||
try {
|
||||
super.onInflate(activity, attributeSet, bundle);
|
||||
zzaw.zza(this.zza, activity);
|
||||
GoogleMapOptions createFromAttributes = GoogleMapOptions.createFromAttributes(activity, attributeSet);
|
||||
Bundle bundle2 = new Bundle();
|
||||
bundle2.putParcelable("MapOptions", createFromAttributes);
|
||||
this.zza.onInflate(activity, bundle2, bundle);
|
||||
} finally {
|
||||
StrictMode.setThreadPolicy(threadPolicy);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K, android.content.ComponentCallbacks
|
||||
public void onLowMemory() {
|
||||
this.zza.onLowMemory();
|
||||
super.onLowMemory();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onPause() {
|
||||
this.zza.onPause();
|
||||
super.onPause();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
this.zza.onResume();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onSaveInstanceState(Bundle bundle) {
|
||||
ClassLoader classLoader = SupportMapFragment.class.getClassLoader();
|
||||
if (bundle != null && classLoader != null) {
|
||||
bundle.setClassLoader(classLoader);
|
||||
}
|
||||
super.onSaveInstanceState(bundle);
|
||||
this.zza.onSaveInstanceState(bundle);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
this.zza.onStart();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onStop() {
|
||||
this.zza.onStop();
|
||||
super.onStop();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void setArguments(Bundle bundle) {
|
||||
super.setArguments(bundle);
|
||||
}
|
||||
|
||||
public static SupportMapFragment newInstance(GoogleMapOptions googleMapOptions) {
|
||||
SupportMapFragment supportMapFragment = new SupportMapFragment();
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putParcelable("MapOptions", googleMapOptions);
|
||||
supportMapFragment.setArguments(bundle);
|
||||
return supportMapFragment;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
||||
import android.os.StrictMode;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.fragment.app.K;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public class SupportStreetViewPanoramaFragment extends K {
|
||||
private final zzaz zza = new zzaz(this);
|
||||
|
||||
public static SupportStreetViewPanoramaFragment newInstance() {
|
||||
return new SupportStreetViewPanoramaFragment();
|
||||
}
|
||||
|
||||
public void getStreetViewPanoramaAsync(OnStreetViewPanoramaReadyCallback onStreetViewPanoramaReadyCallback) {
|
||||
Preconditions.checkMainThread("getStreetViewPanoramaAsync() must be called on the main thread");
|
||||
Preconditions.checkNotNull(onStreetViewPanoramaReadyCallback, "callback must not be null.");
|
||||
this.zza.zzb(onStreetViewPanoramaReadyCallback);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onActivityCreated(Bundle bundle) {
|
||||
ClassLoader classLoader = SupportStreetViewPanoramaFragment.class.getClassLoader();
|
||||
if (bundle != null && classLoader != null) {
|
||||
bundle.setClassLoader(classLoader);
|
||||
}
|
||||
super.onActivityCreated(bundle);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onAttach(Activity activity) {
|
||||
super.onAttach(activity);
|
||||
zzaz.zza(this.zza, activity);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onCreate(Bundle bundle) {
|
||||
super.onCreate(bundle);
|
||||
this.zza.onCreate(bundle);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||||
return this.zza.onCreateView(layoutInflater, viewGroup, bundle);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onDestroy() {
|
||||
this.zza.onDestroy();
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onDestroyView() {
|
||||
this.zza.onDestroyView();
|
||||
super.onDestroyView();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onInflate(Activity activity, AttributeSet attributeSet, Bundle bundle) {
|
||||
StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy();
|
||||
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder(threadPolicy).permitAll().build());
|
||||
try {
|
||||
super.onInflate(activity, attributeSet, bundle);
|
||||
zzaz.zza(this.zza, activity);
|
||||
this.zza.onInflate(activity, new Bundle(), bundle);
|
||||
} finally {
|
||||
StrictMode.setThreadPolicy(threadPolicy);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K, android.content.ComponentCallbacks
|
||||
public void onLowMemory() {
|
||||
this.zza.onLowMemory();
|
||||
super.onLowMemory();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onPause() {
|
||||
this.zza.onPause();
|
||||
super.onPause();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
this.zza.onResume();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onSaveInstanceState(Bundle bundle) {
|
||||
ClassLoader classLoader = SupportStreetViewPanoramaFragment.class.getClassLoader();
|
||||
if (bundle != null && classLoader != null) {
|
||||
bundle.setClassLoader(classLoader);
|
||||
}
|
||||
super.onSaveInstanceState(bundle);
|
||||
this.zza.onSaveInstanceState(bundle);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
this.zza.onStart();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onStop() {
|
||||
this.zza.onStop();
|
||||
super.onStop();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void setArguments(Bundle bundle) {
|
||||
super.setArguments(bundle);
|
||||
}
|
||||
|
||||
public static SupportStreetViewPanoramaFragment newInstance(StreetViewPanoramaOptions streetViewPanoramaOptions) {
|
||||
SupportStreetViewPanoramaFragment supportStreetViewPanoramaFragment = new SupportStreetViewPanoramaFragment();
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putParcelable("StreetViewPanoramaOptions", streetViewPanoramaOptions);
|
||||
supportStreetViewPanoramaFragment.setArguments(bundle);
|
||||
return supportStreetViewPanoramaFragment;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,182 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.internal.IUiSettingsDelegate;
|
||||
import com.google.android.gms.maps.model.RuntimeRemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class UiSettings {
|
||||
private final IUiSettingsDelegate zza;
|
||||
|
||||
public UiSettings(IUiSettingsDelegate iUiSettingsDelegate) {
|
||||
this.zza = iUiSettingsDelegate;
|
||||
}
|
||||
|
||||
public boolean isCompassEnabled() {
|
||||
try {
|
||||
return this.zza.isCompassEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isIndoorLevelPickerEnabled() {
|
||||
try {
|
||||
return this.zza.isIndoorLevelPickerEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isMapToolbarEnabled() {
|
||||
try {
|
||||
return this.zza.isMapToolbarEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isMyLocationButtonEnabled() {
|
||||
try {
|
||||
return this.zza.isMyLocationButtonEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isRotateGesturesEnabled() {
|
||||
try {
|
||||
return this.zza.isRotateGesturesEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isScrollGesturesEnabled() {
|
||||
try {
|
||||
return this.zza.isScrollGesturesEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isScrollGesturesEnabledDuringRotateOrZoom() {
|
||||
try {
|
||||
return this.zza.isScrollGesturesEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isTiltGesturesEnabled() {
|
||||
try {
|
||||
return this.zza.isTiltGesturesEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isZoomControlsEnabled() {
|
||||
try {
|
||||
return this.zza.isZoomControlsEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isZoomGesturesEnabled() {
|
||||
try {
|
||||
return this.zza.isZoomGesturesEnabled();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setAllGesturesEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.setAllGesturesEnabled(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCompassEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.setCompassEnabled(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setIndoorLevelPickerEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.setIndoorLevelPickerEnabled(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setMapToolbarEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.setMapToolbarEnabled(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setMyLocationButtonEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.setMyLocationButtonEnabled(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRotateGesturesEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.setRotateGesturesEnabled(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setScrollGesturesEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.setScrollGesturesEnabled(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setScrollGesturesEnabledDuringRotateOrZoom(boolean z3) {
|
||||
try {
|
||||
this.zza.setScrollGesturesEnabledDuringRotateOrZoom(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setTiltGesturesEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.setTiltGesturesEnabled(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setZoomControlsEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.setZoomControlsEnabled(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public void setZoomGesturesEnabled(boolean z3) {
|
||||
try {
|
||||
this.zza.setZoomGesturesEnabled(z3);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
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.LatLng;
|
||||
import com.google.android.gms.maps.model.LatLngBounds;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface ICameraUpdateFactoryDelegate extends IInterface {
|
||||
IObjectWrapper newCameraPosition(CameraPosition cameraPosition) throws RemoteException;
|
||||
|
||||
IObjectWrapper newLatLng(LatLng latLng) throws RemoteException;
|
||||
|
||||
IObjectWrapper newLatLngBounds(LatLngBounds latLngBounds, int i) throws RemoteException;
|
||||
|
||||
IObjectWrapper newLatLngBoundsWithSize(LatLngBounds latLngBounds, int i, int i4, int i5) throws RemoteException;
|
||||
|
||||
IObjectWrapper newLatLngZoom(LatLng latLng, float f2) throws RemoteException;
|
||||
|
||||
IObjectWrapper scrollBy(float f2, float f4) throws RemoteException;
|
||||
|
||||
IObjectWrapper zoomBy(float f2) throws RemoteException;
|
||||
|
||||
IObjectWrapper zoomByWithFocus(float f2, int i, int i4) throws RemoteException;
|
||||
|
||||
IObjectWrapper zoomIn() throws RemoteException;
|
||||
|
||||
IObjectWrapper zoomOut() throws RemoteException;
|
||||
|
||||
IObjectWrapper zoomTo(float f2) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,177 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.location.Location;
|
||||
import android.os.Bundle;
|
||||
import android.os.IInterface;
|
||||
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: classes3.dex */
|
||||
public interface IGoogleMapDelegate extends IInterface {
|
||||
com.google.android.gms.internal.maps.zzl addCircle(CircleOptions circleOptions) throws RemoteException;
|
||||
|
||||
com.google.android.gms.internal.maps.zzr addGroundOverlay(GroundOverlayOptions groundOverlayOptions) throws RemoteException;
|
||||
|
||||
com.google.android.gms.internal.maps.zzad addMarker(MarkerOptions markerOptions) throws RemoteException;
|
||||
|
||||
void addOnMapCapabilitiesChangedListener(zzal zzalVar) throws RemoteException;
|
||||
|
||||
com.google.android.gms.internal.maps.zzag addPolygon(PolygonOptions polygonOptions) throws RemoteException;
|
||||
|
||||
com.google.android.gms.internal.maps.zzaj addPolyline(PolylineOptions polylineOptions) throws RemoteException;
|
||||
|
||||
com.google.android.gms.internal.maps.zzam addTileOverlay(TileOverlayOptions tileOverlayOptions) throws RemoteException;
|
||||
|
||||
void animateCamera(IObjectWrapper iObjectWrapper) throws RemoteException;
|
||||
|
||||
void animateCameraWithCallback(IObjectWrapper iObjectWrapper, zzd zzdVar) throws RemoteException;
|
||||
|
||||
void animateCameraWithDurationAndCallback(IObjectWrapper iObjectWrapper, int i, zzd zzdVar) throws RemoteException;
|
||||
|
||||
void clear() throws RemoteException;
|
||||
|
||||
CameraPosition getCameraPosition() throws RemoteException;
|
||||
|
||||
com.google.android.gms.internal.maps.zzo getFeatureLayer(com.google.android.gms.maps.model.zzd zzdVar) throws RemoteException;
|
||||
|
||||
com.google.android.gms.internal.maps.zzu getFocusedBuilding() throws RemoteException;
|
||||
|
||||
void getMapAsync(zzat zzatVar) throws RemoteException;
|
||||
|
||||
com.google.android.gms.internal.maps.zzaa getMapCapabilities() throws RemoteException;
|
||||
|
||||
int getMapType() throws RemoteException;
|
||||
|
||||
float getMaxZoomLevel() throws RemoteException;
|
||||
|
||||
float getMinZoomLevel() throws RemoteException;
|
||||
|
||||
Location getMyLocation() throws RemoteException;
|
||||
|
||||
IProjectionDelegate getProjection() throws RemoteException;
|
||||
|
||||
IUiSettingsDelegate getUiSettings() throws RemoteException;
|
||||
|
||||
boolean isBuildingsEnabled() throws RemoteException;
|
||||
|
||||
boolean isIndoorEnabled() throws RemoteException;
|
||||
|
||||
boolean isMyLocationEnabled() throws RemoteException;
|
||||
|
||||
boolean isTrafficEnabled() throws RemoteException;
|
||||
|
||||
void moveCamera(IObjectWrapper iObjectWrapper) throws RemoteException;
|
||||
|
||||
void onCreate(Bundle bundle) throws RemoteException;
|
||||
|
||||
void onDestroy() throws RemoteException;
|
||||
|
||||
void onEnterAmbient(Bundle bundle) throws RemoteException;
|
||||
|
||||
void onExitAmbient() throws RemoteException;
|
||||
|
||||
void onLowMemory() throws RemoteException;
|
||||
|
||||
void onPause() throws RemoteException;
|
||||
|
||||
void onResume() throws RemoteException;
|
||||
|
||||
void onSaveInstanceState(Bundle bundle) throws RemoteException;
|
||||
|
||||
void onStart() throws RemoteException;
|
||||
|
||||
void onStop() throws RemoteException;
|
||||
|
||||
void removeOnMapCapabilitiesChangedListener(zzal zzalVar) throws RemoteException;
|
||||
|
||||
void resetMinMaxZoomPreference() throws RemoteException;
|
||||
|
||||
void setBuildingsEnabled(boolean z3) throws RemoteException;
|
||||
|
||||
void setContentDescription(String str) throws RemoteException;
|
||||
|
||||
boolean setIndoorEnabled(boolean z3) throws RemoteException;
|
||||
|
||||
void setInfoWindowAdapter(zzi zziVar) throws RemoteException;
|
||||
|
||||
void setLatLngBoundsForCameraTarget(LatLngBounds latLngBounds) throws RemoteException;
|
||||
|
||||
void setLocationSource(ILocationSourceDelegate iLocationSourceDelegate) throws RemoteException;
|
||||
|
||||
boolean setMapStyle(MapStyleOptions mapStyleOptions) throws RemoteException;
|
||||
|
||||
void setMapType(int i) throws RemoteException;
|
||||
|
||||
void setMaxZoomPreference(float f2) throws RemoteException;
|
||||
|
||||
void setMinZoomPreference(float f2) throws RemoteException;
|
||||
|
||||
void setMyLocationEnabled(boolean z3) throws RemoteException;
|
||||
|
||||
void setOnCameraChangeListener(zzn zznVar) throws RemoteException;
|
||||
|
||||
void setOnCameraIdleListener(zzp zzpVar) throws RemoteException;
|
||||
|
||||
void setOnCameraMoveCanceledListener(zzr zzrVar) throws RemoteException;
|
||||
|
||||
void setOnCameraMoveListener(zzt zztVar) throws RemoteException;
|
||||
|
||||
void setOnCameraMoveStartedListener(zzv zzvVar) throws RemoteException;
|
||||
|
||||
void setOnCircleClickListener(zzx zzxVar) throws RemoteException;
|
||||
|
||||
void setOnGroundOverlayClickListener(zzz zzzVar) throws RemoteException;
|
||||
|
||||
void setOnIndoorStateChangeListener(zzab zzabVar) throws RemoteException;
|
||||
|
||||
void setOnInfoWindowClickListener(zzad zzadVar) throws RemoteException;
|
||||
|
||||
void setOnInfoWindowCloseListener(zzaf zzafVar) throws RemoteException;
|
||||
|
||||
void setOnInfoWindowLongClickListener(zzah zzahVar) throws RemoteException;
|
||||
|
||||
void setOnMapClickListener(zzan zzanVar) throws RemoteException;
|
||||
|
||||
void setOnMapLoadedCallback(zzap zzapVar) throws RemoteException;
|
||||
|
||||
void setOnMapLongClickListener(zzar zzarVar) throws RemoteException;
|
||||
|
||||
void setOnMarkerClickListener(zzav zzavVar) throws RemoteException;
|
||||
|
||||
void setOnMarkerDragListener(zzax zzaxVar) throws RemoteException;
|
||||
|
||||
void setOnMyLocationButtonClickListener(zzaz zzazVar) throws RemoteException;
|
||||
|
||||
void setOnMyLocationChangeListener(zzbb zzbbVar) throws RemoteException;
|
||||
|
||||
void setOnMyLocationClickListener(zzbd zzbdVar) throws RemoteException;
|
||||
|
||||
void setOnPoiClickListener(zzbf zzbfVar) throws RemoteException;
|
||||
|
||||
void setOnPolygonClickListener(zzbh zzbhVar) throws RemoteException;
|
||||
|
||||
void setOnPolylineClickListener(zzbj zzbjVar) throws RemoteException;
|
||||
|
||||
void setPadding(int i, int i4, int i5, int i6) throws RemoteException;
|
||||
|
||||
void setTrafficEnabled(boolean z3) throws RemoteException;
|
||||
|
||||
void setWatermarkEnabled(boolean z3) throws RemoteException;
|
||||
|
||||
void snapshot(zzbw zzbwVar, IObjectWrapper iObjectWrapper) throws RemoteException;
|
||||
|
||||
void snapshotForTest(zzbw zzbwVar) throws RemoteException;
|
||||
|
||||
void stopAnimation() throws RemoteException;
|
||||
|
||||
boolean useViewLifecycleWhenInFragment() throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface ILocationSourceDelegate extends IInterface {
|
||||
void activate(zzaj zzajVar) throws RemoteException;
|
||||
|
||||
void deactivate() throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
import com.google.android.gms.maps.GoogleMapOptions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface IMapFragmentDelegate extends IInterface {
|
||||
IGoogleMapDelegate getMap() throws RemoteException;
|
||||
|
||||
void getMapAsync(zzat zzatVar) throws RemoteException;
|
||||
|
||||
boolean isReady() throws RemoteException;
|
||||
|
||||
void onCreate(Bundle bundle) throws RemoteException;
|
||||
|
||||
IObjectWrapper onCreateView(IObjectWrapper iObjectWrapper, IObjectWrapper iObjectWrapper2, Bundle bundle) throws RemoteException;
|
||||
|
||||
void onDestroy() throws RemoteException;
|
||||
|
||||
void onDestroyView() throws RemoteException;
|
||||
|
||||
void onEnterAmbient(Bundle bundle) throws RemoteException;
|
||||
|
||||
void onExitAmbient() throws RemoteException;
|
||||
|
||||
void onInflate(IObjectWrapper iObjectWrapper, GoogleMapOptions googleMapOptions, Bundle bundle) throws RemoteException;
|
||||
|
||||
void onLowMemory() throws RemoteException;
|
||||
|
||||
void onPause() throws RemoteException;
|
||||
|
||||
void onResume() throws RemoteException;
|
||||
|
||||
void onSaveInstanceState(Bundle bundle) throws RemoteException;
|
||||
|
||||
void onStart() throws RemoteException;
|
||||
|
||||
void onStop() throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface IMapViewDelegate extends IInterface {
|
||||
IGoogleMapDelegate getMap() throws RemoteException;
|
||||
|
||||
void getMapAsync(zzat zzatVar) throws RemoteException;
|
||||
|
||||
IObjectWrapper getView() throws RemoteException;
|
||||
|
||||
void onCreate(Bundle bundle) throws RemoteException;
|
||||
|
||||
void onDestroy() throws RemoteException;
|
||||
|
||||
void onEnterAmbient(Bundle bundle) throws RemoteException;
|
||||
|
||||
void onExitAmbient() throws RemoteException;
|
||||
|
||||
void onLowMemory() throws RemoteException;
|
||||
|
||||
void onPause() throws RemoteException;
|
||||
|
||||
void onResume() throws RemoteException;
|
||||
|
||||
void onSaveInstanceState(Bundle bundle) throws RemoteException;
|
||||
|
||||
void onStart() throws RemoteException;
|
||||
|
||||
void onStop() throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
import com.google.android.gms.maps.model.LatLng;
|
||||
import com.google.android.gms.maps.model.VisibleRegion;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface IProjectionDelegate extends IInterface {
|
||||
LatLng fromScreenLocation(IObjectWrapper iObjectWrapper) throws RemoteException;
|
||||
|
||||
VisibleRegion getVisibleRegion() throws RemoteException;
|
||||
|
||||
IObjectWrapper toScreenLocation(LatLng latLng) throws RemoteException;
|
||||
|
||||
IObjectWrapper toScreenLocationWithAltitude(LatLng latLng, float f2) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
import com.google.android.gms.maps.model.LatLng;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaCamera;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaLocation;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaOrientation;
|
||||
import com.google.android.gms.maps.model.StreetViewSource;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface IStreetViewPanoramaDelegate extends IInterface {
|
||||
void animateTo(StreetViewPanoramaCamera streetViewPanoramaCamera, long j4) throws RemoteException;
|
||||
|
||||
void enablePanning(boolean z3) throws RemoteException;
|
||||
|
||||
void enableStreetNames(boolean z3) throws RemoteException;
|
||||
|
||||
void enableUserNavigation(boolean z3) throws RemoteException;
|
||||
|
||||
void enableZoom(boolean z3) throws RemoteException;
|
||||
|
||||
StreetViewPanoramaCamera getPanoramaCamera() throws RemoteException;
|
||||
|
||||
StreetViewPanoramaLocation getStreetViewPanoramaLocation() throws RemoteException;
|
||||
|
||||
boolean isPanningGesturesEnabled() throws RemoteException;
|
||||
|
||||
boolean isStreetNamesEnabled() throws RemoteException;
|
||||
|
||||
boolean isUserNavigationEnabled() throws RemoteException;
|
||||
|
||||
boolean isZoomGesturesEnabled() throws RemoteException;
|
||||
|
||||
IObjectWrapper orientationToPoint(StreetViewPanoramaOrientation streetViewPanoramaOrientation) throws RemoteException;
|
||||
|
||||
StreetViewPanoramaOrientation pointToOrientation(IObjectWrapper iObjectWrapper) throws RemoteException;
|
||||
|
||||
void setOnStreetViewPanoramaCameraChangeListener(zzbl zzblVar) throws RemoteException;
|
||||
|
||||
void setOnStreetViewPanoramaChangeListener(zzbn zzbnVar) throws RemoteException;
|
||||
|
||||
void setOnStreetViewPanoramaClickListener(zzbp zzbpVar) throws RemoteException;
|
||||
|
||||
void setOnStreetViewPanoramaLongClickListener(zzbr zzbrVar) throws RemoteException;
|
||||
|
||||
void setPosition(LatLng latLng) throws RemoteException;
|
||||
|
||||
void setPositionWithID(String str) throws RemoteException;
|
||||
|
||||
void setPositionWithRadius(LatLng latLng, int i) throws RemoteException;
|
||||
|
||||
void setPositionWithRadiusAndSource(LatLng latLng, int i, StreetViewSource streetViewSource) throws RemoteException;
|
||||
|
||||
void setPositionWithSource(LatLng latLng, StreetViewSource streetViewSource) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
import com.google.android.gms.maps.StreetViewPanoramaOptions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface IStreetViewPanoramaFragmentDelegate extends IInterface {
|
||||
IStreetViewPanoramaDelegate getStreetViewPanorama() throws RemoteException;
|
||||
|
||||
void getStreetViewPanoramaAsync(zzbt zzbtVar) throws RemoteException;
|
||||
|
||||
boolean isReady() throws RemoteException;
|
||||
|
||||
void onCreate(Bundle bundle) throws RemoteException;
|
||||
|
||||
IObjectWrapper onCreateView(IObjectWrapper iObjectWrapper, IObjectWrapper iObjectWrapper2, Bundle bundle) throws RemoteException;
|
||||
|
||||
void onDestroy() throws RemoteException;
|
||||
|
||||
void onDestroyView() throws RemoteException;
|
||||
|
||||
void onInflate(IObjectWrapper iObjectWrapper, StreetViewPanoramaOptions streetViewPanoramaOptions, Bundle bundle) throws RemoteException;
|
||||
|
||||
void onLowMemory() throws RemoteException;
|
||||
|
||||
void onPause() throws RemoteException;
|
||||
|
||||
void onResume() throws RemoteException;
|
||||
|
||||
void onSaveInstanceState(Bundle bundle) throws RemoteException;
|
||||
|
||||
void onStart() throws RemoteException;
|
||||
|
||||
void onStop() throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface IStreetViewPanoramaViewDelegate extends IInterface {
|
||||
IStreetViewPanoramaDelegate getStreetViewPanorama() throws RemoteException;
|
||||
|
||||
void getStreetViewPanoramaAsync(zzbt zzbtVar) throws RemoteException;
|
||||
|
||||
IObjectWrapper getView() throws RemoteException;
|
||||
|
||||
void onCreate(Bundle bundle) throws RemoteException;
|
||||
|
||||
void onDestroy() throws RemoteException;
|
||||
|
||||
void onLowMemory() throws RemoteException;
|
||||
|
||||
void onPause() throws RemoteException;
|
||||
|
||||
void onResume() throws RemoteException;
|
||||
|
||||
void onSaveInstanceState(Bundle bundle) throws RemoteException;
|
||||
|
||||
void onStart() throws RemoteException;
|
||||
|
||||
void onStop() throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface IUiSettingsDelegate extends IInterface {
|
||||
boolean isCompassEnabled() throws RemoteException;
|
||||
|
||||
boolean isIndoorLevelPickerEnabled() throws RemoteException;
|
||||
|
||||
boolean isMapToolbarEnabled() throws RemoteException;
|
||||
|
||||
boolean isMyLocationButtonEnabled() throws RemoteException;
|
||||
|
||||
boolean isRotateGesturesEnabled() throws RemoteException;
|
||||
|
||||
boolean isScrollGesturesEnabled() throws RemoteException;
|
||||
|
||||
boolean isScrollGesturesEnabledDuringRotateOrZoom() throws RemoteException;
|
||||
|
||||
boolean isTiltGesturesEnabled() throws RemoteException;
|
||||
|
||||
boolean isZoomControlsEnabled() throws RemoteException;
|
||||
|
||||
boolean isZoomGesturesEnabled() throws RemoteException;
|
||||
|
||||
void setAllGesturesEnabled(boolean z3) throws RemoteException;
|
||||
|
||||
void setCompassEnabled(boolean z3) throws RemoteException;
|
||||
|
||||
void setIndoorLevelPickerEnabled(boolean z3) throws RemoteException;
|
||||
|
||||
void setMapToolbarEnabled(boolean z3) throws RemoteException;
|
||||
|
||||
void setMyLocationButtonEnabled(boolean z3) throws RemoteException;
|
||||
|
||||
void setRotateGesturesEnabled(boolean z3) throws RemoteException;
|
||||
|
||||
void setScrollGesturesEnabled(boolean z3) throws RemoteException;
|
||||
|
||||
void setScrollGesturesEnabledDuringRotateOrZoom(boolean z3) throws RemoteException;
|
||||
|
||||
void setTiltGesturesEnabled(boolean z3) throws RemoteException;
|
||||
|
||||
void setZoomControlsEnabled(boolean z3) throws RemoteException;
|
||||
|
||||
void setZoomGesturesEnabled(boolean z3) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import com.google.android.gms.dynamic.LifecycleDelegate;
|
||||
import com.google.android.gms.maps.OnMapReadyCallback;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface MapLifecycleDelegate extends LifecycleDelegate {
|
||||
void getMapAsync(OnMapReadyCallback onMapReadyCallback);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import com.google.android.gms.dynamic.LifecycleDelegate;
|
||||
import com.google.android.gms.maps.OnStreetViewPanoramaReadyCallback;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface StreetViewLifecycleDelegate extends LifecycleDelegate {
|
||||
void getStreetViewPanoramaAsync(OnStreetViewPanoramaReadyCallback onStreetViewPanoramaReadyCallback);
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zza {
|
||||
public static byte zza(Boolean bool) {
|
||||
if (bool != null) {
|
||||
return !bool.booleanValue() ? (byte) 0 : (byte) 1;
|
||||
}
|
||||
return (byte) -1;
|
||||
}
|
||||
|
||||
public static Boolean zzb(byte b4) {
|
||||
if (b4 == 0) {
|
||||
return Boolean.FALSE;
|
||||
}
|
||||
if (b4 != 1) {
|
||||
return null;
|
||||
}
|
||||
return Boolean.TRUE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzaa extends com.google.android.gms.internal.maps.zzb implements zzab {
|
||||
public zzaa() {
|
||||
super("com.google.android.gms.maps.internal.IOnIndoorStateChangeListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i == 1) {
|
||||
zzb();
|
||||
} else {
|
||||
if (i != 2) {
|
||||
return false;
|
||||
}
|
||||
com.google.android.gms.internal.maps.zzu zzb = com.google.android.gms.internal.maps.zzt.zzb(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzc(zzb);
|
||||
}
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzab extends IInterface {
|
||||
void zzb() throws RemoteException;
|
||||
|
||||
void zzc(com.google.android.gms.internal.maps.zzu zzuVar) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzac extends com.google.android.gms.internal.maps.zzb implements zzad {
|
||||
public zzac() {
|
||||
super("com.google.android.gms.maps.internal.IOnInfoWindowClickListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
com.google.android.gms.internal.maps.zzad zzb = com.google.android.gms.internal.maps.zzac.zzb(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(zzb);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzad extends IInterface {
|
||||
void zzb(com.google.android.gms.internal.maps.zzad zzadVar) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzae extends com.google.android.gms.internal.maps.zzb implements zzaf {
|
||||
public zzae() {
|
||||
super("com.google.android.gms.maps.internal.IOnInfoWindowCloseListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
com.google.android.gms.internal.maps.zzad zzb = com.google.android.gms.internal.maps.zzac.zzb(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(zzb);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzaf extends IInterface {
|
||||
void zzb(com.google.android.gms.internal.maps.zzad zzadVar) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzag extends com.google.android.gms.internal.maps.zzb implements zzah {
|
||||
public zzag() {
|
||||
super("com.google.android.gms.maps.internal.IOnInfoWindowLongClickListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
com.google.android.gms.internal.maps.zzad zzb = com.google.android.gms.internal.maps.zzac.zzb(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(zzb);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzah extends IInterface {
|
||||
void zzb(com.google.android.gms.internal.maps.zzad zzadVar) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.location.Location;
|
||||
import android.os.IBinder;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzai extends com.google.android.gms.internal.maps.zza implements zzaj {
|
||||
public zzai(IBinder iBinder) {
|
||||
super(iBinder, "com.google.android.gms.maps.internal.IOnLocationChangeListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.zzaj
|
||||
public final void zzd(Location location) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, location);
|
||||
zzc(2, zza);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.location.Location;
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzaj extends IInterface {
|
||||
void zzd(Location location) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzak extends com.google.android.gms.internal.maps.zzb implements zzal {
|
||||
public zzak() {
|
||||
super("com.google.android.gms.maps.internal.IOnMapCapabilitiesChangedListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
com.google.android.gms.internal.maps.zzaa zzb = com.google.android.gms.internal.maps.zzz.zzb(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(zzb);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzal extends IInterface {
|
||||
void zzb(com.google.android.gms.internal.maps.zzaa zzaaVar) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.LatLng;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzam extends com.google.android.gms.internal.maps.zzb implements zzan {
|
||||
public zzam() {
|
||||
super("com.google.android.gms.maps.internal.IOnMapClickListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
LatLng latLng = (LatLng) com.google.android.gms.internal.maps.zzc.zza(parcel, LatLng.CREATOR);
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(latLng);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.LatLng;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzan extends IInterface {
|
||||
void zzb(LatLng latLng) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzao extends com.google.android.gms.internal.maps.zzb implements zzap {
|
||||
public zzao() {
|
||||
super("com.google.android.gms.maps.internal.IOnMapLoadedCallback");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
zzb();
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzap extends IInterface {
|
||||
void zzb() throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.LatLng;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzaq extends com.google.android.gms.internal.maps.zzb implements zzar {
|
||||
public zzaq() {
|
||||
super("com.google.android.gms.maps.internal.IOnMapLongClickListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
LatLng latLng = (LatLng) com.google.android.gms.internal.maps.zzc.zza(parcel, LatLng.CREATOR);
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(latLng);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.LatLng;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzar extends IInterface {
|
||||
void zzb(LatLng latLng) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IBinder;
|
||||
import android.os.IInterface;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzas extends com.google.android.gms.internal.maps.zzb implements zzat {
|
||||
public zzas() {
|
||||
super("com.google.android.gms.maps.internal.IOnMapReadyCallback");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
IGoogleMapDelegate zzgVar;
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
IBinder readStrongBinder = parcel.readStrongBinder();
|
||||
if (readStrongBinder == null) {
|
||||
zzgVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IGoogleMapDelegate");
|
||||
zzgVar = queryLocalInterface instanceof IGoogleMapDelegate ? (IGoogleMapDelegate) queryLocalInterface : new zzg(readStrongBinder);
|
||||
}
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(zzgVar);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzat extends IInterface {
|
||||
void zzb(IGoogleMapDelegate iGoogleMapDelegate) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzau extends com.google.android.gms.internal.maps.zzb implements zzav {
|
||||
public zzau() {
|
||||
super("com.google.android.gms.maps.internal.IOnMarkerClickListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
com.google.android.gms.internal.maps.zzad zzb = com.google.android.gms.internal.maps.zzac.zzb(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
boolean zzb2 = zzb(zzb);
|
||||
parcel2.writeNoException();
|
||||
parcel2.writeInt(zzb2 ? 1 : 0);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzav extends IInterface {
|
||||
boolean zzb(com.google.android.gms.internal.maps.zzad zzadVar) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzaw extends com.google.android.gms.internal.maps.zzb implements zzax {
|
||||
public zzaw() {
|
||||
super("com.google.android.gms.maps.internal.IOnMarkerDragListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i == 1) {
|
||||
com.google.android.gms.internal.maps.zzad zzb = com.google.android.gms.internal.maps.zzac.zzb(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzd(zzb);
|
||||
} else if (i == 2) {
|
||||
com.google.android.gms.internal.maps.zzad zzb2 = com.google.android.gms.internal.maps.zzac.zzb(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(zzb2);
|
||||
} else {
|
||||
if (i != 3) {
|
||||
return false;
|
||||
}
|
||||
com.google.android.gms.internal.maps.zzad zzb3 = com.google.android.gms.internal.maps.zzac.zzb(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzc(zzb3);
|
||||
}
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzax extends IInterface {
|
||||
void zzb(com.google.android.gms.internal.maps.zzad zzadVar) throws RemoteException;
|
||||
|
||||
void zzc(com.google.android.gms.internal.maps.zzad zzadVar) throws RemoteException;
|
||||
|
||||
void zzd(com.google.android.gms.internal.maps.zzad zzadVar) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzay extends com.google.android.gms.internal.maps.zzb implements zzaz {
|
||||
public zzay() {
|
||||
super("com.google.android.gms.maps.internal.IOnMyLocationButtonClickListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
boolean zzb = zzb();
|
||||
parcel2.writeNoException();
|
||||
int i5 = com.google.android.gms.internal.maps.zzc.zza;
|
||||
parcel2.writeInt(zzb ? 1 : 0);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzaz extends IInterface {
|
||||
boolean zzb() throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import C.w;
|
||||
import android.os.IBinder;
|
||||
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.LatLng;
|
||||
import com.google.android.gms.maps.model.LatLngBounds;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzb extends com.google.android.gms.internal.maps.zza implements ICameraUpdateFactoryDelegate {
|
||||
public zzb(IBinder iBinder) {
|
||||
super(iBinder, "com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate
|
||||
public final IObjectWrapper newCameraPosition(CameraPosition cameraPosition) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, cameraPosition);
|
||||
return w.d(zzJ(7, zza));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate
|
||||
public final IObjectWrapper newLatLng(LatLng latLng) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, latLng);
|
||||
return w.d(zzJ(8, zza));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate
|
||||
public final IObjectWrapper newLatLngBounds(LatLngBounds latLngBounds, int i) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, latLngBounds);
|
||||
zza.writeInt(i);
|
||||
return w.d(zzJ(10, zza));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate
|
||||
public final IObjectWrapper newLatLngBoundsWithSize(LatLngBounds latLngBounds, int i, int i4, int i5) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, latLngBounds);
|
||||
zza.writeInt(i);
|
||||
zza.writeInt(i4);
|
||||
zza.writeInt(i5);
|
||||
return w.d(zzJ(11, zza));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate
|
||||
public final IObjectWrapper newLatLngZoom(LatLng latLng, float f2) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, latLng);
|
||||
zza.writeFloat(f2);
|
||||
return w.d(zzJ(9, zza));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate
|
||||
public final IObjectWrapper scrollBy(float f2, float f4) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeFloat(f2);
|
||||
zza.writeFloat(f4);
|
||||
return w.d(zzJ(3, zza));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate
|
||||
public final IObjectWrapper zoomBy(float f2) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeFloat(f2);
|
||||
return w.d(zzJ(5, zza));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate
|
||||
public final IObjectWrapper zoomByWithFocus(float f2, int i, int i4) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeFloat(f2);
|
||||
zza.writeInt(i);
|
||||
zza.writeInt(i4);
|
||||
return w.d(zzJ(6, zza));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate
|
||||
public final IObjectWrapper zoomIn() throws RemoteException {
|
||||
return w.d(zzJ(1, zza()));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate
|
||||
public final IObjectWrapper zoomOut() throws RemoteException {
|
||||
return w.d(zzJ(2, zza()));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate
|
||||
public final IObjectWrapper zoomTo(float f2) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeFloat(f2);
|
||||
return w.d(zzJ(4, zza));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzba extends com.google.android.gms.internal.maps.zzb implements zzbb {
|
||||
public zzba() {
|
||||
super("com.google.android.gms.maps.internal.IOnMyLocationChangeListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
IObjectWrapper asInterface = IObjectWrapper.Stub.asInterface(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(asInterface);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzbb extends IInterface {
|
||||
void zzb(IObjectWrapper iObjectWrapper) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.location.Location;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzbc extends com.google.android.gms.internal.maps.zzb implements zzbd {
|
||||
public zzbc() {
|
||||
super("com.google.android.gms.maps.internal.IOnMyLocationClickListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
Location location = (Location) com.google.android.gms.internal.maps.zzc.zza(parcel, Location.CREATOR);
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(location);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.location.Location;
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzbd extends IInterface {
|
||||
void zzb(Location location) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.PointOfInterest;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzbe extends com.google.android.gms.internal.maps.zzb implements zzbf {
|
||||
public zzbe() {
|
||||
super("com.google.android.gms.maps.internal.IOnPoiClickListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
PointOfInterest pointOfInterest = (PointOfInterest) com.google.android.gms.internal.maps.zzc.zza(parcel, PointOfInterest.CREATOR);
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(pointOfInterest);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.PointOfInterest;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzbf extends IInterface {
|
||||
void zzb(PointOfInterest pointOfInterest) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzbg extends com.google.android.gms.internal.maps.zzb implements zzbh {
|
||||
public zzbg() {
|
||||
super("com.google.android.gms.maps.internal.IOnPolygonClickListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
com.google.android.gms.internal.maps.zzag zzb = com.google.android.gms.internal.maps.zzaf.zzb(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(zzb);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzbh extends IInterface {
|
||||
void zzb(com.google.android.gms.internal.maps.zzag zzagVar) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzbi extends com.google.android.gms.internal.maps.zzb implements zzbj {
|
||||
public zzbi() {
|
||||
super("com.google.android.gms.maps.internal.IOnPolylineClickListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
com.google.android.gms.internal.maps.zzaj zzb = com.google.android.gms.internal.maps.zzai.zzb(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(zzb);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzbj extends IInterface {
|
||||
void zzb(com.google.android.gms.internal.maps.zzaj zzajVar) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaCamera;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzbk extends com.google.android.gms.internal.maps.zzb implements zzbl {
|
||||
public zzbk() {
|
||||
super("com.google.android.gms.maps.internal.IOnStreetViewPanoramaCameraChangeListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
StreetViewPanoramaCamera streetViewPanoramaCamera = (StreetViewPanoramaCamera) com.google.android.gms.internal.maps.zzc.zza(parcel, StreetViewPanoramaCamera.CREATOR);
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(streetViewPanoramaCamera);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaCamera;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzbl extends IInterface {
|
||||
void zzb(StreetViewPanoramaCamera streetViewPanoramaCamera) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaLocation;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzbm extends com.google.android.gms.internal.maps.zzb implements zzbn {
|
||||
public zzbm() {
|
||||
super("com.google.android.gms.maps.internal.IOnStreetViewPanoramaChangeListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
StreetViewPanoramaLocation streetViewPanoramaLocation = (StreetViewPanoramaLocation) com.google.android.gms.internal.maps.zzc.zza(parcel, StreetViewPanoramaLocation.CREATOR);
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(streetViewPanoramaLocation);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaLocation;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzbn extends IInterface {
|
||||
void zzb(StreetViewPanoramaLocation streetViewPanoramaLocation) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaOrientation;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzbo extends com.google.android.gms.internal.maps.zzb implements zzbp {
|
||||
public zzbo() {
|
||||
super("com.google.android.gms.maps.internal.IOnStreetViewPanoramaClickListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
StreetViewPanoramaOrientation streetViewPanoramaOrientation = (StreetViewPanoramaOrientation) com.google.android.gms.internal.maps.zzc.zza(parcel, StreetViewPanoramaOrientation.CREATOR);
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(streetViewPanoramaOrientation);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaOrientation;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzbp extends IInterface {
|
||||
void zzb(StreetViewPanoramaOrientation streetViewPanoramaOrientation) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaOrientation;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzbq extends com.google.android.gms.internal.maps.zzb implements zzbr {
|
||||
public zzbq() {
|
||||
super("com.google.android.gms.maps.internal.IOnStreetViewPanoramaLongClickListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
StreetViewPanoramaOrientation streetViewPanoramaOrientation = (StreetViewPanoramaOrientation) com.google.android.gms.internal.maps.zzc.zza(parcel, StreetViewPanoramaOrientation.CREATOR);
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(streetViewPanoramaOrientation);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaOrientation;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzbr extends IInterface {
|
||||
void zzb(StreetViewPanoramaOrientation streetViewPanoramaOrientation) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IBinder;
|
||||
import android.os.IInterface;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzbs extends com.google.android.gms.internal.maps.zzb implements zzbt {
|
||||
public zzbs() {
|
||||
super("com.google.android.gms.maps.internal.IOnStreetViewPanoramaReadyCallback");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
IStreetViewPanoramaDelegate zzbxVar;
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
IBinder readStrongBinder = parcel.readStrongBinder();
|
||||
if (readStrongBinder == null) {
|
||||
zzbxVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate");
|
||||
zzbxVar = queryLocalInterface instanceof IStreetViewPanoramaDelegate ? (IStreetViewPanoramaDelegate) queryLocalInterface : new zzbx(readStrongBinder);
|
||||
}
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(zzbxVar);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzbt extends IInterface {
|
||||
void zzb(IStreetViewPanoramaDelegate iStreetViewPanoramaDelegate) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import C.w;
|
||||
import android.os.IBinder;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
import com.google.android.gms.maps.model.LatLng;
|
||||
import com.google.android.gms.maps.model.VisibleRegion;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzbu extends com.google.android.gms.internal.maps.zza implements IProjectionDelegate {
|
||||
public zzbu(IBinder iBinder) {
|
||||
super(iBinder, "com.google.android.gms.maps.internal.IProjectionDelegate");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IProjectionDelegate
|
||||
public final LatLng fromScreenLocation(IObjectWrapper iObjectWrapper) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
Parcel zzJ = zzJ(1, zza);
|
||||
LatLng latLng = (LatLng) com.google.android.gms.internal.maps.zzc.zza(zzJ, LatLng.CREATOR);
|
||||
zzJ.recycle();
|
||||
return latLng;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IProjectionDelegate
|
||||
public final VisibleRegion getVisibleRegion() throws RemoteException {
|
||||
Parcel zzJ = zzJ(3, zza());
|
||||
VisibleRegion visibleRegion = (VisibleRegion) com.google.android.gms.internal.maps.zzc.zza(zzJ, VisibleRegion.CREATOR);
|
||||
zzJ.recycle();
|
||||
return visibleRegion;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IProjectionDelegate
|
||||
public final IObjectWrapper toScreenLocation(LatLng latLng) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, latLng);
|
||||
return w.d(zzJ(2, zza));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IProjectionDelegate
|
||||
public final IObjectWrapper toScreenLocationWithAltitude(LatLng latLng, float f2) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, latLng);
|
||||
zza.writeFloat(f2);
|
||||
return w.d(zzJ(4, zza));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzbv extends com.google.android.gms.internal.maps.zzb implements zzbw {
|
||||
public zzbv() {
|
||||
super("com.google.android.gms.maps.internal.ISnapshotReadyCallback");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i == 1) {
|
||||
Bitmap bitmap = (Bitmap) com.google.android.gms.internal.maps.zzc.zza(parcel, Bitmap.CREATOR);
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(bitmap);
|
||||
} else {
|
||||
if (i != 2) {
|
||||
return false;
|
||||
}
|
||||
IObjectWrapper asInterface = IObjectWrapper.Stub.asInterface(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzc(asInterface);
|
||||
}
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzbw extends IInterface {
|
||||
void zzb(Bitmap bitmap) throws RemoteException;
|
||||
|
||||
void zzc(IObjectWrapper iObjectWrapper) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import C.w;
|
||||
import android.os.IBinder;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
import com.google.android.gms.maps.model.LatLng;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaCamera;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaLocation;
|
||||
import com.google.android.gms.maps.model.StreetViewPanoramaOrientation;
|
||||
import com.google.android.gms.maps.model.StreetViewSource;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzbx extends com.google.android.gms.internal.maps.zza implements IStreetViewPanoramaDelegate {
|
||||
public zzbx(IBinder iBinder) {
|
||||
super(iBinder, "com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final void animateTo(StreetViewPanoramaCamera streetViewPanoramaCamera, long j4) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, streetViewPanoramaCamera);
|
||||
zza.writeLong(j4);
|
||||
zzc(9, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final void enablePanning(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(2, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final void enableStreetNames(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(4, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final void enableUserNavigation(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(3, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final void enableZoom(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(1, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final StreetViewPanoramaCamera getPanoramaCamera() throws RemoteException {
|
||||
Parcel zzJ = zzJ(10, zza());
|
||||
StreetViewPanoramaCamera streetViewPanoramaCamera = (StreetViewPanoramaCamera) com.google.android.gms.internal.maps.zzc.zza(zzJ, StreetViewPanoramaCamera.CREATOR);
|
||||
zzJ.recycle();
|
||||
return streetViewPanoramaCamera;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final StreetViewPanoramaLocation getStreetViewPanoramaLocation() throws RemoteException {
|
||||
Parcel zzJ = zzJ(14, zza());
|
||||
StreetViewPanoramaLocation streetViewPanoramaLocation = (StreetViewPanoramaLocation) com.google.android.gms.internal.maps.zzc.zza(zzJ, StreetViewPanoramaLocation.CREATOR);
|
||||
zzJ.recycle();
|
||||
return streetViewPanoramaLocation;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final boolean isPanningGesturesEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(6, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final boolean isStreetNamesEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(8, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final boolean isUserNavigationEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(7, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final boolean isZoomGesturesEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(5, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final IObjectWrapper orientationToPoint(StreetViewPanoramaOrientation streetViewPanoramaOrientation) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, streetViewPanoramaOrientation);
|
||||
return w.d(zzJ(19, zza));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final StreetViewPanoramaOrientation pointToOrientation(IObjectWrapper iObjectWrapper) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
Parcel zzJ = zzJ(18, zza);
|
||||
StreetViewPanoramaOrientation streetViewPanoramaOrientation = (StreetViewPanoramaOrientation) com.google.android.gms.internal.maps.zzc.zza(zzJ, StreetViewPanoramaOrientation.CREATOR);
|
||||
zzJ.recycle();
|
||||
return streetViewPanoramaOrientation;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final void setOnStreetViewPanoramaCameraChangeListener(zzbl zzblVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzblVar);
|
||||
zzc(16, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final void setOnStreetViewPanoramaChangeListener(zzbn zzbnVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzbnVar);
|
||||
zzc(15, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final void setOnStreetViewPanoramaClickListener(zzbp zzbpVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzbpVar);
|
||||
zzc(17, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final void setOnStreetViewPanoramaLongClickListener(zzbr zzbrVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzbrVar);
|
||||
zzc(20, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final void setPosition(LatLng latLng) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, latLng);
|
||||
zzc(12, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final void setPositionWithID(String str) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeString(str);
|
||||
zzc(11, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final void setPositionWithRadius(LatLng latLng, int i) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, latLng);
|
||||
zza.writeInt(i);
|
||||
zzc(13, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final void setPositionWithRadiusAndSource(LatLng latLng, int i, StreetViewSource streetViewSource) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, latLng);
|
||||
zza.writeInt(i);
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, streetViewSource);
|
||||
zzc(22, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate
|
||||
public final void setPositionWithSource(LatLng latLng, StreetViewSource streetViewSource) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, latLng);
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, streetViewSource);
|
||||
zzc(21, zza);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import C.w;
|
||||
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.StreetViewPanoramaOptions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzby extends com.google.android.gms.internal.maps.zza implements IStreetViewPanoramaFragmentDelegate {
|
||||
public zzby(IBinder iBinder) {
|
||||
super(iBinder, "com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate
|
||||
public final IStreetViewPanoramaDelegate getStreetViewPanorama() throws RemoteException {
|
||||
IStreetViewPanoramaDelegate zzbxVar;
|
||||
Parcel zzJ = zzJ(1, zza());
|
||||
IBinder readStrongBinder = zzJ.readStrongBinder();
|
||||
if (readStrongBinder == null) {
|
||||
zzbxVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate");
|
||||
zzbxVar = queryLocalInterface instanceof IStreetViewPanoramaDelegate ? (IStreetViewPanoramaDelegate) queryLocalInterface : new zzbx(readStrongBinder);
|
||||
}
|
||||
zzJ.recycle();
|
||||
return zzbxVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate
|
||||
public final void getStreetViewPanoramaAsync(zzbt zzbtVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzbtVar);
|
||||
zzc(12, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate
|
||||
public final boolean isReady() throws RemoteException {
|
||||
Parcel zzJ = zzJ(11, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate
|
||||
public final void onCreate(Bundle bundle) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, bundle);
|
||||
zzc(3, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate
|
||||
public final IObjectWrapper onCreateView(IObjectWrapper iObjectWrapper, IObjectWrapper iObjectWrapper2, Bundle bundle) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper2);
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, bundle);
|
||||
return w.d(zzJ(4, zza));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate
|
||||
public final void onDestroy() throws RemoteException {
|
||||
zzc(8, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate
|
||||
public final void onDestroyView() throws RemoteException {
|
||||
zzc(7, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate
|
||||
public final void onInflate(IObjectWrapper iObjectWrapper, StreetViewPanoramaOptions streetViewPanoramaOptions, Bundle bundle) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, streetViewPanoramaOptions);
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, bundle);
|
||||
zzc(2, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate
|
||||
public final void onLowMemory() throws RemoteException {
|
||||
zzc(9, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate
|
||||
public final void onPause() throws RemoteException {
|
||||
zzc(6, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate
|
||||
public final void onResume() throws RemoteException {
|
||||
zzc(5, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate
|
||||
public final void onSaveInstanceState(Bundle bundle) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, bundle);
|
||||
Parcel zzJ = zzJ(10, zza);
|
||||
if (zzJ.readInt() != 0) {
|
||||
bundle.readFromParcel(zzJ);
|
||||
}
|
||||
zzJ.recycle();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate
|
||||
public final void onStart() throws RemoteException {
|
||||
zzc(13, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate
|
||||
public final void onStop() throws RemoteException {
|
||||
zzc(14, zza());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import C.w;
|
||||
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;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzbz extends com.google.android.gms.internal.maps.zza implements IStreetViewPanoramaViewDelegate {
|
||||
public zzbz(IBinder iBinder) {
|
||||
super(iBinder, "com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate
|
||||
public final IStreetViewPanoramaDelegate getStreetViewPanorama() throws RemoteException {
|
||||
IStreetViewPanoramaDelegate zzbxVar;
|
||||
Parcel zzJ = zzJ(1, zza());
|
||||
IBinder readStrongBinder = zzJ.readStrongBinder();
|
||||
if (readStrongBinder == null) {
|
||||
zzbxVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IStreetViewPanoramaDelegate");
|
||||
zzbxVar = queryLocalInterface instanceof IStreetViewPanoramaDelegate ? (IStreetViewPanoramaDelegate) queryLocalInterface : new zzbx(readStrongBinder);
|
||||
}
|
||||
zzJ.recycle();
|
||||
return zzbxVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate
|
||||
public final void getStreetViewPanoramaAsync(zzbt zzbtVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzbtVar);
|
||||
zzc(9, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate
|
||||
public final IObjectWrapper getView() throws RemoteException {
|
||||
return w.d(zzJ(8, zza()));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate
|
||||
public final void onCreate(Bundle bundle) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, bundle);
|
||||
zzc(2, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate
|
||||
public final void onDestroy() throws RemoteException {
|
||||
zzc(5, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate
|
||||
public final void onLowMemory() throws RemoteException {
|
||||
zzc(6, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate
|
||||
public final void onPause() throws RemoteException {
|
||||
zzc(4, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate
|
||||
public final void onResume() throws RemoteException {
|
||||
zzc(3, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate
|
||||
public final void onSaveInstanceState(Bundle bundle) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, bundle);
|
||||
Parcel zzJ = zzJ(7, zza);
|
||||
if (zzJ.readInt() != 0) {
|
||||
bundle.readFromParcel(zzJ);
|
||||
}
|
||||
zzJ.recycle();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate
|
||||
public final void onStart() throws RemoteException {
|
||||
zzc(10, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate
|
||||
public final void onStop() throws RemoteException {
|
||||
zzc(11, zza());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzc extends com.google.android.gms.internal.maps.zzb implements zzd {
|
||||
public zzc() {
|
||||
super("com.google.android.gms.maps.internal.ICancelableCallback");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i == 1) {
|
||||
zzc();
|
||||
} else {
|
||||
if (i != 2) {
|
||||
return false;
|
||||
}
|
||||
zzb();
|
||||
}
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,180 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IBinder;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzca extends com.google.android.gms.internal.maps.zza implements IUiSettingsDelegate {
|
||||
public zzca(IBinder iBinder) {
|
||||
super(iBinder, "com.google.android.gms.maps.internal.IUiSettingsDelegate");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final boolean isCompassEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(10, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final boolean isIndoorLevelPickerEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(17, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final boolean isMapToolbarEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(19, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final boolean isMyLocationButtonEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(11, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final boolean isRotateGesturesEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(15, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final boolean isScrollGesturesEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(12, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final boolean isScrollGesturesEnabledDuringRotateOrZoom() throws RemoteException {
|
||||
Parcel zzJ = zzJ(21, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final boolean isTiltGesturesEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(14, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final boolean isZoomControlsEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(9, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final boolean isZoomGesturesEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(13, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final void setAllGesturesEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(8, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final void setCompassEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(2, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final void setIndoorLevelPickerEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(16, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final void setMapToolbarEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(18, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final void setMyLocationButtonEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(3, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final void setRotateGesturesEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(7, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final void setScrollGesturesEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(4, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final void setScrollGesturesEnabledDuringRotateOrZoom(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(20, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final void setTiltGesturesEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(6, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final void setZoomControlsEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(1, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IUiSettingsDelegate
|
||||
public final void setZoomGesturesEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(5, zza);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcelable;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzcb {
|
||||
private zzcb() {
|
||||
}
|
||||
|
||||
public static Parcelable zza(Bundle bundle, String str) {
|
||||
ClassLoader zzd = zzd();
|
||||
bundle.setClassLoader(zzd);
|
||||
Bundle bundle2 = bundle.getBundle("map_state");
|
||||
if (bundle2 == null) {
|
||||
return null;
|
||||
}
|
||||
bundle2.setClassLoader(zzd);
|
||||
return bundle2.getParcelable(str);
|
||||
}
|
||||
|
||||
public static void zzb(Bundle bundle, Bundle bundle2) {
|
||||
if (bundle == null || bundle2 == null) {
|
||||
return;
|
||||
}
|
||||
Parcelable zza = zza(bundle, "MapOptions");
|
||||
if (zza != null) {
|
||||
zzc(bundle2, "MapOptions", zza);
|
||||
}
|
||||
Parcelable zza2 = zza(bundle, "StreetViewPanoramaOptions");
|
||||
if (zza2 != null) {
|
||||
zzc(bundle2, "StreetViewPanoramaOptions", zza2);
|
||||
}
|
||||
Parcelable zza3 = zza(bundle, "camera");
|
||||
if (zza3 != null) {
|
||||
zzc(bundle2, "camera", zza3);
|
||||
}
|
||||
if (bundle.containsKey("position")) {
|
||||
bundle2.putString("position", bundle.getString("position"));
|
||||
}
|
||||
if (bundle.containsKey("com.google.android.wearable.compat.extra.LOWBIT_AMBIENT")) {
|
||||
bundle2.putBoolean("com.google.android.wearable.compat.extra.LOWBIT_AMBIENT", bundle.getBoolean("com.google.android.wearable.compat.extra.LOWBIT_AMBIENT", false));
|
||||
}
|
||||
}
|
||||
|
||||
public static void zzc(Bundle bundle, String str, Parcelable parcelable) {
|
||||
ClassLoader zzd = zzd();
|
||||
bundle.setClassLoader(zzd);
|
||||
Bundle bundle2 = bundle.getBundle("map_state");
|
||||
if (bundle2 == null) {
|
||||
bundle2 = new Bundle();
|
||||
}
|
||||
bundle2.setClassLoader(zzd);
|
||||
bundle2.putParcelable(str, parcelable);
|
||||
bundle.putBundle("map_state", bundle2);
|
||||
}
|
||||
|
||||
private static ClassLoader zzd() {
|
||||
return (ClassLoader) Preconditions.checkNotNull(zzcb.class.getClassLoader());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,117 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.os.IBinder;
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import android.util.Log;
|
||||
import com.google.android.gms.common.GooglePlayServicesNotAvailableException;
|
||||
import com.google.android.gms.common.GooglePlayServicesUtil;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.dynamic.ObjectWrapper;
|
||||
import com.google.android.gms.dynamite.DynamiteModule;
|
||||
import com.google.android.gms.maps.MapsInitializer;
|
||||
import com.google.android.gms.maps.model.RuntimeRemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzcc {
|
||||
private static final String zza = "zzcc";
|
||||
|
||||
@SuppressLint({"StaticFieldLeak"})
|
||||
private static Context zzb;
|
||||
private static zzf zzc;
|
||||
|
||||
public static zzf zza(Context context, MapsInitializer.Renderer renderer) throws GooglePlayServicesNotAvailableException {
|
||||
Preconditions.checkNotNull(context);
|
||||
Log.d(zza, "preferredRenderer: ".concat(String.valueOf(renderer)));
|
||||
zzf zzfVar = zzc;
|
||||
if (zzfVar != null) {
|
||||
return zzfVar;
|
||||
}
|
||||
int isGooglePlayServicesAvailable = GooglePlayServicesUtil.isGooglePlayServicesAvailable(context, 13400000);
|
||||
if (isGooglePlayServicesAvailable != 0) {
|
||||
throw new GooglePlayServicesNotAvailableException(isGooglePlayServicesAvailable);
|
||||
}
|
||||
zzf zzd = zzd(context, renderer);
|
||||
zzc = zzd;
|
||||
try {
|
||||
if (zzd.zzd() == 2) {
|
||||
try {
|
||||
zzc.zzm(ObjectWrapper.wrap(zzc(context, renderer)));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
} catch (UnsatisfiedLinkError unused) {
|
||||
Log.w(zza, "Caught UnsatisfiedLinkError attempting to load the LATEST renderer's native library. Attempting to use the LEGACY renderer instead.");
|
||||
zzb = null;
|
||||
zzc = zzd(context, MapsInitializer.Renderer.LEGACY);
|
||||
}
|
||||
}
|
||||
try {
|
||||
zzf zzfVar2 = zzc;
|
||||
Context zzc2 = zzc(context, renderer);
|
||||
zzc2.getClass();
|
||||
zzfVar2.zzk(ObjectWrapper.wrap(zzc2.getResources()), 18020000);
|
||||
return zzc;
|
||||
} catch (RemoteException e5) {
|
||||
throw new RuntimeRemoteException(e5);
|
||||
}
|
||||
} catch (RemoteException e6) {
|
||||
throw new RuntimeRemoteException(e6);
|
||||
}
|
||||
}
|
||||
|
||||
private static Context zzb(Exception exc, Context context) {
|
||||
Log.e(zza, "Failed to load maps module, use pre-Chimera", exc);
|
||||
return GooglePlayServicesUtil.getRemoteContext(context);
|
||||
}
|
||||
|
||||
private static Context zzc(Context context, MapsInitializer.Renderer renderer) {
|
||||
Context zzb2;
|
||||
Context context2 = zzb;
|
||||
if (context2 != null) {
|
||||
return context2;
|
||||
}
|
||||
String str = renderer == MapsInitializer.Renderer.LEGACY ? "com.google.android.gms.maps_legacy_dynamite" : "com.google.android.gms.maps_core_dynamite";
|
||||
try {
|
||||
zzb2 = DynamiteModule.load(context, DynamiteModule.PREFER_REMOTE, str).getModuleContext();
|
||||
} catch (Exception e4) {
|
||||
if (str.equals("com.google.android.gms.maps_dynamite")) {
|
||||
zzb2 = zzb(e4, context);
|
||||
} else {
|
||||
try {
|
||||
Log.d(zza, "Attempting to load maps_dynamite again.");
|
||||
zzb2 = DynamiteModule.load(context, DynamiteModule.PREFER_REMOTE, "com.google.android.gms.maps_dynamite").getModuleContext();
|
||||
} catch (Exception e5) {
|
||||
zzb2 = zzb(e5, context);
|
||||
}
|
||||
}
|
||||
}
|
||||
zzb = zzb2;
|
||||
return zzb2;
|
||||
}
|
||||
|
||||
private static zzf zzd(Context context, MapsInitializer.Renderer renderer) {
|
||||
Log.i(zza, "Making Creator dynamically");
|
||||
try {
|
||||
IBinder iBinder = (IBinder) zze(((ClassLoader) Preconditions.checkNotNull(zzc(context, renderer).getClassLoader())).loadClass("com.google.android.gms.maps.internal.CreatorImpl"));
|
||||
if (iBinder == null) {
|
||||
return null;
|
||||
}
|
||||
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.maps.internal.ICreator");
|
||||
return queryLocalInterface instanceof zzf ? (zzf) queryLocalInterface : new zze(iBinder);
|
||||
} catch (ClassNotFoundException e4) {
|
||||
throw new IllegalStateException("Unable to find dynamic class com.google.android.gms.maps.internal.CreatorImpl", e4);
|
||||
}
|
||||
}
|
||||
|
||||
private static Object zze(Class cls) {
|
||||
try {
|
||||
return cls.newInstance();
|
||||
} catch (IllegalAccessException e4) {
|
||||
throw new IllegalStateException("Unable to call the default constructor of ".concat(cls.getName()), e4);
|
||||
} catch (InstantiationException e5) {
|
||||
throw new IllegalStateException("Unable to instantiate the dynamic class ".concat(cls.getName()), e5);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzd extends IInterface {
|
||||
void zzb() throws RemoteException;
|
||||
|
||||
void zzc() throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
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.GoogleMapOptions;
|
||||
import com.google.android.gms.maps.StreetViewPanoramaOptions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zze extends com.google.android.gms.internal.maps.zza implements zzf {
|
||||
public zze(IBinder iBinder) {
|
||||
super(iBinder, "com.google.android.gms.maps.internal.ICreator");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.zzf
|
||||
public final int zzd() throws RemoteException {
|
||||
Parcel zzJ = zzJ(9, zza());
|
||||
int readInt = zzJ.readInt();
|
||||
zzJ.recycle();
|
||||
return readInt;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.zzf
|
||||
public final ICameraUpdateFactoryDelegate zze() throws RemoteException {
|
||||
ICameraUpdateFactoryDelegate zzbVar;
|
||||
Parcel zzJ = zzJ(4, zza());
|
||||
IBinder readStrongBinder = zzJ.readStrongBinder();
|
||||
if (readStrongBinder == null) {
|
||||
zzbVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate");
|
||||
zzbVar = queryLocalInterface instanceof ICameraUpdateFactoryDelegate ? (ICameraUpdateFactoryDelegate) queryLocalInterface : new zzb(readStrongBinder);
|
||||
}
|
||||
zzJ.recycle();
|
||||
return zzbVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.zzf
|
||||
public final IMapFragmentDelegate zzf(IObjectWrapper iObjectWrapper) throws RemoteException {
|
||||
IMapFragmentDelegate zzkVar;
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
Parcel zzJ = zzJ(2, zza);
|
||||
IBinder readStrongBinder = zzJ.readStrongBinder();
|
||||
if (readStrongBinder == null) {
|
||||
zzkVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IMapFragmentDelegate");
|
||||
zzkVar = queryLocalInterface instanceof IMapFragmentDelegate ? (IMapFragmentDelegate) queryLocalInterface : new zzk(readStrongBinder);
|
||||
}
|
||||
zzJ.recycle();
|
||||
return zzkVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.zzf
|
||||
public final IMapViewDelegate zzg(IObjectWrapper iObjectWrapper, GoogleMapOptions googleMapOptions) throws RemoteException {
|
||||
IMapViewDelegate zzlVar;
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, googleMapOptions);
|
||||
Parcel zzJ = zzJ(3, zza);
|
||||
IBinder readStrongBinder = zzJ.readStrongBinder();
|
||||
if (readStrongBinder == null) {
|
||||
zzlVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IMapViewDelegate");
|
||||
zzlVar = queryLocalInterface instanceof IMapViewDelegate ? (IMapViewDelegate) queryLocalInterface : new zzl(readStrongBinder);
|
||||
}
|
||||
zzJ.recycle();
|
||||
return zzlVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.zzf
|
||||
public final IStreetViewPanoramaFragmentDelegate zzh(IObjectWrapper iObjectWrapper) throws RemoteException {
|
||||
IStreetViewPanoramaFragmentDelegate zzbyVar;
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
Parcel zzJ = zzJ(8, zza);
|
||||
IBinder readStrongBinder = zzJ.readStrongBinder();
|
||||
if (readStrongBinder == null) {
|
||||
zzbyVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate");
|
||||
zzbyVar = queryLocalInterface instanceof IStreetViewPanoramaFragmentDelegate ? (IStreetViewPanoramaFragmentDelegate) queryLocalInterface : new zzby(readStrongBinder);
|
||||
}
|
||||
zzJ.recycle();
|
||||
return zzbyVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.zzf
|
||||
public final IStreetViewPanoramaViewDelegate zzi(IObjectWrapper iObjectWrapper, StreetViewPanoramaOptions streetViewPanoramaOptions) throws RemoteException {
|
||||
IStreetViewPanoramaViewDelegate zzbzVar;
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, streetViewPanoramaOptions);
|
||||
Parcel zzJ = zzJ(7, zza);
|
||||
IBinder readStrongBinder = zzJ.readStrongBinder();
|
||||
if (readStrongBinder == null) {
|
||||
zzbzVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate");
|
||||
zzbzVar = queryLocalInterface instanceof IStreetViewPanoramaViewDelegate ? (IStreetViewPanoramaViewDelegate) queryLocalInterface : new zzbz(readStrongBinder);
|
||||
}
|
||||
zzJ.recycle();
|
||||
return zzbzVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.zzf
|
||||
public final com.google.android.gms.internal.maps.zzi zzj() throws RemoteException {
|
||||
Parcel zzJ = zzJ(5, zza());
|
||||
com.google.android.gms.internal.maps.zzi zzb = com.google.android.gms.internal.maps.zzh.zzb(zzJ.readStrongBinder());
|
||||
zzJ.recycle();
|
||||
return zzb;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.zzf
|
||||
public final void zzk(IObjectWrapper iObjectWrapper, int i) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
zza.writeInt(18020000);
|
||||
zzc(6, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.zzf
|
||||
public final void zzl(IObjectWrapper iObjectWrapper, int i) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
zza.writeInt(i);
|
||||
zzc(10, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.zzf
|
||||
public final void zzm(IObjectWrapper iObjectWrapper) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
zzc(11, zza);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
import com.google.android.gms.maps.GoogleMapOptions;
|
||||
import com.google.android.gms.maps.StreetViewPanoramaOptions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzf extends IInterface {
|
||||
int zzd() throws RemoteException;
|
||||
|
||||
ICameraUpdateFactoryDelegate zze() throws RemoteException;
|
||||
|
||||
IMapFragmentDelegate zzf(IObjectWrapper iObjectWrapper) throws RemoteException;
|
||||
|
||||
IMapViewDelegate zzg(IObjectWrapper iObjectWrapper, GoogleMapOptions googleMapOptions) throws RemoteException;
|
||||
|
||||
IStreetViewPanoramaFragmentDelegate zzh(IObjectWrapper iObjectWrapper) throws RemoteException;
|
||||
|
||||
IStreetViewPanoramaViewDelegate zzi(IObjectWrapper iObjectWrapper, StreetViewPanoramaOptions streetViewPanoramaOptions) throws RemoteException;
|
||||
|
||||
com.google.android.gms.internal.maps.zzi zzj() throws RemoteException;
|
||||
|
||||
void zzk(IObjectWrapper iObjectWrapper, int i) throws RemoteException;
|
||||
|
||||
void zzl(IObjectWrapper iObjectWrapper, int i) throws RemoteException;
|
||||
|
||||
void zzm(IObjectWrapper iObjectWrapper) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,629 @@
|
||||
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: classes3.dex */
|
||||
public final class zzg extends com.google.android.gms.internal.maps.zza implements IGoogleMapDelegate {
|
||||
public zzg(IBinder iBinder) {
|
||||
super(iBinder, "com.google.android.gms.maps.internal.IGoogleMapDelegate");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final com.google.android.gms.internal.maps.zzl addCircle(CircleOptions circleOptions) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, circleOptions);
|
||||
Parcel zzJ = zzJ(35, zza);
|
||||
com.google.android.gms.internal.maps.zzl zzb = com.google.android.gms.internal.maps.zzk.zzb(zzJ.readStrongBinder());
|
||||
zzJ.recycle();
|
||||
return zzb;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final com.google.android.gms.internal.maps.zzr addGroundOverlay(GroundOverlayOptions groundOverlayOptions) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, groundOverlayOptions);
|
||||
Parcel zzJ = zzJ(12, zza);
|
||||
com.google.android.gms.internal.maps.zzr zzb = com.google.android.gms.internal.maps.zzq.zzb(zzJ.readStrongBinder());
|
||||
zzJ.recycle();
|
||||
return zzb;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final com.google.android.gms.internal.maps.zzad addMarker(MarkerOptions markerOptions) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, markerOptions);
|
||||
Parcel zzJ = zzJ(11, zza);
|
||||
com.google.android.gms.internal.maps.zzad zzb = com.google.android.gms.internal.maps.zzac.zzb(zzJ.readStrongBinder());
|
||||
zzJ.recycle();
|
||||
return zzb;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void addOnMapCapabilitiesChangedListener(zzal zzalVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzalVar);
|
||||
zzc(110, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final com.google.android.gms.internal.maps.zzag addPolygon(PolygonOptions polygonOptions) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, polygonOptions);
|
||||
Parcel zzJ = zzJ(10, zza);
|
||||
com.google.android.gms.internal.maps.zzag zzb = com.google.android.gms.internal.maps.zzaf.zzb(zzJ.readStrongBinder());
|
||||
zzJ.recycle();
|
||||
return zzb;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final com.google.android.gms.internal.maps.zzaj addPolyline(PolylineOptions polylineOptions) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, polylineOptions);
|
||||
Parcel zzJ = zzJ(9, zza);
|
||||
com.google.android.gms.internal.maps.zzaj zzb = com.google.android.gms.internal.maps.zzai.zzb(zzJ.readStrongBinder());
|
||||
zzJ.recycle();
|
||||
return zzb;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final com.google.android.gms.internal.maps.zzam addTileOverlay(TileOverlayOptions tileOverlayOptions) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, tileOverlayOptions);
|
||||
Parcel zzJ = zzJ(13, zza);
|
||||
com.google.android.gms.internal.maps.zzam zzb = com.google.android.gms.internal.maps.zzal.zzb(zzJ.readStrongBinder());
|
||||
zzJ.recycle();
|
||||
return zzb;
|
||||
}
|
||||
|
||||
@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.zze(zza, iObjectWrapper);
|
||||
zzc(5, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void animateCameraWithCallback(IObjectWrapper iObjectWrapper, zzd zzdVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzdVar);
|
||||
zzc(6, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void animateCameraWithDurationAndCallback(IObjectWrapper iObjectWrapper, int i, zzd zzdVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
zza.writeInt(i);
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzdVar);
|
||||
zzc(7, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void clear() throws RemoteException {
|
||||
zzc(14, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final CameraPosition getCameraPosition() throws RemoteException {
|
||||
Parcel zzJ = zzJ(1, zza());
|
||||
CameraPosition cameraPosition = (CameraPosition) com.google.android.gms.internal.maps.zzc.zza(zzJ, CameraPosition.CREATOR);
|
||||
zzJ.recycle();
|
||||
return cameraPosition;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final com.google.android.gms.internal.maps.zzo getFeatureLayer(com.google.android.gms.maps.model.zzd zzdVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, zzdVar);
|
||||
Parcel zzJ = zzJ(112, zza);
|
||||
com.google.android.gms.internal.maps.zzo zzb = com.google.android.gms.internal.maps.zzn.zzb(zzJ.readStrongBinder());
|
||||
zzJ.recycle();
|
||||
return zzb;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final com.google.android.gms.internal.maps.zzu getFocusedBuilding() throws RemoteException {
|
||||
Parcel zzJ = zzJ(44, zza());
|
||||
com.google.android.gms.internal.maps.zzu zzb = com.google.android.gms.internal.maps.zzt.zzb(zzJ.readStrongBinder());
|
||||
zzJ.recycle();
|
||||
return zzb;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void getMapAsync(zzat zzatVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzatVar);
|
||||
zzc(53, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final com.google.android.gms.internal.maps.zzaa getMapCapabilities() throws RemoteException {
|
||||
Parcel zzJ = zzJ(109, zza());
|
||||
com.google.android.gms.internal.maps.zzaa zzb = com.google.android.gms.internal.maps.zzz.zzb(zzJ.readStrongBinder());
|
||||
zzJ.recycle();
|
||||
return zzb;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final int getMapType() throws RemoteException {
|
||||
Parcel zzJ = zzJ(15, zza());
|
||||
int readInt = zzJ.readInt();
|
||||
zzJ.recycle();
|
||||
return readInt;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final float getMaxZoomLevel() throws RemoteException {
|
||||
Parcel zzJ = zzJ(2, zza());
|
||||
float readFloat = zzJ.readFloat();
|
||||
zzJ.recycle();
|
||||
return readFloat;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final float getMinZoomLevel() throws RemoteException {
|
||||
Parcel zzJ = zzJ(3, zza());
|
||||
float readFloat = zzJ.readFloat();
|
||||
zzJ.recycle();
|
||||
return readFloat;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final Location getMyLocation() throws RemoteException {
|
||||
Parcel zzJ = zzJ(23, zza());
|
||||
Location location = (Location) com.google.android.gms.internal.maps.zzc.zza(zzJ, Location.CREATOR);
|
||||
zzJ.recycle();
|
||||
return location;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final IProjectionDelegate getProjection() throws RemoteException {
|
||||
IProjectionDelegate zzbuVar;
|
||||
Parcel zzJ = zzJ(26, zza());
|
||||
IBinder readStrongBinder = zzJ.readStrongBinder();
|
||||
if (readStrongBinder == null) {
|
||||
zzbuVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IProjectionDelegate");
|
||||
zzbuVar = queryLocalInterface instanceof IProjectionDelegate ? (IProjectionDelegate) queryLocalInterface : new zzbu(readStrongBinder);
|
||||
}
|
||||
zzJ.recycle();
|
||||
return zzbuVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final IUiSettingsDelegate getUiSettings() throws RemoteException {
|
||||
IUiSettingsDelegate zzcaVar;
|
||||
Parcel zzJ = zzJ(25, zza());
|
||||
IBinder readStrongBinder = zzJ.readStrongBinder();
|
||||
if (readStrongBinder == null) {
|
||||
zzcaVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IUiSettingsDelegate");
|
||||
zzcaVar = queryLocalInterface instanceof IUiSettingsDelegate ? (IUiSettingsDelegate) queryLocalInterface : new zzca(readStrongBinder);
|
||||
}
|
||||
zzJ.recycle();
|
||||
return zzcaVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final boolean isBuildingsEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(40, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final boolean isIndoorEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(19, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final boolean isMyLocationEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(21, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final boolean isTrafficEnabled() throws RemoteException {
|
||||
Parcel zzJ = zzJ(17, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@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.zze(zza, iObjectWrapper);
|
||||
zzc(4, 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.zzd(zza, bundle);
|
||||
zzc(54, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void onDestroy() throws RemoteException {
|
||||
zzc(57, 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.zzd(zza, bundle);
|
||||
zzc(81, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void onExitAmbient() throws RemoteException {
|
||||
zzc(82, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void onLowMemory() throws RemoteException {
|
||||
zzc(58, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void onPause() throws RemoteException {
|
||||
zzc(56, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void onResume() throws RemoteException {
|
||||
zzc(55, zza());
|
||||
}
|
||||
|
||||
@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.zzd(zza, bundle);
|
||||
Parcel zzJ = zzJ(60, zza);
|
||||
if (zzJ.readInt() != 0) {
|
||||
bundle.readFromParcel(zzJ);
|
||||
}
|
||||
zzJ.recycle();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void onStart() throws RemoteException {
|
||||
zzc(101, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void onStop() throws RemoteException {
|
||||
zzc(102, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void removeOnMapCapabilitiesChangedListener(zzal zzalVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzalVar);
|
||||
zzc(111, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void resetMinMaxZoomPreference() throws RemoteException {
|
||||
zzc(94, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setBuildingsEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(41, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setContentDescription(String str) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeString(str);
|
||||
zzc(61, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final boolean setIndoorEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
Parcel zzJ = zzJ(20, zza);
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setInfoWindowAdapter(zzi zziVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zziVar);
|
||||
zzc(33, 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.zzd(zza, latLngBounds);
|
||||
zzc(95, zza);
|
||||
}
|
||||
|
||||
@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.zze(zza, iLocationSourceDelegate);
|
||||
zzc(24, 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.zzd(zza, mapStyleOptions);
|
||||
Parcel zzJ = zzJ(91, zza);
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setMapType(int i) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeInt(i);
|
||||
zzc(16, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setMaxZoomPreference(float f2) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeFloat(f2);
|
||||
zzc(93, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setMinZoomPreference(float f2) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeFloat(f2);
|
||||
zzc(92, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setMyLocationEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(22, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnCameraChangeListener(zzn zznVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zznVar);
|
||||
zzc(27, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnCameraIdleListener(zzp zzpVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzpVar);
|
||||
zzc(99, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnCameraMoveCanceledListener(zzr zzrVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzrVar);
|
||||
zzc(98, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnCameraMoveListener(zzt zztVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zztVar);
|
||||
zzc(97, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnCameraMoveStartedListener(zzv zzvVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzvVar);
|
||||
zzc(96, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnCircleClickListener(zzx zzxVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzxVar);
|
||||
zzc(89, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnGroundOverlayClickListener(zzz zzzVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzzVar);
|
||||
zzc(83, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnIndoorStateChangeListener(zzab zzabVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzabVar);
|
||||
zzc(45, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnInfoWindowClickListener(zzad zzadVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzadVar);
|
||||
zzc(32, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnInfoWindowCloseListener(zzaf zzafVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzafVar);
|
||||
zzc(86, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnInfoWindowLongClickListener(zzah zzahVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzahVar);
|
||||
zzc(84, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnMapClickListener(zzan zzanVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzanVar);
|
||||
zzc(28, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnMapLoadedCallback(zzap zzapVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzapVar);
|
||||
zzc(42, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnMapLongClickListener(zzar zzarVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzarVar);
|
||||
zzc(29, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnMarkerClickListener(zzav zzavVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzavVar);
|
||||
zzc(30, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnMarkerDragListener(zzax zzaxVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzaxVar);
|
||||
zzc(31, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnMyLocationButtonClickListener(zzaz zzazVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzazVar);
|
||||
zzc(37, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnMyLocationChangeListener(zzbb zzbbVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzbbVar);
|
||||
zzc(36, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnMyLocationClickListener(zzbd zzbdVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzbdVar);
|
||||
zzc(107, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnPoiClickListener(zzbf zzbfVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzbfVar);
|
||||
zzc(80, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnPolygonClickListener(zzbh zzbhVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzbhVar);
|
||||
zzc(85, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setOnPolylineClickListener(zzbj zzbjVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzbjVar);
|
||||
zzc(87, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setPadding(int i, int i4, int i5, int i6) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeInt(i);
|
||||
zza.writeInt(i4);
|
||||
zza.writeInt(i5);
|
||||
zza.writeInt(i6);
|
||||
zzc(39, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setTrafficEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(18, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void setWatermarkEnabled(boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
int i = com.google.android.gms.internal.maps.zzc.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
zzc(51, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void snapshot(zzbw zzbwVar, IObjectWrapper iObjectWrapper) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzbwVar);
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
zzc(38, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void snapshotForTest(zzbw zzbwVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzbwVar);
|
||||
zzc(71, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final void stopAnimation() throws RemoteException {
|
||||
zzc(8, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IGoogleMapDelegate
|
||||
public final boolean useViewLifecycleWhenInFragment() throws RemoteException {
|
||||
Parcel zzJ = zzJ(59, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzh extends com.google.android.gms.internal.maps.zzb implements zzi {
|
||||
public zzh() {
|
||||
super("com.google.android.gms.maps.internal.IInfoWindowAdapter");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i == 1) {
|
||||
com.google.android.gms.internal.maps.zzad zzb = com.google.android.gms.internal.maps.zzac.zzb(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
IObjectWrapper zzc = zzc(zzb);
|
||||
parcel2.writeNoException();
|
||||
com.google.android.gms.internal.maps.zzc.zze(parcel2, zzc);
|
||||
} else {
|
||||
if (i != 2) {
|
||||
return false;
|
||||
}
|
||||
com.google.android.gms.internal.maps.zzad zzb2 = com.google.android.gms.internal.maps.zzac.zzb(parcel.readStrongBinder());
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
IObjectWrapper zzb3 = zzb(zzb2);
|
||||
parcel2.writeNoException();
|
||||
com.google.android.gms.internal.maps.zzc.zze(parcel2, zzb3);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzi extends IInterface {
|
||||
IObjectWrapper zzb(com.google.android.gms.internal.maps.zzad zzadVar) throws RemoteException;
|
||||
|
||||
IObjectWrapper zzc(com.google.android.gms.internal.maps.zzad zzadVar) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.IBinder;
|
||||
import android.os.IInterface;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzj extends com.google.android.gms.internal.maps.zzb implements ILocationSourceDelegate {
|
||||
public zzj() {
|
||||
super("com.google.android.gms.maps.internal.ILocationSourceDelegate");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
zzaj zzaiVar;
|
||||
if (i == 1) {
|
||||
IBinder readStrongBinder = parcel.readStrongBinder();
|
||||
if (readStrongBinder == null) {
|
||||
zzaiVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IOnLocationChangeListener");
|
||||
zzaiVar = queryLocalInterface instanceof zzaj ? (zzaj) queryLocalInterface : new zzai(readStrongBinder);
|
||||
}
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
activate(zzaiVar);
|
||||
} else {
|
||||
if (i != 2) {
|
||||
return false;
|
||||
}
|
||||
deactivate();
|
||||
}
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import C.w;
|
||||
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.GoogleMapOptions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzk extends com.google.android.gms.internal.maps.zza implements IMapFragmentDelegate {
|
||||
public zzk(IBinder iBinder) {
|
||||
super(iBinder, "com.google.android.gms.maps.internal.IMapFragmentDelegate");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final IGoogleMapDelegate getMap() throws RemoteException {
|
||||
IGoogleMapDelegate zzgVar;
|
||||
Parcel zzJ = zzJ(1, zza());
|
||||
IBinder readStrongBinder = zzJ.readStrongBinder();
|
||||
if (readStrongBinder == null) {
|
||||
zzgVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IGoogleMapDelegate");
|
||||
zzgVar = queryLocalInterface instanceof IGoogleMapDelegate ? (IGoogleMapDelegate) queryLocalInterface : new zzg(readStrongBinder);
|
||||
}
|
||||
zzJ.recycle();
|
||||
return zzgVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final void getMapAsync(zzat zzatVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzatVar);
|
||||
zzc(12, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final boolean isReady() throws RemoteException {
|
||||
Parcel zzJ = zzJ(11, zza());
|
||||
boolean zzf = com.google.android.gms.internal.maps.zzc.zzf(zzJ);
|
||||
zzJ.recycle();
|
||||
return zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final void onCreate(Bundle bundle) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, bundle);
|
||||
zzc(3, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final IObjectWrapper onCreateView(IObjectWrapper iObjectWrapper, IObjectWrapper iObjectWrapper2, Bundle bundle) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper2);
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, bundle);
|
||||
return w.d(zzJ(4, zza));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final void onDestroy() throws RemoteException {
|
||||
zzc(8, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final void onDestroyView() throws RemoteException {
|
||||
zzc(7, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final void onEnterAmbient(Bundle bundle) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, bundle);
|
||||
zzc(13, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final void onExitAmbient() throws RemoteException {
|
||||
zzc(14, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final void onInflate(IObjectWrapper iObjectWrapper, GoogleMapOptions googleMapOptions, Bundle bundle) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, iObjectWrapper);
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, googleMapOptions);
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, bundle);
|
||||
zzc(2, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final void onLowMemory() throws RemoteException {
|
||||
zzc(9, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final void onPause() throws RemoteException {
|
||||
zzc(6, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final void onResume() throws RemoteException {
|
||||
zzc(5, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final void onSaveInstanceState(Bundle bundle) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, bundle);
|
||||
Parcel zzJ = zzJ(10, zza);
|
||||
if (zzJ.readInt() != 0) {
|
||||
bundle.readFromParcel(zzJ);
|
||||
}
|
||||
zzJ.recycle();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final void onStart() throws RemoteException {
|
||||
zzc(15, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapFragmentDelegate
|
||||
public final void onStop() throws RemoteException {
|
||||
zzc(16, zza());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import C.w;
|
||||
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;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzl extends com.google.android.gms.internal.maps.zza implements IMapViewDelegate {
|
||||
public zzl(IBinder iBinder) {
|
||||
super(iBinder, "com.google.android.gms.maps.internal.IMapViewDelegate");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||||
public final IGoogleMapDelegate getMap() throws RemoteException {
|
||||
IGoogleMapDelegate zzgVar;
|
||||
Parcel zzJ = zzJ(1, zza());
|
||||
IBinder readStrongBinder = zzJ.readStrongBinder();
|
||||
if (readStrongBinder == null) {
|
||||
zzgVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IGoogleMapDelegate");
|
||||
zzgVar = queryLocalInterface instanceof IGoogleMapDelegate ? (IGoogleMapDelegate) queryLocalInterface : new zzg(readStrongBinder);
|
||||
}
|
||||
zzJ.recycle();
|
||||
return zzgVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||||
public final void getMapAsync(zzat zzatVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zze(zza, zzatVar);
|
||||
zzc(9, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||||
public final IObjectWrapper getView() throws RemoteException {
|
||||
return w.d(zzJ(8, zza()));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||||
public final void onCreate(Bundle bundle) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, bundle);
|
||||
zzc(2, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||||
public final void onDestroy() throws RemoteException {
|
||||
zzc(5, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||||
public final void onEnterAmbient(Bundle bundle) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, bundle);
|
||||
zzc(10, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||||
public final void onExitAmbient() throws RemoteException {
|
||||
zzc(11, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||||
public final void onLowMemory() throws RemoteException {
|
||||
zzc(6, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||||
public final void onPause() throws RemoteException {
|
||||
zzc(4, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||||
public final void onResume() throws RemoteException {
|
||||
zzc(3, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||||
public final void onSaveInstanceState(Bundle bundle) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.maps.zzc.zzd(zza, bundle);
|
||||
Parcel zzJ = zzJ(7, zza);
|
||||
if (zzJ.readInt() != 0) {
|
||||
bundle.readFromParcel(zzJ);
|
||||
}
|
||||
zzJ.recycle();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||||
public final void onStart() throws RemoteException {
|
||||
zzc(12, zza());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||||
public final void onStop() throws RemoteException {
|
||||
zzc(13, zza());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.google.android.gms.maps.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.maps.model.CameraPosition;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzm extends com.google.android.gms.internal.maps.zzb implements zzn {
|
||||
public zzm() {
|
||||
super("com.google.android.gms.maps.internal.IOnCameraChangeListener");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.maps.zzb
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i != 1) {
|
||||
return false;
|
||||
}
|
||||
CameraPosition cameraPosition = (CameraPosition) com.google.android.gms.internal.maps.zzc.zza(parcel, CameraPosition.CREATOR);
|
||||
com.google.android.gms.internal.maps.zzc.zzc(parcel);
|
||||
zzb(cameraPosition);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user