j.smali

.class public Lcom/fulishe/fs/n/j;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lcom/fulishe/fs/l;
.implements Lcom/fulishe/shadow/base/i$a;


# instance fields
.field public a:Landroid/content/Context;

.field public b:Lcom/fulishe/fs/k/a;

.field public c:Lcom/fulishe/fs/l$a;

.field public d:Lcom/fulishe/fs/view/XMSplashView;

.field public e:I

.field public f:Lcom/fulishe/shadow/base/i;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/fulishe/fs/k/a;)V
    .registers 5

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

    new-instance v0, Lcom/fulishe/shadow/base/i;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v1

    invoke-direct {v0, v1, p0}, Lcom/fulishe/shadow/base/i;-><init>(Landroid/os/Looper;Lcom/fulishe/shadow/base/i$a;)V

    iput-object v0, p0, Lcom/fulishe/fs/n/j;->f:Lcom/fulishe/shadow/base/i;

    iput-object p1, p0, Lcom/fulishe/fs/n/j;->a:Landroid/content/Context;

    iput-object p2, p0, Lcom/fulishe/fs/n/j;->b:Lcom/fulishe/fs/k/a;

    invoke-direct {p0}, Lcom/fulishe/fs/n/j;->c()V

    return-void
.end method

.method public static synthetic a(Lcom/fulishe/fs/n/j;I)I
    .registers 2

    iput p1, p0, Lcom/fulishe/fs/n/j;->e:I

    return p1
.end method

.method public static synthetic a(Lcom/fulishe/fs/n/j;)Lcom/fulishe/fs/l$a;
    .registers 2

    iget-object v0, p0, Lcom/fulishe/fs/n/j;->c:Lcom/fulishe/fs/l$a;

    return-object v0
.end method

.method public static a(Landroid/content/Context;Lcom/fulishe/fs/k/a;Lcom/fulishe/fs/d;)Lcom/fulishe/fs/n/j;
    .registers 4

    invoke-virtual {p1, p2}, Lcom/fulishe/fs/k/a;->a(Lcom/fulishe/fs/d;)V

    new-instance v0, Lcom/fulishe/fs/n/j;

    invoke-direct {v0, p0, p1}, Lcom/fulishe/fs/n/j;-><init>(Landroid/content/Context;Lcom/fulishe/fs/k/a;)V

    return-object v0
.end method

.method private a(I)V
    .registers 5

    const/4 v0, 0x1

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

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    const/4 v2, 0x0

    aput-object v1, v0, v2

    const-string v1, "\u8df3\u8fc7\u5e7f\u544a(%s)"

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

    move-result-object v0

    iget-object v1, p0, Lcom/fulishe/fs/n/j;->d:Lcom/fulishe/fs/view/XMSplashView;

    invoke-virtual {v1, v0}, Lcom/fulishe/fs/view/XMSplashView;->setSkipText(Ljava/lang/String;)V

    return-void
.end method

.method public static synthetic b(Lcom/fulishe/fs/n/j;)Lcom/fulishe/fs/view/XMSplashView;
    .registers 2

    iget-object v0, p0, Lcom/fulishe/fs/n/j;->d:Lcom/fulishe/fs/view/XMSplashView;

    return-object v0
.end method

.method public static synthetic c(Lcom/fulishe/fs/n/j;)Lcom/fulishe/fs/k/a;
    .registers 2

    iget-object v0, p0, Lcom/fulishe/fs/n/j;->b:Lcom/fulishe/fs/k/a;

    return-object v0
.end method

.method private c()V
    .registers 3

    new-instance v0, Lcom/fulishe/fs/view/XMSplashView;

    iget-object v1, p0, Lcom/fulishe/fs/n/j;->a:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/fulishe/fs/view/XMSplashView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/fulishe/fs/n/j;->d:Lcom/fulishe/fs/view/XMSplashView;

    iget-object v0, p0, Lcom/fulishe/fs/n/j;->b:Lcom/fulishe/fs/k/a;

    invoke-virtual {v0}, Lcom/fulishe/fs/k/a;->i()I

    move-result v0

    const/4 v1, 0x5

    invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I

    move-result v0

    const/4 v1, 0x1

    invoke-static {v1, v0}, Ljava/lang/Math;->max(II)I

    move-result v0

    iput v0, p0, Lcom/fulishe/fs/n/j;->e:I

    invoke-direct {p0, v0}, Lcom/fulishe/fs/n/j;->a(I)V

    invoke-direct {p0}, Lcom/fulishe/fs/n/j;->d()V

    return-void
.end method

.method public static synthetic d(Lcom/fulishe/fs/n/j;)Lcom/fulishe/shadow/base/i;
    .registers 2

    iget-object v0, p0, Lcom/fulishe/fs/n/j;->f:Lcom/fulishe/shadow/base/i;

    return-object v0
.end method

