GameBoostingView.smali

.class public Lcom/cleanmaster/gameboost/ui/GameBoostingView;
.super Landroid/widget/FrameLayout;
.source "GameBoostingView.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;
    }
.end annotation


# instance fields
.field a:Landroid/widget/TextView;

.field b:Landroid/widget/TextView;

.field c:Landroid/widget/TextView;

.field d:Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;

.field e:Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;

.field f:Landroid/widget/GridView;

.field g:Landroid/widget/GridView;

.field h:Landroid/widget/LinearLayout;

.field i:Landroid/widget/LinearLayout;

.field j:Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;

.field k:Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;

.field l:Lcom/cleanmaster/gameboost/util/TrafficRealTimeMonitor;

.field m:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lcom/cleanmaster/gameboost/modle/AbsGameModel;",
            ">;"
        }
    .end annotation
.end field

.field n:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lcom/cleanmaster/gameboost/modle/AbsGameModel;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .registers 3
    .param p1    # Landroid/content/Context;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    .prologue
    .line 61
    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    .line 62
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .registers 4
    .param p1    # Landroid/content/Context;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroid/util/AttributeSet;
        .annotation build Landroid/support/annotation/Nullable;
        .end annotation
    .end param

    .prologue
    .line 65
    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 66
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .registers 5
    .param p1    # Landroid/content/Context;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroid/util/AttributeSet;
        .annotation build Landroid/support/annotation/Nullable;
        .end annotation
    .end param
    .param p3    # I
        .annotation build Landroid/support/annotation/AttrRes;
        .end annotation
    .end param

    .prologue
    .line 69
    invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

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

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

    iput-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->m:Ljava/util/List;

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

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

    iput-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->n:Ljava/util/List;

    .line 70
    invoke-direct {p0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->c()V

    .line 71
    invoke-direct {p0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->b()V

    .line 72
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->l:Lcom/cleanmaster/gameboost/util/TrafficRealTimeMonitor;

    invoke-virtual {v0}, Lcom/cleanmaster/gameboost/util/TrafficRealTimeMonitor;->a()V

    .line 73
    return-void
.end method

.method static synthetic a(Lcom/cleanmaster/gameboost/ui/GameBoostingView;Ljava/util/List;)V
    .registers 2

    .prologue
    .line 42
    invoke-direct {p0, p1}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->c(Ljava/util/List;)V

    return-void
.end method

.method private b()V
    .registers 3

    .prologue
    .line 76
    new-instance v0, Lcom/cleanmaster/gameboost/util/TrafficRealTimeMonitor;

    invoke-virtual {p0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/cleanmaster/gameboost/util/TrafficRealTimeMonitor;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->l:Lcom/cleanmaster/gameboost/util/TrafficRealTimeMonitor;

    .line 77
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->l:Lcom/cleanmaster/gameboost/util/TrafficRealTimeMonitor;

    new-instance v1, Lcom/cleanmaster/gameboost/ui/k;

    invoke-direct {v1, p0}, Lcom/cleanmaster/gameboost/ui/k;-><init>(Lcom/cleanmaster/gameboost/ui/GameBoostingView;)V

    invoke-virtual {v0, v1}, Lcom/cleanmaster/gameboost/util/TrafficRealTimeMonitor;->a(Lcom/cleanmaster/gameboost/util/TrafficRealTimeMonitor$OnTrafficListener;)V

    .line 107
    return-void
.end method

.method private c()V
    .registers 5

    .prologue
    const/4 v3, 0x0

    .line 110
    invoke-virtual {p0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->getContext()Landroid/content/Context;

    move-result-object v0

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

    move-result-object v0

    sget v1, Lcom/cleanmaster/gameboost/R$layout;->game_boosting_view:I

    const/4 v2, 0x1

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

    .line 111
    sget v0, Lcom/cleanmaster/gameboost/R$id;->tv_rem_title:I

    invoke-virtual {p0, v0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->a:Landroid/widget/TextView;

    .line 112
    sget v0, Lcom/cleanmaster/gameboost/R$id;->tv_net_title:I

    invoke-virtual {p0, v0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->b:Landroid/widget/TextView;

    .line 113
    sget v0, Lcom/cleanmaster/gameboost/R$id;->tv_net_traffic:I

    invoke-virtual {p0, v0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->c:Landroid/widget/TextView;

    .line 114
    sget v0, Lcom/cleanmaster/gameboost/R$id;->iv_rem_icon:I

    invoke-virtual {p0, v0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;

    iput-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->d:Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;

    .line 115
    sget v0, Lcom/cleanmaster/gameboost/R$id;->iv_net_icon:I

    invoke-virtual {p0, v0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;

    iput-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->e:Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;

    .line 116
    sget v0, Lcom/cleanmaster/gameboost/R$id;->grid_rem:I

    invoke-virtual {p0, v0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/GridView;

    iput-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->f:Landroid/widget/GridView;

    .line 117
    sget v0, Lcom/cleanmaster/gameboost/R$id;->grid_net:I

    invoke-virtual {p0, v0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/GridView;

    iput-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->g:Landroid/widget/GridView;

    .line 118
    sget v0, Lcom/cleanmaster/gameboost/R$id;->ll_net:I

    invoke-virtual {p0, v0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->i:Landroid/widget/LinearLayout;

    .line 119
    sget v0, Lcom/cleanmaster/gameboost/R$id;->ll_rem:I

    invoke-virtual {p0, v0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->h:Landroid/widget/LinearLayout;

    .line 120
    new-instance v0, Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;

    invoke-direct {v0, p0, v3}, Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;-><init>(Lcom/cleanmaster/gameboost/ui/GameBoostingView;Lcom/cleanmaster/gameboost/ui/k;)V

    iput-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->j:Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;

    .line 121
    new-instance v0, Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;

    invoke-direct {v0, p0, v3}, Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;-><init>(Lcom/cleanmaster/gameboost/ui/GameBoostingView;Lcom/cleanmaster/gameboost/ui/k;)V

    iput-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->k:Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;

    .line 122
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->f:Landroid/widget/GridView;

    iget-object v1, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->j:Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;

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

    .line 123
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->g:Landroid/widget/GridView;

    iget-object v1, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->k:Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;

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

    .line 125
    return-void
.end method

.method private c(Ljava/util/List;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/cleanmaster/gameboost/modle/AbsGameModel;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 276
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_4
    :goto_4
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1a

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

    move-result-object v0

    check-cast v0, Lcom/cleanmaster/gameboost/modle/AbsGameModel;

    .line 277
    instance-of v2, v0, Lcom/cleanmaster/gameboost/modle/b;

    if-eqz v2, :cond_4

    .line 278
    check-cast v0, Lcom/cleanmaster/gameboost/modle/b;

    const/4 v2, 0x1

    iput-boolean v2, v0, Lcom/cleanmaster/gameboost/modle/b;->c:Z

    goto :goto_4

    .line 281
    :cond_1a
    return-void
.end method


# virtual methods
.method public a()V
    .registers 4

    .prologue
    .line 132
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->d:Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;

    invoke-virtual {v0}, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;->a()V

    .line 133
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->e:Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;

    invoke-virtual {v0}, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;->a()V

    .line 134
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->a:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    sget v2, Lcom/cleanmaster/gameboost/R$string;->game_boost_rem_closing:I

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

    move-result-object v1

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

    .line 135
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->b:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    sget v2, Lcom/cleanmaster/gameboost/R$string;->game_boost_net_closing:I

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

    move-result-object v1

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

    .line 136
    return-void
.end method

.method public a(Ljava/util/List;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    const/4 v3, 0x7

    .line 140
    if-eqz p1, :cond_9

    invoke-interface {p1}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_11

    .line 141
    :cond_9
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->h:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

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

    .line 172
    :goto_10
    return-void

    .line 144
    :cond_11
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->h:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

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

    .line 146
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->d:Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;

    invoke-virtual {v0}, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;->a()V

    .line 147
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->a:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    sget v2, Lcom/cleanmaster/gameboost/R$string;->game_boost_rem_closing:I

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

    move-result-object v1

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

    .line 148
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->m:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

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

    move-result-object v1

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

    move-result v0

    if-eqz v0, :cond_54

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 150
    new-instance v2, Lcom/cleanmaster/gameboost/modle/b;

    invoke-direct {v2}, Lcom/cleanmaster/gameboost/modle/b;-><init>()V

    .line 151
    iput-object v0, v2, Lcom/cleanmaster/gameboost/modle/b;->d:Ljava/lang/String;

    .line 152
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->m:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 153
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->m:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lt v0, v3, :cond_34

    .line 157
    :cond_54
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-le v0, v3, :cond_6a

    .line 158
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->m:Ljava/util/List;

    const/4 v1, 0x6

    invoke-interface {v0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    .line 159
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->m:Ljava/util/List;

    new-instance v1, Lcom/cleanmaster/gameboost/modle/h;

    invoke-direct {v1}, Lcom/cleanmaster/gameboost/modle/h;-><init>()V

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

    .line 161
    :cond_6a
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->j:Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;

    iget-object v1, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->m:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;->a(Ljava/util/List;)V

    .line 163
    new-instance v0, Lcom/cleanmaster/gameboost/ui/m;

    invoke-direct {v0, p0}, Lcom/cleanmaster/gameboost/ui/m;-><init>(Lcom/cleanmaster/gameboost/ui/GameBoostingView;)V

    const-wide/16 v2, 0x3e8

    invoke-virtual {p0, v0, v2, v3}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->postDelayed(Ljava/lang/Runnable;J)Z

    goto :goto_10
.end method

.method public b(Ljava/util/List;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    const/4 v3, 0x7

    .line 182
    if-eqz p1, :cond_9

    invoke-interface {p1}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_11

    .line 183
    :cond_9
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->i:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

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

    .line 214
    :goto_10
    return-void

    .line 186
    :cond_11
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->i:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

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

    .line 188
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->e:Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;

    invoke-virtual {v0}, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;->a()V

    .line 189
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->b:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    sget v2, Lcom/cleanmaster/gameboost/R$string;->game_boost_net_closing:I

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

    move-result-object v1

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

    .line 190
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->n:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

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

    move-result-object v1

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

    move-result v0

    if-eqz v0, :cond_54

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 192
    new-instance v2, Lcom/cleanmaster/gameboost/modle/b;

    invoke-direct {v2}, Lcom/cleanmaster/gameboost/modle/b;-><init>()V

    .line 193
    iput-object v0, v2, Lcom/cleanmaster/gameboost/modle/b;->d:Ljava/lang/String;

    .line 194
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->n:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 195
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->n:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lt v0, v3, :cond_34

    .line 199
    :cond_54
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-le v0, v3, :cond_6a

    .line 200
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->n:Ljava/util/List;

    const/4 v1, 0x6

    invoke-interface {v0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    .line 201
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->n:Ljava/util/List;

    new-instance v1, Lcom/cleanmaster/gameboost/modle/h;

    invoke-direct {v1}, Lcom/cleanmaster/gameboost/modle/h;-><init>()V

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

    .line 204
    :cond_6a
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->k:Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;

    iget-object v1, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->n:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/cleanmaster/gameboost/ui/GameBoostingView$a;->a(Ljava/util/List;)V

    .line 205
    new-instance v0, Lcom/cleanmaster/gameboost/ui/n;

    invoke-direct {v0, p0}, Lcom/cleanmaster/gameboost/ui/n;-><init>(Lcom/cleanmaster/gameboost/ui/GameBoostingView;)V

    const-wide/16 v2, 0x5dc

    invoke-virtual {p0, v0, v2, v3}, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->postDelayed(Ljava/lang/Runnable;J)Z

    goto :goto_10
.end method

.method protected onDetachedFromWindow()V
    .registers 2

    .prologue
    .line 176
    invoke-super {p0}, Landroid/widget/FrameLayout;->onDetachedFromWindow()V

    .line 177
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ui/GameBoostingView;->l:Lcom/cleanmaster/gameboost/util/TrafficRealTimeMonitor;

    invoke-virtual {v0}, Lcom/cleanmaster/gameboost/util/TrafficRealTimeMonitor;->b()V

    .line 178
    return-void
.end method