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; /* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */ /* JADX INFO: loaded from: classes2.dex */ public final class Projection { private final IProjectionDelegate zza; Projection(IProjectionDelegate iProjectionDelegate) { this.zza = iProjectionDelegate; } public LatLng fromScreenLocation(Point point) { Preconditions.checkNotNull(point); try { return this.zza.fromScreenLocation(ObjectWrapper.wrap(point)); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public VisibleRegion getVisibleRegion() { try { return this.zza.getVisibleRegion(); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } public Point toScreenLocation(LatLng latLng) { Preconditions.checkNotNull(latLng); try { return (Point) ObjectWrapper.unwrap(this.zza.toScreenLocation(latLng)); } catch (RemoteException e) { throw new RuntimeRemoteException(e); } } }