Changes of com.discord v1271
This commit is contained in:
parent
2e142f9b6b
commit
4244e04c36
14542 changed files with 904422 additions and 1057813 deletions
|
@ -0,0 +1,376 @@
|
|||
.class public Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ImageDecodeOptions.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final j:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:I
|
||||
|
||||
.field public final b:Z
|
||||
|
||||
.field public final c:Z
|
||||
|
||||
.field public final d:Z
|
||||
|
||||
.field public final e:Z
|
||||
|
||||
.field public final f:Landroid/graphics/Bitmap$Config;
|
||||
|
||||
.field public final g:Lf/g/j/h/b;
|
||||
|
||||
.field public final h:Lf/g/j/t/a;
|
||||
|
||||
.field public final i:Landroid/graphics/ColorSpace;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lf/g/j/d/b;
|
||||
|
||||
invoke-direct {v0}, Lf/g/j/d/b;-><init>()V
|
||||
|
||||
new-instance v1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
invoke-direct {v1, v0}, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;-><init>(Lf/g/j/d/b;)V
|
||||
|
||||
sput-object v1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->j:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lf/g/j/d/b;)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iget v0, p1, Lf/g/j/d/b;->a:I
|
||||
|
||||
iput v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->a:I
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-boolean v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->b:Z
|
||||
|
||||
iput-boolean v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->c:Z
|
||||
|
||||
iput-boolean v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->d:Z
|
||||
|
||||
iput-boolean v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->e:Z
|
||||
|
||||
iget-object p1, p1, Lf/g/j/d/b;->b:Landroid/graphics/Bitmap$Config;
|
||||
|
||||
iput-object p1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->f:Landroid/graphics/Bitmap$Config;
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput-object p1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/g/j/h/b;
|
||||
|
||||
iput-object p1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->h:Lf/g/j/t/a;
|
||||
|
||||
iput-object p1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->i:Landroid/graphics/ColorSpace;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public equals(Ljava/lang/Object;)Z
|
||||
.locals 4
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
if-ne p0, p1, :cond_0
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz p1, :cond_a
|
||||
|
||||
const-class v2, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
if-eq v2, v3, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
check-cast p1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
iget-boolean v2, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->b:Z
|
||||
|
||||
iget-boolean v3, p1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->b:Z
|
||||
|
||||
if-eq v2, v3, :cond_2
|
||||
|
||||
return v1
|
||||
|
||||
:cond_2
|
||||
iget-boolean v2, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->c:Z
|
||||
|
||||
iget-boolean v3, p1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->c:Z
|
||||
|
||||
if-eq v2, v3, :cond_3
|
||||
|
||||
return v1
|
||||
|
||||
:cond_3
|
||||
iget-boolean v2, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->d:Z
|
||||
|
||||
iget-boolean v3, p1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->d:Z
|
||||
|
||||
if-eq v2, v3, :cond_4
|
||||
|
||||
return v1
|
||||
|
||||
:cond_4
|
||||
iget-boolean v2, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->e:Z
|
||||
|
||||
iget-boolean v3, p1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->e:Z
|
||||
|
||||
if-eq v2, v3, :cond_5
|
||||
|
||||
return v1
|
||||
|
||||
:cond_5
|
||||
iget-object v2, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->f:Landroid/graphics/Bitmap$Config;
|
||||
|
||||
iget-object v3, p1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->f:Landroid/graphics/Bitmap$Config;
|
||||
|
||||
if-eq v2, v3, :cond_6
|
||||
|
||||
return v1
|
||||
|
||||
:cond_6
|
||||
iget-object v2, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/g/j/h/b;
|
||||
|
||||
iget-object v3, p1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/g/j/h/b;
|
||||
|
||||
if-eq v2, v3, :cond_7
|
||||
|
||||
return v1
|
||||
|
||||
:cond_7
|
||||
iget-object v2, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->h:Lf/g/j/t/a;
|
||||
|
||||
iget-object v3, p1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->h:Lf/g/j/t/a;
|
||||
|
||||
if-eq v2, v3, :cond_8
|
||||
|
||||
return v1
|
||||
|
||||
:cond_8
|
||||
iget-object v2, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->i:Landroid/graphics/ColorSpace;
|
||||
|
||||
iget-object p1, p1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->i:Landroid/graphics/ColorSpace;
|
||||
|
||||
if-eq v2, p1, :cond_9
|
||||
|
||||
return v1
|
||||
|
||||
:cond_9
|
||||
return v0
|
||||
|
||||
:cond_a
|
||||
:goto_0
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method public hashCode()I
|
||||
.locals 3
|
||||
|
||||
iget v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->a:I
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-boolean v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->b:Z
|
||||
|
||||
add-int/2addr v0, v1
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-boolean v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->c:Z
|
||||
|
||||
add-int/2addr v0, v1
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-boolean v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->d:Z
|
||||
|
||||
add-int/2addr v0, v1
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-boolean v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->e:Z
|
||||
|
||||
add-int/2addr v0, v1
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->f:Landroid/graphics/Bitmap$Config;
|
||||
|
||||
invoke-virtual {v1}, Landroid/graphics/Bitmap$Config;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
add-int/2addr v1, v0
|
||||
|
||||
mul-int/lit8 v1, v1, 0x1f
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/g/j/h/b;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
add-int/2addr v1, v0
|
||||
|
||||
mul-int/lit8 v1, v1, 0x1f
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->h:Lf/g/j/t/a;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_1
|
||||
add-int/2addr v1, v0
|
||||
|
||||
mul-int/lit8 v1, v1, 0x1f
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->i:Landroid/graphics/ColorSpace;
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
invoke-virtual {v0}, Landroid/graphics/ColorSpace;->hashCode()I
|
||||
|
||||
move-result v2
|
||||
|
||||
:cond_2
|
||||
add-int/2addr v1, v2
|
||||
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 3
|
||||
|
||||
const/16 v0, 0x9
|
||||
|
||||
new-array v0, v0, [Ljava/lang/Object;
|
||||
|
||||
iget v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->a:I
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
iget-boolean v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->b:Z
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
iget-boolean v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->c:Z
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
iget-boolean v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->d:Z
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x3
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
iget-boolean v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->e:Z
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x4
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->f:Landroid/graphics/Bitmap$Config;
|
||||
|
||||
invoke-virtual {v1}, Landroid/graphics/Bitmap$Config;->name()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x5
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/g/j/h/b;
|
||||
|
||||
const/4 v2, 0x6
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->h:Lf/g/j/t/a;
|
||||
|
||||
const/4 v2, 0x7
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->i:Landroid/graphics/ColorSpace;
|
||||
|
||||
const/16 v2, 0x8
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const-string v2, "%d-%b-%b-%b-%b-%b-%s-%s-%s"
|
||||
|
||||
invoke-static {v1, v2, v0}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -4,16 +4,16 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final mEncodedImage:Lf/g/j/j/e;
|
||||
.field public final mEncodedImage:Lcom/facebook/imagepipeline/image/EncodedImage;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;Lf/g/j/j/e;)V
|
||||
.method public constructor <init>(Ljava/lang/String;Lcom/facebook/imagepipeline/image/EncodedImage;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iput-object p2, p0, Lcom/facebook/imagepipeline/decoder/DecodeException;->mEncodedImage:Lf/g/j/j/e;
|
||||
iput-object p2, p0, Lcom/facebook/imagepipeline/decoder/DecodeException;->mEncodedImage:Lcom/facebook/imagepipeline/image/EncodedImage;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -0,0 +1,116 @@
|
|||
.class public abstract Lcom/facebook/imagepipeline/image/CloseableImage;
|
||||
.super Ljava/lang/Object;
|
||||
.source "CloseableImage.java"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/io/Closeable;
|
||||
.implements Lcom/facebook/imagepipeline/image/ImageInfo;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final TAG:Ljava/lang/String; = "CloseableImage"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract close()V
|
||||
.end method
|
||||
|
||||
.method public finalize()V
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/lang/Throwable;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/imagepipeline/image/CloseableImage;->isClosed()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x2
|
||||
|
||||
new-array v0, v0, [Ljava/lang/Object;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-static {p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
const-string v1, "CloseableImage"
|
||||
|
||||
const-string v2, "finalize: %s %x still open."
|
||||
|
||||
invoke-static {v1, v2, v0}, Lf/g/d/e/a;->q(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {p0}, Lcom/facebook/imagepipeline/image/CloseableImage;->close()V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-super {p0}, Ljava/lang/Object;->finalize()V
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
invoke-super {p0}, Ljava/lang/Object;->finalize()V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public getQualityInfo()Lcom/facebook/imagepipeline/image/QualityInfo;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lf/g/j/j/d;->d:Lcom/facebook/imagepipeline/image/QualityInfo;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public abstract getSizeInBytes()I
|
||||
.end method
|
||||
|
||||
.method public abstract isClosed()Z
|
||||
.end method
|
||||
|
||||
.method public isStateful()Z
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
return v0
|
||||
.end method
|
File diff suppressed because it is too large
Load diff
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "ImageInfo.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/g/j/j/g;
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract getHeight()I
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
.class public interface abstract Lcom/facebook/imagepipeline/image/QualityInfo;
|
||||
.super Ljava/lang/Object;
|
||||
.source "QualityInfo.java"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a()Z
|
||||
.end method
|
||||
|
||||
.method public abstract b()Z
|
||||
.end method
|
||||
|
||||
.method public abstract c()I
|
||||
.end method
|
|
@ -1,46 +0,0 @@
|
|||
.class public Lcom/facebook/imagepipeline/memory/AshmemMemoryChunkPool;
|
||||
.super Lf/g/j/m/s;
|
||||
.source "AshmemMemoryChunkPool.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation build Landroid/annotation/TargetApi;
|
||||
value = 0x1b
|
||||
.end annotation
|
||||
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/g/d/g/c;Lf/g/j/m/z;Lf/g/j/m/a0;)V
|
||||
.locals 0
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1, p2, p3}, Lf/g/j/m/s;-><init>(Lf/g/d/g/c;Lf/g/j/m/z;Lf/g/j/m/a0;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(I)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/g/j/m/a;
|
||||
|
||||
invoke-direct {v0, p1}, Lf/g/j/m/a;-><init>(I)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public o(I)Lf/g/j/m/r;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/g/j/m/a;
|
||||
|
||||
invoke-direct {v0, p1}, Lf/g/j/m/a;-><init>(I)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
const-string v0, "Invalid size: "
|
||||
|
||||
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
const-string v2, " Free size = "
|
||||
|
||||
invoke-static {v0, p1, v1, p2, v2}, Lf/e/b/a/a;->G(Ljava/lang/String;ILjava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;
|
||||
invoke-static {v0, p1, v1, p2, v2}, Lf/e/b/a/a;->F(Ljava/lang/String;ILjava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
|
|
@ -41,13 +41,13 @@
|
|||
|
||||
.field public final b:Lf/g/d/g/c;
|
||||
|
||||
.field public final c:Lf/g/j/m/z;
|
||||
.field public final c:Lf/g/j/l/a0;
|
||||
|
||||
.field public final d:Landroid/util/SparseArray;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroid/util/SparseArray<",
|
||||
"Lf/g/j/m/f<",
|
||||
"Lf/g/j/l/e<",
|
||||
"TV;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -68,13 +68,11 @@
|
|||
|
||||
.field public final h:Lcom/facebook/imagepipeline/memory/BasePool$a;
|
||||
|
||||
.field public final i:Lf/g/j/m/a0;
|
||||
|
||||
.field public j:Z
|
||||
.field public final i:Lf/g/j/l/b0;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/g/d/g/c;Lf/g/j/m/z;Lf/g/j/m/a0;)V
|
||||
.method public constructor <init>(Lf/g/d/g/c;Lf/g/j/l/a0;Lf/g/j/l/b0;)V
|
||||
.locals 8
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
@ -93,11 +91,11 @@
|
|||
|
||||
if-eqz p2, :cond_6
|
||||
|
||||
iput-object p2, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/m/z;
|
||||
iput-object p2, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/l/a0;
|
||||
|
||||
if-eqz p3, :cond_5
|
||||
|
||||
iput-object p3, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/m/a0;
|
||||
iput-object p3, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/l/b0;
|
||||
|
||||
new-instance p1, Landroid/util/SparseArray;
|
||||
|
||||
|
@ -105,9 +103,9 @@
|
|||
|
||||
iput-object p1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->d:Landroid/util/SparseArray;
|
||||
|
||||
iget-object p1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/m/z;
|
||||
iget-object p1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/l/a0;
|
||||
|
||||
iget-boolean p1, p1, Lf/g/j/m/z;->d:Z
|
||||
iget-boolean p1, p1, Lf/g/j/l/a0;->d:Z
|
||||
|
||||
const/4 p2, 0x0
|
||||
|
||||
|
@ -118,9 +116,9 @@
|
|||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-object p1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/m/z;
|
||||
iget-object p1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/l/a0;
|
||||
|
||||
iget-object p1, p1, Lf/g/j/m/z;->c:Landroid/util/SparseIntArray;
|
||||
iget-object p1, p1, Lf/g/j/l/a0;->c:Landroid/util/SparseIntArray;
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
|
@ -147,17 +145,17 @@
|
|||
|
||||
iget-object v2, p0, Lcom/facebook/imagepipeline/memory/BasePool;->d:Landroid/util/SparseArray;
|
||||
|
||||
new-instance v3, Lf/g/j/m/f;
|
||||
new-instance v3, Lf/g/j/l/e;
|
||||
|
||||
invoke-virtual {p0, v0}, Lcom/facebook/imagepipeline/memory/BasePool;->g(I)I
|
||||
|
||||
move-result v4
|
||||
|
||||
iget-object v5, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/m/z;
|
||||
iget-object v5, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/l/a0;
|
||||
|
||||
iget-boolean v5, v5, Lf/g/j/m/z;->d:Z
|
||||
iget-boolean v5, v5, Lf/g/j/l/a0;->d:Z
|
||||
|
||||
invoke-direct {v3, v4, v1, p2, v5}, Lf/g/j/m/f;-><init>(IIIZ)V
|
||||
invoke-direct {v3, v4, v1, p2, v5}, Lf/g/j/l/e;-><init>(IIIZ)V
|
||||
|
||||
invoke-virtual {v2, v0, v3}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
|
||||
|
||||
|
@ -199,9 +197,9 @@
|
|||
|
||||
invoke-virtual {v0}, Landroid/util/SparseArray;->clear()V
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/m/z;
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/l/a0;
|
||||
|
||||
iget-object v0, v0, Lf/g/j/m/z;->c:Landroid/util/SparseIntArray;
|
||||
iget-object v0, v0, Lf/g/j/l/a0;->c:Landroid/util/SparseIntArray;
|
||||
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
|
@ -228,17 +226,17 @@
|
|||
|
||||
iget-object v4, p0, Lcom/facebook/imagepipeline/memory/BasePool;->d:Landroid/util/SparseArray;
|
||||
|
||||
new-instance v5, Lf/g/j/m/f;
|
||||
new-instance v5, Lf/g/j/l/e;
|
||||
|
||||
invoke-virtual {p0, v1}, Lcom/facebook/imagepipeline/memory/BasePool;->g(I)I
|
||||
|
||||
move-result v6
|
||||
|
||||
iget-object v7, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/m/z;
|
||||
iget-object v7, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/l/a0;
|
||||
|
||||
iget-boolean v7, v7, Lf/g/j/m/z;->d:Z
|
||||
iget-boolean v7, v7, Lf/g/j/l/a0;->d:Z
|
||||
|
||||
invoke-direct {v5, v6, v2, v3, v7}, Lf/g/j/m/f;-><init>(IIIZ)V
|
||||
invoke-direct {v5, v6, v2, v3, v7}, Lf/g/j/l/e;-><init>(IIIZ)V
|
||||
|
||||
invoke-virtual {v4, v1, v5}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
|
||||
|
||||
|
@ -312,102 +310,90 @@
|
|||
.end method
|
||||
|
||||
.method public declared-synchronized b(I)Z
|
||||
.locals 6
|
||||
.locals 5
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v0, p0, Lcom/facebook/imagepipeline/memory/BasePool;->j:Z
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/l/a0;
|
||||
|
||||
iget v0, v0, Lf/g/j/l/a0;->a:I
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->g:Lcom/facebook/imagepipeline/memory/BasePool$a;
|
||||
|
||||
iget v1, v1, Lcom/facebook/imagepipeline/memory/BasePool$a;->b:I
|
||||
|
||||
sub-int v1, v0, v1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-le p1, v1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/l/b0;
|
||||
|
||||
invoke-interface {p1}, Lf/g/j/l/b0;->f()V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return v1
|
||||
return v2
|
||||
|
||||
:cond_0
|
||||
:try_start_1
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/m/z;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/l/a0;
|
||||
|
||||
iget v0, v0, Lf/g/j/m/z;->a:I
|
||||
iget v1, v1, Lf/g/j/l/a0;->b:I
|
||||
|
||||
iget-object v2, p0, Lcom/facebook/imagepipeline/memory/BasePool;->g:Lcom/facebook/imagepipeline/memory/BasePool$a;
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/memory/BasePool;->g:Lcom/facebook/imagepipeline/memory/BasePool$a;
|
||||
|
||||
iget v2, v2, Lcom/facebook/imagepipeline/memory/BasePool$a;->b:I
|
||||
|
||||
sub-int v2, v0, v2
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
if-le p1, v2, :cond_1
|
||||
|
||||
iget-object p1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/m/a0;
|
||||
|
||||
invoke-interface {p1}, Lf/g/j/m/a0;->f()V
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return v3
|
||||
|
||||
:cond_1
|
||||
:try_start_2
|
||||
iget-object v2, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/m/z;
|
||||
|
||||
iget v2, v2, Lf/g/j/m/z;->b:I
|
||||
|
||||
iget-object v4, p0, Lcom/facebook/imagepipeline/memory/BasePool;->g:Lcom/facebook/imagepipeline/memory/BasePool$a;
|
||||
|
||||
iget v4, v4, Lcom/facebook/imagepipeline/memory/BasePool$a;->b:I
|
||||
|
||||
iget-object v5, p0, Lcom/facebook/imagepipeline/memory/BasePool;->h:Lcom/facebook/imagepipeline/memory/BasePool$a;
|
||||
|
||||
iget v5, v5, Lcom/facebook/imagepipeline/memory/BasePool$a;->b:I
|
||||
|
||||
add-int/2addr v4, v5
|
||||
|
||||
sub-int v4, v2, v4
|
||||
|
||||
if-le p1, v4, :cond_2
|
||||
|
||||
sub-int/2addr v2, p1
|
||||
|
||||
invoke-virtual {p0, v2}, Lcom/facebook/imagepipeline/memory/BasePool;->n(I)V
|
||||
|
||||
:cond_2
|
||||
iget-object v2, p0, Lcom/facebook/imagepipeline/memory/BasePool;->g:Lcom/facebook/imagepipeline/memory/BasePool$a;
|
||||
|
||||
iget v2, v2, Lcom/facebook/imagepipeline/memory/BasePool$a;->b:I
|
||||
iget v3, v3, Lcom/facebook/imagepipeline/memory/BasePool$a;->b:I
|
||||
|
||||
iget-object v4, p0, Lcom/facebook/imagepipeline/memory/BasePool;->h:Lcom/facebook/imagepipeline/memory/BasePool$a;
|
||||
|
||||
iget v4, v4, Lcom/facebook/imagepipeline/memory/BasePool$a;->b:I
|
||||
|
||||
add-int/2addr v2, v4
|
||||
add-int/2addr v3, v4
|
||||
|
||||
sub-int/2addr v0, v2
|
||||
sub-int v3, v1, v3
|
||||
|
||||
if-le p1, v0, :cond_3
|
||||
if-le p1, v3, :cond_1
|
||||
|
||||
iget-object p1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/m/a0;
|
||||
sub-int/2addr v1, p1
|
||||
|
||||
invoke-interface {p1}, Lf/g/j/m/a0;->f()V
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
||||
invoke-virtual {p0, v1}, Lcom/facebook/imagepipeline/memory/BasePool;->n(I)V
|
||||
|
||||
:cond_1
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->g:Lcom/facebook/imagepipeline/memory/BasePool$a;
|
||||
|
||||
iget v1, v1, Lcom/facebook/imagepipeline/memory/BasePool$a;->b:I
|
||||
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/memory/BasePool;->h:Lcom/facebook/imagepipeline/memory/BasePool$a;
|
||||
|
||||
iget v3, v3, Lcom/facebook/imagepipeline/memory/BasePool$a;->b:I
|
||||
|
||||
add-int/2addr v1, v3
|
||||
|
||||
sub-int/2addr v0, v1
|
||||
|
||||
if-le p1, v0, :cond_2
|
||||
|
||||
iget-object p1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/l/b0;
|
||||
|
||||
invoke-interface {p1}, Lf/g/j/l/b0;->f()V
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return v3
|
||||
return v2
|
||||
|
||||
:cond_2
|
||||
const/4 p1, 0x1
|
||||
|
||||
:cond_3
|
||||
monitor-exit p0
|
||||
|
||||
return v1
|
||||
return p1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
@ -425,12 +411,12 @@
|
|||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public declared-synchronized d(I)Lf/g/j/m/f;
|
||||
.method public declared-synchronized d(I)Lf/g/j/l/e;
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(I)",
|
||||
"Lf/g/j/m/f<",
|
||||
"Lf/g/j/l/e<",
|
||||
"TV;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -444,7 +430,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lf/g/j/m/f;
|
||||
check-cast v0, Lf/g/j/l/e;
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
|
@ -474,7 +460,7 @@
|
|||
invoke-static {v0, v1, v2}, Lf/g/d/e/a;->i(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p0, p1}, Lcom/facebook/imagepipeline/memory/BasePool;->m(I)Lf/g/j/m/f;
|
||||
invoke-virtual {p0, p1}, Lcom/facebook/imagepipeline/memory/BasePool;->m(I)Lf/g/j/l/e;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
@ -553,7 +539,7 @@
|
|||
const/4 v0, 0x1
|
||||
|
||||
:goto_1
|
||||
invoke-static {v0}, Le0/a/b/b/a;->k(Z)V
|
||||
invoke-static {v0}, Le0/a/b/b/a;->m(Z)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_5
|
||||
|
||||
|
@ -566,7 +552,7 @@
|
|||
monitor-enter p0
|
||||
|
||||
:try_start_1
|
||||
invoke-virtual {p0, p1}, Lcom/facebook/imagepipeline/memory/BasePool;->d(I)Lf/g/j/m/f;
|
||||
invoke-virtual {p0, p1}, Lcom/facebook/imagepipeline/memory/BasePool;->d(I)Lf/g/j/l/e;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
@ -574,7 +560,7 @@
|
|||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
invoke-virtual {p0, v0}, Lcom/facebook/imagepipeline/memory/BasePool;->h(Lf/g/j/m/f;)Ljava/lang/Object;
|
||||
invoke-virtual {p0, v0}, Lcom/facebook/imagepipeline/memory/BasePool;->h(Lf/g/j/l/e;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
|
@ -586,7 +572,7 @@
|
|||
|
||||
move-result p1
|
||||
|
||||
invoke-static {p1}, Le0/a/b/b/a;->k(Z)V
|
||||
invoke-static {p1}, Le0/a/b/b/a;->m(Z)V
|
||||
|
||||
invoke-virtual {p0, v3}, Lcom/facebook/imagepipeline/memory/BasePool;->f(Ljava/lang/Object;)I
|
||||
|
||||
|
@ -604,9 +590,9 @@
|
|||
|
||||
invoke-virtual {v1, v0}, Lcom/facebook/imagepipeline/memory/BasePool$a;->a(I)V
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/m/a0;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/l/b0;
|
||||
|
||||
invoke-interface {v1, v0}, Lf/g/j/m/a0;->b(I)V
|
||||
invoke-interface {v1, v0}, Lf/g/j/l/b0;->b(I)V
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/BasePool;->l()V
|
||||
|
||||
|
@ -656,11 +642,11 @@
|
|||
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
iget v4, v0, Lf/g/j/m/f;->e:I
|
||||
iget v4, v0, Lf/g/j/l/e;->e:I
|
||||
|
||||
add-int/2addr v4, v1
|
||||
|
||||
iput v4, v0, Lf/g/j/m/f;->e:I
|
||||
iput v4, v0, Lf/g/j/l/e;->e:I
|
||||
|
||||
:cond_4
|
||||
monitor-exit p0
|
||||
|
@ -688,20 +674,20 @@
|
|||
|
||||
invoke-virtual {v4, v3}, Lcom/facebook/imagepipeline/memory/BasePool$a;->a(I)V
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/facebook/imagepipeline/memory/BasePool;->d(I)Lf/g/j/m/f;
|
||||
invoke-virtual {p0, p1}, Lcom/facebook/imagepipeline/memory/BasePool;->d(I)Lf/g/j/l/e;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
if-eqz v4, :cond_5
|
||||
|
||||
invoke-virtual {v4}, Lf/g/j/m/f;->b()V
|
||||
invoke-virtual {v4}, Lf/g/j/l/e;->b()V
|
||||
|
||||
:cond_5
|
||||
monitor-exit p0
|
||||
:try_end_3
|
||||
.catchall {:try_start_3 .. :try_end_3} :catchall_3
|
||||
|
||||
invoke-static {v1}, Le0/a/b/b/a;->V(Ljava/lang/Throwable;)V
|
||||
invoke-static {v1}, Le0/a/b/b/a;->B0(Ljava/lang/Throwable;)V
|
||||
|
||||
:goto_2
|
||||
monitor-enter p0
|
||||
|
@ -713,7 +699,7 @@
|
|||
|
||||
move-result v1
|
||||
|
||||
invoke-static {v1}, Le0/a/b/b/a;->k(Z)V
|
||||
invoke-static {v1}, Le0/a/b/b/a;->m(Z)V
|
||||
|
||||
monitor-enter p0
|
||||
:try_end_4
|
||||
|
@ -726,9 +712,9 @@
|
|||
|
||||
if-eqz v1, :cond_6
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/m/z;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/l/a0;
|
||||
|
||||
iget v1, v1, Lf/g/j/m/z;->b:I
|
||||
iget v1, v1, Lf/g/j/l/a0;->b:I
|
||||
|
||||
invoke-virtual {p0, v1}, Lcom/facebook/imagepipeline/memory/BasePool;->n(I)V
|
||||
:try_end_5
|
||||
|
@ -738,9 +724,9 @@
|
|||
:try_start_6
|
||||
monitor-exit p0
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/m/a0;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/l/b0;
|
||||
|
||||
invoke-interface {v1, v3}, Lf/g/j/m/a0;->a(I)V
|
||||
invoke-interface {v1, v3}, Lf/g/j/l/b0;->a(I)V
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/BasePool;->l()V
|
||||
|
||||
|
@ -803,9 +789,9 @@
|
|||
:try_start_8
|
||||
new-instance p1, Lcom/facebook/imagepipeline/memory/BasePool$PoolSizeViolationException;
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/m/z;
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/l/a0;
|
||||
|
||||
iget v0, v0, Lf/g/j/m/z;->a:I
|
||||
iget v0, v0, Lf/g/j/l/a0;->a:I
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->g:Lcom/facebook/imagepipeline/memory/BasePool$a;
|
||||
|
||||
|
@ -836,12 +822,12 @@
|
|||
throw p1
|
||||
.end method
|
||||
|
||||
.method public declared-synchronized h(Lf/g/j/m/f;)Ljava/lang/Object;
|
||||
.method public declared-synchronized h(Lf/g/j/l/e;)Ljava/lang/Object;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lf/g/j/m/f<",
|
||||
"Lf/g/j/l/e<",
|
||||
"TV;>;)TV;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -849,17 +835,17 @@
|
|||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {p1}, Lf/g/j/m/f;->c()Ljava/lang/Object;
|
||||
invoke-virtual {p1}, Lf/g/j/l/e;->c()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget v1, p1, Lf/g/j/m/f;->e:I
|
||||
iget v1, p1, Lf/g/j/l/e;->e:I
|
||||
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
iput v1, p1, Lf/g/j/m/f;->e:I
|
||||
iput v1, p1, Lf/g/j/l/e;->e:I
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
|
@ -889,9 +875,9 @@
|
|||
|
||||
invoke-interface {v0, p0}, Lf/g/d/g/c;->a(Lf/g/d/g/b;)V
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/m/a0;
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/l/b0;
|
||||
|
||||
invoke-interface {v0, p0}, Lf/g/j/m/a0;->c(Lcom/facebook/imagepipeline/memory/BasePool;)V
|
||||
invoke-interface {v0, p0}, Lf/g/j/l/b0;->c(Lcom/facebook/imagepipeline/memory/BasePool;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -912,9 +898,9 @@
|
|||
|
||||
add-int/2addr v0, v1
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/m/z;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/l/a0;
|
||||
|
||||
iget v1, v1, Lf/g/j/m/z;->b:I
|
||||
iget v1, v1, Lf/g/j/l/a0;->b:I
|
||||
|
||||
if-le v0, v1, :cond_0
|
||||
|
||||
|
@ -928,9 +914,9 @@
|
|||
:goto_0
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/m/a0;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/l/b0;
|
||||
|
||||
invoke-interface {v1}, Lf/g/j/m/a0;->d()V
|
||||
invoke-interface {v1}, Lf/g/j/l/b0;->d()V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
|
@ -1018,31 +1004,31 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public m(I)Lf/g/j/m/f;
|
||||
.method public m(I)Lf/g/j/l/e;
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(I)",
|
||||
"Lf/g/j/m/f<",
|
||||
"Lf/g/j/l/e<",
|
||||
"TV;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Lf/g/j/m/f;
|
||||
new-instance v0, Lf/g/j/l/e;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/facebook/imagepipeline/memory/BasePool;->g(I)I
|
||||
|
||||
move-result p1
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/m/z;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->c:Lf/g/j/l/a0;
|
||||
|
||||
iget-boolean v1, v1, Lf/g/j/m/z;->d:Z
|
||||
iget-boolean v1, v1, Lf/g/j/l/a0;->d:Z
|
||||
|
||||
const v2, 0x7fffffff
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-direct {v0, p1, v2, v3, v1}, Lf/g/j/m/f;-><init>(IIIZ)V
|
||||
invoke-direct {v0, p1, v2, v3, v1}, Lf/g/j/l/e;-><init>(IIIZ)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
@ -1144,12 +1130,12 @@
|
|||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Lf/g/j/m/f;
|
||||
check-cast v3, Lf/g/j/l/e;
|
||||
|
||||
:goto_1
|
||||
if-lez v0, :cond_4
|
||||
|
||||
invoke-virtual {v3}, Lf/g/j/m/f;->c()Ljava/lang/Object;
|
||||
invoke-virtual {v3}, Lf/g/j/l/e;->c()Ljava/lang/Object;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
|
@ -1160,13 +1146,13 @@
|
|||
:cond_3
|
||||
invoke-virtual {p0, v4}, Lcom/facebook/imagepipeline/memory/BasePool;->c(Ljava/lang/Object;)V
|
||||
|
||||
iget v4, v3, Lf/g/j/m/f;->a:I
|
||||
iget v4, v3, Lf/g/j/l/e;->a:I
|
||||
|
||||
sub-int/2addr v0, v4
|
||||
|
||||
iget-object v4, p0, Lcom/facebook/imagepipeline/memory/BasePool;->h:Lcom/facebook/imagepipeline/memory/BasePool$a;
|
||||
|
||||
iget v5, v3, Lf/g/j/m/f;->a:I
|
||||
iget v5, v3, Lf/g/j/l/e;->a:I
|
||||
|
||||
invoke-virtual {v4, v5}, Lcom/facebook/imagepipeline/memory/BasePool$a;->a(I)V
|
||||
|
||||
|
@ -1259,7 +1245,7 @@
|
|||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Lf/g/j/m/f;
|
||||
check-cast v2, Lf/g/j/l/e;
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
||||
|
||||
|
@ -1306,18 +1292,18 @@
|
|||
|
||||
invoke-virtual {p0, p1}, Lcom/facebook/imagepipeline/memory/BasePool;->c(Ljava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/m/a0;
|
||||
iget-object p1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/l/b0;
|
||||
|
||||
invoke-interface {p1, v1}, Lf/g/j/m/a0;->e(I)V
|
||||
invoke-interface {p1, v1}, Lf/g/j/l/b0;->e(I)V
|
||||
|
||||
goto/16 :goto_2
|
||||
|
||||
:cond_0
|
||||
if-eqz v2, :cond_3
|
||||
|
||||
iget v3, v2, Lf/g/j/m/f;->e:I
|
||||
iget v3, v2, Lf/g/j/l/e;->e:I
|
||||
|
||||
iget-object v7, v2, Lf/g/j/m/f;->c:Ljava/util/Queue;
|
||||
iget-object v7, v2, Lf/g/j/l/e;->c:Ljava/util/Queue;
|
||||
|
||||
invoke-interface {v7}, Ljava/util/Queue;->size()I
|
||||
|
||||
|
@ -1325,7 +1311,7 @@
|
|||
|
||||
add-int/2addr v3, v7
|
||||
|
||||
iget v7, v2, Lf/g/j/m/f;->b:I
|
||||
iget v7, v2, Lf/g/j/l/e;->b:I
|
||||
|
||||
if-le v3, v7, :cond_1
|
||||
|
||||
|
@ -1352,7 +1338,7 @@
|
|||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {v2, p1}, Lf/g/j/m/f;->d(Ljava/lang/Object;)V
|
||||
invoke-virtual {v2, p1}, Lf/g/j/l/e;->d(Ljava/lang/Object;)V
|
||||
|
||||
iget-object v2, p0, Lcom/facebook/imagepipeline/memory/BasePool;->h:Lcom/facebook/imagepipeline/memory/BasePool$a;
|
||||
|
||||
|
@ -1362,9 +1348,9 @@
|
|||
|
||||
invoke-virtual {v2, v1}, Lcom/facebook/imagepipeline/memory/BasePool$a;->a(I)V
|
||||
|
||||
iget-object v2, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/m/a0;
|
||||
iget-object v2, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/l/b0;
|
||||
|
||||
invoke-interface {v2, v1}, Lf/g/j/m/a0;->g(I)V
|
||||
invoke-interface {v2, v1}, Lf/g/j/l/b0;->g(I)V
|
||||
|
||||
invoke-static {v6}, Lf/g/d/e/a;->g(I)Z
|
||||
|
||||
|
@ -1396,7 +1382,7 @@
|
|||
:goto_1
|
||||
if-eqz v2, :cond_4
|
||||
|
||||
invoke-virtual {v2}, Lf/g/j/m/f;->b()V
|
||||
invoke-virtual {v2}, Lf/g/j/l/e;->b()V
|
||||
|
||||
:cond_4
|
||||
invoke-static {v6}, Lf/g/d/e/a;->g(I)Z
|
||||
|
@ -1430,9 +1416,9 @@
|
|||
|
||||
invoke-virtual {p1, v1}, Lcom/facebook/imagepipeline/memory/BasePool$a;->a(I)V
|
||||
|
||||
iget-object p1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/m/a0;
|
||||
iget-object p1, p0, Lcom/facebook/imagepipeline/memory/BasePool;->i:Lf/g/j/l/b0;
|
||||
|
||||
invoke-interface {p1, v1}, Lf/g/j/m/a0;->e(I)V
|
||||
invoke-interface {p1, v1}, Lf/g/j/l/b0;->e(I)V
|
||||
|
||||
:cond_6
|
||||
:goto_2
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
.class public Lcom/facebook/imagepipeline/memory/BufferMemoryChunkPool;
|
||||
.super Lf/g/j/m/s;
|
||||
.source "BufferMemoryChunkPool.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/g/d/g/c;Lf/g/j/m/z;Lf/g/j/m/a0;)V
|
||||
.locals 0
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1, p2, p3}, Lf/g/j/m/s;-><init>(Lf/g/d/g/c;Lf/g/j/m/z;Lf/g/j/m/a0;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(I)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/g/j/m/i;
|
||||
|
||||
invoke-direct {v0, p1}, Lf/g/j/m/i;-><init>(I)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public o(I)Lf/g/j/m/r;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/g/j/m/i;
|
||||
|
||||
invoke-direct {v0, p1}, Lf/g/j/m/i;-><init>(I)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -12,13 +12,13 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lf/g/j/m/s;
|
||||
.field public final d:Lf/g/j/l/s;
|
||||
|
||||
.field public e:Lcom/facebook/common/references/CloseableReference;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lcom/facebook/common/references/CloseableReference<",
|
||||
"Lf/g/j/m/r;",
|
||||
"Lf/g/j/l/r;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/g/j/m/s;I)V
|
||||
.method public constructor <init>(Lf/g/j/l/s;I)V
|
||||
.locals 2
|
||||
|
||||
invoke-direct {p0}, Lf/g/d/g/i;-><init>()V
|
||||
|
@ -45,11 +45,11 @@
|
|||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {v1}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {v1}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iput-object p1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->d:Lf/g/j/m/s;
|
||||
iput-object p1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->d:Lf/g/j/l/s;
|
||||
|
||||
iput v0, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->f:I
|
||||
|
||||
|
@ -57,9 +57,9 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
iget-object p2, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->d:Lf/g/j/m/s;
|
||||
iget-object p2, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->d:Lf/g/j/l/s;
|
||||
|
||||
invoke-static {p1, p2}, Lcom/facebook/common/references/CloseableReference;->v(Ljava/lang/Object;Lf/g/d/h/g;)Lcom/facebook/common/references/CloseableReference;
|
||||
invoke-static {p1, p2}, Lcom/facebook/common/references/CloseableReference;->w(Ljava/lang/Object;Lf/g/d/h/b;)Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
@ -80,7 +80,7 @@
|
|||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->p(Lcom/facebook/common/references/CloseableReference;)Z
|
||||
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->r(Lcom/facebook/common/references/CloseableReference;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
|
@ -96,18 +96,18 @@
|
|||
throw v0
|
||||
.end method
|
||||
|
||||
.method public b()Lf/g/j/m/t;
|
||||
.method public b()Lf/g/j/l/t;
|
||||
.locals 3
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->a()V
|
||||
|
||||
new-instance v0, Lf/g/j/m/t;
|
||||
new-instance v0, Lf/g/j/l/t;
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
iget v2, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->f:I
|
||||
|
||||
invoke-direct {v0, v1, v2}, Lf/g/j/m/t;-><init>(Lcom/facebook/common/references/CloseableReference;I)V
|
||||
invoke-direct {v0, v1, v2}, Lf/g/j/l/t;-><init>(Lcom/facebook/common/references/CloseableReference;I)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
@ -183,13 +183,13 @@
|
|||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
|
||||
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->i()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lf/g/j/m/r;
|
||||
check-cast v1, Lf/g/j/l/r;
|
||||
|
||||
invoke-interface {v1}, Lf/g/j/m/r;->getSize()I
|
||||
invoke-interface {v1}, Lf/g/j/l/r;->getSize()I
|
||||
|
||||
move-result v1
|
||||
|
||||
|
@ -198,35 +198,35 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->d:Lf/g/j/m/s;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->d:Lf/g/j/l/s;
|
||||
|
||||
invoke-virtual {v1, v0}, Lcom/facebook/imagepipeline/memory/BasePool;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lf/g/j/m/r;
|
||||
check-cast v0, Lf/g/j/l/r;
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
|
||||
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->i()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lf/g/j/m/r;
|
||||
check-cast v1, Lf/g/j/l/r;
|
||||
|
||||
iget v2, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->f:I
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-interface {v1, v3, v0, v3, v2}, Lf/g/j/m/r;->a(ILf/g/j/m/r;II)V
|
||||
invoke-interface {v1, v3, v0, v3, v2}, Lf/g/j/l/r;->a(ILf/g/j/l/r;II)V
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->d:Lf/g/j/m/s;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->d:Lf/g/j/l/s;
|
||||
|
||||
invoke-static {v0, v1}, Lcom/facebook/common/references/CloseableReference;->v(Ljava/lang/Object;Lf/g/d/h/g;)Lcom/facebook/common/references/CloseableReference;
|
||||
invoke-static {v0, v1}, Lcom/facebook/common/references/CloseableReference;->w(Ljava/lang/Object;Lf/g/d/h/b;)Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
@ -235,15 +235,15 @@
|
|||
:goto_0
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
|
||||
invoke-virtual {v0}, Lcom/facebook/common/references/CloseableReference;->i()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lf/g/j/m/r;
|
||||
check-cast v0, Lf/g/j/l/r;
|
||||
|
||||
iget v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->f:I
|
||||
|
||||
invoke-interface {v0, v1, p1, p2, p3}, Lf/g/j/m/r;->b(I[BII)I
|
||||
invoke-interface {v0, v1, p1, p2, p3}, Lf/g/j/l/r;->b(I[BII)I
|
||||
|
||||
iget p1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->f:I
|
||||
|
||||
|
@ -258,7 +258,7 @@
|
|||
|
||||
const-string v1, "length="
|
||||
|
||||
invoke-static {v1}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
invoke-static {v1}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.source "NativeMemoryChunk.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/g/j/m/r;
|
||||
.implements Lf/g/j/l/r;
|
||||
.implements Ljava/io/Closeable;
|
||||
|
||||
|
||||
|
@ -22,11 +22,9 @@
|
|||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
.locals 0
|
||||
|
||||
const-string v0, "imagepipeline"
|
||||
|
||||
invoke-static {v0}, Lf/g/m/o/a;->c(Ljava/lang/String;)Z
|
||||
invoke-static {}, Lf/g/j/m/a;->a()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -68,7 +66,7 @@
|
|||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {v1}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {v1}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
iput p1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
|
||||
|
||||
|
@ -115,12 +113,12 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public a(ILf/g/j/m/r;II)V
|
||||
.method public a(ILf/g/j/l/r;II)V
|
||||
.locals 5
|
||||
|
||||
if-eqz p2, :cond_2
|
||||
|
||||
invoke-interface {p2}, Lf/g/j/m/r;->getUniqueId()J
|
||||
invoke-interface {p2}, Lf/g/j/l/r;->getUniqueId()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
|
@ -134,7 +132,7 @@
|
|||
|
||||
const-string v1, "Copying from NativeMemoryChunk "
|
||||
|
||||
invoke-static {v1}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
invoke-static {v1}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
|
@ -182,10 +180,10 @@
|
|||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-static {v0}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {v0}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
:cond_0
|
||||
invoke-interface {p2}, Lf/g/j/m/r;->getUniqueId()J
|
||||
invoke-interface {p2}, Lf/g/j/l/r;->getUniqueId()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
|
@ -203,7 +201,7 @@
|
|||
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
||||
|
||||
:try_start_1
|
||||
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->c(ILf/g/j/m/r;II)V
|
||||
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->c(ILf/g/j/l/r;II)V
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_1
|
||||
|
@ -245,7 +243,7 @@
|
|||
.catchall {:try_start_5 .. :try_end_5} :catchall_3
|
||||
|
||||
:try_start_6
|
||||
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->c(ILf/g/j/m/r;II)V
|
||||
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->c(ILf/g/j/l/r;II)V
|
||||
|
||||
monitor-exit p2
|
||||
:try_end_6
|
||||
|
@ -304,11 +302,11 @@
|
|||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {v0}, Le0/a/b/b/a;->k(Z)V
|
||||
invoke-static {v0}, Le0/a/b/b/a;->m(Z)V
|
||||
|
||||
iget v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
|
||||
|
||||
invoke-static {p1, p4, v0}, Lf/g/j/k/a;->b(III)I
|
||||
invoke-static {p1, p4, v0}, Le0/a/b/b/a;->c(III)I
|
||||
|
||||
move-result p4
|
||||
|
||||
|
@ -316,7 +314,7 @@
|
|||
|
||||
iget v1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
|
||||
|
||||
invoke-static {p1, v0, p3, p4, v1}, Lf/g/j/k/a;->j(IIIII)V
|
||||
invoke-static {p1, v0, p3, p4, v1}, Le0/a/b/b/a;->j(IIIII)V
|
||||
|
||||
iget-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
|
||||
|
||||
|
@ -340,7 +338,7 @@
|
|||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final c(ILf/g/j/m/r;II)V
|
||||
.method public final c(ILf/g/j/l/r;II)V
|
||||
.locals 4
|
||||
|
||||
instance-of v0, p2, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;
|
||||
|
@ -353,25 +351,25 @@
|
|||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
invoke-static {v0}, Le0/a/b/b/a;->k(Z)V
|
||||
invoke-static {v0}, Le0/a/b/b/a;->m(Z)V
|
||||
|
||||
invoke-interface {p2}, Lf/g/j/m/r;->isClosed()Z
|
||||
invoke-interface {p2}, Lf/g/j/l/r;->isClosed()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
invoke-static {v0}, Le0/a/b/b/a;->k(Z)V
|
||||
invoke-static {v0}, Le0/a/b/b/a;->m(Z)V
|
||||
|
||||
invoke-interface {p2}, Lf/g/j/m/r;->getSize()I
|
||||
invoke-interface {p2}, Lf/g/j/l/r;->getSize()I
|
||||
|
||||
move-result v0
|
||||
|
||||
iget v1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
|
||||
|
||||
invoke-static {p1, v0, p3, p4, v1}, Lf/g/j/k/a;->j(IIIII)V
|
||||
invoke-static {p1, v0, p3, p4, v1}, Le0/a/b/b/a;->j(IIIII)V
|
||||
|
||||
invoke-interface {p2}, Lf/g/j/m/r;->r()J
|
||||
invoke-interface {p2}, Lf/g/j/l/r;->o()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
|
@ -451,7 +449,7 @@
|
|||
:cond_0
|
||||
const-string v0, "finalize: Chunk "
|
||||
|
||||
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
@ -540,7 +538,7 @@
|
|||
throw v0
|
||||
.end method
|
||||
|
||||
.method public declared-synchronized k(I)B
|
||||
.method public declared-synchronized j(I)B
|
||||
.locals 4
|
||||
|
||||
monitor-enter p0
|
||||
|
@ -564,7 +562,7 @@
|
|||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {v0}, Le0/a/b/b/a;->k(Z)V
|
||||
invoke-static {v0}, Le0/a/b/b/a;->m(Z)V
|
||||
|
||||
if-ltz p1, :cond_1
|
||||
|
||||
|
@ -576,7 +574,7 @@
|
|||
const/4 v0, 0x0
|
||||
|
||||
:goto_1
|
||||
invoke-static {v0}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {v0}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
iget v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
|
||||
|
||||
|
@ -588,7 +586,7 @@
|
|||
const/4 v1, 0x0
|
||||
|
||||
:goto_2
|
||||
invoke-static {v1}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {v1}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
iget-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
|
||||
|
||||
|
@ -614,7 +612,7 @@
|
|||
throw p1
|
||||
.end method
|
||||
|
||||
.method public declared-synchronized m(I[BII)I
|
||||
.method public declared-synchronized l(I[BII)I
|
||||
.locals 4
|
||||
|
||||
monitor-enter p0
|
||||
|
@ -636,11 +634,11 @@
|
|||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {v0}, Le0/a/b/b/a;->k(Z)V
|
||||
invoke-static {v0}, Le0/a/b/b/a;->m(Z)V
|
||||
|
||||
iget v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
|
||||
|
||||
invoke-static {p1, p4, v0}, Lf/g/j/k/a;->b(III)I
|
||||
invoke-static {p1, p4, v0}, Le0/a/b/b/a;->c(III)I
|
||||
|
||||
move-result p4
|
||||
|
||||
|
@ -648,7 +646,7 @@
|
|||
|
||||
iget v1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
|
||||
|
||||
invoke-static {p1, v0, p3, p4, v1}, Lf/g/j/k/a;->j(IIIII)V
|
||||
invoke-static {p1, v0, p3, p4, v1}, Le0/a/b/b/a;->j(IIIII)V
|
||||
|
||||
iget-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
|
||||
|
||||
|
@ -683,7 +681,7 @@
|
|||
throw p1
|
||||
.end method
|
||||
|
||||
.method public r()J
|
||||
.method public o()J
|
||||
.locals 2
|
||||
|
||||
iget-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
.class public Lcom/facebook/imagepipeline/memory/NativeMemoryChunkPool;
|
||||
.super Lf/g/j/m/s;
|
||||
.source "NativeMemoryChunkPool.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/g/d/g/c;Lf/g/j/m/z;Lf/g/j/m/a0;)V
|
||||
.locals 0
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1, p2, p3}, Lf/g/j/m/s;-><init>(Lf/g/d/g/c;Lf/g/j/m/z;Lf/g/j/m/a0;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(I)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;
|
||||
|
||||
invoke-direct {v0, p1}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;-><init>(I)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public o(I)Lf/g/j/m/r;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;
|
||||
|
||||
invoke-direct {v0, p1}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;-><init>(I)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -12,7 +12,7 @@
|
|||
.method public static constructor <clinit>()V
|
||||
.locals 0
|
||||
|
||||
invoke-static {}, Lf/g/j/n/a;->a()V
|
||||
invoke-static {}, Lf/g/j/m/a;->a()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -25,10 +25,8 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public static copyBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;)V
|
||||
.method public static a(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;)V
|
||||
.locals 4
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p1}, Landroid/graphics/Bitmap;->getConfig()Landroid/graphics/Bitmap$Config;
|
||||
|
||||
|
@ -38,9 +36,9 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x1
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
const/4 v3, 0x1
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
|
@ -52,13 +50,13 @@
|
|||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {v0}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {v0}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
invoke-virtual {p0}, Landroid/graphics/Bitmap;->isMutable()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-static {v0}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {v0}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
invoke-virtual {p0}, Landroid/graphics/Bitmap;->getWidth()I
|
||||
|
||||
|
@ -78,7 +76,7 @@
|
|||
const/4 v0, 0x0
|
||||
|
||||
:goto_1
|
||||
invoke-static {v0}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {v0}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
invoke-virtual {p0}, Landroid/graphics/Bitmap;->getHeight()I
|
||||
|
||||
|
@ -90,13 +88,10 @@
|
|||
|
||||
if-ne v0, v1, :cond_2
|
||||
|
||||
goto :goto_2
|
||||
const/4 v2, 0x1
|
||||
|
||||
:cond_2
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_2
|
||||
invoke-static {v2}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {v2}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
invoke-virtual {p0}, Landroid/graphics/Bitmap;->getRowBytes()I
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.source "DalvikPurgeableDecoder.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/g/j/o/d;
|
||||
.implements Lf/g/j/n/d;
|
||||
|
||||
|
||||
# annotations
|
||||
|
@ -22,14 +22,14 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Lf/g/j/m/b;
|
||||
.field public final a:Lf/g/j/l/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
invoke-static {}, Lf/g/j/n/a;->a()V
|
||||
invoke-static {}, Lf/g/j/m/a;->a()V
|
||||
|
||||
const/4 v0, 0x2
|
||||
|
||||
|
@ -53,28 +53,28 @@
|
|||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
sget-object v0, Lf/g/j/m/c;->c:Lf/g/j/m/b;
|
||||
sget-object v0, Lf/g/j/l/b;->c:Lf/g/j/l/a;
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
const-class v0, Lf/g/j/m/c;
|
||||
const-class v0, Lf/g/j/l/b;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
sget-object v1, Lf/g/j/m/c;->c:Lf/g/j/m/b;
|
||||
sget-object v1, Lf/g/j/l/b;->c:Lf/g/j/l/a;
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
new-instance v1, Lf/g/j/m/b;
|
||||
new-instance v1, Lf/g/j/l/a;
|
||||
|
||||
sget v2, Lf/g/j/m/c;->b:I
|
||||
sget v2, Lf/g/j/l/b;->b:I
|
||||
|
||||
sget v3, Lf/g/j/m/c;->a:I
|
||||
sget v3, Lf/g/j/l/b;->a:I
|
||||
|
||||
invoke-direct {v1, v2, v3}, Lf/g/j/m/b;-><init>(II)V
|
||||
invoke-direct {v1, v2, v3}, Lf/g/j/l/a;-><init>(II)V
|
||||
|
||||
sput-object v1, Lf/g/j/m/c;->c:Lf/g/j/m/b;
|
||||
sput-object v1, Lf/g/j/l/b;->c:Lf/g/j/l/a;
|
||||
|
||||
:cond_0
|
||||
monitor-exit v0
|
||||
|
@ -92,65 +92,13 @@
|
|||
|
||||
:cond_1
|
||||
:goto_0
|
||||
sget-object v0, Lf/g/j/m/c;->c:Lf/g/j/m/b;
|
||||
sget-object v0, Lf/g/j/l/b;->c:Lf/g/j/l/a;
|
||||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/m/b;
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/l/a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static e(Lcom/facebook/common/references/CloseableReference;I)Z
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/facebook/common/references/CloseableReference<",
|
||||
"Lcom/facebook/common/memory/PooledByteBuffer;",
|
||||
">;I)Z"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
check-cast p0, Lcom/facebook/common/memory/PooledByteBuffer;
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
if-lt p1, v1, :cond_0
|
||||
|
||||
add-int/lit8 v1, p1, -0x2
|
||||
|
||||
invoke-interface {p0, v1}, Lcom/facebook/common/memory/PooledByteBuffer;->k(I)B
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, -0x1
|
||||
|
||||
if-ne v1, v2, :cond_0
|
||||
|
||||
sub-int/2addr p1, v0
|
||||
|
||||
invoke-interface {p0, p1}, Lcom/facebook/common/memory/PooledByteBuffer;->k(I)B
|
||||
|
||||
move-result p0
|
||||
|
||||
const/16 p1, -0x27
|
||||
|
||||
if-ne p0, p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public static native nativePinBitmap(Landroid/graphics/Bitmap;)V
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
@ -158,12 +106,12 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Lf/g/j/j/e;Landroid/graphics/Bitmap$Config;Landroid/graphics/Rect;Landroid/graphics/ColorSpace;)Lcom/facebook/common/references/CloseableReference;
|
||||
.method public a(Lcom/facebook/imagepipeline/image/EncodedImage;Landroid/graphics/Bitmap$Config;Landroid/graphics/Rect;Landroid/graphics/ColorSpace;)Lcom/facebook/common/references/CloseableReference;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lf/g/j/j/e;",
|
||||
"Lcom/facebook/imagepipeline/image/EncodedImage;",
|
||||
"Landroid/graphics/Bitmap$Config;",
|
||||
"Landroid/graphics/Rect;",
|
||||
"Landroid/graphics/ColorSpace;",
|
||||
|
@ -174,7 +122,7 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
iget p3, p1, Lf/g/j/j/e;->k:I
|
||||
iget p3, p1, Lcom/facebook/imagepipeline/image/EncodedImage;->k:I
|
||||
|
||||
new-instance v0, Landroid/graphics/BitmapFactory$Options;
|
||||
|
||||
|
@ -212,18 +160,18 @@
|
|||
iput-object p4, v0, Landroid/graphics/BitmapFactory$Options;->inPreferredColorSpace:Landroid/graphics/ColorSpace;
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p1}, Lf/g/j/j/e;->d()Lcom/facebook/common/references/CloseableReference;
|
||||
invoke-virtual {p1}, Lcom/facebook/imagepipeline/image/EncodedImage;->c()Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Le0/a/b/b/a;->i(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-static {p1}, Le0/a/b/b/a;->k(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {p0, p1, v0}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->c(Lcom/facebook/common/references/CloseableReference;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p0, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->f(Landroid/graphics/Bitmap;)Lcom/facebook/common/references/CloseableReference;
|
||||
invoke-virtual {p0, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->e(Landroid/graphics/Bitmap;)Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
move-result-object p2
|
||||
:try_end_0
|
||||
|
@ -241,12 +189,12 @@
|
|||
throw p2
|
||||
.end method
|
||||
|
||||
.method public b(Lf/g/j/j/e;Landroid/graphics/Bitmap$Config;Landroid/graphics/Rect;ILandroid/graphics/ColorSpace;)Lcom/facebook/common/references/CloseableReference;
|
||||
.method public b(Lcom/facebook/imagepipeline/image/EncodedImage;Landroid/graphics/Bitmap$Config;Landroid/graphics/Rect;ILandroid/graphics/ColorSpace;)Lcom/facebook/common/references/CloseableReference;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lf/g/j/j/e;",
|
||||
"Lcom/facebook/imagepipeline/image/EncodedImage;",
|
||||
"Landroid/graphics/Bitmap$Config;",
|
||||
"Landroid/graphics/Rect;",
|
||||
"I",
|
||||
|
@ -258,7 +206,7 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
iget p3, p1, Lf/g/j/j/e;->k:I
|
||||
iget p3, p1, Lcom/facebook/imagepipeline/image/EncodedImage;->k:I
|
||||
|
||||
new-instance v0, Landroid/graphics/BitmapFactory$Options;
|
||||
|
||||
|
@ -296,18 +244,18 @@
|
|||
iput-object p5, v0, Landroid/graphics/BitmapFactory$Options;->inPreferredColorSpace:Landroid/graphics/ColorSpace;
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p1}, Lf/g/j/j/e;->d()Lcom/facebook/common/references/CloseableReference;
|
||||
invoke-virtual {p1}, Lcom/facebook/imagepipeline/image/EncodedImage;->c()Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Le0/a/b/b/a;->i(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-static {p1}, Le0/a/b/b/a;->k(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {p0, p1, p4, v0}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->d(Lcom/facebook/common/references/CloseableReference;ILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p0, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->f(Landroid/graphics/Bitmap;)Lcom/facebook/common/references/CloseableReference;
|
||||
invoke-virtual {p0, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->e(Landroid/graphics/Bitmap;)Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
move-result-object p2
|
||||
:try_end_0
|
||||
|
@ -353,7 +301,7 @@
|
|||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public f(Landroid/graphics/Bitmap;)Lcom/facebook/common/references/CloseableReference;
|
||||
.method public e(Landroid/graphics/Bitmap;)Lcom/facebook/common/references/CloseableReference;
|
||||
.locals 10
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -373,7 +321,7 @@
|
|||
:try_end_0
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/m/b;
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/l/a;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
|
@ -382,9 +330,9 @@
|
|||
|
||||
move-result v1
|
||||
|
||||
iget v2, v0, Lf/g/j/m/b;->a:I
|
||||
iget v2, v0, Lf/g/j/l/a;->a:I
|
||||
|
||||
iget v3, v0, Lf/g/j/m/b;->c:I
|
||||
iget v3, v0, Lf/g/j/l/a;->c:I
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
|
@ -392,13 +340,13 @@
|
|||
|
||||
if-ge v2, v3, :cond_1
|
||||
|
||||
iget-wide v2, v0, Lf/g/j/m/b;->b:J
|
||||
iget-wide v2, v0, Lf/g/j/l/a;->b:J
|
||||
|
||||
int-to-long v6, v1
|
||||
|
||||
add-long/2addr v2, v6
|
||||
|
||||
iget v1, v0, Lf/g/j/m/b;->d:I
|
||||
iget v1, v0, Lf/g/j/l/a;->d:I
|
||||
|
||||
int-to-long v8, v1
|
||||
|
||||
|
@ -409,17 +357,17 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget v1, v0, Lf/g/j/m/b;->a:I
|
||||
iget v1, v0, Lf/g/j/l/a;->a:I
|
||||
|
||||
add-int/2addr v1, v4
|
||||
|
||||
iput v1, v0, Lf/g/j/m/b;->a:I
|
||||
iput v1, v0, Lf/g/j/l/a;->a:I
|
||||
|
||||
iget-wide v1, v0, Lf/g/j/m/b;->b:J
|
||||
iget-wide v1, v0, Lf/g/j/l/a;->b:J
|
||||
|
||||
add-long/2addr v1, v6
|
||||
|
||||
iput-wide v1, v0, Lf/g/j/m/b;->b:J
|
||||
iput-wide v1, v0, Lf/g/j/l/a;->b:J
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_3
|
||||
|
||||
|
@ -438,11 +386,11 @@
|
|||
:goto_1
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/m/b;
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/l/a;
|
||||
|
||||
iget-object v0, v0, Lf/g/j/m/b;->e:Lf/g/d/h/g;
|
||||
iget-object v0, v0, Lf/g/j/l/a;->e:Lf/g/d/h/b;
|
||||
|
||||
invoke-static {p1, v0}, Lcom/facebook/common/references/CloseableReference;->v(Ljava/lang/Object;Lf/g/d/h/g;)Lcom/facebook/common/references/CloseableReference;
|
||||
invoke-static {p1, v0}, Lcom/facebook/common/references/CloseableReference;->w(Ljava/lang/Object;Lf/g/d/h/b;)Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
@ -469,12 +417,12 @@
|
|||
|
||||
aput-object v0, v2, v5
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/m/b;
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/l/a;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_2
|
||||
iget v3, v0, Lf/g/j/m/b;->a:I
|
||||
iget v3, v0, Lf/g/j/l/a;->a:I
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_2
|
||||
|
||||
|
@ -488,12 +436,12 @@
|
|||
|
||||
const/4 v0, 0x2
|
||||
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/m/b;
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/l/a;
|
||||
|
||||
monitor-enter v3
|
||||
|
||||
:try_start_3
|
||||
iget-wide v4, v3, Lf/g/j/m/b;->b:J
|
||||
iget-wide v4, v3, Lf/g/j/l/a;->b:J
|
||||
:try_end_3
|
||||
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
||||
|
||||
|
@ -507,12 +455,12 @@
|
|||
|
||||
const/4 v0, 0x3
|
||||
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/m/b;
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/l/a;
|
||||
|
||||
monitor-enter v3
|
||||
|
||||
:try_start_4
|
||||
iget v4, v3, Lf/g/j/m/b;->c:I
|
||||
iget v4, v3, Lf/g/j/l/a;->c:I
|
||||
:try_end_4
|
||||
.catchall {:try_start_4 .. :try_end_4} :catchall_0
|
||||
|
||||
|
@ -526,9 +474,9 @@
|
|||
|
||||
const/4 v0, 0x4
|
||||
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/m/b;
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/l/a;
|
||||
|
||||
invoke-virtual {v3}, Lf/g/j/m/b;->b()I
|
||||
invoke-virtual {v3}, Lf/g/j/l/a;->b()I
|
||||
|
||||
move-result v3
|
||||
|
||||
|
@ -581,7 +529,7 @@
|
|||
|
||||
invoke-virtual {p1}, Landroid/graphics/Bitmap;->recycle()V
|
||||
|
||||
invoke-static {v0}, Le0/a/b/b/a;->V(Ljava/lang/Throwable;)V
|
||||
invoke-static {v0}, Le0/a/b/b/a;->B0(Ljava/lang/Throwable;)V
|
||||
|
||||
new-instance p1, Ljava/lang/RuntimeException;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
const-string v0, "native-filters"
|
||||
|
||||
invoke-static {v0}, Lf/g/m/o/a;->c(Ljava/lang/String;)Z
|
||||
invoke-static {v0}, Lcom/facebook/soloader/SoLoader;->f(Ljava/lang/String;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
.class public Lcom/facebook/imagepipeline/nativecode/NativeCodeInitializer;
|
||||
.super Ljava/lang/Object;
|
||||
.source "NativeCodeInitializer.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static init(Landroid/content/Context;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-static {p0, v0}, Lcom/facebook/soloader/SoLoader;->init(Landroid/content/Context;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -3,7 +3,7 @@
|
|||
.source "NativeJpegTranscoder.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/g/j/t/b;
|
||||
.implements Lf/g/j/s/b;
|
||||
|
||||
|
||||
# annotations
|
||||
|
@ -20,7 +20,15 @@
|
|||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(ZIZZ)V
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 0
|
||||
|
||||
invoke-static {}, Lf/g/j/m/b;->a()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(ZIZ)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
@ -31,11 +39,6 @@
|
|||
|
||||
iput-boolean p3, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->c:Z
|
||||
|
||||
if-eqz p4, :cond_0
|
||||
|
||||
invoke-static {}, Lf/g/j/k/a;->U()V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
@ -71,17 +74,17 @@
|
|||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public b(Lf/g/j/j/e;Lf/g/j/d/f;Lf/g/j/d/e;)Z
|
||||
.method public b(Lcom/facebook/imagepipeline/image/EncodedImage;Lf/g/j/d/e;Lf/g/j/d/d;)Z
|
||||
.locals 1
|
||||
|
||||
if-nez p2, :cond_0
|
||||
|
||||
sget-object p2, Lf/g/j/d/f;->c:Lf/g/j/d/f;
|
||||
sget-object p2, Lf/g/j/d/e;->c:Lf/g/j/d/e;
|
||||
|
||||
:cond_0
|
||||
iget-boolean v0, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->a:Z
|
||||
|
||||
invoke-static {p2, p3, p1, v0}, Lf/g/j/t/d;->c(Lf/g/j/d/f;Lf/g/j/d/e;Lf/g/j/j/e;Z)I
|
||||
invoke-static {p2, p3, p1, v0}, Lf/g/j/s/d;->c(Lf/g/j/d/e;Lf/g/j/d/d;Lcom/facebook/imagepipeline/image/EncodedImage;Z)I
|
||||
|
||||
move-result p1
|
||||
|
||||
|
@ -100,7 +103,7 @@
|
|||
return p1
|
||||
.end method
|
||||
|
||||
.method public c(Lf/g/j/j/e;Ljava/io/OutputStream;Lf/g/j/d/f;Lf/g/j/d/e;Lf/g/i/c;Ljava/lang/Integer;)Lf/g/j/t/a;
|
||||
.method public c(Lcom/facebook/imagepipeline/image/EncodedImage;Ljava/io/OutputStream;Lf/g/j/d/e;Lf/g/j/d/d;Lf/g/i/c;Ljava/lang/Integer;)Lf/g/j/s/a;
|
||||
.locals 9
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
|
@ -119,12 +122,12 @@
|
|||
:cond_0
|
||||
if-nez p3, :cond_1
|
||||
|
||||
sget-object p3, Lf/g/j/d/f;->c:Lf/g/j/d/f;
|
||||
sget-object p3, Lf/g/j/d/e;->c:Lf/g/j/d/e;
|
||||
|
||||
:cond_1
|
||||
iget p5, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->b:I
|
||||
|
||||
invoke-static {p3, p4, p1, p5}, Lf/g/j/k/a;->Q(Lf/g/j/d/f;Lf/g/j/d/e;Lf/g/j/j/e;I)I
|
||||
invoke-static {p3, p4, p1, p5}, Le0/a/b/b/a;->A(Lf/g/j/d/e;Lf/g/j/d/d;Lcom/facebook/imagepipeline/image/EncodedImage;I)I
|
||||
|
||||
move-result p5
|
||||
|
||||
|
@ -133,7 +136,7 @@
|
|||
:try_start_0
|
||||
iget-boolean v1, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->a:Z
|
||||
|
||||
invoke-static {p3, p4, p1, v1}, Lf/g/j/t/d;->c(Lf/g/j/d/f;Lf/g/j/d/e;Lf/g/j/j/e;Z)I
|
||||
invoke-static {p3, p4, p1, v1}, Lf/g/j/s/d;->c(Lf/g/j/d/e;Lf/g/j/d/d;Lcom/facebook/imagepipeline/image/EncodedImage;Z)I
|
||||
|
||||
move-result p4
|
||||
|
||||
|
@ -154,18 +157,18 @@
|
|||
move p4, v2
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {p1}, Lf/g/j/j/e;->f()Ljava/io/InputStream;
|
||||
invoke-virtual {p1}, Lcom/facebook/imagepipeline/image/EncodedImage;->e()Ljava/io/InputStream;
|
||||
|
||||
move-result-object v2
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
||||
|
||||
:try_start_1
|
||||
sget-object v4, Lf/g/j/t/d;->a:Lf/g/d/d/e;
|
||||
sget-object v4, Lf/g/j/s/d;->a:Lf/g/d/d/d;
|
||||
|
||||
invoke-virtual {p1}, Lf/g/j/j/e;->p()V
|
||||
invoke-virtual {p1}, Lcom/facebook/imagepipeline/image/EncodedImage;->r()V
|
||||
|
||||
iget v5, p1, Lf/g/j/j/e;->h:I
|
||||
iget v5, p1, Lcom/facebook/imagepipeline/image/EncodedImage;->h:I
|
||||
|
||||
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
@ -188,7 +191,7 @@
|
|||
if-eqz v4, :cond_b
|
||||
|
||||
:try_start_2
|
||||
invoke-static {p3, p1}, Lf/g/j/t/d;->a(Lf/g/j/d/f;Lf/g/j/j/e;)I
|
||||
invoke-static {p3, p1}, Lf/g/j/s/d;->a(Lf/g/j/d/e;Lcom/facebook/imagepipeline/image/EncodedImage;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
|
@ -196,7 +199,7 @@
|
|||
|
||||
move-result p3
|
||||
|
||||
invoke-static {}, Lf/g/j/k/a;->U()V
|
||||
invoke-static {}, Lf/g/j/m/b;->a()V
|
||||
|
||||
if-lt p4, v3, :cond_3
|
||||
|
||||
|
@ -208,7 +211,7 @@
|
|||
const/4 p6, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {p6}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {p6}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
if-gt p4, v7, :cond_4
|
||||
|
||||
|
@ -220,7 +223,7 @@
|
|||
const/4 p6, 0x0
|
||||
|
||||
:goto_1
|
||||
invoke-static {p6}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {p6}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
if-ltz p3, :cond_5
|
||||
|
||||
|
@ -232,7 +235,7 @@
|
|||
const/4 p6, 0x0
|
||||
|
||||
:goto_2
|
||||
invoke-static {p6}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {p6}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
if-gt p3, v6, :cond_6
|
||||
|
||||
|
@ -244,13 +247,13 @@
|
|||
const/4 p6, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-static {p6}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {p6}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
invoke-static {p1}, Lf/g/j/t/d;->d(I)Z
|
||||
invoke-static {p1}, Lf/g/j/s/d;->d(I)Z
|
||||
|
||||
move-result p6
|
||||
|
||||
invoke-static {p6}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {p6}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
if-ne p4, v1, :cond_8
|
||||
|
||||
|
@ -268,7 +271,7 @@
|
|||
const/4 p6, 0x1
|
||||
|
||||
:goto_5
|
||||
invoke-static {p6, v5}, Le0/a/b/b/a;->h(ZLjava/lang/Object;)V
|
||||
invoke-static {p6, v5}, Le0/a/b/b/a;->i(ZLjava/lang/Object;)V
|
||||
|
||||
if-eqz v2, :cond_a
|
||||
|
||||
|
@ -285,7 +288,7 @@
|
|||
throw v0
|
||||
|
||||
:cond_b
|
||||
invoke-static {p3, p1}, Lf/g/j/t/d;->b(Lf/g/j/d/f;Lf/g/j/j/e;)I
|
||||
invoke-static {p3, p1}, Lf/g/j/s/d;->b(Lf/g/j/d/e;Lcom/facebook/imagepipeline/image/EncodedImage;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
|
@ -293,7 +296,7 @@
|
|||
|
||||
move-result p3
|
||||
|
||||
invoke-static {}, Lf/g/j/k/a;->U()V
|
||||
invoke-static {}, Lf/g/j/m/b;->a()V
|
||||
|
||||
if-lt p4, v3, :cond_c
|
||||
|
||||
|
@ -305,7 +308,7 @@
|
|||
const/4 p6, 0x0
|
||||
|
||||
:goto_6
|
||||
invoke-static {p6}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {p6}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
if-gt p4, v7, :cond_d
|
||||
|
||||
|
@ -317,7 +320,7 @@
|
|||
const/4 p6, 0x0
|
||||
|
||||
:goto_7
|
||||
invoke-static {p6}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {p6}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
if-ltz p3, :cond_e
|
||||
|
||||
|
@ -329,7 +332,7 @@
|
|||
const/4 p6, 0x0
|
||||
|
||||
:goto_8
|
||||
invoke-static {p6}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {p6}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
if-gt p3, v6, :cond_f
|
||||
|
||||
|
@ -341,13 +344,13 @@
|
|||
const/4 p6, 0x0
|
||||
|
||||
:goto_9
|
||||
invoke-static {p6}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {p6}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
invoke-static {p1}, Lf/g/j/t/d;->e(I)Z
|
||||
invoke-static {p1}, Lf/g/j/s/d;->e(I)Z
|
||||
|
||||
move-result p6
|
||||
|
||||
invoke-static {p6}, Le0/a/b/b/a;->g(Z)V
|
||||
invoke-static {p6}, Le0/a/b/b/a;->h(Z)V
|
||||
|
||||
if-ne p4, v1, :cond_11
|
||||
|
||||
|
@ -365,7 +368,7 @@
|
|||
const/4 p6, 0x1
|
||||
|
||||
:goto_b
|
||||
invoke-static {p6, v5}, Le0/a/b/b/a;->h(ZLjava/lang/Object;)V
|
||||
invoke-static {p6, v5}, Le0/a/b/b/a;->i(ZLjava/lang/Object;)V
|
||||
|
||||
if-eqz v2, :cond_14
|
||||
|
||||
|
@ -378,7 +381,7 @@
|
|||
:goto_c
|
||||
invoke-static {v2}, Lf/g/d/d/a;->b(Ljava/io/InputStream;)V
|
||||
|
||||
new-instance p1, Lf/g/j/t/a;
|
||||
new-instance p1, Lf/g/j/s/a;
|
||||
|
||||
if-ne p5, v3, :cond_12
|
||||
|
||||
|
@ -388,7 +391,7 @@
|
|||
const/4 v3, 0x0
|
||||
|
||||
:goto_d
|
||||
invoke-direct {p1, v3}, Lf/g/j/t/a;-><init>(I)V
|
||||
invoke-direct {p1, v3}, Lf/g/j/s/a;-><init>(I)V
|
||||
|
||||
return-object p1
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.source "NativeJpegTranscoderFactory.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/g/j/t/c;
|
||||
.implements Lf/g/j/s/c;
|
||||
|
||||
|
||||
# annotations
|
||||
|
@ -16,11 +16,9 @@
|
|||
|
||||
.field public final b:Z
|
||||
|
||||
.field public final c:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(IZZ)V
|
||||
.method public constructor <init>(IZ)V
|
||||
.locals 0
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
@ -31,15 +29,13 @@
|
|||
|
||||
iput-boolean p2, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoderFactory;->b:Z
|
||||
|
||||
iput-boolean p3, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoderFactory;->c:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public createImageTranscoder(Lf/g/i/c;Z)Lf/g/j/t/b;
|
||||
.locals 3
|
||||
.method public createImageTranscoder(Lf/g/i/c;Z)Lf/g/j/s/b;
|
||||
.locals 2
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
|
@ -58,9 +54,7 @@
|
|||
|
||||
iget-boolean v1, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoderFactory;->b:Z
|
||||
|
||||
iget-boolean v2, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoderFactory;->c:Z
|
||||
|
||||
invoke-direct {p1, p2, v0, v1, v2}, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;-><init>(ZIZZ)V
|
||||
invoke-direct {p1, p2, v0, v1}, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;-><init>(ZIZ)V
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
const-string v0, "native-filters"
|
||||
|
||||
invoke-static {v0}, Lf/g/m/o/a;->c(Ljava/lang/String;)Z
|
||||
invoke-static {v0}, Lcom/facebook/soloader/SoLoader;->f(Ljava/lang/String;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -27,30 +27,8 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public static native nativeAddRoundedCornersFilter(Landroid/graphics/Bitmap;IIII)V
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public static native nativeToCircleFastFilter(Landroid/graphics/Bitmap;Z)V
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public static native nativeToCircleFilter(Landroid/graphics/Bitmap;Z)V
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public static native nativeToCircleWithBorderFilter(Landroid/graphics/Bitmap;IIZ)V
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public static toCircle(Landroid/graphics/Bitmap;Z)V
|
||||
.method public static a(Landroid/graphics/Bitmap;Z)V
|
||||
.locals 0
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
|
@ -64,19 +42,12 @@
|
|||
throw p0
|
||||
.end method
|
||||
|
||||
.method public static toCircleFast(Landroid/graphics/Bitmap;Z)V
|
||||
.locals 0
|
||||
.method public static native nativeToCircleFilter(Landroid/graphics/Bitmap;Z)V
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public static native nativeToCircleWithBorderFilter(Landroid/graphics/Bitmap;IIZ)V
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
invoke-static {p0, p1}, Lcom/facebook/imagepipeline/nativecode/NativeRoundingFilter;->nativeToCircleFastFilter(Landroid/graphics/Bitmap;Z)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 p0, 0x0
|
||||
|
||||
throw p0
|
||||
.end method
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
.class public final Lcom/facebook/imagepipeline/nativecode/R;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,477 +0,0 @@
|
|||
.class public Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;
|
||||
.super Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;
|
||||
.source "GingerbreadPurgeableDecoder.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static d:Ljava/lang/reflect/Method;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final c:Lf/g/d/m/b;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;-><init>()V
|
||||
|
||||
invoke-static {}, Lf/g/d/m/c;->c()Lf/g/d/m/b;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->c:Lf/g/d/m/b;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static g(Lcom/facebook/common/references/CloseableReference;I[B)Landroid/os/MemoryFile;
|
||||
.locals 9
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/facebook/common/references/CloseableReference<",
|
||||
"Lcom/facebook/common/memory/PooledByteBuffer;",
|
||||
">;I[B)",
|
||||
"Landroid/os/MemoryFile;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-nez p2, :cond_0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
array-length v1, p2
|
||||
|
||||
:goto_0
|
||||
add-int/2addr v1, p1
|
||||
|
||||
new-instance v2, Landroid/os/MemoryFile;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-direct {v2, v3, v1}, Landroid/os/MemoryFile;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
invoke-virtual {v2, v0}, Landroid/os/MemoryFile;->allowPurging(Z)Z
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
:try_start_0
|
||||
new-instance v4, Lf/g/d/g/h;
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
check-cast v5, Lcom/facebook/common/memory/PooledByteBuffer;
|
||||
|
||||
invoke-direct {v4, v5}, Lf/g/d/g/h;-><init>(Lcom/facebook/common/memory/PooledByteBuffer;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_3
|
||||
|
||||
:try_start_1
|
||||
new-instance v5, Lf/g/d/j/a;
|
||||
|
||||
invoke-direct {v5, v4, p1}, Lf/g/d/j/a;-><init>(Ljava/io/InputStream;I)V
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_2
|
||||
|
||||
:try_start_2
|
||||
invoke-virtual {v2}, Landroid/os/MemoryFile;->getOutputStream()Ljava/io/OutputStream;
|
||||
|
||||
move-result-object v6
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
||||
|
||||
if-eqz v6, :cond_3
|
||||
|
||||
const/16 v3, 0x1000
|
||||
|
||||
:try_start_3
|
||||
new-array v3, v3, [B
|
||||
|
||||
:goto_1
|
||||
invoke-virtual {v5, v3}, Ljava/io/InputStream;->read([B)I
|
||||
|
||||
move-result v7
|
||||
|
||||
const/4 v8, -0x1
|
||||
|
||||
if-ne v7, v8, :cond_2
|
||||
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
array-length v3, p2
|
||||
|
||||
invoke-virtual {v2, p2, v0, p1, v3}, Landroid/os/MemoryFile;->writeBytes([BIII)V
|
||||
:try_end_3
|
||||
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_1
|
||||
:goto_2
|
||||
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->close()V
|
||||
|
||||
invoke-static {v4}, Lf/g/d/d/a;->b(Ljava/io/InputStream;)V
|
||||
|
||||
invoke-static {v5}, Lf/g/d/d/a;->b(Ljava/io/InputStream;)V
|
||||
|
||||
invoke-static {v6, v1}, Lf/g/d/d/a;->a(Ljava/io/Closeable;Z)V
|
||||
|
||||
return-object v2
|
||||
|
||||
:cond_2
|
||||
:try_start_4
|
||||
invoke-virtual {v6, v3, v0, v7}, Ljava/io/OutputStream;->write([BII)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
throw v3
|
||||
:try_end_4
|
||||
.catchall {:try_start_4 .. :try_end_4} :catchall_0
|
||||
|
||||
:catchall_1
|
||||
move-exception p1
|
||||
|
||||
move-object v6, v3
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:catchall_2
|
||||
move-exception p1
|
||||
|
||||
move-object v5, v3
|
||||
|
||||
move-object v6, v5
|
||||
|
||||
:goto_3
|
||||
move-object v3, v4
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:catchall_3
|
||||
move-exception p1
|
||||
|
||||
move-object v5, v3
|
||||
|
||||
move-object v6, v5
|
||||
|
||||
:goto_4
|
||||
invoke-static {p0}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
|
||||
|
||||
invoke-static {v3}, Lf/g/d/d/a;->b(Ljava/io/InputStream;)V
|
||||
|
||||
invoke-static {v5}, Lf/g/d/d/a;->b(Ljava/io/InputStream;)V
|
||||
|
||||
invoke-static {v6, v1}, Lf/g/d/d/a;->a(Ljava/io/Closeable;Z)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public c(Lcom/facebook/common/references/CloseableReference;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/facebook/common/references/CloseableReference<",
|
||||
"Lcom/facebook/common/memory/PooledByteBuffer;",
|
||||
">;",
|
||||
"Landroid/graphics/BitmapFactory$Options;",
|
||||
")",
|
||||
"Landroid/graphics/Bitmap;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lcom/facebook/common/memory/PooledByteBuffer;
|
||||
|
||||
invoke-interface {v0}, Lcom/facebook/common/memory/PooledByteBuffer;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {p0, p1, v0, v1, p2}, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->h(Lcom/facebook/common/references/CloseableReference;I[BLandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public d(Lcom/facebook/common/references/CloseableReference;ILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/facebook/common/references/CloseableReference<",
|
||||
"Lcom/facebook/common/memory/PooledByteBuffer;",
|
||||
">;I",
|
||||
"Landroid/graphics/BitmapFactory$Options;",
|
||||
")",
|
||||
"Landroid/graphics/Bitmap;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-static {p1, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->e(Lcom/facebook/common/references/CloseableReference;I)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->b:[B
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {p0, p1, p2, v0, p3}, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->h(Lcom/facebook/common/references/CloseableReference;I[BLandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final h(Lcom/facebook/common/references/CloseableReference;I[BLandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/facebook/common/references/CloseableReference<",
|
||||
"Lcom/facebook/common/memory/PooledByteBuffer;",
|
||||
">;I[B",
|
||||
"Landroid/graphics/BitmapFactory$Options;",
|
||||
")",
|
||||
"Landroid/graphics/Bitmap;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
:try_start_0
|
||||
invoke-static {p1, p2, p3}, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->g(Lcom/facebook/common/references/CloseableReference;I[B)Landroid/os/MemoryFile;
|
||||
|
||||
move-result-object p1
|
||||
:try_end_0
|
||||
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
||||
|
||||
:try_start_1
|
||||
invoke-virtual {p0, p1}, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->j(Landroid/os/MemoryFile;)Ljava/io/FileDescriptor;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
iget-object p3, p0, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->c:Lf/g/d/m/b;
|
||||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
iget-object p3, p0, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->c:Lf/g/d/m/b;
|
||||
|
||||
invoke-interface {p3, p2, v0, p4}, Lf/g/d/m/b;->c(Ljava/io/FileDescriptor;Landroid/graphics/Rect;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, "BitmapFactory returned null"
|
||||
|
||||
invoke-static {p2, p3}, Le0/a/b/b/a;->j(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
:try_end_1
|
||||
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
invoke-virtual {p1}, Landroid/os/MemoryFile;->close()V
|
||||
|
||||
return-object p2
|
||||
|
||||
:cond_0
|
||||
:try_start_2
|
||||
new-instance p2, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p3, "WebpBitmapFactory is null"
|
||||
|
||||
invoke-direct {p2, p3}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p2
|
||||
:try_end_2
|
||||
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p2
|
||||
|
||||
move-object v0, p1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:catch_0
|
||||
move-exception p2
|
||||
|
||||
move-object v0, p1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_1
|
||||
move-exception p2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:catch_1
|
||||
move-exception p2
|
||||
|
||||
:goto_0
|
||||
:try_start_3
|
||||
invoke-static {p2}, Le0/a/b/b/a;->V(Ljava/lang/Throwable;)V
|
||||
|
||||
new-instance p1, Ljava/lang/RuntimeException;
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
throw p1
|
||||
:try_end_3
|
||||
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
||||
|
||||
:goto_1
|
||||
move-object p2, p1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:catchall_2
|
||||
move-exception p1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:goto_2
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-virtual {v0}, Landroid/os/MemoryFile;->close()V
|
||||
|
||||
:cond_1
|
||||
throw p2
|
||||
.end method
|
||||
|
||||
.method public final declared-synchronized i()Ljava/lang/reflect/Method;
|
||||
.locals 3
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
sget-object v0, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->d:Ljava/lang/reflect/Method;
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
:try_start_1
|
||||
const-class v0, Landroid/os/MemoryFile;
|
||||
|
||||
const-string v1, "getFileDescriptor"
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
new-array v2, v2, [Ljava/lang/Class;
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sput-object v0, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->d:Ljava/lang/reflect/Method;
|
||||
:try_end_1
|
||||
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
:try_start_2
|
||||
invoke-static {v0}, Le0/a/b/b/a;->V(Ljava/lang/Throwable;)V
|
||||
|
||||
new-instance v1, Ljava/lang/RuntimeException;
|
||||
|
||||
invoke-direct {v1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
throw v1
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
sget-object v0, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->d:Ljava/lang/reflect/Method;
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-object v0
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final j(Landroid/os/MemoryFile;)Ljava/io/FileDescriptor;
|
||||
.locals 2
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {p0}, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->i()Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
new-array v1, v1, [Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {v0, p1, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Ljava/io/FileDescriptor;
|
||||
:try_end_0
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
return-object p1
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
invoke-static {p1}, Le0/a/b/b/a;->V(Ljava/lang/Throwable;)V
|
||||
|
||||
new-instance v0, Ljava/lang/RuntimeException;
|
||||
|
||||
invoke-direct {v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
|
@ -1,207 +0,0 @@
|
|||
.class public Lcom/facebook/imagepipeline/platform/KitKatPurgeableDecoder;
|
||||
.super Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;
|
||||
.source "KitKatPurgeableDecoder.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation build Landroid/annotation/TargetApi;
|
||||
value = 0x13
|
||||
.end annotation
|
||||
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final c:Lf/g/j/m/n;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/g/j/m/n;)V
|
||||
.locals 0
|
||||
.annotation build Lf/g/d/d/c;
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lcom/facebook/imagepipeline/platform/KitKatPurgeableDecoder;->c:Lf/g/j/m/n;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public c(Lcom/facebook/common/references/CloseableReference;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/facebook/common/references/CloseableReference<",
|
||||
"Lcom/facebook/common/memory/PooledByteBuffer;",
|
||||
">;",
|
||||
"Landroid/graphics/BitmapFactory$Options;",
|
||||
")",
|
||||
"Landroid/graphics/Bitmap;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Lcom/facebook/common/memory/PooledByteBuffer;
|
||||
|
||||
invoke-interface {p1}, Lcom/facebook/common/memory/PooledByteBuffer;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/platform/KitKatPurgeableDecoder;->c:Lf/g/j/m/n;
|
||||
|
||||
invoke-virtual {v1, v0}, Lf/g/j/m/n;->a(I)Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, [B
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-interface {p1, v3, v2, v3, v0}, Lcom/facebook/common/memory/PooledByteBuffer;->m(I[BII)I
|
||||
|
||||
invoke-static {v2, v3, v0, p2}, Landroid/graphics/BitmapFactory;->decodeByteArray([BIILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "BitmapFactory returned null"
|
||||
|
||||
invoke-static {p1, p2}, Le0/a/b/b/a;->j(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
|
||||
|
||||
return-object p1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
|
||||
|
||||
:cond_0
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public d(Lcom/facebook/common/references/CloseableReference;ILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/facebook/common/references/CloseableReference<",
|
||||
"Lcom/facebook/common/memory/PooledByteBuffer;",
|
||||
">;I",
|
||||
"Landroid/graphics/BitmapFactory$Options;",
|
||||
")",
|
||||
"Landroid/graphics/Bitmap;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-static {p1, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->e(Lcom/facebook/common/references/CloseableReference;I)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->b:[B
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Lcom/facebook/common/memory/PooledByteBuffer;
|
||||
|
||||
invoke-interface {p1}, Lcom/facebook/common/memory/PooledByteBuffer;->size()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-gt p2, v1, :cond_1
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_1
|
||||
invoke-static {v1}, Le0/a/b/b/a;->g(Z)V
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/platform/KitKatPurgeableDecoder;->c:Lf/g/j/m/n;
|
||||
|
||||
add-int/lit8 v3, p2, 0x2
|
||||
|
||||
invoke-virtual {v1, v3}, Lf/g/j/m/n;->a(I)Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
check-cast v4, [B
|
||||
|
||||
invoke-interface {p1, v2, v4, v2, p2}, Lcom/facebook/common/memory/PooledByteBuffer;->m(I[BII)I
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
const/4 p1, -0x1
|
||||
|
||||
aput-byte p1, v4, p2
|
||||
|
||||
add-int/lit8 p2, p2, 0x1
|
||||
|
||||
const/16 p1, -0x27
|
||||
|
||||
aput-byte p1, v4, p2
|
||||
|
||||
move p2, v3
|
||||
|
||||
:cond_2
|
||||
invoke-static {v4, v2, p2, p3}, Landroid/graphics/BitmapFactory;->decodeByteArray([BIILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "BitmapFactory returned null"
|
||||
|
||||
invoke-static {p1, p2}, Le0/a/b/b/a;->j(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
|
||||
|
||||
return-object p1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
|
||||
|
||||
:cond_3
|
||||
throw p1
|
||||
.end method
|
|
@ -1,17 +0,0 @@
|
|||
.class public Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$Api24Utils;
|
||||
.super Ljava/lang/Object;
|
||||
.source "LocalExifThumbnailProducer.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = "Api24Utils"
|
||||
.end annotation
|
||||
|
||||
.annotation build Lf/g/m/d;
|
||||
.end annotation
|
|
@ -1,432 +0,0 @@
|
|||
.class public Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;
|
||||
.super Lf/g/j/q/d1;
|
||||
.source "LocalExifThumbnailProducer.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;->b(Lf/g/j/q/l;Lf/g/j/q/w0;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lf/g/j/q/d1<",
|
||||
"Lf/g/j/j/e;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic i:Lcom/facebook/imagepipeline/request/ImageRequest;
|
||||
|
||||
.field public final synthetic j:Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;Lf/g/j/q/l;Lf/g/j/q/y0;Lf/g/j/q/w0;Ljava/lang/String;Lcom/facebook/imagepipeline/request/ImageRequest;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;->j:Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
|
||||
|
||||
iput-object p6, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;->i:Lcom/facebook/imagepipeline/request/ImageRequest;
|
||||
|
||||
invoke-direct {p0, p2, p3, p4, p5}, Lf/g/j/q/d1;-><init>(Lf/g/j/q/l;Lf/g/j/q/y0;Lf/g/j/q/w0;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public b(Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lf/g/j/j/e;
|
||||
|
||||
invoke-static {p1}, Lf/g/j/j/e;->b(Lf/g/j/j/e;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public c(Ljava/lang/Object;)Ljava/util/Map;
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Lf/g/j/j/e;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->toString(Z)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "createdThumbnail"
|
||||
|
||||
invoke-static {v0, p1}, Lf/g/d/d/f;->b(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public d()Ljava/lang/Object;
|
||||
.locals 10
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/lang/Exception;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;->i:Lcom/facebook/imagepipeline/request/ImageRequest;
|
||||
|
||||
iget-object v0, v0, Lcom/facebook/imagepipeline/request/ImageRequest;->b:Landroid/net/Uri;
|
||||
|
||||
iget-object v7, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;->j:Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
|
||||
|
||||
iget-object v1, v7, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;->c:Landroid/content/ContentResolver;
|
||||
|
||||
invoke-static {v0}, Lf/g/d/l/b;->d(Landroid/net/Uri;)Z
|
||||
|
||||
move-result v2
|
||||
|
||||
const/4 v8, 0x0
|
||||
|
||||
const/4 v9, -0x1
|
||||
|
||||
if-eqz v2, :cond_2
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
move-object v2, v0
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual/range {v1 .. v6}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
|
||||
|
||||
move-result-object v1
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
:try_start_1
|
||||
invoke-interface {v1}, Landroid/database/Cursor;->moveToFirst()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
const-string v2, "_data"
|
||||
|
||||
invoke-interface {v1, v2}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eq v2, v9, :cond_0
|
||||
|
||||
invoke-interface {v1, v2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
move-object v8, v1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
move-object v2, v8
|
||||
|
||||
:goto_0
|
||||
if-eqz v1, :cond_4
|
||||
|
||||
invoke-interface {v1}, Landroid/database/Cursor;->close()V
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:catchall_1
|
||||
move-exception v0
|
||||
|
||||
:goto_1
|
||||
if-eqz v8, :cond_1
|
||||
|
||||
invoke-interface {v8}, Landroid/database/Cursor;->close()V
|
||||
|
||||
:cond_1
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
invoke-static {v0}, Lf/g/d/l/b;->e(Landroid/net/Uri;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
invoke-virtual {v0}, Landroid/net/Uri;->getPath()Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
move-object v2, v8
|
||||
|
||||
:cond_4
|
||||
:goto_2
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-nez v2, :cond_5
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_5
|
||||
:try_start_2
|
||||
new-instance v3, Ljava/io/File;
|
||||
|
||||
invoke-direct {v3, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v3}, Ljava/io/File;->exists()Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-eqz v4, :cond_6
|
||||
|
||||
invoke-virtual {v3}, Ljava/io/File;->canRead()Z
|
||||
|
||||
move-result v3
|
||||
|
||||
if-eqz v3, :cond_6
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
:cond_6
|
||||
:goto_3
|
||||
if-eqz v1, :cond_7
|
||||
|
||||
new-instance v0, Landroid/media/ExifInterface;
|
||||
|
||||
invoke-direct {v0, v2}, Landroid/media/ExifInterface;-><init>(Ljava/lang/String;)V
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:cond_7
|
||||
iget-object v1, v7, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;->c:Landroid/content/ContentResolver;
|
||||
|
||||
invoke-static {v0}, Lf/g/d/l/b;->d(Landroid/net/Uri;)Z
|
||||
|
||||
move-result v2
|
||||
:try_end_2
|
||||
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_2
|
||||
.catch Ljava/lang/StackOverflowError; {:try_start_2 .. :try_end_2} :catch_1
|
||||
|
||||
if-eqz v2, :cond_8
|
||||
|
||||
:try_start_3
|
||||
const-string v2, "r"
|
||||
|
||||
invoke-virtual {v1, v0, v2}, Landroid/content/ContentResolver;->openAssetFileDescriptor(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/res/AssetFileDescriptor;
|
||||
|
||||
move-result-object v0
|
||||
:try_end_3
|
||||
.catch Ljava/io/FileNotFoundException; {:try_start_3 .. :try_end_3} :catch_0
|
||||
.catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_2
|
||||
.catch Ljava/lang/StackOverflowError; {:try_start_3 .. :try_end_3} :catch_1
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:catch_0
|
||||
:cond_8
|
||||
move-object v0, v8
|
||||
|
||||
:goto_4
|
||||
if-eqz v0, :cond_a
|
||||
|
||||
:try_start_4
|
||||
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v2, 0x18
|
||||
|
||||
if-lt v1, v2, :cond_a
|
||||
|
||||
invoke-virtual {v0}, Landroid/content/res/AssetFileDescriptor;->getFileDescriptor()Ljava/io/FileDescriptor;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
sget v3, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
if-lt v3, v2, :cond_9
|
||||
|
||||
new-instance v2, Landroid/media/ExifInterface;
|
||||
|
||||
invoke-direct {v2, v1}, Landroid/media/ExifInterface;-><init>(Ljava/io/FileDescriptor;)V
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_9
|
||||
move-object v2, v8
|
||||
|
||||
:goto_5
|
||||
invoke-virtual {v0}, Landroid/content/res/AssetFileDescriptor;->close()V
|
||||
:try_end_4
|
||||
.catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_2
|
||||
.catch Ljava/lang/StackOverflowError; {:try_start_4 .. :try_end_4} :catch_1
|
||||
|
||||
move-object v0, v2
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:catch_1
|
||||
const-class v0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
|
||||
|
||||
const-string v1, "StackOverflowError in ExifInterface constructor"
|
||||
|
||||
invoke-static {v0, v1}, Lf/g/d/e/a;->a(Ljava/lang/Class;Ljava/lang/String;)V
|
||||
|
||||
:catch_2
|
||||
:cond_a
|
||||
move-object v0, v8
|
||||
|
||||
:goto_6
|
||||
if-eqz v0, :cond_11
|
||||
|
||||
invoke-virtual {v0}, Landroid/media/ExifInterface;->hasThumbnail()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-nez v1, :cond_b
|
||||
|
||||
goto :goto_8
|
||||
|
||||
:cond_b
|
||||
invoke-virtual {v0}, Landroid/media/ExifInterface;->getThumbnail()[B
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget-object v2, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;->j:Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
|
||||
|
||||
iget-object v2, v2, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;->b:Lf/g/d/g/g;
|
||||
|
||||
invoke-interface {v2, v1}, Lf/g/d/g/g;->b([B)Lcom/facebook/common/memory/PooledByteBuffer;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget-object v2, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;->j:Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
|
||||
|
||||
if-eqz v2, :cond_10
|
||||
|
||||
new-instance v2, Lf/g/d/g/h;
|
||||
|
||||
invoke-direct {v2, v1}, Lf/g/d/g/h;-><init>(Lcom/facebook/common/memory/PooledByteBuffer;)V
|
||||
|
||||
invoke-static {v2}, Lf/g/k/a;->a(Ljava/io/InputStream;)Landroid/util/Pair;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-string v3, "Orientation"
|
||||
|
||||
invoke-virtual {v0, v3}, Landroid/media/ExifInterface;->getAttribute(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-static {v0}, Lf/g/j/k/a;->e0(I)I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v2, :cond_c
|
||||
|
||||
iget-object v3, v2, Landroid/util/Pair;->first:Ljava/lang/Object;
|
||||
|
||||
check-cast v3, Ljava/lang/Integer;
|
||||
|
||||
invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I
|
||||
|
||||
move-result v3
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_c
|
||||
const/4 v3, -0x1
|
||||
|
||||
:goto_7
|
||||
if-eqz v2, :cond_d
|
||||
|
||||
iget-object v2, v2, Landroid/util/Pair;->second:Ljava/lang/Object;
|
||||
|
||||
check-cast v2, Ljava/lang/Integer;
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
|
||||
|
||||
move-result v9
|
||||
|
||||
:cond_d
|
||||
invoke-static {v1}, Lcom/facebook/common/references/CloseableReference;->q(Ljava/io/Closeable;)Lcom/facebook/common/references/CloseableReference;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:try_start_5
|
||||
new-instance v8, Lf/g/j/j/e;
|
||||
|
||||
invoke-direct {v8, v1}, Lf/g/j/j/e;-><init>(Lcom/facebook/common/references/CloseableReference;)V
|
||||
:try_end_5
|
||||
.catchall {:try_start_5 .. :try_end_5} :catchall_2
|
||||
|
||||
if-eqz v1, :cond_e
|
||||
|
||||
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
|
||||
|
||||
:cond_e
|
||||
sget-object v1, Lf/g/i/b;->a:Lf/g/i/c;
|
||||
|
||||
iput-object v1, v8, Lf/g/j/j/e;->f:Lf/g/i/c;
|
||||
|
||||
iput v0, v8, Lf/g/j/j/e;->g:I
|
||||
|
||||
iput v3, v8, Lf/g/j/j/e;->i:I
|
||||
|
||||
iput v9, v8, Lf/g/j/j/e;->j:I
|
||||
|
||||
goto :goto_8
|
||||
|
||||
:catchall_2
|
||||
move-exception v0
|
||||
|
||||
if-eqz v1, :cond_f
|
||||
|
||||
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
|
||||
|
||||
:cond_f
|
||||
throw v0
|
||||
|
||||
:cond_10
|
||||
throw v8
|
||||
|
||||
:cond_11
|
||||
:goto_8
|
||||
return-object v8
|
||||
.end method
|
|
@ -1,42 +0,0 @@
|
|||
.class public Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$b;
|
||||
.super Lf/g/j/q/e;
|
||||
.source "LocalExifThumbnailProducer.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;->b(Lf/g/j/q/l;Lf/g/j/q/w0;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lf/g/j/q/d1;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;Lf/g/j/q/d1;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p2, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$b;->a:Lf/g/j/q/d1;
|
||||
|
||||
invoke-direct {p0}, Lf/g/j/q/e;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$b;->a:Lf/g/j/q/d1;
|
||||
|
||||
invoke-virtual {v0}, Lf/g/j/q/d1;->a()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,115 +0,0 @@
|
|||
.class public Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
|
||||
.super Ljava/lang/Object;
|
||||
.source "LocalExifThumbnailProducer.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/g/j/q/j1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$Api24Utils;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Lf/g/j/q/j1<",
|
||||
"Lf/g/j/j/e;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/util/concurrent/Executor;
|
||||
|
||||
.field public final b:Lf/g/d/g/g;
|
||||
|
||||
.field public final c:Landroid/content/ContentResolver;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/util/concurrent/Executor;Lf/g/d/g/g;Landroid/content/ContentResolver;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;->a:Ljava/util/concurrent/Executor;
|
||||
|
||||
iput-object p2, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;->b:Lf/g/d/g/g;
|
||||
|
||||
iput-object p3, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;->c:Landroid/content/ContentResolver;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Lf/g/j/d/e;)Z
|
||||
.locals 1
|
||||
|
||||
const/16 v0, 0x200
|
||||
|
||||
invoke-static {v0, v0, p1}, Lf/g/j/k/a;->u0(IILf/g/j/d/e;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public b(Lf/g/j/q/l;Lf/g/j/q/w0;)V
|
||||
.locals 8
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lf/g/j/q/l<",
|
||||
"Lf/g/j/j/e;",
|
||||
">;",
|
||||
"Lf/g/j/q/w0;",
|
||||
")V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-interface {p2}, Lf/g/j/q/w0;->o()Lf/g/j/q/y0;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-interface {p2}, Lf/g/j/q/w0;->e()Lcom/facebook/imagepipeline/request/ImageRequest;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
const-string v0, "local"
|
||||
|
||||
const-string v1, "exif"
|
||||
|
||||
invoke-interface {p2, v0, v1}, Lf/g/j/q/w0;->i(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
new-instance v7, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;
|
||||
|
||||
const-string v5, "LocalExifThumbnailProducer"
|
||||
|
||||
move-object v0, v7
|
||||
|
||||
move-object v1, p0
|
||||
|
||||
move-object v2, p1
|
||||
|
||||
move-object v4, p2
|
||||
|
||||
invoke-direct/range {v0 .. v6}, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;-><init>(Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;Lf/g/j/q/l;Lf/g/j/q/y0;Lf/g/j/q/w0;Ljava/lang/String;Lcom/facebook/imagepipeline/request/ImageRequest;)V
|
||||
|
||||
new-instance p1, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$b;
|
||||
|
||||
invoke-direct {p1, p0, v7}, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$b;-><init>(Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;Lf/g/j/q/d1;)V
|
||||
|
||||
invoke-interface {p2, p1}, Lf/g/j/q/w0;->f(Lf/g/j/q/x0;)V
|
||||
|
||||
iget-object p1, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;->a:Ljava/util/concurrent/Executor;
|
||||
|
||||
invoke-interface {p1, v7}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,10 +1,7 @@
|
|||
.class public final Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
.super Ljava/lang/Object;
|
||||
.class public final enum Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
.super Ljava/lang/Enum;
|
||||
.source "ImageRequest.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/g/d/d/d;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
|
@ -12,46 +9,103 @@
|
|||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
accessFlags = 0x4019
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Lf/g/d/d/d<",
|
||||
"Lcom/facebook/imagepipeline/request/ImageRequest;",
|
||||
"Landroid/net/Uri;",
|
||||
"Ljava/lang/Enum<",
|
||||
"Lcom/facebook/imagepipeline/request/ImageRequest$a;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
# static fields
|
||||
.field public static final enum d:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
.field public static final enum e:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
.field public static final synthetic f:[Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 5
|
||||
|
||||
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
const-string v1, "SMALL"
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-direct {v0, v1, v2}, Lcom/facebook/imagepipeline/request/ImageRequest$a;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$a;->d:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
const-string v1, "DEFAULT"
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
invoke-direct {v0, v1, v3}, Lcom/facebook/imagepipeline/request/ImageRequest$a;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$a;->e:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
new-array v1, v1, [Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
sget-object v4, Lcom/facebook/imagepipeline/request/ImageRequest$a;->d:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
aput-object v4, v1, v2
|
||||
|
||||
aput-object v0, v1, v3
|
||||
|
||||
sput-object v1, Lcom/facebook/imagepipeline/request/ImageRequest$a;->f:[Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.method public constructor <init>(Ljava/lang/String;I)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
check-cast p1, Lcom/facebook/imagepipeline/request/ImageRequest;
|
||||
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->b:Landroid/net/Uri;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return-object p1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static valueOf(Ljava/lang/String;)Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
.locals 1
|
||||
|
||||
const-class v0, Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
check-cast p0, Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static values()[Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$a;->f:[Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
invoke-virtual {v0}, [Lcom/facebook/imagepipeline/request/ImageRequest$a;->clone()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
|
|
@ -27,58 +27,96 @@
|
|||
|
||||
.field public static final enum e:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
.field public static final synthetic f:[Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
.field public static final enum f:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
.field public static final enum g:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
.field public static final synthetic h:[Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public mValue:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 5
|
||||
.locals 7
|
||||
|
||||
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
const-string v1, "SMALL"
|
||||
const-string v1, "FULL_FETCH"
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-direct {v0, v1, v2}, Lcom/facebook/imagepipeline/request/ImageRequest$b;-><init>(Ljava/lang/String;I)V
|
||||
const/4 v3, 0x1
|
||||
|
||||
invoke-direct {v0, v1, v2, v3}, Lcom/facebook/imagepipeline/request/ImageRequest$b;-><init>(Ljava/lang/String;II)V
|
||||
|
||||
sput-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$b;->d:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
const-string v1, "DEFAULT"
|
||||
const-string v1, "DISK_CACHE"
|
||||
|
||||
const/4 v3, 0x1
|
||||
const/4 v4, 0x2
|
||||
|
||||
invoke-direct {v0, v1, v3}, Lcom/facebook/imagepipeline/request/ImageRequest$b;-><init>(Ljava/lang/String;I)V
|
||||
invoke-direct {v0, v1, v3, v4}, Lcom/facebook/imagepipeline/request/ImageRequest$b;-><init>(Ljava/lang/String;II)V
|
||||
|
||||
sput-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$b;->e:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
const/4 v1, 0x2
|
||||
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
new-array v1, v1, [Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
const-string v1, "ENCODED_MEMORY_CACHE"
|
||||
|
||||
sget-object v4, Lcom/facebook/imagepipeline/request/ImageRequest$b;->d:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
const/4 v5, 0x3
|
||||
|
||||
aput-object v4, v1, v2
|
||||
invoke-direct {v0, v1, v4, v5}, Lcom/facebook/imagepipeline/request/ImageRequest$b;-><init>(Ljava/lang/String;II)V
|
||||
|
||||
aput-object v0, v1, v3
|
||||
sput-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$b;->f:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
sput-object v1, Lcom/facebook/imagepipeline/request/ImageRequest$b;->f:[Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
const-string v1, "BITMAP_MEMORY_CACHE"
|
||||
|
||||
const/4 v6, 0x4
|
||||
|
||||
invoke-direct {v0, v1, v5, v6}, Lcom/facebook/imagepipeline/request/ImageRequest$b;-><init>(Ljava/lang/String;II)V
|
||||
|
||||
sput-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$b;->g:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
new-array v1, v6, [Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
sget-object v6, Lcom/facebook/imagepipeline/request/ImageRequest$b;->d:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
aput-object v6, v1, v2
|
||||
|
||||
sget-object v2, Lcom/facebook/imagepipeline/request/ImageRequest$b;->e:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
aput-object v2, v1, v3
|
||||
|
||||
sget-object v2, Lcom/facebook/imagepipeline/request/ImageRequest$b;->f:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
aput-object v2, v1, v4
|
||||
|
||||
aput-object v0, v1, v5
|
||||
|
||||
sput-object v1, Lcom/facebook/imagepipeline/request/ImageRequest$b;->h:[Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/String;I)V
|
||||
.method public constructor <init>(Ljava/lang/String;II)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
"(I)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
iput p3, p0, Lcom/facebook/imagepipeline/request/ImageRequest$b;->mValue:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
@ -99,7 +137,7 @@
|
|||
.method public static values()[Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$b;->f:[Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
sget-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$b;->h:[Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
invoke-virtual {v0}, [Lcom/facebook/imagepipeline/request/ImageRequest$b;->clone()Ljava/lang/Object;
|
||||
|
||||
|
|
|
@ -1,149 +0,0 @@
|
|||
.class public final enum Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
.super Ljava/lang/Enum;
|
||||
.source "ImageRequest.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/facebook/imagepipeline/request/ImageRequest;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x4019
|
||||
name = "c"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Enum<",
|
||||
"Lcom/facebook/imagepipeline/request/ImageRequest$c;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final enum d:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
.field public static final enum e:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
.field public static final enum f:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
.field public static final enum g:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
.field public static final synthetic h:[Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public mValue:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 7
|
||||
|
||||
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
const-string v1, "FULL_FETCH"
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
invoke-direct {v0, v1, v2, v3}, Lcom/facebook/imagepipeline/request/ImageRequest$c;-><init>(Ljava/lang/String;II)V
|
||||
|
||||
sput-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$c;->d:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
const-string v1, "DISK_CACHE"
|
||||
|
||||
const/4 v4, 0x2
|
||||
|
||||
invoke-direct {v0, v1, v3, v4}, Lcom/facebook/imagepipeline/request/ImageRequest$c;-><init>(Ljava/lang/String;II)V
|
||||
|
||||
sput-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$c;->e:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
const-string v1, "ENCODED_MEMORY_CACHE"
|
||||
|
||||
const/4 v5, 0x3
|
||||
|
||||
invoke-direct {v0, v1, v4, v5}, Lcom/facebook/imagepipeline/request/ImageRequest$c;-><init>(Ljava/lang/String;II)V
|
||||
|
||||
sput-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$c;->f:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
const-string v1, "BITMAP_MEMORY_CACHE"
|
||||
|
||||
const/4 v6, 0x4
|
||||
|
||||
invoke-direct {v0, v1, v5, v6}, Lcom/facebook/imagepipeline/request/ImageRequest$c;-><init>(Ljava/lang/String;II)V
|
||||
|
||||
sput-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$c;->g:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
new-array v1, v6, [Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
sget-object v6, Lcom/facebook/imagepipeline/request/ImageRequest$c;->d:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
aput-object v6, v1, v2
|
||||
|
||||
sget-object v2, Lcom/facebook/imagepipeline/request/ImageRequest$c;->e:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
aput-object v2, v1, v3
|
||||
|
||||
sget-object v2, Lcom/facebook/imagepipeline/request/ImageRequest$c;->f:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
aput-object v2, v1, v4
|
||||
|
||||
aput-object v0, v1, v5
|
||||
|
||||
sput-object v1, Lcom/facebook/imagepipeline/request/ImageRequest$c;->h:[Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/String;II)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(I)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
iput p3, p0, Lcom/facebook/imagepipeline/request/ImageRequest$c;->mValue:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static valueOf(Ljava/lang/String;)Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
.locals 1
|
||||
|
||||
const-class v0, Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
check-cast p0, Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static values()[Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lcom/facebook/imagepipeline/request/ImageRequest$c;->h:[Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
invoke-virtual {v0}, [Lcom/facebook/imagepipeline/request/ImageRequest$c;->clone()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -6,27 +6,14 @@
|
|||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/facebook/imagepipeline/request/ImageRequest$c;,
|
||||
Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
Lcom/facebook/imagepipeline/request/ImageRequest$b;,
|
||||
Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final s:Lf/g/d/d/d;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lf/g/d/d/d<",
|
||||
"Lcom/facebook/imagepipeline/request/ImageRequest;",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
.field public final a:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
.field public final b:Landroid/net/Uri;
|
||||
|
||||
|
@ -38,17 +25,17 @@
|
|||
|
||||
.field public final f:Z
|
||||
|
||||
.field public final g:Lf/g/j/d/b;
|
||||
.field public final g:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
.field public final h:Lf/g/j/d/e;
|
||||
.field public final h:Lf/g/j/d/d;
|
||||
|
||||
.field public final i:Lf/g/j/d/f;
|
||||
.field public final i:Lf/g/j/d/e;
|
||||
|
||||
.field public final j:Lf/g/j/d/a;
|
||||
|
||||
.field public final k:Lf/g/j/d/d;
|
||||
.field public final k:Lf/g/j/d/c;
|
||||
|
||||
.field public final l:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
.field public final l:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
.field public final m:Z
|
||||
|
||||
|
@ -56,34 +43,22 @@
|
|||
|
||||
.field public final o:Ljava/lang/Boolean;
|
||||
|
||||
.field public final p:Lf/g/j/r/b;
|
||||
.field public final p:Lf/g/j/q/b;
|
||||
|
||||
.field public final q:Lf/g/j/l/e;
|
||||
.field public final q:Lf/g/j/k/c;
|
||||
|
||||
.field public final r:Ljava/lang/Boolean;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
invoke-direct {v0}, Lcom/facebook/imagepipeline/request/ImageRequest$a;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/facebook/imagepipeline/request/ImageRequest;->s:Lf/g/d/d/d;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lcom/facebook/imagepipeline/request/ImageRequestBuilder;)V
|
||||
.locals 5
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->f:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->f:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->a:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->a:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->a:Landroid/net/Uri;
|
||||
|
||||
|
@ -246,34 +221,34 @@
|
|||
|
||||
iput-boolean v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->f:Z
|
||||
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->e:Lf/g/j/d/b;
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->e:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->g:Lf/g/j/d/b;
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->g:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->c:Lf/g/j/d/e;
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->c:Lf/g/j/d/d;
|
||||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->h:Lf/g/j/d/e;
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->h:Lf/g/j/d/d;
|
||||
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->d:Lf/g/j/d/f;
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->d:Lf/g/j/d/e;
|
||||
|
||||
if-nez v0, :cond_a
|
||||
|
||||
sget-object v0, Lf/g/j/d/f;->c:Lf/g/j/d/f;
|
||||
sget-object v0, Lf/g/j/d/e;->c:Lf/g/j/d/e;
|
||||
|
||||
:cond_a
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/g/j/d/f;
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/g/j/d/e;
|
||||
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->o:Lf/g/j/d/a;
|
||||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->j:Lf/g/j/d/a;
|
||||
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->i:Lf/g/j/d/d;
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->i:Lf/g/j/d/c;
|
||||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->k:Lf/g/j/d/d;
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->k:Lf/g/j/d/c;
|
||||
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->b:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->b:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->l:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->l:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
iget-boolean v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->k:Z
|
||||
|
||||
|
@ -303,13 +278,13 @@
|
|||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->o:Ljava/lang/Boolean;
|
||||
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->j:Lf/g/j/r/b;
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->j:Lf/g/j/q/b;
|
||||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/g/j/r/b;
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/g/j/q/b;
|
||||
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->n:Lf/g/j/l/e;
|
||||
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->n:Lf/g/j/k/c;
|
||||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->q:Lf/g/j/l/e;
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->q:Lf/g/j/k/c;
|
||||
|
||||
iget-object p1, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->p:Ljava/lang/Boolean;
|
||||
|
||||
|
@ -373,178 +348,111 @@
|
|||
:cond_0
|
||||
check-cast p1, Lcom/facebook/imagepipeline/request/ImageRequest;
|
||||
|
||||
iget-boolean v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->f:Z
|
||||
|
||||
iget-boolean v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->f:Z
|
||||
|
||||
if-eq v0, v2, :cond_1
|
||||
|
||||
return v1
|
||||
|
||||
:cond_1
|
||||
iget-boolean v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->m:Z
|
||||
|
||||
iget-boolean v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->m:Z
|
||||
|
||||
if-eq v0, v2, :cond_2
|
||||
|
||||
return v1
|
||||
|
||||
:cond_2
|
||||
iget-boolean v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->n:Z
|
||||
|
||||
iget-boolean v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->n:Z
|
||||
|
||||
if-eq v0, v2, :cond_3
|
||||
|
||||
return v1
|
||||
|
||||
:cond_3
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->b:Landroid/net/Uri;
|
||||
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->b:Landroid/net/Uri;
|
||||
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->s(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->a:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->a:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->a:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->a:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->s(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->d:Ljava/io/File;
|
||||
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->d:Ljava/io/File;
|
||||
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->s(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->j:Lf/g/j/d/a;
|
||||
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->j:Lf/g/j/d/a;
|
||||
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->s(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->g:Lf/g/j/d/b;
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->g:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->g:Lf/g/j/d/b;
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->g:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->s(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->h:Lf/g/j/d/e;
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->h:Lf/g/j/d/d;
|
||||
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->h:Lf/g/j/d/e;
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->h:Lf/g/j/d/d;
|
||||
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->s(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->k:Lf/g/j/d/d;
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/g/j/d/e;
|
||||
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->k:Lf/g/j/d/d;
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/g/j/d/e;
|
||||
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->s(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->l:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->l:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->s(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->o:Ljava/lang/Boolean;
|
||||
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->o:Ljava/lang/Boolean;
|
||||
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->s(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->r:Ljava/lang/Boolean;
|
||||
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->r:Ljava/lang/Boolean;
|
||||
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->s(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/g/j/d/f;
|
||||
|
||||
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/g/j/d/f;
|
||||
|
||||
invoke-static {v0, v2}, Le0/a/b/b/a;->s(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_4
|
||||
if-nez v0, :cond_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_4
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/g/j/r/b;
|
||||
:cond_1
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/g/j/q/b;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz v0, :cond_5
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
invoke-interface {v0}, Lf/g/j/r/b;->getPostprocessorCacheKey()Lcom/facebook/cache/common/CacheKey;
|
||||
invoke-interface {v0}, Lf/g/j/q/b;->getPostprocessorCacheKey()Lcom/facebook/cache/common/CacheKey;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_5
|
||||
:cond_2
|
||||
move-object v0, v1
|
||||
|
||||
:goto_0
|
||||
iget-object p1, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/g/j/r/b;
|
||||
iget-object p1, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/g/j/q/b;
|
||||
|
||||
if-eqz p1, :cond_6
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
invoke-interface {p1}, Lf/g/j/r/b;->getPostprocessorCacheKey()Lcom/facebook/cache/common/CacheKey;
|
||||
invoke-interface {p1}, Lf/g/j/q/b;->getPostprocessorCacheKey()Lcom/facebook/cache/common/CacheKey;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:cond_6
|
||||
invoke-static {v0, v1}, Le0/a/b/b/a;->s(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
:cond_3
|
||||
invoke-static {v0, v1}, Le0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_7
|
||||
:cond_4
|
||||
:goto_1
|
||||
return v1
|
||||
.end method
|
||||
|
@ -552,11 +460,11 @@
|
|||
.method public hashCode()I
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/g/j/r/b;
|
||||
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/g/j/q/b;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-interface {v0}, Lf/g/j/r/b;->getPostprocessorCacheKey()Lcom/facebook/cache/common/CacheKey;
|
||||
invoke-interface {v0}, Lf/g/j/q/b;->getPostprocessorCacheKey()Lcom/facebook/cache/common/CacheKey;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
@ -566,13 +474,13 @@
|
|||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
const/16 v1, 0xe
|
||||
const/16 v1, 0x9
|
||||
|
||||
new-array v1, v1, [Ljava/lang/Object;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->a:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->a:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
aput-object v3, v1, v2
|
||||
|
||||
|
@ -584,11 +492,7 @@
|
|||
|
||||
const/4 v2, 0x2
|
||||
|
||||
iget-boolean v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->f:Z
|
||||
|
||||
invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object v3
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->d:Ljava/io/File;
|
||||
|
||||
aput-object v3, v1, v2
|
||||
|
||||
|
@ -600,65 +504,27 @@
|
|||
|
||||
const/4 v2, 0x4
|
||||
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->k:Lf/g/j/d/d;
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->g:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
aput-object v3, v1, v2
|
||||
|
||||
const/4 v2, 0x5
|
||||
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->l:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->h:Lf/g/j/d/d;
|
||||
|
||||
aput-object v3, v1, v2
|
||||
|
||||
const/4 v2, 0x6
|
||||
|
||||
iget-boolean v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->m:Z
|
||||
|
||||
invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object v3
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/g/j/d/e;
|
||||
|
||||
aput-object v3, v1, v2
|
||||
|
||||
const/4 v2, 0x7
|
||||
|
||||
iget-boolean v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->n:Z
|
||||
|
||||
invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
aput-object v3, v1, v2
|
||||
|
||||
const/16 v2, 0x8
|
||||
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->g:Lf/g/j/d/b;
|
||||
|
||||
aput-object v3, v1, v2
|
||||
|
||||
const/16 v2, 0x9
|
||||
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->o:Ljava/lang/Boolean;
|
||||
|
||||
aput-object v3, v1, v2
|
||||
|
||||
const/16 v2, 0xa
|
||||
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->h:Lf/g/j/d/e;
|
||||
|
||||
aput-object v3, v1, v2
|
||||
|
||||
const/16 v2, 0xb
|
||||
|
||||
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/g/j/d/f;
|
||||
|
||||
aput-object v3, v1, v2
|
||||
|
||||
const/16 v2, 0xc
|
||||
|
||||
aput-object v0, v1, v2
|
||||
|
||||
const/16 v0, 0xd
|
||||
const/16 v0, 0x8
|
||||
|
||||
iget-object v2, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->r:Ljava/lang/Boolean;
|
||||
|
||||
|
@ -674,7 +540,7 @@
|
|||
.method public toString()Ljava/lang/String;
|
||||
.locals 3
|
||||
|
||||
invoke-static {p0}, Le0/a/b/b/a;->f0(Ljava/lang/Object;)Lf/g/d/d/i;
|
||||
invoke-static {p0}, Le0/a/b/b/a;->W0(Ljava/lang/Object;)Lf/g/d/d/g;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
@ -682,93 +548,57 @@
|
|||
|
||||
const-string v2, "uri"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->c(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/i;
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/g;
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->a:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->a:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
const-string v2, "cacheChoice"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->c(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/i;
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/g;
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->g:Lf/g/j/d/b;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->g:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
const-string v2, "decodeOptions"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->c(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/i;
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/g;
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/g/j/r/b;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/g/j/q/b;
|
||||
|
||||
const-string v2, "postprocessor"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->c(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/i;
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/g;
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->k:Lf/g/j/d/d;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->k:Lf/g/j/d/c;
|
||||
|
||||
const-string v2, "priority"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->c(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/i;
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/g;
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->h:Lf/g/j/d/e;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->h:Lf/g/j/d/d;
|
||||
|
||||
const-string v2, "resizeOptions"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->c(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/i;
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/g;
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/g/j/d/f;
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/g/j/d/e;
|
||||
|
||||
const-string v2, "rotationOptions"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->c(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/i;
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/g;
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->j:Lf/g/j/d/a;
|
||||
|
||||
const-string v2, "bytesRange"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->c(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/i;
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/g;
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->r:Ljava/lang/Boolean;
|
||||
|
||||
const-string v2, "resizingAllowedOverride"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->c(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/i;
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/g;
|
||||
|
||||
iget-boolean v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->e:Z
|
||||
|
||||
const-string v2, "progressiveRenderingEnabled"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->b(Ljava/lang/String;Z)Lf/g/d/d/i;
|
||||
|
||||
iget-boolean v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->f:Z
|
||||
|
||||
const-string v2, "localThumbnailPreviewsEnabled"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->b(Ljava/lang/String;Z)Lf/g/d/d/i;
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->l:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
|
||||
const-string v2, "lowestPermittedRequestLevel"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->c(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/i;
|
||||
|
||||
iget-boolean v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->m:Z
|
||||
|
||||
const-string v2, "isDiskCacheEnabled"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->b(Ljava/lang/String;Z)Lf/g/d/d/i;
|
||||
|
||||
iget-boolean v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->n:Z
|
||||
|
||||
const-string v2, "isMemoryCacheEnabled"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->b(Ljava/lang/String;Z)Lf/g/d/d/i;
|
||||
|
||||
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->o:Ljava/lang/Boolean;
|
||||
|
||||
const-string v2, "decodePrefetches"
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->c(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/i;
|
||||
|
||||
invoke-virtual {v0}, Lf/g/d/d/i;->toString()Ljava/lang/String;
|
||||
invoke-virtual {v0}, Lf/g/d/d/g;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
const-string v0, "Invalid request builder: "
|
||||
|
||||
invoke-static {v0, p1}, Lf/e/b/a/a;->q(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
invoke-static {v0, p1}, Lf/e/b/a/a;->p(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
|
|
@ -14,23 +14,23 @@
|
|||
# instance fields
|
||||
.field public a:Landroid/net/Uri;
|
||||
|
||||
.field public b:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
.field public b:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
.field public c:Lf/g/j/d/e;
|
||||
.field public c:Lf/g/j/d/d;
|
||||
|
||||
.field public d:Lf/g/j/d/f;
|
||||
.field public d:Lf/g/j/d/e;
|
||||
|
||||
.field public e:Lf/g/j/d/b;
|
||||
.field public e:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
.field public f:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
.field public f:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
.field public g:Z
|
||||
|
||||
.field public h:Z
|
||||
|
||||
.field public i:Lf/g/j/d/d;
|
||||
.field public i:Lf/g/j/d/c;
|
||||
|
||||
.field public j:Lf/g/j/r/b;
|
||||
.field public j:Lf/g/j/q/b;
|
||||
|
||||
.field public k:Z
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
|||
|
||||
.field public m:Ljava/lang/Boolean;
|
||||
|
||||
.field public n:Lf/g/j/l/e;
|
||||
.field public n:Lf/g/j/k/c;
|
||||
|
||||
.field public o:Lf/g/j/d/a;
|
||||
|
||||
|
@ -55,23 +55,23 @@
|
|||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->a:Landroid/net/Uri;
|
||||
|
||||
sget-object v1, Lcom/facebook/imagepipeline/request/ImageRequest$c;->d:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
sget-object v1, Lcom/facebook/imagepipeline/request/ImageRequest$b;->d:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
iput-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->b:Lcom/facebook/imagepipeline/request/ImageRequest$c;
|
||||
iput-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->b:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->c:Lf/g/j/d/e;
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->c:Lf/g/j/d/d;
|
||||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->d:Lf/g/j/d/f;
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->d:Lf/g/j/d/e;
|
||||
|
||||
sget-object v1, Lf/g/j/d/b;->k:Lf/g/j/d/b;
|
||||
sget-object v1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->j:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
iput-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->e:Lf/g/j/d/b;
|
||||
iput-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->e:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
|
||||
|
||||
sget-object v1, Lcom/facebook/imagepipeline/request/ImageRequest$b;->e:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
sget-object v1, Lcom/facebook/imagepipeline/request/ImageRequest$a;->e:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
iput-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->f:Lcom/facebook/imagepipeline/request/ImageRequest$b;
|
||||
iput-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->f:Lcom/facebook/imagepipeline/request/ImageRequest$a;
|
||||
|
||||
sget-object v1, Lf/g/j/e/k;->H:Lf/g/j/e/k$b;
|
||||
sget-object v1, Lf/g/j/e/k;->D:Lf/g/j/e/k$b;
|
||||
|
||||
iget-boolean v1, v1, Lf/g/j/e/k$b;->a:Z
|
||||
|
||||
|
@ -81,11 +81,11 @@
|
|||
|
||||
iput-boolean v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->h:Z
|
||||
|
||||
sget-object v1, Lf/g/j/d/d;->f:Lf/g/j/d/d;
|
||||
sget-object v1, Lf/g/j/d/c;->f:Lf/g/j/d/c;
|
||||
|
||||
iput-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->i:Lf/g/j/d/d;
|
||||
iput-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->i:Lf/g/j/d/c;
|
||||
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->j:Lf/g/j/r/b;
|
||||
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->j:Lf/g/j/q/b;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue