156 lines
4.2 KiB
Smali
156 lines
4.2 KiB
Smali
.class public Lcom/bumptech/glide/load/resource/bitmap/b;
|
|
.super Ljava/lang/Object;
|
|
.source "BitmapDrawableEncoder.java"
|
|
|
|
# interfaces
|
|
.implements Lu4/g;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Lu4/g<",
|
|
"Landroid/graphics/drawable/BitmapDrawable;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lcom/bumptech/glide/load/engine/bitmap_recycle/e;
|
|
|
|
.field public final b:Lu4/g;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lu4/g<",
|
|
"Landroid/graphics/Bitmap;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/bumptech/glide/load/engine/bitmap_recycle/e;Lu4/g;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/bumptech/glide/load/engine/bitmap_recycle/e;",
|
|
"Lu4/g<",
|
|
"Landroid/graphics/Bitmap;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lcom/bumptech/glide/load/resource/bitmap/b;->a:Lcom/bumptech/glide/load/engine/bitmap_recycle/e;
|
|
|
|
.line 3
|
|
iput-object p2, p0, Lcom/bumptech/glide/load/resource/bitmap/b;->b:Lu4/g;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic a(Ljava/lang/Object;Ljava/io/File;Lu4/e;)Z
|
|
.locals 0
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/io/File;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Lu4/e;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
check-cast p1, Lcom/bumptech/glide/load/engine/s;
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lcom/bumptech/glide/load/resource/bitmap/b;->c(Lcom/bumptech/glide/load/engine/s;Ljava/io/File;Lu4/e;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public b(Lu4/e;)Lcom/bumptech/glide/load/EncodeStrategy;
|
|
.locals 1
|
|
.param p1 # Lu4/e;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/bumptech/glide/load/resource/bitmap/b;->b:Lu4/g;
|
|
|
|
invoke-interface {v0, p1}, Lu4/g;->b(Lu4/e;)Lcom/bumptech/glide/load/EncodeStrategy;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public c(Lcom/bumptech/glide/load/engine/s;Ljava/io/File;Lu4/e;)Z
|
|
.locals 3
|
|
.param p1 # Lcom/bumptech/glide/load/engine/s;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/io/File;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Lu4/e;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/bumptech/glide/load/engine/s<",
|
|
"Landroid/graphics/drawable/BitmapDrawable;",
|
|
">;",
|
|
"Ljava/io/File;",
|
|
"Lu4/e;",
|
|
")Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/bumptech/glide/load/resource/bitmap/b;->b:Lu4/g;
|
|
|
|
new-instance v1, Lcom/bumptech/glide/load/resource/bitmap/g;
|
|
|
|
invoke-interface {p1}, Lcom/bumptech/glide/load/engine/s;->get()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/graphics/drawable/BitmapDrawable;
|
|
|
|
invoke-virtual {p1}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v2, p0, Lcom/bumptech/glide/load/resource/bitmap/b;->a:Lcom/bumptech/glide/load/engine/bitmap_recycle/e;
|
|
|
|
invoke-direct {v1, p1, v2}, Lcom/bumptech/glide/load/resource/bitmap/g;-><init>(Landroid/graphics/Bitmap;Lcom/bumptech/glide/load/engine/bitmap_recycle/e;)V
|
|
|
|
invoke-interface {v0, v1, p2, p3}, Lu4/a;->a(Ljava/lang/Object;Ljava/io/File;Lu4/e;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|