.class final Lcom/amap/api/mapcore2d/ao;
.super Ljava/lang/Object;
.source "MapController.java"

# interfaces
.implements Landroid/view/View$OnKeyListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/amap/api/mapcore2d/ao$b;,
        Lcom/amap/api/mapcore2d/ao$a;
    }
.end annotation


# instance fields
.field private a:F

.field private b:F

.field private c:Lcom/amap/api/mapcore2d/ax;

.field private d:Z

.field private e:Lcom/amap/api/mapcore2d/ao$b;

.field private f:Lcom/amap/api/mapcore2d/ao$a;


# direct methods
.method constructor <init>(Lcom/amap/api/mapcore2d/ax;)V
    .locals 1

    .line 36
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 33
    iput v0, p0, Lcom/amap/api/mapcore2d/ao;->a:F

    .line 34
    iput v0, p0, Lcom/amap/api/mapcore2d/ao;->b:F

    .line 37
    iput-object p1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    const/4 p1, 0x0

    .line 38
    iput-boolean p1, p0, Lcom/amap/api/mapcore2d/ao;->d:Z

    .line 39
    new-instance p1, Lcom/amap/api/mapcore2d/ao$b;

    const/4 v0, 0x0

    invoke-direct {p1, p0, v0}, Lcom/amap/api/mapcore2d/ao$b;-><init>(Lcom/amap/api/mapcore2d/ao;Lcom/amap/api/mapcore2d/ao$1;)V

    iput-object p1, p0, Lcom/amap/api/mapcore2d/ao;->e:Lcom/amap/api/mapcore2d/ao$b;

    .line 40
    new-instance p1, Lcom/amap/api/mapcore2d/ao$a;

    invoke-direct {p1, p0, v0}, Lcom/amap/api/mapcore2d/ao$a;-><init>(Lcom/amap/api/mapcore2d/ao;Lcom/amap/api/mapcore2d/ao$1;)V

    iput-object p1, p0, Lcom/amap/api/mapcore2d/ao;->f:Lcom/amap/api/mapcore2d/ao$a;

    return-void
.end method

.method static synthetic a(Lcom/amap/api/mapcore2d/ao;)Lcom/amap/api/mapcore2d/ax;
    .locals 0

    .line 30
    iget-object p0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    return-object p0
.end method

.method private a(IIZZ)Z
    .locals 7

    const/4 v5, 0x1

    const/4 v6, 0x0

    move-object v0, p0

    move v1, p1

    move v2, p2

    move v3, p3

    move v4, p4

    .line 565
    invoke-direct/range {v0 .. v6}, Lcom/amap/api/mapcore2d/ao;->a(IIZZII)Z

    move-result p1

    return p1
.end method

.method private a(IIZZII)Z
    .locals 10

    move-object v8, p0

    move v0, p5

    const-string v9, "zoomWithAnimation"

    .line 517
    iget-object v1, v8, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    const/4 v2, 0x0

    if-eqz v1, :cond_4

    iget-object v1, v8, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v1, v1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    if-nez v1, :cond_0

    goto :goto_2

    .line 520
    :cond_0
    iget-object v1, v8, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v1, v1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v1}, Lcom/amap/api/mapcore2d/ax$d;->g()Lcom/amap/api/mapcore2d/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/amap/api/mapcore2d/b;->r()V

    if-eqz p3, :cond_1

    .line 522
    iget-object v1, v8, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v1, v1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v1}, Lcom/amap/api/mapcore2d/ax$d;->e()F

    move-result v1

    int-to-float v0, v0

    add-float/2addr v1, v0

    goto :goto_0

    :cond_1
    iget-object v1, v8, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v1, v1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    .line 523
    invoke-virtual {v1}, Lcom/amap/api/mapcore2d/ax$d;->e()F

    move-result v1

    int-to-float v0, v0

    sub-float/2addr v1, v0

    .line 526
    :goto_0
    iget-object v0, v8, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->g()Lcom/amap/api/mapcore2d/b;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/amap/api/mapcore2d/b;->a(F)F

    move-result v4

    .line 527
    iget-object v0, v8, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->e()F

    move-result v0

    cmpl-float v0, v4, v0

    if-eqz v0, :cond_2

    move-object v1, p0

    move v2, p1

    move v3, p2

    move v5, p3

    move v6, p4

    move/from16 v7, p6

    .line 528
    invoke-virtual/range {v1 .. v7}, Lcom/amap/api/mapcore2d/ao;->a(IIFZZI)V

    const/4 v2, 0x1

    .line 532
    :cond_2
    :try_start_0
    iget-object v0, v8, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->h:Lcom/amap/api/mapcore2d/b;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/b;->c()Lcom/amap/api/mapcore2d/aj;

    move-result-object v0

    invoke-interface {v0}, Lcom/amap/api/mapcore2d/aj;->isScaleControlsEnabled()Z

    move-result v0

    if-eqz v0, :cond_3

    .line 533
    iget-object v0, v8, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->h:Lcom/amap/api/mapcore2d/b;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/b;->s()V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception v0

    const-string v1, "MapController"

    .line 536
    invoke-static {v0, v1, v9}, Lcom/amap/api/mapcore2d/ci;->a(Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;)V

    :cond_3
    :goto_1
    return v2

    :cond_4
    :goto_2
    return v2
