99 lines
2.3 KiB
Smali
99 lines
2.3 KiB
Smali
.class public Lcom/google/research/xeno/effect/AssetRegistry;
|
|
.super Ljava/lang/Object;
|
|
.source "com.google.mlkit:mediapipe-internal@@17.0.0-beta8"
|
|
|
|
|
|
# instance fields
|
|
.field private final zza:J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1
|
|
invoke-direct {p0, v0}, Lcom/google/research/xeno/effect/AssetRegistry;-><init>(Ljava/util/Map;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/util/Map;)V
|
|
.locals 4
|
|
.param p1 # Ljava/util/Map;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 2
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
invoke-direct {p0}, Lcom/google/research/xeno/effect/AssetRegistry;->nativeCreateAssetRegistry()J
|
|
|
|
move-result-wide v0
|
|
|
|
iput-wide v0, p0, Lcom/google/research/xeno/effect/AssetRegistry;->zza:J
|
|
|
|
.line 3
|
|
invoke-interface {p1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/util/Map$Entry;
|
|
|
|
.line 4
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/String;
|
|
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
iget-wide v2, p0, Lcom/google/research/xeno/effect/AssetRegistry;->zza:J
|
|
|
|
.line 5
|
|
invoke-direct {p0, v2, v3, v1, v0}, Lcom/google/research/xeno/effect/AssetRegistry;->nativeRegisterAsset(JLjava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private native nativeCreateAssetRegistry()J
|
|
.end method
|
|
|
|
.method private native nativeRegisterAsset(JLjava/lang/String;Ljava/lang/String;)V
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final zza()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/google/research/xeno/effect/AssetRegistry;->zza:J
|
|
|
|
return-wide v0
|
|
.end method
|