a.smali
.class public final Lcom/imo/android/imoim/biggroup/blastgift/c/a;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public constructor <init>()V
.registers 1
.line 14
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a(Landroid/content/Context;)Landroid/view/animation/Animation;
.registers 6
const/4 v0, 0x0
const v1, 0x7f01000f
const-string v2, "UserEnterPanel"
if-eqz p0, :cond_22
.line 22
:try_start_8
invoke-static {p0}, Lcom/imo/android/imoim/biggroup/blastgift/c/a;->b(Landroid/content/Context;)Landroid/view/animation/Animation;
move-result-object p0
:try_end_c
.catch Ljava/lang/Exception; {:try_start_8 .. :try_end_c} :catch_d
goto :goto_23
.line 24
:catch_d
:try_start_d
new-instance p0, Ljava/lang/StringBuilder;
const-string v3, "Self context loadAnimation failed. the resId is "
invoke-direct {p0, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-static {v1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v3
invoke-virtual {p0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-static {v2, p0}, Lsg/bigo/log/TraceLog;->w(Ljava/lang/String;Ljava/lang/String;)I
:try_end_22
.catch Ljava/lang/Exception; {:try_start_d .. :try_end_22} :catch_69
:cond_22
move-object p0, v0
:goto_23
if-nez p0, :cond_6a
.line 29
:try_start_25
invoke-static {}, Lsg/bigo/mobile/android/aab/a;->f()Landroid/app/Activity;
move-result-object v3
:try_end_29
.catch Ljava/lang/Exception; {:try_start_25 .. :try_end_29} :catch_68
if-eqz v3, :cond_46
.line 32
:try_start_2b
invoke-static {v3}, Lcom/imo/android/imoim/biggroup/blastgift/c/a;->b(Landroid/content/Context;)Landroid/view/animation/Animation;
move-result-object p0
:try_end_2f
.catch Ljava/lang/Exception; {:try_start_2b .. :try_end_2f} :catch_30
goto :goto_46
.line 34
:catch_30
:try_start_30
new-instance v3, Ljava/lang/StringBuilder;
const-string v4, "Activity context loadAnimation failed. the resId is "
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-static {v1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v4
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
invoke-static {v2, v3}, Lsg/bigo/log/TraceLog;->w(Ljava/lang/String;Ljava/lang/String;)I
:try_end_45
.catch Ljava/lang/Exception; {:try_start_30 .. :try_end_45} :catch_68
goto :goto_47
:cond_46
:goto_46
move-object v0, p0
:goto_47
if-nez v0, :cond_69
.line 42
:try_start_49
invoke-static {}, Lsg/bigo/mobile/android/aab/a;->d()Landroid/content/Context;
move-result-object p0
invoke-static {p0}, Lcom/imo/android/imoim/biggroup/blastgift/c/a;->b(Landroid/content/Context;)Landroid/view/animation/Animation;
move-result-object p0
:try_end_51
.catch Ljava/lang/Exception; {:try_start_49 .. :try_end_51} :catch_52
goto :goto_6a
.line 44
:catch_52
:try_start_52
new-instance p0, Ljava/lang/StringBuilder;
const-string v3, "Application context loadAnimation failed. the resId is "
invoke-direct {p0, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-static {v1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v1
invoke-virtual {p0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-static {v2, p0}, Lsg/bigo/log/TraceLog;->w(Ljava/lang/String;Ljava/lang/String;)I
:try_end_67
.catch Ljava/lang/Exception; {:try_start_52 .. :try_end_67} :catch_69
goto :goto_69
:catch_68
move-object v0, p0
:catch_69
:cond_69
:goto_69
move-object p0, v0
:cond_6a
:goto_6a
if-nez p0, :cond_73
.line 52
new-instance p0, Landroid/view/animation/AlphaAnimation;
const/high16 v0, 0x3f800000 # 1.0f
invoke-direct {p0, v0, v0}, Landroid/view/animation/AlphaAnimation;-><init>(FF)V
:cond_73
return-object p0
.end method
.method private static b(Landroid/content/Context;)Landroid/view/animation/Animation;
.registers 3
const v0, 0x7f01000f
.line 61
:try_start_3
invoke-static {p0, v0}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;
move-result-object v1
:try_end_7
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_7} :catch_8
goto :goto_9
:catch_8
const/4 v1, 0x0
:goto_9
if-nez v1, :cond_12
.line 67
invoke-static {p0}, Lsg/bigo/mobile/android/aab/c/a;->a(Landroid/content/Context;)V
.line 68
invoke-static {p0, v0}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;
move-result-object v1
:cond_12
return-object v1
.end method