a$b.smali
.class public final Lcom/bumptech/glide/load/resource/drawable/a$b;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/bumptech/glide/load/n;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/bumptech/glide/load/resource/drawable/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/bumptech/glide/load/n<",
"Ljava/nio/ByteBuffer;",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
# instance fields
.field public final a:Lcom/bumptech/glide/load/resource/drawable/a;
# direct methods
.method public constructor <init>(Lcom/bumptech/glide/load/resource/drawable/a;)V
.registers 2
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lcom/bumptech/glide/load/resource/drawable/a$b;->a:Lcom/bumptech/glide/load/resource/drawable/a;
return-void
.end method
# virtual methods
.method public final decode(Ljava/lang/Object;IILcom/bumptech/glide/load/l;)Lcom/bumptech/glide/load/engine/w;
.registers 6
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
check-cast p1, Ljava/nio/ByteBuffer;
.line 2
invoke-static {p1}, Landroid/graphics/ImageDecoder;->createSource(Ljava/nio/ByteBuffer;)Landroid/graphics/ImageDecoder$Source;
move-result-object p1
.line 3
iget-object v0, p0, Lcom/bumptech/glide/load/resource/drawable/a$b;->a:Lcom/bumptech/glide/load/resource/drawable/a;
invoke-virtual {v0, p1, p2, p3, p4}, Lcom/bumptech/glide/load/resource/drawable/a;->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 handles(Ljava/lang/Object;Lcom/bumptech/glide/load/l;)Z
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
check-cast p1, Ljava/nio/ByteBuffer;
.line 2
iget-object p2, p0, Lcom/bumptech/glide/load/resource/drawable/a$b;->a:Lcom/bumptech/glide/load/resource/drawable/a;
.line 3
iget-object p2, p2, Lcom/bumptech/glide/load/resource/drawable/a;->a:Ljava/util/List;
invoke-static {p2, p1}, Lcom/bumptech/glide/load/h;->d(Ljava/util/List;Ljava/nio/ByteBuffer;)Lcom/bumptech/glide/load/ImageHeaderParser$ImageType;
move-result-object p1
.line 4
sget-object p2, Lcom/bumptech/glide/load/ImageHeaderParser$ImageType;->ANIMATED_WEBP:Lcom/bumptech/glide/load/ImageHeaderParser$ImageType;
if-ne p1, p2, :cond_10
const/4 p1, 0x1
goto :goto_11
:cond_10
const/4 p1, 0x0
:goto_11
return p1
.end method