70 lines
1.6 KiB
Smali
70 lines
1.6 KiB
Smali
.class public Lj5/d;
|
|
.super Lj5/q;
|
|
.source "BitmapThumbnailImageViewTarget.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lj5/q<",
|
|
"Landroid/graphics/Bitmap;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/widget/ImageView;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1}, Lj5/q;-><init>(Landroid/widget/ImageView;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/widget/ImageView;Z)V
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 2
|
|
invoke-direct {p0, p1, p2}, Lj5/q;-><init>(Landroid/widget/ImageView;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic w(Ljava/lang/Object;)Landroid/graphics/drawable/Drawable;
|
|
.locals 0
|
|
|
|
.line 1
|
|
check-cast p1, Landroid/graphics/Bitmap;
|
|
|
|
invoke-virtual {p0, p1}, Lj5/d;->x(Landroid/graphics/Bitmap;)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public x(Landroid/graphics/Bitmap;)Landroid/graphics/drawable/Drawable;
|
|
.locals 2
|
|
|
|
.line 1
|
|
new-instance v0, Landroid/graphics/drawable/BitmapDrawable;
|
|
|
|
iget-object v1, p0, Lj5/r;->b:Landroid/view/View;
|
|
|
|
check-cast v1, Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {v1}, Landroid/widget/ImageView;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1, p1}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V
|
|
|
|
return-object v0
|
|
.end method
|