IndoorBuilding.smali
.class public final Lcom/google/android/gms/maps/model/IndoorBuilding;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field private final zza:Lcom/google/android/gms/internal/maps/zzr;
.field private final zzb:Lcom/google/android/gms/maps/model/zze;
# direct methods
.method public constructor <init>(Lcom/google/android/gms/internal/maps/zzr;)V
.registers 4
.line 1
sget-object v0, Lcom/google/android/gms/maps/model/zze;->zza:Lcom/google/android/gms/maps/model/zze;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-string v1, "delegate"
invoke-static {p1, v1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/google/android/gms/internal/maps/zzr;
iput-object p1, p0, Lcom/google/android/gms/maps/model/IndoorBuilding;->zza:Lcom/google/android/gms/internal/maps/zzr;
const-string p1, "shim"
.line 2
invoke-static {v0, p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/google/android/gms/maps/model/zze;
iput-object p1, p0, Lcom/google/android/gms/maps/model/IndoorBuilding;->zzb:Lcom/google/android/gms/maps/model/zze;
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.registers 3
.line 1
instance-of v0, p1, Lcom/google/android/gms/maps/model/IndoorBuilding;
if-nez v0, :cond_6
const/4 p1, 0x0
return p1
:cond_6
:try_start_6
iget-object v0, p0, Lcom/google/android/gms/maps/model/IndoorBuilding;->zza:Lcom/google/android/gms/internal/maps/zzr;
.line 2
check-cast p1, Lcom/google/android/gms/maps/model/IndoorBuilding;
iget-object p1, p1, Lcom/google/android/gms/maps/model/IndoorBuilding;->zza:Lcom/google/android/gms/internal/maps/zzr;
invoke-interface {v0, p1}, Lcom/google/android/gms/internal/maps/zzr;->zzh(Lcom/google/android/gms/internal/maps/zzr;)Z
move-result p1
:try_end_10
.catch Landroid/os/RemoteException; {:try_start_6 .. :try_end_10} :catch_11
return p1
:catch_11
move-exception p1
new-instance v0, Lcom/google/android/gms/maps/model/RuntimeRemoteException;
.line 3
invoke-direct {v0, p1}, Lcom/google/android/gms/maps/model/RuntimeRemoteException;-><init>(Landroid/os/RemoteException;)V
throw v0
.end method
.method public getActiveLevelIndex()I
.registers 3
.line 1
:try_start_0
iget-object v0, p0, Lcom/google/android/gms/maps/model/IndoorBuilding;->zza:Lcom/google/android/gms/internal/maps/zzr;
invoke-interface {v0}, Lcom/google/android/gms/internal/maps/zzr;->zzd()I
move-result v0
:try_end_6
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_6} :catch_7
return v0
:catch_7
move-exception v0
new-instance v1, Lcom/google/android/gms/maps/model/RuntimeRemoteException;
.line 2
invoke-direct {v1, v0}, Lcom/google/android/gms/maps/model/RuntimeRemoteException;-><init>(Landroid/os/RemoteException;)V
throw v1
.end method
.method public getDefaultLevelIndex()I
.registers 3
.line 1
:try_start_0
iget-object v0, p0, Lcom/google/android/gms/maps/model/IndoorBuilding;->zza:Lcom/google/android/gms/internal/maps/zzr;
invoke-interface {v0}, Lcom/google/android/gms/internal/maps/zzr;->zze()I
move-result v0
:try_end_6
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_6} :catch_7
return v0
:catch_7
move-exception v0
new-instance v1, Lcom/google/android/gms/maps/model/RuntimeRemoteException;
.line 2
invoke-direct {v1, v0}, Lcom/google/android/gms/maps/model/RuntimeRemoteException;-><init>(Landroid/os/RemoteException;)V
throw v1
.end method
.method public getLevels()Ljava/util/List;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lcom/google/android/gms/maps/model/IndoorLevel;",
">;"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lcom/google/android/gms/maps/model/IndoorBuilding;->zza:Lcom/google/android/gms/internal/maps/zzr;
invoke-interface {v0}, Lcom/google/android/gms/internal/maps/zzr;->zzg()Ljava/util/List;
move-result-object v0
new-instance v1, Ljava/util/ArrayList;
.line 2
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v2
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
.line 3
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_13
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2c
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/os/IBinder;
.line 4
invoke-static {v2}, Lcom/google/android/gms/internal/maps/zzt;->zzb(Landroid/os/IBinder;)Lcom/google/android/gms/internal/maps/zzu;
move-result-object v2
new-instance v3, Lcom/google/android/gms/maps/model/IndoorLevel;
.line 5
invoke-direct {v3, v2}, Lcom/google/android/gms/maps/model/IndoorLevel;-><init>(Lcom/google/android/gms/internal/maps/zzu;)V
.line 6
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
:try_end_2b
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_2b} :catch_2d
goto :goto_13
:cond_2c
return-object v1
:catch_2d
move-exception v0
new-instance v1, Lcom/google/android/gms/maps/model/RuntimeRemoteException;
.line 7
invoke-direct {v1, v0}, Lcom/google/android/gms/maps/model/RuntimeRemoteException;-><init>(Landroid/os/RemoteException;)V
throw v1
.end method
.method public hashCode()I
.registers 3
.line 1
:try_start_0
iget-object v0, p0, Lcom/google/android/gms/maps/model/IndoorBuilding;->zza:Lcom/google/android/gms/internal/maps/zzr;
invoke-interface {v0}, Lcom/google/android/gms/internal/maps/zzr;->zzf()I
move-result v0
:try_end_6
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_6} :catch_7
return v0
:catch_7
move-exception v0
new-instance v1, Lcom/google/android/gms/maps/model/RuntimeRemoteException;
.line 2
invoke-direct {v1, v0}, Lcom/google/android/gms/maps/model/RuntimeRemoteException;-><init>(Landroid/os/RemoteException;)V
throw v1
.end method
.method public isUnderground()Z
.registers 3
.line 1
:try_start_0
iget-object v0, p0, Lcom/google/android/gms/maps/model/IndoorBuilding;->zza:Lcom/google/android/gms/internal/maps/zzr;
invoke-interface {v0}, Lcom/google/android/gms/internal/maps/zzr;->zzi()Z
move-result v0
:try_end_6
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_6} :catch_7
return v0
:catch_7
move-exception v0
new-instance v1, Lcom/google/android/gms/maps/model/RuntimeRemoteException;
.line 2
invoke-direct {v1, v0}, Lcom/google/android/gms/maps/model/RuntimeRemoteException;-><init>(Landroid/os/RemoteException;)V
throw v1
.end method