.class public Lcom/moji/mjweather/aqi/control/AQIMapViewControl;
.super Lcom/moji/mjweather/me/control/MJMVPViewControl;
.source "AQIMapViewControl.java"

# interfaces
.implements Lcom/moji/mjweather/aqi/view/IMapAqiView;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/mjweather/me/control/MJMVPViewControl<",
        "Lcom/moji/common/area/AreaInfo;",
        "Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;",
        ">;",
        "Lcom/moji/mjweather/aqi/view/IMapAqiView;"
    }
.end annotation


# instance fields
.field a:Lcom/moji/mjweather/aqi/view/MJMapView;

.field b:Lcom/moji/mjweather/aqi/MapMoveHelper;

.field c:Lcom/moji/mjweather/aqi/AqiValueType;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/LinearLayout;

.field private f:Landroid/widget/FrameLayout;

.field private g:Landroid/widget/ImageView;

.field private h:Landroid/widget/ImageView;

.field private i:I

.field private j:F

.field private k:F

.field private l:Lcom/amap/api/maps2d/model/LatLng;

.field private m:Lcom/amap/api/maps2d/AMap;

.field private n:Lcom/amap/api/maps2d/model/Marker;

.field private o:Z

.field private p:Lcom/amap/api/maps2d/model/Marker;

.field private q:J

.field private r:Z

.field private s:Landroid/util/SparseArray;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/util/SparseArray<",
            "Lcom/amap/api/maps2d/model/BitmapDescriptor;",
            ">;"
        }
    .end annotation
.end field

.field private t:Ljava/util/LinkedList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/LinkedList<",
            "Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;",
            ">;"
        }
    .end annotation
.end field

.field private u:Ljava/util/LinkedList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/LinkedList<",
            "Lcom/amap/api/maps2d/model/LatLng;",
            ">;"
        }
    .end annotation
.end field

.field private v:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap<",
            "Lcom/amap/api/maps2d/model/LatLng;",
            "Lcom/amap/api/maps2d/model/Marker;",
            ">;"
        }
    .end annotation
.end field

.field private w:Lcom/amap/api/maps2d/model/LatLng;

.field private x:Lcom/amap/api/maps2d/model/LatLng;

.field private y:Ljava/util/concurrent/atomic/AtomicBoolean;

.field private z:Ljava/lang/String;


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

    .line 115
    invoke-direct {p0, p1}, Lcom/moji/mjweather/me/control/MJMVPViewControl;-><init>(Landroid/content/Context;)V

    const/16 p1, 0x12c

    .line 74
    iput p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->i:I

    const/high16 p1, 0x41300000    # 11.0f

    .line 78
    iput p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->j:F

    .line 88
    sget-object p1, Lcom/moji/mjweather/aqi/AqiValueType;->AQI:Lcom/moji/mjweather/aqi/AqiValueType;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->c:Lcom/moji/mjweather/aqi/AqiValueType;

    const/4 p1, 0x1

    .line 99
    iput-boolean p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->r:Z

    const/4 p1, 0x0

    .line 224
    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->w:Lcom/amap/api/maps2d/model/LatLng;

    .line 457
    new-instance p1, Ljava/util/concurrent/atomic/AtomicBoolean;

    const/4 v0, 0x0

    invoke-direct {p1, v0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V

    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->y:Ljava/util/concurrent/atomic/AtomicBoolean;

    .line 116
    new-instance p1, Landroid/util/SparseArray;

    const/16 v0, 0x1f4

    invoke-direct {p1, v0}, Landroid/util/SparseArray;-><init>(I)V

    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->s:Landroid/util/SparseArray;

    .line 117
    new-instance p1, Ljava/util/LinkedList;

    invoke-direct {p1}, Ljava/util/LinkedList;-><init>()V

    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->t:Ljava/util/LinkedList;

    .line 118
    new-instance p1, Ljava/util/LinkedList;

    invoke-direct {p1}, Ljava/util/LinkedList;-><init>()V

    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->u:Ljava/util/LinkedList;

    .line 119
    new-instance p1, Ljava/util/HashMap;

    invoke-direct {p1, v0}, Ljava/util/HashMap;-><init>(I)V

    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->v:Ljava/util/HashMap;

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;F)F
    .locals 0

    .line 65
    iput p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->j:F

    return p1
.end method

.method private a(Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;Lcom/moji/mjweather/aqi/AqiValueType;)I
    .locals 1

    .line 634
    sget-object v0, Lcom/moji/mjweather/aqi/AqiValueType;->AQI:Lcom/moji/mjweather/aqi/AqiValueType;

    if-ne p2, v0, :cond_0

    .line 635
    iget p1, p1, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->value:I

    return p1

    .line 637
    :cond_0
    iget-object v0, p1, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->detail:Lcom/moji/http/weather/entity/AqiBean;

    if-nez v0, :cond_1

    const/4 p1, 0x0

    return p1

    .line 640
    :cond_1
    sget-object v0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$11;->a:[I

    invoke-virtual {p2}, Lcom/moji/mjweather/aqi/AqiValueType;->ordinal()I

    move-result p2

    aget p2, v0, p2

    packed-switch p2, :pswitch_data_0

    .line 654
    iget p1, p1, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->value:I

    return p1

    .line 652
    :pswitch_0
    iget-object p1, p1, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->detail:Lcom/moji/http/weather/entity/AqiBean;

    iget p1, p1, Lcom/moji/http/weather/entity/AqiBean;->co:I

    return p1

    .line 650
    :pswitch_1
    iget-object p1, p1, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->detail:Lcom/moji/http/weather/entity/AqiBean;

    iget p1, p1, Lcom/moji/http/weather/entity/AqiBean;->o3:I

    return p1

    .line 648
    :pswitch_2
    iget-object p1, p1, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->detail:Lcom/moji/http/weather/entity/AqiBean;

    iget p1, p1, Lcom/moji/http/weather/entity/AqiBean;->no2:I

    return p1

    .line 646
    :pswitch_3
    iget-object p1, p1, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->detail:Lcom/moji/http/weather/entity/AqiBean;

    iget p1, p1, Lcom/moji/http/weather/entity/AqiBean;->so2:I

    return p1

    .line 644
    :pswitch_4
    iget-object p1, p1, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->detail:Lcom/moji/http/weather/entity/AqiBean;

    iget p1, p1, Lcom/moji/http/weather/entity/AqiBean;->pm10:I

    return p1

    .line 642
    :pswitch_5
    iget-object p1, p1, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->detail:Lcom/moji/http/weather/entity/AqiBean;

    iget p1, p1, Lcom/moji/http/weather/entity/AqiBean;->pm25:I

    return p1

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_5
        :pswitch_4
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method static synthetic a(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;Lcom/amap/api/maps2d/model/LatLng;)Lcom/amap/api/maps2d/model/LatLng;
    .locals 0

    .line 65
    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->l:Lcom/amap/api/maps2d/model/LatLng;

    return-object p1
.end method

.method static synthetic a(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;Lcom/amap/api/maps2d/model/Marker;)Lcom/amap/api/maps2d/model/Marker;
    .locals 0

    .line 65
    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->p:Lcom/amap/api/maps2d/model/Marker;

    return-object p1
.end method

.method static synthetic a(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;Lcom/amap/api/maps2d/model/LatLng;F)V
    .locals 0

    .line 65
    invoke-direct {p0, p1, p2}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->c(Lcom/amap/api/maps2d/model/LatLng;F)V

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;Lcom/amap/api/maps2d/model/LatLng;FZ)V
    .locals 0

    .line 65
    invoke-direct {p0, p1, p2, p3}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->b(Lcom/amap/api/maps2d/model/LatLng;FZ)V

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)Z
    .locals 0

    .line 65
    iget-boolean p0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->o:Z

    return p0
