GifDrawable$GifState.smali
.class Lcom/bumptech/glide/load/resource/gif/GifDrawable$GifState;
.super Landroid/graphics/drawable/Drawable$ConstantState;
.source "GifDrawable.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/bumptech/glide/load/resource/gif/GifDrawable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "GifState"
.end annotation
# static fields
.field static final GRAVITY:I = 0x77
# instance fields
.field final bitmapPool:Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;
.field final frameLoader:Lcom/bumptech/glide/load/resource/gif/GifFrameLoader;
# direct methods
.method public constructor <init>(Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;Lcom/bumptech/glide/load/resource/gif/GifFrameLoader;)V
.registers 3
.line 342
invoke-direct {p0}, Landroid/graphics/drawable/Drawable$ConstantState;-><init>()V
.line 343
iput-object p1, p0, Lcom/bumptech/glide/load/resource/gif/GifDrawable$GifState;->bitmapPool:Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;
.line 344
iput-object p2, p0, Lcom/bumptech/glide/load/resource/gif/GifDrawable$GifState;->frameLoader:Lcom/bumptech/glide/load/resource/gif/GifFrameLoader;
return-void
.end method
# virtual methods
.method public getChangingConfigurations()I
.registers 2
const/4 v0, 0x0
return v0
.end method
.method public newDrawable()Landroid/graphics/drawable/Drawable;
.registers 2
.line 354
new-instance v0, Lcom/bumptech/glide/load/resource/gif/GifDrawable;
invoke-direct {v0, p0}, Lcom/bumptech/glide/load/resource/gif/GifDrawable;-><init>(Lcom/bumptech/glide/load/resource/gif/GifDrawable$GifState;)V
return-object v0
.end method
.method public newDrawable(Landroid/content/res/Resources;)Landroid/graphics/drawable/Drawable;
.registers 2
.line 349
invoke-virtual {p0}, Lcom/bumptech/glide/load/resource/gif/GifDrawable$GifState;->newDrawable()Landroid/graphics/drawable/Drawable;
move-result-object p1
return-object p1
.end method