d.smali
.class public final Le2/d;
.super Lcom/facebook/drawee/controller/BaseControllerListener;
.source "CustomFrescoImageLoadListener.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Le2/d$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/drawee/controller/BaseControllerListener<",
"Lcom/facebook/imagepipeline/image/ImageInfo;",
">;"
}
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000@\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0003\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0018\u00002\u0008\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\u0017B\u001d\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\u0006\u00a2\u0006\u0002\u0010\u0008J\u0018\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\u00062\u0006\u0010\u000c\u001a\u00020\u0006H\u0002J\u001c\u0010\r\u001a\u00020\u000e2\u0008\u0010\u000f\u001a\u0004\u0018\u00010\u00102\u0008\u0010\u0011\u001a\u0004\u0018\u00010\u0012H\u0016J&\u0010\u0013\u001a\u00020\u000e2\u0008\u0010\u000f\u001a\u0004\u0018\u00010\u00102\u0008\u0010\u0014\u001a\u0004\u0018\u00010\u00022\u0008\u0010\u0015\u001a\u0004\u0018\u00010\u0016H\u0016R\u000e\u0010\u0007\u001a\u00020\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0018"
}
d2 = {
"Lcom/foody/android/image/impl/CustomFrescoImageLoadListener;",
"Lcom/facebook/drawee/controller/BaseControllerListener;",
"Lcom/facebook/imagepipeline/image/ImageInfo;",
"observer",
"Lcom/foody/android/image/service/IImageLoadListener;",
"mWidth",
"",
"mHeight",
"(Lcom/foody/android/image/service/IImageLoadListener;II)V",
"calculateAdj",
"Lcom/foody/android/image/impl/CustomFrescoImageLoadListener$Rect;",
"iWidth",
"iHeight",
"onFailure",
"",
"id",
"",
"throwable",
"",
"onFinalImageSet",
"imageInfo",
"animatable",
"Landroid/graphics/drawable/Animatable;",
"Rect",
"impl_release"
}
k = 0x1
mv = {
0x1,
0x1,
0x10
}
.end annotation
# instance fields
.field public final a:Lf2/f;
.field public final b:I
.field public final c:I
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lf2/f;II)V
.registers 4
invoke-direct {p0}, Lcom/facebook/drawee/controller/BaseControllerListener;-><init>()V
iput-object p1, p0, Le2/d;->a:Lf2/f;
iput p2, p0, Le2/d;->b:I
iput p3, p0, Le2/d;->c:I
return-void
.end method
# virtual methods
.method public final a(II)Le2/d$a;
.registers 5
iget v0, p0, Le2/d;->b:I
if-lez v0, :cond_37
iget v1, p0, Le2/d;->c:I
if-lez v1, :cond_37
if-lez p1, :cond_37
if-gtz p2, :cond_d
goto :goto_37
:cond_d
if-gt p1, v0, :cond_17
if-gt p2, v1, :cond_17
new-instance v0, Le2/d$a;
invoke-direct {v0, p1, p2}, Le2/d$a;-><init>(II)V
return-object v0
:cond_17
iget v0, p0, Le2/d;->b:I
if-le p1, v0, :cond_28
new-instance v1, Le2/d$a;
int-to-float p2, p2
int-to-float p1, p1
div-float/2addr p2, p1
int-to-float p1, v0
mul-float p2, p2, p1
float-to-int p1, p2
invoke-direct {v1, v0, p1}, Le2/d$a;-><init>(II)V
goto :goto_36
:cond_28
new-instance v1, Le2/d$a;
int-to-float p1, p1
int-to-float p2, p2
div-float/2addr p1, p2
iget p2, p0, Le2/d;->c:I
int-to-float v0, p2
mul-float p1, p1, v0
float-to-int p1, p1
invoke-direct {v1, p1, p2}, Le2/d$a;-><init>(II)V
:goto_36
return-object v1
:cond_37
:goto_37
new-instance v0, Le2/d$a;
invoke-direct {v0, p1, p2}, Le2/d$a;-><init>(II)V
return-object v0
.end method
.method public onFailure(Ljava/lang/String;Ljava/lang/Throwable;)V
.registers 3
invoke-super {p0, p1, p2}, Lcom/facebook/drawee/controller/BaseControllerListener;->onFailure(Ljava/lang/String;Ljava/lang/Throwable;)V
iget-object p1, p0, Le2/d;->a:Lf2/f;
invoke-interface {p1, p2}, Lf2/f;->onFailure(Ljava/lang/Throwable;)V
return-void
.end method
.method public onFinalImageSet(Ljava/lang/String;Lcom/facebook/imagepipeline/image/ImageInfo;Landroid/graphics/drawable/Animatable;)V
.registers 6
invoke-super {p0, p1, p2, p3}, Lcom/facebook/drawee/controller/BaseControllerListener;->onFinalImageSet(Ljava/lang/String;Ljava/lang/Object;Landroid/graphics/drawable/Animatable;)V
if-eqz p2, :cond_26
invoke-interface {p2}, Lcom/facebook/imagepipeline/image/ImageInfo;->getWidth()I
move-result p1
invoke-interface {p2}, Lcom/facebook/imagepipeline/image/ImageInfo;->getHeight()I
move-result p3
invoke-virtual {p0, p1, p3}, Le2/d;->a(II)Le2/d$a;
move-result-object p1
invoke-virtual {p1}, Le2/d$a;->a()I
move-result p3
invoke-virtual {p1}, Le2/d$a;->b()I
move-result p1
iget-object v0, p0, Le2/d;->a:Lf2/f;
invoke-interface {p2}, Lcom/facebook/imagepipeline/image/ImageInfo;->getWidth()I
move-result v1
invoke-interface {p2}, Lcom/facebook/imagepipeline/image/ImageInfo;->getHeight()I
move-result p2
invoke-interface {v0, v1, p2, p3, p1}, Lf2/f;->a(IIII)V
:cond_26
return-void
.end method
.method public bridge synthetic onFinalImageSet(Ljava/lang/String;Ljava/lang/Object;Landroid/graphics/drawable/Animatable;)V
.registers 4
check-cast p2, Lcom/facebook/imagepipeline/image/ImageInfo;
invoke-virtual {p0, p1, p2, p3}, Le2/d;->onFinalImageSet(Ljava/lang/String;Lcom/facebook/imagepipeline/image/ImageInfo;Landroid/graphics/drawable/Animatable;)V
return-void
.end method