.end method

.method static synthetic b(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)Lcom/amap/api/maps2d/model/LatLng;
    .locals 0

    .line 65
    iget-object p0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->x:Lcom/amap/api/maps2d/model/LatLng;

    return-object p0
.end method

.method private b(Lcom/amap/api/maps2d/model/LatLng;FZ)V
    .locals 3

    .line 187
    invoke-static {p1, p2}, Lcom/amap/api/maps2d/CameraUpdateFactory;->newLatLngZoom(Lcom/amap/api/maps2d/model/LatLng;F)Lcom/amap/api/maps2d/CameraUpdate;

    move-result-object p1

    .line 188
    iget-object p2, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    iget v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->i:I

    int-to-long v0, v0

    new-instance v2, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$1;

    invoke-direct {v2, p0, p3}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$1;-><init>(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;Z)V

    invoke-virtual {p2, p1, v0, v1, v2}, Lcom/amap/api/maps2d/AMap;->animateCamera(Lcom/amap/api/maps2d/CameraUpdate;JLcom/amap/api/maps2d/AMap$CancelableCallback;)V

    return-void
.end method

.method static synthetic b(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;Lcom/amap/api/maps2d/model/LatLng;)Z
    .locals 0

    .line 65
    invoke-direct {p0, p1}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->c(Lcom/amap/api/maps2d/model/LatLng;)Z

    move-result p0

    return p0
.end method

.method static synthetic c(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;Lcom/amap/api/maps2d/model/LatLng;)Lcom/amap/api/maps2d/model/LatLng;
    .locals 0

    .line 65
    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->w:Lcom/amap/api/maps2d/model/LatLng;

    return-object p1
.end method

.method static synthetic c(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)Ljava/lang/String;
    .locals 0

    .line 65
    iget-object p0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->z:Ljava/lang/String;

    return-object p0
.end method

