mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
79 lines
2.3 KiB
Smali
79 lines
2.3 KiB
Smali
![]() |
.class public interface abstract Landroidx/media3/common/util/BitmapLoader;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "BitmapLoader.java"
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public abstract decodeBitmap([B)Lcom/google/common/util/concurrent/ListenableFuture;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"([B)",
|
||
|
"Lcom/google/common/util/concurrent/ListenableFuture<",
|
||
|
"Landroid/graphics/Bitmap;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end method
|
||
|
|
||
|
.method public abstract loadBitmap(Landroid/net/Uri;)Lcom/google/common/util/concurrent/ListenableFuture;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Landroid/net/Uri;",
|
||
|
")",
|
||
|
"Lcom/google/common/util/concurrent/ListenableFuture<",
|
||
|
"Landroid/graphics/Bitmap;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end method
|
||
|
|
||
|
.method public loadBitmapFromMetadata(Landroidx/media3/common/MediaMetadata;)Lcom/google/common/util/concurrent/ListenableFuture;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Landroidx/media3/common/MediaMetadata;",
|
||
|
")",
|
||
|
"Lcom/google/common/util/concurrent/ListenableFuture<",
|
||
|
"Landroid/graphics/Bitmap;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.line 45
|
||
|
iget-object v0, p1, Landroidx/media3/common/MediaMetadata;->artworkData:[B
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 46
|
||
|
iget-object p1, p1, Landroidx/media3/common/MediaMetadata;->artworkData:[B
|
||
|
|
||
|
invoke-interface {p0, p1}, Landroidx/media3/common/util/BitmapLoader;->decodeBitmap([B)Lcom/google/common/util/concurrent/ListenableFuture;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 47
|
||
|
:cond_0
|
||
|
iget-object v0, p1, Landroidx/media3/common/MediaMetadata;->artworkUri:Landroid/net/Uri;
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
.line 48
|
||
|
iget-object p1, p1, Landroidx/media3/common/MediaMetadata;->artworkUri:Landroid/net/Uri;
|
||
|
|
||
|
invoke-interface {p0, p1}, Landroidx/media3/common/util/BitmapLoader;->loadBitmap(Landroid/net/Uri;)Lcom/google/common/util/concurrent/ListenableFuture;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
return-object p0
|
||
|
.end method
|