45 lines
1.9 KiB
Java
45 lines
1.9 KiB
Java
|
package com.google.android.gms.maps.internal;
|
||
|
|
||
|
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: classes2.dex */
|
||
|
public final class zzbr extends com.google.android.gms.internal.maps.zza implements IProjectionDelegate {
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public zzbr(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.zza(zza, iObjectWrapper);
|
||
|
Parcel zza2 = zza(1, zza);
|
||
|
LatLng latLng = (LatLng) com.google.android.gms.internal.maps.zzc.zza(zza2, LatLng.CREATOR);
|
||
|
zza2.recycle();
|
||
|
return latLng;
|
||
|
}
|
||
|
|
||
|
@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.zza(zza, latLng);
|
||
|
Parcel zza2 = zza(2, zza);
|
||
|
IObjectWrapper asInterface = IObjectWrapper.Stub.asInterface(zza2.readStrongBinder());
|
||
|
zza2.recycle();
|
||
|
return asInterface;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.maps.internal.IProjectionDelegate
|
||
|
public final VisibleRegion getVisibleRegion() throws RemoteException {
|
||
|
Parcel zza = zza(3, zza());
|
||
|
VisibleRegion visibleRegion = (VisibleRegion) com.google.android.gms.internal.maps.zzc.zza(zza, VisibleRegion.CREATOR);
|
||
|
zza.recycle();
|
||
|
return visibleRegion;
|
||
|
}
|
||
|
}
|