.class public Lcom/moji/mjweather/weather/WeatherPageView;
.super Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
.source "WeatherPageView.java"

# interfaces
.implements Lcom/moji/mjweather/weather/IWeatherPageView;
.implements Lcom/moji/mvpframe/IMJMvpView;


# static fields
.field public static final b:[Ljava/lang/String;


# instance fields
.field private A:F

.field private B:F

.field private C:F

.field private D:Lcom/moji/dialog/MJDialog;

.field private E:I

.field private F:I

.field private G:I

.field private H:I

.field private I:I

.field private J:I

.field private K:I

.field private L:I

.field private M:I

.field private N:I

.field private O:I

.field private P:I

.field private Q:Z

.field private R:J

.field private S:I

.field private T:I

.field private U:I

.field private V:Landroid/widget/AbsListView$OnScrollListener;

.field private W:Z

.field protected a:Lcom/moji/mjweather/weather/WeatherPagePresenter;

.field private aa:Z

.field private k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

.field private l:Lcom/moji/mjweather/weather/view/HomePageFrameLayout;

.field private m:Landroid/widget/ImageView;

.field private n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

.field private o:Z

.field private p:Lcom/moji/preferences/ProcessPrefer;

.field private q:I

.field private r:Z

.field private s:Z

.field private t:F

.field private u:Landroid/widget/ListView;

.field private v:Z

.field private w:Z

.field private x:Z

.field private y:Z

.field private z:I


# direct methods
.method static constructor <clinit>()V
    .locals 3

    const/4 v0, 0x2

    .line 100
    new-array v0, v0, [Ljava/lang/String;

    const-string v1, "android.permission.ACCESS_FINE_LOCATION"

    const/4 v2, 0x0

    aput-object v1, v0, v2

    const-string v1, "android.permission.ACCESS_COARSE_LOCATION"

    const/4 v2, 0x1

    aput-object v1, v0, v2

    sput-object v0, Lcom/moji/mjweather/weather/WeatherPageView;->b:[Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .locals 2

    .line 116
    invoke-direct {p0, p1}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;-><init>(Landroid/content/Context;)V

    const/4 v0, 0x0

    .line 96
    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->q:I

    .line 97
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->r:Z

    .line 98
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->s:Z

    const/high16 v1, 0x3f800000    # 1.0f

    .line 101
    iput v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->t:F

    .line 103
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->v:Z

    .line 106
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->x:Z

    .line 108
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->y:Z

    .line 503
    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    .line 504
    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->M:I

    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->N:I

    .line 505
    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->O:I

    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->P:I

    .line 574
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->Q:Z

    const/4 v1, -0x1

    .line 631
    iput v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->T:I

    .line 632
    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->U:I

    .line 633
    new-instance v1, Lcom/moji/mjweather/weather/WeatherPageView$10;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/weather/WeatherPageView$10;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

    iput-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->V:Landroid/widget/AbsListView$OnScrollListener;

    .line 1043
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->W:Z

    .line 1165
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->aa:Z

    .line 117
    invoke-virtual {p0, p1}, Lcom/moji/mjweather/weather/WeatherPageView;->a(Landroid/content/Context;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    .line 121
    invoke-direct {p0, p1, p2}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const/4 p2, 0x0

    .line 96
    iput p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->q:I

    .line 97
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->r:Z

    .line 98
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->s:Z

    const/high16 v0, 0x3f800000    # 1.0f

    .line 101
    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->t:F

    .line 103
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->v:Z

    .line 106
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->x:Z

    .line 108
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->y:Z

    .line 503
    iput p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    .line 504
    iput p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->M:I

    iput p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->N:I

    .line 505
    iput p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->O:I

    iput p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->P:I

    .line 574
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->Q:Z

    const/4 v0, -0x1

    .line 631
    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->T:I

    .line 632
    iput p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->U:I

    .line 633
    new-instance v0, Lcom/moji/mjweather/weather/WeatherPageView$10;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/weather/WeatherPageView$10;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->V:Landroid/widget/AbsListView$OnScrollListener;

    .line 1043
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->W:Z

    .line 1165
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->aa:Z

    .line 122
    invoke-virtual {p0, p1}, Lcom/moji/mjweather/weather/WeatherPageView;->a(Landroid/content/Context;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    .line 126
    invoke-direct {p0, p1, p2, p3}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    const/4 p2, 0x0

    .line 96
    iput p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->q:I

    .line 97
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->r:Z

    .line 98
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->s:Z

    const/high16 p3, 0x3f800000    # 1.0f

    .line 101
    iput p3, p0, Lcom/moji/mjweather/weather/WeatherPageView;->t:F

    .line 103
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->v:Z

    .line 106
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->x:Z

    .line 108
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->y:Z

    .line 503
    iput p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    .line 504
    iput p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->M:I

    iput p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->N:I

    .line 505
    iput p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->O:I

    iput p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->P:I

    .line 574
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->Q:Z

    const/4 p3, -0x1

    .line 631
    iput p3, p0, Lcom/moji/mjweather/weather/WeatherPageView;->T:I

    .line 632
    iput p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->U:I

    .line 633
    new-instance p3, Lcom/moji/mjweather/weather/WeatherPageView$10;

    invoke-direct {p3, p0}, Lcom/moji/mjweather/weather/WeatherPageView$10;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

    iput-object p3, p0, Lcom/moji/mjweather/weather/WeatherPageView;->V:Landroid/widget/AbsListView$OnScrollListener;

    .line 1043
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->W:Z

    .line 1165
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->aa:Z

    .line 127
    invoke-virtual {p0, p1}, Lcom/moji/mjweather/weather/WeatherPageView;->a(Landroid/content/Context;)V

    return-void
.end method

.method private K()V
    .locals 8

    const v0, 0x7f0e0349

    .line 330
    invoke-static {v0}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;

    move-result-object v0

    const v1, 0x7f0e034a

    .line 331
    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;

    move-result-object v1

    const v2, 0x7f0e0352

    .line 332
    invoke-static {v2}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x2

    new-array v3, v3, [Ljava/lang/Object;

    const/4 v4, 0x0

    aput-object v0, v3, v4

    const/4 v0, 0x1

    aput-object v1, v3, v0

    invoke-static {v2, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    .line 333
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v1

    if-eqz v1, :cond_1

    .line 334
    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v1}, Lcom/moji/dialog/MJDialog;->isShowing()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 335
    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v1}, Lcom/moji/dialog/MJDialog;->dismiss()V

    .line 338
    :cond_0
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v1

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

    move-result-object v1

    const v2, 0x7f0b0270

    const/4 v3, 0x0

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

    move-result-object v1

    const v2, 0x7f09069f

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

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    const v3, 0x7f09069e

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

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    const v5, 0x7f09069c

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

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    const v6, 0x7f09069b

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

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    const v7, 0x7f0e0347

    .line 344
    invoke-virtual {v2, v7}, Landroid/widget/TextView;->setText(I)V

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

    const v0, 0x7f0e0627

    .line 346
    invoke-virtual {v5, v0}, Landroid/widget/TextView;->setText(I)V

    const v0, 0x7f0e0022

    .line 347
    invoke-virtual {v6, v0}, Landroid/widget/TextView;->setText(I)V

    .line 348
    new-instance v0, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v2

    invoke-direct {v0, v2}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a()Lcom/moji/dialog/MJDialog;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    .line 349
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v0, v1}, Lcom/moji/dialog/MJDialog;->setContentView(Landroid/view/View;)V

    .line 350
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v0, v4}, Lcom/moji/dialog/MJDialog;->setCancelable(Z)V

    .line 351
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v0, v4}, Lcom/moji/dialog/MJDialog;->setCanceledOnTouchOutside(Z)V

    .line 352
    new-instance v0, Lcom/moji/mjweather/weather/WeatherPageView$7;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/weather/WeatherPageView$7;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

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

    .line 361
    new-instance v0, Lcom/moji/mjweather/weather/WeatherPageView$8;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/weather/WeatherPageView$8;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

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

    .line 377
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->isFinishing()Z

    move-result v0

    if-nez v0, :cond_1

    .line 378
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->show()V

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

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->SETTING_SHOWS:Lcom/moji/statistics/EVENT_TAG;

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

    return-void
.end method

.method private L()V
    .locals 1

    .line 452
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a()V

    return-void
.end method

.method private M()V
    .locals 3

    .line 474
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getContext()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f0e0442

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    const-wide/16 v1, 0x3e8

    invoke-virtual {p0, v0, v1, v2}, Lcom/moji/mjweather/weather/WeatherPageView;->showLoading(Ljava/lang/String;J)V

    .line 475
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->h()Lcom/moji/common/area/AreaInfo;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 476
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->h()Lcom/moji/common/area/AreaInfo;

    move-result-object v0

    invoke-static {}, Lcom/moji/areamanagement/MJAreaManager;->a()Lcom/moji/common/area/AreaInfo;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/common/area/AreaInfo;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 477
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    const/4 v1, 0x0

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(ZLcom/moji/weatherprovider/update/WeatherUpdater$UPDATE_TYPE;)V

    :cond_0
    return-void
.end method

.method private N()V
    .locals 5

    .line 482
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->h()Lcom/moji/common/area/AreaInfo;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 483
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->h()Lcom/moji/common/area/AreaInfo;

    move-result-object v0

    invoke-static {}, Lcom/moji/areamanagement/MJAreaManager;->a()Lcom/moji/common/area/AreaInfo;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/common/area/AreaInfo;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 485
    invoke-static {}, Lcom/moji/weatherprovider/provider/WeatherProvider;->b()Lcom/moji/weatherprovider/provider/WeatherProvider;

    move-result-object v0

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v1

    invoke-virtual {v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->h()Lcom/moji/common/area/AreaInfo;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/weatherprovider/provider/WeatherProvider;->a(Lcom/moji/common/area/AreaInfo;)Lcom/moji/weatherprovider/data/Weather;

    move-result-object v0

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-eqz v0, :cond_0

    .line 487
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    const-wide/16 v3, 0xbb8

    invoke-virtual {v0, v2, v1, v3, v4}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(ZLcom/moji/weatherprovider/update/WeatherUpdater$UPDATE_TYPE;J)V

    goto :goto_0

    .line 489
    :cond_0
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {v0, v2, v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(ZLcom/moji/weatherprovider/update/WeatherUpdater$UPDATE_TYPE;)V

    :cond_1
    :goto_0
    return-void
.end method

.method private O()V
    .locals 2

    .line 509
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->V:Landroid/widget/AbsListView$OnScrollListener;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    .line 510
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->l:Lcom/moji/mjweather/weather/view/HomePageFrameLayout;

    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->V:Landroid/widget/AbsListView$OnScrollListener;

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/view/HomePageFrameLayout;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    .line 511
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->l:Lcom/moji/mjweather/weather/view/HomePageFrameLayout;

    new-instance v1, Lcom/moji/mjweather/weather/WeatherPageView$9;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/weather/WeatherPageView$9;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/view/HomePageFrameLayout;->setScrollerFinalListener(Lcom/moji/mjweather/weather/view/HomePageFrameLayout$ScrollerFinalListener;)V

    return-void
.end method

.method private P()V
    .locals 7

    .line 613
    iget-wide v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->R:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-nez v4, :cond_0

    return-void

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

    move-result-wide v0

    iget-wide v4, p0, Lcom/moji/mjweather/weather/WeatherPageView;->R:J

    sub-long/2addr v0, v4

    const-wide/16 v4, 0xc8

    cmp-long v6, v0, v4

    if-gez v6, :cond_1

    return-void

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

    move-result-object v4

    sget-object v5, Lcom/moji/statistics/EVENT_TAG;->FEEDS_CATEGORYL_DURATION:Lcom/moji/statistics/EVENT_TAG;

    const-string v6, "1"

    invoke-virtual {v4, v5, v6, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;J)Lcom/moji/statistics/EventManager;

    .line 621
    iput-wide v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->R:J

    return-void
.end method

.method private Q()V
    .locals 4

    .line 814
    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    const/4 v1, 0x1

    if-lt v0, v1, :cond_0

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    const/4 v1, 0x3

    if-gt v0, v1, :cond_0

    .line 815
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    sget-object v1, Lcom/moji/viewcontrol/CardType;->INDEX:Lcom/moji/viewcontrol/CardType;

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(Lcom/moji/viewcontrol/CardType;)Lcom/moji/mjweather/weather/control/MJWhetherViewControl;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/weather/control/WeatherIndexViewControl;

    if-eqz v0, :cond_0

    .line 817
    invoke-virtual {v0}, Lcom/moji/mjweather/weather/control/WeatherIndexViewControl;->getView()Landroid/view/View;

    move-result-object v1

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

    move-result v1

    const/4 v2, 0x2

    .line 818
    new-array v2, v2, [I

    .line 819
    invoke-virtual {v0}, Lcom/moji/mjweather/weather/control/WeatherIndexViewControl;->getView()Landroid/view/View;

    move-result-object v3

    .line 820
    invoke-virtual {v3, v2}, Landroid/view/View;->getLocationOnScreen([I)V

    .line 822
    invoke-virtual {v0}, Lcom/moji/mjweather/weather/control/WeatherIndexViewControl;->b()I

    move-result v0

    .line 823
    iget-object v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {v2}, Landroid/widget/ListView;->getFirstVisiblePosition()I

    move-result v2

    if-gt v2, v0, :cond_0

    iget-object v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {v2}, Landroid/widget/ListView;->getLastVisiblePosition()I

    move-result v2

    if-lt v2, v0, :cond_0

    int-to-float v0, v1

    iget v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->B:F

    add-float/2addr v0, v1

    iget v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->C:F

    add-float/2addr v0, v1

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

    move-result v1

    int-to-float v1, v1

    cmpg-float v0, v0, v1

    if-gez v0, :cond_0

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

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->WEATHER_INDEX_SHOW:Lcom/moji/statistics/EVENT_TAG;

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

    :cond_0
    return-void
.end method

.method private R()V
    .locals 5

    .line 847
    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    if-ltz v0, :cond_8

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    const/4 v1, 0x2

    if-gt v0, v1, :cond_8

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->F:I

    const/4 v1, 0x1

    if-lt v0, v1, :cond_8

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->F:I

    const/4 v2, 0x3

    if-gt v0, v2, :cond_8

    .line 848
    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->M:I

    const/4 v2, 0x0

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->N:I

    if-nez v0, :cond_2

    .line 849
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    sget-object v3, Lcom/moji/viewcontrol/CardType;->FORECAST_15_DAYS_24_HOURS:Lcom/moji/viewcontrol/CardType;

    invoke-virtual {v0, v3}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(Lcom/moji/viewcontrol/CardType;)Lcom/moji/mjweather/weather/control/MJWhetherViewControl;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/weather/control/WeatherForecastViewControl;

    if-eqz v0, :cond_2

    .line 851
    iget v3, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    if-nez v3, :cond_1

    .line 852
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getWeatherViewHeight()V

    .line 854
    :cond_1
    invoke-virtual {v0}, Lcom/moji/mjweather/weather/control/WeatherForecastViewControl;->a()[I

    move-result-object v0

    if-eqz v0, :cond_2

    .line 856
    aget v3, v0, v2

    iget v4, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    add-int/2addr v3, v4

    iput v3, p0, Lcom/moji/mjweather/weather/WeatherPageView;->M:I

    .line 857
    aget v0, v0, v1

    iget v3, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    add-int/2addr v0, v3

    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->N:I

    .line 861
    :cond_2
    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->O:I

    if-eqz v0, :cond_3

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->P:I

    if-nez v0, :cond_5

    .line 862
    :cond_3
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    sget-object v3, Lcom/moji/viewcontrol/CardType;->FORECAST_15_DAYS_24_HOURS:Lcom/moji/viewcontrol/CardType;

    invoke-virtual {v0, v3}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(Lcom/moji/viewcontrol/CardType;)Lcom/moji/mjweather/weather/control/MJWhetherViewControl;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/weather/control/WeatherForecastViewControl;

    if-eqz v0, :cond_5

    .line 864
    iget v3, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    if-nez v3, :cond_4

    .line 865
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getWeatherViewHeight()V

    .line 867
    :cond_4
    invoke-virtual {v0}, Lcom/moji/mjweather/weather/control/WeatherForecastViewControl;->c()[I

    move-result-object v0

    if-eqz v0, :cond_5

    .line 869
    aget v2, v0, v2

    iget v3, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    add-int/2addr v2, v3

    iput v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->O:I

    .line 870
    aget v0, v0, v1

    iget v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    add-int/2addr v0, v1

    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->P:I

    .line 874
    :cond_5
    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->M:I

    if-eqz v0, :cond_6

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->N:I

    if-eqz v0, :cond_6

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    if-eqz v0, :cond_6

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->G:I

    iget v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->N:I

    if-gt v0, v1, :cond_6

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->G:I

    iget v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->M:I

    iget v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    sub-int/2addr v1, v2

    if-lt v0, v1, :cond_6

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

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->WEATHER_24HOUR_SHOW:Lcom/moji/statistics/EVENT_TAG;

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

    .line 879
    :cond_6
    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->O:I

    if-eqz v0, :cond_7

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->P:I

    if-eqz v0, :cond_7

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    if-eqz v0, :cond_7

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->G:I

    iget v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->P:I

    if-gt v0, v1, :cond_7

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->G:I

    iget v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->O:I

    iget v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    sub-int/2addr v1, v2

    if-lt v0, v1, :cond_7

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

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->WEATHER_15DAYS_SHOW:Lcom/moji/statistics/EVENT_TAG;

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

    .line 884
    :cond_7
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->o()V

    :cond_8
    return-void
.end method

.method private S()V
    .locals 5

    .line 1023
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(Landroid/app/Activity;)Lcom/moji/mjweather/TabWeatherFragment;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/mjweather/TabWeatherFragment;->getChildFragmentManager()Landroid/support/v4/app/FragmentManager;

    move-result-object v0

    .line 1024
    new-instance v1, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v2

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v3

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getCityArea()Lcom/moji/common/area/AreaInfo;

    move-result-object v4

    invoke-direct {v1, v2, v0, v3, v4}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;-><init>(Landroid/content/Context;Landroid/support/v4/app/FragmentManager;Lcom/moji/mjweather/weather/WeatherPagePresenter;Lcom/moji/common/area/AreaInfo;)V

    iput-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    .line 1025
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 1026
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->m:Landroid/widget/ImageView;

    new-instance v1, Lcom/moji/mjweather/weather/WeatherPageView$12;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/weather/WeatherPageView$12;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

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

    return-void
.end method

.method private T()V
    .locals 2

    .line 1295
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->a:Lcom/moji/mjweather/weather/WeatherPagePresenter;

    if-eqz v0, :cond_0

    return-void

    .line 1296
    :cond_0
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "mPresenter can nor be null,please init it in instancePresenter method"

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

    throw v0
.end method

.method private a(Lcom/moji/mjweather/TabWeatherFragment;)V
    .locals 0

    .line 386
    invoke-virtual {p1}, Lcom/moji/mjweather/TabWeatherFragment;->s()V

    return-void
.end method

.method private a(Lcom/moji/mjweather/TabWeatherFragment;F)V
    .locals 0

    .line 956
    invoke-virtual {p1, p2}, Lcom/moji/mjweather/TabWeatherFragment;->b(F)V

    .line 959
    invoke-virtual {p1, p2}, Lcom/moji/mjweather/TabWeatherFragment;->e(F)V

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/weather/WeatherPageView;)V
    .locals 0

    .line 83
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->M()V

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/weather/WeatherPageView;I)V
    .locals 0

    .line 83
    invoke-direct {p0, p1}, Lcom/moji/mjweather/weather/WeatherPageView;->b(I)V

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/weather/WeatherPageView;IZ)V
    .locals 0

    .line 83
    invoke-direct {p0, p1, p2}, Lcom/moji/mjweather/weather/WeatherPageView;->b(IZ)V

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/weather/WeatherPageView;ZI)V
    .locals 0

    .line 83
    invoke-direct {p0, p1, p2}, Lcom/moji/mjweather/weather/WeatherPageView;->a(ZI)V

    return-void
.end method

.method private a(ZI)V
    .locals 4

    .line 748
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->p:Lcom/moji/preferences/ProcessPrefer;

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(I)V

    if-nez p1, :cond_0

    .line 750
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->R()V

    .line 752
    :cond_0
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->Q()V

    if-eqz p1, :cond_1

    if-lez p2, :cond_1

    .line 754
    new-instance v0, Lcom/moji/mjweather/weather/WeatherPageView$11;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/weather/WeatherPageView$11;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

    int-to-long v2, p2

    invoke-virtual {p0, v0, v2, v3}, Lcom/moji/mjweather/weather/WeatherPageView;->postDelayed(Ljava/lang/Runnable;J)Z

    goto :goto_0

    .line 763
    :cond_1
    iget p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    const/4 v0, 0x1

    invoke-direct {p0, p2, v0}, Lcom/moji/mjweather/weather/WeatherPageView;->b(IZ)V

    :goto_0
    if-nez p1, :cond_2

    .line 766
    iget-object p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    iget p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->F:I

    iget-boolean v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->w:Z

    invoke-virtual {p1, p2, v0, v2}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(IIZ)V

    .line 768
    :cond_2
    iget p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->T:I

    if-ltz p1, :cond_4

    iget p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->q:I

    iget p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->T:I

    if-eq p1, p2, :cond_4

    .line 770
    :try_start_0
    iget p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->q:I

    iget p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->T:I

    if-le p1, p2, :cond_3

    .line 771
    new-instance p1, Lorg/json/JSONObject;

    invoke-direct {p1}, Lorg/json/JSONObject;-><init>()V

    const-string p2, "property1"

    const-string v0, "0"

    .line 772
    invoke-virtual {p1, p2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

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

    move-result-object p2

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

    iget v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->q:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p2, v0, v2, p1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;Lorg/json/JSONObject;)Lcom/moji/statistics/EventManager;

    goto :goto_1

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

    move-result-object p1

    sget-object p2, Lcom/moji/statistics/EVENT_TAG;->WEATHER_SLIDE_TO_DOWN:Lcom/moji/statistics/EVENT_TAG;

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->q:I

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, p2, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception p1

    const-string p2, "WeatherPageFragment"

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

    .line 780
    :goto_1
    iput v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->T:I

    :cond_4
    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/weather/WeatherPageView;Z)Z
    .locals 0

    .line 83
    iput-boolean p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->W:Z

    return p1
.end method

.method private a([Ljava/lang/String;Lcom/moji/mjweather/TabWeatherFragment;)Z
    .locals 8

    const/4 v0, 0x0

    .line 314
    :try_start_0
    array-length v1, p1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    const/4 v2, 0x0

    const/4 v3, 0x0

    :goto_0
    if-ge v2, v1, :cond_3

    :try_start_1
    aget-object v4, p1, v2

    const-string v5, "android.permission.ACCESS_FINE_LOCATION"

    .line 315
    invoke-virtual {v4, v5}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v5

    const/4 v6, 0x1

    if-eqz v5, :cond_0

    invoke-static {}, Lcom/moji/tool/permission/EasyPermissions;->a()Z

    move-result v5

    if-eqz v5, :cond_0

    .line 316
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v5

    invoke-static {v4}, Lcom/moji/tool/permission/EasyPermissions;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    invoke-static {v5, v7}, Lcom/moji/tool/permission/EasyPermissions;->a(Landroid/content/Context;Ljava/lang/String;)I

    move-result v5

    const/4 v7, 0x4

    if-ne v5, v7, :cond_0

    return v6

    :cond_0
    if-nez v3, :cond_2

    .line 321
    invoke-virtual {p2, v4}, Lcom/moji/mjweather/TabWeatherFragment;->shouldShowRequestPermissionRationale(Ljava/lang/String;)Z

    move-result v4
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    if-eqz v4, :cond_1

    goto :goto_1

    :cond_1
    const/4 v3, 0x0

    goto :goto_2

    :cond_2
    :goto_1
    const/4 v3, 0x1

    :goto_2
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :catch_0
    move-exception p1

    goto :goto_3

    :catch_1
    move-exception p1

    const/4 v3, 0x0

    :goto_3
    const-string p2, "WeatherPageFragment"

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

    :cond_3
    return v3
.end method

.method static synthetic b(Lcom/moji/mjweather/weather/WeatherPageView;I)I
    .locals 0

    .line 83
    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->H:I

    return p1
.end method

.method static synthetic b(Lcom/moji/mjweather/weather/WeatherPageView;)Lcom/moji/dialog/MJDialog;
    .locals 0

    .line 83
    iget-object p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    return-object p0
.end method

.method private b(I)V
    .locals 4

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

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->CITY_PROMPT_SETTING:Lcom/moji/statistics/EVENT_TAG;

    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, ""

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

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

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

    move-result-object p1

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

    return-void
.end method

.method private b(IZ)V
    .locals 3

    .line 899
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(Landroid/app/Activity;)Lcom/moji/mjweather/TabWeatherFragment;

    move-result-object v0

    .line 900
    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->p:Lcom/moji/preferences/ProcessPrefer;

    if-nez v1, :cond_0

    new-instance v1, Lcom/moji/preferences/ProcessPrefer;

    invoke-direct {v1}, Lcom/moji/preferences/ProcessPrefer;-><init>()V

    iput-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->p:Lcom/moji/preferences/ProcessPrefer;

    :cond_0
    if-eqz v0, :cond_4

    .line 901
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v1

    invoke-virtual {v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->h()Lcom/moji/common/area/AreaInfo;

    move-result-object v1

    if-eqz v1, :cond_4

    .line 902
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v1

    invoke-virtual {v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->h()Lcom/moji/common/area/AreaInfo;

    move-result-object v1

    invoke-static {}, Lcom/moji/areamanagement/MJAreaManager;->a()Lcom/moji/common/area/AreaInfo;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/moji/common/area/AreaInfo;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 903
    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    if-eqz v1, :cond_4

    .line 904
    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object v1

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

    move-result v1

    if-eqz p2, :cond_1

    .line 906
    invoke-virtual {v0, p0, p1, v1}, Lcom/moji/mjweather/TabWeatherFragment;->a(Lcom/moji/mjweather/weather/WeatherPageView;II)V

    .line 908
    :cond_1
    invoke-direct {p0, p1, v1}, Lcom/moji/mjweather/weather/WeatherPageView;->c(II)F

    move-result p2

    const/4 v1, 0x0

    if-nez p1, :cond_2

    cmpg-float v2, v1, p2

    if-gtz v2, :cond_2

    const/high16 v2, 0x3f800000    # 1.0f

    cmpg-float v2, p2, v2

    if-gtz v2, :cond_2

    .line 911
    invoke-direct {p0, p2}, Lcom/moji/mjweather/weather/WeatherPageView;->setAvatarAlpha(F)V

    .line 912
    invoke-direct {p0, v0, p2}, Lcom/moji/mjweather/weather/WeatherPageView;->a(Lcom/moji/mjweather/TabWeatherFragment;F)V

    .line 913
    invoke-direct {p0, p2}, Lcom/moji/mjweather/weather/WeatherPageView;->setTitleAdAlpha(F)V

    .line 916
    invoke-virtual {v0, p2}, Lcom/moji/mjweather/TabWeatherFragment;->c(F)V

    goto :goto_0

    :cond_2
    const/high16 v2, 0x40000000    # 2.0f

    cmpl-float v2, p2, v2

    if-ltz v2, :cond_3

    .line 918
    invoke-virtual {v0, p2}, Lcom/moji/mjweather/TabWeatherFragment;->c(F)V

    goto :goto_0

    .line 920
    :cond_3
    invoke-virtual {v0, p2}, Lcom/moji/mjweather/TabWeatherFragment;->c(F)V

    :goto_0
    if-eqz p1, :cond_4

    .line 924
    invoke-direct {p0, v0, v1}, Lcom/moji/mjweather/weather/WeatherPageView;->a(Lcom/moji/mjweather/TabWeatherFragment;F)V

    .line 925
    invoke-direct {p0, v1}, Lcom/moji/mjweather/weather/WeatherPageView;->setAvatarAlpha(F)V

    :cond_4
    return-void
.end method

.method static synthetic b(Lcom/moji/mjweather/weather/WeatherPageView;Z)Z
    .locals 0

    .line 83
    iput-boolean p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->v:Z

    return p1
.end method

.method private c(II)F
    .locals 3

    if-lez p2, :cond_0

    const/high16 p1, -0x40800000    # -1.0f

    return p1

    :cond_0
    const/4 v0, 0x0

    if-nez p1, :cond_3

    .line 980
    iget-object p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    const/high16 v1, 0x3f800000    # 1.0f

    if-eqz p1, :cond_2

    iget-object p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    const/4 v2, 0x0

    invoke-virtual {p1, v2}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object p1

    if-eqz p1, :cond_2

    iget-object p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {p1, v2}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I

    move-result p1

    if-nez p1, :cond_1

    goto :goto_0

    :cond_1
    int-to-float p1, p2

    .line 982
    iget-object p2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {p2, v2}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object p2

    invoke-virtual {p2}, Landroid/view/View;->getMeasuredHeight()I

    move-result p2

    int-to-float p2, p2

    iget v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->z:I

    int-to-float v2, v2

    sub-float/2addr p2, v2

    div-float/2addr p1, p2

    invoke-static {p1}, Ljava/lang/Math;->abs(F)F

    move-result p1

    sub-float p1, v1, p1

    goto :goto_1

    :cond_2
    :goto_0
    return v1

    .line 984
    :cond_3
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getFeedsAlpha()F

    move-result p1

    const/high16 p2, 0x40000000    # 2.0f

    cmpl-float p2, p1, p2

    if-ltz p2, :cond_4

    goto :goto_1

    :cond_4
    const/4 p1, 0x0

    :goto_1
    cmpg-float p2, p1, v0

    if-gez p2, :cond_5

    const/4 p1, 0x0

    :cond_5
    return p1
.end method

.method static synthetic c(Lcom/moji/mjweather/weather/WeatherPageView;)I
    .locals 0

    .line 83
    iget p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->H:I

    return p0
.end method

.method static synthetic c(Lcom/moji/mjweather/weather/WeatherPageView;I)I
    .locals 0

    .line 83
    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->I:I

    return p1
.end method

.method static synthetic d(Lcom/moji/mjweather/weather/WeatherPageView;)I
    .locals 0

    .line 83
    iget p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->I:I

    return p0
.end method

.method static synthetic d(Lcom/moji/mjweather/weather/WeatherPageView;I)I
    .locals 0

    .line 83
    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->S:I

    return p1
.end method

.method static synthetic e(Lcom/moji/mjweather/weather/WeatherPageView;I)I
    .locals 0

    .line 83
    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    return p1
.end method

.method static synthetic e(Lcom/moji/mjweather/weather/WeatherPageView;)Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;
    .locals 0

    .line 83
    iget-object p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    return-object p0
.end method

.method static synthetic f(Lcom/moji/mjweather/weather/WeatherPageView;)I
    .locals 0

    .line 83
    iget p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->G:I

    return p0
.end method

.method static synthetic f(Lcom/moji/mjweather/weather/WeatherPageView;I)I
    .locals 0

    .line 83
    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->F:I

    return p1
.end method

.method static synthetic g(Lcom/moji/mjweather/weather/WeatherPageView;I)I
    .locals 0

    .line 83
    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    return p1
.end method

.method static synthetic g(Lcom/moji/mjweather/weather/WeatherPageView;)Lcom/moji/mjweather/weather/view/HomePageFrameLayout;
    .locals 0

    .line 83
    iget-object p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->l:Lcom/moji/mjweather/weather/view/HomePageFrameLayout;

    return-object p0
.end method

.method private getFeedRootView()Landroid/view/View;
    .locals 2

    .line 797
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->getCount()I

    move-result v0

    const/4 v1, 0x3

    if-le v0, v1, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    .line 798
    invoke-virtual {v0}, Landroid/widget/ListView;->getFirstVisiblePosition()I

    move-result v0

    const/4 v1, 0x1

    if-le v0, v1, :cond_0

    .line 799
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    sget-object v1, Lcom/moji/viewcontrol/CardType;->FEEDS_LIST:Lcom/moji/viewcontrol/CardType;

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(Lcom/moji/viewcontrol/CardType;)Lcom/moji/mjweather/weather/control/MJWhetherViewControl;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 800
    invoke-virtual {v0}, Lcom/moji/mjweather/weather/control/MJWhetherViewControl;->getView()Landroid/view/View;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/control/MJWhetherViewControl;->getView()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 801
    invoke-virtual {v0}, Lcom/moji/mjweather/weather/control/MJWhetherViewControl;->getView()Landroid/view/View;

    move-result-object v0

    return-object v0

    :cond_0
    const/4 v0, 0x0

    return-object v0
.end method

.method private getFeedsAlpha()F
    .locals 4

    .line 936
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getVisibility()I

    move-result v0

    const/high16 v1, 0x3f800000    # 1.0f

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->h()Lcom/moji/common/area/AreaInfo;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 937
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->h()Lcom/moji/common/area/AreaInfo;

    move-result-object v0

    invoke-static {}, Lcom/moji/areamanagement/MJAreaManager;->a()Lcom/moji/common/area/AreaInfo;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/moji/common/area/AreaInfo;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    .line 938
    invoke-virtual {v0}, Landroid/widget/ListView;->getChildCount()I

    move-result v0

    if-lez v0, :cond_1

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->getCount()I

    move-result v0

    const/4 v2, 0x3

    if-le v0, v2, :cond_1

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getLastVisiblePosition()I

    move-result v0

    iget-object v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v2}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->getCount()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    if-ne v0, v2, :cond_1

    .line 939
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    sget-object v2, Lcom/moji/viewcontrol/CardType;->FEEDS_LIST:Lcom/moji/viewcontrol/CardType;

    invoke-virtual {v0, v2}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(Lcom/moji/viewcontrol/CardType;)Lcom/moji/mjweather/weather/control/MJWhetherViewControl;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 941
    invoke-virtual {v0}, Lcom/moji/mjweather/weather/control/MJWhetherViewControl;->getView()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 942
    invoke-static {v0}, Landroid/support/v4/view/ViewCompat;->isAttachedToWindow(Landroid/view/View;)Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v2

    if-eqz v2, :cond_1

    .line 943
    invoke-virtual {v0}, Landroid/view/View;->getTop()I

    move-result v2

    int-to-float v2, v2

    iget v3, p0, Lcom/moji/mjweather/weather/WeatherPageView;->A:F

    cmpl-float v2, v2, v3

    if-lez v2, :cond_0

    return v1

    .line 946
    :cond_0
    invoke-virtual {v0}, Landroid/view/View;->getTop()I

    move-result v0

    int-to-float v0, v0

    iget v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->A:F

    div-float/2addr v0, v1

    const/high16 v1, 0x40000000    # 2.0f

    add-float/2addr v0, v1

    return v0

    :cond_1
    return v1
.end method

.method private getFeedsLast()I
    .locals 2

    .line 785
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {v1}, Landroid/widget/ListView;->getChildCount()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object v0

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

    move-result v0

    return v0
.end method

.method private getLowJudge()V
    .locals 2

    .line 740
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    sget-object v1, Lcom/moji/viewcontrol/CardType;->CONDITION:Lcom/moji/viewcontrol/CardType;

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(Lcom/moji/viewcontrol/CardType;)Lcom/moji/mjweather/weather/control/MJWhetherViewControl;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/weather/control/WeatherShorterAndInfoViewControl;

    if-eqz v0, :cond_0

    .line 742
    invoke-virtual {v0}, Lcom/moji/mjweather/weather/control/WeatherShorterAndInfoViewControl;->c()I

    move-result v0

    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->J:I

    :cond_0
    return-void
.end method

.method private getTotalScroll()V
    .locals 3

    .line 1074
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    if-eqz v0, :cond_0

    .line 1075
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getFirstVisiblePosition()I

    move-result v0

    .line 1076
    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 1077
    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v1, v0}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(I)I

    move-result v0

    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object v1

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

    move-result v1

    sub-int/2addr v0, v1

    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->G:I

    :cond_0
    return-void
.end method

.method private getWeatherViewHeight()V
    .locals 2

    .line 889
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    sget-object v1, Lcom/moji/viewcontrol/CardType;->CONDITION:Lcom/moji/viewcontrol/CardType;

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(Lcom/moji/viewcontrol/CardType;)Lcom/moji/mjweather/weather/control/MJWhetherViewControl;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/weather/control/WeatherShorterAndInfoViewControl;

    if-eqz v0, :cond_0

    .line 891
    invoke-virtual {v0}, Lcom/moji/mjweather/weather/control/WeatherShorterAndInfoViewControl;->getView()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 893
    invoke-virtual {v0}, Landroid/view/View;->getHeight()I

    move-result v0

    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->L:I

    :cond_0
    return-void
.end method

.method static synthetic h(Lcom/moji/mjweather/weather/WeatherPageView;I)I
    .locals 0

    .line 83
    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->K:I

    return p1
.end method

.method static synthetic h(Lcom/moji/mjweather/weather/WeatherPageView;)V
    .locals 0

    .line 83
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getTotalScroll()V

    return-void
.end method

.method static synthetic i(Lcom/moji/mjweather/weather/WeatherPageView;)I
    .locals 0

    .line 83
    iget p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->J:I

    return p0
.end method

.method static synthetic i(Lcom/moji/mjweather/weather/WeatherPageView;I)I
    .locals 0

    .line 83
    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->U:I

    return p1
.end method

.method static synthetic j(Lcom/moji/mjweather/weather/WeatherPageView;I)I
    .locals 0

    .line 83
    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->T:I

    return p1
.end method

.method static synthetic j(Lcom/moji/mjweather/weather/WeatherPageView;)V
    .locals 0

    .line 83
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getLowJudge()V

    return-void
.end method

.method static synthetic k(Lcom/moji/mjweather/weather/WeatherPageView;)I
    .locals 0

    .line 83
    iget p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->K:I

    return p0
.end method

.method static synthetic k(Lcom/moji/mjweather/weather/WeatherPageView;I)I
    .locals 0

    .line 83
    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->q:I

    return p1
.end method

.method static synthetic l(Lcom/moji/mjweather/weather/WeatherPageView;)I
    .locals 0

    .line 83
    iget p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->U:I

    return p0
.end method

.method static synthetic m(Lcom/moji/mjweather/weather/WeatherPageView;)F
    .locals 0

    .line 83
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getFeedsAlpha()F

    move-result p0

    return p0
.end method

.method static synthetic n(Lcom/moji/mjweather/weather/WeatherPageView;)I
    .locals 0

    .line 83
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getFeedsLast()I

    move-result p0

    return p0
.end method

.method static synthetic o(Lcom/moji/mjweather/weather/WeatherPageView;)I
    .locals 0

    .line 83
    iget p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->T:I

    return p0
.end method

.method static synthetic p(Lcom/moji/mjweather/weather/WeatherPageView;)I
    .locals 0

    .line 83
    iget p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->q:I

    return p0
.end method

.method static synthetic q(Lcom/moji/mjweather/weather/WeatherPageView;)Z
    .locals 0

    .line 83
    iget-boolean p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->w:Z

    return p0
.end method

.method static synthetic r(Lcom/moji/mjweather/weather/WeatherPageView;)Landroid/widget/ListView;
    .locals 0

    .line 83
    iget-object p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    return-object p0
.end method

.method static synthetic s(Lcom/moji/mjweather/weather/WeatherPageView;)I
    .locals 0

    .line 83
    iget p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    return p0
.end method

.method private setAvatarAlpha(F)V
    .locals 2

    const/4 v0, 0x0

    cmpl-float v0, p1, v0

    if-ltz v0, :cond_2

    const/high16 v0, 0x3f800000    # 1.0f

    cmpg-float v0, p1, v0

    if-lez v0, :cond_0

    goto :goto_0

    .line 1001
    :cond_0
    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->t:F

    .line 1002
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->b()Lcom/moji/mjweather/weather/control/WeatherShorterAndInfoViewControl;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 1003
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->b()Lcom/moji/mjweather/weather/control/WeatherShorterAndInfoViewControl;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/weather/control/WeatherShorterAndInfoViewControl;->b(F)V

    .line 1005
    :cond_1
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(Landroid/app/Activity;)Lcom/moji/mjweather/TabWeatherFragment;

    move-result-object v0

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

    return-void

    :cond_2
    :goto_0
    return-void
.end method

.method private setTitleAdAlpha(F)V
    .locals 2

    .line 932
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(Landroid/app/Activity;)Lcom/moji/mjweather/TabWeatherFragment;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/TabWeatherFragment;->d(F)V

    return-void
.end method

.method static synthetic t(Lcom/moji/mjweather/weather/WeatherPageView;)I
    .locals 0

    .line 83
    iget p0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->F:I

    return p0
.end method


# virtual methods
.method public A()V
    .locals 2

    .line 1395
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getFirstVisiblePosition()I

    move-result v0

    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    .line 1396
    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    const/4 v1, 0x0

    invoke-direct {p0, v0, v1}, Lcom/moji/mjweather/weather/WeatherPageView;->b(IZ)V

    return-void
.end method

.method public a()V
    .locals 1

    .line 1096
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->o:Z

    if-eqz v0, :cond_0

    .line 1097
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->g()V

    :cond_0
    return-void
.end method

.method public a(I)V
    .locals 14

    .line 1206
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_4

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    if-nez v0, :cond_0

    goto/16 :goto_1

    :cond_0
    const/4 v0, 0x2

    const v1, 0x7f0e01b2

    if-eq p1, v0, :cond_3

    const/4 v0, 0x7

    if-eq p1, v0, :cond_2

    const/16 v0, 0xe

    if-eq p1, v0, :cond_1

    goto :goto_0

    :cond_1
    const v3, 0x7f0804e0

    .line 1227
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    const v0, 0x7f0e0a8a

    invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v4

    const-string v5, ""

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    invoke-virtual {p1, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v6

    new-instance v7, Lcom/moji/mjweather/weather/WeatherPageView$16;

    invoke-direct {v7, p0}, Lcom/moji/mjweather/weather/WeatherPageView$16;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

    move-object v2, p0

    invoke-virtual/range {v2 .. v7}, Lcom/moji/mjweather/weather/WeatherPageView;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/view/View$OnClickListener;)V

    goto :goto_0

    :cond_2
    const v9, 0x7f0804e0

    .line 1219
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    const v0, 0x7f0e0a8c

    invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v10

    const-string v11, ""

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    invoke-virtual {p1, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v12

    new-instance v13, Lcom/moji/mjweather/weather/WeatherPageView$15;

    invoke-direct {v13, p0}, Lcom/moji/mjweather/weather/WeatherPageView$15;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

    move-object v8, p0

    invoke-virtual/range {v8 .. v13}, Lcom/moji/mjweather/weather/WeatherPageView;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/view/View$OnClickListener;)V

    goto :goto_0

    :cond_3
    const p1, 0x7f0804e0

    .line 1211
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v2, 0x7f0e0a8b

    invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    const-string v3, ""

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v4

    new-instance v5, Lcom/moji/mjweather/weather/WeatherPageView$14;

    invoke-direct {v5, p0}, Lcom/moji/mjweather/weather/WeatherPageView$14;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

    move-object v0, p0

    move v1, p1

    invoke-virtual/range {v0 .. v5}, Lcom/moji/mjweather/weather/WeatherPageView;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/view/View$OnClickListener;)V

    :goto_0
    return-void

    :cond_4
    :goto_1
    return-void
.end method

.method public a(Landroid/content/Context;)V
    .locals 2

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

    move-result-object p1

    const/4 v0, 0x1

    const v1, 0x7f0b0144

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

    move-result-object p1

    .line 133
    invoke-virtual {p0, v0}, Lcom/moji/mjweather/weather/WeatherPageView;->setLightMode(Z)V

    .line 134
    new-instance v0, Lcom/moji/mjweather/weather/WeatherPageView$1;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/weather/WeatherPageView$1;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

    invoke-virtual {p0, v0}, Lcom/moji/mjweather/weather/WeatherPageView;->setOnRetryClickListener(Landroid/view/View$OnClickListener;)V

    .line 140
    new-instance v0, Lcom/moji/mjweather/weather/WeatherPageView$2;

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/moji/mjweather/weather/WeatherPageView$2;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;Landroid/content/Context;)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    .line 146
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    new-instance v1, Lcom/moji/mjweather/me/MultipleStatusLayoutImpl;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/me/MultipleStatusLayoutImpl;-><init>(Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;)V

    invoke-virtual {v0, v1}, Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;->a(Lcom/moji/mvpframe/delegate/IStatusLoad;)V

    .line 147
    new-instance v0, Lcom/moji/mjweather/weather/WeatherPagePresenter;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/weather/WeatherPagePresenter;-><init>(Lcom/moji/mjweather/weather/IWeatherPageView;)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->a:Lcom/moji/mjweather/weather/WeatherPagePresenter;

    .line 148
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->T()V

    .line 149
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->l_()V

    .line 150
    invoke-virtual {p0, p1}, Lcom/moji/mjweather/weather/WeatherPageView;->setUpOnCreateView(Landroid/view/View;)V

    .line 151
    invoke-super {p0}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->onFinishInflate()V

    return-void
.end method

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

    const-string v0, "WeatherPageFragment"

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

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

    const-string v2, "WeatherPageView clearCurrDataSetLoading :"

    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;->c(Ljava/lang/String;Ljava/lang/String;)V

    .line 442
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(Lcom/moji/common/area/AreaInfo;)V

    .line 443
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->L()V

    .line 444
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object p1

    invoke-virtual {p1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->i()Z

    move-result p1

    iput-boolean p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->y:Z

    .line 445
    iget-boolean p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->y:Z

    if-nez p1, :cond_0

    .line 446
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getContext()Landroid/content/Context;

    move-result-object p1

    const v0, 0x7f0e0442

    invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p1

    const-wide/16 v0, 0x3e8

    invoke-virtual {p0, p1, v0, v1}, Lcom/moji/mjweather/weather/WeatherPageView;->showLoading(Ljava/lang/String;J)V

    .line 448
    :cond_0
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->N()V

    return-void
.end method

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

    const-string v0, "WeatherPageFragment"

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

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

    const-string v2, "WeatherPageView bindingCityID :"

    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;->c(Ljava/lang/String;Ljava/lang/String;)V

    .line 423
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(Lcom/moji/common/area/AreaInfo;)V

    .line 424
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(Lcom/moji/common/area/AreaInfo;)V

    .line 425
    iget-object p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {p1, v0}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 426
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object p1

    invoke-virtual {p1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->k()Lcom/moji/weatherprovider/data/Weather;

    move-result-object p1

    if-eqz p1, :cond_0

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

    move-result-object v0

    iget-object v1, p1, Lcom/moji/weatherprovider/data/Weather;->mDetail:Lcom/moji/weatherprovider/data/Detail;

    iget-object v1, v1, Lcom/moji/weatherprovider/data/Detail;->mCondition:Lcom/moji/weatherprovider/data/Condition;

    iget v1, v1, Lcom/moji/weatherprovider/data/Condition;->mIcon:I

    iget-object p1, p1, Lcom/moji/weatherprovider/data/Weather;->mDetail:Lcom/moji/weatherprovider/data/Detail;

    invoke-virtual {p1}, Lcom/moji/weatherprovider/data/Detail;->isDay()Z

    move-result p1

    invoke-virtual {v0, v1, p1}, Lcom/moji/weathersence/MJSceneManager;->c(IZ)V

    :cond_0
    if-eqz p2, :cond_1

    .line 431
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->L()V

    .line 433
    :cond_1
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object p1

    invoke-virtual {p1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->i()Z

    move-result p1

    iput-boolean p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->y:Z

    .line 434
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->g()Z

    move-result p1

    if-eqz p1, :cond_2

    iget-boolean p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->y:Z

    if-nez p1, :cond_3

    if-eqz p2, :cond_3

    .line 435
    :cond_2
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getContext()Landroid/content/Context;

    move-result-object p1

    const p2, 0x7f0e0442

    invoke-virtual {p1, p2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p1

    const-wide/16 v0, 0x3e8

    invoke-virtual {p0, p1, v0, v1}, Lcom/moji/mjweather/weather/WeatherPageView;->showLoading(Ljava/lang/String;J)V

    .line 437
    :cond_3
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->N()V

    return-void
.end method

.method public a(Lcom/moji/mjad/enumdata/GDTVideoControlType;)V
    .locals 1

    .line 1198
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    if-eqz v0, :cond_0

    .line 1199
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(Lcom/moji/mjad/enumdata/GDTVideoControlType;)V

    :cond_0
    return-void
.end method

.method public a(Lcom/moji/mjweather/weather/WeatherPageView;II)V
    .locals 0

    if-eq p0, p1, :cond_0

    .line 1064
    iget-object p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    if-eqz p1, :cond_0

    const/4 p1, 0x1

    .line 1065
    iput-boolean p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->v:Z

    .line 1066
    iget-object p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {p1, p2, p3}, Landroid/widget/ListView;->setSelectionFromTop(II)V

    .line 1067
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getTotalScroll()V

    .line 1068
    invoke-direct {p0, p2, p3}, Lcom/moji/mjweather/weather/WeatherPageView;->c(II)F

    move-result p1

    invoke-direct {p0, p1}, Lcom/moji/mjweather/weather/WeatherPageView;->setAvatarAlpha(F)V

    :cond_0
    return-void
.end method

.method public a(Lcom/moji/mjweather/weather/adapter/WeatherListAdapter$WeatherShareImgListener;)V
    .locals 1

    .line 1102
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(Lcom/moji/mjweather/weather/adapter/WeatherListAdapter$WeatherShareImgListener;)V

    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/moji/http/fdsapi/entity/cards/BaseCard;",
            ">;)V"
        }
    .end annotation

    .line 1089
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    if-eqz v0, :cond_0

    .line 1090
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(Ljava/util/List;)V

    :cond_0
    return-void
.end method

.method public a(Z)V
    .locals 1

    .line 1046
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    if-eqz v0, :cond_0

    if-eqz p1, :cond_0

    .line 1048
    iget-object p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    new-instance v0, Lcom/moji/mjweather/weather/WeatherPageView$13;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/weather/WeatherPageView$13;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

    invoke-virtual {p1, v0}, Landroid/widget/ListView;->post(Ljava/lang/Runnable;)Z

    :cond_0
    return-void
.end method

.method public a(ZLcom/moji/weatherprovider/update/WeatherUpdater$UPDATE_TYPE;)V
    .locals 1

    .line 1040
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(ZLcom/moji/weatherprovider/update/WeatherUpdater$UPDATE_TYPE;)V

    return-void
.end method

.method public b()V
    .locals 1

    const/4 v0, 0x0

    .line 304
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->x:Z

    .line 305
    invoke-super {p0}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->b()V

    return-void
.end method

.method public b(Lcom/moji/common/area/AreaInfo;)V
    .locals 2

    .line 837
    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    if-nez v0, :cond_1

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->F:I

    const/4 v1, 0x1

    if-gt v0, v1, :cond_1

    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->G:I

    if-nez v0, :cond_1

    .line 838
    iget-boolean p1, p1, Lcom/moji/common/area/AreaInfo;->isLocation:Z

    if-eqz p1, :cond_0

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

    move-result-object p1

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

    const/4 v1, 0x0

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

    move-result-object v1

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

    goto :goto_0

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

    move-result-object p1

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

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

    move-result-object v1

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

    :cond_1
    :goto_0
    return-void
.end method

.method public b(Z)V
    .locals 3

    .line 1192
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    if-eqz v0, :cond_0

    .line 1193
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    iget v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    iget v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->F:I

    invoke-virtual {v0, p1, v1, v2}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(ZII)V

    :cond_0
    return-void
.end method

.method public c()V
    .locals 5

    .line 162
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getContext()Landroid/content/Context;

    move-result-object v0

    const/4 v1, 0x1

    new-array v2, v1, [Ljava/lang/String;

    const-string v3, "android.permission.ACCESS_FINE_LOCATION"

    const/4 v4, 0x0

    aput-object v3, v2, v4

    invoke-static {v0, v2}, Lcom/moji/tool/permission/EasyPermissions;->a(Landroid/content/Context;[Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_3

    .line 163
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getContext()Landroid/content/Context;

    move-result-object v0

    new-array v1, v1, [Ljava/lang/String;

    const-string v2, "android.permission.ACCESS_COARSE_LOCATION"

    aput-object v2, v1, v4

    invoke-static {v0, v1}, Lcom/moji/tool/permission/EasyPermissions;->a(Landroid/content/Context;[Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_1

    .line 166
    :cond_0
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(Landroid/app/Activity;)Lcom/moji/mjweather/TabWeatherFragment;

    move-result-object v0

    if-nez v0, :cond_1

    return-void

    .line 171
    :cond_1
    sget-object v1, Lcom/moji/mjweather/weather/WeatherPageView;->b:[Ljava/lang/String;

    invoke-direct {p0, v1, v0}, Lcom/moji/mjweather/weather/WeatherPageView;->a([Ljava/lang/String;Lcom/moji/mjweather/TabWeatherFragment;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 172
    invoke-direct {p0, v0}, Lcom/moji/mjweather/weather/WeatherPageView;->a(Lcom/moji/mjweather/TabWeatherFragment;)V

    goto :goto_0

    .line 174
    :cond_2
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->K()V

    :goto_0
    return-void

    :cond_3
    :goto_1
    return-void
.end method

.method public d()V
    .locals 2

    .line 183
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    if-nez v0, :cond_0

    return-void

    .line 186
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 187
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->dismiss()V

    .line 189
    :cond_1
    new-instance v0, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;-><init>(Landroid/content/Context;)V

    const v1, 0x7f0e05b7

    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const v1, 0x7f0e05b8

    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const v1, 0x7f0e0145

    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->e(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/mjweather/weather/WeatherPageView$4;

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

    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const v1, 0x7f0e05ff

    .line 195
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/mjweather/weather/WeatherPageView$3;

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

    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const/4 v1, 0x0

    .line 205
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->c(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a()Lcom/moji/dialog/MJDialog;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    .line 206
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->isFinishing()Z

    move-result v0

    if-nez v0, :cond_2

    .line 207
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->show()V

    :cond_2
    return-void
.end method

.method public dealRequestError(Lcom/moji/requestcore/MJException;)V
    .locals 12

    .line 1240
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    if-nez v0, :cond_0

    goto :goto_1

    :cond_0
    const/4 v0, 0x1

    .line 1243
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->x:Z

    .line 1244
    invoke-virtual {p1}, Lcom/moji/requestcore/MJException;->getCode()I

    move-result p1

    const v0, 0x7f0e01b2

    packed-switch p1, :pswitch_data_0

    packed-switch p1, :pswitch_data_1

    .line 1273
    new-instance p1, Lcom/moji/mjweather/weather/WeatherPageView$20;

    invoke-direct {p1, p0}, Lcom/moji/mjweather/weather/WeatherPageView$20;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/weather/WeatherPageView;->b(Landroid/view/View$OnClickListener;)V

    goto :goto_0

    :pswitch_0
    const v1, 0x7f08082d

    .line 1247
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    const v2, 0x7f0e058b

    invoke-virtual {p1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    const-string v3, ""

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v4

    new-instance v5, Lcom/moji/mjweather/weather/WeatherPageView$17;

    invoke-direct {v5, p0}, Lcom/moji/mjweather/weather/WeatherPageView$17;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

    move-object v0, p0

    invoke-virtual/range {v0 .. v5}, Lcom/moji/mjweather/weather/WeatherPageView;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/view/View$OnClickListener;)V

    goto :goto_0

    :pswitch_1
    const v7, 0x7f08082d

    .line 1265
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    const v1, 0x7f0e07a7

    invoke-virtual {p1, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v8

    const-string v9, ""

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v10

    new-instance v11, Lcom/moji/mjweather/weather/WeatherPageView$19;

    invoke-direct {v11, p0}, Lcom/moji/mjweather/weather/WeatherPageView$19;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

    move-object v6, p0

    invoke-virtual/range {v6 .. v11}, Lcom/moji/mjweather/weather/WeatherPageView;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/view/View$OnClickListener;)V

    goto :goto_0

    .line 1257
    :pswitch_2
    new-instance p1, Lcom/moji/mjweather/weather/WeatherPageView$18;

    invoke-direct {p1, p0}, Lcom/moji/mjweather/weather/WeatherPageView$18;-><init>(Lcom/moji/mjweather/weather/WeatherPageView;)V

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/weather/WeatherPageView;->c(Landroid/view/View$OnClickListener;)V

    :goto_0
    return-void

    :cond_1
    :goto_1
    return-void

    :pswitch_data_0
    .packed-switch 0x258
        :pswitch_2
        :pswitch_2
        :pswitch_2
        :pswitch_1
    .end packed-switch

    :pswitch_data_1
    .packed-switch 0x3e9
        :pswitch_0
        :pswitch_0
    .end packed-switch
.end method

.method public dealResponseResult(Lcom/moji/requestcore/entity/IResult;Z)V
    .locals 0

    if-eqz p2, :cond_0

    .line 1312
    invoke-virtual {p1}, Lcom/moji/requestcore/entity/IResult;->b()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/moji/tool/ToastTool;->a(Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method public e()V
    .locals 2

    .line 213
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    if-nez v0, :cond_0

    return-void

    .line 216
    :cond_0
    iget-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->r:Z

    if-eqz v0, :cond_1

    return-void

    .line 219
    :cond_1
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 220
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->dismiss()V

    .line 222
    :cond_2
    new-instance v0, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;-><init>(Landroid/content/Context;)V

    const v1, 0x7f0e0451

    .line 223
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const v1, 0x7f0e0452

    .line 224
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const/high16 v1, 0x1040000

    .line 225
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->e(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const v1, 0x7f0e0600

    .line 226
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/mjweather/weather/WeatherPageView$5;

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

    .line 227
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const/4 v1, 0x0

    .line 241
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->c(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a()Lcom/moji/dialog/MJDialog;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    .line 242
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->isFinishing()Z

    move-result v0

    if-nez v0, :cond_3

    .line 243
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->show()V

    :cond_3
    const/4 v0, 0x1

    .line 245
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->r:Z

    return-void
.end method

.method public f()V
    .locals 2

    .line 250
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    if-nez v0, :cond_0

    return-void

    .line 253
    :cond_0
    iget-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->s:Z

    if-eqz v0, :cond_1

    return-void

    .line 256
    :cond_1
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 257
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->dismiss()V

    .line 259
    :cond_2
    new-instance v0, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;-><init>(Landroid/content/Context;)V

    const v1, 0x7f0e044c

    .line 260
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const v1, 0x7f0e044d

    .line 261
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const/high16 v1, 0x1040000

    .line 262
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->e(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const v1, 0x7f0e044f

    .line 263
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/mjweather/weather/WeatherPageView$6;

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

    .line 264
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const/4 v1, 0x0

    .line 278
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->c(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a()Lcom/moji/dialog/MJDialog;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    .line 279
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->isFinishing()Z

    move-result v0

    if-nez v0, :cond_3

    .line 280
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->show()V

    :cond_3
    const/4 v0, 0x1

    .line 282
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->s:Z

    return-void
.end method

.method public g()Z
    .locals 4

    .line 287
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 288
    :goto_0
    iget-boolean v3, p0, Lcom/moji/mjweather/weather/WeatherPageView;->y:Z

    if-nez v3, :cond_2

    if-eqz v0, :cond_1

    goto :goto_1

    :cond_1
    const/4 v1, 0x0

    :cond_2
    :goto_1
    return v1
.end method

.method public getActivity()Landroid/app/Activity;
    .locals 1

    .line 1284
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getContext()Landroid/content/Context;

    move-result-object v0

    instance-of v0, v0, Landroid/app/Activity;

    if-eqz v0, :cond_0

    .line 1285
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    return-object v0

    :cond_0
    const/4 v0, 0x0

    return-object v0
.end method

.method public getCityArea()Lcom/moji/common/area/AreaInfo;
    .locals 1

    .line 496
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->h()Lcom/moji/common/area/AreaInfo;

    move-result-object v0

    return-object v0
.end method

.method public getMJContext()Landroid/content/Context;
    .locals 2

    .line 1179
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(Landroid/app/Activity;)Lcom/moji/mjweather/TabWeatherFragment;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 1181
    invoke-virtual {v0}, Lcom/moji/mjweather/TabWeatherFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    return-object v0

    .line 1183
    :cond_0
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    return-object v0
.end method

.method public getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;
    .locals 1

    .line 1306
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->a:Lcom/moji/mjweather/weather/WeatherPagePresenter;

    return-object v0
.end method

.method public h()Z
    .locals 1

    .line 298
    iget-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->s:Z

    return v0
.end method

.method public hideLoading()V
    .locals 1

    .line 1318
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    if-eqz v0, :cond_0

    .line 1319
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    invoke-virtual {v0}, Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;->hideLoading()V

    :cond_0
    return-void
.end method

.method public hideLoading(Lcom/moji/mvpframe/delegate/ILoadingCallback;)V
    .locals 1

    .line 1325
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    if-eqz v0, :cond_0

    .line 1326
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    invoke-virtual {v0, p1}, Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;->hideLoading(Lcom/moji/mvpframe/delegate/ILoadingCallback;)V

    :cond_0
    return-void
.end method

.method public i()V
    .locals 2

    .line 156
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 157
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    const/16 v1, 0x6f

    invoke-static {v0, v1}, Lcom/moji/mjweather/NavigationManager;->a(Landroid/app/Activity;I)V

    :cond_0
    return-void
.end method

.method public j()V
    .locals 1

    .line 417
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->c()V

    .line 418
    :cond_0
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->c()V

    return-void
.end method

.method public k()V
    .locals 3

    .line 543
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_4

    .line 545
    :try_start_0
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 548
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(Landroid/app/Activity;)Lcom/moji/mjweather/TabWeatherFragment;

    move-result-object v1

    :cond_0
    if-nez v1, :cond_1

    return-void

    .line 554
    :cond_1
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->m()Z

    move-result v0

    if-nez v0, :cond_2

    const/4 v0, 0x0

    .line 556
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->w:Z

    .line 557
    invoke-virtual {v1, v0}, Lcom/moji/mjweather/TabWeatherFragment;->f(Z)V

    goto :goto_0

    :cond_2
    const/4 v0, 0x1

    .line 559
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->w:Z

    .line 560
    invoke-virtual {v1}, Lcom/moji/mjweather/TabWeatherFragment;->r()Z

    move-result v2

    if-nez v2, :cond_3

    .line 562
    iget-object v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v2}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->f()V

    .line 564
    :cond_3
    invoke-virtual {v1, v0}, Lcom/moji/mjweather/TabWeatherFragment;->f(Z)V

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

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->WEATHER_FEED_SHOW:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    const-string v1, "WeatherPageFragment"

    .line 569
    invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    :cond_4
    :goto_0
    return-void
.end method

.method public l()V
    .locals 5

    .line 578
    iget-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->o:Z

    if-nez v0, :cond_0

    return-void

    .line 581
    :cond_0
    iget-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->aa:Z

    if-nez v0, :cond_1

    return-void

    .line 584
    :cond_1
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_2

    return-void

    .line 587
    :cond_2
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getFeedRootView()Landroid/view/View;

    move-result-object v0

    if-nez v0, :cond_3

    return-void

    :cond_3
    const v1, 0x7f0902e2

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

    move-result-object v0

    if-nez v0, :cond_4

    return-void

    :cond_4
    const/4 v1, 0x2

    .line 595
    new-array v1, v1, [I

    .line 596
    invoke-virtual {v0, v1}, Landroid/view/View;->getLocationOnScreen([I)V

    .line 598
    invoke-static {}, Lcom/moji/tool/DeviceTool;->c()I

    move-result v0

    int-to-float v0, v0

    const v2, 0x7f070108

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

    move-result v2

    sub-float/2addr v0, v2

    const/high16 v2, 0x42200000    # 40.0f

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

    move-result v2

    int-to-float v2, v2

    sub-float/2addr v0, v2

    const/4 v2, 0x1

    .line 599
    aget v1, v1, v2

    int-to-float v1, v1

    cmpg-float v0, v1, v0

    if-gez v0, :cond_6

    .line 600
    iget-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->Q:Z

    if-nez v0, :cond_5

    .line 601
    iput-boolean v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->Q:Z

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

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->FEEDS_CATEGORYL_NEW_TAB:Lcom/moji/statistics/EVENT_TAG;

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

    .line 604
    :cond_5
    iget-wide v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->R:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-nez v4, :cond_7

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

    move-result-wide v0

    iput-wide v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->R:J

    goto :goto_0

    .line 608
    :cond_6
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->P()V

    :cond_7
    :goto_0
    return-void
.end method

.method public m()Z
    .locals 2

    .line 789
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getFeedRootView()Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    if-eqz v0, :cond_1

    .line 791
    invoke-virtual {v0}, Landroid/view/View;->getTop()I

    move-result v0

    if-gtz v0, :cond_0

    const/4 v1, 0x1

    :cond_0
    return v1

    :cond_1
    return v1
.end method

.method public n()V
    .locals 3

    .line 808
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->l:Lcom/moji/mjweather/weather/view/HomePageFrameLayout;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getChildCount()I

    move-result v0

    if-lez v0, :cond_0

    .line 809
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->l:Lcom/moji/mjweather/weather/view/HomePageFrameLayout;

    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    iget-object v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {v2}, Landroid/widget/ListView;->getChildCount()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object v1

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

    move-result v1

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/view/HomePageFrameLayout;->setFinalY(I)V

    :cond_0
    return-void
.end method

.method public o()V
    .locals 1

    .line 831
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->h()Lcom/moji/common/area/AreaInfo;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/moji/mjweather/weather/WeatherPageView;->b(Lcom/moji/common/area/AreaInfo;)V

    return-void
.end method

.method protected onAttachedToWindow()V
    .locals 4

    .line 395
    invoke-super {p0}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->onAttachedToWindow()V

    const/4 v0, 0x1

    .line 396
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->aa:Z

    .line 397
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v1

    invoke-virtual {v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->r_()V

    const/4 v1, 0x0

    .line 398
    iput-boolean v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->W:Z

    const-string v1, "WeatherPageFragment"

    .line 399
    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, " onResumesss"

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

    iget-boolean v3, p0, Lcom/moji/mjweather/weather/WeatherPageView;->o:Z

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

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

    move-result-object v2

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

    .line 401
    invoke-virtual {p0, v0}, Lcom/moji/mjweather/weather/WeatherPageView;->b(Z)V

    const-wide/16 v0, 0x0

    .line 402
    iput-wide v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->R:J

    return-void
.end method

.method protected onDetachedFromWindow()V
    .locals 2

    .line 407
    invoke-super {p0}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->onDetachedFromWindow()V

    const/4 v0, 0x0

    .line 408
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->aa:Z

    .line 409
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v1

    invoke-virtual {v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->n_()V

    .line 410
    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v1}, Lcom/moji/dialog/MJDialog;->isShowing()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 411
    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->D:Lcom/moji/dialog/MJDialog;

    invoke-virtual {v1}, Lcom/moji/dialog/MJDialog;->dismiss()V

    .line 413
    :cond_0
    invoke-virtual {p0, v0}, Lcom/moji/mjweather/weather/WeatherPageView;->b(Z)V

    return-void
.end method

.method public p()Z
    .locals 2

    .line 963
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 964
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(Landroid/app/Activity;)Lcom/moji/mjweather/TabWeatherFragment;

    move-result-object v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 967
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getCityArea()Lcom/moji/common/area/AreaInfo;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/TabWeatherFragment;->a(Lcom/moji/common/area/AreaInfo;)Lcom/moji/weatherprovider/event/CITY_STATE;

    move-result-object v1

    :cond_0
    if-eqz v1, :cond_1

    .line 969
    sget-object v0, Lcom/moji/weatherprovider/event/CITY_STATE;->UPDATE:Lcom/moji/weatherprovider/event/CITY_STATE;

    if-ne v1, v0, :cond_1

    const/4 v0, 0x1

    return v0

    :cond_1
    const/4 v0, 0x0

    return v0
.end method

.method public q()V
    .locals 1

    .line 1106
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    if-eqz v0, :cond_0

    .line 1107
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->d()V

    :cond_0
    return-void
.end method

.method public r()V
    .locals 1

    .line 1112
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    if-eqz v0, :cond_0

    .line 1113
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->e()V

    .line 1115
    :cond_0
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->s()V

    return-void
.end method

.method public s()V
    .locals 2

    .line 1119
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 1120
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getPresenter()Lcom/moji/mjweather/weather/WeatherPagePresenter;

    move-result-object v0

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getActivity()Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(Landroid/app/Activity;)Lcom/moji/mjweather/TabWeatherFragment;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 1122
    invoke-virtual {v0}, Lcom/moji/mjweather/TabWeatherFragment;->q()V

    :cond_0
    return-void
.end method

.method public setAvatarAlphaHorizontalScroll(F)V
    .locals 2

    .line 1017
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->b()Lcom/moji/mjweather/weather/control/WeatherShorterAndInfoViewControl;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 1018
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-virtual {v0}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->b()Lcom/moji/mjweather/weather/control/WeatherShorterAndInfoViewControl;

    move-result-object v0

    iget v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->t:F

    mul-float p1, p1, v1

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/weather/control/WeatherShorterAndInfoViewControl;->a(F)V

    :cond_0
    return-void
.end method

.method public setHomePageCanScroll(Z)V
    .locals 1

    .line 625
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->l:Lcom/moji/mjweather/weather/view/HomePageFrameLayout;

    if-eqz v0, :cond_0

    .line 626
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->l:Lcom/moji/mjweather/weather/view/HomePageFrameLayout;

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/weather/view/HomePageFrameLayout;->setCanScrroll(Z)V

    :cond_0
    return-void
.end method

.method public setIsCurrentFragment(Z)V
    .locals 0

    .line 1036
    iput-boolean p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->o:Z

    return-void
.end method

.method protected setUpOnCreateView(Landroid/view/View;)V
    .locals 2

    const v0, 0x7f09023a

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

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/weather/view/HomePageFrameLayout;

    iput-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->l:Lcom/moji/mjweather/weather/view/HomePageFrameLayout;

    const v0, 0x102000a

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

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    .line 459
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setDivider(Landroid/graphics/drawable/Drawable;)V

    .line 460
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setDividerHeight(I)V

    .line 461
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    const v1, 0x7f060201

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setSelector(I)V

    const v0, 0x7f090405

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

    move-result-object p1

    check-cast p1, Landroid/widget/ImageView;

    iput-object p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->m:Landroid/widget/ImageView;

    const/high16 p1, 0x42820000    # 65.0f

    .line 465
    invoke-static {p1}, Lcom/moji/tool/DeviceTool;->a(F)I

    move-result p1

    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->z:I

    const/high16 p1, 0x42b40000    # 90.0f

    .line 466
    invoke-static {p1}, Lcom/moji/tool/DeviceTool;->a(F)I

    move-result p1

    int-to-float p1, p1

    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->A:F

    .line 467
    iget p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->A:F

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

    move-result v0

    int-to-float v0, v0

    add-float/2addr p1, v0

    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->B:F

    .line 468
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getContext()Landroid/content/Context;

    move-result-object p1

    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    const v0, 0x7f070108

    invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getDimension(I)F

    move-result p1

    iput p1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->C:F

    .line 469
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->S()V

    .line 470
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->O()V

    return-void
.end method

.method public showEmptyView(I)V
    .locals 1
    .param p1    # I
        .annotation build Landroid/support/annotation/StringRes;
        .end annotation
    .end param

    .line 1382
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    if-eqz v0, :cond_0

    .line 1383
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    invoke-virtual {v0, p1}, Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;->showEmptyView(I)V

    :cond_0
    return-void
.end method

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

    .line 1368
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    if-eqz v0, :cond_0

    .line 1369
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    invoke-virtual {v0, p1}, Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;->showEmptyView(Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method public showErrorView(I)V
    .locals 1
    .param p1    # I
        .annotation build Landroid/support/annotation/StringRes;
        .end annotation
    .end param

    .line 1389
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    if-eqz v0, :cond_0

    .line 1390
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    invoke-virtual {v0, p1}, Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;->showErrorView(I)V

    :cond_0
    return-void
.end method

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

    .line 1375
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    if-eqz v0, :cond_0

    .line 1376
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    invoke-virtual {v0, p1}, Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;->showErrorView(Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method public showLoading()V
    .locals 1

    .line 1347
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    if-eqz v0, :cond_0

    .line 1348
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    invoke-virtual {v0}, Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;->showLoading()V

    :cond_0
    return-void
.end method

.method public showLoading(IJ)V
    .locals 1
    .param p1    # I
        .annotation build Landroid/support/annotation/StringRes;
        .end annotation
    .end param

    .line 1354
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    if-eqz v0, :cond_0

    .line 1355
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    invoke-virtual {v0, p1, p2, p3}, Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;->showLoading(IJ)V

    :cond_0
    return-void
.end method

.method public showLoading(J)V
    .locals 1

    .line 1361
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    if-eqz v0, :cond_0

    .line 1362
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    invoke-virtual {v0, p1, p2}, Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;->showLoading(J)V

    :cond_0
    return-void
.end method

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

    .line 1332
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    if-eqz v0, :cond_0

    .line 1333
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    invoke-virtual {v0, p1}, Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;->showLoading(Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method public showLoading(Ljava/lang/String;J)V
    .locals 1

    .line 1340
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    if-eqz v0, :cond_0

    .line 1341
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->k:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;

    invoke-virtual {v0, p1, p2, p3}, Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;->showLoading(Ljava/lang/String;J)V

    :cond_0
    return-void
.end method

.method public t()V
    .locals 2

    .line 1128
    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->S:I

    if-nez v0, :cond_0

    iget-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->v:Z

    if-nez v0, :cond_1

    :cond_0
    const/4 v0, 0x0

    .line 1129
    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->S:I

    .line 1130
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->getTotalScroll()V

    .line 1131
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getFirstVisiblePosition()I

    move-result v0

    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    .line 1132
    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    const/4 v1, 0x1

    invoke-direct {p0, v0, v1}, Lcom/moji/mjweather/weather/WeatherPageView;->b(IZ)V

    :cond_1
    return-void
.end method

.method public u()V
    .locals 4

    const/4 v0, 0x1

    .line 1140
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->aa:Z

    .line 1141
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    if-eqz v0, :cond_1

    .line 1142
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    if-eqz v0, :cond_0

    .line 1143
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getFirstVisiblePosition()I

    move-result v0

    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    .line 1144
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->u:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getLastVisiblePosition()I

    move-result v0

    iput v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->F:I

    .line 1146
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    iget v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->E:I

    iget v2, p0, Lcom/moji/mjweather/weather/WeatherPageView;->F:I

    iget-boolean v3, p0, Lcom/moji/mjweather/weather/WeatherPageView;->W:Z

    invoke-virtual {v0, v1, v2, v3}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->b(IIZ)V

    .line 1149
    :cond_1
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->k()V

    const-wide/16 v0, 0x0

    .line 1150
    iput-wide v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->R:J

    return-void
.end method

.method public v()V
    .locals 3

    const/4 v0, 0x0

    .line 1157
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->aa:Z

    .line 1158
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->W:Z

    .line 1159
    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    if-eqz v1, :cond_0

    .line 1160
    iget-object v1, p0, Lcom/moji/mjweather/weather/WeatherPageView;->n:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    const/4 v2, 0x1

    invoke-virtual {v1, v2, v0}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(II)V

    .line 1162
    :cond_0
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->P()V

    return-void
.end method

.method public w()V
    .locals 1

    const/4 v0, 0x0

    .line 1168
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->aa:Z

    .line 1169
    invoke-direct {p0}, Lcom/moji/mjweather/weather/WeatherPageView;->P()V

    return-void
.end method

.method public x()V
    .locals 2

    const/4 v0, 0x1

    .line 1173
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->aa:Z

    const-wide/16 v0, 0x0

    .line 1174
    iput-wide v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->R:J

    return-void
.end method

.method public y()Z
    .locals 1

    .line 1188
    iget v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->G:I

    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 public z()Z
    .locals 1

    .line 1291
    iget-boolean v0, p0, Lcom/moji/mjweather/weather/WeatherPageView;->x:Z

    return v0
.end method
