.class Lcom/moji/location/poi/MJPoiSearch$1;
.super Ljava/lang/Object;
.source "MJPoiSearch.java"

# interfaces
.implements Lcom/amap/api/services/poisearch/PoiSearch$OnPoiSearchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/location/poi/MJPoiSearch;->a(Lcom/moji/location/poi/MJOnPoiSearchListener;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/location/poi/MJOnPoiSearchListener;

.field final synthetic b:Lcom/moji/location/poi/MJPoiSearch;


# direct methods
.method constructor <init>(Lcom/moji/location/poi/MJPoiSearch;Lcom/moji/location/poi/MJOnPoiSearchListener;)V
    .locals 0

    .line 50
    iput-object p1, p0, Lcom/moji/location/poi/MJPoiSearch$1;->b:Lcom/moji/location/poi/MJPoiSearch;

    iput-object p2, p0, Lcom/moji/location/poi/MJPoiSearch$1;->a:Lcom/moji/location/poi/MJOnPoiSearchListener;

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

    return-void
.end method


# virtual methods
.method public onPoiItemSearched(Lcom/amap/api/services/core/PoiItem;I)V
    .locals 1

    .line 58
    iget-object v0, p0, Lcom/moji/location/poi/MJPoiSearch$1;->a:Lcom/moji/location/poi/MJOnPoiSearchListener;

    invoke-static {p1}, Lcom/moji/location/poi/MJPoiItem;->a(Lcom/amap/api/services/core/PoiItem;)Lcom/moji/location/poi/MJPoiItem;

    move-result-object p1

    invoke-interface {v0, p1, p2}, Lcom/moji/location/poi/MJOnPoiSearchListener;->onPoiItemSearched(Lcom/moji/location/poi/MJPoiItem;I)V

    return-void
.end method

.method public onPoiSearched(Lcom/amap/api/services/poisearch/PoiResult;I)V
    .locals 2

    .line 53
    iget-object v0, p0, Lcom/moji/location/poi/MJPoiSearch$1;->a:Lcom/moji/location/poi/MJOnPoiSearchListener;

    iget-object v1, p0, Lcom/moji/location/poi/MJPoiSearch$1;->b:Lcom/moji/location/poi/MJPoiSearch;

    invoke-static {v1}, Lcom/moji/location/poi/MJPoiSearch;->a(Lcom/moji/location/poi/MJPoiSearch;)Lcom/amap/api/services/poisearch/PoiSearch$Query;

    move-result-object v1

    invoke-static {p1, v1}, Lcom/moji/location/poi/MJPoiResult;->a(Lcom/amap/api/services/poisearch/PoiResult;Lcom/amap/api/services/poisearch/PoiSearch$Query;)Lcom/moji/location/poi/MJPoiResult;

    move-result-object p1

    invoke-interface {v0, p1, p2}, Lcom/moji/location/poi/MJOnPoiSearchListener;->onPoiSearched(Lcom/moji/location/poi/MJPoiResult;I)V

    return-void
.end method
