KImageView$a.smali
.class public final Lcom/singbox/component/fresco/KImageView$a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/drawee/controller/ControllerListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/singbox/component/fresco/KImageView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<INFO:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lcom/facebook/drawee/controller/ControllerListener<",
"TINFO;>;"
}
.end annotation
# instance fields
.field private a:Lcom/facebook/fresco/animation/drawable/AnimatedDrawable2;
.field private final b:Lcom/facebook/drawee/controller/ControllerListener;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/drawee/controller/ControllerListener<",
"TINFO;>;"
}
.end annotation
.end field
.field private final c:Lcom/facebook/fresco/animation/drawable/AnimationListener;
# direct methods
.method public constructor <init>(Lcom/facebook/drawee/controller/ControllerListener;Lcom/facebook/fresco/animation/drawable/AnimationListener;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/drawee/controller/ControllerListener<",
"TINFO;>;",
"Lcom/facebook/fresco/animation/drawable/AnimationListener;",
")V"
}
.end annotation
.line 60
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/singbox/component/fresco/KImageView$a;->b:Lcom/facebook/drawee/controller/ControllerListener;
iput-object p2, p0, Lcom/singbox/component/fresco/KImageView$a;->c:Lcom/facebook/fresco/animation/drawable/AnimationListener;
return-void
.end method
.method public synthetic constructor <init>(Lcom/facebook/drawee/controller/ControllerListener;Lcom/facebook/fresco/animation/drawable/AnimationListener;ILkotlin/f/b/j;)V
.registers 5
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_5
const/4 p2, 0x0
.line 60
:cond_5
invoke-direct {p0, p1, p2}, Lcom/singbox/component/fresco/KImageView$a;-><init>(Lcom/facebook/drawee/controller/ControllerListener;Lcom/facebook/fresco/animation/drawable/AnimationListener;)V
return-void
.end method
# virtual methods
.method public final onFailure(Ljava/lang/String;Ljava/lang/Throwable;)V
.registers 4
const-string v0, "id"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 88
iget-object v0, p0, Lcom/singbox/component/fresco/KImageView$a;->b:Lcom/facebook/drawee/controller/ControllerListener;
if-eqz v0, :cond_c
invoke-interface {v0, p1, p2}, Lcom/facebook/drawee/controller/ControllerListener;->onFailure(Ljava/lang/String;Ljava/lang/Throwable;)V
:cond_c
return-void
.end method
.method public final onFinalImageSet(Ljava/lang/String;Ljava/lang/Object;Landroid/graphics/drawable/Animatable;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"TINFO;",
"Landroid/graphics/drawable/Animatable;",
")V"
}
.end annotation
const-string v0, "id"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 64
iget-object v0, p0, Lcom/singbox/component/fresco/KImageView$a;->b:Lcom/facebook/drawee/controller/ControllerListener;
if-eqz v0, :cond_c
invoke-interface {v0, p1, p2, p3}, Lcom/facebook/drawee/controller/ControllerListener;->onFinalImageSet(Ljava/lang/String;Ljava/lang/Object;Landroid/graphics/drawable/Animatable;)V
.line 65
:cond_c
instance-of p1, p3, Lcom/facebook/fresco/animation/drawable/AnimatedDrawable2;
if-eqz p1, :cond_1e
.line 66
check-cast p3, Lcom/facebook/fresco/animation/drawable/AnimatedDrawable2;
iput-object p3, p0, Lcom/singbox/component/fresco/KImageView$a;->a:Lcom/facebook/fresco/animation/drawable/AnimatedDrawable2;
.line 67
iget-object p1, p0, Lcom/singbox/component/fresco/KImageView$a;->c:Lcom/facebook/fresco/animation/drawable/AnimationListener;
if-eqz p1, :cond_1d
if-eqz p3, :cond_1d
.line 68
invoke-virtual {p3, p1}, Lcom/facebook/fresco/animation/drawable/AnimatedDrawable2;->setAnimationListener(Lcom/facebook/fresco/animation/drawable/AnimationListener;)V
:cond_1d
return-void
:cond_1e
const/4 p1, 0x0
.line 71
iput-object p1, p0, Lcom/singbox/component/fresco/KImageView$a;->a:Lcom/facebook/fresco/animation/drawable/AnimatedDrawable2;
return-void
.end method
.method public final onIntermediateImageFailed(Ljava/lang/String;Ljava/lang/Throwable;)V
.registers 4
const-string v0, "id"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 84
iget-object v0, p0, Lcom/singbox/component/fresco/KImageView$a;->b:Lcom/facebook/drawee/controller/ControllerListener;
if-eqz v0, :cond_c
invoke-interface {v0, p1, p2}, Lcom/facebook/drawee/controller/ControllerListener;->onIntermediateImageFailed(Ljava/lang/String;Ljava/lang/Throwable;)V
:cond_c
return-void
.end method
.method public final onIntermediateImageSet(Ljava/lang/String;Ljava/lang/Object;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"TINFO;)V"
}
.end annotation
const-string v0, "id"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 80
iget-object v0, p0, Lcom/singbox/component/fresco/KImageView$a;->b:Lcom/facebook/drawee/controller/ControllerListener;
if-eqz v0, :cond_c
invoke-interface {v0, p1, p2}, Lcom/facebook/drawee/controller/ControllerListener;->onIntermediateImageSet(Ljava/lang/String;Ljava/lang/Object;)V
:cond_c
return-void
.end method
.method public final onRelease(Ljava/lang/String;)V
.registers 3
const-string v0, "id"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 92
iget-object v0, p0, Lcom/singbox/component/fresco/KImageView$a;->b:Lcom/facebook/drawee/controller/ControllerListener;
if-eqz v0, :cond_c
invoke-interface {v0, p1}, Lcom/facebook/drawee/controller/ControllerListener;->onRelease(Ljava/lang/String;)V
:cond_c
const/4 p1, 0x0
.line 93
iput-object p1, p0, Lcom/singbox/component/fresco/KImageView$a;->a:Lcom/facebook/fresco/animation/drawable/AnimatedDrawable2;
return-void
.end method
.method public final onSubmit(Ljava/lang/String;Ljava/lang/Object;)V
.registers 4
const-string v0, "id"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 76
iget-object v0, p0, Lcom/singbox/component/fresco/KImageView$a;->b:Lcom/facebook/drawee/controller/ControllerListener;
if-eqz v0, :cond_c
invoke-interface {v0, p1, p2}, Lcom/facebook/drawee/controller/ControllerListener;->onSubmit(Ljava/lang/String;Ljava/lang/Object;)V
:cond_c
return-void
.end method