Changes of com.discord v1181

This commit is contained in:
root 2020-07-08 16:44:49 +00:00
parent f52990c3c2
commit 5a8adcbf82
29917 changed files with 1840412 additions and 1765629 deletions

View file

@ -1,6 +1,5 @@
.class public final Lcom/facebook/imagepipeline/R;
.super Ljava/lang/Object;
.source "R.java"
# direct methods

View file

@ -1,6 +1,5 @@
.class public final Lcom/facebook/imagepipeline/animated/R;
.super Ljava/lang/Object;
.source "R.java"
# direct methods

View file

@ -1,6 +1,5 @@
.class public final Lcom/facebook/imagepipeline/backends/okhttp3/R;
.super Ljava/lang/Object;
.source "R.java"
# direct methods

View file

@ -14,32 +14,13 @@
# virtual methods
.method public a(II)Lcom/facebook/common/references/CloseableReference;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(II)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
sget-object v0, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;
invoke-virtual {p0, p1, p2, v0}, Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;->a(IILandroid/graphics/Bitmap$Config;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
return-object p1
.end method
.method public a(IILandroid/graphics/Bitmap$Config;)Lcom/facebook/common/references/CloseableReference;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(II",
"Landroid/graphics/Bitmap$Config;",
"Ljava/lang/Object;",
")",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
@ -54,28 +35,7 @@
return-object p1
.end method
.method public b(IILandroid/graphics/Bitmap$Config;)Lcom/facebook/common/references/CloseableReference;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(II",
"Landroid/graphics/Bitmap$Config;",
"Ljava/lang/Object;",
")",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
invoke-virtual {p0, p1, p2, p3}, Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;->c(IILandroid/graphics/Bitmap$Config;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
return-object p1
.end method
.method public abstract c(IILandroid/graphics/Bitmap$Config;)Lcom/facebook/common/references/CloseableReference;
.method public abstract b(IILandroid/graphics/Bitmap$Config;)Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"(II",

View file

@ -3,14 +3,14 @@
.source "DefaultBitmapMemoryCacheParamsSupplier.java"
# interfaces
.implements Lf/j/d/d/i;
.implements Lcom/facebook/common/internal/Supplier;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lf/j/d/d/i<",
"Lcom/facebook/common/internal/Supplier<",
"Lcom/facebook/imagepipeline/cache/MemoryCacheParams;",
">;"
}
@ -97,8 +97,6 @@
return v0
:cond_1
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
div-int/lit8 v0, v0, 0x4
return v0

View file

@ -20,9 +20,9 @@
.field public final f:Landroid/graphics/Bitmap$Config;
.field public final g:Lf/j/j/h/c;
.field public final g:Lf/h/j/h/b;
.field public final h:Lf/j/j/s/a;
.field public final h:Lf/h/j/t/a;
.field public final i:Landroid/graphics/ColorSpace;
@ -31,53 +31,47 @@
.method public static constructor <clinit>()V
.locals 2
new-instance v0, Lf/j/j/d/b;
new-instance v0, Lf/h/j/d/b;
invoke-direct {v0}, Lf/j/j/d/b;-><init>()V
invoke-direct {v0}, Lf/h/j/d/b;-><init>()V
new-instance v1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
invoke-direct {v1, v0}, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;-><init>(Lf/j/j/d/b;)V
invoke-direct {v1, v0}, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;-><init>(Lf/h/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/j/j/d/b;)V
.method public constructor <init>(Lf/h/j/d/b;)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iget v0, p1, Lf/j/j/d/b;->a:I
iget v0, p1, Lf/h/j/d/b;->a:I
iput v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->a:I
iget-boolean v0, p1, Lf/j/j/d/b;->b:Z
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->b:Z
iget-boolean v0, p1, Lf/j/j/d/b;->c:Z
iput-boolean v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->c:Z
iget-boolean v0, p1, Lf/j/j/d/b;->d:Z
iput-boolean v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->d:Z
iget-boolean v0, p1, Lf/j/j/d/b;->e:Z
iput-boolean v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->e:Z
iget-object v0, p1, Lf/j/j/d/b;->f:Landroid/graphics/Bitmap$Config;
iget-object p1, p1, Lf/h/j/d/b;->b:Landroid/graphics/Bitmap$Config;
iput-object v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->f:Landroid/graphics/Bitmap$Config;
iput-object p1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->f:Landroid/graphics/Bitmap$Config;
iget-object v0, p1, Lf/j/j/d/b;->g:Lf/j/j/h/c;
const/4 p1, 0x0
iput-object v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/j/j/h/c;
iput-object p1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/h/j/h/b;
iget-object p1, p1, Lf/j/j/d/b;->h:Landroid/graphics/ColorSpace;
iput-object p1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->h:Lf/h/j/t/a;
iput-object p1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->i:Landroid/graphics/ColorSpace;
@ -98,7 +92,7 @@
:cond_0
const/4 v1, 0x0
if-eqz p1, :cond_9
if-eqz p1, :cond_a
const-class v2, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
@ -158,27 +152,36 @@
return v1
:cond_6
iget-object v2, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/j/j/h/c;
iget-object v2, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/h/j/h/b;
iget-object v3, p1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/j/j/h/c;
iget-object v3, p1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/h/j/h/b;
if-eq v2, v3, :cond_7
return v1
:cond_7
iget-object v2, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->i:Landroid/graphics/ColorSpace;
iget-object v2, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->h:Lf/h/j/t/a;
iget-object p1, p1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->i:Landroid/graphics/ColorSpace;
iget-object v3, p1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->h:Lf/h/j/t/a;
if-eq v2, p1, :cond_8
if-eq v2, v3, :cond_8
return v1
:cond_8
return v0
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
@ -224,7 +227,7 @@
mul-int/lit8 v1, v1, 0x1f
iget-object v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/j/j/h/c;
iget-object v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/h/j/h/b;
const/4 v2, 0x0
@ -244,26 +247,40 @@
mul-int/lit8 v1, v1, 0x1f
add-int/2addr v1, v2
iget-object v0, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->h:Lf/h/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_1
if-eqz v0, :cond_2
invoke-virtual {v0}, Landroid/graphics/ColorSpace;->hashCode()I
move-result v2
:cond_1
:cond_2
add-int/2addr v1, v2
return v1
.end method
.method public toString()Ljava/lang/String;
.locals 4
.locals 3
const/16 v0, 0x9
@ -329,23 +346,25 @@
aput-object v1, v0, v2
iget-object v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/j/j/h/c;
iget-object v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->g:Lf/h/j/h/b;
const/4 v2, 0x6
aput-object v1, v0, v2
const/4 v1, 0x0
iget-object v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->h:Lf/h/j/t/a;
const/4 v2, 0x7
aput-object v1, v0, v2
iget-object v2, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->i:Landroid/graphics/ColorSpace;
iget-object v1, p0, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->i:Landroid/graphics/ColorSpace;
const/16 v3, 0x8
const/16 v2, 0x8
aput-object v2, v0, v3
aput-object v1, v0, v2
const/4 v1, 0x0
const-string v2, "%d-%b-%b-%b-%b-%b-%s-%s-%s"

View file

@ -0,0 +1,21 @@
.class public Lcom/facebook/imagepipeline/common/TooManyBitmapsException;
.super Ljava/lang/RuntimeException;
.source "TooManyBitmapsException.java"
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/RuntimeException;-><init>()V
return-void
.end method
.method public constructor <init>(Ljava/lang/String;)V
.locals 0
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
return-void
.end method

View file

@ -0,0 +1,19 @@
.class public Lcom/facebook/imagepipeline/decoder/DecodeException;
.super Ljava/lang/RuntimeException;
.source "DecodeException.java"
# instance fields
.field public final mEncodedImage:Lcom/facebook/imagepipeline/image/EncodedImage;
# direct methods
.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:Lcom/facebook/imagepipeline/image/EncodedImage;
return-void
.end method

View file

@ -74,7 +74,7 @@
const-string v2, "finalize: %s %x still open."
invoke-static {v1, v2, v0}, Lf/j/d/f/a;->a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
invoke-static {v1, v2, v0}, Lf/h/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
@ -96,7 +96,7 @@
.method public getQualityInfo()Lcom/facebook/imagepipeline/image/QualityInfo;
.locals 1
sget-object v0, Lf/j/j/j/d;->d:Lcom/facebook/imagepipeline/image/QualityInfo;
sget-object v0, Lf/h/j/j/d;->d:Lcom/facebook/imagepipeline/image/QualityInfo;
return-object v0
.end method

View file

@ -0,0 +1,40 @@
.class public Lcom/facebook/imagepipeline/memory/BasePool$InvalidSizeException;
.super Ljava/lang/RuntimeException;
.source "BasePool.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/imagepipeline/memory/BasePool;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "InvalidSizeException"
.end annotation
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 1
const-string v0, "Invalid size: "
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
return-void
.end method

View file

@ -0,0 +1,14 @@
.class public Lcom/facebook/imagepipeline/memory/BasePool$InvalidValueException;
.super Ljava/lang/RuntimeException;
.source "BasePool.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/imagepipeline/memory/BasePool;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "InvalidValueException"
.end annotation

View file

@ -0,0 +1,46 @@
.class public Lcom/facebook/imagepipeline/memory/BasePool$PoolSizeViolationException;
.super Ljava/lang/RuntimeException;
.source "BasePool.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/imagepipeline/memory/BasePool;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "PoolSizeViolationException"
.end annotation
# direct methods
.method public constructor <init>(IIII)V
.locals 3
const-string v0, "Pool hard cap violation? Hard cap = "
const-string v1, " Used size = "
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;
move-result-object p1
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p2, " Request size = "
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, p4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
return-void
.end method

View file

@ -0,0 +1,14 @@
.class public Lcom/facebook/imagepipeline/memory/BasePool$SizeTooLargeException;
.super Lcom/facebook/imagepipeline/memory/BasePool$InvalidSizeException;
.source "BasePool.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/imagepipeline/memory/BasePool;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "SizeTooLargeException"
.end annotation

View file

@ -0,0 +1,114 @@
.class public Lcom/facebook/imagepipeline/memory/BasePool$a;
.super Ljava/lang/Object;
.source "BasePool.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/imagepipeline/memory/BasePool;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
.end annotation
# instance fields
.field public a:I
.field public b:I
# 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 a(I)V
.locals 3
iget v0, p0, Lcom/facebook/imagepipeline/memory/BasePool$a;->b:I
const/4 v1, 0x1
if-lt v0, p1, :cond_0
iget v2, p0, Lcom/facebook/imagepipeline/memory/BasePool$a;->a:I
if-lez v2, :cond_0
sub-int/2addr v2, v1
iput v2, p0, Lcom/facebook/imagepipeline/memory/BasePool$a;->a:I
sub-int/2addr v0, p1
iput v0, p0, Lcom/facebook/imagepipeline/memory/BasePool$a;->b:I
goto :goto_0
:cond_0
const/4 v0, 0x3
new-array v0, v0, [Ljava/lang/Object;
const/4 v2, 0x0
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
aput-object p1, v0, v2
iget p1, p0, Lcom/facebook/imagepipeline/memory/BasePool$a;->b:I
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
aput-object p1, v0, v1
const/4 p1, 0x2
iget v1, p0, Lcom/facebook/imagepipeline/memory/BasePool$a;->a:I
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
aput-object v1, v0, p1
const-string p1, "com.facebook.imagepipeline.memory.BasePool.Counter"
const-string v1, "Unexpected decrement of %d. Current numBytes = %d, count = %d"
invoke-static {p1, v1, v0}, Lf/h/d/e/a;->r(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
return-void
.end method
.method public b(I)V
.locals 1
iget v0, p0, Lcom/facebook/imagepipeline/memory/BasePool$a;->a:I
add-int/lit8 v0, v0, 0x1
iput v0, p0, Lcom/facebook/imagepipeline/memory/BasePool$a;->a:I
iget v0, p0, Lcom/facebook/imagepipeline/memory/BasePool$a;->b:I
add-int/2addr v0, p1
iput v0, p0, Lcom/facebook/imagepipeline/memory/BasePool$a;->b:I
return-void
.end method

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,26 @@
.class public Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream$InvalidStreamException;
.super Ljava/lang/RuntimeException;
.source "MemoryPooledByteBufferOutputStream.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "InvalidStreamException"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 1
const-string v0, "OutputStream no longer valid"
invoke-direct {p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
return-void
.end method

View file

@ -0,0 +1,288 @@
.class public Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;
.super Lf/h/d/g/i;
.source "MemoryPooledByteBufferOutputStream.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream$InvalidStreamException;
}
.end annotation
# instance fields
.field public final d:Lf/h/j/l/s;
.field public e:Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/references/CloseableReference<",
"Lf/h/j/l/r;",
">;"
}
.end annotation
.end field
.field public f:I
# direct methods
.method public constructor <init>(Lf/h/j/l/s;I)V
.locals 2
invoke-direct {p0}, Lf/h/d/g/i;-><init>()V
const/4 v0, 0x0
if-lez p2, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
invoke-static {v1}, Ld0/a/b/b/a;->h(Z)V
if-eqz p1, :cond_1
iput-object p1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->d:Lf/h/j/l/s;
iput v0, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->f:I
invoke-virtual {p1, p2}, Lcom/facebook/imagepipeline/memory/BasePool;->get(I)Ljava/lang/Object;
move-result-object p1
iget-object p2, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->d:Lf/h/j/l/s;
invoke-static {p1, p2}, Lcom/facebook/common/references/CloseableReference;->v(Ljava/lang/Object;Lf/h/d/h/b;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
iput-object p1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
return-void
:cond_1
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public final a()V
.locals 1
iget-object v0, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->o(Lcom/facebook/common/references/CloseableReference;)Z
move-result v0
if-eqz v0, :cond_0
return-void
:cond_0
new-instance v0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream$InvalidStreamException;
invoke-direct {v0}, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream$InvalidStreamException;-><init>()V
throw v0
.end method
.method public b()Lf/h/j/l/t;
.locals 3
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->a()V
new-instance v0, Lf/h/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/h/j/l/t;-><init>(Lcom/facebook/common/references/CloseableReference;I)V
return-object v0
.end method
.method public close()V
.locals 1
iget-object v0, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
const/4 v0, 0x0
iput-object v0, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
const/4 v0, -0x1
iput v0, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->f:I
invoke-super {p0}, Lf/h/d/g/i;->close()V
return-void
.end method
.method public write(I)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/4 v0, 0x1
new-array v0, v0, [B
int-to-byte p1, p1
const/4 v1, 0x0
aput-byte p1, v0, v1
invoke-virtual {p0, v0}, Ljava/io/OutputStream;->write([B)V
return-void
.end method
.method public write([BII)V
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
if-ltz p2, :cond_1
if-ltz p3, :cond_1
add-int v0, p2, p3
array-length v1, p1
if-gt v0, v1, :cond_1
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->a()V
iget v0, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->f:I
add-int/2addr v0, p3
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->a()V
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->h()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lf/h/j/l/r;
invoke-interface {v1}, Lf/h/j/l/r;->getSize()I
move-result v1
if-gt v0, v1, :cond_0
goto :goto_0
:cond_0
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->d:Lf/h/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/h/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;->h()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lf/h/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/h/j/l/r;->a(ILf/h/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/h/j/l/s;
invoke-static {v0, v1}, Lcom/facebook/common/references/CloseableReference;->v(Ljava/lang/Object;Lf/h/d/h/b;)Lcom/facebook/common/references/CloseableReference;
move-result-object v0
iput-object v0, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
: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;->h()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lf/h/j/l/r;
iget v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->f:I
invoke-interface {v0, v1, p1, p2, p3}, Lf/h/j/l/r;->b(I[BII)I
iget p1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->f:I
add-int/2addr p1, p3
iput p1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->f:I
return-void
:cond_1
new-instance v0, Ljava/lang/ArrayIndexOutOfBoundsException;
const-string v1, "length="
invoke-static {v1}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
array-length p1, p1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, "; regionStart="
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, "; regionLength="
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
throw v0
.end method

View file

@ -3,12 +3,12 @@
.source "NativeMemoryChunk.java"
# interfaces
.implements Lf/j/j/l/s;
.implements Lf/h/j/l/r;
.implements Ljava/io/Closeable;
# annotations
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
@ -24,7 +24,7 @@
.method public static constructor <clinit>()V
.locals 0
invoke-static {}, Lf/j/j/m/a;->a()V
invoke-static {}, Lf/h/j/m/a;->a()V
return-void
.end method
@ -66,12 +66,10 @@
const/4 v1, 0x0
:goto_0
invoke-static {v1}, Ls/a/b/b/a;->a(Z)V
invoke-static {v1}, Ld0/a/b/b/a;->h(Z)V
iput p1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
iget p1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
invoke-static {p1}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->nativeAllocate(I)J
move-result-wide v1
@ -84,261 +82,112 @@
.end method
.method public static native nativeAllocate(I)J
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method public static native nativeCopyFromByteArray(J[BII)V
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method public static native nativeCopyToByteArray(J[BII)V
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method public static native nativeFree(J)V
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method public static native nativeMemcpy(JJI)V
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method public static native nativeReadByte(J)B
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
# virtual methods
.method public declared-synchronized a(I)B
.locals 4
monitor-enter p0
:try_start_0
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->a()Z
move-result v0
const/4 v1, 0x1
const/4 v2, 0x0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
invoke-static {v0}, Ls/a/b/b/a;->b(Z)V
if-ltz p1, :cond_1
const/4 v0, 0x1
goto :goto_1
:cond_1
const/4 v0, 0x0
:goto_1
invoke-static {v0}, Ls/a/b/b/a;->a(Z)V
iget v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
if-ge p1, v0, :cond_2
goto :goto_2
:cond_2
const/4 v1, 0x0
:goto_2
invoke-static {v1}, Ls/a/b/b/a;->a(Z)V
iget-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
int-to-long v2, p1
add-long/2addr v0, v2
invoke-static {v0, v1}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->nativeReadByte(J)B
move-result p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized a(I[BII)I
.locals 4
monitor-enter p0
if-eqz p2, :cond_1
:try_start_0
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->a()Z
move-result v0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
invoke-static {v0}, Ls/a/b/b/a;->b(Z)V
iget v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
invoke-static {p1, p4, v0}, Ls/a/b/b/a;->a(III)I
move-result p4
array-length v0, p2
iget v1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
invoke-static {p1, v0, p3, p4, v1}, Ls/a/b/b/a;->a(IIIII)V
iget-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
int-to-long v2, p1
add-long/2addr v0, v2
invoke-static {v0, v1, p2, p3, p4}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->nativeCopyToByteArray(J[BII)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return p4
:catchall_0
move-exception p1
goto :goto_1
:cond_1
:try_start_1
new-instance p1, Ljava/lang/NullPointerException;
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
throw p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:goto_1
monitor-exit p0
throw p1
.end method
.method public a(ILf/j/j/l/s;II)V
.method public a(ILf/h/j/l/r;II)V
.locals 5
if-eqz p2, :cond_2
invoke-interface {p2}, Lf/j/j/l/s;->getUniqueId()J
invoke-interface {p2}, Lf/h/j/l/r;->getUniqueId()J
move-result-wide v0
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->getUniqueId()J
move-result-wide v2
iget-wide v2, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
cmp-long v4, v0, v2
if-nez v4, :cond_0
const-string v0, "Copying from NativeMemoryChunk "
const-string v0, "NativeMemoryChunk"
invoke-static {v0}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, "Copying from NativeMemoryChunk "
move-result-object v0
invoke-static {v1}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-static {p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result v1
move-result v2
invoke-static {v1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
invoke-static {v2}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v1
move-result-object v2
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " to NativeMemoryChunk "
const-string v2, " to NativeMemoryChunk "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-static {p2}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result v1
move-result v2
invoke-static {v1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
invoke-static {v2}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v2, " which share the same address "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v2, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
invoke-static {v2, v3}, Ljava/lang/Long;->toHexString(J)Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " which share the same address "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
invoke-static {v1, v2}, Ljava/lang/Long;->toHexString(J)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "NativeMemoryChunk"
invoke-static {v1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
const/4 v0, 0x0
invoke-static {v0}, Ls/a/b/b/a;->a(Z)V
invoke-static {v0}, Ld0/a/b/b/a;->h(Z)V
:cond_0
invoke-interface {p2}, Lf/j/j/l/s;->getUniqueId()J
invoke-interface {p2}, Lf/h/j/l/r;->getUniqueId()J
move-result-wide v0
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->getUniqueId()J
move-result-wide v2
iget-wide v2, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
cmp-long v4, v0, v2
@ -352,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;->b(ILf/j/j/l/s;II)V
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->c(ILf/h/j/l/r;II)V
monitor-exit p0
:try_end_1
@ -394,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;->b(ILf/j/j/l/s;II)V
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->c(ILf/h/j/l/r;II)V
monitor-exit p2
:try_end_6
@ -428,44 +277,18 @@
throw p1
:cond_2
new-instance p1, Ljava/lang/NullPointerException;
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
const/4 p1, 0x0
throw p1
.end method
.method public declared-synchronized a()Z
.locals 1
monitor-enter p0
:try_start_0
iget-boolean v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->f:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized b(I[BII)I
.locals 4
monitor-enter p0
if-eqz p2, :cond_1
:try_start_0
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->a()Z
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->isClosed()Z
move-result v0
@ -479,11 +302,11 @@
const/4 v0, 0x0
:goto_0
invoke-static {v0}, Ls/a/b/b/a;->b(Z)V
invoke-static {v0}, Ld0/a/b/b/a;->m(Z)V
iget v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
invoke-static {p1, p4, v0}, Ls/a/b/b/a;->a(III)I
invoke-static {p1, p4, v0}, Ld0/a/b/b/a;->c(III)I
move-result p4
@ -491,7 +314,7 @@
iget v1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
invoke-static {p1, v0, p3, p4, v1}, Ls/a/b/b/a;->a(IIIII)V
invoke-static {p1, v0, p3, p4, v1}, Ld0/a/b/b/a;->j(IIIII)V
iget-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
@ -510,64 +333,43 @@
:catchall_0
move-exception p1
goto :goto_1
:cond_1
:try_start_1
new-instance p1, Ljava/lang/NullPointerException;
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
throw p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:goto_1
monitor-exit p0
throw p1
.end method
.method public b()Ljava/nio/ByteBuffer;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public final b(ILf/j/j/l/s;II)V
.method public final c(ILf/h/j/l/r;II)V
.locals 4
instance-of v0, p2, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->a()Z
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->isClosed()Z
move-result v0
xor-int/lit8 v0, v0, 0x1
invoke-static {v0}, Ls/a/b/b/a;->b(Z)V
invoke-static {v0}, Ld0/a/b/b/a;->m(Z)V
invoke-interface {p2}, Lf/j/j/l/s;->a()Z
invoke-interface {p2}, Lf/h/j/l/r;->isClosed()Z
move-result v0
xor-int/lit8 v0, v0, 0x1
invoke-static {v0}, Ls/a/b/b/a;->b(Z)V
invoke-static {v0}, Ld0/a/b/b/a;->m(Z)V
invoke-interface {p2}, Lf/j/j/l/s;->getSize()I
invoke-interface {p2}, Lf/h/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}, Ls/a/b/b/a;->a(IIIII)V
invoke-static {p1, v0, p3, p4, v1}, Ld0/a/b/b/a;->j(IIIII)V
invoke-interface {p2}, Lf/j/j/l/s;->c()J
invoke-interface {p2}, Lf/h/j/l/r;->p()J
move-result-wide v0
@ -595,14 +397,6 @@
throw p1
.end method
.method public c()J
.locals 2
iget-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
return-wide v0
.end method
.method public declared-synchronized close()V
.locals 2
@ -644,7 +438,7 @@
}
.end annotation
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->a()Z
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->isClosed()Z
move-result v0
@ -655,7 +449,7 @@
:cond_0
const-string v0, "finalize: Chunk "
invoke-static {v0}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
@ -698,6 +492,14 @@
throw v0
.end method
.method public getByteBuffer()Ljava/nio/ByteBuffer;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public getSize()I
.locals 1
@ -713,3 +515,176 @@
return-wide v0
.end method
.method public declared-synchronized isClosed()Z
.locals 1
monitor-enter p0
:try_start_0
iget-boolean v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->f:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized k(I)B
.locals 4
monitor-enter p0
:try_start_0
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->isClosed()Z
move-result v0
const/4 v1, 0x1
const/4 v2, 0x0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
invoke-static {v0}, Ld0/a/b/b/a;->m(Z)V
if-ltz p1, :cond_1
const/4 v0, 0x1
goto :goto_1
:cond_1
const/4 v0, 0x0
:goto_1
invoke-static {v0}, Ld0/a/b/b/a;->h(Z)V
iget v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
if-ge p1, v0, :cond_2
goto :goto_2
:cond_2
const/4 v1, 0x0
:goto_2
invoke-static {v1}, Ld0/a/b/b/a;->h(Z)V
iget-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
int-to-long v2, p1
add-long/2addr v0, v2
invoke-static {v0, v1}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->nativeReadByte(J)B
move-result p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized m(I[BII)I
.locals 4
monitor-enter p0
if-eqz p2, :cond_1
:try_start_0
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->isClosed()Z
move-result v0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
invoke-static {v0}, Ld0/a/b/b/a;->m(Z)V
iget v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
invoke-static {p1, p4, v0}, Ld0/a/b/b/a;->c(III)I
move-result p4
array-length v0, p2
iget v1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
invoke-static {p1, v0, p3, p4, v1}, Ld0/a/b/b/a;->j(IIIII)V
iget-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
int-to-long v2, p1
add-long/2addr v0, v2
invoke-static {v0, v1, p2, p3, p4}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->nativeCopyToByteArray(J[BII)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return p4
:catchall_0
move-exception p1
goto :goto_1
:cond_1
const/4 p1, 0x0
:try_start_1
throw p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:goto_1
monitor-exit p0
throw p1
.end method
.method public p()J
.locals 2
iget-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
return-wide v0
.end method

View file

@ -4,7 +4,7 @@
# annotations
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
@ -12,7 +12,7 @@
.method public static constructor <clinit>()V
.locals 0
invoke-static {}, Lf/j/j/m/a;->a()V
invoke-static {}, Lf/h/j/m/a;->a()V
return-void
.end method
@ -36,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
@ -50,13 +50,13 @@
const/4 v0, 0x0
:goto_0
invoke-static {v0}, Ls/a/b/b/a;->a(Z)V
invoke-static {v0}, Ld0/a/b/b/a;->h(Z)V
invoke-virtual {p0}, Landroid/graphics/Bitmap;->isMutable()Z
move-result v0
invoke-static {v0}, Ls/a/b/b/a;->a(Z)V
invoke-static {v0}, Ld0/a/b/b/a;->h(Z)V
invoke-virtual {p0}, Landroid/graphics/Bitmap;->getWidth()I
@ -76,7 +76,7 @@
const/4 v0, 0x0
:goto_1
invoke-static {v0}, Ls/a/b/b/a;->a(Z)V
invoke-static {v0}, Ld0/a/b/b/a;->h(Z)V
invoke-virtual {p0}, Landroid/graphics/Bitmap;->getHeight()I
@ -88,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}, Ls/a/b/b/a;->a(Z)V
invoke-static {v2}, Ld0/a/b/b/a;->h(Z)V
invoke-virtual {p0}, Landroid/graphics/Bitmap;->getRowBytes()I
@ -114,6 +111,6 @@
.end method
.method public static native nativeCopyBitmap(Landroid/graphics/Bitmap;ILandroid/graphics/Bitmap;II)V
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method

View file

@ -13,7 +13,7 @@
name = "OreoUtils"
.end annotation
.annotation build Lf/j/m/d;
.annotation build Lf/h/m/d;
.end annotation

View file

@ -3,7 +3,7 @@
.source "DalvikPurgeableDecoder.java"
# interfaces
.implements Lf/j/j/n/d;
.implements Lf/h/j/n/d;
# annotations
@ -13,7 +13,7 @@
}
.end annotation
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
@ -22,14 +22,14 @@
# instance fields
.field public final a:Lf/j/j/l/b;
.field public final a:Lf/h/j/l/a;
# direct methods
.method public static constructor <clinit>()V
.locals 1
invoke-static {}, Lf/j/j/m/a;->a()V
invoke-static {}, Lf/h/j/m/a;->a()V
const/4 v0, 0x2
@ -49,21 +49,80 @@
.end method
.method public constructor <init>()V
.locals 1
.locals 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
invoke-static {}, Lf/j/j/l/c;->a()Lf/j/j/l/b;
sget-object v0, Lf/h/j/l/b;->c:Lf/h/j/l/a;
move-result-object v0
if-nez v0, :cond_1
iput-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/j/j/l/b;
const-class v0, Lf/h/j/l/b;
monitor-enter v0
:try_start_0
sget-object v1, Lf/h/j/l/b;->c:Lf/h/j/l/a;
if-nez v1, :cond_0
new-instance v1, Lf/h/j/l/a;
sget v2, Lf/h/j/l/b;->b:I
sget v3, Lf/h/j/l/b;->a:I
invoke-direct {v1, v2, v3}, Lf/h/j/l/a;-><init>(II)V
sput-object v1, Lf/h/j/l/b;->c:Lf/h/j/l/a;
:cond_0
monitor-exit v0
goto :goto_0
:catchall_0
move-exception v1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
:cond_1
:goto_0
sget-object v0, Lf/h/j/l/b;->c:Lf/h/j/l/a;
iput-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/h/j/l/a;
return-void
.end method
.method public static a(ILandroid/graphics/Bitmap$Config;)Landroid/graphics/BitmapFactory$Options;
.method public static native nativePinBitmap(Landroid/graphics/Bitmap;)V
.annotation build Lf/h/d/d/c;
.end annotation
.end method
# virtual methods
.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 = {
"(",
"Lcom/facebook/imagepipeline/image/EncodedImage;",
"Landroid/graphics/Bitmap$Config;",
"Landroid/graphics/Rect;",
"Landroid/graphics/ColorSpace;",
")",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
iget p3, p1, Lcom/facebook/imagepipeline/image/EncodedImage;->k:I
new-instance v0, Landroid/graphics/BitmapFactory$Options;
@ -73,204 +132,65 @@
iput-boolean v1, v0, Landroid/graphics/BitmapFactory$Options;->inDither:Z
iput-object p1, v0, Landroid/graphics/BitmapFactory$Options;->inPreferredConfig:Landroid/graphics/Bitmap$Config;
iput-object p2, v0, Landroid/graphics/BitmapFactory$Options;->inPreferredConfig:Landroid/graphics/Bitmap$Config;
iput-boolean v1, v0, Landroid/graphics/BitmapFactory$Options;->inPurgeable:Z
iput-boolean v1, v0, Landroid/graphics/BitmapFactory$Options;->inInputShareable:Z
iput p0, v0, Landroid/graphics/BitmapFactory$Options;->inSampleSize:I
sget p0, Landroid/os/Build$VERSION;->SDK_INT:I
iput p3, v0, Landroid/graphics/BitmapFactory$Options;->inSampleSize:I
iput-boolean v1, v0, Landroid/graphics/BitmapFactory$Options;->inMutable:Z
return-object v0
.end method
sget p2, Landroid/os/Build$VERSION;->SDK_INT:I
.method public static native nativePinBitmap(Landroid/graphics/Bitmap;)V
.annotation build Lf/j/d/d/c;
.end annotation
.end method
const/16 p3, 0x1a
if-lt p2, p3, :cond_1
# virtual methods
.method public abstract a(Lcom/facebook/common/references/CloseableReference;ILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"Lf/j/d/h/g;",
">;I",
"Landroid/graphics/BitmapFactory$Options;",
")",
"Landroid/graphics/Bitmap;"
}
.end annotation
.end method
if-nez p4, :cond_0
.method public abstract a(Lcom/facebook/common/references/CloseableReference;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"Lf/j/d/h/g;",
">;",
"Landroid/graphics/BitmapFactory$Options;",
")",
"Landroid/graphics/Bitmap;"
}
.end annotation
.end method
sget-object p2, Landroid/graphics/ColorSpace$Named;->SRGB:Landroid/graphics/ColorSpace$Named;
.method public a(Landroid/graphics/Bitmap;)Lcom/facebook/common/references/CloseableReference;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Bitmap;",
")",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
invoke-static {p2}, Landroid/graphics/ColorSpace;->get(Landroid/graphics/ColorSpace$Named;)Landroid/graphics/ColorSpace;
if-eqz p1, :cond_1
:try_start_0
invoke-static {p1}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->nativePinBitmap(Landroid/graphics/Bitmap;)V
: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/j/j/l/b;
invoke-virtual {v0, p1}, Lf/j/j/l/b;->b(Landroid/graphics/Bitmap;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/j/j/l/b;
iget-object v0, v0, Lf/j/j/l/b;->e:Lf/j/d/i/b;
invoke-static {p1, v0}, Lcom/facebook/common/references/CloseableReference;->a(Ljava/lang/Object;Lf/j/d/i/b;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
return-object p1
move-result-object p4
:cond_0
invoke-static {p1}, Lf/j/k/a;->a(Landroid/graphics/Bitmap;)I
iput-object p4, v0, Landroid/graphics/BitmapFactory$Options;->inPreferredColorSpace:Landroid/graphics/ColorSpace;
move-result v0
invoke-virtual {p1}, Landroid/graphics/Bitmap;->recycle()V
sget-object p1, Ljava/util/Locale;->US:Ljava/util/Locale;
const/4 v1, 0x5
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
aput-object v0, v1, v2
const/4 v0, 0x1
iget-object v2, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/j/j/l/b;
invoke-virtual {v2}, Lf/j/j/l/b;->a()I
move-result v2
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v1, v0
const/4 v0, 0x2
iget-object v2, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/j/j/l/b;
invoke-virtual {v2}, Lf/j/j/l/b;->d()J
move-result-wide v2
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v2
aput-object v2, v1, v0
const/4 v0, 0x3
iget-object v2, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/j/j/l/b;
invoke-virtual {v2}, Lf/j/j/l/b;->b()I
move-result v2
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v1, v0
const/4 v0, 0x4
iget-object v2, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/j/j/l/b;
invoke-virtual {v2}, Lf/j/j/l/b;->c()I
move-result v2
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v1, v0
const-string v0, "Attempted to pin a bitmap of size %d bytes. The current pool count is %d, the current pool size is %d bytes. The current pool max count is %d, the current pool max size is %d bytes."
invoke-static {p1, v0, v1}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
:cond_1
invoke-virtual {p1}, Lcom/facebook/imagepipeline/image/EncodedImage;->c()Lcom/facebook/common/references/CloseableReference;
move-result-object p1
new-instance v0, Lf/j/j/d/f;
invoke-static {p1}, Ld0/a/b/b/a;->k(Ljava/lang/Object;)Ljava/lang/Object;
invoke-direct {v0, p1}, Lf/j/j/d/f;-><init>(Ljava/lang/String;)V
: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;
throw v0
move-result-object p2
:catch_0
move-exception v0
invoke-virtual {p0, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->e(Landroid/graphics/Bitmap;)Lcom/facebook/common/references/CloseableReference;
invoke-virtual {p1}, Landroid/graphics/Bitmap;->recycle()V
move-result-object p2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {v0}, Ls/a/b/b/a;->b(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->close()V
const/4 p1, 0x0
return-object p2
throw p1
:catchall_0
move-exception p2
:cond_1
new-instance p1, Ljava/lang/NullPointerException;
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->close()V
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
throw p1
throw p2
.end method
.method public a(Lcom/facebook/imagepipeline/image/EncodedImage;Landroid/graphics/Bitmap$Config;Landroid/graphics/Rect;ILandroid/graphics/ColorSpace;)Lcom/facebook/common/references/CloseableReference;
.locals 1
.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 = {
"(",
@ -286,70 +206,107 @@
}
.end annotation
invoke-virtual {p1}, Lcom/facebook/imagepipeline/image/EncodedImage;->j()I
iget p3, p1, Lcom/facebook/imagepipeline/image/EncodedImage;->k:I
move-result p3
new-instance v0, Landroid/graphics/BitmapFactory$Options;
invoke-static {p3, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a(ILandroid/graphics/Bitmap$Config;)Landroid/graphics/BitmapFactory$Options;
invoke-direct {v0}, Landroid/graphics/BitmapFactory$Options;-><init>()V
move-result-object p2
const/4 v1, 0x1
sget p3, Landroid/os/Build$VERSION;->SDK_INT:I
iput-boolean v1, v0, Landroid/graphics/BitmapFactory$Options;->inDither:Z
const/16 v0, 0x1a
iput-object p2, v0, Landroid/graphics/BitmapFactory$Options;->inPreferredConfig:Landroid/graphics/Bitmap$Config;
if-lt p3, v0, :cond_1
iput-boolean v1, v0, Landroid/graphics/BitmapFactory$Options;->inPurgeable:Z
iput-boolean v1, v0, Landroid/graphics/BitmapFactory$Options;->inInputShareable:Z
iput p3, v0, Landroid/graphics/BitmapFactory$Options;->inSampleSize:I
iput-boolean v1, v0, Landroid/graphics/BitmapFactory$Options;->inMutable:Z
sget p2, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 p3, 0x1a
if-lt p2, p3, :cond_1
if-nez p5, :cond_0
sget-object p3, Landroid/graphics/ColorSpace$Named;->SRGB:Landroid/graphics/ColorSpace$Named;
sget-object p2, Landroid/graphics/ColorSpace$Named;->SRGB:Landroid/graphics/ColorSpace$Named;
invoke-static {p3}, Landroid/graphics/ColorSpace;->get(Landroid/graphics/ColorSpace$Named;)Landroid/graphics/ColorSpace;
invoke-static {p2}, Landroid/graphics/ColorSpace;->get(Landroid/graphics/ColorSpace$Named;)Landroid/graphics/ColorSpace;
move-result-object p5
:cond_0
iput-object p5, p2, Landroid/graphics/BitmapFactory$Options;->inPreferredColorSpace:Landroid/graphics/ColorSpace;
iput-object p5, v0, Landroid/graphics/BitmapFactory$Options;->inPreferredColorSpace:Landroid/graphics/ColorSpace;
:cond_1
invoke-virtual {p1}, Lcom/facebook/imagepipeline/image/EncodedImage;->b()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}, Ls/a/b/b/a;->a(Ljava/lang/Object;)Ljava/lang/Object;
invoke-static {p1}, Ld0/a/b/b/a;->k(Ljava/lang/Object;)Ljava/lang/Object;
:try_start_0
invoke-virtual {p0, p1, p4, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a(Lcom/facebook/common/references/CloseableReference;ILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
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;->a(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
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p1}, Lcom/facebook/common/references/CloseableReference;->b(Lcom/facebook/common/references/CloseableReference;)V
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->close()V
return-object p2
:catchall_0
move-exception p2
invoke-static {p1}, Lcom/facebook/common/references/CloseableReference;->b(Lcom/facebook/common/references/CloseableReference;)V
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->close()V
throw p2
.end method
.method public a(Lcom/facebook/imagepipeline/image/EncodedImage;Landroid/graphics/Bitmap$Config;Landroid/graphics/Rect;Landroid/graphics/ColorSpace;)Lcom/facebook/common/references/CloseableReference;
.locals 1
.method public abstract c(Lcom/facebook/common/references/CloseableReference;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/imagepipeline/image/EncodedImage;",
"Landroid/graphics/Bitmap$Config;",
"Landroid/graphics/Rect;",
"Landroid/graphics/ColorSpace;",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/common/memory/PooledByteBuffer;",
">;",
"Landroid/graphics/BitmapFactory$Options;",
")",
"Landroid/graphics/Bitmap;"
}
.end annotation
.end method
.method public abstract d(Lcom/facebook/common/references/CloseableReference;ILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
.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
.end method
.method public e(Landroid/graphics/Bitmap;)Lcom/facebook/common/references/CloseableReference;
.locals 10
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Bitmap;",
")",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
@ -357,57 +314,231 @@
}
.end annotation
invoke-virtual {p1}, Lcom/facebook/imagepipeline/image/EncodedImage;->j()I
if-eqz p1, :cond_3
move-result p3
:try_start_0
invoke-static {p1}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->nativePinBitmap(Landroid/graphics/Bitmap;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
invoke-static {p3, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a(ILandroid/graphics/Bitmap$Config;)Landroid/graphics/BitmapFactory$Options;
iget-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/h/j/l/a;
move-result-object p2
monitor-enter v0
sget p3, Landroid/os/Build$VERSION;->SDK_INT:I
:try_start_1
invoke-static {p1}, Lf/h/k/a;->e(Landroid/graphics/Bitmap;)I
const/16 v0, 0x1a
move-result v1
if-lt p3, v0, :cond_1
iget v2, v0, Lf/h/j/l/a;->a:I
if-nez p4, :cond_0
iget v3, v0, Lf/h/j/l/a;->c:I
sget-object p3, Landroid/graphics/ColorSpace$Named;->SRGB:Landroid/graphics/ColorSpace$Named;
const/4 v4, 0x1
invoke-static {p3}, Landroid/graphics/ColorSpace;->get(Landroid/graphics/ColorSpace$Named;)Landroid/graphics/ColorSpace;
const/4 v5, 0x0
move-result-object p4
if-ge v2, v3, :cond_1
iget-wide v2, v0, Lf/h/j/l/a;->b:J
int-to-long v6, v1
add-long/2addr v2, v6
iget v1, v0, Lf/h/j/l/a;->d:I
int-to-long v8, v1
cmp-long v1, v2, v8
if-lez v1, :cond_0
goto :goto_0
:cond_0
iput-object p4, p2, Landroid/graphics/BitmapFactory$Options;->inPreferredColorSpace:Landroid/graphics/ColorSpace;
iget v1, v0, Lf/h/j/l/a;->a:I
add-int/2addr v1, v4
iput v1, v0, Lf/h/j/l/a;->a:I
iget-wide v1, v0, Lf/h/j/l/a;->b:J
add-long/2addr v1, v6
iput-wide v1, v0, Lf/h/j/l/a;->b:J
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_3
monitor-exit v0
const/4 v0, 0x1
goto :goto_1
:cond_1
invoke-virtual {p1}, Lcom/facebook/imagepipeline/image/EncodedImage;->b()Lcom/facebook/common/references/CloseableReference;
:goto_0
monitor-exit v0
const/4 v0, 0x0
:goto_1
if-eqz v0, :cond_2
iget-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/h/j/l/a;
iget-object v0, v0, Lf/h/j/l/a;->e:Lf/h/d/h/b;
invoke-static {p1, v0}, Lcom/facebook/common/references/CloseableReference;->v(Ljava/lang/Object;Lf/h/d/h/b;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
invoke-static {p1}, Ls/a/b/b/a;->a(Ljava/lang/Object;)Ljava/lang/Object;
return-object p1
:try_start_0
invoke-virtual {p0, p1, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a(Lcom/facebook/common/references/CloseableReference;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
:cond_2
invoke-static {p1}, Lf/h/k/a;->e(Landroid/graphics/Bitmap;)I
move-result-object p2
move-result v0
invoke-virtual {p0, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a(Landroid/graphics/Bitmap;)Lcom/facebook/common/references/CloseableReference;
invoke-virtual {p1}, Landroid/graphics/Bitmap;->recycle()V
move-result-object p2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
sget-object p1, Ljava/util/Locale;->US:Ljava/util/Locale;
invoke-static {p1}, Lcom/facebook/common/references/CloseableReference;->b(Lcom/facebook/common/references/CloseableReference;)V
const-string v1, "Attempted to pin a bitmap of size %d bytes. The current pool count is %d, the current pool size is %d bytes. The current pool max count is %d, the current pool max size is %d bytes."
return-object p2
const/4 v2, 0x5
new-array v2, v2, [Ljava/lang/Object;
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
aput-object v0, v2, v5
iget-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/h/j/l/a;
monitor-enter v0
:try_start_2
iget v3, v0, Lf/h/j/l/a;->a:I
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_2
monitor-exit v0
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
aput-object v0, v2, v4
const/4 v0, 0x2
iget-object v3, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/h/j/l/a;
monitor-enter v3
:try_start_3
iget-wide v4, v3, Lf/h/j/l/a;->b:J
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
monitor-exit v3
invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v3
aput-object v3, v2, v0
const/4 v0, 0x3
iget-object v3, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/h/j/l/a;
monitor-enter v3
:try_start_4
iget v4, v3, Lf/h/j/l/a;->c:I
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_0
monitor-exit v3
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
aput-object v3, v2, v0
const/4 v0, 0x4
iget-object v3, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/h/j/l/a;
invoke-virtual {v3}, Lf/h/j/l/a;->b()I
move-result v3
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
aput-object v3, v2, v0
invoke-static {p1, v1, v2}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
new-instance v0, Lcom/facebook/imagepipeline/common/TooManyBitmapsException;
invoke-direct {v0, p1}, Lcom/facebook/imagepipeline/common/TooManyBitmapsException;-><init>(Ljava/lang/String;)V
throw v0
:catchall_0
move-exception p2
move-exception p1
invoke-static {p1}, Lcom/facebook/common/references/CloseableReference;->b(Lcom/facebook/common/references/CloseableReference;)V
monitor-exit v3
throw p2
throw p1
:catchall_1
move-exception p1
monitor-exit v3
throw p1
:catchall_2
move-exception p1
monitor-exit v0
throw p1
:catchall_3
move-exception p1
monitor-exit v0
throw p1
:catch_0
move-exception v0
invoke-virtual {p1}, Landroid/graphics/Bitmap;->recycle()V
invoke-static {v0}, Ld0/a/b/b/a;->y0(Ljava/lang/Throwable;)V
new-instance p1, Ljava/lang/RuntimeException;
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw p1
:cond_3
const/4 p1, 0x0
throw p1
.end method

View file

@ -4,7 +4,7 @@
# annotations
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
@ -14,7 +14,7 @@
const-string v0, "native-filters"
invoke-static {v0}, Lcom/facebook/soloader/SoLoader;->a(Ljava/lang/String;)Z
invoke-static {v0}, Lcom/facebook/soloader/SoLoader;->f(Ljava/lang/String;)Z
return-void
.end method
@ -28,6 +28,6 @@
.end method
.method public static native nativeIterativeBoxBlur(Landroid/graphics/Bitmap;II)V
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method

View file

@ -3,11 +3,11 @@
.source "NativeJpegTranscoder.java"
# interfaces
.implements Lf/j/j/r/b;
.implements Lf/h/j/s/b;
# annotations
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
@ -23,7 +23,7 @@
.method public static constructor <clinit>()V
.locals 0
invoke-static {}, Ls/a/b/b/a;->a()V
invoke-static {}, Lf/h/j/m/b;->a()V
return-void
.end method
@ -42,224 +42,6 @@
return-void
.end method
.method public static a(Ljava/io/InputStream;Ljava/io/OutputStream;III)V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
invoke-static {}, Ls/a/b/b/a;->a()V
const/4 v0, 0x0
const/4 v1, 0x1
if-lt p3, v1, :cond_0
const/4 v2, 0x1
goto :goto_0
:cond_0
const/4 v2, 0x0
:goto_0
invoke-static {v2}, Ls/a/b/b/a;->a(Z)V
const/16 v2, 0x10
if-gt p3, v2, :cond_1
const/4 v2, 0x1
goto :goto_1
:cond_1
const/4 v2, 0x0
:goto_1
invoke-static {v2}, Ls/a/b/b/a;->a(Z)V
if-ltz p4, :cond_2
const/4 v2, 0x1
goto :goto_2
:cond_2
const/4 v2, 0x0
:goto_2
invoke-static {v2}, Ls/a/b/b/a;->a(Z)V
const/16 v2, 0x64
if-gt p4, v2, :cond_3
const/4 v2, 0x1
goto :goto_3
:cond_3
const/4 v2, 0x0
:goto_3
invoke-static {v2}, Ls/a/b/b/a;->a(Z)V
invoke-static {p2}, Lf/j/j/r/d;->b(I)Z
move-result v2
invoke-static {v2}, Ls/a/b/b/a;->a(Z)V
const/16 v2, 0x8
if-ne p3, v2, :cond_4
if-eqz p2, :cond_5
:cond_4
const/4 v0, 0x1
:cond_5
const-string v1, "no transformation requested"
invoke-static {v0, v1}, Ls/a/b/b/a;->a(ZLjava/lang/Object;)V
if-eqz p0, :cond_7
if-eqz p1, :cond_6
invoke-static {p0, p1, p2, p3, p4}, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->nativeTranscodeJpeg(Ljava/io/InputStream;Ljava/io/OutputStream;III)V
return-void
:cond_6
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
throw p0
:cond_7
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
throw p0
.end method
.method public static b(Ljava/io/InputStream;Ljava/io/OutputStream;III)V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
invoke-static {}, Ls/a/b/b/a;->a()V
const/4 v0, 0x0
const/4 v1, 0x1
if-lt p3, v1, :cond_0
const/4 v2, 0x1
goto :goto_0
:cond_0
const/4 v2, 0x0
:goto_0
invoke-static {v2}, Ls/a/b/b/a;->a(Z)V
const/16 v2, 0x10
if-gt p3, v2, :cond_1
const/4 v2, 0x1
goto :goto_1
:cond_1
const/4 v2, 0x0
:goto_1
invoke-static {v2}, Ls/a/b/b/a;->a(Z)V
if-ltz p4, :cond_2
const/4 v2, 0x1
goto :goto_2
:cond_2
const/4 v2, 0x0
:goto_2
invoke-static {v2}, Ls/a/b/b/a;->a(Z)V
const/16 v2, 0x64
if-gt p4, v2, :cond_3
const/4 v2, 0x1
goto :goto_3
:cond_3
const/4 v2, 0x0
:goto_3
invoke-static {v2}, Ls/a/b/b/a;->a(Z)V
invoke-static {p2}, Lf/j/j/r/d;->a(I)Z
move-result v2
invoke-static {v2}, Ls/a/b/b/a;->a(Z)V
const/16 v2, 0x8
if-ne p3, v2, :cond_4
if-eq p2, v1, :cond_5
:cond_4
const/4 v0, 0x1
:cond_5
const-string v1, "no transformation requested"
invoke-static {v0, v1}, Ls/a/b/b/a;->a(ZLjava/lang/Object;)V
if-eqz p0, :cond_7
if-eqz p1, :cond_6
invoke-static {p0, p1, p2, p3, p4}, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->nativeTranscodeJpegWithExifOrientation(Ljava/io/InputStream;Ljava/io/OutputStream;III)V
return-void
:cond_6
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
throw p0
:cond_7
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
throw p0
.end method
.method public static native nativeTranscodeJpeg(Ljava/io/InputStream;Ljava/io/OutputStream;III)V
.annotation system Ldalvik/annotation/Throws;
value = {
@ -267,7 +49,7 @@
}
.end annotation
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
@ -278,136 +60,12 @@
}
.end annotation
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
# virtual methods
.method public a(Lcom/facebook/imagepipeline/image/EncodedImage;Ljava/io/OutputStream;Lf/j/j/d/e;Lf/j/j/d/d;Lf/j/i/c;Ljava/lang/Integer;)Lf/j/j/r/a;
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
if-nez p6, :cond_0
const/16 p5, 0x55
invoke-static {p5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p6
:cond_0
if-nez p3, :cond_1
sget-object p3, Lf/j/j/d/e;->c:Lf/j/j/d/e;
:cond_1
iget p5, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->b:I
invoke-static {p3, p4, p1, p5}, Ls/a/b/b/a;->a(Lf/j/j/d/e;Lf/j/j/d/d;Lcom/facebook/imagepipeline/image/EncodedImage;I)I
move-result p5
const/4 v0, 0x0
:try_start_0
iget-boolean v1, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->a:Z
invoke-static {p3, p4, p1, v1}, Lf/j/j/r/d;->a(Lf/j/j/d/e;Lf/j/j/d/d;Lcom/facebook/imagepipeline/image/EncodedImage;Z)I
move-result p4
const/16 v1, 0x8
div-int/2addr v1, p5
const/4 v2, 0x1
invoke-static {v2, v1}, Ljava/lang/Math;->max(II)I
move-result v1
iget-boolean v3, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->c:Z
if-eqz v3, :cond_2
move p4, v1
:cond_2
invoke-virtual {p1}, Lcom/facebook/imagepipeline/image/EncodedImage;->h()Ljava/io/InputStream;
move-result-object v0
sget-object v1, Lf/j/j/r/d;->a:Lf/j/d/d/d;
invoke-virtual {p1}, Lcom/facebook/imagepipeline/image/EncodedImage;->e()I
move-result v3
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_3
invoke-static {p3, p1}, Lf/j/j/r/d;->a(Lf/j/j/d/e;Lcom/facebook/imagepipeline/image/EncodedImage;)I
move-result p1
invoke-virtual {p6}, Ljava/lang/Integer;->intValue()I
move-result p3
invoke-static {v0, p2, p1, p4, p3}, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->b(Ljava/io/InputStream;Ljava/io/OutputStream;III)V
goto :goto_0
:cond_3
invoke-static {p3, p1}, Lf/j/j/r/d;->b(Lf/j/j/d/e;Lcom/facebook/imagepipeline/image/EncodedImage;)I
move-result p1
invoke-virtual {p6}, Ljava/lang/Integer;->intValue()I
move-result p3
invoke-static {v0, p2, p1, p4, p3}, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->a(Ljava/io/InputStream;Ljava/io/OutputStream;III)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:goto_0
invoke-static {v0}, Lf/j/d/d/a;->a(Ljava/io/InputStream;)V
new-instance p1, Lf/j/j/r/a;
if-ne p5, v2, :cond_4
goto :goto_1
:cond_4
const/4 v2, 0x0
:goto_1
invoke-direct {p1, v2}, Lf/j/j/r/a;-><init>(I)V
return-object p1
:catchall_0
move-exception p1
invoke-static {v0}, Lf/j/d/d/a;->a(Ljava/io/InputStream;)V
throw p1
.end method
.method public a()Ljava/lang/String;
.locals 1
@ -416,17 +74,17 @@
return-object v0
.end method
.method public a(Lcom/facebook/imagepipeline/image/EncodedImage;Lf/j/j/d/e;Lf/j/j/d/d;)Z
.method public b(Lcom/facebook/imagepipeline/image/EncodedImage;Lf/h/j/d/e;Lf/h/j/d/d;)Z
.locals 1
if-nez p2, :cond_0
sget-object p2, Lf/j/j/d/e;->c:Lf/j/j/d/e;
sget-object p2, Lf/h/j/d/e;->c:Lf/h/j/d/e;
:cond_0
iget-boolean v0, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->a:Z
invoke-static {p2, p3, p1, v0}, Lf/j/j/r/d;->a(Lf/j/j/d/e;Lf/j/j/d/d;Lcom/facebook/imagepipeline/image/EncodedImage;Z)I
invoke-static {p2, p3, p1, v0}, Lf/h/j/s/d;->c(Lf/h/j/d/e;Lf/h/j/d/d;Lcom/facebook/imagepipeline/image/EncodedImage;Z)I
move-result p1
@ -445,10 +103,327 @@
return p1
.end method
.method public a(Lf/j/i/c;)Z
.method public c(Lcom/facebook/imagepipeline/image/EncodedImage;Ljava/io/OutputStream;Lf/h/j/d/e;Lf/h/j/d/d;Lf/h/i/c;Ljava/lang/Integer;)Lf/h/j/s/a;
.locals 9
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
if-nez p6, :cond_0
const/16 p5, 0x55
invoke-static {p5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p6
:cond_0
if-nez p3, :cond_1
sget-object p3, Lf/h/j/d/e;->c:Lf/h/j/d/e;
:cond_1
iget p5, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->b:I
invoke-static {p3, p4, p1, p5}, Ld0/a/b/b/a;->A(Lf/h/j/d/e;Lf/h/j/d/d;Lcom/facebook/imagepipeline/image/EncodedImage;I)I
move-result p5
const/4 v0, 0x0
:try_start_0
iget-boolean v1, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->a:Z
invoke-static {p3, p4, p1, v1}, Lf/h/j/s/d;->c(Lf/h/j/d/e;Lf/h/j/d/d;Lcom/facebook/imagepipeline/image/EncodedImage;Z)I
move-result p4
const/16 v1, 0x8
div-int v2, v1, p5
const/4 v3, 0x1
invoke-static {v3, v2}, Ljava/lang/Math;->max(II)I
move-result v2
iget-boolean v4, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->c:Z
if-eqz v4, :cond_2
move p4, v2
:cond_2
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/h/j/s/d;->a:Lf/h/d/d/d;
invoke-virtual {p1}, Lcom/facebook/imagepipeline/image/EncodedImage;->q()V
iget v5, p1, Lcom/facebook/imagepipeline/image/EncodedImage;->h:I
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v5
invoke-virtual {v4, v5}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
move-result v4
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
const-string v5, "no transformation requested"
const/16 v6, 0x64
const/16 v7, 0x10
const/4 v8, 0x0
if-eqz v4, :cond_b
:try_start_2
invoke-static {p3, p1}, Lf/h/j/s/d;->a(Lf/h/j/d/e;Lcom/facebook/imagepipeline/image/EncodedImage;)I
move-result p1
invoke-virtual {p6}, Ljava/lang/Integer;->intValue()I
move-result p3
invoke-static {}, Lf/h/j/m/b;->a()V
if-lt p4, v3, :cond_3
const/4 p6, 0x1
goto :goto_0
:cond_3
const/4 p6, 0x0
:goto_0
invoke-static {p6}, Ld0/a/b/b/a;->h(Z)V
if-gt p4, v7, :cond_4
const/4 p6, 0x1
goto :goto_1
:cond_4
const/4 p6, 0x0
:goto_1
invoke-static {p6}, Ld0/a/b/b/a;->h(Z)V
if-ltz p3, :cond_5
const/4 p6, 0x1
goto :goto_2
:cond_5
const/4 p6, 0x0
:goto_2
invoke-static {p6}, Ld0/a/b/b/a;->h(Z)V
if-gt p3, v6, :cond_6
const/4 p6, 0x1
goto :goto_3
:cond_6
const/4 p6, 0x0
:goto_3
invoke-static {p6}, Ld0/a/b/b/a;->h(Z)V
invoke-static {p1}, Lf/h/j/s/d;->d(I)Z
move-result p6
invoke-static {p6}, Ld0/a/b/b/a;->h(Z)V
if-ne p4, v1, :cond_8
if-eq p1, v3, :cond_7
goto :goto_4
:cond_7
const/4 p6, 0x0
goto :goto_5
:cond_8
:goto_4
const/4 p6, 0x1
:goto_5
invoke-static {p6, v5}, Ld0/a/b/b/a;->i(ZLjava/lang/Object;)V
if-eqz v2, :cond_a
if-eqz p2, :cond_9
invoke-static {v2, p2, p1, p4, p3}, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->nativeTranscodeJpegWithExifOrientation(Ljava/io/InputStream;Ljava/io/OutputStream;III)V
goto :goto_c
:cond_9
throw v0
:cond_a
throw v0
:cond_b
invoke-static {p3, p1}, Lf/h/j/s/d;->b(Lf/h/j/d/e;Lcom/facebook/imagepipeline/image/EncodedImage;)I
move-result p1
invoke-virtual {p6}, Ljava/lang/Integer;->intValue()I
move-result p3
invoke-static {}, Lf/h/j/m/b;->a()V
if-lt p4, v3, :cond_c
const/4 p6, 0x1
goto :goto_6
:cond_c
const/4 p6, 0x0
:goto_6
invoke-static {p6}, Ld0/a/b/b/a;->h(Z)V
if-gt p4, v7, :cond_d
const/4 p6, 0x1
goto :goto_7
:cond_d
const/4 p6, 0x0
:goto_7
invoke-static {p6}, Ld0/a/b/b/a;->h(Z)V
if-ltz p3, :cond_e
const/4 p6, 0x1
goto :goto_8
:cond_e
const/4 p6, 0x0
:goto_8
invoke-static {p6}, Ld0/a/b/b/a;->h(Z)V
if-gt p3, v6, :cond_f
const/4 p6, 0x1
goto :goto_9
:cond_f
const/4 p6, 0x0
:goto_9
invoke-static {p6}, Ld0/a/b/b/a;->h(Z)V
invoke-static {p1}, Lf/h/j/s/d;->e(I)Z
move-result p6
invoke-static {p6}, Ld0/a/b/b/a;->h(Z)V
if-ne p4, v1, :cond_11
if-eqz p1, :cond_10
goto :goto_a
:cond_10
const/4 p6, 0x0
goto :goto_b
:cond_11
:goto_a
const/4 p6, 0x1
:goto_b
invoke-static {p6, v5}, Ld0/a/b/b/a;->i(ZLjava/lang/Object;)V
if-eqz v2, :cond_14
if-eqz p2, :cond_13
invoke-static {v2, p2, p1, p4, p3}, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->nativeTranscodeJpeg(Ljava/io/InputStream;Ljava/io/OutputStream;III)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
:goto_c
invoke-static {v2}, Lf/h/d/d/a;->b(Ljava/io/InputStream;)V
new-instance p1, Lf/h/j/s/a;
if-ne p5, v3, :cond_12
goto :goto_d
:cond_12
const/4 v3, 0x0
:goto_d
invoke-direct {p1, v3}, Lf/h/j/s/a;-><init>(I)V
return-object p1
:cond_13
:try_start_3
throw v0
:cond_14
throw v0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
:catchall_0
move-exception p1
move-object v0, v2
goto :goto_e
:catchall_1
move-exception p1
:goto_e
invoke-static {v0}, Lf/h/d/d/a;->b(Ljava/io/InputStream;)V
throw p1
.end method
.method public d(Lf/h/i/c;)Z
.locals 1
sget-object v0, Lf/j/i/b;->a:Lf/j/i/c;
sget-object v0, Lf/h/i/b;->a:Lf/h/i/c;
if-ne p1, v0, :cond_0

View file

@ -3,11 +3,11 @@
.source "NativeJpegTranscoderFactory.java"
# interfaces
.implements Lf/j/j/r/c;
.implements Lf/h/j/s/c;
# annotations
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
@ -20,7 +20,7 @@
# direct methods
.method public constructor <init>(IZ)V
.locals 0
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
@ -34,12 +34,12 @@
# virtual methods
.method public createImageTranscoder(Lf/j/i/c;Z)Lf/j/j/r/b;
.method public createImageTranscoder(Lf/h/i/c;Z)Lf/h/j/s/b;
.locals 2
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
sget-object v0, Lf/j/i/b;->a:Lf/j/i/c;
sget-object v0, Lf/h/i/b;->a:Lf/h/i/c;
if-eq p1, v0, :cond_0

View file

@ -4,7 +4,7 @@
# annotations
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
@ -14,7 +14,7 @@
const-string v0, "native-filters"
invoke-static {v0}, Lcom/facebook/soloader/SoLoader;->a(Ljava/lang/String;)Z
invoke-static {v0}, Lcom/facebook/soloader/SoLoader;->f(Ljava/lang/String;)Z
return-void
.end method
@ -27,12 +27,27 @@
return-void
.end method
.method public static a(Landroid/graphics/Bitmap;Z)V
.locals 0
if-eqz p0, :cond_0
invoke-static {p0, p1}, Lcom/facebook/imagepipeline/nativecode/NativeRoundingFilter;->nativeToCircleFilter(Landroid/graphics/Bitmap;Z)V
return-void
:cond_0
const/4 p0, 0x0
throw p0
.end method
.method public static native nativeToCircleFilter(Landroid/graphics/Bitmap;Z)V
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method public static native nativeToCircleWithBorderFilter(Landroid/graphics/Bitmap;IIZ)V
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method

View file

@ -2,12 +2,9 @@
.super Ljava/lang/Object;
.source "WebpTranscoderImpl.java"
# interfaces
.implements Lf/j/j/m/d;
# annotations
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
@ -27,7 +24,7 @@
}
.end annotation
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
@ -38,127 +35,6 @@
}
.end annotation
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
# virtual methods
.method public a(Ljava/io/InputStream;Ljava/io/OutputStream;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
invoke-static {}, Ls/a/b/b/a;->b()V
if-eqz p1, :cond_1
if-eqz p2, :cond_0
invoke-static {p1, p2}, Lcom/facebook/imagepipeline/nativecode/WebpTranscoderImpl;->nativeTranscodeWebpToPng(Ljava/io/InputStream;Ljava/io/OutputStream;)V
return-void
:cond_0
new-instance p1, Ljava/lang/NullPointerException;
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
throw p1
:cond_1
new-instance p1, Ljava/lang/NullPointerException;
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
throw p1
.end method
.method public a(Ljava/io/InputStream;Ljava/io/OutputStream;I)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
invoke-static {}, Ls/a/b/b/a;->b()V
if-eqz p1, :cond_1
if-eqz p2, :cond_0
invoke-static {p1, p2, p3}, Lcom/facebook/imagepipeline/nativecode/WebpTranscoderImpl;->nativeTranscodeWebpToJpeg(Ljava/io/InputStream;Ljava/io/OutputStream;I)V
return-void
:cond_0
new-instance p1, Ljava/lang/NullPointerException;
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
throw p1
:cond_1
new-instance p1, Ljava/lang/NullPointerException;
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
throw p1
.end method
.method public a(Lf/j/i/c;)Z
.locals 1
sget-object v0, Lf/j/i/b;->f:Lf/j/i/c;
if-ne p1, v0, :cond_0
sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
const/4 p1, 0x1
return p1
:cond_0
sget-object v0, Lf/j/i/b;->g:Lf/j/i/c;
if-eq p1, v0, :cond_3
sget-object v0, Lf/j/i/b;->h:Lf/j/i/c;
if-eq p1, v0, :cond_3
sget-object v0, Lf/j/i/b;->i:Lf/j/i/c;
if-ne p1, v0, :cond_1
goto :goto_0
:cond_1
sget-object v0, Lf/j/i/b;->j:Lf/j/i/c;
if-ne p1, v0, :cond_2
const/4 p1, 0x0
return p1
:cond_2
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "Image format is not a WebP."
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_3
:goto_0
sget-boolean p1, Lf/j/d/n/c;->b:Z
return p1
.end method

View file

@ -4,7 +4,7 @@
# annotations
.annotation build Lf/j/m/d;
.annotation build Lf/h/m/d;
.end annotation
@ -25,7 +25,7 @@
value = 0x1a
.end annotation
.annotation build Lf/j/m/d;
.annotation build Lf/h/m/d;
.end annotation
sget-object v0, Landroid/graphics/Bitmap$Config;->HARDWARE:Landroid/graphics/Bitmap$Config;

View file

@ -0,0 +1,111 @@
.class public final enum Lcom/facebook/imagepipeline/request/ImageRequest$a;
.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 = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/facebook/imagepipeline/request/ImageRequest$a;",
">;"
}
.end annotation
# static fields
.field public static final enum d:Lcom/facebook/imagepipeline/request/ImageRequest$a;
.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
.method public constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
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

View file

@ -0,0 +1,149 @@
.class public final enum Lcom/facebook/imagepipeline/request/ImageRequest$b;
.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 = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/facebook/imagepipeline/request/ImageRequest$b;",
">;"
}
.end annotation
# static fields
.field public static final enum d:Lcom/facebook/imagepipeline/request/ImageRequest$b;
.field public static final enum e: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 7
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest$b;
const-string v1, "FULL_FETCH"
const/4 v2, 0x0
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, "DISK_CACHE"
const/4 v4, 0x2
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;
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest$b;
const-string v1, "ENCODED_MEMORY_CACHE"
const/4 v5, 0x3
invoke-direct {v0, v1, v4, v5}, Lcom/facebook/imagepipeline/request/ImageRequest$b;-><init>(Ljava/lang/String;II)V
sput-object v0, 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;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$b;->mValue:I
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/facebook/imagepipeline/request/ImageRequest$b;
.locals 1
const-class v0, Lcom/facebook/imagepipeline/request/ImageRequest$b;
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$b;
return-object p0
.end method
.method public static values()[Lcom/facebook/imagepipeline/request/ImageRequest$b;
.locals 1
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;
move-result-object v0
check-cast v0, [Lcom/facebook/imagepipeline/request/ImageRequest$b;
return-object v0
.end method

View file

@ -0,0 +1,606 @@
.class public Lcom/facebook/imagepipeline/request/ImageRequest;
.super Ljava/lang/Object;
.source "ImageRequest.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/imagepipeline/request/ImageRequest$b;,
Lcom/facebook/imagepipeline/request/ImageRequest$a;
}
.end annotation
# instance fields
.field public final a:Lcom/facebook/imagepipeline/request/ImageRequest$a;
.field public final b:Landroid/net/Uri;
.field public final c:I
.field public d:Ljava/io/File;
.field public final e:Z
.field public final f:Z
.field public final g:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
.field public final h:Lf/h/j/d/d;
.field public final i:Lf/h/j/d/e;
.field public final j:Lf/h/j/d/a;
.field public final k:Lf/h/j/d/c;
.field public final l:Lcom/facebook/imagepipeline/request/ImageRequest$b;
.field public final m:Z
.field public final n:Z
.field public final o:Ljava/lang/Boolean;
.field public final p:Lf/h/j/q/b;
.field public final q:Lf/h/j/k/c;
.field public final r:Ljava/lang/Boolean;
# direct methods
.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$a;
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;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->b:Landroid/net/Uri;
const/4 v1, 0x1
const/4 v2, 0x0
if-nez v0, :cond_0
goto/16 :goto_1
:cond_0
invoke-static {v0}, Lf/h/d/l/b;->f(Landroid/net/Uri;)Z
move-result v3
if-eqz v3, :cond_1
const/4 v0, 0x0
goto :goto_2
:cond_1
invoke-static {v0}, Lf/h/d/l/b;->e(Landroid/net/Uri;)Z
move-result v3
if-eqz v3, :cond_4
invoke-virtual {v0}, Landroid/net/Uri;->getPath()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lf/h/d/f/a;->a(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_2
const-string v3, "video/"
invoke-virtual {v0, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_2
const/4 v0, 0x1
goto :goto_0
:cond_2
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_3
const/4 v0, 0x2
goto :goto_2
:cond_3
const/4 v0, 0x3
goto :goto_2
:cond_4
invoke-static {v0}, Lf/h/d/l/b;->d(Landroid/net/Uri;)Z
move-result v3
if-eqz v3, :cond_5
const/4 v0, 0x4
goto :goto_2
:cond_5
invoke-static {v0}, Lf/h/d/l/b;->a(Landroid/net/Uri;)Ljava/lang/String;
move-result-object v3
const-string v4, "asset"
invoke-virtual {v4, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_6
const/4 v0, 0x5
goto :goto_2
:cond_6
invoke-static {v0}, Lf/h/d/l/b;->a(Landroid/net/Uri;)Ljava/lang/String;
move-result-object v3
const-string v4, "res"
invoke-virtual {v4, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_7
const/4 v0, 0x6
goto :goto_2
:cond_7
invoke-static {v0}, Lf/h/d/l/b;->a(Landroid/net/Uri;)Ljava/lang/String;
move-result-object v3
const-string v4, "data"
invoke-virtual {v4, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_8
const/4 v0, 0x7
goto :goto_2
:cond_8
invoke-static {v0}, Lf/h/d/l/b;->a(Landroid/net/Uri;)Ljava/lang/String;
move-result-object v0
const-string v3, "android.resource"
invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_9
const/16 v0, 0x8
goto :goto_2
:cond_9
:goto_1
const/4 v0, -0x1
:goto_2
iput v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->c:I
iget-boolean v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->g:Z
iput-boolean v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->e:Z
iget-boolean v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->h:Z
iput-boolean v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->f:Z
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:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->c:Lf/h/j/d/d;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->h:Lf/h/j/d/d;
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->d:Lf/h/j/d/e;
if-nez v0, :cond_a
sget-object v0, Lf/h/j/d/e;->c:Lf/h/j/d/e;
:cond_a
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/h/j/d/e;
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->o:Lf/h/j/d/a;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->j:Lf/h/j/d/a;
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->i:Lf/h/j/d/c;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->k:Lf/h/j/d/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$b;
iget-boolean v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->k:Z
if-eqz v0, :cond_b
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->a:Landroid/net/Uri;
invoke-static {v0}, Lf/h/d/l/b;->f(Landroid/net/Uri;)Z
move-result v0
if-eqz v0, :cond_b
goto :goto_3
:cond_b
const/4 v1, 0x0
:goto_3
iput-boolean v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->m:Z
iget-boolean v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->l:Z
iput-boolean v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->n:Z
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->m:Ljava/lang/Boolean;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->o:Ljava/lang/Boolean;
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->j:Lf/h/j/q/b;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/h/j/q/b;
iget-object v0, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->n:Lf/h/j/k/c;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->q:Lf/h/j/k/c;
iget-object p1, p1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->p:Ljava/lang/Boolean;
iput-object p1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->r:Ljava/lang/Boolean;
return-void
.end method
# virtual methods
.method public declared-synchronized a()Ljava/io/File;
.locals 2
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->d:Ljava/io/File;
if-nez v0, :cond_0
new-instance v0, Ljava/io/File;
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->b:Landroid/net/Uri;
invoke-virtual {v1}, Landroid/net/Uri;->getPath()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->d:Ljava/io/File;
:cond_0
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->d:Ljava/io/File;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 3
instance-of v0, p1, Lcom/facebook/imagepipeline/request/ImageRequest;
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
check-cast p1, Lcom/facebook/imagepipeline/request/ImageRequest;
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}, Ld0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_4
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$a;
invoke-static {v0, v2}, Ld0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
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}, Ld0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_4
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->j:Lf/h/j/d/a;
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->j:Lf/h/j/d/a;
invoke-static {v0, v2}, Ld0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_4
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:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
invoke-static {v0, v2}, Ld0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_4
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->h:Lf/h/j/d/d;
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->h:Lf/h/j/d/d;
invoke-static {v0, v2}, Ld0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_4
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/h/j/d/e;
iget-object v2, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/h/j/d/e;
invoke-static {v0, v2}, Ld0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_1
goto :goto_1
:cond_1
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/h/j/q/b;
const/4 v1, 0x0
if-eqz v0, :cond_2
invoke-interface {v0}, Lf/h/j/q/b;->getPostprocessorCacheKey()Lcom/facebook/cache/common/CacheKey;
move-result-object v0
goto :goto_0
:cond_2
move-object v0, v1
:goto_0
iget-object p1, p1, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/h/j/q/b;
if-eqz p1, :cond_3
invoke-interface {p1}, Lf/h/j/q/b;->getPostprocessorCacheKey()Lcom/facebook/cache/common/CacheKey;
move-result-object v1
:cond_3
invoke-static {v0, v1}, Ld0/a/b/b/a;->D(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
return p1
:cond_4
:goto_1
return v1
.end method
.method public hashCode()I
.locals 4
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/h/j/q/b;
if-eqz v0, :cond_0
invoke-interface {v0}, Lf/h/j/q/b;->getPostprocessorCacheKey()Lcom/facebook/cache/common/CacheKey;
move-result-object v0
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
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$a;
aput-object v3, v1, v2
const/4 v2, 0x1
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->b:Landroid/net/Uri;
aput-object v3, v1, v2
const/4 v2, 0x2
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->d:Ljava/io/File;
aput-object v3, v1, v2
const/4 v2, 0x3
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->j:Lf/h/j/d/a;
aput-object v3, v1, v2
const/4 v2, 0x4
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;->h:Lf/h/j/d/d;
aput-object v3, v1, v2
const/4 v2, 0x6
iget-object v3, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/h/j/d/e;
aput-object v3, v1, v2
const/4 v2, 0x7
aput-object v0, v1, v2
const/16 v0, 0x8
iget-object v2, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->r:Ljava/lang/Boolean;
aput-object v2, v1, v0
invoke-static {v1}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I
move-result v0
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
invoke-static {p0}, Ld0/a/b/b/a;->T0(Ljava/lang/Object;)Lf/h/d/d/g;
move-result-object v0
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->b:Landroid/net/Uri;
const-string v2, "uri"
invoke-virtual {v0, v2, v1}, Lf/h/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/h/d/d/g;
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/h/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/h/d/d/g;
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/h/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/h/d/d/g;
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/h/j/q/b;
const-string v2, "postprocessor"
invoke-virtual {v0, v2, v1}, Lf/h/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/h/d/d/g;
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->k:Lf/h/j/d/c;
const-string v2, "priority"
invoke-virtual {v0, v2, v1}, Lf/h/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/h/d/d/g;
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->h:Lf/h/j/d/d;
const-string v2, "resizeOptions"
invoke-virtual {v0, v2, v1}, Lf/h/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/h/d/d/g;
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->i:Lf/h/j/d/e;
const-string v2, "rotationOptions"
invoke-virtual {v0, v2, v1}, Lf/h/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/h/d/d/g;
iget-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequest;->j:Lf/h/j/d/a;
const-string v2, "bytesRange"
invoke-virtual {v0, v2, v1}, Lf/h/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/h/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/h/d/d/g;->b(Ljava/lang/String;Ljava/lang/Object;)Lf/h/d/d/g;
invoke-virtual {v0}, Lf/h/d/d/g;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View file

@ -1,4 +1,4 @@
.class public Lcom/facebook/imagepipeline/request/ImageRequestBuilder$a;
.class public Lcom/facebook/imagepipeline/request/ImageRequestBuilder$BuilderException;
.super Ljava/lang/RuntimeException;
.source "ImageRequestBuilder.java"
@ -10,7 +10,7 @@
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
name = "BuilderException"
.end annotation
@ -20,7 +20,7 @@
const-string v0, "Invalid request builder: "
invoke-static {v0, p1}, Lf/e/b/a/a;->a(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

View file

@ -6,7 +6,7 @@
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/imagepipeline/request/ImageRequestBuilder$a;
Lcom/facebook/imagepipeline/request/ImageRequestBuilder$BuilderException;
}
.end annotation
@ -14,23 +14,23 @@
# instance fields
.field public a:Landroid/net/Uri;
.field public b:Lf/j/j/p/c$b;
.field public b:Lcom/facebook/imagepipeline/request/ImageRequest$b;
.field public c:Lf/j/j/d/d;
.field public c:Lf/h/j/d/d;
.field public d:Lf/j/j/d/e;
.field public d:Lf/h/j/d/e;
.field public e:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
.field public f:Lf/j/j/p/c$a;
.field public f:Lcom/facebook/imagepipeline/request/ImageRequest$a;
.field public g:Z
.field public h:Z
.field public i:Lf/j/j/d/c;
.field public i:Lf/h/j/d/c;
.field public j:Lf/j/j/p/d;
.field public j:Lf/h/j/q/b;
.field public k:Z
@ -38,9 +38,9 @@
.field public m:Ljava/lang/Boolean;
.field public n:Lf/j/j/k/c;
.field public n:Lf/h/j/k/c;
.field public o:Lf/j/j/d/a;
.field public o:Lf/h/j/d/a;
.field public p:Ljava/lang/Boolean;
@ -55,25 +55,25 @@
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->a:Landroid/net/Uri;
sget-object v1, Lf/j/j/p/c$b;->d:Lf/j/j/p/c$b;
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:Lf/j/j/p/c$b;
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/j/j/d/d;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->c:Lf/h/j/d/d;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->d:Lf/j/j/d/e;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->d:Lf/h/j/d/e;
sget-object v1, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->j:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
iput-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->e:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
sget-object v1, Lf/j/j/p/c$a;->e:Lf/j/j/p/c$a;
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:Lf/j/j/p/c$a;
iput-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->f:Lcom/facebook/imagepipeline/request/ImageRequest$a;
sget-object v1, Lf/j/j/e/k;->C:Lf/j/j/e/k$b;
sget-object v1, Lf/h/j/e/k;->D:Lf/h/j/e/k$b;
iget-boolean v1, v1, Lf/j/j/e/k$b;->a:Z
iget-boolean v1, v1, Lf/h/j/e/k$b;->a:Z
iput-boolean v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->g:Z
@ -81,11 +81,11 @@
iput-boolean v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->h:Z
sget-object v1, Lf/j/j/d/c;->f:Lf/j/j/d/c;
sget-object v1, Lf/h/j/d/c;->f:Lf/h/j/d/c;
iput-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->i:Lf/j/j/d/c;
iput-object v1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->i:Lf/h/j/d/c;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->j:Lf/j/j/p/d;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->j:Lf/h/j/q/b;
const/4 v1, 0x1
@ -95,7 +95,7 @@
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->m:Ljava/lang/Boolean;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->o:Lf/j/j/d/a;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->o:Lf/h/j/d/a;
iput-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->p:Ljava/lang/Boolean;
@ -109,294 +109,28 @@
invoke-direct {v0}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;-><init>()V
invoke-virtual {v0, p0}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->a(Landroid/net/Uri;)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
if-eqz p0, :cond_0
move-result-object p0
iput-object p0, v0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->a:Landroid/net/Uri;
return-object p0
return-object v0
:cond_0
const/4 p0, 0x0
throw p0
.end method
# virtual methods
.method public a(Landroid/net/Uri;)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
.locals 0
if-eqz p1, :cond_0
iput-object p1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->a:Landroid/net/Uri;
return-object p0
:cond_0
new-instance p1, Ljava/lang/NullPointerException;
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
throw p1
.end method
.method public a(Lcom/facebook/imagepipeline/common/ImageDecodeOptions;)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
.locals 0
iput-object p1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->e:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
return-object p0
.end method
.method public a(Lf/j/j/d/a;)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
.locals 0
iput-object p1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->o:Lf/j/j/d/a;
return-object p0
.end method
.method public a(Lf/j/j/d/c;)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
.locals 0
iput-object p1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->i:Lf/j/j/d/c;
return-object p0
.end method
.method public a(Lf/j/j/d/d;)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
.locals 0
iput-object p1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->c:Lf/j/j/d/d;
return-object p0
.end method
.method public a(Lf/j/j/d/e;)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
.locals 0
iput-object p1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->d:Lf/j/j/d/e;
return-object p0
.end method
.method public a(Lf/j/j/k/c;)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
.locals 0
iput-object p1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->n:Lf/j/j/k/c;
return-object p0
.end method
.method public a(Lf/j/j/p/c$a;)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
.locals 0
iput-object p1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->f:Lf/j/j/p/c$a;
return-object p0
.end method
.method public a(Lf/j/j/p/c$b;)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
.locals 0
iput-object p1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->b:Lf/j/j/p/c$b;
return-object p0
.end method
.method public a(Lf/j/j/p/d;)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
.locals 0
iput-object p1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->j:Lf/j/j/p/d;
return-object p0
.end method
.method public a(Ljava/lang/Boolean;)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
.locals 0
iput-object p1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->m:Ljava/lang/Boolean;
return-object p0
.end method
.method public a(Z)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
.locals 0
iput-boolean p1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->h:Z
return-object p0
.end method
.method public a()Lf/j/j/p/c;
.locals 1
invoke-virtual {p0}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->r()V
new-instance v0, Lf/j/j/p/c;
invoke-direct {v0, p0}, Lf/j/j/p/c;-><init>(Lcom/facebook/imagepipeline/request/ImageRequestBuilder;)V
return-object v0
.end method
.method public b(Z)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
.locals 0
iput-boolean p1, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->g:Z
return-object p0
.end method
.method public b()Lf/j/j/d/a;
.locals 1
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->o:Lf/j/j/d/a;
return-object v0
.end method
.method public c()Lf/j/j/p/c$a;
.locals 1
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->f:Lf/j/j/p/c$a;
return-object v0
.end method
.method public d()Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
.locals 1
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->e:Lcom/facebook/imagepipeline/common/ImageDecodeOptions;
return-object v0
.end method
.method public e()Lf/j/j/p/c$b;
.locals 1
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->b:Lf/j/j/p/c$b;
return-object v0
.end method
.method public f()Lf/j/j/p/d;
.locals 1
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->j:Lf/j/j/p/d;
return-object v0
.end method
.method public g()Lf/j/j/k/c;
.locals 1
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->n:Lf/j/j/k/c;
return-object v0
.end method
.method public h()Lf/j/j/d/c;
.locals 1
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->i:Lf/j/j/d/c;
return-object v0
.end method
.method public i()Lf/j/j/d/d;
.locals 1
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->c:Lf/j/j/d/d;
return-object v0
.end method
.method public j()Ljava/lang/Boolean;
.locals 1
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->p:Ljava/lang/Boolean;
return-object v0
.end method
.method public k()Lf/j/j/d/e;
.locals 1
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->d:Lf/j/j/d/e;
return-object v0
.end method
.method public l()Landroid/net/Uri;
.locals 1
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->a:Landroid/net/Uri;
return-object v0
.end method
.method public m()Z
.locals 1
iget-boolean v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->k:Z
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->a:Landroid/net/Uri;
invoke-static {v0}, Lf/j/d/m/c;->g(Landroid/net/Uri;)Z
move-result v0
if-eqz v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public n()Z
.locals 1
iget-boolean v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->h:Z
return v0
.end method
.method public o()Z
.locals 1
iget-boolean v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->l:Z
return v0
.end method
.method public p()Z
.locals 1
iget-boolean v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->g:Z
return v0
.end method
.method public q()Ljava/lang/Boolean;
.locals 1
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->m:Ljava/lang/Boolean;
return-object v0
.end method
.method public r()V
.method public a()Lcom/facebook/imagepipeline/request/ImageRequest;
.locals 2
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->a:Landroid/net/Uri;
if-eqz v0, :cond_5
invoke-static {v0}, Lf/j/d/m/c;->a(Landroid/net/Uri;)Ljava/lang/String;
invoke-static {v0}, Lf/h/d/l/b;->a(Landroid/net/Uri;)Ljava/lang/String;
move-result-object v0
@ -448,29 +182,29 @@
goto :goto_0
:catch_0
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$a;
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$BuilderException;
const-string v1, "Resource URI path must be a resource id."
invoke-direct {v0, v1}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$a;-><init>(Ljava/lang/String;)V
invoke-direct {v0, v1}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$BuilderException;-><init>(Ljava/lang/String;)V
throw v0
:cond_0
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$a;
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$BuilderException;
const-string v1, "Resource URI must not be empty"
invoke-direct {v0, v1}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$a;-><init>(Ljava/lang/String;)V
invoke-direct {v0, v1}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$BuilderException;-><init>(Ljava/lang/String;)V
throw v0
:cond_1
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$a;
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$BuilderException;
const-string v1, "Resource URI path must be absolute."
invoke-direct {v0, v1}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$a;-><init>(Ljava/lang/String;)V
invoke-direct {v0, v1}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$BuilderException;-><init>(Ljava/lang/String;)V
throw v0
@ -478,7 +212,7 @@
:goto_0
iget-object v0, p0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->a:Landroid/net/Uri;
invoke-static {v0}, Lf/j/d/m/c;->a(Landroid/net/Uri;)Ljava/lang/String;
invoke-static {v0}, Lf/h/d/l/b;->a(Landroid/net/Uri;)Ljava/lang/String;
move-result-object v0
@ -501,24 +235,28 @@
goto :goto_1
:cond_3
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$a;
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$BuilderException;
const-string v1, "Asset URI path must be absolute."
invoke-direct {v0, v1}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$a;-><init>(Ljava/lang/String;)V
invoke-direct {v0, v1}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$BuilderException;-><init>(Ljava/lang/String;)V
throw v0
:cond_4
:goto_1
return-void
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequest;
invoke-direct {v0, p0}, Lcom/facebook/imagepipeline/request/ImageRequest;-><init>(Lcom/facebook/imagepipeline/request/ImageRequestBuilder;)V
return-object v0
:cond_5
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$a;
new-instance v0, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$BuilderException;
const-string v1, "Source must be set!"
invoke-direct {v0, v1}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$a;-><init>(Ljava/lang/String;)V
invoke-direct {v0, v1}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder$BuilderException;-><init>(Ljava/lang/String;)V
throw v0
.end method