b$2$1.smali

.class final Lsg/bigolive/revenue64/component/gift/b/b$2$1;
.super Lcom/facebook/drawee/controller/BaseControllerListener;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lsg/bigolive/revenue64/component/gift/b/b$2;->onAnimationEnd(Landroid/view/animation/Animation;)V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/facebook/drawee/controller/BaseControllerListener<",
        "Lcom/facebook/imagepipeline/image/ImageInfo;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lsg/bigolive/revenue64/component/gift/b/b$2;


# direct methods
.method constructor <init>(Lsg/bigolive/revenue64/component/gift/b/b$2;)V
    .registers 2

    .line 225
    iput-object p1, p0, Lsg/bigolive/revenue64/component/gift/b/b$2$1;->a:Lsg/bigolive/revenue64/component/gift/b/b$2;

    invoke-direct {p0}, Lcom/facebook/drawee/controller/BaseControllerListener;-><init>()V

    return-void
.end method


# virtual methods
.method public final onFailure(Ljava/lang/String;Ljava/lang/Throwable;)V
    .registers 3

    .line 237
    new-instance p1, Lsg/bigolive/revenue64/component/gift/b/b$2$1$1;

    invoke-direct {p1, p0}, Lsg/bigolive/revenue64/component/gift/b/b$2$1$1;-><init>(Lsg/bigolive/revenue64/component/gift/b/b$2$1;)V

    invoke-static {p1}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method public final synthetic onFinalImageSet(Ljava/lang/String;Ljava/lang/Object;Landroid/graphics/drawable/Animatable;)V
    .registers 4

    .line 1228
    instance-of p1, p3, Lcom/facebook/fresco/animation/drawable/AnimatedDrawable2;

    if-eqz p1, :cond_19

    .line 1229
    iget-object p1, p0, Lsg/bigolive/revenue64/component/gift/b/b$2$1;->a:Lsg/bigolive/revenue64/component/gift/b/b$2;

    iget-object p1, p1, Lsg/bigolive/revenue64/component/gift/b/b$2;->a:Lsg/bigolive/revenue64/component/gift/bean/b;

    check-cast p3, Lcom/facebook/fresco/animation/drawable/AnimatedDrawable2;

    invoke-virtual {p3}, Lcom/facebook/fresco/animation/drawable/AnimatedDrawable2;->getFrameCount()I

    move-result p2

    mul-int/lit8 p2, p2, 0x64

    const/16 p3, 0x7d0

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

    move-result p2

    int-to-long p2, p2

    iput-wide p2, p1, Lsg/bigolive/revenue64/component/gift/bean/b;->k:J

    .line 1231
    :cond_19
    iget-object p1, p0, Lsg/bigolive/revenue64/component/gift/b/b$2$1;->a:Lsg/bigolive/revenue64/component/gift/b/b$2;

    iget-object p1, p1, Lsg/bigolive/revenue64/component/gift/b/b$2;->b:Lsg/bigolive/revenue64/component/gift/b/b;

    const/4 p2, 0x0

    .line 2039
    iput-boolean p2, p1, Lsg/bigolive/revenue64/component/gift/b/b;->b:Z

    .line 1232
    iget-object p1, p0, Lsg/bigolive/revenue64/component/gift/b/b$2$1;->a:Lsg/bigolive/revenue64/component/gift/b/b$2;

    iget-object p1, p1, Lsg/bigolive/revenue64/component/gift/b/b$2;->b:Lsg/bigolive/revenue64/component/gift/b/b;

    invoke-virtual {p1}, Lsg/bigolive/revenue64/component/gift/b/b;->c()V

    return-void
.end method