.class Lcom/moji/index/IndexFragment$15;
.super Lcom/moji/tool/thread/task/MJAsyncTask;
.source "IndexFragment.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/index/IndexFragment;->j()V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/tool/thread/task/MJAsyncTask<",
        "Ljava/lang/Void;",
        "Ljava/lang/Void;",
        "Ljava/lang/Void;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/index/IndexFragment;


# direct methods
.method constructor <init>(Lcom/moji/index/IndexFragment;Lcom/moji/tool/thread/ThreadPriority;)V
    .locals 0

    .line 689
    iput-object p1, p0, Lcom/moji/index/IndexFragment$15;->a:Lcom/moji/index/IndexFragment;

    invoke-direct {p0, p2}, Lcom/moji/tool/thread/task/MJAsyncTask;-><init>(Lcom/moji/tool/thread/ThreadPriority;)V

    return-void
.end method


# virtual methods
.method protected bridge synthetic a([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 0

    .line 689
    check-cast p1, [Ljava/lang/Void;

    invoke-virtual {p0, p1}, Lcom/moji/index/IndexFragment$15;->a([Ljava/lang/Void;)Ljava/lang/Void;

    move-result-object p1

    return-object p1
.end method

.method protected varargs a([Ljava/lang/Void;)Ljava/lang/Void;
    .locals 9

    const/4 p1, 0x2

    .line 692
    new-array v0, p1, [I

    .line 693
    iget-object v1, p0, Lcom/moji/index/IndexFragment$15;->a:Lcom/moji/index/IndexFragment;

    invoke-static {v1}, Lcom/moji/index/IndexFragment;->g(Lcom/moji/index/IndexFragment;)Lcom/moji/scrollview/ScrollViewMonitor;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/moji/scrollview/ScrollViewMonitor;->getLocationOnScreen([I)V

    .line 694
    iget-object v1, p0, Lcom/moji/index/IndexFragment$15;->a:Lcom/moji/index/IndexFragment;

    invoke-static {v1}, Lcom/moji/index/IndexFragment;->i(Lcom/moji/index/IndexFragment;)Ljava/util/ArrayList;

    move-result-object v1

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

    move-result v1

    iget-object v2, p0, Lcom/moji/index/IndexFragment$15;->a:Lcom/moji/index/IndexFragment;

    invoke-static {v2}, Lcom/moji/index/IndexFragment;->j(Lcom/moji/index/IndexFragment;)Landroid/widget/LinearLayout;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v2

    const/4 v3, 0x0

    :goto_0
    if-ge v3, v1, :cond_1

    if-ge v3, v2, :cond_1

    .line 695
    iget-object v4, p0, Lcom/moji/index/IndexFragment$15;->a:Lcom/moji/index/IndexFragment;

    invoke-static {v4}, Lcom/moji/index/IndexFragment;->j(Lcom/moji/index/IndexFragment;)Landroid/widget/LinearLayout;

    move-result-object v4

    invoke-virtual {v4, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v4

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

    move-result v5

    .line 697
    new-array v6, p1, [I

    .line 698
    invoke-virtual {v4, v6}, Landroid/view/View;->getLocationOnScreen([I)V

    const/4 v4, 0x1

    .line 699
    aget v7, v6, v4

    aget v8, v0, v4

    sub-int/2addr v7, v8

    add-int/2addr v7, v5

    if-lez v7, :cond_0

    aget v4, v6, v4

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

    move-result v5

    if-ge v4, v5, :cond_0

    .line 700
    iget-object v4, p0, Lcom/moji/index/IndexFragment$15;->a:Lcom/moji/index/IndexFragment;

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

    iget-object v6, p0, Lcom/moji/index/IndexFragment$15;->a:Lcom/moji/index/IndexFragment;

    invoke-static {v6}, Lcom/moji/index/IndexFragment;->i(Lcom/moji/index/IndexFragment;)Ljava/util/ArrayList;

    move-result-object v6

    invoke-virtual {v6, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v6

    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-static {v4, v5, v6}, Lcom/moji/index/IndexFragment;->a(Lcom/moji/index/IndexFragment;Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)V

    :cond_0
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_1
    const/4 p1, 0x0

    return-object p1
.end method

.method protected bridge synthetic a(Ljava/lang/Object;)V
    .locals 0

    .line 689
    check-cast p1, Ljava/lang/Void;

    invoke-virtual {p0, p1}, Lcom/moji/index/IndexFragment$15;->a(Ljava/lang/Void;)V

    return-void
.end method

.method protected a(Ljava/lang/Void;)V
    .locals 1

    .line 709
    invoke-super {p0, p1}, Lcom/moji/tool/thread/task/MJAsyncTask;->a(Ljava/lang/Object;)V

    .line 710
    iget-object p1, p0, Lcom/moji/index/IndexFragment$15;->a:Lcom/moji/index/IndexFragment;

    iget-object v0, p0, Lcom/moji/index/IndexFragment$15;->a:Lcom/moji/index/IndexFragment;

    invoke-static {v0}, Lcom/moji/index/IndexFragment;->k(Lcom/moji/index/IndexFragment;)Lcom/moji/mjad/common/view/IndexAdView;

    move-result-object v0

    invoke-static {p1, v0}, Lcom/moji/index/IndexFragment;->a(Lcom/moji/index/IndexFragment;Lcom/moji/mjad/common/view/CommonAdView;)V

    .line 711
    iget-object p1, p0, Lcom/moji/index/IndexFragment$15;->a:Lcom/moji/index/IndexFragment;

    invoke-static {p1}, Lcom/moji/index/IndexFragment;->l(Lcom/moji/index/IndexFragment;)V

    return-void
.end method
