.class public Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;
.super Ljava/lang/Object;
.source "MJLocationManager.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/location/MJLocationManager;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "MJPoiSearchBuilder"
.end annotation


# instance fields
.field private a:Landroid/content/Context;

.field private b:Ljava/lang/String;

.field private c:Ljava/lang/String;

.field private d:Ljava/lang/String;

.field private e:Lcom/moji/location/poi/MJSearchBound;

.field private f:Lcom/moji/location/poi/MJOnPoiSearchListener;

.field private g:I

.field private h:I


# direct methods
.method constructor <init>(Landroid/content/Context;)V
    .locals 1

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

    const/16 v0, 0xa

    .line 231
    iput v0, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->g:I

    const/4 v0, 0x0

    .line 232
    iput v0, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->h:I

    .line 235
    iput-object p1, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->a:Landroid/content/Context;

    return-void
.end method


# virtual methods
.method public a(I)Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;
    .locals 0

    if-lez p1, :cond_0

    .line 281
    iput p1, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->g:I

    :cond_0
    return-object p0
.end method

.method public a(Lcom/moji/location/geo/MJLatLonPoint;I)Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;
    .locals 1

    .line 264
    new-instance v0, Lcom/moji/location/poi/MJSearchBound;

    invoke-direct {v0, p1, p2}, Lcom/moji/location/poi/MJSearchBound;-><init>(Lcom/moji/location/geo/MJLatLonPoint;I)V

    iput-object v0, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->e:Lcom/moji/location/poi/MJSearchBound;

    return-object p0
.end method

.method public a(Lcom/moji/location/poi/MJOnPoiSearchListener;)Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;
    .locals 0

    .line 275
    iput-object p1, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->f:Lcom/moji/location/poi/MJOnPoiSearchListener;

    return-object p0
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;
    .locals 0

    .line 250
    iput-object p1, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->b:Ljava/lang/String;

    .line 251
    iput-object p2, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->c:Ljava/lang/String;

    .line 252
    iput-object p3, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->d:Ljava/lang/String;

    return-object p0
.end method

.method public a()Lcom/moji/location/poi/MJPoiSearch;
    .locals 4

    .line 299
    new-instance v0, Lcom/moji/location/poi/MJPoiSearch;

    iget-object v1, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->a:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/moji/location/poi/MJPoiSearch;-><init>(Landroid/content/Context;)V

    .line 300
    iget-object v1, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->b:Ljava/lang/String;

    iget-object v2, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->c:Ljava/lang/String;

    iget-object v3, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->d:Ljava/lang/String;

    invoke-virtual {v0, v1, v2, v3}, Lcom/moji/location/poi/MJPoiSearch;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 301
    iget v1, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->g:I

    invoke-virtual {v0, v1}, Lcom/moji/location/poi/MJPoiSearch;->a(I)V

    .line 302
    iget v1, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->h:I

    invoke-virtual {v0, v1}, Lcom/moji/location/poi/MJPoiSearch;->b(I)V

    .line 303
    iget-object v1, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->e:Lcom/moji/location/poi/MJSearchBound;

    invoke-virtual {v0, v1}, Lcom/moji/location/poi/MJPoiSearch;->a(Lcom/moji/location/poi/MJSearchBound;)V

    .line 304
    iget-object v1, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->f:Lcom/moji/location/poi/MJOnPoiSearchListener;

    invoke-virtual {v0, v1}, Lcom/moji/location/poi/MJPoiSearch;->a(Lcom/moji/location/poi/MJOnPoiSearchListener;)V

    return-object v0
.end method

.method public b(I)Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;
    .locals 0

    if-ltz p1, :cond_0

    .line 288
    iput p1, p0, Lcom/moji/location/MJLocationManager$MJPoiSearchBuilder;->h:I

    :cond_0
    return-object p0
.end method
