76 lines
2.5 KiB
Smali
76 lines
2.5 KiB
Smali
.class public final Lcom/discord/utilities/images/MGImagesConfig$getAppBitmapMemoryCacheParamsSupplier$1;
|
|
.super Lcom/facebook/imagepipeline/cache/DefaultBitmapMemoryCacheParamsSupplier;
|
|
.source "MGImagesConfig.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/utilities/images/MGImagesConfig;->getAppBitmapMemoryCacheParamsSupplier(Landroid/content/Context;)Lcom/facebook/imagepipeline/cache/DefaultBitmapMemoryCacheParamsSupplier;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $activityManager:Landroid/app/ActivityManager;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/app/ActivityManager;Landroid/app/ActivityManager;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/utilities/images/MGImagesConfig$getAppBitmapMemoryCacheParamsSupplier$1;->$activityManager:Landroid/app/ActivityManager;
|
|
|
|
invoke-direct {p0, p2}, Lcom/facebook/imagepipeline/cache/DefaultBitmapMemoryCacheParamsSupplier;-><init>(Landroid/app/ActivityManager;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public get()Lcom/facebook/imagepipeline/cache/MemoryCacheParams;
|
|
.locals 10
|
|
|
|
invoke-super {p0}, Lcom/facebook/imagepipeline/cache/DefaultBitmapMemoryCacheParamsSupplier;->get()Lcom/facebook/imagepipeline/cache/MemoryCacheParams;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v9, Lcom/facebook/imagepipeline/cache/MemoryCacheParams;
|
|
|
|
iget v2, v0, Lcom/facebook/imagepipeline/cache/MemoryCacheParams;->a:I
|
|
|
|
iget v3, v0, Lcom/facebook/imagepipeline/cache/MemoryCacheParams;->b:I
|
|
|
|
iget v4, v0, Lcom/facebook/imagepipeline/cache/MemoryCacheParams;->c:I
|
|
|
|
iget v5, v0, Lcom/facebook/imagepipeline/cache/MemoryCacheParams;->d:I
|
|
|
|
div-int/lit8 v6, v2, 0x3
|
|
|
|
sget-object v0, Ljava/util/concurrent/TimeUnit;->MINUTES:Ljava/util/concurrent/TimeUnit;
|
|
|
|
const-wide/16 v7, 0x5
|
|
|
|
invoke-virtual {v0, v7, v8}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
|
|
|
move-result-wide v7
|
|
|
|
move-object v1, v9
|
|
|
|
invoke-direct/range {v1 .. v8}, Lcom/facebook/imagepipeline/cache/MemoryCacheParams;-><init>(IIIIIJ)V
|
|
|
|
return-object v9
|
|
.end method
|
|
|
|
.method public bridge synthetic get()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/utilities/images/MGImagesConfig$getAppBitmapMemoryCacheParamsSupplier$1;->get()Lcom/facebook/imagepipeline/cache/MemoryCacheParams;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|