SwitchAnimationController$b.smali

.class Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$b;
.super Ljava/lang/Object;
.source "SwitchAnimationController.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;
.end annotation

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


# instance fields
.field final synthetic a:Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;


# direct methods
.method constructor <init>(Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;)V
    .registers 2

    .prologue
    .line 109
    iput-object p1, p0, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$b;->a:Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;

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

    return-void
.end method

.method private a()V
    .registers 1

    .prologue
    .line 128
    return-void
.end method

.method private b()V
    .registers 5

    .prologue
    .line 131
    iget-object v0, p0, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$b;->a:Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;

    invoke-static {v0}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;->d(Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;)Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$a;->obtainMessage()Landroid/os/Message;

    move-result-object v0

    .line 132
    invoke-static {}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;->c()I

    move-result v1

    iput v1, v0, Landroid/os/Message;->what:I

    .line 133
    iput-object p0, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 134
    iget-object v1, p0, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$b;->a:Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;

    invoke-static {v1}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;->d(Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;)Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$a;

    move-result-object v1

    invoke-static {}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;->d()I

    move-result v2

    int-to-long v2, v2

    invoke-virtual {v1, v0, v2, v3}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$a;->sendMessageDelayed(Landroid/os/Message;J)Z

    .line 135
    return-void
.end method


# virtual methods
.method public run()V
    .registers 3

    .prologue
    .line 112
    iget-object v0, p0, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$b;->a:Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;

    invoke-static {v0}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;->a(Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;)Z

    move-result v0

    if-nez v0, :cond_9

    .line 124
    :goto_8
    return-void

    .line 115
    :cond_9
    invoke-direct {p0}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$b;->a()V

    .line 116
    iget-object v0, p0, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$b;->a:Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;

    invoke-static {v0}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;->c(Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;)Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$OnAnimateListener;

    move-result-object v0

    iget-object v1, p0, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$b;->a:Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;

    invoke-static {v1}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;->b(Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;)I

    move-result v1

    invoke-interface {v0, v1}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$OnAnimateListener;->onFrameUpdate(I)V

    .line 117
    iget-object v0, p0, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$b;->a:Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;

    invoke-static {v0}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;->c(Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;)Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$OnAnimateListener;

    move-result-object v0

    invoke-interface {v0}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$OnAnimateListener;->continueAnimating()Z

    move-result v0

    if-eqz v0, :cond_2b

    .line 118
    invoke-direct {p0}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$b;->b()V

    goto :goto_8

    .line 120
    :cond_2b
    iget-object v0, p0, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$b;->a:Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;

    invoke-virtual {v0}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;->b()V

    .line 121
    iget-object v0, p0, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$b;->a:Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;

    invoke-static {v0}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;->c(Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController;)Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$OnAnimateListener;

    move-result-object v0

    invoke-interface {v0}, Lcom/cleanmaster/gameboost/view/button/SwitchAnimationController$OnAnimateListener;->onAnimateComplete()V

    goto :goto_8
.end method