.method private c(Lcom/amap/api/maps2d/model/LatLng;F)V
    .locals 1

    const/4 v0, 0x0

    .line 183
    invoke-direct {p0, p1, p2, v0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->b(Lcom/amap/api/maps2d/model/LatLng;FZ)V

    return-void
.end method

.method private c(Lcom/amap/api/maps2d/model/LatLng;)Z
    .locals 2

    .line 227
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->w:Lcom/amap/api/maps2d/model/LatLng;

    const/4 v1, 0x1

    if-nez v0, :cond_0

    return v1

    .line 230
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->w:Lcom/amap/api/maps2d/model/LatLng;

    invoke-virtual {v0, p1}, Lcom/amap/api/maps2d/model/LatLng;->equals(Ljava/lang/Object;)Z

    move-result p1

    xor-int/2addr p1, v1

    return p1
.end method

.method static synthetic d(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)Lcom/amap/api/maps2d/model/LatLng;
    .locals 0

    .line 65
    iget-object p0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->l:Lcom/amap/api/maps2d/model/LatLng;

    return-object p0
.end method

.method static synthetic d(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;Lcom/amap/api/maps2d/model/LatLng;)Lcom/amap/api/maps2d/model/LatLng;
    .locals 0

    .line 65
    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->x:Lcom/amap/api/maps2d/model/LatLng;

    return-object p1
.end method

.method static synthetic e(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)Z
    .locals 0

    .line 65
    iget-boolean p0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->r:Z

    return p0
.end method

.method static synthetic f(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)Ljava/util/concurrent/atomic/AtomicBoolean;
    .locals 0

    .line 65
    iget-object p0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->y:Ljava/util/concurrent/atomic/AtomicBoolean;

    return-object p0
.end method

.method static synthetic g(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)F
    .locals 0

    .line 65
    iget p0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->j:F

    return p0
.end method

.method static synthetic h(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)Lcom/amap/api/maps2d/model/Marker;
    .locals 0

    .line 65
    iget-object p0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->p:Lcom/amap/api/maps2d/model/Marker;

    return-object p0
.end method

.method private n()V
    .locals 3

    .line 171
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->u:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->clear()V

    .line 172
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->v:Ljava/util/HashMap;

    invoke-virtual {v0}, Ljava/util/HashMap;->keySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/amap/api/maps2d/model/LatLng;

    .line 173
    iget-object v2, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->v:Ljava/util/HashMap;

    invoke-virtual {v2, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/amap/api/maps2d/model/Marker;

    if-eqz v1, :cond_0

    .line 175
    invoke-virtual {v1}, Lcom/amap/api/maps2d/model/Marker;->remove()V

    goto :goto_0

    .line 178
    :cond_1
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->v:Ljava/util/HashMap;

    invoke-virtual {v0}, Ljava/util/HashMap;->clear()V

    .line 179
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->t:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->clear()V

    return-void
.end method

.method private o()V
    .locals 2

    .line 244
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->g:Landroid/widget/ImageView;

    new-instance v1, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$2;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$2;-><init>(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 256
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    new-instance v1, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$3;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$3;-><init>(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)V

    invoke-virtual {v0, v1}, Lcom/amap/api/maps2d/AMap;->setOnCameraChangeListener(Lcom/amap/api/maps2d/AMap$OnCameraChangeListener;)V

    .line 292
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->h:Landroid/widget/ImageView;

    new-instance v1, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$4;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$4;-><init>(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 316
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    new-instance v1, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$5;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$5;-><init>(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)V

    invoke-virtual {v0, v1}, Lcom/amap/api/maps2d/AMap;->setOnMarkerClickListener(Lcom/amap/api/maps2d/AMap$OnMarkerClickListener;)V

    .line 331
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    new-instance v1, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$6;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$6;-><init>(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)V

    invoke-virtual {v0, v1}, Lcom/amap/api/maps2d/AMap;->setOnMapClickListener(Lcom/amap/api/maps2d/AMap$OnMapClickListener;)V

    .line 341
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    new-instance v1, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$7;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$7;-><init>(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)V

    invoke-virtual {v0, v1}, Lcom/amap/api/maps2d/AMap;->setInfoWindowAdapter(Lcom/amap/api/maps2d/AMap$InfoWindowAdapter;)V

    return-void
.end method


# virtual methods
.method protected a()Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;
    .locals 1

    .line 124
    new-instance v0, Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;-><init>(Lcom/moji/mjweather/aqi/view/IMapAqiView;)V

    return-object v0
.end method

.method public a(F)V
    .locals 1

    .line 485
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getPresenter()Lcom/moji/mvpframe/BasePresenter;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;->a(F)V

    .line 486
    new-instance p1, Ljava/lang/StringBuilder;

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

    const-string v0, "AQIMapViewControl-"

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

    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->l()Ljava/lang/String;

    move-result-object v0

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

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

    move-result-object p1

    const-string v0, "movePosition: locatedMyLocation"

    invoke-static {p1, v0}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public a(J)V
    .locals 3

    .line 408
    iget-wide v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->q:J

    cmp-long v2, p1, v0

    if-lez v2, :cond_0

    .line 409
    invoke-static {}, Lcom/moji/bus/Bus;->a()Lcom/moji/bus/Bus;

    move-result-object p1

    new-instance p2, Lcom/moji/mjweather/event/UpdateAqiDataEvent;

    invoke-direct {p2}, Lcom/moji/mjweather/event/UpdateAqiDataEvent;-><init>()V

    invoke-virtual {p1, p2}, Lcom/moji/bus/Bus;->c(Ljava/lang/Object;)V

    const-string p1, "AQIMapViewControl"

    const-string p2, "update_timestamp update data"

    .line 410
    invoke-static {p1, p2}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :cond_0
    const-string p1, "AQIMapViewControl"

    const-string p2, "update_timestamp no need"

    .line 412
    invoke-static {p1, p2}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V

    :goto_0
    return-void
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 6

    .line 660
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    .line 661
    iget-object v2, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->a:Lcom/moji/mjweather/aqi/view/MJMapView;

    invoke-virtual {v2, p1}, Lcom/moji/mjweather/aqi/view/MJMapView;->onCreate(Landroid/os/Bundle;)V

    .line 662
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    const-string p1, "AQIMapViewControl"

    .line 663
    new-instance v4, Ljava/lang/StringBuilder;

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

    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->l()Ljava/lang/String;

    move-result-object v5

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

    const-string v5, " onMapCreate take time "

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

    sub-long/2addr v2, v0

    invoke-virtual {v4, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

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

    move-result-object v0

    invoke-static {p1, v0}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 664
    invoke-static {}, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;->i()Z

    move-result p1

    if-eqz p1, :cond_0

    .line 665
    iget-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->d:Landroid/widget/TextView;

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "onMapCreate time "

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

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string v1, "ms"

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

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

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method protected a(Lcom/amap/api/maps2d/UiSettings;)V
    .locals 1

    const/4 v0, 0x0

    .line 143
    invoke-virtual {p1, v0}, Lcom/amap/api/maps2d/UiSettings;->setZoomControlsEnabled(Z)V

    const/4 v0, 0x1

    .line 144
    invoke-virtual {p1, v0}, Lcom/amap/api/maps2d/UiSettings;->setScaleControlsEnabled(Z)V

    .line 145
    invoke-virtual {p1, v0}, Lcom/amap/api/maps2d/UiSettings;->setZoomGesturesEnabled(Z)V

    .line 147
    invoke-virtual {p1, v0}, Lcom/amap/api/maps2d/UiSettings;->setScaleControlsEnabled(Z)V

    return-void
.end method

.method public a(Lcom/amap/api/maps2d/model/LatLng;)V
    .locals 3

    .line 470
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 471
    iget-object v1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    if-eqz v1, :cond_0

    .line 472
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    invoke-virtual {v0}, Lcom/amap/api/maps2d/AMap;->getMapScreenMarkers()Ljava/util/List;

    move-result-object v0

    .line 475
    :cond_0
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_1
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/amap/api/maps2d/model/Marker;

    .line 476
    invoke-virtual {v1}, Lcom/amap/api/maps2d/model/Marker;->getPosition()Lcom/amap/api/maps2d/model/LatLng;

    move-result-object v2

    invoke-virtual {v2, p1}, Lcom/amap/api/maps2d/model/LatLng;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 477
    iput-object v1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->p:Lcom/amap/api/maps2d/model/Marker;

    .line 478
    iget-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->p:Lcom/amap/api/maps2d/model/Marker;

    invoke-virtual {p1}, Lcom/amap/api/maps2d/model/Marker;->showInfoWindow()V

    :cond_2
    return-void
.end method

.method public a(Lcom/amap/api/maps2d/model/LatLng;F)V
    .locals 1

    const/4 v0, 0x1

    .line 434
    invoke-virtual {p0, p1, p2, v0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->a(Lcom/amap/api/maps2d/model/LatLng;FZ)V

    const-string p1, "AQIMapViewControl"

    const-string p2, "movePosition: location"

    .line 435
    invoke-static {p1, p2}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public a(Lcom/amap/api/maps2d/model/LatLng;FZ)V
    .locals 0

    .line 463
    iput p2, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->j:F

    .line 464
    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->l:Lcom/amap/api/maps2d/model/LatLng;

    .line 465
    invoke-direct {p0, p1, p2, p3}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->b(Lcom/amap/api/maps2d/model/LatLng;FZ)V

    return-void
.end method

.method public a(Lcom/amap/api/maps2d/model/LatLng;Lcom/amap/api/maps2d/model/Marker;)V
    .locals 4

    .line 751
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->p:Lcom/amap/api/maps2d/model/Marker;

    if-eqz v0, :cond_0

    .line 752
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->p:Lcom/amap/api/maps2d/model/Marker;

    invoke-virtual {v0}, Lcom/amap/api/maps2d/model/Marker;->hideInfoWindow()V

    .line 755
    :cond_0
    new-instance v0, Lcom/amap/api/maps2d/model/MarkerOptions;

    invoke-direct {v0}, Lcom/amap/api/maps2d/model/MarkerOptions;-><init>()V

    .line 756
    invoke-virtual {v0, p1}, Lcom/amap/api/maps2d/model/MarkerOptions;->position(Lcom/amap/api/maps2d/model/LatLng;)Lcom/amap/api/maps2d/model/MarkerOptions;

    .line 757
    invoke-virtual {p2}, Lcom/amap/api/maps2d/model/Marker;->getTitle()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Lcom/amap/api/maps2d/model/MarkerOptions;->title(Ljava/lang/String;)Lcom/amap/api/maps2d/model/MarkerOptions;

    .line 758
    invoke-virtual {p2}, Lcom/amap/api/maps2d/model/Marker;->getSnippet()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Lcom/amap/api/maps2d/model/MarkerOptions;->snippet(Ljava/lang/String;)Lcom/amap/api/maps2d/model/MarkerOptions;

    const/4 p1, 0x1

    .line 760
    invoke-virtual {v0, p1}, Lcom/amap/api/maps2d/model/MarkerOptions;->draggable(Z)Lcom/amap/api/maps2d/model/MarkerOptions;

    .line 761
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getContext()Landroid/content/Context;

    move-result-object p1

    invoke-static {p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p1

    const v1, 0x7f0b02b8

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-virtual {p1, v1, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    .line 762
    new-instance v1, Landroid/widget/FrameLayout$LayoutParams;

    const/high16 v2, 0x41c00000    # 24.0f

    invoke-static {v2}, Lcom/moji/tool/DeviceTool;->a(F)I

    move-result v2

    const/high16 v3, 0x41b40000    # 22.5f

    invoke-static {v3}, Lcom/moji/tool/DeviceTool;->a(F)I

    move-result v3

    invoke-direct {v1, v2, v3}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    .line 763
    invoke-virtual {p1, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const/4 v1, 0x0

    .line 764
    invoke-virtual {p1, v1}, Landroid/view/View;->setAlpha(F)V

    .line 765
    invoke-static {p1}, Lcom/amap/api/maps2d/model/BitmapDescriptorFactory;->fromView(Landroid/view/View;)Lcom/amap/api/maps2d/model/BitmapDescriptor;

    move-result-object p1

    invoke-virtual {v0, p1}, Lcom/amap/api/maps2d/model/MarkerOptions;->icon(Lcom/amap/api/maps2d/model/BitmapDescriptor;)Lcom/amap/api/maps2d/model/MarkerOptions;

    .line 767
    iget-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    invoke-virtual {p1, v0}, Lcom/amap/api/maps2d/AMap;->addMarker(Lcom/amap/api/maps2d/model/MarkerOptions;)Lcom/amap/api/maps2d/model/Marker;

    move-result-object p1

    invoke-virtual {p1}, Lcom/amap/api/maps2d/model/Marker;->showInfoWindow()V

    .line 768
    iput-object p2, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->p:Lcom/amap/api/maps2d/model/Marker;

    return-void
.end method

.method public a(Lcom/amap/api/maps2d/model/LatLng;Z)V
    .locals 5

    .line 387
    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->x:Lcom/amap/api/maps2d/model/LatLng;

    .line 389
    iget-wide v0, p1, Lcom/amap/api/maps2d/model/LatLng;->latitude:D

    const-wide/16 v2, 0x0

    cmpl-double v4, v0, v2

    if-lez v4, :cond_1

    iget-wide v0, p1, Lcom/amap/api/maps2d/model/LatLng;->longitude:D

    cmpl-double v4, v0, v2

    if-lez v4, :cond_1

    .line 390
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getData()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getData()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/moji/common/area/AreaInfo;

    iget-boolean v0, v0, Lcom/moji/common/area/AreaInfo;->isLocation:Z

    if-eqz v0, :cond_0

    if-nez p2, :cond_0

    .line 391
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getPresenter()Lcom/moji/mvpframe/BasePresenter;

    move-result-object p2

    check-cast p2, Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;

    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->x:Lcom/amap/api/maps2d/model/LatLng;

    invoke-virtual {p2, v0}, Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;->a(Lcom/amap/api/maps2d/model/LatLng;)V

    .line 393
    :cond_0
    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->l:Lcom/amap/api/maps2d/model/LatLng;

    .line 395
    iget-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->l:Lcom/amap/api/maps2d/model/LatLng;

    const/high16 p2, 0x41300000    # 11.0f

    const/4 v0, 0x1

    invoke-direct {p0, p1, p2, v0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->b(Lcom/amap/api/maps2d/model/LatLng;FZ)V

    goto :goto_0

    .line 396
    :cond_1
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getData()Ljava/lang/Object;

    move-result-object p1

    if-eqz p1, :cond_2

    .line 397
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getPresenter()Lcom/moji/mvpframe/BasePresenter;

    move-result-object p1

    check-cast p1, Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;

    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getData()Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/moji/common/area/AreaInfo;

    iget v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->j:F

    new-instance v1, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$8;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$8;-><init>(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;)V

    invoke-virtual {p1, p2, v0, v1}, Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;->a(Lcom/moji/common/area/AreaInfo;FLcom/moji/mjweather/aqi/presenter/MapAqiPresenter$OnParseLocationByLocal;)V

    :cond_2
    :goto_0
    return-void
.end method

.method a(Lcom/amap/api/maps2d/model/Marker;Landroid/view/View;)V
    .locals 4

    const v0, 0x7f0909dc

    .line 361
    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f0909de

    .line 362
    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/TextView;

    .line 363
    invoke-virtual {p1}, Lcom/amap/api/maps2d/model/Marker;->getTitle()Ljava/lang/String;

    move-result-object v1

    .line 364
    invoke-virtual {p1}, Lcom/amap/api/maps2d/model/Marker;->getSnippet()Ljava/lang/String;

    move-result-object p1

    .line 365
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    const/16 v3, 0x8

    if-nez v2, :cond_0

    .line 366
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 368
    :cond_0
    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 370
    :goto_0
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 371
    invoke-virtual {p2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_1

    .line 373
    :cond_1
    invoke-virtual {p2, v3}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_1
    return-void
.end method

.method public a(Lcom/moji/common/area/AreaInfo;)V
    .locals 0

    return-void
.end method

.method public a(Lcom/moji/mjweather/aqi/MapMoveHelper;)V
    .locals 0

    .line 217
    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->b:Lcom/moji/mjweather/aqi/MapMoveHelper;

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 0

    .line 739
    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->z:Ljava/lang/String;

    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;",
            ">;)V"
        }
    .end annotation

    if-nez p1, :cond_0

    return-void

    .line 426
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->c:Lcom/moji/mjweather/aqi/AqiValueType;

    const/4 v1, 0x0

    invoke-virtual {p0, p1, v0, v1}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->a(Ljava/util/List;Lcom/moji/mjweather/aqi/AqiValueType;Z)V

    .line 428
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->AQI_MAP_SHOW:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;

    return-void
.end method

.method a(Ljava/util/List;Lcom/moji/mjweather/aqi/AqiValueType;Z)V
    .locals 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;",
            ">;",
            "Lcom/moji/mjweather/aqi/AqiValueType;",
            "Z)V"
        }
    .end annotation

    if-nez p1, :cond_0

    return-void

    .line 507
    :cond_0
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_1
    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_b

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;

    .line 508
    invoke-direct {p0, v0, p2}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->a(Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;Lcom/moji/mjweather/aqi/AqiValueType;)I

    move-result v1

    .line 510
    iget-object v2, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->s:Landroid/util/SparseArray;

    const/4 v3, 0x0

    if-eqz v2, :cond_2

    .line 511
    iget-object v2, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->s:Landroid/util/SparseArray;

    invoke-virtual {v2, v1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/amap/api/maps2d/model/BitmapDescriptor;

    if-eqz v2, :cond_2

    goto :goto_1

    :cond_2
    move-object v2, v3

    :goto_1
    const/16 v4, 0x1f4

    const/4 v5, 0x0

    if-nez v2, :cond_5

    .line 517
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v2

    const v6, 0x7f0b02b8

    invoke-virtual {v2, v6, v3, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v2

    const v3, 0x7f090bea

    .line 518
    invoke-virtual {v2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 519
    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v6

    if-nez v1, :cond_3

    const-string v6, "-"

    .line 523
    :cond_3
    invoke-virtual {v3, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 524
    iget v3, v0, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->colour_level:I

    invoke-static {v3}, Lcom/moji/base/AqiValueProvider;->g(I)I

    move-result v3

    invoke-virtual {v2, v3}, Landroid/view/View;->setBackgroundResource(I)V

    .line 525
    new-instance v3, Landroid/widget/FrameLayout$LayoutParams;

    const/high16 v6, 0x41c00000    # 24.0f

    invoke-static {v6}, Lcom/moji/tool/DeviceTool;->a(F)I

    move-result v6

    const/high16 v7, 0x41b40000    # 22.5f

    invoke-static {v7}, Lcom/moji/tool/DeviceTool;->a(F)I

    move-result v7

    invoke-direct {v3, v6, v7}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    .line 526
    invoke-virtual {v2, v3}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 528
    invoke-static {v2}, Lcom/amap/api/maps2d/model/BitmapDescriptorFactory;->fromView(Landroid/view/View;)Lcom/amap/api/maps2d/model/BitmapDescriptor;

    move-result-object v2

    .line 529
    iget-object v3, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->s:Landroid/util/SparseArray;

    if-eqz v3, :cond_5

    .line 530
    iget-object v3, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->s:Landroid/util/SparseArray;

    invoke-virtual {v3}, Landroid/util/SparseArray;->size()I

    move-result v3

    if-le v3, v4, :cond_4

    .line 531
    iget-object v3, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->s:Landroid/util/SparseArray;

    invoke-virtual {v3, v5}, Landroid/util/SparseArray;->removeAt(I)V

    .line 533
    :cond_4
    iget-object v3, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->s:Landroid/util/SparseArray;

    invoke-virtual {v3, v1, v2}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    .line 536
    :cond_5
    new-instance v1, Lcom/amap/api/maps2d/model/LatLng;

    iget-wide v6, v0, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->lat:D

    iget-wide v8, v0, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->lng:D

    invoke-direct {v1, v6, v7, v8, v9}, Lcom/amap/api/maps2d/model/LatLng;-><init>(DD)V

    .line 537
    iget-object v3, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->v:Ljava/util/HashMap;

    invoke-virtual {v3, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/amap/api/maps2d/model/Marker;

    const/4 v6, 0x1

    if-eqz v3, :cond_6

    .line 539
    invoke-virtual {v3, v2}, Lcom/amap/api/maps2d/model/Marker;->setIcon(Lcom/amap/api/maps2d/model/BitmapDescriptor;)V

    .line 540
    iget-object v1, v0, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->city_name:Ljava/lang/String;

    invoke-virtual {v3, v1}, Lcom/amap/api/maps2d/model/Marker;->setSnippet(Ljava/lang/String;)V

    .line 541
    iget-object v0, v0, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->name:Ljava/lang/String;

    invoke-virtual {v3, v0}, Lcom/amap/api/maps2d/model/Marker;->setTitle(Ljava/lang/String;)V

    .line 542
    invoke-virtual {v3, v6}, Lcom/amap/api/maps2d/model/Marker;->setVisible(Z)V

    goto/16 :goto_0

    .line 544
    :cond_6
    new-instance v3, Lcom/amap/api/maps2d/model/MarkerOptions;

    invoke-direct {v3}, Lcom/amap/api/maps2d/model/MarkerOptions;-><init>()V

    .line 545
    invoke-virtual {v3, v1}, Lcom/amap/api/maps2d/model/MarkerOptions;->position(Lcom/amap/api/maps2d/model/LatLng;)Lcom/amap/api/maps2d/model/MarkerOptions;

    .line 546
    iget-object v7, v0, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->name:Ljava/lang/String;

    invoke-static {v7}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v7

    if-nez v7, :cond_7

    .line 547
    iget-object v7, v0, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->name:Ljava/lang/String;

    invoke-virtual {v3, v7}, Lcom/amap/api/maps2d/model/MarkerOptions;->title(Ljava/lang/String;)Lcom/amap/api/maps2d/model/MarkerOptions;

    .line 549
    :cond_7
    iget-object v7, v0, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->city_name:Ljava/lang/String;

    invoke-static {v7}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v7

    if-nez v7, :cond_8

    .line 550
    iget-object v7, v0, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->city_name:Ljava/lang/String;

    invoke-virtual {v3, v7}, Lcom/amap/api/maps2d/model/MarkerOptions;->snippet(Ljava/lang/String;)Lcom/amap/api/maps2d/model/MarkerOptions;

    .line 552
    :cond_8
    invoke-virtual {v3, v6}, Lcom/amap/api/maps2d/model/MarkerOptions;->draggable(Z)Lcom/amap/api/maps2d/model/MarkerOptions;

    .line 553
    invoke-virtual {v3, v2}, Lcom/amap/api/maps2d/model/MarkerOptions;->icon(Lcom/amap/api/maps2d/model/BitmapDescriptor;)Lcom/amap/api/maps2d/model/MarkerOptions;

    .line 555
    iget-object v2, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    invoke-virtual {v2, v3}, Lcom/amap/api/maps2d/AMap;->addMarker(Lcom/amap/api/maps2d/model/MarkerOptions;)Lcom/amap/api/maps2d/model/Marker;

    move-result-object v2

    .line 557
    iget-object v3, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->u:Ljava/util/LinkedList;

    invoke-virtual {v3}, Ljava/util/LinkedList;->isEmpty()Z

    move-result v3

    if-nez v3, :cond_9

    iget-object v3, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->u:Ljava/util/LinkedList;

    invoke-virtual {v3}, Ljava/util/LinkedList;->size()I

    move-result v3

    if-lt v3, v4, :cond_9

    .line 558
    iget-object v3, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->u:Ljava/util/LinkedList;

    invoke-virtual {v3, v5}, Ljava/util/LinkedList;->remove(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/amap/api/maps2d/model/LatLng;

    if-eqz v3, :cond_9

    .line 560
    iget-object v6, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->v:Ljava/util/HashMap;

    invoke-virtual {v6, v3}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/amap/api/maps2d/model/Marker;

    if-eqz v3, :cond_9

    .line 562
    invoke-virtual {v3}, Lcom/amap/api/maps2d/model/Marker;->remove()V

    .line 566
    :cond_9
    iget-object v3, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->u:Ljava/util/LinkedList;

    invoke-virtual {v3, v1}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z

    .line 567
    iget-object v3, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->v:Ljava/util/HashMap;

    invoke-virtual {v3, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    if-nez p3, :cond_1

    .line 569
    iget-object v1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->t:Ljava/util/LinkedList;

    invoke-virtual {v1}, Ljava/util/LinkedList;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_a

    iget-object v1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->t:Ljava/util/LinkedList;

    invoke-virtual {v1}, Ljava/util/LinkedList;->size()I

    move-result v1

    if-lt v1, v4, :cond_a

    .line 570
    iget-object v1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->t:Ljava/util/LinkedList;

    invoke-virtual {v1, v5}, Ljava/util/LinkedList;->remove(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;

    if-eqz v1, :cond_a

    .line 572
    iget-object v2, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->v:Ljava/util/HashMap;

    new-instance v3, Lcom/amap/api/maps2d/model/LatLng;

    iget-wide v4, v1, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->lat:D

    iget-wide v6, v1, Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;->lng:D

    invoke-direct {v3, v4, v5, v6, v7}, Lcom/amap/api/maps2d/model/LatLng;-><init>(DD)V

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/amap/api/maps2d/model/Marker;

    if-eqz v1, :cond_a

    .line 574
    invoke-virtual {v1}, Lcom/amap/api/maps2d/model/Marker;->remove()V

    .line 578
    :cond_a
    iget-object v1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->t:Ljava/util/LinkedList;

    invoke-virtual {v1, v0}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_0

    .line 583
    :cond_b
    iget-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    invoke-virtual {p1}, Lcom/amap/api/maps2d/AMap;->invalidate()V

    return-void
.end method

.method public a(Z)V
    .locals 0

    .line 151
    iput-boolean p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->o:Z

    .line 152
    iget-boolean p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->o:Z

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->b(Z)V

    return-void
.end method

.method public b()V
    .locals 1

    .line 133
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->a:Lcom/moji/mjweather/aqi/view/MJMapView;

    invoke-virtual {v0}, Lcom/moji/mjweather/aqi/view/MJMapView;->getMap()Lcom/amap/api/maps2d/AMap;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    .line 134
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getPresenter()Lcom/moji/mvpframe/BasePresenter;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;

    invoke-virtual {v0}, Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;->d()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 135
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    invoke-virtual {v0}, Lcom/amap/api/maps2d/AMap;->removecache()V

    :cond_0
    const/high16 v0, 0x41300000    # 11.0f

    .line 137
    iput v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->j:F

    .line 138
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    invoke-virtual {v0}, Lcom/amap/api/maps2d/AMap;->getUiSettings()Lcom/amap/api/maps2d/UiSettings;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->a(Lcom/amap/api/maps2d/UiSettings;)V

    .line 139
    invoke-direct {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->o()V

    return-void
.end method

.method public b(J)V
    .locals 0

    .line 777
    iput-wide p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->q:J

    return-void
.end method

.method public b(Landroid/os/Bundle;)V
    .locals 1

    .line 681
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->a:Lcom/moji/mjweather/aqi/view/MJMapView;

    if-eqz v0, :cond_0

    .line 682
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->a:Lcom/moji/mjweather/aqi/view/MJMapView;

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/aqi/view/MJMapView;->onSaveInstanceState(Landroid/os/Bundle;)V

    :cond_0
    return-void
.end method

.method public b(Lcom/amap/api/maps2d/model/LatLng;)V
    .locals 2

    .line 492
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->n:Lcom/amap/api/maps2d/model/Marker;

    if-eqz v0, :cond_0

    .line 493
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->n:Lcom/amap/api/maps2d/model/Marker;

    invoke-virtual {v0}, Lcom/amap/api/maps2d/model/Marker;->remove()V

    .line 495
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    new-instance v1, Lcom/amap/api/maps2d/model/MarkerOptions;

    invoke-direct {v1}, Lcom/amap/api/maps2d/model/MarkerOptions;-><init>()V

    .line 496
    invoke-virtual {v1, p1}, Lcom/amap/api/maps2d/model/MarkerOptions;->position(Lcom/amap/api/maps2d/model/LatLng;)Lcom/amap/api/maps2d/model/MarkerOptions;

    move-result-object p1

    const/high16 v1, 0x3f000000    # 0.5f

    .line 497
    invoke-virtual {p1, v1, v1}, Lcom/amap/api/maps2d/model/MarkerOptions;->anchor(FF)Lcom/amap/api/maps2d/model/MarkerOptions;

    move-result-object p1

    const v1, 0x7f080705

    .line 498
    invoke-static {v1}, Lcom/amap/api/maps2d/model/BitmapDescriptorFactory;->fromResource(I)Lcom/amap/api/maps2d/model/BitmapDescriptor;

    move-result-object v1

    invoke-virtual {p1, v1}, Lcom/amap/api/maps2d/model/MarkerOptions;->icon(Lcom/amap/api/maps2d/model/BitmapDescriptor;)Lcom/amap/api/maps2d/model/MarkerOptions;

    move-result-object p1

    .line 495
    invoke-virtual {v0, p1}, Lcom/amap/api/maps2d/AMap;->addMarker(Lcom/amap/api/maps2d/model/MarkerOptions;)Lcom/amap/api/maps2d/model/Marker;

    move-result-object p1

    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->n:Lcom/amap/api/maps2d/model/Marker;

    return-void
.end method

.method public b(Lcom/amap/api/maps2d/model/LatLng;F)V
    .locals 4

    const-string v0, "AQIMapViewControl"

    .line 439
    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "movePositionShowInfoWind: latLng:"

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

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

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

    move-result-object v1

    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 440
    iput p2, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->j:F

    .line 441
    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->l:Lcom/amap/api/maps2d/model/LatLng;

    const/4 v0, 0x1

    .line 442
    invoke-virtual {p0, v0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->c(Z)V

    .line 443
    invoke-static {p1, p2}, Lcom/amap/api/maps2d/CameraUpdateFactory;->newLatLngZoom(Lcom/amap/api/maps2d/model/LatLng;F)Lcom/amap/api/maps2d/CameraUpdate;

    move-result-object p2

    .line 444
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->m:Lcom/amap/api/maps2d/AMap;

    iget v1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->i:I

    int-to-long v1, v1

    new-instance v3, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$9;

    invoke-direct {v3, p0, p1}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl$9;-><init>(Lcom/moji/mjweather/aqi/control/AQIMapViewControl;Lcom/amap/api/maps2d/model/LatLng;)V

    invoke-virtual {v0, p2, v1, v2, v3}, Lcom/amap/api/maps2d/AMap;->animateCamera(Lcom/amap/api/maps2d/CameraUpdate;JLcom/amap/api/maps2d/AMap$CancelableCallback;)V

    return-void
.end method

.method public b(Z)V
    .locals 1

    .line 417
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->g:Landroid/widget/ImageView;

    if-eqz p1, :cond_0

    const/4 p1, 0x0

    goto :goto_0

    :cond_0
    const/4 p1, 0x4

    :goto_0
    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setVisibility(I)V

    return-void
.end method

.method public c()V
    .locals 8

    .line 157
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getData()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 158
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getData()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/moji/common/area/AreaInfo;

    iget v0, v0, Lcom/moji/common/area/AreaInfo;->cityId:I

    move v2, v0

    goto :goto_0

    :cond_0
    const/4 v0, -0x1

    const/4 v2, -0x1

    .line 160
    :goto_0
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->l:Lcom/amap/api/maps2d/model/LatLng;

    if-nez v0, :cond_1

    return-void

    .line 163
    :cond_1
    iget v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->j:F

    iget v1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->k:F

    cmpl-float v0, v0, v1

    if-eqz v0, :cond_2

    .line 164
    invoke-direct {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->n()V

    .line 166
    :cond_2
    iget v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->j:F

    iput v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->k:F

    .line 167
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getPresenter()Lcom/moji/mvpframe/BasePresenter;

    move-result-object v0

    move-object v1, v0

    check-cast v1, Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;

    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->l:Lcom/amap/api/maps2d/model/LatLng;

    iget-wide v3, v0, Lcom/amap/api/maps2d/model/LatLng;->latitude:D

    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->l:Lcom/amap/api/maps2d/model/LatLng;

    iget-wide v5, v0, Lcom/amap/api/maps2d/model/LatLng;->longitude:D

    iget v7, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->j:F

    invoke-virtual/range {v1 .. v7}, Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;->a(IDDF)V

    return-void
.end method

.method public c(Z)V
    .locals 1

    .line 459
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->y:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {v0, p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V

    return-void
.end method

.method public d(Z)V
    .locals 0

    .line 747
    iput-boolean p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->r:Z

    return-void
.end method

.method public d()Z
    .locals 1

    .line 239
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->i()Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method e()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lcom/moji/http/weather/entity/AqiPointMapEntity$ResultBean;",
            ">;"
        }
    .end annotation

    .line 630
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->t:Ljava/util/LinkedList;

    return-object v0
.end method

.method public f()V
    .locals 1

    .line 671
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->a:Lcom/moji/mjweather/aqi/view/MJMapView;

    invoke-virtual {v0}, Lcom/moji/mjweather/aqi/view/MJMapView;->onResume()V

    return-void
.end method

.method public g()V
    .locals 1

    .line 676
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->a:Lcom/moji/mjweather/aqi/view/MJMapView;

    invoke-virtual {v0}, Lcom/moji/mjweather/aqi/view/MJMapView;->onPause()V

    return-void
.end method

.method protected getResLayoutId()I
    .locals 1

    const v0, 0x7f0b00bd

    return v0
.end method

.method protected h()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public hideView()V
    .locals 2

    .line 701
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getView()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 702
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->getView()Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public i()Landroid/view/View;
    .locals 1

    .line 697
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->f:Landroid/widget/FrameLayout;

    return-object v0
.end method

.method protected synthetic instancePresenter()Lcom/moji/mvpframe/BasePresenter;
    .locals 1

    .line 65
    invoke-virtual {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->a()Lcom/moji/mjweather/aqi/presenter/MapAqiPresenter;

    move-result-object v0

    return-object v0
.end method

.method public j()F
    .locals 2

    .line 716
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getTop()I

    move-result v0

    iget-object v1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->f:Landroid/widget/FrameLayout;

    invoke-virtual {v1}, Landroid/widget/FrameLayout;->getTop()I

    move-result v1

    add-int/2addr v0, v1

    int-to-float v0, v0

    return v0
.end method

.method public k()Lcom/moji/mjweather/aqi/MapMoveHelper;
    .locals 1

    .line 733
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->b:Lcom/moji/mjweather/aqi/MapMoveHelper;

    return-object v0
.end method

.method public l()Ljava/lang/String;
    .locals 1

    .line 743
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->z:Ljava/lang/String;

    return-object v0
.end method

.method public m()Lcom/amap/api/maps2d/model/Marker;
    .locals 1

    .line 772
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->p:Lcom/amap/api/maps2d/model/Marker;

    return-object v0
.end method

.method public synthetic onBindViewData(Ljava/lang/Object;)V
    .locals 0

    .line 65
    check-cast p1, Lcom/moji/common/area/AreaInfo;

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->a(Lcom/moji/common/area/AreaInfo;)V

    return-void
.end method

.method protected onCreatedView(Landroid/view/View;)V
    .locals 1

    const v0, 0x7f0905ab

    .line 205
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/aqi/view/MJMapView;

    iput-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->a:Lcom/moji/mjweather/aqi/view/MJMapView;

    const v0, 0x7f0903d4

    .line 206
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->g:Landroid/widget/ImageView;

    const v0, 0x7f090320

    .line 207
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->h:Landroid/widget/ImageView;

    const v0, 0x7f090a65

    .line 208
    invoke-static {p1, v0}, Lcom/moji/tool/ViewTool;->a(Landroid/view/View;I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->d:Landroid/widget/TextView;

    const v0, 0x7f09024d

    .line 209
    invoke-static {p1, v0}, Lcom/moji/tool/ViewTool;->a(Landroid/view/View;I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->f:Landroid/widget/FrameLayout;

    const v0, 0x7f090514

    .line 210
    invoke-static {p1, v0}, Lcom/moji/tool/ViewTool;->a(Landroid/view/View;I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/widget/LinearLayout;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->e:Landroid/widget/LinearLayout;

    .line 211
    invoke-static {}, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;->i()Z

    move-result p1

    if-eqz p1, :cond_0

    invoke-static {}, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;->e()Z

    move-result p1

    if-eqz p1, :cond_0

    .line 212
    iget-object p1, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->d:Landroid/widget/TextView;

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public onDestroy()V
    .locals 1

    .line 721
    invoke-super {p0}, Lcom/moji/mjweather/me/control/MJMVPViewControl;->onDestroy()V

    .line 723
    invoke-direct {p0}, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->n()V

    .line 724
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->a:Lcom/moji/mjweather/aqi/view/MJMapView;

    invoke-virtual {v0}, Lcom/moji/mjweather/aqi/view/MJMapView;->onDestroy()V

    .line 725
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->s:Landroid/util/SparseArray;

    invoke-virtual {v0}, Landroid/util/SparseArray;->clear()V

    .line 727
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->b:Lcom/moji/mjweather/aqi/MapMoveHelper;

    if-eqz v0, :cond_0

    .line 728
    iget-object v0, p0, Lcom/moji/mjweather/aqi/control/AQIMapViewControl;->b:Lcom/moji/mjweather/aqi/MapMoveHelper;

    invoke-virtual {v0}, Lcom/moji/mjweather/aqi/MapMoveHelper;->a()V

    :cond_0
    return-void
.end method

.method protected onGenerateLayoutParams(Landroid/view/View;)Landroid/view/ViewGroup$LayoutParams;
    .locals 2

    .line 692
    new-instance p1, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 v0, 0x43910000    # 290.0f

    invoke-static {v0}, Lcom/moji/tool/DeviceTool;->a(F)I

    move-result v0

    const/4 v1, -0x1

    invoke-direct {p1, v1, v0}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    return-object p1
.end method
