Projection.smali
.class public final Lcom/google/android/gms/maps/Projection;
.super Ljava/lang/Object;
# instance fields
.field private final zzbn:Lcom/google/android/gms/maps/internal/IProjectionDelegate;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lcom/google/android/gms/maps/internal/IProjectionDelegate;)V
.registers 2
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lcom/google/android/gms/maps/Projection;->zzbn:Lcom/google/android/gms/maps/internal/IProjectionDelegate;
.line 3
return-void
.end method
# virtual methods
.method public final fromScreenLocation(Landroid/graphics/Point;)Lcom/google/android/gms/maps/model/LatLng;
.registers 3
.line 4
:try_start_0
iget-object v0, p0, Lcom/google/android/gms/maps/Projection;->zzbn:Lcom/google/android/gms/maps/internal/IProjectionDelegate;
invoke-static {p1}, Lcom/google/android/gms/dynamic/ObjectWrapper;->wrap(Ljava/lang/Object;)Lcom/google/android/gms/dynamic/IObjectWrapper;
move-result-object p1
invoke-interface {v0, p1}, Lcom/google/android/gms/maps/internal/IProjectionDelegate;->fromScreenLocation(Lcom/google/android/gms/dynamic/IObjectWrapper;)Lcom/google/android/gms/maps/model/LatLng;
move-result-object p1
:try_end_a
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_a} :catch_b
return-object p1
.line 5
:catch_b
move-exception p1
.line 6
new-instance v0, Lcom/google/android/gms/maps/model/RuntimeRemoteException;
invoke-direct {v0, p1}, Lcom/google/android/gms/maps/model/RuntimeRemoteException;-><init>(Landroid/os/RemoteException;)V
throw v0
.end method
.method public final getVisibleRegion()Lcom/google/android/gms/maps/model/VisibleRegion;
.registers 3
.line 10
:try_start_0
iget-object v0, p0, Lcom/google/android/gms/maps/Projection;->zzbn:Lcom/google/android/gms/maps/internal/IProjectionDelegate;
invoke-interface {v0}, Lcom/google/android/gms/maps/internal/IProjectionDelegate;->getVisibleRegion()Lcom/google/android/gms/maps/model/VisibleRegion;
move-result-object v0
:try_end_6
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_6} :catch_7
return-object v0
.line 11
:catch_7
move-exception v0
.line 12
new-instance v1, Lcom/google/android/gms/maps/model/RuntimeRemoteException;
invoke-direct {v1, v0}, Lcom/google/android/gms/maps/model/RuntimeRemoteException;-><init>(Landroid/os/RemoteException;)V
throw v1
.end method
.method public final toScreenLocation(Lcom/google/android/gms/maps/model/LatLng;)Landroid/graphics/Point;
.registers 3
.line 7
:try_start_0
iget-object v0, p0, Lcom/google/android/gms/maps/Projection;->zzbn:Lcom/google/android/gms/maps/internal/IProjectionDelegate;
invoke-interface {v0, p1}, Lcom/google/android/gms/maps/internal/IProjectionDelegate;->toScreenLocation(Lcom/google/android/gms/maps/model/LatLng;)Lcom/google/android/gms/dynamic/IObjectWrapper;
move-result-object p1
invoke-static {p1}, Lcom/google/android/gms/dynamic/ObjectWrapper;->unwrap(Lcom/google/android/gms/dynamic/IObjectWrapper;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Landroid/graphics/Point;
:try_end_c
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_c} :catch_d
return-object p1
.line 8
:catch_d
move-exception p1
.line 9
new-instance v0, Lcom/google/android/gms/maps/model/RuntimeRemoteException;
invoke-direct {v0, p1}, Lcom/google/android/gms/maps/model/RuntimeRemoteException;-><init>(Landroid/os/RemoteException;)V
throw v0
.end method