.end method

.method private b(Lcom/amap/api/mapcore2d/u;)Z
    .locals 4

    const/4 v0, 0x0

    if-eqz p1, :cond_3

    .line 96
    iget-object v1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    if-eqz v1, :cond_3

    iget-object v1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v1, v1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    if-nez v1, :cond_0

    goto :goto_0

    .line 100
    :cond_0
    iget-object v1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v1, v1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v1}, Lcom/amap/api/mapcore2d/ax$d;->f()Lcom/amap/api/mapcore2d/u;

    move-result-object v1

    if-nez v1, :cond_1

    return v0

    .line 104
    :cond_1
    invoke-virtual {p1}, Lcom/amap/api/mapcore2d/u;->b()I

    move-result v2

    invoke-virtual {v1}, Lcom/amap/api/mapcore2d/u;->b()I

    move-result v3

    if-ne v2, v3, :cond_2

    .line 105
    invoke-virtual {p1}, Lcom/amap/api/mapcore2d/u;->a()I

    move-result p1

    invoke-virtual {v1}, Lcom/amap/api/mapcore2d/u;->a()I

    move-result v1

    if-ne p1, v1, :cond_2

    return v0

    :cond_2
    const/4 p1, 0x1

    return p1

    :cond_3
    :goto_0
    return v0
.end method

.method private c(Lcom/amap/api/mapcore2d/u;)V
    .locals 1

    .line 120
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->h:Lcom/amap/api/mapcore2d/b;

    if-eqz v0, :cond_0

    .line 121
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->h:Lcom/amap/api/mapcore2d/b;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/b;->r()V

    .line 123
    :cond_0
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    if-eqz v0, :cond_1

    .line 124
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v0, p1}, Lcom/amap/api/mapcore2d/ax$d;->a(Lcom/amap/api/mapcore2d/u;)V

    :cond_1
    return-void
.end method

.method private e(F)F
    .locals 3

    .line 156
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    if-nez v0, :cond_0

    goto :goto_1

    :cond_0
    const-string v0, "setZoom"

    .line 160
    iget-object v1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v1, v1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    .line 161
    invoke-virtual {v1}, Lcom/amap/api/mapcore2d/ax$d;->g()Lcom/amap/api/mapcore2d/b;

    move-result-object v1

    .line 162
    invoke-virtual {v1}, Lcom/amap/api/mapcore2d/b;->r()V

    .line 163
    invoke-virtual {v1, p1}, Lcom/amap/api/mapcore2d/b;->a(F)F

    move-result p1

    .line 164
    iget-object v1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v1, v1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v1, p1}, Lcom/amap/api/mapcore2d/ax$d;->a(F)V

    .line 166
    :try_start_0
    iget-object v1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v1, v1, Lcom/amap/api/mapcore2d/ax;->h:Lcom/amap/api/mapcore2d/b;

    invoke-virtual {v1}, Lcom/amap/api/mapcore2d/b;->c()Lcom/amap/api/mapcore2d/aj;

    move-result-object v1

    invoke-interface {v1}, Lcom/amap/api/mapcore2d/aj;->isScaleControlsEnabled()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 167
    iget-object v1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v1, v1, Lcom/amap/api/mapcore2d/ax;->h:Lcom/amap/api/mapcore2d/b;

    invoke-virtual {v1}, Lcom/amap/api/mapcore2d/b;->s()V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v1

    const-string v2, "MapController"

    .line 170
    invoke-static {v1, v2, v0}, Lcom/amap/api/mapcore2d/ci;->a(Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;)V

    :cond_1
    :goto_0
    return p1

    :cond_2
    :goto_1
    return p1
