ChannelWebComponent$f.smali
.class final Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent$f;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/animation/ValueAnimator$AnimatorUpdateListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent;->b()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent;)V
.registers 2
iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent$f;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onAnimationUpdate(Landroid/animation/ValueAnimator;)V
.registers 7
.line 122
iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent$f;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent;
invoke-static {v0}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent;->a(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent;)Landroid/view/ViewGroup;
move-result-object v0
invoke-virtual {v0}, Landroid/view/ViewGroup;->getVisibility()I
move-result v0
if-eqz v0, :cond_16
.line 123
iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent$f;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent;
invoke-static {p1}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent;->b(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent;)Landroid/animation/ValueAnimator;
move-result-object p1
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->cancel()V
return-void
:cond_16
const/high16 v0, 0x3f800000 # 1.0f
const-string v1, "it"
.line 126
invoke-static {p1, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->getAnimatedFraction()F
move-result p1
const/high16 v1, 0x3f000000 # 0.5f
mul-float p1, p1, v1
sub-float/2addr v0, p1
.line 127
iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent$f;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent;
invoke-static {p1}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent;->a(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelWebComponent;)Landroid/view/ViewGroup;
move-result-object p1
const/4 v1, 0x0
invoke-virtual {p1, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object p1
if-eqz p1, :cond_4b
.line 128
check-cast p1, Landroid/view/ViewGroup;
invoke-virtual {p1}, Landroid/view/ViewGroup;->getChildCount()I
move-result v2
:goto_39
if-ge v1, v2, :cond_4a
.line 130
invoke-virtual {p1, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object v3
const-string v4, "child"
.line 131
invoke-static {v3, v4}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v3, v0}, Landroid/view/View;->setAlpha(F)V
add-int/lit8 v1, v1, 0x1
goto :goto_39
:cond_4a
return-void
.line 128
:cond_4b
new-instance p1, Lkotlin/TypeCastException;
const-string v0, "null cannot be cast to non-null type android.view.ViewGroup"
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
goto :goto_54
:goto_53
throw p1
:goto_54
goto :goto_53
.end method