.method private d()V
    .registers 4

    new-instance v0, Lcom/fulishe/fs/view/EmptyView;

    iget-object v1, p0, Lcom/fulishe/fs/n/j;->a:Landroid/content/Context;

    iget-object v2, p0, Lcom/fulishe/fs/n/j;->d:Lcom/fulishe/fs/view/XMSplashView;

    invoke-direct {v0, v1, v2}, Lcom/fulishe/fs/view/EmptyView;-><init>(Landroid/content/Context;Landroid/view/View;)V

    iget-object v1, p0, Lcom/fulishe/fs/n/j;->d:Lcom/fulishe/fs/view/XMSplashView;

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    iget-object v1, p0, Lcom/fulishe/fs/n/j;->d:Lcom/fulishe/fs/view/XMSplashView;

    iget-object v2, p0, Lcom/fulishe/fs/n/j;->b:Lcom/fulishe/fs/k/a;

    invoke-virtual {v2}, Lcom/fulishe/fs/k/a;->o()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/fulishe/fs/view/XMSplashView;->a(Ljava/lang/String;)V

    new-instance v1, Lcom/fulishe/fs/n/k;

    invoke-direct {v1, p0}, Lcom/fulishe/fs/n/k;-><init>(Lcom/fulishe/fs/n/j;)V

    invoke-virtual {v0, v1}, Lcom/fulishe/fs/view/EmptyView;->setCallback(Lcom/fulishe/fs/view/EmptyView$a;)V

    iget-object v0, p0, Lcom/fulishe/fs/n/j;->d:Lcom/fulishe/fs/view/XMSplashView;

    new-instance v1, Lcom/fulishe/fs/n/g$b;

    invoke-direct {v1, p0}, Lcom/fulishe/fs/n/g$b;-><init>(Lcom/fulishe/fs/n/j;)V

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/fulishe/fs/n/j;->d:Lcom/fulishe/fs/view/XMSplashView;

    new-instance v1, Lcom/fulishe/fs/n/g$c;

    invoke-direct {v1, p0}, Lcom/fulishe/fs/n/g$c;-><init>(Lcom/fulishe/fs/n/j;)V

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

    iget-object v0, p0, Lcom/fulishe/fs/n/j;->d:Lcom/fulishe/fs/view/XMSplashView;

    new-instance v1, Lcom/fulishe/fs/n/g$d;

    invoke-direct {v1, p0}, Lcom/fulishe/fs/n/g$d;-><init>(Lcom/fulishe/fs/n/j;)V

    invoke-virtual {v0, v1}, Lcom/fulishe/fs/view/XMSplashView;->setSkipListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method


# virtual methods
.method public a()Landroid/view/View;
    .registers 2

    iget-object v0, p0, Lcom/fulishe/fs/n/j;->d:Lcom/fulishe/fs/view/XMSplashView;

    return-object v0
.end method

.method public a(Landroid/graphics/drawable/Drawable;)V
    .registers 3

    iget-object v0, p0, Lcom/fulishe/fs/n/j;->d:Lcom/fulishe/fs/view/XMSplashView;

    invoke-virtual {v0, p1}, Lcom/fulishe/fs/view/XMSplashView;->setDrawable(Landroid/graphics/drawable/Drawable;)V

    return-void
.end method

.method public a(Landroid/os/Message;)V
    .registers 6

    const/4 v1, 0x1

    iget v0, p1, Landroid/os/Message;->what:I

    if-ne v0, v1, :cond_1a

    iget v0, p0, Lcom/fulishe/fs/n/j;->e:I

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

    iput v0, p0, Lcom/fulishe/fs/n/j;->e:I

    if-nez v0, :cond_1b

    iget-object v0, p0, Lcom/fulishe/fs/n/j;->c:Lcom/fulishe/fs/l$a;

    if-eqz v0, :cond_14

    invoke-interface {v0}, Lcom/fulishe/fs/l$a;->b()V

    :cond_14
    iget-object v0, p0, Lcom/fulishe/fs/n/j;->f:Lcom/fulishe/shadow/base/i;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacksAndMessages(Ljava/lang/Object;)V

    :cond_1a
    :goto_1a
    return-void

    :cond_1b
    if-lez v0, :cond_1a

    invoke-direct {p0, v0}, Lcom/fulishe/fs/n/j;->a(I)V

    iget-object v0, p0, Lcom/fulishe/fs/n/j;->f:Lcom/fulishe/shadow/base/i;

    const-wide/16 v2, 0x3e8

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_1a
.end method

.method public a(Lcom/fulishe/fs/b/b;)V
    .registers 3

    iget-object v0, p0, Lcom/fulishe/fs/n/j;->b:Lcom/fulishe/fs/k/a;

    invoke-virtual {v0, p1}, Lcom/fulishe/fs/k/a;->b(Lcom/fulishe/fs/b/b;)V

    return-void
.end method

.method public a(Lcom/fulishe/fs/l$a;)V
    .registers 2

    iput-object p1, p0, Lcom/fulishe/fs/n/j;->c:Lcom/fulishe/fs/l$a;

    return-void
.end method

.method public b()Lcom/fulishe/fs/k/a;
    .registers 2

    iget-object v0, p0, Lcom/fulishe/fs/n/j;->b:Lcom/fulishe/fs/k/a;

    return-object v0
.end method