108 lines
2.4 KiB
Smali
108 lines
2.4 KiB
Smali
.class public Le/d/a/u/g;
|
|
.super Ljava/lang/Object;
|
|
.source "LottieCompositionCache.java"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final b:Le/d/a/u/g;
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Landroidx/collection/LruCache;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/collection/LruCache<",
|
|
"Ljava/lang/String;",
|
|
"Le/d/a/d;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Le/d/a/u/g;
|
|
|
|
invoke-direct {v0}, Le/d/a/u/g;-><init>()V
|
|
|
|
sput-object v0, Le/d/a/u/g;->b:Le/d/a/u/g;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/VisibleForTesting;
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Landroidx/collection/LruCache;
|
|
|
|
const/16 v1, 0x14
|
|
|
|
invoke-direct {v0, v1}, Landroidx/collection/LruCache;-><init>(I)V
|
|
|
|
iput-object v0, p0, Le/d/a/u/g;->a:Landroidx/collection/LruCache;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Ljava/lang/String;)Le/d/a/d;
|
|
.locals 1
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Le/d/a/u/g;->a:Landroidx/collection/LruCache;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/collection/LruCache;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Le/d/a/d;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;Le/d/a/d;)V
|
|
.locals 1
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Le/d/a/u/g;->a:Landroidx/collection/LruCache;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroidx/collection/LruCache;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|