d.smali
.class public Lcom/bumptech/glide/load/resource/gif/d;
.super Lcom/bumptech/glide/load/b/b/b;
.source "GifDrawableResource.java"
# interfaces
.implements Lcom/bumptech/glide/load/engine/x;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/bumptech/glide/load/b/b/b<",
"Lcom/bumptech/glide/load/resource/gif/GifDrawable;",
">;",
"Lcom/bumptech/glide/load/engine/x;"
}
.end annotation
# direct methods
.method public constructor <init>(Lcom/bumptech/glide/load/resource/gif/GifDrawable;)V
.registers 2
.line 1
invoke-direct {p0, p1}, Lcom/bumptech/glide/load/b/b/b;-><init>(Landroid/graphics/drawable/Drawable;)V
return-void
.end method
# virtual methods
.method public a()Ljava/lang/Class;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"Lcom/bumptech/glide/load/resource/gif/GifDrawable;",
">;"
}
.end annotation
.line 1
const-class v0, Lcom/bumptech/glide/load/resource/gif/GifDrawable;
return-object v0
.end method
.method public getSize()I
.registers 2
.line 1
iget-object v0, p0, Lcom/bumptech/glide/load/b/b/b;->a:Landroid/graphics/drawable/Drawable;
check-cast v0, Lcom/bumptech/glide/load/resource/gif/GifDrawable;
invoke-virtual {v0}, Lcom/bumptech/glide/load/resource/gif/GifDrawable;->f()I
move-result v0
return v0
.end method
.method public initialize()V
.registers 2
.line 1
iget-object v0, p0, Lcom/bumptech/glide/load/b/b/b;->a:Landroid/graphics/drawable/Drawable;
check-cast v0, Lcom/bumptech/glide/load/resource/gif/GifDrawable;
invoke-virtual {v0}, Lcom/bumptech/glide/load/resource/gif/GifDrawable;->c()Landroid/graphics/Bitmap;
move-result-object v0
invoke-virtual {v0}, Landroid/graphics/Bitmap;->prepareToDraw()V
return-void
.end method
.method public recycle()V
.registers 2
.line 1
iget-object v0, p0, Lcom/bumptech/glide/load/b/b/b;->a:Landroid/graphics/drawable/Drawable;
check-cast v0, Lcom/bumptech/glide/load/resource/gif/GifDrawable;
invoke-virtual {v0}, Lcom/bumptech/glide/load/resource/gif/GifDrawable;->stop()V
.line 2
iget-object v0, p0, Lcom/bumptech/glide/load/b/b/b;->a:Landroid/graphics/drawable/Drawable;
check-cast v0, Lcom/bumptech/glide/load/resource/gif/GifDrawable;
invoke-virtual {v0}, Lcom/bumptech/glide/load/resource/gif/GifDrawable;->g()V
return-void
.end method