RecommendTipShowComponent$d.smali

.class public final Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent$d;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/view/animation/Animation$AnimationListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent;

.field private final synthetic b:Landroid/view/animation/Animation$AnimationListener;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    .line 200
    iput-object p1, p0, Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent$d;->a:Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent;

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

    .line 237
    const-class p1, Landroid/view/animation/Animation$AnimationListener;

    .line 238
    sget-object v0, Lcom/imo/android/imoim/util/cj$a;->a:Lcom/imo/android/imoim/util/cj$a;

    check-cast v0, Ljava/lang/reflect/InvocationHandler;

    .line 240
    invoke-virtual {p1}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;

    move-result-object v1

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Class;

    const/4 v3, 0x0

    aput-object p1, v2, v3

    .line 239
    invoke-static {v1, v2, v0}, Ljava/lang/reflect/Proxy;->newProxyInstance(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;

    move-result-object p1

    if-eqz p1, :cond_20

    check-cast p1, Landroid/view/animation/Animation$AnimationListener;

    iput-object p1, p0, Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent$d;->b:Landroid/view/animation/Animation$AnimationListener;

    return-void

    :cond_20
    new-instance p1, Lkotlin/TypeCastException;

    const-string v0, "null cannot be cast to non-null type android.view.animation.Animation.AnimationListener"

    invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V

    throw p1
.end method


# virtual methods
.method public final onAnimationEnd(Landroid/view/animation/Animation;)V
    .registers 4

    .line 206
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent$d;->a:Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent;->b(Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent;)Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_c

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setAlpha(F)V

    :cond_c
    if-eqz p1, :cond_11

    .line 207
    invoke-virtual {p1}, Landroid/view/animation/Animation;->reset()V

    .line 208
    :cond_11
    iget-object p1, p0, Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent$d;->a:Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent;->c(Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent;)Landroid/view/animation/AnimationSet;

    move-result-object p1

    if-eqz p1, :cond_1c

    invoke-virtual {p1}, Landroid/view/animation/AnimationSet;->start()V

    :cond_1c
    return-void
.end method

.method public final onAnimationRepeat(Landroid/view/animation/Animation;)V
    .registers 3

    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent$d;->b:Landroid/view/animation/Animation$AnimationListener;

    invoke-interface {v0, p1}, Landroid/view/animation/Animation$AnimationListener;->onAnimationRepeat(Landroid/view/animation/Animation;)V

    return-void
.end method

.method public final onAnimationStart(Landroid/view/animation/Animation;)V
    .registers 3

    .line 202
    iget-object p1, p0, Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent$d;->a:Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent;->b(Lcom/imo/android/imoim/voiceroom/room/view/RecommendTipShowComponent;)Landroid/view/View;

    move-result-object p1

    if-eqz p1, :cond_d

    const/high16 v0, 0x3f800000    # 1.0f

    invoke-virtual {p1, v0}, Landroid/view/View;->setAlpha(F)V

    :cond_d
    return-void
.end method