.class public final Lcom/bumptech/glide/load/resource/bitmap/x; .super Ljava/lang/Object; .source "LazyBitmapDrawableResource.java" # interfaces .implements Lcom/bumptech/glide/load/engine/s; .implements Lcom/bumptech/glide/load/engine/o; # annotations .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Lcom/bumptech/glide/load/engine/s<", "Landroid/graphics/drawable/BitmapDrawable;", ">;", "Lcom/bumptech/glide/load/engine/o;" } .end annotation # instance fields .field public final a:Landroid/content/res/Resources; .field public final b:Lcom/bumptech/glide/load/engine/s; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/bumptech/glide/load/engine/s<", "Landroid/graphics/Bitmap;", ">;" } .end annotation .end field # direct methods .method public constructor (Landroid/content/res/Resources;Lcom/bumptech/glide/load/engine/s;)V .locals 0 .param p1 # Landroid/content/res/Resources; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Lcom/bumptech/glide/load/engine/s; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/content/res/Resources;", "Lcom/bumptech/glide/load/engine/s<", "Landroid/graphics/Bitmap;", ">;)V" } .end annotation .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 invoke-static {p1}, Lm5/l;->d(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 check-cast p1, Landroid/content/res/Resources; iput-object p1, p0, Lcom/bumptech/glide/load/resource/bitmap/x;->a:Landroid/content/res/Resources; .line 3 invoke-static {p2}, Lm5/l;->d(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 check-cast p1, Lcom/bumptech/glide/load/engine/s; iput-object p1, p0, Lcom/bumptech/glide/load/resource/bitmap/x;->b:Lcom/bumptech/glide/load/engine/s; return-void .end method .method public static d(Landroid/content/res/Resources;Lcom/bumptech/glide/load/engine/s;)Lcom/bumptech/glide/load/engine/s; .locals 1 .param p0 # Landroid/content/res/Resources; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p1 # Lcom/bumptech/glide/load/engine/s; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/Nullable; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/content/res/Resources;", "Lcom/bumptech/glide/load/engine/s<", "Landroid/graphics/Bitmap;", ">;)", "Lcom/bumptech/glide/load/engine/s<", "Landroid/graphics/drawable/BitmapDrawable;", ">;" } .end annotation if-nez p1, :cond_0 const/4 p0, 0x0 return-object p0 .line 1 :cond_0 new-instance v0, Lcom/bumptech/glide/load/resource/bitmap/x; invoke-direct {v0, p0, p1}, Lcom/bumptech/glide/load/resource/bitmap/x;->(Landroid/content/res/Resources;Lcom/bumptech/glide/load/engine/s;)V return-object v0 .end method .method public static e(Landroid/content/Context;Landroid/graphics/Bitmap;)Lcom/bumptech/glide/load/resource/bitmap/x; .locals 1 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 1 invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources; move-result-object v0 .line 2 invoke-static {p0}, Lcom/bumptech/glide/b;->e(Landroid/content/Context;)Lcom/bumptech/glide/b; move-result-object p0 invoke-virtual {p0}, Lcom/bumptech/glide/b;->h()Lcom/bumptech/glide/load/engine/bitmap_recycle/e; move-result-object p0 invoke-static {p1, p0}, Lcom/bumptech/glide/load/resource/bitmap/g;->d(Landroid/graphics/Bitmap;Lcom/bumptech/glide/load/engine/bitmap_recycle/e;)Lcom/bumptech/glide/load/resource/bitmap/g; move-result-object p0 .line 3 invoke-static {v0, p0}, Lcom/bumptech/glide/load/resource/bitmap/x;->d(Landroid/content/res/Resources;Lcom/bumptech/glide/load/engine/s;)Lcom/bumptech/glide/load/engine/s; move-result-object p0 check-cast p0, Lcom/bumptech/glide/load/resource/bitmap/x; return-object p0 .end method .method public static f(Landroid/content/res/Resources;Lcom/bumptech/glide/load/engine/bitmap_recycle/e;Landroid/graphics/Bitmap;)Lcom/bumptech/glide/load/resource/bitmap/x; .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 1 invoke-static {p2, p1}, Lcom/bumptech/glide/load/resource/bitmap/g;->d(Landroid/graphics/Bitmap;Lcom/bumptech/glide/load/engine/bitmap_recycle/e;)Lcom/bumptech/glide/load/resource/bitmap/g; move-result-object p1 invoke-static {p0, p1}, Lcom/bumptech/glide/load/resource/bitmap/x;->d(Landroid/content/res/Resources;Lcom/bumptech/glide/load/engine/s;)Lcom/bumptech/glide/load/engine/s; move-result-object p0 check-cast p0, Lcom/bumptech/glide/load/resource/bitmap/x; return-object p0 .end method # virtual methods .method public a()V .locals 1 .line 1 iget-object v0, p0, Lcom/bumptech/glide/load/resource/bitmap/x;->b:Lcom/bumptech/glide/load/engine/s; invoke-interface {v0}, Lcom/bumptech/glide/load/engine/s;->a()V return-void .end method .method public b()Ljava/lang/Class; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/lang/Class<", "Landroid/graphics/drawable/BitmapDrawable;", ">;" } .end annotation .line 1 const-class v0, Landroid/graphics/drawable/BitmapDrawable; return-object v0 .end method .method public c()Landroid/graphics/drawable/BitmapDrawable; .locals 3 .annotation build Landroidx/annotation/NonNull; .end annotation .line 1 new-instance v0, Landroid/graphics/drawable/BitmapDrawable; iget-object v1, p0, Lcom/bumptech/glide/load/resource/bitmap/x;->a:Landroid/content/res/Resources; iget-object v2, p0, Lcom/bumptech/glide/load/resource/bitmap/x;->b:Lcom/bumptech/glide/load/engine/s; invoke-interface {v2}, Lcom/bumptech/glide/load/engine/s;->get()Ljava/lang/Object; move-result-object v2 check-cast v2, Landroid/graphics/Bitmap; invoke-direct {v0, v1, v2}, Landroid/graphics/drawable/BitmapDrawable;->(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V return-object v0 .end method .method public bridge synthetic get()Ljava/lang/Object; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation .line 1 invoke-virtual {p0}, Lcom/bumptech/glide/load/resource/bitmap/x;->c()Landroid/graphics/drawable/BitmapDrawable; move-result-object v0 return-object v0 .end method .method public getSize()I .locals 1 .line 1 iget-object v0, p0, Lcom/bumptech/glide/load/resource/bitmap/x;->b:Lcom/bumptech/glide/load/engine/s; invoke-interface {v0}, Lcom/bumptech/glide/load/engine/s;->getSize()I move-result v0 return v0 .end method .method public initialize()V .locals 2 .line 1 iget-object v0, p0, Lcom/bumptech/glide/load/resource/bitmap/x;->b:Lcom/bumptech/glide/load/engine/s; instance-of v1, v0, Lcom/bumptech/glide/load/engine/o; if-eqz v1, :cond_0 .line 2 check-cast v0, Lcom/bumptech/glide/load/engine/o; invoke-interface {v0}, Lcom/bumptech/glide/load/engine/o;->initialize()V :cond_0 return-void .end method