.end method

.method private f(F)Z
    .locals 2

    .line 176
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    const/4 v1, 0x0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    if-nez v0, :cond_0

    goto :goto_0

    .line 179
    :cond_0
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->e()F

    move-result v0

    cmpl-float p1, p1, v0

    if-nez p1, :cond_1

    return v1

    :cond_1
    const/4 p1, 0x1

    return p1

    :cond_2
    :goto_0
    return v1
.end method


# virtual methods
.method public a()F
    .locals 1

    .line 48
    iget v0, p0, Lcom/amap/api/mapcore2d/ao;->a:F

    return v0
.end method

.method public a(FI)F
    .locals 1

    .line 142
    sget v0, Lcom/amap/api/mapcore2d/p;->d:I

    int-to-float v0, v0

    cmpl-float v0, p1, v0

    if-ltz v0, :cond_0

    .line 143
    sget p1, Lcom/amap/api/mapcore2d/p;->d:I

    int-to-float p1, p1

    .line 145
    :cond_0
    sget v0, Lcom/amap/api/mapcore2d/p;->e:I

    int-to-float v0, v0

    cmpg-float v0, p1, v0

    if-gtz v0, :cond_1

    .line 146
    sget p1, Lcom/amap/api/mapcore2d/p;->e:I

    int-to-float p1, p1

    .line 148
    :cond_1
    invoke-direct {p0, p1}, Lcom/amap/api/mapcore2d/ao;->f(F)Z

    move-result v0

    if-nez v0, :cond_2

    return p1

    .line 151
    :cond_2
    invoke-virtual {p0, p1, p2}, Lcom/amap/api/mapcore2d/ao;->b(FI)Z

    return p1
.end method

.method public a(F)V
    .locals 0

    .line 56
    iput p1, p0, Lcom/amap/api/mapcore2d/ao;->a:F

    return-void
.end method

.method public a(FF)V
    .locals 6

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    move-object v0, p0

    move v1, p1

    move v2, p2

    .line 185
    invoke-virtual/range {v0 .. v5}, Lcom/amap/api/mapcore2d/ao;->a(FFIII)V

    return-void
.end method

