24 lines
822 B
Smali
24 lines
822 B
Smali
.class public final Landroidx/core/graphics/drawable/BitmapDrawableKt;
|
|
.super Ljava/lang/Object;
|
|
.source "BitmapDrawable.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public static final toDrawable(Landroid/graphics/Bitmap;Landroid/content/res/Resources;)Landroid/graphics/drawable/BitmapDrawable;
|
|
.locals 1
|
|
|
|
const-string v0, "$this$toDrawable"
|
|
|
|
invoke-static {p0, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "resources"
|
|
|
|
invoke-static {p1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/drawable/BitmapDrawable;
|
|
|
|
invoke-direct {v0, p1, p0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V
|
|
|
|
return-object v0
|
|
.end method
|