UnitDrawableDecoder.smali
.class public Lcom/bumptech/glide/load/resource/drawable/UnitDrawableDecoder;
.super Ljava/lang/Object;
.source "UnitDrawableDecoder.java"
# interfaces
.implements Lcom/bumptech/glide/load/ResourceDecoder;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/bumptech/glide/load/ResourceDecoder<",
"Landroid/graphics/drawable/Drawable;",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 11
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public decode(Landroid/graphics/drawable/Drawable;IILcom/bumptech/glide/load/Options;)Lcom/bumptech/glide/load/engine/Resource;
.registers 6
.param p1, "source" # Landroid/graphics/drawable/Drawable;
.param p2, "width" # I
.param p3, "height" # I
.param p4, "options" # Lcom/bumptech/glide/load/Options;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/drawable/Drawable;",
"II",
"Lcom/bumptech/glide/load/Options;",
")",
"Lcom/bumptech/glide/load/engine/Resource<",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
.line 21
invoke-static {p1}, Lcom/bumptech/glide/load/resource/drawable/NonOwnedDrawableResource;->newInstance(Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/load/engine/Resource;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic decode(Ljava/lang/Object;IILcom/bumptech/glide/load/Options;)Lcom/bumptech/glide/load/engine/Resource;
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 11
check-cast p1, Landroid/graphics/drawable/Drawable;
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/bumptech/glide/load/resource/drawable/UnitDrawableDecoder;->decode(Landroid/graphics/drawable/Drawable;IILcom/bumptech/glide/load/Options;)Lcom/bumptech/glide/load/engine/Resource;
move-result-object p1
return-object p1
.end method
.method public handles(Landroid/graphics/drawable/Drawable;Lcom/bumptech/glide/load/Options;)Z
.registers 4
.param p1, "source" # Landroid/graphics/drawable/Drawable;
.param p2, "options" # Lcom/bumptech/glide/load/Options;
.line 14
const/4 v0, 0x1
return v0
.end method
.method public bridge synthetic handles(Ljava/lang/Object;Lcom/bumptech/glide/load/Options;)Z
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 11
check-cast p1, Landroid/graphics/drawable/Drawable;
invoke-virtual {p0, p1, p2}, Lcom/bumptech/glide/load/resource/drawable/UnitDrawableDecoder;->handles(Landroid/graphics/drawable/Drawable;Lcom/bumptech/glide/load/Options;)Z
move-result p1
return p1
.end method