.method public a(FFIII)V
    .locals 9

    const-string v0, "zoomToSpan"

    const/4 v1, 0x0

    cmpg-float v2, p1, v1

    if-lez v2, :cond_8

    cmpg-float v2, p2, v1

    if-gtz v2, :cond_0

    goto/16 :goto_4

    .line 192
    :cond_0
    iget-object v2, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    if-eqz v2, :cond_7

    iget-object v2, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v2, v2, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    if-eqz v2, :cond_7

    iget-object v2, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v2, v2, Lcom/amap/api/mapcore2d/ax;->b:Lcom/amap/api/mapcore2d/ax$e;

    if-nez v2, :cond_1

    goto/16 :goto_3

    .line 198
    :cond_1
    :try_start_0
    iget-object v2, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v2, v2, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v2}, Lcom/amap/api/mapcore2d/ax$d;->e()F

    move-result v2

    .line 199
    iget-object v3, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v3, v3, Lcom/amap/api/mapcore2d/ax;->b:Lcom/amap/api/mapcore2d/ax$e;

    invoke-virtual {v3, p3, p4, p5}, Lcom/amap/api/mapcore2d/ax$e;->b(III)I

    move-result v3

    .line 200
    iget-object v4, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v4, v4, Lcom/amap/api/mapcore2d/ax;->b:Lcom/amap/api/mapcore2d/ax$e;

    invoke-virtual {v4, p3, p4, p5}, Lcom/amap/api/mapcore2d/ax$e;->a(III)I

    move-result p3

    if-nez v3, :cond_2

    if-nez p3, :cond_2

    .line 204
    iput p1, p0, Lcom/amap/api/mapcore2d/ao;->a:F

    .line 205
    iput p2, p0, Lcom/amap/api/mapcore2d/ao;->b:F
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_2

    return-void

    :cond_2
    int-to-float p3, p3

    div-float/2addr p3, p1

    float-to-double p3, p3

    int-to-float p1, v3

    div-float/2addr p1, p2

    float-to-double p1, p1

    .line 214
    :try_start_1
    invoke-static {p3, p4, p1, p2}, Ljava/lang/Math;->min(DD)D

    move-result-wide p1

    .line 218
    iget-object p3, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object p3, p3, Lcom/amap/api/mapcore2d/ax;->i:Lcom/amap/api/mapcore2d/at;

    iget-wide p3, p3, Lcom/amap/api/mapcore2d/at;->k:D

    div-double/2addr p3, p1

    const/4 p1, 0x0

    .line 223
    iget-object p2, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object p2, p2, Lcom/amap/api/mapcore2d/ax;->i:Lcom/amap/api/mapcore2d/at;

    iget-wide v3, p2, Lcom/amap/api/mapcore2d/at;->d:D

    :goto_0
    const-wide/high16 v5, 0x4000000000000000L    # 2.0

    div-double/2addr v3, v5

    cmpl-double p2, v3, p3

    if-lez p2, :cond_3

    add-int/lit8 p1, p1, 0x1

    goto :goto_0

    .line 230
    :cond_3
    iget-object p2, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object p2, p2, Lcom/amap/api/mapcore2d/ax;->i:Lcom/amap/api/mapcore2d/at;

    iget-wide v3, p2, Lcom/amap/api/mapcore2d/at;->d:D
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    const/4 p2, 0x1

    shl-int/2addr p2, p1

    int-to-double v7, p2

    invoke-static {v7, v8}, Ljava/lang/Double;->isNaN(D)Z

    div-double/2addr v3, v7

    div-double/2addr v3, p3

    :try_start_2
    invoke-static {v3, v4}, Ljava/lang/Math;->log(D)D

    move-result-wide p2

    invoke-static {v5, v6}, Ljava/lang/Math;->log(D)D

    move-result-wide p4
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    div-double/2addr p2, p4

    int-to-double p4, p1

    .line 231
    invoke-static {p4, p5}, Ljava/lang/Double;->isNaN(D)Z

    const/4 p1, 0x0

    add-double/2addr p4, p2

    double-to-float v1, p4

    .line 232
    :try_start_3
    invoke-virtual {p0, v1}, Lcom/amap/api/mapcore2d/ao;->d(F)F

    move-result p1
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_2

    float-to-int p2, p1

    int-to-float p2, p2

    sub-float p3, p1, p2

    float-to-double p3, p3

    .line 237
    :try_start_4
    sget-wide v1, Lcom/amap/api/mapcore2d/ax;->a:D

    const-wide/high16 v3, 0x3ff0000000000000L    # 1.0

    sub-double v1, v3, v1

    const-wide v5, 0x3fd999999999999aL    # 0.4

    mul-double v1, v1, v5

    sub-double/2addr v3, v1

    cmpl-double p5, p3, v3

    if-lez p5, :cond_4

    .line 239
    sget-wide p3, Lcom/amap/api/mapcore2d/ax;->a:D

    double-to-float p1, p3

    add-float/2addr p1, p2

    goto :goto_2

    .line 241
    :cond_4
    sget-wide v1, Lcom/amap/api/mapcore2d/ax;->a:D

    const-wide v3, 0x3f1a36e2e0000000L    # 9.999999747378752E-5

    cmpl-double p5, p3, v1

    if-lez p5, :cond_5

    .line 242
    sget-wide p3, Lcom/amap/api/mapcore2d/ax;->a:D

    const/4 p1, 0x0

    sub-double/2addr p3, v3

    double-to-float p1, p3

    add-float/2addr p1, p2

    goto :goto_2

    .line 244
    :cond_5
    sget-wide v1, Lcom/amap/api/mapcore2d/ax;->a:D
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_0

    invoke-static {p3, p4}, Ljava/lang/Double;->isNaN(D)Z

    const/4 p5, 0x0

    sub-double/2addr p3, v1

    :try_start_5
    invoke-static {p3, p4}, Ljava/lang/Math;->abs(D)D

    move-result-wide p3

    cmpg-double p5, p3, v3

    if-gtz p5, :cond_6

    .line 245
    sget-wide p3, Lcom/amap/api/mapcore2d/ax;->a:D
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_0

    const/4 p1, 0x0

    sub-double/2addr p3, v3

    double-to-float p1, p3

    add-float/2addr p1, p2

    goto :goto_2

    :catch_0
    move-exception p2

    move v1, p1

    move-object p1, p2

    goto :goto_1

    :catch_1
    move-exception p1

    move v1, v2

    goto :goto_1

    :catch_2
    move-exception p1

    :goto_1
    const-string p2, "MapController"

    .line 262
    invoke-static {p1, p2, v0}, Lcom/amap/api/mapcore2d/ci;->a(Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;)V

    move p1, v1

    :cond_6
    :goto_2
    const-string p2, "MapController"

    .line 265
    new-instance p3, Ljava/lang/StringBuilder;

    invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V

    const-string p4, "zoom:"

    invoke-virtual {p3, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p3

    invoke-static {p2, p3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 266
    invoke-virtual {p0, p1}, Lcom/amap/api/mapcore2d/ao;->c(F)F

    return-void

    :cond_7
    :goto_3
    return-void

    :cond_8
    :goto_4
    return-void
.end method

.method public a(IIFZZI)V
    .locals 7

    .line 511
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->e:Lcom/amap/api/mapcore2d/ao$b;

    move v1, p1

    move v2, p2

    move v3, p3

    move v4, p4

    move v5, p5

    move v6, p6

    invoke-virtual/range {v0 .. v6}, Lcom/amap/api/mapcore2d/ao$b;->a(IIFZZI)V

    return-void
.end method

.method public a(III)V
    .locals 3

    .line 463
    iget-boolean v0, p0, Lcom/amap/api/mapcore2d/ao;->d:Z

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 464
    iput-boolean v1, p0, Lcom/amap/api/mapcore2d/ao;->d:Z

    return-void

    :cond_0
    if-nez p1, :cond_1

    if-nez p2, :cond_1

    return-void

    .line 471
    :cond_1
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    if-nez v0, :cond_2

    return-void

    .line 475
    :cond_2
    :try_start_0
    sget-boolean v0, Lcom/amap/api/mapcore2d/p;->s:Z

    const/4 v2, 0x1

    if-ne v0, v2, :cond_3

    .line 476
    new-instance v0, Landroid/graphics/PointF;

    const/4 v2, 0x0

    invoke-direct {v0, v2, v2}, Landroid/graphics/PointF;-><init>(FF)V

    .line 477
    new-instance v2, Landroid/graphics/PointF;

    int-to-float p1, p1

    int-to-float p2, p2

    invoke-direct {v2, p1, p2}, Landroid/graphics/PointF;-><init>(FF)V

    .line 479
    iget-object p1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object p1, p1, Lcom/amap/api/mapcore2d/ax;->i:Lcom/amap/api/mapcore2d/at;

    invoke-virtual {p1, v0, v2}, Lcom/amap/api/mapcore2d/at;->a(Landroid/graphics/PointF;Landroid/graphics/PointF;)Lcom/amap/api/mapcore2d/u;

    move-result-object p1

    .line 483
    invoke-virtual {p0, p1, p3}, Lcom/amap/api/mapcore2d/ao;->a(Lcom/amap/api/mapcore2d/u;I)V

    .line 485
    :cond_3
    iget-object p1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object p1, p1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {p1, v1, v1}, Lcom/amap/api/mapcore2d/ax$d;->a(ZZ)V
    :try_end_0
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    const-string p2, "MapController"

    const-string p3, "scrollBy"

    .line 487
    invoke-static {p1, p2, p3}, Lcom/amap/api/mapcore2d/ci;->a(Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;)V

    :goto_0
    return-void
.end method

.method public a(Lcom/amap/api/mapcore2d/u;)V
    .locals 1

    .line 90
    invoke-direct {p0, p1}, Lcom/amap/api/mapcore2d/ao;->b(Lcom/amap/api/mapcore2d/u;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 91
    invoke-direct {p0, p1}, Lcom/amap/api/mapcore2d/ao;->c(Lcom/amap/api/mapcore2d/u;)V

    :cond_0
    return-void
.end method

.method public a(Lcom/amap/api/mapcore2d/u;F)V
    .locals 1

    .line 112
    invoke-direct {p0, p1}, Lcom/amap/api/mapcore2d/ao;->b(Lcom/amap/api/mapcore2d/u;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-direct {p0, p2}, Lcom/amap/api/mapcore2d/ao;->f(F)Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 115
    :cond_0
    invoke-direct {p0, p1}, Lcom/amap/api/mapcore2d/ao;->c(Lcom/amap/api/mapcore2d/u;)V

    .line 116
    invoke-direct {p0, p2}, Lcom/amap/api/mapcore2d/ao;->e(F)F

    return-void
.end method

.method public a(Lcom/amap/api/mapcore2d/u;I)V
    .locals 2

    .line 412
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->f:Lcom/amap/api/mapcore2d/ao$a;

    const/4 v1, 0x0

    invoke-virtual {v0, p1, v1, v1, p2}, Lcom/amap/api/mapcore2d/ao$a;->a(Lcom/amap/api/mapcore2d/u;Landroid/os/Message;Ljava/lang/Runnable;I)V

    return-void
.end method

.method public a(Z)V
    .locals 1

    .line 366
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->g()Lcom/amap/api/mapcore2d/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/b;->r()V

    const/4 v0, 0x1

    if-eqz p1, :cond_0

    .line 367
    iget-object p1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object p1, p1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {p1}, Lcom/amap/api/mapcore2d/ax$d;->e()F

    move-result p1

    int-to-float v0, v0

    add-float/2addr p1, v0

    goto :goto_0

    :cond_0
    iget-object p1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object p1, p1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    .line 368
    invoke-virtual {p1}, Lcom/amap/api/mapcore2d/ax$d;->e()F

    move-result p1

    int-to-float v0, v0

    sub-float/2addr p1, v0

    .line 371
    :goto_0
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->g()Lcom/amap/api/mapcore2d/b;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/amap/api/mapcore2d/b;->a(F)F

    move-result p1

    .line 372
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->e()F

    move-result v0

    cmpl-float v0, p1, v0

    if-eqz v0, :cond_1

    .line 373
    invoke-virtual {p0, p1}, Lcom/amap/api/mapcore2d/ao;->c(F)F

    :cond_1
    return-void
.end method

.method public a(FIII)Z
    .locals 0

    .line 397
    invoke-virtual {p0, p2, p3, p1, p4}, Lcom/amap/api/mapcore2d/ao;->a(IIFI)Z

    move-result p1

    return p1
.end method

.method public a(I)Z
    .locals 1

    const/4 v0, 0x1

    .line 337
    invoke-virtual {p0, v0, p1}, Lcom/amap/api/mapcore2d/ao;->a(II)Z

    move-result p1

    return p1
.end method

.method a(II)Z
    .locals 8

    .line 341
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    if-nez v0, :cond_0

    goto :goto_0

    .line 344
    :cond_0
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->c()I

    move-result v0

    div-int/lit8 v2, v0, 0x2

    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    .line 345
    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->d()I

    move-result v0

    div-int/lit8 v3, v0, 0x2

    const/4 v4, 0x1

    const/4 v5, 0x0

    move-object v1, p0

    move v6, p1

    move v7, p2

    .line 344
    invoke-direct/range {v1 .. v7}, Lcom/amap/api/mapcore2d/ao;->a(IIZZII)Z

    move-result p1

    return p1

    :cond_1
    :goto_0
    const/4 p1, 0x0

    return p1
.end method

.method public a(IIFI)Z
    .locals 8

    .line 542
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    const/4 v1, 0x0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    if-nez v0, :cond_0

    goto :goto_1

    .line 545
    :cond_0
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->g()Lcom/amap/api/mapcore2d/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/b;->r()V

    .line 547
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->e()F

    move-result v6

    cmpl-float v0, p3, v6

    if-eqz v0, :cond_1

    .line 550
    iget-object v2, p0, Lcom/amap/api/mapcore2d/ao;->e:Lcom/amap/api/mapcore2d/ao$b;

    move v3, p1

    move v4, p2

    move v5, p3

    move v7, p4

    invoke-virtual/range {v2 .. v7}, Lcom/amap/api/mapcore2d/ao$b;->a(IIFFI)V

    const/4 v1, 0x1

    .line 554
    :cond_1
    :try_start_0
    iget-object p1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object p1, p1, Lcom/amap/api/mapcore2d/ax;->h:Lcom/amap/api/mapcore2d/b;

    invoke-virtual {p1}, Lcom/amap/api/mapcore2d/b;->c()Lcom/amap/api/mapcore2d/aj;

    move-result-object p1

    invoke-interface {p1}, Lcom/amap/api/mapcore2d/aj;->isScaleControlsEnabled()Z

    move-result p1

    if-eqz p1, :cond_2

    .line 555
    iget-object p1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object p1, p1, Lcom/amap/api/mapcore2d/ax;->h:Lcom/amap/api/mapcore2d/b;

    invoke-virtual {p1}, Lcom/amap/api/mapcore2d/b;->s()V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    const-string p2, "MapController"

    const-string p3, "zoomToAnimation"

    .line 558
    invoke-static {p1, p2, p3}, Lcom/amap/api/mapcore2d/ci;->a(Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;)V

    :cond_2
    :goto_0
    return v1

    :cond_3
    :goto_1
    return v1
.end method

.method public b()F
    .locals 1

    .line 52
    iget v0, p0, Lcom/amap/api/mapcore2d/ao;->b:F

    return v0
.end method

.method public b(F)V
    .locals 0

    .line 60
    iput p1, p0, Lcom/amap/api/mapcore2d/ao;->b:F

    return-void
.end method

.method public b(Z)V
    .locals 0

    .line 424
    iget-object p1, p0, Lcom/amap/api/mapcore2d/ao;->e:Lcom/amap/api/mapcore2d/ao$b;

    invoke-virtual {p1}, Lcom/amap/api/mapcore2d/ao$b;->a()V

    .line 425
    iget-object p1, p0, Lcom/amap/api/mapcore2d/ao;->f:Lcom/amap/api/mapcore2d/ao$a;

    invoke-virtual {p1}, Lcom/amap/api/mapcore2d/ao$a;->b()V

    return-void
.end method

.method public b(FI)Z
    .locals 2

    .line 384
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->c()I

    move-result v0

    div-int/lit8 v0, v0, 0x2

    iget-object v1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v1, v1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    .line 385
    invoke-virtual {v1}, Lcom/amap/api/mapcore2d/ax$d;->d()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    .line 384
    invoke-virtual {p0, v0, v1, p1, p2}, Lcom/amap/api/mapcore2d/ao;->a(IIFI)Z

    move-result p1

    return p1
.end method

.method public b(I)Z
    .locals 1

    const/4 v0, 0x1

    .line 357
    invoke-virtual {p0, v0, p1}, Lcom/amap/api/mapcore2d/ao;->b(II)Z

    move-result p1

    return p1
.end method

.method b(II)Z
    .locals 8

    .line 349
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    if-nez v0, :cond_0

    goto :goto_0

    .line 352
    :cond_0
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->c()I

    move-result v0

    div-int/lit8 v2, v0, 0x2

    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    .line 353
    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->d()I

    move-result v0

    div-int/lit8 v3, v0, 0x2

    const/4 v4, 0x0

    const/4 v5, 0x0

    move-object v1, p0

    move v6, p1

    move v7, p2

    .line 352
    invoke-direct/range {v1 .. v7}, Lcom/amap/api/mapcore2d/ao;->a(IIZZII)Z

    move-result p1

    return p1

    :cond_1
    :goto_0
    const/4 p1, 0x0

    return p1
.end method

.method public c(F)F
    .locals 1

    .line 129
    invoke-direct {p0, p1}, Lcom/amap/api/mapcore2d/ao;->f(F)Z

    move-result v0

    if-nez v0, :cond_0

    return p1

    .line 132
    :cond_0
    invoke-direct {p0, p1}, Lcom/amap/api/mapcore2d/ao;->e(F)F

    return p1
.end method

.method public c()Z
    .locals 1

    const/4 v0, 0x0

    .line 329
    invoke-virtual {p0, v0}, Lcom/amap/api/mapcore2d/ao;->a(I)Z

    move-result v0

    return v0
.end method

.method public c(II)Z
    .locals 1

    const/4 v0, 0x1

    .line 401
    invoke-direct {p0, p1, p2, v0, v0}, Lcom/amap/api/mapcore2d/ao;->a(IIZZ)Z

    move-result p1

    return p1
.end method

.method public d(F)F
    .locals 1

    .line 270
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    if-nez v0, :cond_0

    goto :goto_0

    .line 273
    :cond_0
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->b()I

    move-result v0

    int-to-float v0, v0

    cmpg-float v0, p1, v0

    if-gez v0, :cond_1

    .line 274
    iget-object p1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object p1, p1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {p1}, Lcom/amap/api/mapcore2d/ax$d;->b()I

    move-result p1

    int-to-float p1, p1

    .line 276
    :cond_1
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object v0, v0, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ax$d;->a()I

    move-result v0

    int-to-float v0, v0

    cmpl-float v0, p1, v0

    if-lez v0, :cond_2

    .line 277
    iget-object p1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object p1, p1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {p1}, Lcom/amap/api/mapcore2d/ax$d;->a()I

    move-result p1

    int-to-float p1, p1

    :cond_2
    return p1

    :cond_3
    :goto_0
    return p1
.end method

.method public d(II)V
    .locals 3

    .line 429
    iget-boolean v0, p0, Lcom/amap/api/mapcore2d/ao;->d:Z

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 430
    iput-boolean v1, p0, Lcom/amap/api/mapcore2d/ao;->d:Z

    return-void

    :cond_0
    if-nez p1, :cond_1

    if-nez p2, :cond_1

    return-void

    .line 437
    :cond_1
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    if-nez v0, :cond_2

    return-void

    .line 441
    :cond_2
    :try_start_0
    sget-boolean v0, Lcom/amap/api/mapcore2d/p;->s:Z

    const/4 v2, 0x1

    if-ne v0, v2, :cond_3

    .line 442
    new-instance v0, Landroid/graphics/PointF;

    const/4 v2, 0x0

    invoke-direct {v0, v2, v2}, Landroid/graphics/PointF;-><init>(FF)V

    .line 443
    new-instance v2, Landroid/graphics/PointF;

    int-to-float p1, p1

    int-to-float p2, p2

    invoke-direct {v2, p1, p2}, Landroid/graphics/PointF;-><init>(FF)V

    .line 444
    iget-object p1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object p1, p1, Lcom/amap/api/mapcore2d/ax;->i:Lcom/amap/api/mapcore2d/at;

    iget-object p2, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object p2, p2, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    .line 445
    invoke-virtual {p2}, Lcom/amap/api/mapcore2d/ax$d;->e()F

    move-result p2

    .line 444
    invoke-virtual {p1, v0, v2, p2}, Lcom/amap/api/mapcore2d/at;->a(Landroid/graphics/PointF;Landroid/graphics/PointF;F)V

    .line 450
    :cond_3
    iget-object p1, p0, Lcom/amap/api/mapcore2d/ao;->c:Lcom/amap/api/mapcore2d/ax;

    iget-object p1, p1, Lcom/amap/api/mapcore2d/ax;->c:Lcom/amap/api/mapcore2d/ax$d;

    invoke-virtual {p1, v1, v1}, Lcom/amap/api/mapcore2d/ax$d;->a(ZZ)V
    :try_end_0
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    const-string p2, "MapController"

    const-string v0, "scrollBy"

    .line 452
    invoke-static {p1, p2, v0}, Lcom/amap/api/mapcore2d/ci;->a(Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;)V

    :goto_0
    return-void
.end method

.method public d()Z
    .locals 1

    const/4 v0, 0x0

    .line 333
    invoke-virtual {p0, v0}, Lcom/amap/api/mapcore2d/ao;->b(I)Z

    move-result v0

    return v0
.end method

.method public e()V
    .locals 1

    const/4 v0, 0x1

    .line 493
    iput-boolean v0, p0, Lcom/amap/api/mapcore2d/ao;->d:Z

    return-void
.end method

.method public f()Z
    .locals 1

    .line 582
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->f:Lcom/amap/api/mapcore2d/ao$a;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ao$a;->a()Z

    move-result v0

    return v0
.end method

.method public g()V
    .locals 1

    .line 586
    iget-object v0, p0, Lcom/amap/api/mapcore2d/ao;->f:Lcom/amap/api/mapcore2d/ao$a;

    invoke-virtual {v0}, Lcom/amap/api/mapcore2d/ao$a;->b()V

    return-void
.end method

.method public onKey(Landroid/view/View;ILandroid/view/KeyEvent;)Z
    .locals 2

    .line 64
    invoke-virtual {p3}, Landroid/view/KeyEvent;->getAction()I

    move-result p1

    const/4 p3, 0x0

    if-eqz p1, :cond_0

    return p3

    :cond_0
    const/4 p1, 0x1

    const/16 v0, 0xa

    const/16 v1, -0xa

    packed-switch p2, :pswitch_data_0

    const/4 p1, 0x0

    goto :goto_0

    .line 74
    :pswitch_0
    invoke-virtual {p0, v0, p3}, Lcom/amap/api/mapcore2d/ao;->d(II)V

    goto :goto_0

    .line 71
    :pswitch_1
    invoke-virtual {p0, v1, p3}, Lcom/amap/api/mapcore2d/ao;->d(II)V

    goto :goto_0

    .line 80
    :pswitch_2
    invoke-virtual {p0, p3, v0}, Lcom/amap/api/mapcore2d/ao;->d(II)V

    goto :goto_0

    .line 77
    :pswitch_3
    invoke-virtual {p0, p3, v1}, Lcom/amap/api/mapcore2d/ao;->d(II)V

    :goto_0
    return p1

    :pswitch_data_0
    .packed-switch 0x13
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
