548 lines
12 KiB
Smali
548 lines
12 KiB
Smali
.class public Lf/g/j/e/k;
|
|
.super Ljava/lang/Object;
|
|
.source "ImagePipelineConfig.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lf/g/j/e/k$a;,
|
|
Lf/g/j/e/k$b;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static H:Lf/g/j/e/k$b;
|
|
|
|
|
|
# instance fields
|
|
.field public final A:Lf/g/j/h/c;
|
|
|
|
.field public final B:Lf/g/j/e/l;
|
|
|
|
.field public final C:Z
|
|
|
|
.field public final D:Lf/g/c/a;
|
|
|
|
.field public final E:Lf/g/j/g/a;
|
|
|
|
.field public final F:Lf/g/j/c/t;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lf/g/j/c/t<",
|
|
"Lcom/facebook/cache/common/CacheKey;",
|
|
"Lf/g/j/j/c;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final G:Lf/g/j/c/t;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lf/g/j/c/t<",
|
|
"Lcom/facebook/cache/common/CacheKey;",
|
|
"Lcom/facebook/common/memory/PooledByteBuffer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final a:Landroid/graphics/Bitmap$Config;
|
|
|
|
.field public final b:Lcom/facebook/common/internal/Supplier;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/facebook/common/internal/Supplier<",
|
|
"Lcom/facebook/imagepipeline/cache/MemoryCacheParams;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final c:Lf/g/j/c/t$a;
|
|
|
|
.field public final d:Lf/g/j/c/m$c;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lf/g/j/c/m$c<",
|
|
"Lcom/facebook/cache/common/CacheKey;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final e:Lf/g/j/c/j;
|
|
|
|
.field public final f:Landroid/content/Context;
|
|
|
|
.field public final g:Z
|
|
|
|
.field public final h:Lf/g/j/e/g;
|
|
|
|
.field public final i:Lcom/facebook/common/internal/Supplier;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/facebook/common/internal/Supplier<",
|
|
"Lcom/facebook/imagepipeline/cache/MemoryCacheParams;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final j:Lf/g/j/e/f;
|
|
|
|
.field public final k:Lf/g/j/c/r;
|
|
|
|
.field public final l:Lf/g/j/h/b;
|
|
|
|
.field public final m:Lf/g/j/t/c;
|
|
|
|
.field public final n:Ljava/lang/Integer;
|
|
|
|
.field public final o:Lcom/facebook/common/internal/Supplier;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/facebook/common/internal/Supplier<",
|
|
"Ljava/lang/Boolean;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final p:Lcom/facebook/cache/disk/DiskCacheConfig;
|
|
|
|
.field public final q:Lf/g/d/g/c;
|
|
|
|
.field public final r:I
|
|
|
|
.field public final s:Lf/g/j/q/n0;
|
|
|
|
.field public final t:I
|
|
|
|
.field public final u:Lf/g/j/m/y;
|
|
|
|
.field public final v:Lf/g/j/h/d;
|
|
|
|
.field public final w:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Lf/g/j/l/e;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final x:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Lf/g/j/l/d;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final y:Z
|
|
|
|
.field public final z:Lcom/facebook/cache/disk/DiskCacheConfig;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Lf/g/j/e/k$b;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lf/g/j/e/k$b;-><init>(Lf/g/j/e/j;)V
|
|
|
|
sput-object v0, Lf/g/j/e/k;->H:Lf/g/j/e/k$b;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lf/g/j/e/k$a;Lf/g/j/e/j;)V
|
|
.locals 6
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
invoke-static {}, Lf/g/j/s/b;->b()Z
|
|
|
|
iget-object p2, p1, Lf/g/j/e/k$a;->j:Lf/g/j/e/l$b;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p2, :cond_c
|
|
|
|
new-instance v1, Lf/g/j/e/l;
|
|
|
|
invoke-direct {v1, p2, v0}, Lf/g/j/e/l;-><init>(Lf/g/j/e/l$b;Lf/g/j/e/l$a;)V
|
|
|
|
iput-object v1, p0, Lf/g/j/e/k;->B:Lf/g/j/e/l;
|
|
|
|
iget-object p2, p1, Lf/g/j/e/k$a;->a:Lcom/facebook/common/internal/Supplier;
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
new-instance p2, Lcom/facebook/imagepipeline/cache/DefaultBitmapMemoryCacheParamsSupplier;
|
|
|
|
iget-object v1, p1, Lf/g/j/e/k$a;->b:Landroid/content/Context;
|
|
|
|
const-string v2, "activity"
|
|
|
|
invoke-virtual {v1, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/app/ActivityManager;
|
|
|
|
invoke-direct {p2, v1}, Lcom/facebook/imagepipeline/cache/DefaultBitmapMemoryCacheParamsSupplier;-><init>(Landroid/app/ActivityManager;)V
|
|
|
|
:cond_0
|
|
iput-object p2, p0, Lf/g/j/e/k;->b:Lcom/facebook/common/internal/Supplier;
|
|
|
|
new-instance p2, Lf/g/j/c/d;
|
|
|
|
invoke-direct {p2}, Lf/g/j/c/d;-><init>()V
|
|
|
|
iput-object p2, p0, Lf/g/j/e/k;->c:Lf/g/j/c/t$a;
|
|
|
|
iput-object v0, p0, Lf/g/j/e/k;->d:Lf/g/j/c/m$c;
|
|
|
|
sget-object p2, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;
|
|
|
|
iput-object p2, p0, Lf/g/j/e/k;->a:Landroid/graphics/Bitmap$Config;
|
|
|
|
const-class p2, Lf/g/j/c/n;
|
|
|
|
monitor-enter p2
|
|
|
|
:try_start_0
|
|
sget-object v1, Lf/g/j/c/n;->a:Lf/g/j/c/n;
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
new-instance v1, Lf/g/j/c/n;
|
|
|
|
invoke-direct {v1}, Lf/g/j/c/n;-><init>()V
|
|
|
|
sput-object v1, Lf/g/j/c/n;->a:Lf/g/j/c/n;
|
|
|
|
:cond_1
|
|
sget-object v1, Lf/g/j/c/n;->a:Lf/g/j/c/n;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_2
|
|
|
|
monitor-exit p2
|
|
|
|
iput-object v1, p0, Lf/g/j/e/k;->e:Lf/g/j/c/j;
|
|
|
|
iget-object p2, p1, Lf/g/j/e/k$a;->b:Landroid/content/Context;
|
|
|
|
invoke-static {p2}, Lw/a/b/b/a;->i(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iput-object p2, p0, Lf/g/j/e/k;->f:Landroid/content/Context;
|
|
|
|
new-instance p2, Lf/g/j/e/d;
|
|
|
|
new-instance v1, Lf/g/j/e/e;
|
|
|
|
invoke-direct {v1}, Lf/g/j/e/e;-><init>()V
|
|
|
|
invoke-direct {p2, v1}, Lf/g/j/e/d;-><init>(Lf/g/j/e/e;)V
|
|
|
|
iput-object p2, p0, Lf/g/j/e/k;->h:Lf/g/j/e/g;
|
|
|
|
iget-boolean p2, p1, Lf/g/j/e/k$a;->c:Z
|
|
|
|
iput-boolean p2, p0, Lf/g/j/e/k;->g:Z
|
|
|
|
new-instance p2, Lf/g/j/c/o;
|
|
|
|
invoke-direct {p2}, Lf/g/j/c/o;-><init>()V
|
|
|
|
iput-object p2, p0, Lf/g/j/e/k;->i:Lcom/facebook/common/internal/Supplier;
|
|
|
|
const-class p2, Lf/g/j/c/w;
|
|
|
|
monitor-enter p2
|
|
|
|
:try_start_1
|
|
sget-object v1, Lf/g/j/c/w;->a:Lf/g/j/c/w;
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
new-instance v1, Lf/g/j/c/w;
|
|
|
|
invoke-direct {v1}, Lf/g/j/c/w;-><init>()V
|
|
|
|
sput-object v1, Lf/g/j/c/w;->a:Lf/g/j/c/w;
|
|
|
|
:cond_2
|
|
sget-object v1, Lf/g/j/c/w;->a:Lf/g/j/c/w;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
monitor-exit p2
|
|
|
|
iput-object v1, p0, Lf/g/j/e/k;->k:Lf/g/j/c/r;
|
|
|
|
iput-object v0, p0, Lf/g/j/e/k;->l:Lf/g/j/h/b;
|
|
|
|
iput-object v0, p0, Lf/g/j/e/k;->m:Lf/g/j/t/c;
|
|
|
|
iget-object p2, p1, Lf/g/j/e/k$a;->d:Ljava/lang/Integer;
|
|
|
|
iput-object p2, p0, Lf/g/j/e/k;->n:Ljava/lang/Integer;
|
|
|
|
new-instance p2, Lf/g/j/e/j;
|
|
|
|
invoke-direct {p2, p0}, Lf/g/j/e/j;-><init>(Lf/g/j/e/k;)V
|
|
|
|
iput-object p2, p0, Lf/g/j/e/k;->o:Lcom/facebook/common/internal/Supplier;
|
|
|
|
iget-object p2, p1, Lf/g/j/e/k$a;->e:Lcom/facebook/cache/disk/DiskCacheConfig;
|
|
|
|
if-nez p2, :cond_3
|
|
|
|
iget-object p2, p1, Lf/g/j/e/k$a;->b:Landroid/content/Context;
|
|
|
|
:try_start_2
|
|
invoke-static {}, Lf/g/j/s/b;->b()Z
|
|
|
|
new-instance v1, Lcom/facebook/cache/disk/DiskCacheConfig$b;
|
|
|
|
invoke-direct {v1, p2, v0}, Lcom/facebook/cache/disk/DiskCacheConfig$b;-><init>(Landroid/content/Context;Lcom/facebook/cache/disk/DiskCacheConfig$a;)V
|
|
|
|
new-instance p2, Lcom/facebook/cache/disk/DiskCacheConfig;
|
|
|
|
invoke-direct {p2, v1}, Lcom/facebook/cache/disk/DiskCacheConfig;-><init>(Lcom/facebook/cache/disk/DiskCacheConfig$b;)V
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
invoke-static {}, Lf/g/j/s/b;->b()Z
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-static {}, Lf/g/j/s/b;->b()Z
|
|
|
|
throw p1
|
|
|
|
:cond_3
|
|
:goto_0
|
|
iput-object p2, p0, Lf/g/j/e/k;->p:Lcom/facebook/cache/disk/DiskCacheConfig;
|
|
|
|
invoke-static {}, Lf/g/d/g/d;->b()Lf/g/d/g/d;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lf/g/j/e/k;->q:Lf/g/d/g/c;
|
|
|
|
iget-object p2, p0, Lf/g/j/e/k;->B:Lf/g/j/e/l;
|
|
|
|
iget-object v1, p1, Lf/g/j/e/k$a;->f:Ljava/lang/Integer;
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result p2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
iget-wide v1, p2, Lf/g/j/e/l;->t:J
|
|
|
|
const-wide/16 v3, 0x2
|
|
|
|
cmp-long v5, v1, v3
|
|
|
|
if-nez v5, :cond_5
|
|
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v2, 0x1b
|
|
|
|
if-lt v1, v2, :cond_5
|
|
|
|
const/4 p2, 0x2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
iget-wide v1, p2, Lf/g/j/e/l;->t:J
|
|
|
|
const-wide/16 v3, 0x1
|
|
|
|
cmp-long p2, v1, v3
|
|
|
|
if-nez p2, :cond_6
|
|
|
|
const/4 p2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_6
|
|
const/4 p2, 0x0
|
|
|
|
:goto_1
|
|
iput p2, p0, Lf/g/j/e/k;->r:I
|
|
|
|
iget p2, p1, Lf/g/j/e/k$a;->i:I
|
|
|
|
if-gez p2, :cond_7
|
|
|
|
const/16 p2, 0x7530
|
|
|
|
:cond_7
|
|
iput p2, p0, Lf/g/j/e/k;->t:I
|
|
|
|
invoke-static {}, Lf/g/j/s/b;->b()Z
|
|
|
|
new-instance p2, Lf/g/j/q/a0;
|
|
|
|
iget v1, p0, Lf/g/j/e/k;->t:I
|
|
|
|
invoke-direct {p2, v1}, Lf/g/j/q/a0;-><init>(I)V
|
|
|
|
iput-object p2, p0, Lf/g/j/e/k;->s:Lf/g/j/q/n0;
|
|
|
|
invoke-static {}, Lf/g/j/s/b;->b()Z
|
|
|
|
new-instance p2, Lf/g/j/m/y;
|
|
|
|
new-instance v1, Lf/g/j/m/x$b;
|
|
|
|
invoke-direct {v1, v0}, Lf/g/j/m/x$b;-><init>(Lf/g/j/m/x$a;)V
|
|
|
|
new-instance v2, Lf/g/j/m/x;
|
|
|
|
invoke-direct {v2, v1, v0}, Lf/g/j/m/x;-><init>(Lf/g/j/m/x$b;Lf/g/j/m/x$a;)V
|
|
|
|
invoke-direct {p2, v2}, Lf/g/j/m/y;-><init>(Lf/g/j/m/x;)V
|
|
|
|
iput-object p2, p0, Lf/g/j/e/k;->u:Lf/g/j/m/y;
|
|
|
|
new-instance p2, Lf/g/j/h/f;
|
|
|
|
invoke-direct {p2}, Lf/g/j/h/f;-><init>()V
|
|
|
|
iput-object p2, p0, Lf/g/j/e/k;->v:Lf/g/j/h/d;
|
|
|
|
new-instance p2, Ljava/util/HashSet;
|
|
|
|
invoke-direct {p2}, Ljava/util/HashSet;-><init>()V
|
|
|
|
iput-object p2, p0, Lf/g/j/e/k;->w:Ljava/util/Set;
|
|
|
|
new-instance p2, Ljava/util/HashSet;
|
|
|
|
invoke-direct {p2}, Ljava/util/HashSet;-><init>()V
|
|
|
|
iput-object p2, p0, Lf/g/j/e/k;->x:Ljava/util/Set;
|
|
|
|
iget-boolean p2, p1, Lf/g/j/e/k$a;->g:Z
|
|
|
|
iput-boolean p2, p0, Lf/g/j/e/k;->y:Z
|
|
|
|
iget-object p2, p1, Lf/g/j/e/k$a;->h:Lcom/facebook/cache/disk/DiskCacheConfig;
|
|
|
|
if-nez p2, :cond_8
|
|
|
|
iget-object p2, p0, Lf/g/j/e/k;->p:Lcom/facebook/cache/disk/DiskCacheConfig;
|
|
|
|
:cond_8
|
|
iput-object p2, p0, Lf/g/j/e/k;->z:Lcom/facebook/cache/disk/DiskCacheConfig;
|
|
|
|
iput-object v0, p0, Lf/g/j/e/k;->A:Lf/g/j/h/c;
|
|
|
|
iget-object p2, p0, Lf/g/j/e/k;->u:Lf/g/j/m/y;
|
|
|
|
invoke-virtual {p2}, Lf/g/j/m/y;->b()I
|
|
|
|
move-result p2
|
|
|
|
new-instance v1, Lf/g/j/e/c;
|
|
|
|
invoke-direct {v1, p2}, Lf/g/j/e/c;-><init>(I)V
|
|
|
|
iput-object v1, p0, Lf/g/j/e/k;->j:Lf/g/j/e/f;
|
|
|
|
iget-boolean p2, p1, Lf/g/j/e/k$a;->k:Z
|
|
|
|
iput-boolean p2, p0, Lf/g/j/e/k;->C:Z
|
|
|
|
iput-object v0, p0, Lf/g/j/e/k;->D:Lf/g/c/a;
|
|
|
|
iget-object p1, p1, Lf/g/j/e/k$a;->l:Lf/g/j/g/a;
|
|
|
|
iput-object p1, p0, Lf/g/j/e/k;->E:Lf/g/j/g/a;
|
|
|
|
iput-object v0, p0, Lf/g/j/e/k;->F:Lf/g/j/c/t;
|
|
|
|
iput-object v0, p0, Lf/g/j/e/k;->G:Lf/g/j/c/t;
|
|
|
|
iget-object p1, p0, Lf/g/j/e/k;->B:Lf/g/j/e/l;
|
|
|
|
iget-object p2, p1, Lf/g/j/e/l;->d:Lf/g/d/m/b;
|
|
|
|
if-eqz p2, :cond_a
|
|
|
|
new-instance p1, Lf/g/j/b/c;
|
|
|
|
iget-object v0, p0, Lf/g/j/e/k;->u:Lf/g/j/m/y;
|
|
|
|
invoke-direct {p1, v0}, Lf/g/j/b/c;-><init>(Lf/g/j/m/y;)V
|
|
|
|
iget-object v0, p0, Lf/g/j/e/k;->B:Lf/g/j/e/l;
|
|
|
|
sput-object p2, Lf/g/d/m/c;->b:Lf/g/d/m/b;
|
|
|
|
iget-object v0, v0, Lf/g/j/e/l;->b:Lf/g/d/m/b$a;
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
invoke-interface {p2, v0}, Lf/g/d/m/b;->b(Lf/g/d/m/b$a;)V
|
|
|
|
:cond_9
|
|
invoke-interface {p2, p1}, Lf/g/d/m/b;->a(Lf/g/d/m/a;)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_a
|
|
iget-boolean p1, p1, Lf/g/j/e/l;->a:Z
|
|
|
|
if-eqz p1, :cond_b
|
|
|
|
sget-boolean p1, Lf/g/d/m/c;->a:Z
|
|
|
|
:cond_b
|
|
:goto_2
|
|
invoke-static {}, Lf/g/j/s/b;->b()Z
|
|
|
|
return-void
|
|
|
|
:catchall_1
|
|
move-exception p1
|
|
|
|
monitor-exit p2
|
|
|
|
throw p1
|
|
|
|
:catchall_2
|
|
move-exception p1
|
|
|
|
monitor-exit p2
|
|
|
|
throw p1
|
|
|
|
:cond_c
|
|
throw v0
|
|
.end method
|