d.smali
.class public final Lcom/bumptech/glide/load/resource/bitmap/d;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/bumptech/glide/load/n;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/bumptech/glide/load/n<",
"Landroid/graphics/ImageDecoder$Source;",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
# instance fields
.field public final a:Lcom/bumptech/glide/load/engine/bitmap_recycle/e;
# direct methods
.method public constructor <init>()V
.registers 2
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
new-instance v0, Lcom/bumptech/glide/load/engine/bitmap_recycle/e;
invoke-direct {v0}, Lcom/bumptech/glide/load/engine/bitmap_recycle/e;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/load/resource/bitmap/d;->a:Lcom/bumptech/glide/load/engine/bitmap_recycle/e;
return-void
.end method
# virtual methods
.method public final a(Landroid/graphics/ImageDecoder$Source;IILcom/bumptech/glide/load/l;)Lcom/bumptech/glide/load/engine/w;
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/ImageDecoder$Source;",
"II",
"Lcom/bumptech/glide/load/l;",
")",
"Lcom/bumptech/glide/load/engine/w<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
new-instance v0, Lcom/bumptech/glide/load/resource/a;
invoke-direct {v0, p2, p3, p4}, Lcom/bumptech/glide/load/resource/a;-><init>(IILcom/bumptech/glide/load/l;)V
.line 2
invoke-static {p1, v0}, Landroid/graphics/ImageDecoder;->decodeBitmap(Landroid/graphics/ImageDecoder$Source;Landroid/graphics/ImageDecoder$OnHeaderDecodedListener;)Landroid/graphics/Bitmap;
move-result-object p1
const-string p2, "BitmapImageDecoder"
const/4 p3, 0x2
.line 3
invoke-static {p2, p3}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
move-result p2
if-eqz p2, :cond_18
.line 4
invoke-virtual {p1}, Landroid/graphics/Bitmap;->getWidth()I
.line 5
invoke-virtual {p1}, Landroid/graphics/Bitmap;->getHeight()I
.line 6
:cond_18
new-instance p2, Lcom/bumptech/glide/load/resource/bitmap/e;
iget-object p3, p0, Lcom/bumptech/glide/load/resource/bitmap/d;->a:Lcom/bumptech/glide/load/engine/bitmap_recycle/e;
invoke-direct {p2, p1, p3}, Lcom/bumptech/glide/load/resource/bitmap/e;-><init>(Landroid/graphics/Bitmap;Lcom/bumptech/glide/load/engine/bitmap_recycle/d;)V
return-object p2
.end method
.method public final bridge synthetic decode(Ljava/lang/Object;IILcom/bumptech/glide/load/l;)Lcom/bumptech/glide/load/engine/w;
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
check-cast p1, Landroid/graphics/ImageDecoder$Source;
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/bumptech/glide/load/resource/bitmap/d;->a(Landroid/graphics/ImageDecoder$Source;IILcom/bumptech/glide/load/l;)Lcom/bumptech/glide/load/engine/w;
move-result-object p1
return-object p1
.end method
.method public final bridge synthetic handles(Ljava/lang/Object;Lcom/bumptech/glide/load/l;)Z
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
check-cast p1, Landroid/graphics/ImageDecoder$Source;
const/4 p1, 0x1
return p1
.end method