2022-06-10 21:38:30 +09:00

729 lines
16 KiB
Smali

.class public Led/c;
.super Ljava/lang/Object;
.source "TmapAnimation.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Led/c$c;
}
.end annotation
# static fields
.field public static final g:Ljava/lang/String; = "c"
.field public static h:Landroid/content/Context;
.field public static i:Led/c;
# instance fields
.field public a:Landroid/view/animation/Animation;
.field public b:Landroid/view/animation/Animation;
.field public final c:I
.field public d:Landroid/view/animation/Animation;
.field public e:Landroid/view/animation/Animation;
.field public final f:I
# direct methods
.method public static constructor <clinit>()V
.locals 0
return-void
.end method
.method public constructor <init>()V
.locals 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/16 v0, 0x12c
.line 2
iput v0, p0, Led/c;->c:I
const/16 v0, 0xfa
.line 3
iput v0, p0, Led/c;->f:I
return-void
.end method
.method public static synthetic b()Ljava/lang/String;
.locals 1
.line 1
sget-object v0, Led/c;->g:Ljava/lang/String;
return-object v0
.end method
.method public static c(Landroid/view/View;IZ)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"view",
"drawable",
"start"
}
.end annotation
const/4 v0, 0x0
.line 1
invoke-static {p0, p1, p2, v0}, Led/c;->d(Landroid/view/View;IZLed/c$c;)V
return-void
.end method
.method public static d(Landroid/view/View;IZLed/c$c;)V
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0,
0x0
}
names = {
"view",
"drawable",
"start",
"animationListener"
}
.end annotation
if-eqz p0, :cond_4
if-nez p1, :cond_0
goto :goto_1
.line 1
:cond_0
:try_start_0
invoke-virtual {p0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
move-result-object v0
check-cast v0, Landroid/graphics/drawable/AnimationDrawable;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 2
sget-object v1, Led/c;->g:Ljava/lang/String;
const-string v2, "Exception In setSign : "
invoke-static {v2}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/skt/tmap/util/c1;->a(Ljava/lang/String;Ljava/lang/String;)V
const/4 v0, 0x0
:goto_0
const/4 v1, 0x1
if-ne p2, v1, :cond_3
.line 3
sget-object p2, Led/c;->g:Ljava/lang/String;
const-string v1, "animateDrawable Start"
invoke-static {p2, v1}, Lcom/skt/tmap/util/c1;->a(Ljava/lang/String;Ljava/lang/String;)V
if-nez v0, :cond_1
.line 4
invoke-virtual {p0, p1}, Landroid/view/View;->setBackgroundResource(I)V
.line 5
invoke-virtual {p0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
move-result-object p1
move-object v0, p1
check-cast v0, Landroid/graphics/drawable/AnimationDrawable;
.line 6
:cond_1
invoke-virtual {v0}, Landroid/graphics/drawable/AnimationDrawable;->isOneShot()Z
move-result p1
if-eqz p1, :cond_2
.line 7
new-instance p1, Led/c$b;
invoke-direct {p1, v0, p0, p3}, Led/c$b;-><init>(Landroid/graphics/drawable/AnimationDrawable;Landroid/graphics/drawable/Drawable$Callback;Led/c$c;)V
invoke-virtual {v0, p1}, Landroid/graphics/drawable/AnimationDrawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
.line 8
:cond_2
invoke-virtual {v0}, Landroid/graphics/drawable/AnimationDrawable;->start()V
goto :goto_1
:cond_3
if-eqz v0, :cond_4
.line 9
sget-object p0, Led/c;->g:Ljava/lang/String;
const-string p1, "animateDrawable stop!"
invoke-static {p0, p1}, Lcom/skt/tmap/util/c1;->a(Ljava/lang/String;Ljava/lang/String;)V
.line 10
invoke-virtual {v0}, Landroid/graphics/drawable/AnimationDrawable;->stop()V
:cond_4
:goto_1
return-void
.end method
.method public static e(Landroid/content/Context;)Led/c;
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"ctx"
}
.end annotation
.line 1
sput-object p0, Led/c;->h:Landroid/content/Context;
.line 2
sget-object p0, Led/c;->i:Led/c;
if-nez p0, :cond_0
.line 3
new-instance p0, Led/c;
invoke-direct {p0}, Led/c;-><init>()V
sput-object p0, Led/c;->i:Led/c;
.line 4
:cond_0
sget-object p0, Led/c;->i:Led/c;
return-object p0
.end method
.method public static i(Landroid/view/View;ILandroid/view/animation/Animation$AnimationListener;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x10,
0x0,
0x0
}
names = {
"v",
"animResId",
"animationListener"
}
.end annotation
if-nez p0, :cond_0
return-void
.line 1
:cond_0
invoke-virtual {p0}, Landroid/view/View;->clearAnimation()V
.line 2
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v0
invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0, p1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;
move-result-object p1
if-nez p1, :cond_1
return-void
:cond_1
if-eqz p2, :cond_2
.line 3
invoke-virtual {p1, p2}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V
.line 4
:cond_2
invoke-virtual {p0, p1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V
return-void
.end method
# virtual methods
.method public final a()V
.locals 0
.line 1
invoke-virtual {p0}, Led/c;->f()V
return-void
.end method
.method public final f()V
.locals 4
.line 1
sget-object v0, Led/c;->h:Landroid/content/Context;
const v1, 0x7f010033
invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;
move-result-object v0
iput-object v0, p0, Led/c;->a:Landroid/view/animation/Animation;
const-wide/16 v1, 0x12c
.line 2
invoke-virtual {v0, v1, v2}, Landroid/view/animation/Animation;->setDuration(J)V
.line 3
sget-object v0, Led/c;->h:Landroid/content/Context;
const v3, 0x7f010034
invoke-static {v0, v3}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;
move-result-object v0
iput-object v0, p0, Led/c;->b:Landroid/view/animation/Animation;
.line 4
invoke-virtual {v0, v1, v2}, Landroid/view/animation/Animation;->setDuration(J)V
.line 5
sget-object v0, Led/c;->h:Landroid/content/Context;
const v1, 0x7f010035
invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;
move-result-object v0
iput-object v0, p0, Led/c;->d:Landroid/view/animation/Animation;
const-wide/16 v1, 0xfa
.line 6
invoke-virtual {v0, v1, v2}, Landroid/view/animation/Animation;->setDuration(J)V
.line 7
sget-object v0, Led/c;->h:Landroid/content/Context;
const v3, 0x7f010036
invoke-static {v0, v3}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;
move-result-object v0
iput-object v0, p0, Led/c;->e:Landroid/view/animation/Animation;
.line 8
invoke-virtual {v0, v1, v2}, Landroid/view/animation/Animation;->setDuration(J)V
return-void
.end method
.method public g(Landroid/view/View;)V
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"view"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Led/c;->a:Landroid/view/animation/Animation;
if-nez v0, :cond_0
.line 2
sget-object v0, Led/c;->h:Landroid/content/Context;
const v1, 0x7f010033
invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;
move-result-object v0
iput-object v0, p0, Led/c;->a:Landroid/view/animation/Animation;
const-wide/16 v1, 0x12c
.line 3
invoke-virtual {v0, v1, v2}, Landroid/view/animation/Animation;->setDuration(J)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 4
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
:cond_0
:goto_0
if-eqz p1, :cond_2
.line 5
:try_start_1
invoke-virtual {p1}, Landroid/view/View;->getVisibility()I
move-result v0
const/16 v1, 0x8
if-eq v0, v1, :cond_1
invoke-virtual {p1}, Landroid/view/View;->getVisibility()I
move-result v0
const/4 v1, 0x4
if-ne v0, v1, :cond_2
:cond_1
const/4 v0, 0x0
.line 6
invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V
.line 7
iget-object v0, p0, Led/c;->a:Landroid/view/animation/Animation;
invoke-virtual {p1, v0}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception p1
.line 8
invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V
:cond_2
:goto_1
return-void
.end method
.method public h(Landroid/view/View;)V
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"view"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Led/c;->b:Landroid/view/animation/Animation;
if-nez v0, :cond_0
.line 2
sget-object v0, Led/c;->h:Landroid/content/Context;
const v1, 0x7f010034
invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;
move-result-object v0
iput-object v0, p0, Led/c;->b:Landroid/view/animation/Animation;
const-wide/16 v1, 0x12c
.line 3
invoke-virtual {v0, v1, v2}, Landroid/view/animation/Animation;->setDuration(J)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 4
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
:cond_0
:goto_0
if-eqz p1, :cond_1
.line 5
:try_start_1
invoke-virtual {p1}, Landroid/view/View;->getVisibility()I
move-result v0
if-nez v0, :cond_1
const/16 v0, 0x8
.line 6
invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V
.line 7
iget-object v0, p0, Led/c;->b:Landroid/view/animation/Animation;
invoke-virtual {p1, v0}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception p1
.line 8
invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V
:cond_1
:goto_1
return-void
.end method
.method public j(Landroid/view/View;)V
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"view"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Led/c;->d:Landroid/view/animation/Animation;
if-nez v0, :cond_0
.line 2
sget-object v0, Led/c;->h:Landroid/content/Context;
const v1, 0x7f010035
invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;
move-result-object v0
iput-object v0, p0, Led/c;->d:Landroid/view/animation/Animation;
const-wide/16 v1, 0xfa
.line 3
invoke-virtual {v0, v1, v2}, Landroid/view/animation/Animation;->setDuration(J)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 4
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
:cond_0
:goto_0
if-eqz p1, :cond_1
.line 5
:try_start_1
invoke-virtual {p1}, Landroid/view/View;->getVisibility()I
move-result v0
if-eqz v0, :cond_1
const/4 v0, 0x0
.line 6
invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V
.line 7
iget-object v0, p0, Led/c;->d:Landroid/view/animation/Animation;
invoke-virtual {p1, v0}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception p1
.line 8
invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V
:cond_1
:goto_1
return-void
.end method
.method public k(Landroid/view/View;)V
.locals 4
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x10
}
names = {
"view"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Led/c;->e:Landroid/view/animation/Animation;
if-nez v0, :cond_0
.line 2
sget-object v0, Led/c;->h:Landroid/content/Context;
const v1, 0x7f010036
invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;
move-result-object v0
iput-object v0, p0, Led/c;->e:Landroid/view/animation/Animation;
const-wide/16 v1, 0xfa
.line 3
invoke-virtual {v0, v1, v2}, Landroid/view/animation/Animation;->setDuration(J)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 4
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
:cond_0
:goto_0
if-eqz p1, :cond_1
.line 5
:try_start_1
invoke-virtual {p1}, Landroid/view/View;->getVisibility()I
move-result v0
if-nez v0, :cond_1
.line 6
new-instance v0, Landroid/os/Handler;
invoke-direct {v0}, Landroid/os/Handler;-><init>()V
.line 7
new-instance v1, Led/c$a;
invoke-direct {v1, p0, p1}, Led/c$a;-><init>(Led/c;Landroid/view/View;)V
iget-object v2, p0, Led/c;->e:Landroid/view/animation/Animation;
.line 8
invoke-virtual {v2}, Landroid/view/animation/Animation;->getDuration()J
move-result-wide v2
.line 9
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
.line 10
iget-object v0, p0, Led/c;->e:Landroid/view/animation/Animation;
invoke-virtual {p1, v0}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception p1
.line 11
invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V
:cond_1
:goto_1
return-void
.end method