Changes of com.discord v1323

This commit is contained in:
root 2020-11-12 01:09:57 +00:00
parent 1234c09f33
commit d9d9f382c9
28241 changed files with 0 additions and 4903974 deletions

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/animated/drawable/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,158 +0,0 @@
.class public Lcom/facebook/animated/gif/GifFrame;
.super Ljava/lang/Object;
.source "GifFrame.java"
# interfaces
.implements Lf/g/j/a/a/d;
# instance fields
.field public mNativeContext:J
.annotation build Lf/g/d/d/c;
.end annotation
.end field
# direct methods
.method public constructor <init>(J)V
.locals 0
.annotation build Lf/g/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-wide p1, p0, Lcom/facebook/animated/gif/GifFrame;->mNativeContext:J
return-void
.end method
.method private native nativeDispose()V
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeFinalize()V
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetDisposalMode()I
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetDurationMs()I
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetHeight()I
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetTransparentPixelColor()I
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetWidth()I
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetXOffset()I
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetYOffset()I
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeHasTransparency()Z
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeRenderFrame(IILandroid/graphics/Bitmap;)V
.annotation build Lf/g/d/d/c;
.end annotation
.end method
# virtual methods
.method public a(IILandroid/graphics/Bitmap;)V
.locals 0
invoke-direct {p0, p1, p2, p3}, Lcom/facebook/animated/gif/GifFrame;->nativeRenderFrame(IILandroid/graphics/Bitmap;)V
return-void
.end method
.method public b()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetXOffset()I
move-result v0
return v0
.end method
.method public c()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetYOffset()I
move-result v0
return v0
.end method
.method public d()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetDisposalMode()I
move-result v0
return v0
.end method
.method public dispose()V
.locals 0
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeDispose()V
return-void
.end method
.method public finalize()V
.locals 0
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeFinalize()V
return-void
.end method
.method public getHeight()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetHeight()I
move-result v0
return v0
.end method
.method public getWidth()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetWidth()I
move-result v0
return v0
.end method

View file

@ -1,399 +0,0 @@
.class public Lcom/facebook/animated/gif/GifImage;
.super Ljava/lang/Object;
.source "GifImage.java"
# interfaces
.implements Lf/g/j/a/a/c;
.implements Lf/g/j/a/b/c;
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# static fields
.field public static volatile a:Z
# instance fields
.field public mNativeContext:J
.annotation build Lf/g/d/d/c;
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 0
.annotation build Lf/g/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public constructor <init>(J)V
.locals 0
.annotation build Lf/g/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-wide p1, p0, Lcom/facebook/animated/gif/GifImage;->mNativeContext:J
return-void
.end method
.method public static declared-synchronized j()V
.locals 2
const-class v0, Lcom/facebook/animated/gif/GifImage;
monitor-enter v0
:try_start_0
sget-boolean v1, Lcom/facebook/animated/gif/GifImage;->a:Z
if-nez v1, :cond_0
const/4 v1, 0x1
sput-boolean v1, Lcom/facebook/animated/gif/GifImage;->a:Z
const-string v1, "gifimage"
invoke-static {v1}, Lf/g/m/o/a;->c(Ljava/lang/String;)Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_0
monitor-exit v0
return-void
:catchall_0
move-exception v1
monitor-exit v0
throw v1
.end method
.method public static native nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;IZ)Lcom/facebook/animated/gif/GifImage;
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static native nativeCreateFromFileDescriptor(IIZ)Lcom/facebook/animated/gif/GifImage;
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static native nativeCreateFromNativeMemory(JIIZ)Lcom/facebook/animated/gif/GifImage;
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeDispose()V
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeFinalize()V
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetDuration()I
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetFrame(I)Lcom/facebook/animated/gif/GifFrame;
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetFrameCount()I
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetFrameDurations()[I
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetHeight()I
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetLoopCount()I
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetSizeInBytes()I
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeGetWidth()I
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method private native nativeIsAnimated()Z
.annotation build Lf/g/d/d/c;
.end annotation
.end method
# virtual methods
.method public a()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeGetFrameCount()I
move-result v0
return v0
.end method
.method public b()I
.locals 3
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeGetLoopCount()I
move-result v0
const/4 v1, -0x1
const/4 v2, 0x1
if-eq v0, v1, :cond_1
if-eqz v0, :cond_0
add-int/2addr v0, v2
return v0
:cond_0
const/4 v0, 0x0
return v0
:cond_1
return v2
.end method
.method public c(Ljava/nio/ByteBuffer;Lf/g/j/d/b;)Lf/g/j/a/a/c;
.locals 1
invoke-static {}, Lcom/facebook/animated/gif/GifImage;->j()V
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->rewind()Ljava/nio/Buffer;
iget v0, p2, Lf/g/j/d/b;->b:I
iget-boolean p2, p2, Lf/g/j/d/b;->f:Z
invoke-static {p1, v0, p2}, Lcom/facebook/animated/gif/GifImage;->nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;IZ)Lcom/facebook/animated/gif/GifImage;
move-result-object p1
return-object p1
.end method
.method public d(I)Lf/g/j/a/a/d;
.locals 0
invoke-direct {p0, p1}, Lcom/facebook/animated/gif/GifImage;->nativeGetFrame(I)Lcom/facebook/animated/gif/GifFrame;
move-result-object p1
return-object p1
.end method
.method public e()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public f(I)Lf/g/j/a/a/b;
.locals 10
invoke-direct {p0, p1}, Lcom/facebook/animated/gif/GifImage;->nativeGetFrame(I)Lcom/facebook/animated/gif/GifFrame;
move-result-object v0
:try_start_0
new-instance v9, Lf/g/j/a/a/b;
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->b()I
move-result v3
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->c()I
move-result v4
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->getWidth()I
move-result v5
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->getHeight()I
move-result v6
sget-object v7, Lf/g/j/a/a/b$a;->d:Lf/g/j/a/a/b$a;
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->d()I
move-result v1
sget-object v2, Lf/g/j/a/a/b$b;->d:Lf/g/j/a/a/b$b;
if-nez v1, :cond_0
goto :goto_1
:cond_0
const/4 v8, 0x1
if-ne v1, v8, :cond_1
goto :goto_1
:cond_1
const/4 v8, 0x2
if-ne v1, v8, :cond_2
sget-object v1, Lf/g/j/a/a/b$b;->e:Lf/g/j/a/a/b$b;
goto :goto_0
:cond_2
const/4 v8, 0x3
if-ne v1, v8, :cond_3
sget-object v1, Lf/g/j/a/a/b$b;->f:Lf/g/j/a/a/b$b;
:goto_0
move-object v8, v1
goto :goto_2
:cond_3
:goto_1
move-object v8, v2
:goto_2
move-object v1, v9
move v2, p1
invoke-direct/range {v1 .. v8}, Lf/g/j/a/a/b;-><init>(IIIIILf/g/j/a/a/b$a;Lf/g/j/a/a/b$b;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->dispose()V
return-object v9
:catchall_0
move-exception p1
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->dispose()V
throw p1
.end method
.method public finalize()V
.locals 0
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeFinalize()V
return-void
.end method
.method public g(JILf/g/j/d/b;)Lf/g/j/a/a/c;
.locals 3
invoke-static {}, Lcom/facebook/animated/gif/GifImage;->j()V
const-wide/16 v0, 0x0
cmp-long v2, p1, v0
if-eqz v2, :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;->g(Z)V
iget v0, p4, Lf/g/j/d/b;->b:I
iget-boolean p4, p4, Lf/g/j/d/b;->f:Z
invoke-static {p1, p2, p3, v0, p4}, Lcom/facebook/animated/gif/GifImage;->nativeCreateFromNativeMemory(JIIZ)Lcom/facebook/animated/gif/GifImage;
move-result-object p1
return-object p1
.end method
.method public getHeight()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeGetHeight()I
move-result v0
return v0
.end method
.method public getWidth()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeGetWidth()I
move-result v0
return v0
.end method
.method public h()[I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeGetFrameDurations()[I
move-result-object v0
return-object v0
.end method
.method public i()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeGetSizeInBytes()I
move-result v0
return v0
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/animated/gif/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/animated/webp/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,143 +0,0 @@
.class public Lcom/facebook/animated/webp/WebPFrame;
.super Ljava/lang/Object;
.source "WebPFrame.java"
# interfaces
.implements Lf/g/j/a/a/d;
# instance fields
.field public mNativeContext:J
.annotation build Lf/g/d/d/c;
.end annotation
.end field
# direct methods
.method public constructor <init>(J)V
.locals 0
.annotation build Lf/g/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-wide p1, p0, Lcom/facebook/animated/webp/WebPFrame;->mNativeContext:J
return-void
.end method
.method private native nativeDispose()V
.end method
.method private native nativeFinalize()V
.end method
.method private native nativeGetDurationMs()I
.end method
.method private native nativeGetHeight()I
.end method
.method private native nativeGetWidth()I
.end method
.method private native nativeGetXOffset()I
.end method
.method private native nativeGetYOffset()I
.end method
.method private native nativeIsBlendWithPreviousFrame()Z
.end method
.method private native nativeRenderFrame(IILandroid/graphics/Bitmap;)V
.end method
.method private native nativeShouldDisposeToBackgroundColor()Z
.end method
# virtual methods
.method public a(IILandroid/graphics/Bitmap;)V
.locals 0
invoke-direct {p0, p1, p2, p3}, Lcom/facebook/animated/webp/WebPFrame;->nativeRenderFrame(IILandroid/graphics/Bitmap;)V
return-void
.end method
.method public b()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetXOffset()I
move-result v0
return v0
.end method
.method public c()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetYOffset()I
move-result v0
return v0
.end method
.method public d()Z
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeIsBlendWithPreviousFrame()Z
move-result v0
return v0
.end method
.method public dispose()V
.locals 0
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeDispose()V
return-void
.end method
.method public e()Z
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeShouldDisposeToBackgroundColor()Z
move-result v0
return v0
.end method
.method public finalize()V
.locals 0
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeFinalize()V
return-void
.end method
.method public getHeight()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetHeight()I
move-result v0
return v0
.end method
.method public getWidth()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetWidth()I
move-result v0
return v0
.end method

View file

@ -1,287 +0,0 @@
.class public Lcom/facebook/animated/webp/WebPImage;
.super Ljava/lang/Object;
.source "WebPImage.java"
# interfaces
.implements Lf/g/j/a/a/c;
.implements Lf/g/j/a/b/c;
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# instance fields
.field public mNativeContext:J
.annotation build Lf/g/d/d/c;
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 0
.annotation build Lf/g/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public constructor <init>(J)V
.locals 0
.annotation build Lf/g/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-wide p1, p0, Lcom/facebook/animated/webp/WebPImage;->mNativeContext:J
return-void
.end method
.method public static native nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;)Lcom/facebook/animated/webp/WebPImage;
.end method
.method public static native nativeCreateFromNativeMemory(JI)Lcom/facebook/animated/webp/WebPImage;
.end method
.method private native nativeDispose()V
.end method
.method private native nativeFinalize()V
.end method
.method private native nativeGetDuration()I
.end method
.method private native nativeGetFrame(I)Lcom/facebook/animated/webp/WebPFrame;
.end method
.method private native nativeGetFrameCount()I
.end method
.method private native nativeGetFrameDurations()[I
.end method
.method private native nativeGetHeight()I
.end method
.method private native nativeGetLoopCount()I
.end method
.method private native nativeGetSizeInBytes()I
.end method
.method private native nativeGetWidth()I
.end method
# virtual methods
.method public a()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetFrameCount()I
move-result v0
return v0
.end method
.method public b()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetLoopCount()I
move-result v0
return v0
.end method
.method public c(Ljava/nio/ByteBuffer;Lf/g/j/d/b;)Lf/g/j/a/a/c;
.locals 0
invoke-static {}, Lf/g/j/n/b;->a()V
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->rewind()Ljava/nio/Buffer;
invoke-static {p1}, Lcom/facebook/animated/webp/WebPImage;->nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;)Lcom/facebook/animated/webp/WebPImage;
move-result-object p1
return-object p1
.end method
.method public d(I)Lf/g/j/a/a/d;
.locals 0
invoke-direct {p0, p1}, Lcom/facebook/animated/webp/WebPImage;->nativeGetFrame(I)Lcom/facebook/animated/webp/WebPFrame;
move-result-object p1
return-object p1
.end method
.method public e()Z
.locals 1
const/4 v0, 0x1
return v0
.end method
.method public f(I)Lf/g/j/a/a/b;
.locals 10
invoke-direct {p0, p1}, Lcom/facebook/animated/webp/WebPImage;->nativeGetFrame(I)Lcom/facebook/animated/webp/WebPFrame;
move-result-object v0
:try_start_0
new-instance v9, Lf/g/j/a/a/b;
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->b()I
move-result v3
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->c()I
move-result v4
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->getWidth()I
move-result v5
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->getHeight()I
move-result v6
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->d()Z
move-result v1
if-eqz v1, :cond_0
sget-object v1, Lf/g/j/a/a/b$a;->d:Lf/g/j/a/a/b$a;
goto :goto_0
:cond_0
sget-object v1, Lf/g/j/a/a/b$a;->e:Lf/g/j/a/a/b$a;
:goto_0
move-object v7, v1
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->e()Z
move-result v1
if-eqz v1, :cond_1
sget-object v1, Lf/g/j/a/a/b$b;->e:Lf/g/j/a/a/b$b;
goto :goto_1
:cond_1
sget-object v1, Lf/g/j/a/a/b$b;->d:Lf/g/j/a/a/b$b;
:goto_1
move-object v8, v1
move-object v1, v9
move v2, p1
invoke-direct/range {v1 .. v8}, Lf/g/j/a/a/b;-><init>(IIIIILf/g/j/a/a/b$a;Lf/g/j/a/a/b$b;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->dispose()V
return-object v9
:catchall_0
move-exception p1
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->dispose()V
throw p1
.end method
.method public finalize()V
.locals 0
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeFinalize()V
return-void
.end method
.method public g(JILf/g/j/d/b;)Lf/g/j/a/a/c;
.locals 2
invoke-static {}, Lf/g/j/n/b;->a()V
const-wide/16 v0, 0x0
cmp-long p4, p1, v0
if-eqz p4, :cond_0
const/4 p4, 0x1
goto :goto_0
:cond_0
const/4 p4, 0x0
:goto_0
invoke-static {p4}, Ls/a/b/b/a;->g(Z)V
invoke-static {p1, p2, p3}, Lcom/facebook/animated/webp/WebPImage;->nativeCreateFromNativeMemory(JI)Lcom/facebook/animated/webp/WebPImage;
move-result-object p1
return-object p1
.end method
.method public getHeight()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetHeight()I
move-result v0
return v0
.end method
.method public getWidth()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetWidth()I
move-result v0
return v0
.end method
.method public h()[I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetFrameDurations()[I
move-result-object v0
return-object v0
.end method
.method public i()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetSizeInBytes()I
move-result v0
return v0
.end method

View file

@ -1,17 +0,0 @@
.class public interface abstract Lcom/facebook/cache/common/CacheKey;
.super Ljava/lang/Object;
.source "CacheKey.java"
# virtual methods
.method public abstract a()Z
.end method
.method public abstract b()Ljava/lang/String;
.end method
.method public abstract equals(Ljava/lang/Object;)Z
.end method
.method public abstract hashCode()I
.end method

View file

@ -1,62 +0,0 @@
.class public Lcom/facebook/cache/disk/DiskCacheConfig$a;
.super Ljava/lang/Object;
.source "DiskCacheConfig.java"
# interfaces
.implements Lcom/facebook/common/internal/Supplier;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/facebook/cache/disk/DiskCacheConfig;-><init>(Lcom/facebook/cache/disk/DiskCacheConfig$b;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/facebook/common/internal/Supplier<",
"Ljava/io/File;",
">;"
}
.end annotation
# instance fields
.field public final synthetic a:Lcom/facebook/cache/disk/DiskCacheConfig;
# direct methods
.method public constructor <init>(Lcom/facebook/cache/disk/DiskCacheConfig;)V
.locals 0
iput-object p1, p0, Lcom/facebook/cache/disk/DiskCacheConfig$a;->a:Lcom/facebook/cache/disk/DiskCacheConfig;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public get()Ljava/lang/Object;
.locals 1
iget-object v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig$a;->a:Lcom/facebook/cache/disk/DiskCacheConfig;
iget-object v0, v0, Lcom/facebook/cache/disk/DiskCacheConfig;->k:Landroid/content/Context;
invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object v0
invoke-virtual {v0}, Landroid/content/Context;->getCacheDir()Ljava/io/File;
move-result-object v0
return-object v0
.end method

View file

@ -1,78 +0,0 @@
.class public Lcom/facebook/cache/disk/DiskCacheConfig$b;
.super Ljava/lang/Object;
.source "DiskCacheConfig.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/cache/disk/DiskCacheConfig;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "b"
.end annotation
# instance fields
.field public a:I
.field public b:Ljava/lang/String;
.field public c:Lcom/facebook/common/internal/Supplier;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/internal/Supplier<",
"Ljava/io/File;",
">;"
}
.end annotation
.end field
.field public d:J
.field public e:J
.field public f:J
.field public g:Lf/g/b/b/g;
.field public final h:Landroid/content/Context;
# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/facebook/cache/disk/DiskCacheConfig$a;)V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p2, 0x1
iput p2, p0, Lcom/facebook/cache/disk/DiskCacheConfig$b;->a:I
const-string p2, "image_cache"
iput-object p2, p0, Lcom/facebook/cache/disk/DiskCacheConfig$b;->b:Ljava/lang/String;
const-wide/32 v0, 0x2800000
iput-wide v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig$b;->d:J
const-wide/32 v0, 0xa00000
iput-wide v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig$b;->e:J
const-wide/32 v0, 0x200000
iput-wide v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig$b;->f:J
new-instance p2, Lf/g/b/b/b;
invoke-direct {p2}, Lf/g/b/b/b;-><init>()V
iput-object p2, p0, Lcom/facebook/cache/disk/DiskCacheConfig$b;->g:Lf/g/b/b/g;
iput-object p1, p0, Lcom/facebook/cache/disk/DiskCacheConfig$b;->h:Landroid/content/Context;
return-void
.end method

View file

@ -1,227 +0,0 @@
.class public Lcom/facebook/cache/disk/DiskCacheConfig;
.super Ljava/lang/Object;
.source "DiskCacheConfig.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/cache/disk/DiskCacheConfig$b;
}
.end annotation
# instance fields
.field public final a:I
.field public final b:Ljava/lang/String;
.field public final c:Lcom/facebook/common/internal/Supplier;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/internal/Supplier<",
"Ljava/io/File;",
">;"
}
.end annotation
.end field
.field public final d:J
.field public final e:J
.field public final f:J
.field public final g:Lf/g/b/b/g;
.field public final h:Lf/g/b/a/a;
.field public final i:Lf/g/b/a/b;
.field public final j:Lf/g/d/a/a;
.field public final k:Landroid/content/Context;
.field public final l:Z
# direct methods
.method public constructor <init>(Lcom/facebook/cache/disk/DiskCacheConfig$b;)V
.locals 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iget-object v0, p1, Lcom/facebook/cache/disk/DiskCacheConfig$b;->h:Landroid/content/Context;
iput-object v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig;->k:Landroid/content/Context;
iget-object v1, p1, Lcom/facebook/cache/disk/DiskCacheConfig$b;->c:Lcom/facebook/common/internal/Supplier;
const/4 v2, 0x0
if-nez v1, :cond_1
if-eqz v0, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x1
:goto_1
const-string v1, "Either a non-null context or a base directory path or supplier must be provided."
invoke-static {v0, v1}, Ls/a/b/b/a;->l(ZLjava/lang/Object;)V
iget-object v0, p1, Lcom/facebook/cache/disk/DiskCacheConfig$b;->c:Lcom/facebook/common/internal/Supplier;
if-nez v0, :cond_2
iget-object v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig;->k:Landroid/content/Context;
if-eqz v0, :cond_2
new-instance v0, Lcom/facebook/cache/disk/DiskCacheConfig$a;
invoke-direct {v0, p0}, Lcom/facebook/cache/disk/DiskCacheConfig$a;-><init>(Lcom/facebook/cache/disk/DiskCacheConfig;)V
iput-object v0, p1, Lcom/facebook/cache/disk/DiskCacheConfig$b;->c:Lcom/facebook/common/internal/Supplier;
:cond_2
iget v0, p1, Lcom/facebook/cache/disk/DiskCacheConfig$b;->a:I
iput v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig;->a:I
iget-object v0, p1, Lcom/facebook/cache/disk/DiskCacheConfig$b;->b:Ljava/lang/String;
invoke-static {v0}, Ls/a/b/b/a;->i(Ljava/lang/Object;)Ljava/lang/Object;
iput-object v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig;->b:Ljava/lang/String;
iget-object v0, p1, Lcom/facebook/cache/disk/DiskCacheConfig$b;->c:Lcom/facebook/common/internal/Supplier;
invoke-static {v0}, Ls/a/b/b/a;->i(Ljava/lang/Object;)Ljava/lang/Object;
iput-object v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig;->c:Lcom/facebook/common/internal/Supplier;
iget-wide v0, p1, Lcom/facebook/cache/disk/DiskCacheConfig$b;->d:J
iput-wide v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig;->d:J
iget-wide v0, p1, Lcom/facebook/cache/disk/DiskCacheConfig$b;->e:J
iput-wide v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig;->e:J
iget-wide v0, p1, Lcom/facebook/cache/disk/DiskCacheConfig$b;->f:J
iput-wide v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig;->f:J
iget-object p1, p1, Lcom/facebook/cache/disk/DiskCacheConfig$b;->g:Lf/g/b/b/g;
invoke-static {p1}, Ls/a/b/b/a;->i(Ljava/lang/Object;)Ljava/lang/Object;
iput-object p1, p0, Lcom/facebook/cache/disk/DiskCacheConfig;->g:Lf/g/b/b/g;
const-class p1, Lf/g/b/a/d;
monitor-enter p1
:try_start_0
sget-object v0, Lf/g/b/a/d;->a:Lf/g/b/a/d;
if-nez v0, :cond_3
new-instance v0, Lf/g/b/a/d;
invoke-direct {v0}, Lf/g/b/a/d;-><init>()V
sput-object v0, Lf/g/b/a/d;->a:Lf/g/b/a/d;
:cond_3
sget-object v0, Lf/g/b/a/d;->a:Lf/g/b/a/d;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_2
monitor-exit p1
iput-object v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig;->h:Lf/g/b/a/a;
const-class p1, Lf/g/b/a/e;
monitor-enter p1
:try_start_1
sget-object v0, Lf/g/b/a/e;->a:Lf/g/b/a/e;
if-nez v0, :cond_4
new-instance v0, Lf/g/b/a/e;
invoke-direct {v0}, Lf/g/b/a/e;-><init>()V
sput-object v0, Lf/g/b/a/e;->a:Lf/g/b/a/e;
:cond_4
sget-object v0, Lf/g/b/a/e;->a:Lf/g/b/a/e;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
monitor-exit p1
iput-object v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig;->i:Lf/g/b/a/b;
const-class p1, Lf/g/d/a/b;
monitor-enter p1
:try_start_2
sget-object v0, Lf/g/d/a/b;->a:Lf/g/d/a/b;
if-nez v0, :cond_5
new-instance v0, Lf/g/d/a/b;
invoke-direct {v0}, Lf/g/d/a/b;-><init>()V
sput-object v0, Lf/g/d/a/b;->a:Lf/g/d/a/b;
:cond_5
sget-object v0, Lf/g/d/a/b;->a:Lf/g/d/a/b;
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
monitor-exit p1
iput-object v0, p0, Lcom/facebook/cache/disk/DiskCacheConfig;->j:Lf/g/d/a/a;
iput-boolean v2, p0, Lcom/facebook/cache/disk/DiskCacheConfig;->l:Z
return-void
:catchall_0
move-exception v0
monitor-exit p1
throw v0
:catchall_1
move-exception v0
monitor-exit p1
throw v0
:catchall_2
move-exception v0
monitor-exit p1
throw v0
.end method

View file

@ -1,23 +0,0 @@
.class public Lcom/facebook/common/file/FileUtils$CreateDirectoryException;
.super Ljava/io/IOException;
.source "FileUtils.java"
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.locals 0
invoke-direct {p0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
.locals 0
invoke-direct {p0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
invoke-virtual {p0, p2}, Ljava/io/IOException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
return-void
.end method

View file

@ -1,13 +0,0 @@
.class public Lcom/facebook/common/file/FileUtils$FileDeleteException;
.super Ljava/io/IOException;
.source "FileUtils.java"
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.locals 0
invoke-direct {p0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
return-void
.end method

View file

@ -1,13 +0,0 @@
.class public Lcom/facebook/common/file/FileUtils$ParentDirNotFoundException;
.super Ljava/io/FileNotFoundException;
.source "FileUtils.java"
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.locals 0
invoke-direct {p0, p1}, Ljava/io/FileNotFoundException;-><init>(Ljava/lang/String;)V
return-void
.end method

View file

@ -1,15 +0,0 @@
.class public Lcom/facebook/common/file/FileUtils$RenameException;
.super Ljava/io/IOException;
.source "FileUtils.java"
# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
.locals 0
invoke-direct {p0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
invoke-virtual {p0, p2}, Ljava/io/IOException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
return-void
.end method

View file

@ -1,24 +0,0 @@
.class public interface abstract Lcom/facebook/common/internal/Supplier;
.super Ljava/lang/Object;
.source "Supplier.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# virtual methods
.method public abstract get()Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.end method

View file

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

View file

@ -1,34 +0,0 @@
.class public interface abstract Lcom/facebook/common/memory/PooledByteBuffer;
.super Ljava/lang/Object;
.source "PooledByteBuffer.java"
# interfaces
.implements Ljava/io/Closeable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/common/memory/PooledByteBuffer$ClosedException;
}
.end annotation
# virtual methods
.method public abstract getByteBuffer()Ljava/nio/ByteBuffer;
.end method
.method public abstract isClosed()Z
.end method
.method public abstract k(I)B
.end method
.method public abstract m(I[BII)I
.end method
.method public abstract r()J
.end method
.method public abstract size()I
.end method

View file

@ -1,54 +0,0 @@
.class public final Lcom/facebook/common/references/CloseableReference$a;
.super Ljava/lang/Object;
.source "CloseableReference.java"
# interfaces
.implements Lf/g/d/h/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/common/references/CloseableReference;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lf/g/d/h/g<",
"Ljava/io/Closeable;",
">;"
}
.end annotation
# 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 release(Ljava/lang/Object;)V
.locals 1
check-cast p1, Ljava/io/Closeable;
const/4 v0, 0x1
:try_start_0
invoke-static {p1, v0}, Lf/g/d/d/a;->a(Ljava/io/Closeable;Z)V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
return-void
.end method

View file

@ -1,103 +0,0 @@
.class public final Lcom/facebook/common/references/CloseableReference$b;
.super Ljava/lang/Object;
.source "CloseableReference.java"
# interfaces
.implements Lcom/facebook/common/references/CloseableReference$c;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/common/references/CloseableReference;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = null
.end annotation
# 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(Lcom/facebook/common/references/SharedReference;Ljava/lang/Throwable;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/SharedReference<",
"Ljava/lang/Object;",
">;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
sget-object p2, Lcom/facebook/common/references/CloseableReference;->h:Ljava/lang/Class;
const/4 v0, 0x3
new-array v0, v0, [Ljava/lang/Object;
const/4 v1, 0x0
invoke-static {p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result v2
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v0, v1
const/4 v1, 0x1
invoke-static {p1}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result v2
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v0, v1
const/4 v1, 0x2
invoke-virtual {p1}, Lcom/facebook/common/references/SharedReference;->c()Ljava/lang/Object;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object p1
aput-object p1, v0, v1
const-string p1, "Finalized without closing: %x %x (type = %s)"
invoke-static {p2, p1, v0}, Lf/g/d/e/a;->o(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Object;)V
return-void
.end method
.method public b()Z
.locals 1
const/4 v0, 0x0
return v0
.end method

View file

@ -1,32 +0,0 @@
.class public interface abstract Lcom/facebook/common/references/CloseableReference$c;
.super Ljava/lang/Object;
.source "CloseableReference.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/common/references/CloseableReference;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x609
name = "c"
.end annotation
# virtual methods
.method public abstract a(Lcom/facebook/common/references/SharedReference;Ljava/lang/Throwable;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/SharedReference<",
"Ljava/lang/Object;",
">;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
.end method
.method public abstract b()Z
.end method

View file

@ -1,833 +0,0 @@
.class public abstract Lcom/facebook/common/references/CloseableReference;
.super Ljava/lang/Object;
.source "CloseableReference.java"
# interfaces
.implements Ljava/lang/Cloneable;
.implements Ljava/io/Closeable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/common/references/CloseableReference$c;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/lang/Cloneable;",
"Ljava/io/Closeable;"
}
.end annotation
# static fields
.field public static h:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"Lcom/facebook/common/references/CloseableReference;",
">;"
}
.end annotation
.end field
.field public static i:I
.field public static final j:Lf/g/d/h/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/g/d/h/g<",
"Ljava/io/Closeable;",
">;"
}
.end annotation
.end field
.field public static final k:Lcom/facebook/common/references/CloseableReference$c;
# instance fields
.field public d:Z
.field public final e:Lcom/facebook/common/references/SharedReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/references/SharedReference<",
"TT;>;"
}
.end annotation
.end field
.field public final f:Lcom/facebook/common/references/CloseableReference$c;
.field public final g:Ljava/lang/Throwable;
# direct methods
.method public static constructor <clinit>()V
.locals 1
const-class v0, Lcom/facebook/common/references/CloseableReference;
sput-object v0, Lcom/facebook/common/references/CloseableReference;->h:Ljava/lang/Class;
const/4 v0, 0x0
sput v0, Lcom/facebook/common/references/CloseableReference;->i:I
new-instance v0, Lcom/facebook/common/references/CloseableReference$a;
invoke-direct {v0}, Lcom/facebook/common/references/CloseableReference$a;-><init>()V
sput-object v0, Lcom/facebook/common/references/CloseableReference;->j:Lf/g/d/h/g;
new-instance v0, Lcom/facebook/common/references/CloseableReference$b;
invoke-direct {v0}, Lcom/facebook/common/references/CloseableReference$b;-><init>()V
sput-object v0, Lcom/facebook/common/references/CloseableReference;->k:Lcom/facebook/common/references/CloseableReference$c;
return-void
.end method
.method public constructor <init>(Lcom/facebook/common/references/SharedReference;Lcom/facebook/common/references/CloseableReference$c;Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/SharedReference<",
"TT;>;",
"Lcom/facebook/common/references/CloseableReference$c;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/facebook/common/references/CloseableReference;->d:Z
if-eqz p1, :cond_0
iput-object p1, p0, Lcom/facebook/common/references/CloseableReference;->e:Lcom/facebook/common/references/SharedReference;
monitor-enter p1
:try_start_0
invoke-virtual {p1}, Lcom/facebook/common/references/SharedReference;->b()V
iget v0, p1, Lcom/facebook/common/references/SharedReference;->b:I
add-int/lit8 v0, v0, 0x1
iput v0, p1, Lcom/facebook/common/references/SharedReference;->b:I
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p1
iput-object p2, p0, Lcom/facebook/common/references/CloseableReference;->f:Lcom/facebook/common/references/CloseableReference$c;
iput-object p3, p0, Lcom/facebook/common/references/CloseableReference;->g:Ljava/lang/Throwable;
return-void
:catchall_0
move-exception p2
monitor-exit p1
throw p2
:cond_0
const/4 p1, 0x0
throw p1
.end method
.method public constructor <init>(Ljava/lang/Object;Lf/g/d/h/g;Lcom/facebook/common/references/CloseableReference$c;Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;",
"Lf/g/d/h/g<",
"TT;>;",
"Lcom/facebook/common/references/CloseableReference$c;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/facebook/common/references/CloseableReference;->d:Z
new-instance v0, Lcom/facebook/common/references/SharedReference;
invoke-direct {v0, p1, p2}, Lcom/facebook/common/references/SharedReference;-><init>(Ljava/lang/Object;Lf/g/d/h/g;)V
iput-object v0, p0, Lcom/facebook/common/references/CloseableReference;->e:Lcom/facebook/common/references/SharedReference;
iput-object p3, p0, Lcom/facebook/common/references/CloseableReference;->f:Lcom/facebook/common/references/CloseableReference$c;
iput-object p4, p0, Lcom/facebook/common/references/CloseableReference;->g:Ljava/lang/Throwable;
return-void
.end method
.method public static d(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/facebook/common/references/CloseableReference<",
"TT;>;)",
"Lcom/facebook/common/references/CloseableReference<",
"TT;>;"
}
.end annotation
if-eqz p0, :cond_0
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->c()Lcom/facebook/common/references/CloseableReference;
move-result-object p0
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return-object p0
.end method
.method public static e(Ljava/util/Collection;)Ljava/util/List;
.locals 2
.param p0 # Ljava/util/Collection;
.annotation build Lcom/facebook/infer/annotation/PropagatesNullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"Lcom/facebook/common/references/CloseableReference<",
"TT;>;>;)",
"Ljava/util/List<",
"Lcom/facebook/common/references/CloseableReference<",
"TT;>;>;"
}
.end annotation
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
new-instance v0, Ljava/util/ArrayList;
invoke-interface {p0}, Ljava/util/Collection;->size()I
move-result v1
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object p0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/facebook/common/references/CloseableReference;
invoke-static {v1}, Lcom/facebook/common/references/CloseableReference;->d(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_1
return-object v0
.end method
.method public static f(Lcom/facebook/common/references/CloseableReference;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"*>;)V"
}
.end annotation
if-eqz p0, :cond_0
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->close()V
:cond_0
return-void
.end method
.method public static h(Ljava/lang/Iterable;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Iterable<",
"+",
"Lcom/facebook/common/references/CloseableReference<",
"*>;>;)V"
}
.end annotation
if-eqz p0, :cond_1
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
:cond_0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/facebook/common/references/CloseableReference;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lcom/facebook/common/references/CloseableReference;->close()V
goto :goto_0
:cond_1
return-void
.end method
.method public static p(Lcom/facebook/common/references/CloseableReference;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"*>;)Z"
}
.end annotation
if-eqz p0, :cond_0
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->o()Z
move-result p0
if-eqz p0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public static q(Ljava/io/Closeable;)Lcom/facebook/common/references/CloseableReference;
.locals 1
.param p0 # Ljava/io/Closeable;
.annotation build Lcom/facebook/infer/annotation/PropagatesNullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Ljava/io/Closeable;",
">(TT;)",
"Lcom/facebook/common/references/CloseableReference<",
"TT;>;"
}
.end annotation
sget-object v0, Lcom/facebook/common/references/CloseableReference;->j:Lf/g/d/h/g;
invoke-static {p0, v0}, Lcom/facebook/common/references/CloseableReference;->v(Ljava/lang/Object;Lf/g/d/h/g;)Lcom/facebook/common/references/CloseableReference;
move-result-object p0
return-object p0
.end method
.method public static s(Ljava/io/Closeable;Lcom/facebook/common/references/CloseableReference$c;)Lcom/facebook/common/references/CloseableReference;
.locals 3
.param p0 # Ljava/io/Closeable;
.annotation build Lcom/facebook/infer/annotation/PropagatesNullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Ljava/io/Closeable;",
">(TT;",
"Lcom/facebook/common/references/CloseableReference$c;",
")",
"Lcom/facebook/common/references/CloseableReference<",
"TT;>;"
}
.end annotation
const/4 v0, 0x0
if-nez p0, :cond_0
return-object v0
:cond_0
sget-object v1, Lcom/facebook/common/references/CloseableReference;->j:Lf/g/d/h/g;
invoke-interface {p1}, Lcom/facebook/common/references/CloseableReference$c;->b()Z
move-result v2
if-eqz v2, :cond_1
new-instance v0, Ljava/lang/Throwable;
invoke-direct {v0}, Ljava/lang/Throwable;-><init>()V
:cond_1
invoke-static {p0, v1, p1, v0}, Lcom/facebook/common/references/CloseableReference;->y(Ljava/lang/Object;Lf/g/d/h/g;Lcom/facebook/common/references/CloseableReference$c;Ljava/lang/Throwable;)Lcom/facebook/common/references/CloseableReference;
move-result-object p0
return-object p0
.end method
.method public static v(Ljava/lang/Object;Lf/g/d/h/g;)Lcom/facebook/common/references/CloseableReference;
.locals 1
.param p0 # Ljava/lang/Object;
.annotation build Lcom/facebook/infer/annotation/PropagatesNullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Lf/g/d/h/g<",
"TT;>;)",
"Lcom/facebook/common/references/CloseableReference<",
"TT;>;"
}
.end annotation
sget-object v0, Lcom/facebook/common/references/CloseableReference;->k:Lcom/facebook/common/references/CloseableReference$c;
invoke-static {p0, p1, v0}, Lcom/facebook/common/references/CloseableReference;->x(Ljava/lang/Object;Lf/g/d/h/g;Lcom/facebook/common/references/CloseableReference$c;)Lcom/facebook/common/references/CloseableReference;
move-result-object p0
return-object p0
.end method
.method public static x(Ljava/lang/Object;Lf/g/d/h/g;Lcom/facebook/common/references/CloseableReference$c;)Lcom/facebook/common/references/CloseableReference;
.locals 2
.param p0 # Ljava/lang/Object;
.annotation build Lcom/facebook/infer/annotation/PropagatesNullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Lf/g/d/h/g<",
"TT;>;",
"Lcom/facebook/common/references/CloseableReference$c;",
")",
"Lcom/facebook/common/references/CloseableReference<",
"TT;>;"
}
.end annotation
const/4 v0, 0x0
if-nez p0, :cond_0
return-object v0
:cond_0
invoke-interface {p2}, Lcom/facebook/common/references/CloseableReference$c;->b()Z
move-result v1
if-eqz v1, :cond_1
new-instance v0, Ljava/lang/Throwable;
invoke-direct {v0}, Ljava/lang/Throwable;-><init>()V
:cond_1
invoke-static {p0, p1, p2, v0}, Lcom/facebook/common/references/CloseableReference;->y(Ljava/lang/Object;Lf/g/d/h/g;Lcom/facebook/common/references/CloseableReference$c;Ljava/lang/Throwable;)Lcom/facebook/common/references/CloseableReference;
move-result-object p0
return-object p0
.end method
.method public static y(Ljava/lang/Object;Lf/g/d/h/g;Lcom/facebook/common/references/CloseableReference$c;Ljava/lang/Throwable;)Lcom/facebook/common/references/CloseableReference;
.locals 2
.param p0 # Ljava/lang/Object;
.annotation build Lcom/facebook/infer/annotation/PropagatesNullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Lf/g/d/h/g<",
"TT;>;",
"Lcom/facebook/common/references/CloseableReference$c;",
"Ljava/lang/Throwable;",
")",
"Lcom/facebook/common/references/CloseableReference<",
"TT;>;"
}
.end annotation
instance-of v0, p0, Landroid/graphics/Bitmap;
if-nez v0, :cond_0
instance-of v0, p0, Lf/g/d/h/c;
if-eqz v0, :cond_1
:cond_0
sget v0, Lcom/facebook/common/references/CloseableReference;->i:I
const/4 v1, 0x1
if-eq v0, v1, :cond_4
const/4 v1, 0x2
if-eq v0, v1, :cond_3
const/4 v1, 0x3
if-eq v0, v1, :cond_2
:cond_1
new-instance v0, Lf/g/d/h/a;
invoke-direct {v0, p0, p1, p2, p3}, Lf/g/d/h/a;-><init>(Ljava/lang/Object;Lf/g/d/h/g;Lcom/facebook/common/references/CloseableReference$c;Ljava/lang/Throwable;)V
return-object v0
:cond_2
new-instance v0, Lf/g/d/h/d;
invoke-direct {v0, p0, p1, p2, p3}, Lf/g/d/h/d;-><init>(Ljava/lang/Object;Lf/g/d/h/g;Lcom/facebook/common/references/CloseableReference$c;Ljava/lang/Throwable;)V
return-object v0
:cond_3
new-instance v0, Lf/g/d/h/f;
invoke-direct {v0, p0, p1, p2, p3}, Lf/g/d/h/f;-><init>(Ljava/lang/Object;Lf/g/d/h/g;Lcom/facebook/common/references/CloseableReference$c;Ljava/lang/Throwable;)V
return-object v0
:cond_4
new-instance v0, Lf/g/d/h/b;
invoke-direct {v0, p0, p1, p2, p3}, Lf/g/d/h/b;-><init>(Ljava/lang/Object;Lf/g/d/h/g;Lcom/facebook/common/references/CloseableReference$c;Ljava/lang/Throwable;)V
return-object v0
.end method
# virtual methods
.method public abstract b()Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/facebook/common/references/CloseableReference<",
"TT;>;"
}
.end annotation
.end method
.method public declared-synchronized c()Lcom/facebook/common/references/CloseableReference;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/facebook/common/references/CloseableReference<",
"TT;>;"
}
.end annotation
monitor-enter p0
:try_start_0
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->o()Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->b()Lcom/facebook/common/references/CloseableReference;
move-result-object v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object v0
:cond_0
const/4 v0, 0x0
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public bridge synthetic clone()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/CloneNotSupportedException;
}
.end annotation
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->b()Lcom/facebook/common/references/CloseableReference;
move-result-object v0
return-object v0
.end method
.method public close()V
.locals 1
monitor-enter p0
:try_start_0
iget-boolean v0, p0, Lcom/facebook/common/references/CloseableReference;->d:Z
if-eqz v0, :cond_0
monitor-exit p0
return-void
:cond_0
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/facebook/common/references/CloseableReference;->d:Z
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
iget-object v0, p0, Lcom/facebook/common/references/CloseableReference;->e:Lcom/facebook/common/references/SharedReference;
invoke-virtual {v0}, Lcom/facebook/common/references/SharedReference;->a()V
return-void
:catchall_0
move-exception v0
:try_start_1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw v0
.end method
.method public finalize()V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
:try_start_0
monitor-enter p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
iget-boolean v0, p0, Lcom/facebook/common/references/CloseableReference;->d:Z
if-eqz v0, :cond_0
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
invoke-super {p0}, Ljava/lang/Object;->finalize()V
return-void
:cond_0
:try_start_2
monitor-exit p0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
:try_start_3
iget-object v0, p0, Lcom/facebook/common/references/CloseableReference;->f:Lcom/facebook/common/references/CloseableReference$c;
iget-object v1, p0, Lcom/facebook/common/references/CloseableReference;->e:Lcom/facebook/common/references/SharedReference;
iget-object v2, p0, Lcom/facebook/common/references/CloseableReference;->g:Ljava/lang/Throwable;
invoke-interface {v0, v1, v2}, Lcom/facebook/common/references/CloseableReference$c;->a(Lcom/facebook/common/references/SharedReference;Ljava/lang/Throwable;)V
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->close()V
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
invoke-super {p0}, Ljava/lang/Object;->finalize()V
return-void
:catchall_0
move-exception v0
:try_start_4
monitor-exit p0
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_0
:try_start_5
throw v0
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_1
:catchall_1
move-exception v0
invoke-super {p0}, Ljava/lang/Object;->finalize()V
throw v0
.end method
.method public declared-synchronized j()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
monitor-enter p0
:try_start_0
iget-boolean v0, p0, Lcom/facebook/common/references/CloseableReference;->d:Z
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;->k(Z)V
iget-object v0, p0, Lcom/facebook/common/references/CloseableReference;->e:Lcom/facebook/common/references/SharedReference;
invoke-virtual {v0}, Lcom/facebook/common/references/SharedReference;->c()Ljava/lang/Object;
move-result-object v0
: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 declared-synchronized o()Z
.locals 1
monitor-enter p0
:try_start_0
iget-boolean v0, p0, Lcom/facebook/common/references/CloseableReference;->d:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
xor-int/lit8 v0, v0, 0x1
monitor-exit p0
return v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method

View file

@ -1,26 +0,0 @@
.class public Lcom/facebook/common/references/SharedReference$NullReferenceException;
.super Ljava/lang/RuntimeException;
.source "SharedReference.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/common/references/SharedReference;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "NullReferenceException"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 1
const-string v0, "Null shared reference"
invoke-direct {p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
return-void
.end method

View file

@ -1,413 +0,0 @@
.class public Lcom/facebook/common/references/SharedReference;
.super Ljava/lang/Object;
.source "SharedReference.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/common/references/SharedReference$NullReferenceException;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# static fields
.field public static final d:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Object;",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.end field
# instance fields
.field public a:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
.field public b:I
.field public final c:Lf/g/d/h/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/g/d/h/g<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Ljava/util/IdentityHashMap;
invoke-direct {v0}, Ljava/util/IdentityHashMap;-><init>()V
sput-object v0, Lcom/facebook/common/references/SharedReference;->d:Ljava/util/Map;
return-void
.end method
.method public constructor <init>(Ljava/lang/Object;Lf/g/d/h/g;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;",
"Lf/g/d/h/g<",
"TT;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
if-eqz p1, :cond_5
iput-object p1, p0, Lcom/facebook/common/references/SharedReference;->a:Ljava/lang/Object;
if-eqz p2, :cond_4
iput-object p2, p0, Lcom/facebook/common/references/SharedReference;->c:Lf/g/d/h/g;
const/4 p2, 0x1
iput p2, p0, Lcom/facebook/common/references/SharedReference;->b:I
sget v0, Lcom/facebook/common/references/CloseableReference;->i:I
const/4 v1, 0x3
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
instance-of v0, p1, Landroid/graphics/Bitmap;
if-nez v0, :cond_3
instance-of v0, p1, Lf/g/d/h/c;
if-eqz v0, :cond_1
goto :goto_2
:cond_1
sget-object v1, Lcom/facebook/common/references/SharedReference;->d:Ljava/util/Map;
monitor-enter v1
:try_start_0
sget-object v0, Lcom/facebook/common/references/SharedReference;->d:Ljava/util/Map;
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Integer;
if-nez v0, :cond_2
sget-object v0, Lcom/facebook/common/references/SharedReference;->d:Ljava/util/Map;
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_1
:cond_2
sget-object v2, Lcom/facebook/common/references/SharedReference;->d:Ljava/util/Map;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
add-int/2addr v0, p2
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
invoke-interface {v2, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:goto_1
monitor-exit v1
:cond_3
:goto_2
return-void
:catchall_0
move-exception p1
monitor-exit v1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
:cond_4
throw v0
:cond_5
throw v0
.end method
# virtual methods
.method public a()V
.locals 6
monitor-enter p0
:try_start_0
invoke-virtual {p0}, Lcom/facebook/common/references/SharedReference;->b()V
iget v0, p0, Lcom/facebook/common/references/SharedReference;->b:I
const/4 v1, 0x0
const/4 v2, 0x1
if-lez 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;->g(Z)V
iget v0, p0, Lcom/facebook/common/references/SharedReference;->b:I
sub-int/2addr v0, v2
iput v0, p0, Lcom/facebook/common/references/SharedReference;->b:I
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_2
monitor-exit p0
if-nez v0, :cond_3
monitor-enter p0
:try_start_1
iget-object v0, p0, Lcom/facebook/common/references/SharedReference;->a:Ljava/lang/Object;
const/4 v3, 0x0
iput-object v3, p0, Lcom/facebook/common/references/SharedReference;->a:Ljava/lang/Object;
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
iget-object v3, p0, Lcom/facebook/common/references/SharedReference;->c:Lf/g/d/h/g;
invoke-interface {v3, v0}, Lf/g/d/h/g;->release(Ljava/lang/Object;)V
sget-object v3, Lcom/facebook/common/references/SharedReference;->d:Ljava/util/Map;
monitor-enter v3
:try_start_2
sget-object v4, Lcom/facebook/common/references/SharedReference;->d:Ljava/util/Map;
invoke-interface {v4, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/Integer;
if-nez v4, :cond_1
const-string v4, "SharedReference"
const-string v5, "No entry in sLiveObjects for value of type %s"
new-array v2, v2, [Ljava/lang/Object;
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
aput-object v0, v2, v1
invoke-static {v4, v5, v2}, Lf/g/d/e/a;->r(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_1
:cond_1
invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I
move-result v1
if-ne v1, v2, :cond_2
sget-object v1, Lcom/facebook/common/references/SharedReference;->d:Ljava/util/Map;
invoke-interface {v1, v0}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_1
:cond_2
sget-object v1, Lcom/facebook/common/references/SharedReference;->d:Ljava/util/Map;
invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I
move-result v4
sub-int/2addr v4, v2
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-interface {v1, v0, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:goto_1
monitor-exit v3
goto :goto_2
:catchall_0
move-exception v0
monitor-exit v3
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw v0
:catchall_1
move-exception v0
:try_start_3
monitor-exit p0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
throw v0
:cond_3
:goto_2
return-void
:catchall_2
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final b()V
.locals 3
monitor-enter p0
:try_start_0
iget v0, p0, Lcom/facebook/common/references/SharedReference;->b:I
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 v1, 0x0
const/4 v2, 0x1
if-lez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
monitor-exit p0
if-eqz v0, :cond_1
const/4 v1, 0x1
:cond_1
if-eqz v1, :cond_2
return-void
:cond_2
new-instance v0, Lcom/facebook/common/references/SharedReference$NullReferenceException;
invoke-direct {v0}, Lcom/facebook/common/references/SharedReference$NullReferenceException;-><init>()V
throw v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized c()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/facebook/common/references/SharedReference;->a:Ljava/lang/Object;
: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

View file

@ -1,76 +0,0 @@
.class public Lcom/facebook/common/time/AwakeTimeSinceBootClock;
.super Ljava/lang/Object;
.source "AwakeTimeSinceBootClock.java"
# interfaces
.implements Lf/g/d/k/b;
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# static fields
.field public static final INSTANCE:Lcom/facebook/common/time/AwakeTimeSinceBootClock;
.annotation build Lf/g/d/d/c;
.end annotation
.end field
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/facebook/common/time/AwakeTimeSinceBootClock;
invoke-direct {v0}, Lcom/facebook/common/time/AwakeTimeSinceBootClock;-><init>()V
sput-object v0, Lcom/facebook/common/time/AwakeTimeSinceBootClock;->INSTANCE:Lcom/facebook/common/time/AwakeTimeSinceBootClock;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static get()Lcom/facebook/common/time/AwakeTimeSinceBootClock;
.locals 1
.annotation build Lf/g/d/d/c;
.end annotation
sget-object v0, Lcom/facebook/common/time/AwakeTimeSinceBootClock;->INSTANCE:Lcom/facebook/common/time/AwakeTimeSinceBootClock;
return-object v0
.end method
# virtual methods
.method public now()J
.locals 2
.annotation build Lf/g/d/d/c;
.end annotation
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v0
return-wide v0
.end method
.method public nowNanos()J
.locals 2
.annotation build Lf/g/d/d/c;
.end annotation
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v0
return-wide v0
.end method

View file

@ -1,59 +0,0 @@
.class public Lcom/facebook/common/time/RealtimeSinceBootClock;
.super Ljava/lang/Object;
.source "RealtimeSinceBootClock.java"
# interfaces
.implements Lf/g/d/k/b;
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# static fields
.field public static final a:Lcom/facebook/common/time/RealtimeSinceBootClock;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/facebook/common/time/RealtimeSinceBootClock;
invoke-direct {v0}, Lcom/facebook/common/time/RealtimeSinceBootClock;-><init>()V
sput-object v0, Lcom/facebook/common/time/RealtimeSinceBootClock;->a:Lcom/facebook/common/time/RealtimeSinceBootClock;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static get()Lcom/facebook/common/time/RealtimeSinceBootClock;
.locals 1
.annotation build Lf/g/d/d/c;
.end annotation
sget-object v0, Lcom/facebook/common/time/RealtimeSinceBootClock;->a:Lcom/facebook/common/time/RealtimeSinceBootClock;
return-object v0
.end method
# virtual methods
.method public now()J
.locals 2
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v0
return-wide v0
.end method

View file

@ -1,25 +0,0 @@
.class public Lcom/facebook/common/util/ExceptionWithNoStacktrace;
.super Ljava/lang/Exception;
.source "ExceptionWithNoStacktrace.java"
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.locals 0
invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V
return-void
.end method
# virtual methods
.method public declared-synchronized fillInStackTrace()Ljava/lang/Throwable;
.locals 0
monitor-enter p0
monitor-exit p0
return-object p0
.end method

View file

@ -1,66 +0,0 @@
.class public interface abstract Lcom/facebook/datasource/DataSource;
.super Ljava/lang/Object;
.source "DataSource.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# virtual methods
.method public abstract a()Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end method
.method public abstract b()Z
.end method
.method public abstract c()Z
.end method
.method public abstract close()Z
.end method
.method public abstract d()Ljava/lang/Throwable;
.end method
.method public abstract e()Z
.end method
.method public abstract f(Lf/g/e/f;Ljava/util/concurrent/Executor;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lf/g/e/f<",
"TT;>;",
"Ljava/util/concurrent/Executor;",
")V"
}
.end annotation
.end method
.method public abstract getProgress()F
.end method
.method public abstract getResult()Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.end method

View file

@ -1,241 +0,0 @@
.class public final Lcom/facebook/drawee/R$a;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/drawee/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# static fields
.field public static final GenericDraweeHierarchy:[I
.field public static final GenericDraweeHierarchy_actualImageScaleType:I = 0x0
.field public static final GenericDraweeHierarchy_backgroundImage:I = 0x1
.field public static final GenericDraweeHierarchy_fadeDuration:I = 0x2
.field public static final GenericDraweeHierarchy_failureImage:I = 0x3
.field public static final GenericDraweeHierarchy_failureImageScaleType:I = 0x4
.field public static final GenericDraweeHierarchy_overlayImage:I = 0x5
.field public static final GenericDraweeHierarchy_placeholderImage:I = 0x6
.field public static final GenericDraweeHierarchy_placeholderImageScaleType:I = 0x7
.field public static final GenericDraweeHierarchy_pressedStateOverlayImage:I = 0x8
.field public static final GenericDraweeHierarchy_progressBarAutoRotateInterval:I = 0x9
.field public static final GenericDraweeHierarchy_progressBarImage:I = 0xa
.field public static final GenericDraweeHierarchy_progressBarImageScaleType:I = 0xb
.field public static final GenericDraweeHierarchy_retryImage:I = 0xc
.field public static final GenericDraweeHierarchy_retryImageScaleType:I = 0xd
.field public static final GenericDraweeHierarchy_roundAsCircle:I = 0xe
.field public static final GenericDraweeHierarchy_roundBottomEnd:I = 0xf
.field public static final GenericDraweeHierarchy_roundBottomLeft:I = 0x10
.field public static final GenericDraweeHierarchy_roundBottomRight:I = 0x11
.field public static final GenericDraweeHierarchy_roundBottomStart:I = 0x12
.field public static final GenericDraweeHierarchy_roundTopEnd:I = 0x13
.field public static final GenericDraweeHierarchy_roundTopLeft:I = 0x14
.field public static final GenericDraweeHierarchy_roundTopRight:I = 0x15
.field public static final GenericDraweeHierarchy_roundTopStart:I = 0x16
.field public static final GenericDraweeHierarchy_roundWithOverlayColor:I = 0x17
.field public static final GenericDraweeHierarchy_roundedCornerRadius:I = 0x18
.field public static final GenericDraweeHierarchy_roundingBorderColor:I = 0x19
.field public static final GenericDraweeHierarchy_roundingBorderPadding:I = 0x1a
.field public static final GenericDraweeHierarchy_roundingBorderWidth:I = 0x1b
.field public static final GenericDraweeHierarchy_viewAspectRatio:I = 0x1c
.field public static final SimpleDraweeView:[I
.field public static final SimpleDraweeView_actualImageResource:I = 0x0
.field public static final SimpleDraweeView_actualImageScaleType:I = 0x1
.field public static final SimpleDraweeView_actualImageUri:I = 0x2
.field public static final SimpleDraweeView_backgroundImage:I = 0x3
.field public static final SimpleDraweeView_fadeDuration:I = 0x4
.field public static final SimpleDraweeView_failureImage:I = 0x5
.field public static final SimpleDraweeView_failureImageScaleType:I = 0x6
.field public static final SimpleDraweeView_overlayImage:I = 0x7
.field public static final SimpleDraweeView_placeholderImage:I = 0x8
.field public static final SimpleDraweeView_placeholderImageScaleType:I = 0x9
.field public static final SimpleDraweeView_pressedStateOverlayImage:I = 0xa
.field public static final SimpleDraweeView_progressBarAutoRotateInterval:I = 0xb
.field public static final SimpleDraweeView_progressBarImage:I = 0xc
.field public static final SimpleDraweeView_progressBarImageScaleType:I = 0xd
.field public static final SimpleDraweeView_retryImage:I = 0xe
.field public static final SimpleDraweeView_retryImageScaleType:I = 0xf
.field public static final SimpleDraweeView_roundAsCircle:I = 0x10
.field public static final SimpleDraweeView_roundBottomEnd:I = 0x11
.field public static final SimpleDraweeView_roundBottomLeft:I = 0x12
.field public static final SimpleDraweeView_roundBottomRight:I = 0x13
.field public static final SimpleDraweeView_roundBottomStart:I = 0x14
.field public static final SimpleDraweeView_roundTopEnd:I = 0x15
.field public static final SimpleDraweeView_roundTopLeft:I = 0x16
.field public static final SimpleDraweeView_roundTopRight:I = 0x17
.field public static final SimpleDraweeView_roundTopStart:I = 0x18
.field public static final SimpleDraweeView_roundWithOverlayColor:I = 0x19
.field public static final SimpleDraweeView_roundedCornerRadius:I = 0x1a
.field public static final SimpleDraweeView_roundingBorderColor:I = 0x1b
.field public static final SimpleDraweeView_roundingBorderPadding:I = 0x1c
.field public static final SimpleDraweeView_roundingBorderWidth:I = 0x1d
.field public static final SimpleDraweeView_viewAspectRatio:I = 0x1e
# direct methods
.method public static constructor <clinit>()V
.locals 1
const/16 v0, 0x1d
new-array v0, v0, [I
fill-array-data v0, :array_0
sput-object v0, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy:[I
const/16 v0, 0x1f
new-array v0, v0, [I
fill-array-data v0, :array_1
sput-object v0, Lcom/facebook/drawee/R$a;->SimpleDraweeView:[I
return-void
nop
:array_0
.array-data 4
0x7f040026
0x7f04005b
0x7f040262
0x7f040263
0x7f040264
0x7f040451
0x7f04046f
0x7f040470
0x7f04048a
0x7f0404b1
0x7f0404b2
0x7f0404b3
0x7f0404c9
0x7f0404ca
0x7f0404cf
0x7f0404d0
0x7f0404d1
0x7f0404d2
0x7f0404d3
0x7f0404d5
0x7f0404d6
0x7f0404d7
0x7f0404d8
0x7f0404d9
0x7f0404db
0x7f0404dc
0x7f0404dd
0x7f0404de
0x7f040627
.end array-data
:array_1
.array-data 4
0x7f040025
0x7f040026
0x7f040027
0x7f04005b
0x7f040262
0x7f040263
0x7f040264
0x7f040451
0x7f04046f
0x7f040470
0x7f04048a
0x7f0404b1
0x7f0404b2
0x7f0404b3
0x7f0404c9
0x7f0404ca
0x7f0404cf
0x7f0404d0
0x7f0404d1
0x7f0404d2
0x7f0404d3
0x7f0404d5
0x7f0404d6
0x7f0404d7
0x7f0404d8
0x7f0404d9
0x7f0404db
0x7f0404dc
0x7f0404dd
0x7f0404de
0x7f040627
.end array-data
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,20 +0,0 @@
.class public final Lcom/facebook/drawee/R;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/drawee/R$a;
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/drawee/backends/pipeline/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,159 +0,0 @@
.class public Lcom/facebook/drawee/controller/AbstractDraweeController$a;
.super Lf/g/e/d;
.source "AbstractDraweeController.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/facebook/drawee/controller/AbstractDraweeController;->B()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/g/e/d<",
"TT;>;"
}
.end annotation
# instance fields
.field public final synthetic a:Ljava/lang/String;
.field public final synthetic b:Z
.field public final synthetic c:Lcom/facebook/drawee/controller/AbstractDraweeController;
# direct methods
.method public constructor <init>(Lcom/facebook/drawee/controller/AbstractDraweeController;Ljava/lang/String;Z)V
.locals 0
iput-object p1, p0, Lcom/facebook/drawee/controller/AbstractDraweeController$a;->c:Lcom/facebook/drawee/controller/AbstractDraweeController;
iput-object p2, p0, Lcom/facebook/drawee/controller/AbstractDraweeController$a;->a:Ljava/lang/String;
iput-boolean p3, p0, Lcom/facebook/drawee/controller/AbstractDraweeController$a;->b:Z
invoke-direct {p0}, Lf/g/e/d;-><init>()V
return-void
.end method
# virtual methods
.method public onFailureImpl(Lcom/facebook/datasource/DataSource;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/datasource/DataSource<",
"TT;>;)V"
}
.end annotation
iget-object v0, p0, Lcom/facebook/drawee/controller/AbstractDraweeController$a;->c:Lcom/facebook/drawee/controller/AbstractDraweeController;
iget-object v1, p0, Lcom/facebook/drawee/controller/AbstractDraweeController$a;->a:Ljava/lang/String;
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->d()Ljava/lang/Throwable;
move-result-object v2
const/4 v3, 0x1
invoke-static {v0, v1, p1, v2, v3}, Lcom/facebook/drawee/controller/AbstractDraweeController;->g(Lcom/facebook/drawee/controller/AbstractDraweeController;Ljava/lang/String;Lcom/facebook/datasource/DataSource;Ljava/lang/Throwable;Z)V
return-void
.end method
.method public onNewResultImpl(Lcom/facebook/datasource/DataSource;)V
.locals 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/datasource/DataSource<",
"TT;>;)V"
}
.end annotation
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->c()Z
move-result v5
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->e()Z
move-result v7
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->getProgress()F
move-result v4
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->getResult()Ljava/lang/Object;
move-result-object v3
if-eqz v3, :cond_0
iget-object v0, p0, Lcom/facebook/drawee/controller/AbstractDraweeController$a;->c:Lcom/facebook/drawee/controller/AbstractDraweeController;
iget-object v1, p0, Lcom/facebook/drawee/controller/AbstractDraweeController$a;->a:Ljava/lang/String;
iget-boolean v6, p0, Lcom/facebook/drawee/controller/AbstractDraweeController$a;->b:Z
move-object v2, p1
invoke-static/range {v0 .. v7}, Lcom/facebook/drawee/controller/AbstractDraweeController;->f(Lcom/facebook/drawee/controller/AbstractDraweeController;Ljava/lang/String;Lcom/facebook/datasource/DataSource;Ljava/lang/Object;FZZZ)V
goto :goto_0
:cond_0
if-eqz v5, :cond_1
iget-object v0, p0, Lcom/facebook/drawee/controller/AbstractDraweeController$a;->c:Lcom/facebook/drawee/controller/AbstractDraweeController;
iget-object v1, p0, Lcom/facebook/drawee/controller/AbstractDraweeController$a;->a:Ljava/lang/String;
new-instance v2, Ljava/lang/NullPointerException;
invoke-direct {v2}, Ljava/lang/NullPointerException;-><init>()V
const/4 v3, 0x1
invoke-static {v0, v1, p1, v2, v3}, Lcom/facebook/drawee/controller/AbstractDraweeController;->g(Lcom/facebook/drawee/controller/AbstractDraweeController;Ljava/lang/String;Lcom/facebook/datasource/DataSource;Ljava/lang/Throwable;Z)V
:cond_1
:goto_0
return-void
.end method
.method public onProgressUpdate(Lcom/facebook/datasource/DataSource;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/datasource/DataSource<",
"TT;>;)V"
}
.end annotation
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->c()Z
move-result v0
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->getProgress()F
move-result v1
iget-object v2, p0, Lcom/facebook/drawee/controller/AbstractDraweeController$a;->c:Lcom/facebook/drawee/controller/AbstractDraweeController;
iget-object v3, p0, Lcom/facebook/drawee/controller/AbstractDraweeController$a;->a:Ljava/lang/String;
invoke-static {v2, v3, p1, v1, v0}, Lcom/facebook/drawee/controller/AbstractDraweeController;->h(Lcom/facebook/drawee/controller/AbstractDraweeController;Ljava/lang/String;Lcom/facebook/datasource/DataSource;FZ)V
return-void
.end method

View file

@ -1,34 +0,0 @@
.class public Lcom/facebook/drawee/controller/AbstractDraweeController$b;
.super Lf/g/g/c/e;
.source "AbstractDraweeController.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/drawee/controller/AbstractDraweeController;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<INFO:",
"Ljava/lang/Object;",
">",
"Lf/g/g/c/e<",
"TINFO;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lf/g/g/c/e;-><init>()V
return-void
.end method

View file

@ -1,45 +0,0 @@
.class public final Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$a;
.super Lf/g/g/c/c;
.source "AbstractDraweeControllerBuilder.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/g/g/c/c<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lf/g/g/c/c;-><init>()V
return-void
.end method
# virtual methods
.method public onFinalImageSet(Ljava/lang/String;Ljava/lang/Object;Landroid/graphics/drawable/Animatable;)V
.locals 0
if-eqz p3, :cond_0
invoke-interface {p3}, Landroid/graphics/drawable/Animatable;->start()V
:cond_0
return-void
.end method

View file

@ -1,127 +0,0 @@
.class public final enum Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
.super Ljava/lang/Enum;
.source "AbstractDraweeControllerBuilder.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;",
">;"
}
.end annotation
# static fields
.field public static final enum d:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
.field public static final enum e:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
.field public static final enum f:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
.field public static final synthetic g:[Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
# direct methods
.method public static constructor <clinit>()V
.locals 6
new-instance v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
const-string v1, "FULL_FETCH"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;->d:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
new-instance v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
const-string v1, "DISK_CACHE"
const/4 v3, 0x1
invoke-direct {v0, v1, v3}, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;->e:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
new-instance v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
const-string v1, "BITMAP_MEMORY_CACHE"
const/4 v4, 0x2
invoke-direct {v0, v1, v4}, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;->f:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
const/4 v1, 0x3
new-array v1, v1, [Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
sget-object v5, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;->d:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
aput-object v5, v1, v2
sget-object v2, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;->e:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
aput-object v2, v1, v3
aput-object v0, v1, v4
sput-object v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;->g:[Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
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/drawee/controller/AbstractDraweeControllerBuilder$b;
.locals 1
const-class v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$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/drawee/controller/AbstractDraweeControllerBuilder$b;
return-object p0
.end method
.method public static values()[Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
.locals 1
sget-object v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;->g:[Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
invoke-virtual {v0}, [Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
return-object v0
.end method

View file

@ -1,717 +0,0 @@
.class public abstract Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;
.super Ljava/lang/Object;
.source "AbstractDraweeControllerBuilder.java"
# interfaces
.implements Lf/g/g/h/b;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<BUI",
"LDER:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder<",
"TBUI",
"LDER;",
"TREQUEST;TIMAGE;TINFO;>;REQUEST:",
"Ljava/lang/Object;",
"IMAGE:",
"Ljava/lang/Object;",
"INFO:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lf/g/g/h/b;"
}
.end annotation
# static fields
.field public static final o:Lcom/facebook/drawee/controller/ControllerListener;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/drawee/controller/ControllerListener<",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
.field public static final p:Ljava/lang/NullPointerException;
.field public static final q:Ljava/util/concurrent/atomic/AtomicLong;
# instance fields
.field public final a:Landroid/content/Context;
.field public final b:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Lcom/facebook/drawee/controller/ControllerListener;",
">;"
}
.end annotation
.end field
.field public final c:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Lf/g/h/b/a/b;",
">;"
}
.end annotation
.end field
.field public d:Ljava/lang/Object;
.field public e:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TREQUEST;"
}
.end annotation
.end field
.field public f:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TREQUEST;"
}
.end annotation
.end field
.field public g:[Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"[TREQUEST;"
}
.end annotation
.end field
.field public h:Z
.field public i:Lcom/facebook/drawee/controller/ControllerListener;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/drawee/controller/ControllerListener<",
"-TINFO;>;"
}
.end annotation
.end field
.field public j:Lf/g/g/c/d;
.field public k:Z
.field public l:Z
.field public m:Ljava/lang/String;
.field public n:Lcom/facebook/drawee/interfaces/DraweeController;
# direct methods
.method public static constructor <clinit>()V
.locals 2
new-instance v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$a;
invoke-direct {v0}, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$a;-><init>()V
sput-object v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->o:Lcom/facebook/drawee/controller/ControllerListener;
new-instance v0, Ljava/lang/NullPointerException;
const-string v1, "No image request was specified!"
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
sput-object v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->p:Ljava/lang/NullPointerException;
new-instance v0, Ljava/util/concurrent/atomic/AtomicLong;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
sput-object v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->q:Ljava/util/concurrent/atomic/AtomicLong;
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Ljava/util/Set;Ljava/util/Set;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Ljava/util/Set<",
"Lcom/facebook/drawee/controller/ControllerListener;",
">;",
"Ljava/util/Set<",
"Lf/g/h/b/a/b;",
">;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->a:Landroid/content/Context;
iput-object p2, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->b:Ljava/util/Set;
iput-object p3, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->c:Ljava/util/Set;
const/4 p1, 0x0
iput-object p1, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->d:Ljava/lang/Object;
iput-object p1, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->e:Ljava/lang/Object;
iput-object p1, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->f:Ljava/lang/Object;
iput-object p1, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->g:[Ljava/lang/Object;
const/4 p2, 0x1
iput-boolean p2, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->h:Z
iput-object p1, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->i:Lcom/facebook/drawee/controller/ControllerListener;
iput-object p1, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->j:Lf/g/g/c/d;
const/4 p2, 0x0
iput-boolean p2, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->k:Z
iput-boolean p2, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->l:Z
iput-object p1, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->n:Lcom/facebook/drawee/interfaces/DraweeController;
iput-object p1, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->m:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public b()Lcom/facebook/drawee/controller/AbstractDraweeController;
.locals 17
move-object/from16 v1, p0
iget-object v0, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->g:[Ljava/lang/Object;
const/4 v2, 0x0
const/4 v3, 0x1
if-eqz v0, :cond_1
iget-object v0, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->e:Ljava/lang/Object;
if-nez v0, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x1
:goto_1
const-string v4, "Cannot specify both ImageRequest and FirstAvailableImageRequests!"
invoke-static {v0, v4}, Ls/a/b/b/a;->l(ZLjava/lang/Object;)V
const-string v0, "Cannot specify DataSourceSupplier with other ImageRequests! Use one or the other."
invoke-static {v3, v0}, Ls/a/b/b/a;->l(ZLjava/lang/Object;)V
iget-object v0, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->e:Ljava/lang/Object;
const/4 v3, 0x0
if-nez v0, :cond_2
iget-object v0, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->g:[Ljava/lang/Object;
if-nez v0, :cond_2
iget-object v0, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->f:Ljava/lang/Object;
if-eqz v0, :cond_2
iput-object v0, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->e:Ljava/lang/Object;
iput-object v3, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->f:Ljava/lang/Object;
:cond_2
invoke-static {}, Lf/g/j/s/b;->b()Z
move-object v0, v1
check-cast v0, Lf/g/g/a/a/d;
invoke-static {}, Lf/g/j/s/b;->b()Z
:try_start_0
iget-object v4, v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->n:Lcom/facebook/drawee/interfaces/DraweeController;
sget-object v5, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->q:Ljava/util/concurrent/atomic/AtomicLong;
invoke-virtual {v5}, Ljava/util/concurrent/atomic/AtomicLong;->getAndIncrement()J
move-result-wide v5
invoke-static {v5, v6}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
move-result-object v9
instance-of v5, v4, Lf/g/g/a/a/c;
if-eqz v5, :cond_3
check-cast v4, Lf/g/g/a/a/c;
goto :goto_2
:cond_3
iget-object v4, v0, Lf/g/g/a/a/d;->s:Lf/g/g/a/a/f;
iget-object v11, v4, Lf/g/g/a/a/f;->a:Landroid/content/res/Resources;
iget-object v12, v4, Lf/g/g/a/a/f;->b:Lf/g/g/b/a;
iget-object v13, v4, Lf/g/g/a/a/f;->c:Lf/g/j/i/a;
iget-object v14, v4, Lf/g/g/a/a/f;->d:Ljava/util/concurrent/Executor;
iget-object v15, v4, Lf/g/g/a/a/f;->e:Lf/g/j/c/t;
iget-object v5, v4, Lf/g/g/a/a/f;->f:Lf/g/d/d/e;
new-instance v6, Lf/g/g/a/a/c;
move-object v10, v6
move-object/from16 v16, v5
invoke-direct/range {v10 .. v16}, Lf/g/g/a/a/c;-><init>(Landroid/content/res/Resources;Lf/g/g/b/a;Lf/g/j/i/a;Ljava/util/concurrent/Executor;Lf/g/j/c/t;Lf/g/d/d/e;)V
iget-object v4, v4, Lf/g/g/a/a/f;->g:Lcom/facebook/common/internal/Supplier;
if-eqz v4, :cond_4
invoke-interface {v4}, Lcom/facebook/common/internal/Supplier;->get()Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/Boolean;
invoke-virtual {v4}, Ljava/lang/Boolean;->booleanValue()Z
move-result v4
iput-boolean v4, v6, Lf/g/g/a/a/c;->D:Z
:cond_4
move-object v4, v6
:goto_2
invoke-virtual {v0, v4, v9}, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->d(Lcom/facebook/drawee/interfaces/DraweeController;Ljava/lang/String;)Lcom/facebook/common/internal/Supplier;
move-result-object v8
iget-object v5, v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->e:Ljava/lang/Object;
check-cast v5, Lcom/facebook/imagepipeline/request/ImageRequest;
iget-object v6, v0, Lf/g/g/a/a/d;->r:Lf/g/j/e/i;
iget-object v6, v6, Lf/g/j/e/i;->f:Lf/g/j/c/j;
if-eqz v6, :cond_6
if-eqz v5, :cond_6
iget-object v3, v5, Lcom/facebook/imagepipeline/request/ImageRequest;->p:Lf/g/j/r/b;
if-eqz v3, :cond_5
iget-object v3, v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->d:Ljava/lang/Object;
check-cast v6, Lf/g/j/c/n;
invoke-virtual {v6, v5, v3}, Lf/g/j/c/n;->c(Lcom/facebook/imagepipeline/request/ImageRequest;Ljava/lang/Object;)Lcom/facebook/cache/common/CacheKey;
move-result-object v3
goto :goto_3
:cond_5
iget-object v3, v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->d:Ljava/lang/Object;
check-cast v6, Lf/g/j/c/n;
invoke-virtual {v6, v5, v3}, Lf/g/j/c/n;->a(Lcom/facebook/imagepipeline/request/ImageRequest;Ljava/lang/Object;)Lcom/facebook/cache/common/CacheKey;
move-result-object v3
:cond_6
:goto_3
move-object v10, v3
iget-object v11, v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->d:Ljava/lang/Object;
const/4 v12, 0x0
const/4 v13, 0x0
move-object v7, v4
invoke-virtual/range {v7 .. v13}, Lf/g/g/a/a/c;->E(Lcom/facebook/common/internal/Supplier;Ljava/lang/String;Lcom/facebook/cache/common/CacheKey;Ljava/lang/Object;Lf/g/d/d/e;Lf/g/g/a/a/h/b;)V
iget-object v3, v0, Lf/g/g/a/a/d;->t:Lf/g/g/a/a/h/e;
sget-object v5, Lf/g/d/d/l;->a:Lcom/facebook/common/internal/Supplier;
invoke-virtual {v4, v3, v0, v5}, Lf/g/g/a/a/c;->F(Lf/g/g/a/a/h/e;Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;Lcom/facebook/common/internal/Supplier;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
invoke-static {}, Lf/g/j/s/b;->b()Z
iput-boolean v2, v4, Lcom/facebook/drawee/controller/AbstractDraweeController;->p:Z
iget-object v0, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->m:Ljava/lang/String;
iput-object v0, v4, Lcom/facebook/drawee/controller/AbstractDraweeController;->q:Ljava/lang/String;
iget-boolean v0, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->k:Z
if-nez v0, :cond_7
goto :goto_4
:cond_7
iget-object v0, v4, Lcom/facebook/drawee/controller/AbstractDraweeController;->d:Lf/g/g/b/d;
if-nez v0, :cond_8
new-instance v0, Lf/g/g/b/d;
invoke-direct {v0}, Lf/g/g/b/d;-><init>()V
iput-object v0, v4, Lcom/facebook/drawee/controller/AbstractDraweeController;->d:Lf/g/g/b/d;
:cond_8
iget-object v0, v4, Lcom/facebook/drawee/controller/AbstractDraweeController;->d:Lf/g/g/b/d;
iget-boolean v2, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->k:Z
iput-boolean v2, v0, Lf/g/g/b/d;->a:Z
iget-object v0, v4, Lcom/facebook/drawee/controller/AbstractDraweeController;->e:Lf/g/g/g/a;
if-nez v0, :cond_9
iget-object v0, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->a:Landroid/content/Context;
new-instance v2, Lf/g/g/g/a;
invoke-direct {v2, v0}, Lf/g/g/g/a;-><init>(Landroid/content/Context;)V
iput-object v2, v4, Lcom/facebook/drawee/controller/AbstractDraweeController;->e:Lf/g/g/g/a;
iput-object v4, v2, Lf/g/g/g/a;->a:Lf/g/g/g/a$a;
:cond_9
:goto_4
iget-object v0, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->b:Ljava/util/Set;
if-eqz v0, :cond_a
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_5
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_a
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/facebook/drawee/controller/ControllerListener;
invoke-virtual {v4, v2}, Lcom/facebook/drawee/controller/AbstractDraweeController;->i(Lcom/facebook/drawee/controller/ControllerListener;)V
goto :goto_5
:cond_a
iget-object v0, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->c:Ljava/util/Set;
if-eqz v0, :cond_b
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_6
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_b
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lf/g/h/b/a/b;
iget-object v3, v4, Lcom/facebook/drawee/controller/AbstractDraweeController;->g:Lf/g/h/b/a/d;
monitor-enter v3
:try_start_1
iget-object v5, v3, Lf/g/h/b/a/d;->a:Ljava/util/List;
invoke-interface {v5, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
monitor-exit v3
goto :goto_6
:catchall_0
move-exception v0
monitor-exit v3
throw v0
:cond_b
iget-object v0, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->i:Lcom/facebook/drawee/controller/ControllerListener;
if-eqz v0, :cond_c
invoke-virtual {v4, v0}, Lcom/facebook/drawee/controller/AbstractDraweeController;->i(Lcom/facebook/drawee/controller/ControllerListener;)V
:cond_c
iget-boolean v0, v1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->l:Z
if-eqz v0, :cond_d
sget-object v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->o:Lcom/facebook/drawee/controller/ControllerListener;
invoke-virtual {v4, v0}, Lcom/facebook/drawee/controller/AbstractDraweeController;->i(Lcom/facebook/drawee/controller/ControllerListener;)V
:cond_d
invoke-static {}, Lf/g/j/s/b;->b()Z
return-object v4
:catchall_1
move-exception v0
invoke-static {}, Lf/g/j/s/b;->b()Z
throw v0
.end method
.method public c(Lcom/facebook/drawee/interfaces/DraweeController;Ljava/lang/String;Ljava/lang/Object;)Lcom/facebook/common/internal/Supplier;
.locals 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/drawee/interfaces/DraweeController;",
"Ljava/lang/String;",
"TREQUEST;)",
"Lcom/facebook/common/internal/Supplier<",
"Lcom/facebook/datasource/DataSource<",
"TIMAGE;>;>;"
}
.end annotation
sget-object v6, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;->d:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
iget-object v5, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->d:Ljava/lang/Object;
new-instance v7, Lf/g/g/c/b;
move-object v0, v7
move-object v1, p0
move-object v2, p1
move-object v3, p2
move-object v4, p3
invoke-direct/range {v0 .. v6}, Lf/g/g/c/b;-><init>(Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;Lcom/facebook/drawee/interfaces/DraweeController;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;)V
return-object v7
.end method
.method public d(Lcom/facebook/drawee/interfaces/DraweeController;Ljava/lang/String;)Lcom/facebook/common/internal/Supplier;
.locals 13
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/drawee/interfaces/DraweeController;",
"Ljava/lang/String;",
")",
"Lcom/facebook/common/internal/Supplier<",
"Lcom/facebook/datasource/DataSource<",
"TIMAGE;>;>;"
}
.end annotation
iget-object v0, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->e:Ljava/lang/Object;
const/4 v1, 0x2
const/4 v2, 0x0
if-eqz v0, :cond_0
invoke-virtual {p0, p1, p2, v0}, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->c(Lcom/facebook/drawee/interfaces/DraweeController;Ljava/lang/String;Ljava/lang/Object;)Lcom/facebook/common/internal/Supplier;
move-result-object v0
goto :goto_2
:cond_0
iget-object v0, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->g:[Ljava/lang/Object;
if-eqz v0, :cond_3
iget-boolean v3, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->h:Z
new-instance v4, Ljava/util/ArrayList;
array-length v5, v0
mul-int/lit8 v5, v5, 0x2
invoke-direct {v4, v5}, Ljava/util/ArrayList;-><init>(I)V
if-eqz v3, :cond_1
const/4 v3, 0x0
:goto_0
array-length v5, v0
if-ge v3, v5, :cond_1
aget-object v10, v0, v3
sget-object v12, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;->f:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;
iget-object v11, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->d:Ljava/lang/Object;
new-instance v5, Lf/g/g/c/b;
move-object v6, v5
move-object v7, p0
move-object v8, p1
move-object v9, p2
invoke-direct/range {v6 .. v12}, Lf/g/g/c/b;-><init>(Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;Lcom/facebook/drawee/interfaces/DraweeController;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder$b;)V
invoke-virtual {v4, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_1
const/4 v3, 0x0
:goto_1
array-length v5, v0
if-ge v3, v5, :cond_2
aget-object v5, v0, v3
invoke-virtual {p0, p1, p2, v5}, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->c(Lcom/facebook/drawee/interfaces/DraweeController;Ljava/lang/String;Ljava/lang/Object;)Lcom/facebook/common/internal/Supplier;
move-result-object v5
invoke-virtual {v4, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 v3, v3, 0x1
goto :goto_1
:cond_2
new-instance v0, Lf/g/e/g;
invoke-direct {v0, v4}, Lf/g/e/g;-><init>(Ljava/util/List;)V
goto :goto_2
:cond_3
const/4 v0, 0x0
:goto_2
if-eqz v0, :cond_4
iget-object v3, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->f:Ljava/lang/Object;
if-eqz v3, :cond_4
new-instance v3, Ljava/util/ArrayList;
invoke-direct {v3, v1}, Ljava/util/ArrayList;-><init>(I)V
invoke-virtual {v3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
iget-object v0, p0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->f:Ljava/lang/Object;
invoke-virtual {p0, p1, p2, v0}, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->c(Lcom/facebook/drawee/interfaces/DraweeController;Ljava/lang/String;Ljava/lang/Object;)Lcom/facebook/common/internal/Supplier;
move-result-object p1
invoke-virtual {v3, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
new-instance v0, Lf/g/e/h;
invoke-direct {v0, v3, v2}, Lf/g/e/h;-><init>(Ljava/util/List;Z)V
:cond_4
if-nez v0, :cond_5
sget-object p1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->p:Ljava/lang/NullPointerException;
new-instance v0, Lf/g/e/e;
invoke-direct {v0, p1}, Lf/g/e/e;-><init>(Ljava/lang/Throwable;)V
:cond_5
return-object v0
.end method

View file

@ -1,50 +0,0 @@
.class public interface abstract Lcom/facebook/drawee/controller/ControllerListener;
.super Ljava/lang/Object;
.source "ControllerListener.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<INFO:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# virtual methods
.method public abstract onFailure(Ljava/lang/String;Ljava/lang/Throwable;)V
.end method
.method public abstract onFinalImageSet(Ljava/lang/String;Ljava/lang/Object;Landroid/graphics/drawable/Animatable;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"TINFO;",
"Landroid/graphics/drawable/Animatable;",
")V"
}
.end annotation
.end method
.method public abstract onIntermediateImageFailed(Ljava/lang/String;Ljava/lang/Throwable;)V
.end method
.method public abstract onIntermediateImageSet(Ljava/lang/String;Ljava/lang/Object;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"TINFO;)V"
}
.end annotation
.end method
.method public abstract onRelease(Ljava/lang/String;)V
.end method
.method public abstract onSubmit(Ljava/lang/String;Ljava/lang/Object;)V
.end method

View file

@ -1,72 +0,0 @@
.class public interface abstract Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
.super Ljava/lang/Object;
.source "ScalingUtils.java"
# static fields
.field public static final a:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
.field public static final b:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
.field public static final c:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
.field public static final d:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
.field public static final e:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
.field public static final f:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
.field public static final g:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
.field public static final h:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
.field public static final i:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
# direct methods
.method public static constructor <clinit>()V
.locals 1
sget-object v0, Lf/g/g/e/y;->j:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sput-object v0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->a:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sget-object v0, Lf/g/g/e/x;->j:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sput-object v0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->b:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sget-object v0, Lf/g/g/e/v;->j:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sput-object v0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->c:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sget-object v0, Lf/g/g/e/w;->j:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sput-object v0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->d:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sget-object v0, Lf/g/g/e/r;->j:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sput-object v0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->e:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sget-object v0, Lf/g/g/e/t;->j:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sput-object v0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->f:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sget-object v0, Lf/g/g/e/s;->j:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sput-object v0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->g:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sget-object v0, Lf/g/g/e/z;->j:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sput-object v0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->h:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sget-object v0, Lf/g/g/e/u;->j:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sput-object v0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->i:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
return-void
.end method
# virtual methods
.method public abstract a(Landroid/graphics/Matrix;Landroid/graphics/Rect;IIFF)Landroid/graphics/Matrix;
.end method

View file

@ -1,846 +0,0 @@
.class public Lcom/facebook/drawee/generic/GenericDraweeHierarchy;
.super Ljava/lang/Object;
.source "GenericDraweeHierarchy.java"
# interfaces
.implements Lf/g/g/h/a;
# instance fields
.field public final a:Landroid/graphics/drawable/Drawable;
.field public final b:Landroid/content/res/Resources;
.field public c:Lf/g/g/f/c;
.field public final d:Lf/g/g/f/b;
.field public final e:Lf/g/g/e/f;
.field public final f:Lf/g/g/e/g;
# direct methods
.method public constructor <init>(Lf/g/g/f/a;)V
.locals 10
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Landroid/graphics/drawable/ColorDrawable;
const/4 v1, 0x0
invoke-direct {v0, v1}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V
iput-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->a:Landroid/graphics/drawable/Drawable;
invoke-static {}, Lf/g/j/s/b;->b()Z
iget-object v0, p1, Lf/g/g/f/a;->a:Landroid/content/res/Resources;
iput-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->b:Landroid/content/res/Resources;
iget-object v0, p1, Lf/g/g/f/a;->r:Lf/g/g/f/c;
iput-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->c:Lf/g/g/f/c;
new-instance v0, Lf/g/g/e/g;
iget-object v2, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->a:Landroid/graphics/drawable/Drawable;
invoke-direct {v0, v2}, Lf/g/g/e/g;-><init>(Landroid/graphics/drawable/Drawable;)V
iput-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->f:Lf/g/g/e/g;
iget-object v0, p1, Lf/g/g/f/a;->p:Ljava/util/List;
const/4 v2, 0x1
if-eqz v0, :cond_0
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
goto :goto_0
:cond_0
const/4 v0, 0x1
:goto_0
if-nez v0, :cond_1
const/4 v0, 0x1
:cond_1
iget-object v3, p1, Lf/g/g/f/a;->q:Landroid/graphics/drawable/Drawable;
if-eqz v3, :cond_2
const/4 v3, 0x1
goto :goto_1
:cond_2
const/4 v3, 0x0
:goto_1
add-int/2addr v0, v3
add-int/lit8 v3, v0, 0x6
new-array v3, v3, [Landroid/graphics/drawable/Drawable;
iget-object v4, p1, Lf/g/g/f/a;->o:Landroid/graphics/drawable/Drawable;
const/4 v5, 0x0
invoke-virtual {p0, v4, v5}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->h(Landroid/graphics/drawable/Drawable;Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;)Landroid/graphics/drawable/Drawable;
move-result-object v4
aput-object v4, v3, v1
iget-object v4, p1, Lf/g/g/f/a;->d:Landroid/graphics/drawable/Drawable;
iget-object v6, p1, Lf/g/g/f/a;->e:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
invoke-virtual {p0, v4, v6}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->h(Landroid/graphics/drawable/Drawable;Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;)Landroid/graphics/drawable/Drawable;
move-result-object v4
aput-object v4, v3, v2
const/4 v4, 0x2
iget-object v6, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->f:Lf/g/g/e/g;
iget-object v7, p1, Lf/g/g/f/a;->l:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
iget-object v8, p1, Lf/g/g/f/a;->m:Landroid/graphics/PointF;
iget-object v9, p1, Lf/g/g/f/a;->n:Landroid/graphics/ColorFilter;
invoke-virtual {v6, v9}, Landroid/graphics/drawable/Drawable;->setColorFilter(Landroid/graphics/ColorFilter;)V
invoke-static {v6, v7, v8}, Lf/g/g/f/d;->e(Landroid/graphics/drawable/Drawable;Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;Landroid/graphics/PointF;)Landroid/graphics/drawable/Drawable;
move-result-object v6
aput-object v6, v3, v4
const/4 v4, 0x3
iget-object v6, p1, Lf/g/g/f/a;->j:Landroid/graphics/drawable/Drawable;
iget-object v7, p1, Lf/g/g/f/a;->k:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
invoke-virtual {p0, v6, v7}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->h(Landroid/graphics/drawable/Drawable;Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;)Landroid/graphics/drawable/Drawable;
move-result-object v6
aput-object v6, v3, v4
const/4 v4, 0x4
iget-object v6, p1, Lf/g/g/f/a;->f:Landroid/graphics/drawable/Drawable;
iget-object v7, p1, Lf/g/g/f/a;->g:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
invoke-virtual {p0, v6, v7}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->h(Landroid/graphics/drawable/Drawable;Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;)Landroid/graphics/drawable/Drawable;
move-result-object v6
aput-object v6, v3, v4
const/4 v4, 0x5
iget-object v6, p1, Lf/g/g/f/a;->h:Landroid/graphics/drawable/Drawable;
iget-object v7, p1, Lf/g/g/f/a;->i:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
invoke-virtual {p0, v6, v7}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->h(Landroid/graphics/drawable/Drawable;Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;)Landroid/graphics/drawable/Drawable;
move-result-object v6
aput-object v6, v3, v4
if-lez v0, :cond_5
iget-object v0, p1, Lf/g/g/f/a;->p:Ljava/util/List;
if-eqz v0, :cond_3
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
const/4 v4, 0x0
:goto_2
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v6
if-eqz v6, :cond_4
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v6
check-cast v6, Landroid/graphics/drawable/Drawable;
add-int/lit8 v7, v4, 0x1
add-int/lit8 v4, v4, 0x6
invoke-virtual {p0, v6, v5}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->h(Landroid/graphics/drawable/Drawable;Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;)Landroid/graphics/drawable/Drawable;
move-result-object v6
aput-object v6, v3, v4
move v4, v7
goto :goto_2
:cond_3
const/4 v4, 0x1
:cond_4
iget-object v0, p1, Lf/g/g/f/a;->q:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_5
add-int/lit8 v4, v4, 0x6
invoke-virtual {p0, v0, v5}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->h(Landroid/graphics/drawable/Drawable;Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;)Landroid/graphics/drawable/Drawable;
move-result-object v0
aput-object v0, v3, v4
:cond_5
new-instance v0, Lf/g/g/e/f;
invoke-direct {v0, v3}, Lf/g/g/e/f;-><init>([Landroid/graphics/drawable/Drawable;)V
iput-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
iget p1, p1, Lf/g/g/f/a;->b:I
iput p1, v0, Lf/g/g/e/f;->p:I
iget p1, v0, Lf/g/g/e/f;->o:I
if-ne p1, v2, :cond_6
iput v1, v0, Lf/g/g/e/f;->o:I
:cond_6
iget-object p1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->c:Lf/g/g/f/c;
invoke-static {p1, v0}, Lf/g/g/f/d;->d(Landroid/graphics/drawable/Drawable;Lf/g/g/f/c;)Landroid/graphics/drawable/Drawable;
move-result-object p1
new-instance v0, Lf/g/g/f/b;
invoke-direct {v0, p1}, Lf/g/g/f/b;-><init>(Landroid/graphics/drawable/Drawable;)V
iput-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->d:Lf/g/g/f/b;
invoke-virtual {v0}, Lf/g/g/e/g;->mutate()Landroid/graphics/drawable/Drawable;
invoke-virtual {p0}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->n()V
invoke-static {}, Lf/g/j/s/b;->b()Z
return-void
.end method
# virtual methods
.method public a()Landroid/graphics/Rect;
.locals 1
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->d:Lf/g/g/f/b;
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getBounds()Landroid/graphics/Rect;
move-result-object v0
return-object v0
.end method
.method public b(Landroid/graphics/drawable/Drawable;)V
.locals 1
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->d:Lf/g/g/f/b;
iput-object p1, v0, Lf/g/g/f/b;->h:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->invalidateSelf()V
return-void
.end method
.method public c(Ljava/lang/Throwable;)V
.locals 1
iget-object p1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
invoke-virtual {p1}, Lf/g/g/e/f;->e()V
invoke-virtual {p0}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->j()V
iget-object p1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
const/4 v0, 0x4
invoke-virtual {p1, v0}, Lf/g/g/e/b;->a(I)Landroid/graphics/drawable/Drawable;
move-result-object p1
if-eqz p1, :cond_0
invoke-virtual {p0, v0}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->i(I)V
goto :goto_0
:cond_0
const/4 p1, 0x1
invoke-virtual {p0, p1}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->i(I)V
:goto_0
iget-object p1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
invoke-virtual {p1}, Lf/g/g/e/f;->f()V
return-void
.end method
.method public d(Ljava/lang/Throwable;)V
.locals 1
iget-object p1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
invoke-virtual {p1}, Lf/g/g/e/f;->e()V
invoke-virtual {p0}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->j()V
iget-object p1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
const/4 v0, 0x5
invoke-virtual {p1, v0}, Lf/g/g/e/b;->a(I)Landroid/graphics/drawable/Drawable;
move-result-object p1
if-eqz p1, :cond_0
invoke-virtual {p0, v0}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->i(I)V
goto :goto_0
:cond_0
const/4 p1, 0x1
invoke-virtual {p0, p1}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->i(I)V
:goto_0
iget-object p1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
invoke-virtual {p1}, Lf/g/g/e/f;->f()V
return-void
.end method
.method public e(FZ)V
.locals 2
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
const/4 v1, 0x3
invoke-virtual {v0, v1}, Lf/g/g/e/b;->a(I)Landroid/graphics/drawable/Drawable;
move-result-object v0
if-nez v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
invoke-virtual {v0}, Lf/g/g/e/f;->e()V
invoke-virtual {p0, p1}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->q(F)V
if-eqz p2, :cond_1
iget-object p1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
invoke-virtual {p1}, Lf/g/g/e/f;->g()V
:cond_1
iget-object p1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
invoke-virtual {p1}, Lf/g/g/e/f;->f()V
return-void
.end method
.method public f()Landroid/graphics/drawable/Drawable;
.locals 1
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->d:Lf/g/g/f/b;
return-object v0
.end method
.method public g(Landroid/graphics/drawable/Drawable;FZ)V
.locals 2
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->c:Lf/g/g/f/c;
iget-object v1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->b:Landroid/content/res/Resources;
invoke-static {p1, v0, v1}, Lf/g/g/f/d;->c(Landroid/graphics/drawable/Drawable;Lf/g/g/f/c;Landroid/content/res/Resources;)Landroid/graphics/drawable/Drawable;
move-result-object p1
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->f:Lf/g/g/e/g;
invoke-virtual {v0, p1}, Lf/g/g/e/g;->o(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
iget-object p1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
invoke-virtual {p1}, Lf/g/g/e/f;->e()V
invoke-virtual {p0}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->j()V
const/4 p1, 0x2
invoke-virtual {p0, p1}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->i(I)V
invoke-virtual {p0, p2}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->q(F)V
if-eqz p3, :cond_0
iget-object p1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
invoke-virtual {p1}, Lf/g/g/e/f;->g()V
:cond_0
iget-object p1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
invoke-virtual {p1}, Lf/g/g/e/f;->f()V
return-void
.end method
.method public final h(Landroid/graphics/drawable/Drawable;Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;)Landroid/graphics/drawable/Drawable;
.locals 2
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->c:Lf/g/g/f/c;
iget-object v1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->b:Landroid/content/res/Resources;
invoke-static {p1, v0, v1}, Lf/g/g/f/d;->c(Landroid/graphics/drawable/Drawable;Lf/g/g/f/c;Landroid/content/res/Resources;)Landroid/graphics/drawable/Drawable;
move-result-object p1
const/4 v0, 0x0
invoke-static {p1, p2, v0}, Lf/g/g/f/d;->e(Landroid/graphics/drawable/Drawable;Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;Landroid/graphics/PointF;)Landroid/graphics/drawable/Drawable;
move-result-object p1
return-object p1
.end method
.method public final i(I)V
.locals 4
if-ltz p1, :cond_1
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
const/4 v1, 0x2
const/4 v2, 0x0
const/4 v3, 0x1
if-ne p1, v1, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
iput-boolean v1, v0, Lf/g/g/e/f;->x:Z
iput v2, v0, Lf/g/g/e/f;->o:I
iget-object v1, v0, Lf/g/g/e/f;->u:[Z
aput-boolean v3, v1, p1
invoke-virtual {v0}, Lf/g/g/e/f;->invalidateSelf()V
:cond_1
return-void
.end method
.method public final j()V
.locals 1
const/4 v0, 0x1
invoke-virtual {p0, v0}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->k(I)V
const/4 v0, 0x2
invoke-virtual {p0, v0}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->k(I)V
const/4 v0, 0x3
invoke-virtual {p0, v0}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->k(I)V
const/4 v0, 0x4
invoke-virtual {p0, v0}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->k(I)V
const/4 v0, 0x5
invoke-virtual {p0, v0}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->k(I)V
return-void
.end method
.method public final k(I)V
.locals 3
if-ltz p1, :cond_0
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
const/4 v1, 0x0
iput v1, v0, Lf/g/g/e/f;->o:I
iget-object v2, v0, Lf/g/g/e/f;->u:[Z
aput-boolean v1, v2, p1
invoke-virtual {v0}, Lf/g/g/e/f;->invalidateSelf()V
:cond_0
return-void
.end method
.method public final l(I)Lf/g/g/e/d;
.locals 4
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
if-eqz v0, :cond_5
const/4 v1, 0x0
const/4 v2, 0x1
if-ltz p1, :cond_0
const/4 v3, 0x1
goto :goto_0
:cond_0
const/4 v3, 0x0
:goto_0
invoke-static {v3}, Ls/a/b/b/a;->g(Z)V
iget-object v3, v0, Lf/g/g/e/b;->g:[Lf/g/g/e/d;
array-length v3, v3
if-ge p1, v3, :cond_1
const/4 v1, 0x1
:cond_1
invoke-static {v1}, Ls/a/b/b/a;->g(Z)V
iget-object v1, v0, Lf/g/g/e/b;->g:[Lf/g/g/e/d;
aget-object v2, v1, p1
if-nez v2, :cond_2
new-instance v2, Lf/g/g/e/a;
invoke-direct {v2, v0, p1}, Lf/g/g/e/a;-><init>(Lf/g/g/e/b;I)V
aput-object v2, v1, p1
:cond_2
iget-object v0, v0, Lf/g/g/e/b;->g:[Lf/g/g/e/d;
aget-object p1, v0, p1
invoke-interface {p1}, Lf/g/g/e/d;->l()Landroid/graphics/drawable/Drawable;
move-result-object v0
instance-of v0, v0, Lf/g/g/e/h;
if-eqz v0, :cond_3
invoke-interface {p1}, Lf/g/g/e/d;->l()Landroid/graphics/drawable/Drawable;
move-result-object p1
check-cast p1, Lf/g/g/e/h;
:cond_3
invoke-interface {p1}, Lf/g/g/e/d;->l()Landroid/graphics/drawable/Drawable;
move-result-object v0
instance-of v0, v0, Lf/g/g/e/p;
if-eqz v0, :cond_4
invoke-interface {p1}, Lf/g/g/e/d;->l()Landroid/graphics/drawable/Drawable;
move-result-object p1
check-cast p1, Lf/g/g/e/p;
:cond_4
return-object p1
:cond_5
const/4 p1, 0x0
throw p1
.end method
.method public final m(I)Lf/g/g/e/p;
.locals 3
invoke-virtual {p0, p1}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->l(I)Lf/g/g/e/d;
move-result-object p1
instance-of v0, p1, Lf/g/g/e/p;
if-eqz v0, :cond_0
check-cast p1, Lf/g/g/e/p;
return-object p1
:cond_0
sget-object v0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->a:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
sget-object v1, Lf/g/g/f/d;->a:Landroid/graphics/drawable/Drawable;
invoke-interface {p1, v1}, Lf/g/g/e/d;->g(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
move-result-object v1
const/4 v2, 0x0
invoke-static {v1, v0, v2}, Lf/g/g/f/d;->e(Landroid/graphics/drawable/Drawable;Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;Landroid/graphics/PointF;)Landroid/graphics/drawable/Drawable;
move-result-object v0
invoke-interface {p1, v0}, Lf/g/g/e/d;->g(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
const-string p1, "Parent has no child drawable!"
invoke-static {v0, p1}, Ls/a/b/b/a;->j(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
check-cast v0, Lf/g/g/e/p;
return-object v0
.end method
.method public final n()V
.locals 3
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lf/g/g/e/f;->e()V
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
const/4 v1, 0x0
iput v1, v0, Lf/g/g/e/f;->o:I
iget-object v1, v0, Lf/g/g/e/f;->u:[Z
const/4 v2, 0x1
invoke-static {v1, v2}, Ljava/util/Arrays;->fill([ZZ)V
invoke-virtual {v0}, Lf/g/g/e/f;->invalidateSelf()V
invoke-virtual {p0}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->j()V
invoke-virtual {p0, v2}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->i(I)V
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
invoke-virtual {v0}, Lf/g/g/e/f;->g()V
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
invoke-virtual {v0}, Lf/g/g/e/f;->f()V
:cond_0
return-void
.end method
.method public final o(ILandroid/graphics/drawable/Drawable;)V
.locals 2
if-nez p2, :cond_0
iget-object p2, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
const/4 v0, 0x0
invoke-virtual {p2, p1, v0}, Lf/g/g/e/b;->c(ILandroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
return-void
:cond_0
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->c:Lf/g/g/f/c;
iget-object v1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->b:Landroid/content/res/Resources;
invoke-static {p2, v0, v1}, Lf/g/g/f/d;->c(Landroid/graphics/drawable/Drawable;Lf/g/g/f/c;Landroid/content/res/Resources;)Landroid/graphics/drawable/Drawable;
move-result-object p2
invoke-virtual {p0, p1}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->l(I)Lf/g/g/e/d;
move-result-object p1
invoke-interface {p1, p2}, Lf/g/g/e/d;->g(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
return-void
.end method
.method public p(I)V
.locals 1
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->b:Landroid/content/res/Resources;
invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
move-result-object p1
const/4 v0, 0x1
invoke-virtual {p0, v0, p1}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->o(ILandroid/graphics/drawable/Drawable;)V
return-void
.end method
.method public final q(F)V
.locals 3
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->e:Lf/g/g/e/f;
const/4 v1, 0x3
invoke-virtual {v0, v1}, Lf/g/g/e/b;->a(I)Landroid/graphics/drawable/Drawable;
move-result-object v0
if-nez v0, :cond_0
return-void
:cond_0
const v2, 0x3f7fbe77 # 0.999f
cmpl-float v2, p1, v2
if-ltz v2, :cond_2
instance-of v2, v0, Landroid/graphics/drawable/Animatable;
if-eqz v2, :cond_1
move-object v2, v0
check-cast v2, Landroid/graphics/drawable/Animatable;
invoke-interface {v2}, Landroid/graphics/drawable/Animatable;->stop()V
:cond_1
invoke-virtual {p0, v1}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->k(I)V
goto :goto_0
:cond_2
instance-of v2, v0, Landroid/graphics/drawable/Animatable;
if-eqz v2, :cond_3
move-object v2, v0
check-cast v2, Landroid/graphics/drawable/Animatable;
invoke-interface {v2}, Landroid/graphics/drawable/Animatable;->start()V
:cond_3
invoke-virtual {p0, v1}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->i(I)V
:goto_0
const v1, 0x461c4000 # 10000.0f
mul-float p1, p1, v1
invoke-static {p1}, Ljava/lang/Math;->round(F)I
move-result p1
invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->setLevel(I)Z
return-void
.end method
.method public reset()V
.locals 2
iget-object v0, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->f:Lf/g/g/e/g;
iget-object v1, p0, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->a:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0, v1}, Lf/g/g/e/g;->o(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
invoke-virtual {p0}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->n()V
return-void
.end method

View file

@ -1,23 +0,0 @@
.class public interface abstract Lcom/facebook/drawee/interfaces/DraweeController;
.super Ljava/lang/Object;
.source "DraweeController.java"
# virtual methods
.method public abstract a()V
.end method
.method public abstract b()Lcom/facebook/drawee/interfaces/DraweeHierarchy;
.end method
.method public abstract c()Landroid/graphics/drawable/Animatable;
.end method
.method public abstract d()V
.end method
.method public abstract e(Lcom/facebook/drawee/interfaces/DraweeHierarchy;)V
.end method
.method public abstract onTouchEvent(Landroid/view/MotionEvent;)Z
.end method

View file

@ -1,11 +0,0 @@
.class public interface abstract Lcom/facebook/drawee/interfaces/DraweeHierarchy;
.super Ljava/lang/Object;
.source "DraweeHierarchy.java"
# virtual methods
.method public abstract a()Landroid/graphics/Rect;
.end method
.method public abstract f()Landroid/graphics/drawable/Drawable;
.end method

View file

@ -1,14 +0,0 @@
.class public synthetic Lcom/facebook/drawee/span/DraweeSpanStringBuilder$a;
.super Ljava/lang/Object;
.source "DraweeSpanStringBuilder.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1009
name = null
.end annotation

View file

@ -1,120 +0,0 @@
.class public Lcom/facebook/drawee/span/DraweeSpanStringBuilder$b;
.super Ljava/lang/Object;
.source "DraweeSpanStringBuilder.java"
# interfaces
.implements Landroid/graphics/drawable/Drawable$Callback;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "b"
.end annotation
# instance fields
.field public final synthetic d:Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
# direct methods
.method public constructor <init>(Lcom/facebook/drawee/span/DraweeSpanStringBuilder;Lcom/facebook/drawee/span/DraweeSpanStringBuilder$a;)V
.locals 0
iput-object p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$b;->d:Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
.locals 1
iget-object p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$b;->d:Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
iget-object v0, p1, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->f:Landroid/view/View;
if-eqz v0, :cond_0
invoke-virtual {v0}, Landroid/view/View;->invalidate()V
goto :goto_0
:cond_0
iget-object p1, p1, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->g:Landroid/graphics/drawable/Drawable;
if-eqz p1, :cond_1
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->invalidateSelf()V
:cond_1
:goto_0
return-void
.end method
.method public scheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;J)V
.locals 2
iget-object p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$b;->d:Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
iget-object v0, p1, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->f:Landroid/view/View;
if-eqz v0, :cond_0
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v0
sub-long/2addr p3, v0
iget-object p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$b;->d:Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
iget-object p1, p1, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->f:Landroid/view/View;
invoke-virtual {p1, p2, p3, p4}, Landroid/view/View;->postDelayed(Ljava/lang/Runnable;J)Z
goto :goto_0
:cond_0
iget-object p1, p1, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->g:Landroid/graphics/drawable/Drawable;
if-eqz p1, :cond_1
invoke-virtual {p1, p2, p3, p4}, Landroid/graphics/drawable/Drawable;->scheduleSelf(Ljava/lang/Runnable;J)V
:cond_1
:goto_0
return-void
.end method
.method public unscheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;)V
.locals 1
iget-object p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$b;->d:Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
iget-object v0, p1, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->f:Landroid/view/View;
if-eqz v0, :cond_0
invoke-virtual {v0, p2}, Landroid/view/View;->removeCallbacks(Ljava/lang/Runnable;)Z
goto :goto_0
:cond_0
iget-object p1, p1, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->g:Landroid/graphics/drawable/Drawable;
if-eqz p1, :cond_1
invoke-virtual {p1, p2}, Landroid/graphics/drawable/Drawable;->unscheduleSelf(Ljava/lang/Runnable;)V
:cond_1
:goto_0
return-void
.end method

View file

@ -1,187 +0,0 @@
.class public Lcom/facebook/drawee/span/DraweeSpanStringBuilder$c;
.super Lf/g/g/c/c;
.source "DraweeSpanStringBuilder.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "c"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/g/g/c/c<",
"Lcom/facebook/imagepipeline/image/ImageInfo;",
">;"
}
.end annotation
# instance fields
.field public final a:Lf/g/g/i/a;
.field public final b:Z
.field public final c:I
.field public final synthetic d:Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
# direct methods
.method public constructor <init>(Lcom/facebook/drawee/span/DraweeSpanStringBuilder;Lf/g/g/i/a;ZI)V
.locals 0
iput-object p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$c;->d:Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
invoke-direct {p0}, Lf/g/g/c/c;-><init>()V
iput-object p2, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$c;->a:Lf/g/g/i/a;
iput-boolean p3, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$c;->b:Z
iput p4, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$c;->c:I
return-void
.end method
# virtual methods
.method public onFinalImageSet(Ljava/lang/String;Ljava/lang/Object;Landroid/graphics/drawable/Animatable;)V
.locals 3
check-cast p2, Lcom/facebook/imagepipeline/image/ImageInfo;
iget-boolean p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$c;->b:Z
if-eqz p1, :cond_3
if-eqz p2, :cond_3
iget-object p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$c;->a:Lf/g/g/i/a;
iget-object p1, p1, Lf/g/g/i/a;->j:Lcom/facebook/drawee/view/DraweeHolder;
invoke-virtual {p1}, Lcom/facebook/drawee/view/DraweeHolder;->d()Landroid/graphics/drawable/Drawable;
move-result-object p1
if-eqz p1, :cond_3
iget-object p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$c;->a:Lf/g/g/i/a;
iget-object p1, p1, Lf/g/g/i/a;->j:Lcom/facebook/drawee/view/DraweeHolder;
invoke-virtual {p1}, Lcom/facebook/drawee/view/DraweeHolder;->d()Landroid/graphics/drawable/Drawable;
move-result-object p1
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getBounds()Landroid/graphics/Rect;
move-result-object p3
iget v0, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$c;->c:I
const/4 v1, -0x1
const/4 v2, 0x0
if-eq v0, v1, :cond_1
int-to-float v0, v0
invoke-interface {p2}, Lcom/facebook/imagepipeline/image/ImageInfo;->getHeight()I
move-result v1
int-to-float v1, v1
div-float/2addr v0, v1
invoke-interface {p2}, Lcom/facebook/imagepipeline/image/ImageInfo;->getWidth()I
move-result p2
int-to-float p2, p2
mul-float v0, v0, p2
float-to-int p2, v0
invoke-virtual {p3}, Landroid/graphics/Rect;->width()I
move-result v0
if-ne v0, p2, :cond_0
invoke-virtual {p3}, Landroid/graphics/Rect;->height()I
move-result p3
iget v0, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$c;->c:I
if-eq p3, v0, :cond_3
:cond_0
iget p3, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$c;->c:I
invoke-virtual {p1, v2, v2, p2, p3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
iget-object p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$c;->d:Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
iget-object p2, p1, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->h:Lcom/facebook/drawee/span/DraweeSpanStringBuilder$d;
if-eqz p2, :cond_3
invoke-interface {p2, p1}, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$d;->a(Lcom/facebook/drawee/span/DraweeSpanStringBuilder;)V
goto :goto_0
:cond_1
invoke-virtual {p3}, Landroid/graphics/Rect;->width()I
move-result v0
invoke-interface {p2}, Lcom/facebook/imagepipeline/image/ImageInfo;->getWidth()I
move-result v1
if-ne v0, v1, :cond_2
invoke-virtual {p3}, Landroid/graphics/Rect;->height()I
move-result p3
invoke-interface {p2}, Lcom/facebook/imagepipeline/image/ImageInfo;->getHeight()I
move-result v0
if-eq p3, v0, :cond_3
:cond_2
invoke-interface {p2}, Lcom/facebook/imagepipeline/image/ImageInfo;->getWidth()I
move-result p3
invoke-interface {p2}, Lcom/facebook/imagepipeline/image/ImageInfo;->getHeight()I
move-result p2
invoke-virtual {p1, v2, v2, p3, p2}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
iget-object p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$c;->d:Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
iget-object p2, p1, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->h:Lcom/facebook/drawee/span/DraweeSpanStringBuilder$d;
if-eqz p2, :cond_3
invoke-interface {p2, p1}, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$d;->a(Lcom/facebook/drawee/span/DraweeSpanStringBuilder;)V
:cond_3
:goto_0
return-void
.end method

View file

@ -1,19 +0,0 @@
.class public interface abstract Lcom/facebook/drawee/span/DraweeSpanStringBuilder$d;
.super Ljava/lang/Object;
.source "DraweeSpanStringBuilder.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x609
name = "d"
.end annotation
# virtual methods
.method public abstract a(Lcom/facebook/drawee/span/DraweeSpanStringBuilder;)V
.end method

View file

@ -1,185 +0,0 @@
.class public Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
.super Landroid/text/SpannableStringBuilder;
.source "DraweeSpanStringBuilder.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/drawee/span/DraweeSpanStringBuilder$c;,
Lcom/facebook/drawee/span/DraweeSpanStringBuilder$b;,
Lcom/facebook/drawee/span/DraweeSpanStringBuilder$d;
}
.end annotation
# instance fields
.field public final d:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Lf/g/g/i/a;",
">;"
}
.end annotation
.end field
.field public final e:Lcom/facebook/drawee/span/DraweeSpanStringBuilder$b;
.field public f:Landroid/view/View;
.field public g:Landroid/graphics/drawable/Drawable;
.field public h:Lcom/facebook/drawee/span/DraweeSpanStringBuilder$d;
# direct methods
.method public constructor <init>()V
.locals 2
invoke-direct {p0}, Landroid/text/SpannableStringBuilder;-><init>()V
new-instance v0, Ljava/util/HashSet;
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
iput-object v0, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->d:Ljava/util/Set;
new-instance v0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$b;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lcom/facebook/drawee/span/DraweeSpanStringBuilder$b;-><init>(Lcom/facebook/drawee/span/DraweeSpanStringBuilder;Lcom/facebook/drawee/span/DraweeSpanStringBuilder$a;)V
iput-object v0, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->e:Lcom/facebook/drawee/span/DraweeSpanStringBuilder$b;
return-void
.end method
# virtual methods
.method public a(Landroid/view/View;)V
.locals 3
iget-object v0, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->f:Landroid/view/View;
const/4 v1, 0x0
if-eqz v0, :cond_1
if-eq v0, v0, :cond_0
goto :goto_0
:cond_0
iput-object v1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->f:Landroid/view/View;
:cond_1
:goto_0
iget-object v0, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->g:Landroid/graphics/drawable/Drawable;
if-eqz v0, :cond_3
if-eq v0, v0, :cond_2
goto :goto_1
:cond_2
iput-object v1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->g:Landroid/graphics/drawable/Drawable;
:cond_3
:goto_1
iput-object p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->f:Landroid/view/View;
iget-object p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->d:Ljava/util/Set;
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_2
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_4
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lf/g/g/i/a;
iget-object v0, v0, Lf/g/g/i/a;->j:Lcom/facebook/drawee/view/DraweeHolder;
iget-object v1, v0, Lcom/facebook/drawee/view/DraweeHolder;->f:Lf/g/g/b/c;
sget-object v2, Lf/g/g/b/c$a;->r:Lf/g/g/b/c$a;
invoke-virtual {v1, v2}, Lf/g/g/b/c;->a(Lf/g/g/b/c$a;)V
const/4 v1, 0x1
iput-boolean v1, v0, Lcom/facebook/drawee/view/DraweeHolder;->b:Z
invoke-virtual {v0}, Lcom/facebook/drawee/view/DraweeHolder;->b()V
goto :goto_2
:cond_4
return-void
.end method
.method public b(Landroid/view/View;)V
.locals 3
iget-object v0, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->f:Landroid/view/View;
if-eq p1, v0, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
iput-object p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->f:Landroid/view/View;
:goto_0
iget-object p1, p0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;->d:Ljava/util/Set;
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_1
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lf/g/g/i/a;
iget-object v0, v0, Lf/g/g/i/a;->j:Lcom/facebook/drawee/view/DraweeHolder;
iget-object v1, v0, Lcom/facebook/drawee/view/DraweeHolder;->f:Lf/g/g/b/c;
sget-object v2, Lf/g/g/b/c$a;->s:Lf/g/g/b/c$a;
invoke-virtual {v1, v2}, Lf/g/g/b/c;->a(Lf/g/g/b/c$a;)V
const/4 v1, 0x0
iput-boolean v1, v0, Lcom/facebook/drawee/view/DraweeHolder;->b:Z
invoke-virtual {v0}, Lcom/facebook/drawee/view/DraweeHolder;->b()V
goto :goto_1
:cond_1
return-void
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/drawee/span/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,19 +0,0 @@
.class public Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;
.super Ljava/lang/Object;
.source "AspectRatioMeasure.java"
# 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

View file

@ -1,455 +0,0 @@
.class public Lcom/facebook/drawee/view/DraweeHolder;
.super Ljava/lang/Object;
.source "DraweeHolder.java"
# interfaces
.implements Lf/g/g/e/e0;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<DH::",
"Lcom/facebook/drawee/interfaces/DraweeHierarchy;",
">",
"Ljava/lang/Object;",
"Lf/g/g/e/e0;"
}
.end annotation
# instance fields
.field public a:Z
.field public b:Z
.field public c:Z
.field public d:Lcom/facebook/drawee/interfaces/DraweeHierarchy;
.annotation system Ldalvik/annotation/Signature;
value = {
"TDH;"
}
.end annotation
.end field
.field public e:Lcom/facebook/drawee/interfaces/DraweeController;
.field public final f:Lf/g/g/b/c;
# direct methods
.method public constructor <init>(Lcom/facebook/drawee/interfaces/DraweeHierarchy;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TDH;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->a:Z
iput-boolean v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->b:Z
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->c:Z
const/4 v0, 0x0
iput-object v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->e:Lcom/facebook/drawee/interfaces/DraweeController;
sget-boolean v0, Lf/g/g/b/c;->c:Z
if-eqz v0, :cond_0
new-instance v0, Lf/g/g/b/c;
invoke-direct {v0}, Lf/g/g/b/c;-><init>()V
goto :goto_0
:cond_0
sget-object v0, Lf/g/g/b/c;->b:Lf/g/g/b/c;
:goto_0
iput-object v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->f:Lf/g/g/b/c;
if-eqz p1, :cond_1
invoke-virtual {p0, p1}, Lcom/facebook/drawee/view/DraweeHolder;->h(Lcom/facebook/drawee/interfaces/DraweeHierarchy;)V
:cond_1
return-void
.end method
# virtual methods
.method public final a()V
.locals 2
iget-boolean v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->a:Z
if-eqz v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->f:Lf/g/g/b/c;
sget-object v1, Lf/g/g/b/c$a;->j:Lf/g/g/b/c$a;
invoke-virtual {v0, v1}, Lf/g/g/b/c;->a(Lf/g/g/b/c$a;)V
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->a:Z
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->e:Lcom/facebook/drawee/interfaces/DraweeController;
if-eqz v0, :cond_1
invoke-interface {v0}, Lcom/facebook/drawee/interfaces/DraweeController;->b()Lcom/facebook/drawee/interfaces/DraweeHierarchy;
move-result-object v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->e:Lcom/facebook/drawee/interfaces/DraweeController;
invoke-interface {v0}, Lcom/facebook/drawee/interfaces/DraweeController;->d()V
:cond_1
return-void
.end method
.method public final b()V
.locals 1
iget-boolean v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->b:Z
if-eqz v0, :cond_0
iget-boolean v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->c:Z
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeHolder;->a()V
goto :goto_0
:cond_0
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeHolder;->c()V
:goto_0
return-void
.end method
.method public final c()V
.locals 2
iget-boolean v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->a:Z
if-nez v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->f:Lf/g/g/b/c;
sget-object v1, Lf/g/g/b/c$a;->k:Lf/g/g/b/c$a;
invoke-virtual {v0, v1}, Lf/g/g/b/c;->a(Lf/g/g/b/c$a;)V
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->a:Z
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeHolder;->e()Z
move-result v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->e:Lcom/facebook/drawee/interfaces/DraweeController;
invoke-interface {v0}, Lcom/facebook/drawee/interfaces/DraweeController;->a()V
:cond_1
return-void
.end method
.method public d()Landroid/graphics/drawable/Drawable;
.locals 1
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->d:Lcom/facebook/drawee/interfaces/DraweeHierarchy;
if-nez v0, :cond_0
const/4 v0, 0x0
goto :goto_0
:cond_0
invoke-interface {v0}, Lcom/facebook/drawee/interfaces/DraweeHierarchy;->f()Landroid/graphics/drawable/Drawable;
move-result-object v0
:goto_0
return-object v0
.end method
.method public e()Z
.locals 2
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->e:Lcom/facebook/drawee/interfaces/DraweeController;
if-eqz v0, :cond_0
invoke-interface {v0}, Lcom/facebook/drawee/interfaces/DraweeController;->b()Lcom/facebook/drawee/interfaces/DraweeHierarchy;
move-result-object v0
iget-object v1, p0, Lcom/facebook/drawee/view/DraweeHolder;->d:Lcom/facebook/drawee/interfaces/DraweeHierarchy;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public f(Z)V
.locals 2
iget-boolean v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->c:Z
if-ne v0, p1, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->f:Lf/g/g/b/c;
if-eqz p1, :cond_1
sget-object v1, Lf/g/g/b/c$a;->t:Lf/g/g/b/c$a;
goto :goto_0
:cond_1
sget-object v1, Lf/g/g/b/c$a;->u:Lf/g/g/b/c$a;
:goto_0
invoke-virtual {v0, v1}, Lf/g/g/b/c;->a(Lf/g/g/b/c$a;)V
iput-boolean p1, p0, Lcom/facebook/drawee/view/DraweeHolder;->c:Z
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeHolder;->b()V
return-void
.end method
.method public g(Lcom/facebook/drawee/interfaces/DraweeController;)V
.locals 3
iget-boolean v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->a:Z
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeHolder;->c()V
:cond_0
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeHolder;->e()Z
move-result v1
if-eqz v1, :cond_1
iget-object v1, p0, Lcom/facebook/drawee/view/DraweeHolder;->f:Lf/g/g/b/c;
sget-object v2, Lf/g/g/b/c$a;->g:Lf/g/g/b/c$a;
invoke-virtual {v1, v2}, Lf/g/g/b/c;->a(Lf/g/g/b/c$a;)V
iget-object v1, p0, Lcom/facebook/drawee/view/DraweeHolder;->e:Lcom/facebook/drawee/interfaces/DraweeController;
const/4 v2, 0x0
invoke-interface {v1, v2}, Lcom/facebook/drawee/interfaces/DraweeController;->e(Lcom/facebook/drawee/interfaces/DraweeHierarchy;)V
:cond_1
iput-object p1, p0, Lcom/facebook/drawee/view/DraweeHolder;->e:Lcom/facebook/drawee/interfaces/DraweeController;
if-eqz p1, :cond_2
iget-object p1, p0, Lcom/facebook/drawee/view/DraweeHolder;->f:Lf/g/g/b/c;
sget-object v1, Lf/g/g/b/c$a;->f:Lf/g/g/b/c$a;
invoke-virtual {p1, v1}, Lf/g/g/b/c;->a(Lf/g/g/b/c$a;)V
iget-object p1, p0, Lcom/facebook/drawee/view/DraweeHolder;->e:Lcom/facebook/drawee/interfaces/DraweeController;
iget-object v1, p0, Lcom/facebook/drawee/view/DraweeHolder;->d:Lcom/facebook/drawee/interfaces/DraweeHierarchy;
invoke-interface {p1, v1}, Lcom/facebook/drawee/interfaces/DraweeController;->e(Lcom/facebook/drawee/interfaces/DraweeHierarchy;)V
goto :goto_0
:cond_2
iget-object p1, p0, Lcom/facebook/drawee/view/DraweeHolder;->f:Lf/g/g/b/c;
sget-object v1, Lf/g/g/b/c$a;->h:Lf/g/g/b/c$a;
invoke-virtual {p1, v1}, Lf/g/g/b/c;->a(Lf/g/g/b/c$a;)V
:goto_0
if-eqz v0, :cond_3
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeHolder;->a()V
:cond_3
return-void
.end method
.method public h(Lcom/facebook/drawee/interfaces/DraweeHierarchy;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(TDH;)V"
}
.end annotation
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->f:Lf/g/g/b/c;
sget-object v1, Lf/g/g/b/c$a;->d:Lf/g/g/b/c$a;
invoke-virtual {v0, v1}, Lf/g/g/b/c;->a(Lf/g/g/b/c$a;)V
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeHolder;->e()Z
move-result v0
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeHolder;->d()Landroid/graphics/drawable/Drawable;
move-result-object v1
instance-of v2, v1, Lf/g/g/e/d0;
const/4 v3, 0x0
if-eqz v2, :cond_0
check-cast v1, Lf/g/g/e/d0;
invoke-interface {v1, v3}, Lf/g/g/e/d0;->k(Lf/g/g/e/e0;)V
:cond_0
if-eqz p1, :cond_5
iput-object p1, p0, Lcom/facebook/drawee/view/DraweeHolder;->d:Lcom/facebook/drawee/interfaces/DraweeHierarchy;
invoke-interface {p1}, Lcom/facebook/drawee/interfaces/DraweeHierarchy;->f()Landroid/graphics/drawable/Drawable;
move-result-object v1
if-eqz v1, :cond_2
invoke-virtual {v1}, Landroid/graphics/drawable/Drawable;->isVisible()Z
move-result v1
if-eqz v1, :cond_1
goto :goto_0
:cond_1
const/4 v1, 0x0
goto :goto_1
:cond_2
:goto_0
const/4 v1, 0x1
:goto_1
invoke-virtual {p0, v1}, Lcom/facebook/drawee/view/DraweeHolder;->f(Z)V
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeHolder;->d()Landroid/graphics/drawable/Drawable;
move-result-object v1
instance-of v2, v1, Lf/g/g/e/d0;
if-eqz v2, :cond_3
check-cast v1, Lf/g/g/e/d0;
invoke-interface {v1, p0}, Lf/g/g/e/d0;->k(Lf/g/g/e/e0;)V
:cond_3
if-eqz v0, :cond_4
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeHolder;->e:Lcom/facebook/drawee/interfaces/DraweeController;
invoke-interface {v0, p1}, Lcom/facebook/drawee/interfaces/DraweeController;->e(Lcom/facebook/drawee/interfaces/DraweeHierarchy;)V
:cond_4
return-void
:cond_5
throw v3
.end method
.method public toString()Ljava/lang/String;
.locals 3
invoke-static {p0}, Ls/a/b/b/a;->f0(Ljava/lang/Object;)Lf/g/d/d/i;
move-result-object v0
iget-boolean v1, p0, Lcom/facebook/drawee/view/DraweeHolder;->a:Z
const-string v2, "controllerAttached"
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->b(Ljava/lang/String;Z)Lf/g/d/d/i;
iget-boolean v1, p0, Lcom/facebook/drawee/view/DraweeHolder;->b:Z
const-string v2, "holderAttached"
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->b(Ljava/lang/String;Z)Lf/g/d/d/i;
iget-boolean v1, p0, Lcom/facebook/drawee/view/DraweeHolder;->c:Z
const-string v2, "drawableVisible"
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->b(Ljava/lang/String;Z)Lf/g/d/d/i;
iget-object v1, p0, Lcom/facebook/drawee/view/DraweeHolder;->f:Lf/g/g/b/c;
invoke-virtual {v1}, Lf/g/g/b/c;->toString()Ljava/lang/String;
move-result-object v1
const-string v2, "events"
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->c(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/i;
invoke-virtual {v0}, Lf/g/d/d/i;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View file

@ -1,868 +0,0 @@
.class public Lcom/facebook/drawee/view/DraweeView;
.super Landroid/widget/ImageView;
.source "DraweeView.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<DH::",
"Lcom/facebook/drawee/interfaces/DraweeHierarchy;",
">",
"Landroid/widget/ImageView;"
}
.end annotation
# static fields
.field public static sGlobalLegacyVisibilityHandlingEnabled:Z = false
# instance fields
.field public mAspectRatio:F
.field public mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/drawee/view/DraweeHolder<",
"TDH;>;"
}
.end annotation
.end field
.field public mInitialised:Z
.field public mLegacyVisibilityHandlingEnabled:Z
.field public final mMeasureSpec:Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
invoke-direct {p0, p1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V
new-instance v0, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;
invoke-direct {v0}, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;-><init>()V
iput-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mMeasureSpec:Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;
const/4 v0, 0x0
iput v0, p0, Lcom/facebook/drawee/view/DraweeView;->mAspectRatio:F
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/facebook/drawee/view/DraweeView;->mInitialised:Z
iput-boolean v0, p0, Lcom/facebook/drawee/view/DraweeView;->mLegacyVisibilityHandlingEnabled:Z
invoke-direct {p0, p1}, Lcom/facebook/drawee/view/DraweeView;->init(Landroid/content/Context;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 0
invoke-direct {p0, p1, p2}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
new-instance p2, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;
invoke-direct {p2}, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;-><init>()V
iput-object p2, p0, Lcom/facebook/drawee/view/DraweeView;->mMeasureSpec:Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;
const/4 p2, 0x0
iput p2, p0, Lcom/facebook/drawee/view/DraweeView;->mAspectRatio:F
const/4 p2, 0x0
iput-boolean p2, p0, Lcom/facebook/drawee/view/DraweeView;->mInitialised:Z
iput-boolean p2, p0, Lcom/facebook/drawee/view/DraweeView;->mLegacyVisibilityHandlingEnabled:Z
invoke-direct {p0, p1}, Lcom/facebook/drawee/view/DraweeView;->init(Landroid/content/Context;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.locals 0
invoke-direct {p0, p1, p2, p3}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
new-instance p2, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;
invoke-direct {p2}, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;-><init>()V
iput-object p2, p0, Lcom/facebook/drawee/view/DraweeView;->mMeasureSpec:Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;
const/4 p2, 0x0
iput p2, p0, Lcom/facebook/drawee/view/DraweeView;->mAspectRatio:F
const/4 p2, 0x0
iput-boolean p2, p0, Lcom/facebook/drawee/view/DraweeView;->mInitialised:Z
iput-boolean p2, p0, Lcom/facebook/drawee/view/DraweeView;->mLegacyVisibilityHandlingEnabled:Z
invoke-direct {p0, p1}, Lcom/facebook/drawee/view/DraweeView;->init(Landroid/content/Context;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
.locals 0
.annotation build Landroid/annotation/TargetApi;
value = 0x15
.end annotation
invoke-direct {p0, p1, p2, p3, p4}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
new-instance p2, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;
invoke-direct {p2}, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;-><init>()V
iput-object p2, p0, Lcom/facebook/drawee/view/DraweeView;->mMeasureSpec:Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;
const/4 p2, 0x0
iput p2, p0, Lcom/facebook/drawee/view/DraweeView;->mAspectRatio:F
const/4 p2, 0x0
iput-boolean p2, p0, Lcom/facebook/drawee/view/DraweeView;->mInitialised:Z
iput-boolean p2, p0, Lcom/facebook/drawee/view/DraweeView;->mLegacyVisibilityHandlingEnabled:Z
invoke-direct {p0, p1}, Lcom/facebook/drawee/view/DraweeView;->init(Landroid/content/Context;)V
return-void
.end method
.method private init(Landroid/content/Context;)V
.locals 3
:try_start_0
invoke-static {}, Lf/g/j/s/b;->b()Z
iget-boolean v0, p0, Lcom/facebook/drawee/view/DraweeView;->mInitialised:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v0, :cond_0
invoke-static {}, Lf/g/j/s/b;->b()Z
return-void
:cond_0
const/4 v0, 0x1
:try_start_1
iput-boolean v0, p0, Lcom/facebook/drawee/view/DraweeView;->mInitialised:Z
const/4 v1, 0x0
new-instance v2, Lcom/facebook/drawee/view/DraweeHolder;
invoke-direct {v2, v1}, Lcom/facebook/drawee/view/DraweeHolder;-><init>(Lcom/facebook/drawee/interfaces/DraweeHierarchy;)V
iput-object v2, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
invoke-virtual {p0}, Landroid/widget/ImageView;->getImageTintList()Landroid/content/res/ColorStateList;
move-result-object v1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
if-nez v1, :cond_1
invoke-static {}, Lf/g/j/s/b;->b()Z
return-void
:cond_1
:try_start_2
invoke-virtual {v1}, Landroid/content/res/ColorStateList;->getDefaultColor()I
move-result v1
invoke-virtual {p0, v1}, Landroid/widget/ImageView;->setColorFilter(I)V
sget-boolean v1, Lcom/facebook/drawee/view/DraweeView;->sGlobalLegacyVisibilityHandlingEnabled:Z
if-eqz v1, :cond_2
invoke-virtual {p1}, Landroid/content/Context;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;
move-result-object p1
iget p1, p1, Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I
const/16 v1, 0x18
if-lt p1, v1, :cond_2
goto :goto_0
:cond_2
const/4 v0, 0x0
:goto_0
iput-boolean v0, p0, Lcom/facebook/drawee/view/DraweeView;->mLegacyVisibilityHandlingEnabled:Z
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
invoke-static {}, Lf/g/j/s/b;->b()Z
return-void
:catchall_0
move-exception p1
invoke-static {}, Lf/g/j/s/b;->b()Z
throw p1
.end method
.method private maybeOverrideVisibilityHandling()V
.locals 3
iget-boolean v0, p0, Lcom/facebook/drawee/view/DraweeView;->mLegacyVisibilityHandlingEnabled:Z
if-eqz v0, :cond_1
invoke-virtual {p0}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
move-result-object v0
if-eqz v0, :cond_1
invoke-virtual {p0}, Landroid/widget/ImageView;->getVisibility()I
move-result v1
const/4 v2, 0x0
if-nez v1, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
invoke-virtual {v0, v1, v2}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
:cond_1
return-void
.end method
.method public static setGlobalLegacyVisibilityHandlingEnabled(Z)V
.locals 0
sput-boolean p0, Lcom/facebook/drawee/view/DraweeView;->sGlobalLegacyVisibilityHandlingEnabled:Z
return-void
.end method
# virtual methods
.method public doAttach()V
.locals 3
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
iget-object v1, v0, Lcom/facebook/drawee/view/DraweeHolder;->f:Lf/g/g/b/c;
sget-object v2, Lf/g/g/b/c$a;->r:Lf/g/g/b/c$a;
invoke-virtual {v1, v2}, Lf/g/g/b/c;->a(Lf/g/g/b/c$a;)V
const/4 v1, 0x1
iput-boolean v1, v0, Lcom/facebook/drawee/view/DraweeHolder;->b:Z
invoke-virtual {v0}, Lcom/facebook/drawee/view/DraweeHolder;->b()V
return-void
.end method
.method public doDetach()V
.locals 3
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
iget-object v1, v0, Lcom/facebook/drawee/view/DraweeHolder;->f:Lf/g/g/b/c;
sget-object v2, Lf/g/g/b/c$a;->s:Lf/g/g/b/c$a;
invoke-virtual {v1, v2}, Lf/g/g/b/c;->a(Lf/g/g/b/c$a;)V
const/4 v1, 0x0
iput-boolean v1, v0, Lcom/facebook/drawee/view/DraweeHolder;->b:Z
invoke-virtual {v0}, Lcom/facebook/drawee/view/DraweeHolder;->b()V
return-void
.end method
.method public getAspectRatio()F
.locals 1
iget v0, p0, Lcom/facebook/drawee/view/DraweeView;->mAspectRatio:F
return v0
.end method
.method public getController()Lcom/facebook/drawee/interfaces/DraweeController;
.locals 1
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
iget-object v0, v0, Lcom/facebook/drawee/view/DraweeHolder;->e:Lcom/facebook/drawee/interfaces/DraweeController;
return-object v0
.end method
.method public getHierarchy()Lcom/facebook/drawee/interfaces/DraweeHierarchy;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TDH;"
}
.end annotation
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
iget-object v0, v0, Lcom/facebook/drawee/view/DraweeHolder;->d:Lcom/facebook/drawee/interfaces/DraweeHierarchy;
invoke-static {v0}, Ls/a/b/b/a;->i(Ljava/lang/Object;)Ljava/lang/Object;
return-object v0
.end method
.method public getTopLevelDrawable()Landroid/graphics/drawable/Drawable;
.locals 1
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
invoke-virtual {v0}, Lcom/facebook/drawee/view/DraweeHolder;->d()Landroid/graphics/drawable/Drawable;
move-result-object v0
return-object v0
.end method
.method public hasController()Z
.locals 1
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
iget-object v0, v0, Lcom/facebook/drawee/view/DraweeHolder;->e:Lcom/facebook/drawee/interfaces/DraweeController;
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 hasHierarchy()Z
.locals 1
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
iget-object v0, v0, Lcom/facebook/drawee/view/DraweeHolder;->d:Lcom/facebook/drawee/interfaces/DraweeHierarchy;
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 onAttach()V
.locals 0
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeView;->doAttach()V
return-void
.end method
.method public onAttachedToWindow()V
.locals 0
invoke-super {p0}, Landroid/widget/ImageView;->onAttachedToWindow()V
invoke-direct {p0}, Lcom/facebook/drawee/view/DraweeView;->maybeOverrideVisibilityHandling()V
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeView;->onAttach()V
return-void
.end method
.method public onDetach()V
.locals 0
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeView;->doDetach()V
return-void
.end method
.method public onDetachedFromWindow()V
.locals 0
invoke-super {p0}, Landroid/widget/ImageView;->onDetachedFromWindow()V
invoke-direct {p0}, Lcom/facebook/drawee/view/DraweeView;->maybeOverrideVisibilityHandling()V
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeView;->onDetach()V
return-void
.end method
.method public onFinishTemporaryDetach()V
.locals 0
invoke-super {p0}, Landroid/widget/ImageView;->onFinishTemporaryDetach()V
invoke-direct {p0}, Lcom/facebook/drawee/view/DraweeView;->maybeOverrideVisibilityHandling()V
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeView;->onAttach()V
return-void
.end method
.method public onMeasure(II)V
.locals 8
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mMeasureSpec:Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;
iput p1, v0, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;->a:I
iput p2, v0, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;->b:I
iget p1, p0, Lcom/facebook/drawee/view/DraweeView;->mAspectRatio:F
invoke-virtual {p0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object p2
invoke-virtual {p0}, Landroid/widget/ImageView;->getPaddingLeft()I
move-result v1
invoke-virtual {p0}, Landroid/widget/ImageView;->getPaddingRight()I
move-result v2
add-int/2addr v2, v1
invoke-virtual {p0}, Landroid/widget/ImageView;->getPaddingTop()I
move-result v1
invoke-virtual {p0}, Landroid/widget/ImageView;->getPaddingBottom()I
move-result v3
add-int/2addr v3, v1
const/4 v1, 0x0
cmpg-float v1, p1, v1
if-lez v1, :cond_6
if-nez p2, :cond_0
goto :goto_3
:cond_0
iget v1, p2, Landroid/view/ViewGroup$LayoutParams;->height:I
const/4 v4, -0x2
const/4 v5, 0x1
const/4 v6, 0x0
if-eqz v1, :cond_2
if-ne v1, v4, :cond_1
goto :goto_0
:cond_1
const/4 v1, 0x0
goto :goto_1
:cond_2
:goto_0
const/4 v1, 0x1
:goto_1
const/high16 v7, 0x40000000 # 2.0f
if-eqz v1, :cond_3
iget p2, v0, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;->a:I
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result p2
sub-int/2addr p2, v2
int-to-float p2, p2
div-float/2addr p2, p1
int-to-float p1, v3
add-float/2addr p2, p1
float-to-int p1, p2
iget p2, v0, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;->b:I
invoke-static {p1, p2}, Landroid/view/View;->resolveSize(II)I
move-result p1
invoke-static {p1, v7}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result p1
iput p1, v0, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;->b:I
goto :goto_3
:cond_3
iget p2, p2, Landroid/view/ViewGroup$LayoutParams;->width:I
if-eqz p2, :cond_5
if-ne p2, v4, :cond_4
goto :goto_2
:cond_4
const/4 v5, 0x0
:cond_5
:goto_2
if-eqz v5, :cond_6
iget p2, v0, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;->b:I
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result p2
sub-int/2addr p2, v3
int-to-float p2, p2
mul-float p2, p2, p1
int-to-float p1, v2
add-float/2addr p2, p1
float-to-int p1, p2
iget p2, v0, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;->a:I
invoke-static {p1, p2}, Landroid/view/View;->resolveSize(II)I
move-result p1
invoke-static {p1, v7}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result p1
iput p1, v0, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;->a:I
:cond_6
:goto_3
iget-object p1, p0, Lcom/facebook/drawee/view/DraweeView;->mMeasureSpec:Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;
iget p2, p1, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;->a:I
iget p1, p1, Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;->b:I
invoke-super {p0, p2, p1}, Landroid/widget/ImageView;->onMeasure(II)V
return-void
.end method
.method public onStartTemporaryDetach()V
.locals 0
invoke-super {p0}, Landroid/widget/ImageView;->onStartTemporaryDetach()V
invoke-direct {p0}, Lcom/facebook/drawee/view/DraweeView;->maybeOverrideVisibilityHandling()V
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeView;->onDetach()V
return-void
.end method
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
.locals 2
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
invoke-virtual {v0}, Lcom/facebook/drawee/view/DraweeHolder;->e()Z
move-result v1
if-nez v1, :cond_0
const/4 v0, 0x0
goto :goto_0
:cond_0
iget-object v0, v0, Lcom/facebook/drawee/view/DraweeHolder;->e:Lcom/facebook/drawee/interfaces/DraweeController;
invoke-interface {v0, p1}, Lcom/facebook/drawee/interfaces/DraweeController;->onTouchEvent(Landroid/view/MotionEvent;)Z
move-result v0
:goto_0
if-eqz v0, :cond_1
const/4 p1, 0x1
return p1
:cond_1
invoke-super {p0, p1}, Landroid/widget/ImageView;->onTouchEvent(Landroid/view/MotionEvent;)Z
move-result p1
return p1
.end method
.method public onVisibilityChanged(Landroid/view/View;I)V
.locals 0
invoke-super {p0, p1, p2}, Landroid/widget/ImageView;->onVisibilityChanged(Landroid/view/View;I)V
invoke-direct {p0}, Lcom/facebook/drawee/view/DraweeView;->maybeOverrideVisibilityHandling()V
return-void
.end method
.method public setAspectRatio(F)V
.locals 1
iget v0, p0, Lcom/facebook/drawee/view/DraweeView;->mAspectRatio:F
cmpl-float v0, p1, v0
if-nez v0, :cond_0
return-void
:cond_0
iput p1, p0, Lcom/facebook/drawee/view/DraweeView;->mAspectRatio:F
invoke-virtual {p0}, Landroid/widget/ImageView;->requestLayout()V
return-void
.end method
.method public setController(Lcom/facebook/drawee/interfaces/DraweeController;)V
.locals 1
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
invoke-virtual {v0, p1}, Lcom/facebook/drawee/view/DraweeHolder;->g(Lcom/facebook/drawee/interfaces/DraweeController;)V
iget-object p1, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
invoke-virtual {p1}, Lcom/facebook/drawee/view/DraweeHolder;->d()Landroid/graphics/drawable/Drawable;
move-result-object p1
invoke-super {p0, p1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
return-void
.end method
.method public setHierarchy(Lcom/facebook/drawee/interfaces/DraweeHierarchy;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TDH;)V"
}
.end annotation
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
invoke-virtual {v0, p1}, Lcom/facebook/drawee/view/DraweeHolder;->h(Lcom/facebook/drawee/interfaces/DraweeHierarchy;)V
iget-object p1, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
invoke-virtual {p1}, Lcom/facebook/drawee/view/DraweeHolder;->d()Landroid/graphics/drawable/Drawable;
move-result-object p1
invoke-super {p0, p1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
return-void
.end method
.method public setImageBitmap(Landroid/graphics/Bitmap;)V
.locals 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-direct {p0, v0}, Lcom/facebook/drawee/view/DraweeView;->init(Landroid/content/Context;)V
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lcom/facebook/drawee/view/DraweeHolder;->g(Lcom/facebook/drawee/interfaces/DraweeController;)V
invoke-super {p0, p1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V
return-void
.end method
.method public setImageDrawable(Landroid/graphics/drawable/Drawable;)V
.locals 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-direct {p0, v0}, Lcom/facebook/drawee/view/DraweeView;->init(Landroid/content/Context;)V
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lcom/facebook/drawee/view/DraweeHolder;->g(Lcom/facebook/drawee/interfaces/DraweeController;)V
invoke-super {p0, p1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
return-void
.end method
.method public setImageResource(I)V
.locals 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-direct {p0, v0}, Lcom/facebook/drawee/view/DraweeView;->init(Landroid/content/Context;)V
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lcom/facebook/drawee/view/DraweeHolder;->g(Lcom/facebook/drawee/interfaces/DraweeController;)V
invoke-super {p0, p1}, Landroid/widget/ImageView;->setImageResource(I)V
return-void
.end method
.method public setImageURI(Landroid/net/Uri;)V
.locals 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-direct {p0, v0}, Lcom/facebook/drawee/view/DraweeView;->init(Landroid/content/Context;)V
iget-object v0, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lcom/facebook/drawee/view/DraweeHolder;->g(Lcom/facebook/drawee/interfaces/DraweeController;)V
invoke-super {p0, p1}, Landroid/widget/ImageView;->setImageURI(Landroid/net/Uri;)V
return-void
.end method
.method public setLegacyVisibilityHandlingEnabled(Z)V
.locals 0
iput-boolean p1, p0, Lcom/facebook/drawee/view/DraweeView;->mLegacyVisibilityHandlingEnabled:Z
return-void
.end method
.method public toString()Ljava/lang/String;
.locals 3
invoke-static {p0}, Ls/a/b/b/a;->f0(Ljava/lang/Object;)Lf/g/d/d/i;
move-result-object v0
iget-object v1, p0, Lcom/facebook/drawee/view/DraweeView;->mDraweeHolder:Lcom/facebook/drawee/view/DraweeHolder;
if-eqz v1, :cond_0
invoke-virtual {v1}, Lcom/facebook/drawee/view/DraweeHolder;->toString()Ljava/lang/String;
move-result-object v1
goto :goto_0
:cond_0
const-string v1, "<no holder set>"
:goto_0
const-string v2, "holder"
invoke-virtual {v0, v2, v1}, Lf/g/d/d/i;->c(Ljava/lang/String;Ljava/lang/Object;)Lf/g/d/d/i;
invoke-virtual {v0}, Lf/g/d/d/i;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View file

@ -1,391 +0,0 @@
.class public Lcom/facebook/drawee/view/SimpleDraweeView;
.super Lf/g/g/j/a;
.source "SimpleDraweeView.java"
# static fields
.field public static sDraweecontrollerbuildersupplier:Lcom/facebook/common/internal/Supplier;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/internal/Supplier<",
"+",
"Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;",
">;"
}
.end annotation
.end field
# instance fields
.field public mControllerBuilder:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
invoke-direct {p0, p1}, Lf/g/g/j/a;-><init>(Landroid/content/Context;)V
const/4 v0, 0x0
invoke-direct {p0, p1, v0}, Lcom/facebook/drawee/view/SimpleDraweeView;->init(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 0
invoke-direct {p0, p1, p2}, Lf/g/g/j/a;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
invoke-direct {p0, p1, p2}, Lcom/facebook/drawee/view/SimpleDraweeView;->init(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.locals 0
invoke-direct {p0, p1, p2, p3}, Lf/g/g/j/a;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
invoke-direct {p0, p1, p2}, Lcom/facebook/drawee/view/SimpleDraweeView;->init(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
.locals 0
.annotation build Landroid/annotation/TargetApi;
value = 0x15
.end annotation
invoke-direct {p0, p1, p2, p3, p4}, Lf/g/g/j/a;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
invoke-direct {p0, p1, p2}, Lcom/facebook/drawee/view/SimpleDraweeView;->init(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Lcom/facebook/drawee/generic/GenericDraweeHierarchy;)V
.locals 0
invoke-direct {p0, p1, p2}, Lf/g/g/j/a;-><init>(Landroid/content/Context;Lcom/facebook/drawee/generic/GenericDraweeHierarchy;)V
const/4 p2, 0x0
invoke-direct {p0, p1, p2}, Lcom/facebook/drawee/view/SimpleDraweeView;->init(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-void
.end method
.method private init(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 3
:try_start_0
invoke-static {}, Lf/g/j/s/b;->b()Z
invoke-virtual {p0}, Landroid/widget/ImageView;->isInEditMode()Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeView;->getTopLevelDrawable()Landroid/graphics/drawable/Drawable;
move-result-object v0
const/4 v1, 0x1
const/4 v2, 0x0
invoke-virtual {v0, v1, v2}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeView;->getTopLevelDrawable()Landroid/graphics/drawable/Drawable;
move-result-object v0
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->invalidateSelf()V
goto :goto_0
:cond_0
sget-object v0, Lcom/facebook/drawee/view/SimpleDraweeView;->sDraweecontrollerbuildersupplier:Lcom/facebook/common/internal/Supplier;
const-string v1, "SimpleDraweeView was not initialized!"
invoke-static {v0, v1}, Ls/a/b/b/a;->j(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
sget-object v0, Lcom/facebook/drawee/view/SimpleDraweeView;->sDraweecontrollerbuildersupplier:Lcom/facebook/common/internal/Supplier;
invoke-interface {v0}, Lcom/facebook/common/internal/Supplier;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;
iput-object v0, p0, Lcom/facebook/drawee/view/SimpleDraweeView;->mControllerBuilder:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;
:goto_0
if-eqz p2, :cond_4
sget-object v0, Lcom/facebook/drawee/R$a;->SimpleDraweeView:[I
invoke-virtual {p1, p2, v0}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
move-result-object p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
sget p2, Lcom/facebook/drawee/R$a;->SimpleDraweeView_actualImageUri:I
invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result p2
if-eqz p2, :cond_1
sget p2, Lcom/facebook/drawee/R$a;->SimpleDraweeView_actualImageUri:I
invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
move-result-object p2
invoke-static {p2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
move-result-object p2
const/4 v0, 0x0
invoke-virtual {p0, p2, v0}, Lcom/facebook/drawee/view/SimpleDraweeView;->setImageURI(Landroid/net/Uri;Ljava/lang/Object;)V
goto :goto_1
:cond_1
sget p2, Lcom/facebook/drawee/R$a;->SimpleDraweeView_actualImageResource:I
invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result p2
if-eqz p2, :cond_3
sget p2, Lcom/facebook/drawee/R$a;->SimpleDraweeView_actualImageResource:I
const/4 v0, -0x1
invoke-virtual {p1, p2, v0}, Landroid/content/res/TypedArray;->getResourceId(II)I
move-result p2
if-eq p2, v0, :cond_3
invoke-virtual {p0}, Landroid/widget/ImageView;->isInEditMode()Z
move-result v0
if-eqz v0, :cond_2
invoke-virtual {p0, p2}, Lcom/facebook/drawee/view/SimpleDraweeView;->setImageResource(I)V
goto :goto_1
:cond_2
invoke-virtual {p0, p2}, Lcom/facebook/drawee/view/SimpleDraweeView;->setActualImageResource(I)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:cond_3
:goto_1
:try_start_2
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
goto :goto_2
:catchall_0
move-exception p2
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
throw p2
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
:cond_4
:goto_2
invoke-static {}, Lf/g/j/s/b;->b()Z
return-void
:catchall_1
move-exception p1
invoke-static {}, Lf/g/j/s/b;->b()Z
throw p1
.end method
.method public static initialize(Lcom/facebook/common/internal/Supplier;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/internal/Supplier<",
"+",
"Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;",
">;)V"
}
.end annotation
sput-object p0, Lcom/facebook/drawee/view/SimpleDraweeView;->sDraweecontrollerbuildersupplier:Lcom/facebook/common/internal/Supplier;
return-void
.end method
.method public static shutDown()V
.locals 1
const/4 v0, 0x0
sput-object v0, Lcom/facebook/drawee/view/SimpleDraweeView;->sDraweecontrollerbuildersupplier:Lcom/facebook/common/internal/Supplier;
return-void
.end method
# virtual methods
.method public getControllerBuilder()Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;
.locals 1
iget-object v0, p0, Lcom/facebook/drawee/view/SimpleDraweeView;->mControllerBuilder:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;
return-object v0
.end method
.method public setActualImageResource(I)V
.locals 1
.param p1 # I
.annotation build Landroidx/annotation/DrawableRes;
.end annotation
.end param
const/4 v0, 0x0
invoke-virtual {p0, p1, v0}, Lcom/facebook/drawee/view/SimpleDraweeView;->setActualImageResource(ILjava/lang/Object;)V
return-void
.end method
.method public setActualImageResource(ILjava/lang/Object;)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/DrawableRes;
.end annotation
.end param
invoke-static {p1}, Lf/g/d/l/b;->b(I)Landroid/net/Uri;
move-result-object p1
invoke-virtual {p0, p1, p2}, Lcom/facebook/drawee/view/SimpleDraweeView;->setImageURI(Landroid/net/Uri;Ljava/lang/Object;)V
return-void
.end method
.method public setImageRequest(Lcom/facebook/imagepipeline/request/ImageRequest;)V
.locals 1
iget-object v0, p0, Lcom/facebook/drawee/view/SimpleDraweeView;->mControllerBuilder:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;
iput-object p1, v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->e:Ljava/lang/Object;
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeView;->getController()Lcom/facebook/drawee/interfaces/DraweeController;
move-result-object p1
iput-object p1, v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->n:Lcom/facebook/drawee/interfaces/DraweeController;
invoke-virtual {v0}, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->b()Lcom/facebook/drawee/controller/AbstractDraweeController;
move-result-object p1
invoke-virtual {p0, p1}, Lcom/facebook/drawee/view/DraweeView;->setController(Lcom/facebook/drawee/interfaces/DraweeController;)V
return-void
.end method
.method public setImageResource(I)V
.locals 0
invoke-super {p0, p1}, Lcom/facebook/drawee/view/DraweeView;->setImageResource(I)V
return-void
.end method
.method public setImageURI(Landroid/net/Uri;)V
.locals 1
const/4 v0, 0x0
invoke-virtual {p0, p1, v0}, Lcom/facebook/drawee/view/SimpleDraweeView;->setImageURI(Landroid/net/Uri;Ljava/lang/Object;)V
return-void
.end method
.method public setImageURI(Landroid/net/Uri;Ljava/lang/Object;)V
.locals 1
iget-object v0, p0, Lcom/facebook/drawee/view/SimpleDraweeView;->mControllerBuilder:Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;
iput-object p2, v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->d:Ljava/lang/Object;
invoke-interface {v0, p1}, Lf/g/g/h/b;->a(Landroid/net/Uri;)Lf/g/g/h/b;
move-result-object p1
invoke-virtual {p0}, Lcom/facebook/drawee/view/DraweeView;->getController()Lcom/facebook/drawee/interfaces/DraweeController;
move-result-object p2
check-cast p1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;
iput-object p2, p1, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->n:Lcom/facebook/drawee/interfaces/DraweeController;
invoke-virtual {p1}, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->b()Lcom/facebook/drawee/controller/AbstractDraweeController;
move-result-object p1
invoke-virtual {p0, p1}, Lcom/facebook/drawee/view/DraweeView;->setController(Lcom/facebook/drawee/interfaces/DraweeController;)V
return-void
.end method
.method public setImageURI(Ljava/lang/String;)V
.locals 1
const/4 v0, 0x0
invoke-virtual {p0, p1, v0}, Lcom/facebook/drawee/view/SimpleDraweeView;->setImageURI(Ljava/lang/String;Ljava/lang/Object;)V
return-void
.end method
.method public setImageURI(Ljava/lang/String;Ljava/lang/Object;)V
.locals 0
if-eqz p1, :cond_0
invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
move-result-object p1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
invoke-virtual {p0, p1, p2}, Lcom/facebook/drawee/view/SimpleDraweeView;->setImageURI(Landroid/net/Uri;Ljava/lang/Object;)V
return-void
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/fbcore/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/flipper/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,13 +0,0 @@
.class public Lcom/facebook/flipper/android/diagnostics/FlipperDiagnosticActivity;
.super Landroid/app/Activity;
.source "FlipperDiagnosticActivity.java"
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
return-void
.end method

View file

@ -1,152 +0,0 @@
.class public Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$a;
.super Ljava/lang/Object;
.source "AnimatedFactoryV2Impl.java"
# interfaces
.implements Lf/g/j/h/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->b(Landroid/graphics/Bitmap$Config;)Lf/g/j/h/b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Landroid/graphics/Bitmap$Config;
.field public final synthetic b:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
# direct methods
.method public constructor <init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;Landroid/graphics/Bitmap$Config;)V
.locals 0
iput-object p1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$a;->b:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
iput-object p2, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$a;->a:Landroid/graphics/Bitmap$Config;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lf/g/j/j/e;ILf/g/j/j/i;Lf/g/j/d/b;)Lf/g/j/j/c;
.locals 4
iget-object p2, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$a;->b:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
iget-object p3, p2, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->e:Lf/g/j/a/b/d;
if-nez p3, :cond_0
new-instance p3, Lf/g/h/a/d/d;
invoke-direct {p3, p2}, Lf/g/h/a/d/d;-><init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
new-instance v0, Lf/g/j/a/b/e;
iget-object v1, p2, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->a:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
invoke-direct {v0, p3, v1}, Lf/g/j/a/b/e;-><init>(Lf/g/j/a/c/b;Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;)V
iput-object v0, p2, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->e:Lf/g/j/a/b/d;
:cond_0
iget-object p2, p2, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->e:Lf/g/j/a/b/d;
iget-object p3, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$a;->a:Landroid/graphics/Bitmap$Config;
check-cast p2, Lf/g/j/a/b/e;
if-eqz p2, :cond_3
sget-object v0, Lf/g/j/a/b/e;->c:Lf/g/j/a/b/c;
if-eqz v0, :cond_2
invoke-virtual {p1}, Lf/g/j/j/e;->d()Lcom/facebook/common/references/CloseableReference;
move-result-object p1
invoke-static {p1}, Ls/a/b/b/a;->i(Ljava/lang/Object;)Ljava/lang/Object;
:try_start_0
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/facebook/common/memory/PooledByteBuffer;
invoke-interface {v0}, Lcom/facebook/common/memory/PooledByteBuffer;->getByteBuffer()Ljava/nio/ByteBuffer;
move-result-object v1
if-eqz v1, :cond_1
sget-object v1, Lf/g/j/a/b/e;->c:Lf/g/j/a/b/c;
invoke-interface {v0}, Lcom/facebook/common/memory/PooledByteBuffer;->getByteBuffer()Ljava/nio/ByteBuffer;
move-result-object v0
invoke-interface {v1, v0, p4}, Lf/g/j/a/b/c;->c(Ljava/nio/ByteBuffer;Lf/g/j/d/b;)Lf/g/j/a/a/c;
move-result-object v0
goto :goto_0
:cond_1
sget-object v1, Lf/g/j/a/b/e;->c:Lf/g/j/a/b/c;
invoke-interface {v0}, Lcom/facebook/common/memory/PooledByteBuffer;->r()J
move-result-wide v2
invoke-interface {v0}, Lcom/facebook/common/memory/PooledByteBuffer;->size()I
move-result v0
invoke-interface {v1, v2, v3, v0, p4}, Lf/g/j/a/b/c;->g(JILf/g/j/d/b;)Lf/g/j/a/a/c;
move-result-object v0
:goto_0
invoke-virtual {p2, p4, v0, p3}, Lf/g/j/a/b/e;->d(Lf/g/j/d/b;Lf/g/j/a/a/c;Landroid/graphics/Bitmap$Config;)Lf/g/j/j/c;
move-result-object p2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->close()V
return-object p2
:catchall_0
move-exception p2
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->close()V
throw p2
:cond_2
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string p2, "To encode animated gif please add the dependency to the animated-gif module"
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
:cond_3
const/4 p1, 0x0
throw p1
.end method

View file

@ -1,152 +0,0 @@
.class public Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$b;
.super Ljava/lang/Object;
.source "AnimatedFactoryV2Impl.java"
# interfaces
.implements Lf/g/j/h/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->c(Landroid/graphics/Bitmap$Config;)Lf/g/j/h/b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Landroid/graphics/Bitmap$Config;
.field public final synthetic b:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
# direct methods
.method public constructor <init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;Landroid/graphics/Bitmap$Config;)V
.locals 0
iput-object p1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$b;->b:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
iput-object p2, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$b;->a:Landroid/graphics/Bitmap$Config;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lf/g/j/j/e;ILf/g/j/j/i;Lf/g/j/d/b;)Lf/g/j/j/c;
.locals 4
iget-object p2, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$b;->b:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
iget-object p3, p2, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->e:Lf/g/j/a/b/d;
if-nez p3, :cond_0
new-instance p3, Lf/g/h/a/d/d;
invoke-direct {p3, p2}, Lf/g/h/a/d/d;-><init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
new-instance v0, Lf/g/j/a/b/e;
iget-object v1, p2, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->a:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
invoke-direct {v0, p3, v1}, Lf/g/j/a/b/e;-><init>(Lf/g/j/a/c/b;Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;)V
iput-object v0, p2, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->e:Lf/g/j/a/b/d;
:cond_0
iget-object p2, p2, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->e:Lf/g/j/a/b/d;
iget-object p3, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$b;->a:Landroid/graphics/Bitmap$Config;
check-cast p2, Lf/g/j/a/b/e;
if-eqz p2, :cond_3
sget-object v0, Lf/g/j/a/b/e;->d:Lf/g/j/a/b/c;
if-eqz v0, :cond_2
invoke-virtual {p1}, Lf/g/j/j/e;->d()Lcom/facebook/common/references/CloseableReference;
move-result-object p1
invoke-static {p1}, Ls/a/b/b/a;->i(Ljava/lang/Object;)Ljava/lang/Object;
:try_start_0
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/facebook/common/memory/PooledByteBuffer;
invoke-interface {v0}, Lcom/facebook/common/memory/PooledByteBuffer;->getByteBuffer()Ljava/nio/ByteBuffer;
move-result-object v1
if-eqz v1, :cond_1
sget-object v1, Lf/g/j/a/b/e;->d:Lf/g/j/a/b/c;
invoke-interface {v0}, Lcom/facebook/common/memory/PooledByteBuffer;->getByteBuffer()Ljava/nio/ByteBuffer;
move-result-object v0
invoke-interface {v1, v0, p4}, Lf/g/j/a/b/c;->c(Ljava/nio/ByteBuffer;Lf/g/j/d/b;)Lf/g/j/a/a/c;
move-result-object v0
goto :goto_0
:cond_1
sget-object v1, Lf/g/j/a/b/e;->d:Lf/g/j/a/b/c;
invoke-interface {v0}, Lcom/facebook/common/memory/PooledByteBuffer;->r()J
move-result-wide v2
invoke-interface {v0}, Lcom/facebook/common/memory/PooledByteBuffer;->size()I
move-result v0
invoke-interface {v1, v2, v3, v0, p4}, Lf/g/j/a/b/c;->g(JILf/g/j/d/b;)Lf/g/j/a/a/c;
move-result-object v0
:goto_0
invoke-virtual {p2, p4, v0, p3}, Lf/g/j/a/b/e;->d(Lf/g/j/d/b;Lf/g/j/a/a/c;Landroid/graphics/Bitmap$Config;)Lf/g/j/j/c;
move-result-object p2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->close()V
return-object p2
:catchall_0
move-exception p2
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->close()V
throw p2
:cond_2
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string p2, "To encode animated webp please add the dependency to the animated-webp module"
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
:cond_3
const/4 p1, 0x0
throw p1
.end method

View file

@ -1,165 +0,0 @@
.class public Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
.super Ljava/lang/Object;
.source "AnimatedFactoryV2Impl.java"
# interfaces
.implements Lf/g/j/a/b/a;
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# instance fields
.field public final a:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
.field public final b:Lf/g/j/e/f;
.field public final c:Lf/g/j/c/m;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/g/j/c/m<",
"Lcom/facebook/cache/common/CacheKey;",
"Lf/g/j/j/c;",
">;"
}
.end annotation
.end field
.field public final d:Z
.field public e:Lf/g/j/a/b/d;
.field public f:Lf/g/j/a/c/b;
.field public g:Lf/g/j/a/d/a;
.field public h:Lf/g/j/i/a;
# direct methods
.method public constructor <init>(Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;Lf/g/j/e/f;Lf/g/j/c/m;Z)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;",
"Lf/g/j/e/f;",
"Lf/g/j/c/m<",
"Lcom/facebook/cache/common/CacheKey;",
"Lf/g/j/j/c;",
">;Z)V"
}
.end annotation
.annotation build Lf/g/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->a:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
iput-object p2, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->b:Lf/g/j/e/f;
iput-object p3, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->c:Lf/g/j/c/m;
iput-boolean p4, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->d:Z
return-void
.end method
# virtual methods
.method public a(Landroid/content/Context;)Lf/g/j/i/a;
.locals 9
iget-object p1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->h:Lf/g/j/i/a;
if-nez p1, :cond_2
new-instance v7, Lf/g/h/a/d/a;
invoke-direct {v7, p0}, Lf/g/h/a/d/a;-><init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
new-instance v3, Lf/g/d/b/c;
iget-object p1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->b:Lf/g/j/e/f;
invoke-interface {p1}, Lf/g/j/e/f;->a()Ljava/util/concurrent/Executor;
move-result-object p1
invoke-direct {v3, p1}, Lf/g/d/b/c;-><init>(Ljava/util/concurrent/Executor;)V
new-instance v8, Lf/g/h/a/d/b;
invoke-direct {v8, p0}, Lf/g/h/a/d/b;-><init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
new-instance p1, Lf/g/h/a/d/e;
iget-object v0, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->f:Lf/g/j/a/c/b;
if-nez v0, :cond_0
new-instance v0, Lf/g/h/a/d/c;
invoke-direct {v0, p0}, Lf/g/h/a/d/c;-><init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
iput-object v0, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->f:Lf/g/j/a/c/b;
:cond_0
iget-object v1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->f:Lf/g/j/a/c/b;
sget-object v0, Lf/g/d/b/f;->e:Lf/g/d/b/f;
if-nez v0, :cond_1
new-instance v0, Lf/g/d/b/f;
invoke-direct {v0}, Lf/g/d/b/f;-><init>()V
sput-object v0, Lf/g/d/b/f;->e:Lf/g/d/b/f;
:cond_1
sget-object v2, Lf/g/d/b/f;->e:Lf/g/d/b/f;
invoke-static {}, Lcom/facebook/common/time/RealtimeSinceBootClock;->get()Lcom/facebook/common/time/RealtimeSinceBootClock;
move-result-object v4
iget-object v5, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->a:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
iget-object v6, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->c:Lf/g/j/c/m;
move-object v0, p1
invoke-direct/range {v0 .. v8}, Lf/g/h/a/d/e;-><init>(Lf/g/j/a/c/b;Ljava/util/concurrent/ScheduledExecutorService;Ljava/util/concurrent/ExecutorService;Lf/g/d/k/b;Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;Lf/g/j/c/m;Lcom/facebook/common/internal/Supplier;Lcom/facebook/common/internal/Supplier;)V
iput-object p1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->h:Lf/g/j/i/a;
:cond_2
iget-object p1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->h:Lf/g/j/i/a;
return-object p1
.end method
.method public b(Landroid/graphics/Bitmap$Config;)Lf/g/j/h/b;
.locals 1
new-instance v0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$a;
invoke-direct {v0, p0, p1}, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$a;-><init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;Landroid/graphics/Bitmap$Config;)V
return-object v0
.end method
.method public c(Landroid/graphics/Bitmap$Config;)Lf/g/j/h/b;
.locals 1
new-instance v0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$b;
invoke-direct {v0, p0, p1}, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$b;-><init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;Landroid/graphics/Bitmap$Config;)V
return-object v0
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/fresco/common/middleware/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/fresco/memorytypes/ashmem/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/fresco/memorytypes/nativememory/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/fresco/memorytypes/simple/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/fresco/soloader/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/fresco/ui/common/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/imagepipeline/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/imagepipeline/animated/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/imagepipeline/backends/okhttp3/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,49 +0,0 @@
.class public abstract Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
.super Ljava/lang/Object;
.source "PlatformBitmapFactory.java"
# 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(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;->b(IILandroid/graphics/Bitmap$Config;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
return-object p1
.end method
.method public abstract b(IILandroid/graphics/Bitmap$Config;)Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"(II",
"Landroid/graphics/Bitmap$Config;",
")",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.end method

View file

@ -1,141 +0,0 @@
.class public Lcom/facebook/imagepipeline/cache/DefaultBitmapMemoryCacheParamsSupplier;
.super Ljava/lang/Object;
.source "DefaultBitmapMemoryCacheParamsSupplier.java"
# interfaces
.implements Lcom/facebook/common/internal/Supplier;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/facebook/common/internal/Supplier<",
"Lcom/facebook/imagepipeline/cache/MemoryCacheParams;",
">;"
}
.end annotation
# static fields
.field public static final MAX_CACHE_ENTRIES:I = 0x100
.field public static final MAX_CACHE_ENTRY_SIZE:I = 0x7fffffff
.field public static final MAX_EVICTION_QUEUE_ENTRIES:I = 0x7fffffff
.field public static final MAX_EVICTION_QUEUE_SIZE:I = 0x7fffffff
.field public static final PARAMS_CHECK_INTERVAL_MS:J
# instance fields
.field public final mActivityManager:Landroid/app/ActivityManager;
# direct methods
.method public static constructor <clinit>()V
.locals 3
sget-object v0, Ljava/util/concurrent/TimeUnit;->MINUTES:Ljava/util/concurrent/TimeUnit;
const-wide/16 v1, 0x5
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
move-result-wide v0
sput-wide v0, Lcom/facebook/imagepipeline/cache/DefaultBitmapMemoryCacheParamsSupplier;->PARAMS_CHECK_INTERVAL_MS:J
return-void
.end method
.method public constructor <init>(Landroid/app/ActivityManager;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/imagepipeline/cache/DefaultBitmapMemoryCacheParamsSupplier;->mActivityManager:Landroid/app/ActivityManager;
return-void
.end method
.method private getMaxCacheSize()I
.locals 2
iget-object v0, p0, Lcom/facebook/imagepipeline/cache/DefaultBitmapMemoryCacheParamsSupplier;->mActivityManager:Landroid/app/ActivityManager;
invoke-virtual {v0}, Landroid/app/ActivityManager;->getMemoryClass()I
move-result v0
const/high16 v1, 0x100000
mul-int v0, v0, v1
const v1, 0x7fffffff
invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I
move-result v0
const/high16 v1, 0x2000000
if-ge v0, v1, :cond_0
const/high16 v0, 0x400000
return v0
:cond_0
const/high16 v1, 0x4000000
if-ge v0, v1, :cond_1
const/high16 v0, 0x600000
return v0
:cond_1
div-int/lit8 v0, v0, 0x4
return v0
.end method
# virtual methods
.method public get()Lcom/facebook/imagepipeline/cache/MemoryCacheParams;
.locals 9
new-instance v8, Lcom/facebook/imagepipeline/cache/MemoryCacheParams;
invoke-direct {p0}, Lcom/facebook/imagepipeline/cache/DefaultBitmapMemoryCacheParamsSupplier;->getMaxCacheSize()I
move-result v1
sget-wide v6, Lcom/facebook/imagepipeline/cache/DefaultBitmapMemoryCacheParamsSupplier;->PARAMS_CHECK_INTERVAL_MS:J
const/16 v2, 0x100
const v3, 0x7fffffff
const v4, 0x7fffffff
const v5, 0x7fffffff
move-object v0, v8
invoke-direct/range {v0 .. v7}, Lcom/facebook/imagepipeline/cache/MemoryCacheParams;-><init>(IIIIIJ)V
return-object v8
.end method
.method public bridge synthetic get()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lcom/facebook/imagepipeline/cache/DefaultBitmapMemoryCacheParamsSupplier;->get()Lcom/facebook/imagepipeline/cache/MemoryCacheParams;
move-result-object v0
return-object v0
.end method

View file

@ -1,39 +0,0 @@
.class public Lcom/facebook/imagepipeline/cache/MemoryCacheParams;
.super Ljava/lang/Object;
.source "MemoryCacheParams.java"
# instance fields
.field public final a:I
.field public final b:I
.field public final c:I
.field public final d:I
.field public final e:I
.field public final f:J
# direct methods
.method public constructor <init>(IIIIIJ)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Lcom/facebook/imagepipeline/cache/MemoryCacheParams;->a:I
iput p2, p0, Lcom/facebook/imagepipeline/cache/MemoryCacheParams;->b:I
iput p3, p0, Lcom/facebook/imagepipeline/cache/MemoryCacheParams;->c:I
iput p4, p0, Lcom/facebook/imagepipeline/cache/MemoryCacheParams;->d:I
iput p5, p0, Lcom/facebook/imagepipeline/cache/MemoryCacheParams;->e:I
iput-wide p6, p0, Lcom/facebook/imagepipeline/cache/MemoryCacheParams;->f:J
return-void
.end method

View file

@ -1,21 +0,0 @@
.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

@ -1,19 +0,0 @@
.class public Lcom/facebook/imagepipeline/decoder/DecodeException;
.super Ljava/lang/RuntimeException;
.source "DecodeException.java"
# instance fields
.field public final mEncodedImage:Lf/g/j/j/e;
# direct methods
.method public constructor <init>(Ljava/lang/String;Lf/g/j/j/e;)V
.locals 0
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
iput-object p2, p0, Lcom/facebook/imagepipeline/decoder/DecodeException;->mEncodedImage:Lf/g/j/j/e;
return-void
.end method

View file

@ -1,14 +0,0 @@
.class public interface abstract Lcom/facebook/imagepipeline/image/ImageInfo;
.super Ljava/lang/Object;
.source "ImageInfo.java"
# interfaces
.implements Lf/g/j/j/g;
# virtual methods
.method public abstract getHeight()I
.end method
.method public abstract getWidth()I
.end method

View file

@ -1,46 +0,0 @@
.class public Lcom/facebook/imagepipeline/memory/AshmemMemoryChunkPool;
.super Lf/g/j/m/s;
.source "AshmemMemoryChunkPool.java"
# annotations
.annotation build Landroid/annotation/TargetApi;
value = 0x1b
.end annotation
.annotation build Lf/g/d/d/c;
.end annotation
# direct methods
.method public constructor <init>(Lf/g/d/g/c;Lf/g/j/m/z;Lf/g/j/m/a0;)V
.locals 0
.annotation build Lf/g/d/d/c;
.end annotation
invoke-direct {p0, p1, p2, p3}, Lf/g/j/m/s;-><init>(Lf/g/d/g/c;Lf/g/j/m/z;Lf/g/j/m/a0;)V
return-void
.end method
# virtual methods
.method public a(I)Ljava/lang/Object;
.locals 1
new-instance v0, Lf/g/j/m/a;
invoke-direct {v0, p1}, Lf/g/j/m/a;-><init>(I)V
return-object v0
.end method
.method public o(I)Lf/g/j/m/r;
.locals 1
new-instance v0, Lf/g/j/m/a;
invoke-direct {v0, p1}, Lf/g/j/m/a;-><init>(I)V
return-object v0
.end method

View file

@ -1,40 +0,0 @@
.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/c/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

@ -1,14 +0,0 @@
.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

@ -1,46 +0,0 @@
.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/c/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

@ -1,14 +0,0 @@
.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

@ -1,114 +0,0 @@
.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/g/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

View file

@ -1,42 +0,0 @@
.class public Lcom/facebook/imagepipeline/memory/BufferMemoryChunkPool;
.super Lf/g/j/m/s;
.source "BufferMemoryChunkPool.java"
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# direct methods
.method public constructor <init>(Lf/g/d/g/c;Lf/g/j/m/z;Lf/g/j/m/a0;)V
.locals 0
.annotation build Lf/g/d/d/c;
.end annotation
invoke-direct {p0, p1, p2, p3}, Lf/g/j/m/s;-><init>(Lf/g/d/g/c;Lf/g/j/m/z;Lf/g/j/m/a0;)V
return-void
.end method
# virtual methods
.method public a(I)Ljava/lang/Object;
.locals 1
new-instance v0, Lf/g/j/m/i;
invoke-direct {v0, p1}, Lf/g/j/m/i;-><init>(I)V
return-object v0
.end method
.method public o(I)Lf/g/j/m/r;
.locals 1
new-instance v0, Lf/g/j/m/i;
invoke-direct {v0, p1}, Lf/g/j/m/i;-><init>(I)V
return-object v0
.end method

View file

@ -1,26 +0,0 @@
.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

@ -1,288 +0,0 @@
.class public Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;
.super Lf/g/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/g/j/m/s;
.field public e:Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/references/CloseableReference<",
"Lf/g/j/m/r;",
">;"
}
.end annotation
.end field
.field public f:I
# direct methods
.method public constructor <init>(Lf/g/j/m/s;I)V
.locals 2
invoke-direct {p0}, Lf/g/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}, Ls/a/b/b/a;->g(Z)V
if-eqz p1, :cond_1
iput-object p1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->d:Lf/g/j/m/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/g/j/m/s;
invoke-static {p1, p2}, Lcom/facebook/common/references/CloseableReference;->v(Ljava/lang/Object;Lf/g/d/h/g;)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;->p(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/g/j/m/t;
.locals 3
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->a()V
new-instance v0, Lf/g/j/m/t;
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
iget v2, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->f:I
invoke-direct {v0, v1, v2}, Lf/g/j/m/t;-><init>(Lcom/facebook/common/references/CloseableReference;I)V
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/g/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;->j()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lf/g/j/m/r;
invoke-interface {v1}, Lf/g/j/m/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/g/j/m/s;
invoke-virtual {v1, v0}, Lcom/facebook/imagepipeline/memory/BasePool;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lf/g/j/m/r;
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lf/g/j/m/r;
iget v2, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->f:I
const/4 v3, 0x0
invoke-interface {v1, v3, v0, v3, v2}, Lf/g/j/m/r;->a(ILf/g/j/m/r;II)V
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->e:Lcom/facebook/common/references/CloseableReference;
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
iget-object v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->d:Lf/g/j/m/s;
invoke-static {v0, v1}, Lcom/facebook/common/references/CloseableReference;->v(Ljava/lang/Object;Lf/g/d/h/g;)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;->j()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lf/g/j/m/r;
iget v1, p0, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->f:I
invoke-interface {v0, v1, p1, p2, p3}, Lf/g/j/m/r;->b(I[BII)I
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/c/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

@ -1,692 +0,0 @@
.class public Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;
.super Ljava/lang/Object;
.source "NativeMemoryChunk.java"
# interfaces
.implements Lf/g/j/m/r;
.implements Ljava/io/Closeable;
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# instance fields
.field public final d:J
.field public final e:I
.field public f:Z
# direct methods
.method public static constructor <clinit>()V
.locals 1
const-string v0, "imagepipeline"
invoke-static {v0}, Lf/g/m/o/a;->c(Ljava/lang/String;)Z
return-void
.end method
.method public constructor <init>()V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
const-wide/16 v0, 0x0
iput-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->f:Z
return-void
.end method
.method public constructor <init>(I)V
.locals 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
if-lez p1, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
invoke-static {v1}, Ls/a/b/b/a;->g(Z)V
iput p1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
invoke-static {p1}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->nativeAllocate(I)J
move-result-wide v1
iput-wide v1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
iput-boolean v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->f:Z
return-void
.end method
.method public static native nativeAllocate(I)J
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static native nativeCopyFromByteArray(J[BII)V
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static native nativeCopyToByteArray(J[BII)V
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static native nativeFree(J)V
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static native nativeMemcpy(JJI)V
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static native nativeReadByte(J)B
.annotation build Lf/g/d/d/c;
.end annotation
.end method
# virtual methods
.method public a(ILf/g/j/m/r;II)V
.locals 5
if-eqz p2, :cond_2
invoke-interface {p2}, Lf/g/j/m/r;->getUniqueId()J
move-result-wide v0
iget-wide v2, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
cmp-long v4, v0, v2
if-nez v4, :cond_0
const-string v0, "NativeMemoryChunk"
const-string v1, "Copying from NativeMemoryChunk "
invoke-static {v1}, Lf/e/c/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 v2
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, " to NativeMemoryChunk "
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 v2
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-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;->g(Z)V
:cond_0
invoke-interface {p2}, Lf/g/j/m/r;->getUniqueId()J
move-result-wide v0
iget-wide v2, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
cmp-long v4, v0, v2
if-gez v4, :cond_1
monitor-enter p2
:try_start_0
monitor-enter p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->c(ILf/g/j/m/r;II)V
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:try_start_2
monitor-exit p2
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
return-void
:catchall_0
move-exception p1
:try_start_3
monitor-exit p0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
:try_start_4
throw p1
:catchall_1
move-exception p1
monitor-exit p2
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_1
throw p1
:cond_1
monitor-enter p0
:try_start_5
monitor-enter p2
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_3
:try_start_6
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->c(ILf/g/j/m/r;II)V
monitor-exit p2
:try_end_6
.catchall {:try_start_6 .. :try_end_6} :catchall_2
:try_start_7
monitor-exit p0
:try_end_7
.catchall {:try_start_7 .. :try_end_7} :catchall_3
return-void
:catchall_2
move-exception p1
:try_start_8
monitor-exit p2
:try_end_8
.catchall {:try_start_8 .. :try_end_8} :catchall_2
:try_start_9
throw p1
:catchall_3
move-exception p1
monitor-exit p0
:try_end_9
.catchall {:try_start_9 .. :try_end_9} :catchall_3
throw p1
:cond_2
const/4 p1, 0x0
throw p1
.end method
.method public declared-synchronized b(I[BII)I
.locals 4
monitor-enter p0
: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}, Ls/a/b/b/a;->k(Z)V
iget v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
invoke-static {p1, p4, v0}, Lf/g/j/k/a;->b(III)I
move-result p4
array-length v0, p2
iget v1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
invoke-static {p1, v0, p3, p4, v1}, Lf/g/j/k/a;->j(IIIII)V
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;->nativeCopyFromByteArray(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
monitor-exit p0
throw p1
.end method
.method public final c(ILf/g/j/m/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;->isClosed()Z
move-result v0
xor-int/lit8 v0, v0, 0x1
invoke-static {v0}, Ls/a/b/b/a;->k(Z)V
invoke-interface {p2}, Lf/g/j/m/r;->isClosed()Z
move-result v0
xor-int/lit8 v0, v0, 0x1
invoke-static {v0}, Ls/a/b/b/a;->k(Z)V
invoke-interface {p2}, Lf/g/j/m/r;->getSize()I
move-result v0
iget v1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
invoke-static {p1, v0, p3, p4, v1}, Lf/g/j/k/a;->j(IIIII)V
invoke-interface {p2}, Lf/g/j/m/r;->r()J
move-result-wide v0
int-to-long p2, p3
add-long/2addr v0, p2
iget-wide p2, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
int-to-long v2, p1
add-long/2addr p2, v2
invoke-static {v0, v1, p2, p3, p4}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->nativeMemcpy(JJI)V
return-void
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Cannot copy two incompatible MemoryChunks"
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public declared-synchronized close()V
.locals 2
monitor-enter p0
:try_start_0
iget-boolean v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->f:Z
if-nez v0, :cond_0
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->f:Z
iget-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
invoke-static {v0, v1}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->nativeFree(J)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_0
monitor-exit p0
return-void
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public finalize()V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->isClosed()Z
move-result v0
if-eqz v0, :cond_0
return-void
:cond_0
const-string v0, "finalize: Chunk "
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-static {p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result v1
invoke-static {v1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " still active. "
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
:try_start_0
invoke-virtual {p0}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->close()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-super {p0}, Ljava/lang/Object;->finalize()V
return-void
:catchall_0
move-exception v0
invoke-super {p0}, Ljava/lang/Object;->finalize()V
throw v0
.end method
.method public getByteBuffer()Ljava/nio/ByteBuffer;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public getSize()I
.locals 1
iget v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
return v0
.end method
.method public getUniqueId()J
.locals 2
iget-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
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}, Ls/a/b/b/a;->k(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;->g(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;->g(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}, Ls/a/b/b/a;->k(Z)V
iget v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
invoke-static {p1, p4, v0}, Lf/g/j/k/a;->b(III)I
move-result p4
array-length v0, p2
iget v1, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->e:I
invoke-static {p1, v0, p3, p4, v1}, Lf/g/j/k/a;->j(IIIII)V
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 r()J
.locals 2
iget-wide v0, p0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;->d:J
return-wide v0
.end method

View file

@ -1,42 +0,0 @@
.class public Lcom/facebook/imagepipeline/memory/NativeMemoryChunkPool;
.super Lf/g/j/m/s;
.source "NativeMemoryChunkPool.java"
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# direct methods
.method public constructor <init>(Lf/g/d/g/c;Lf/g/j/m/z;Lf/g/j/m/a0;)V
.locals 0
.annotation build Lf/g/d/d/c;
.end annotation
invoke-direct {p0, p1, p2, p3}, Lf/g/j/m/s;-><init>(Lf/g/d/g/c;Lf/g/j/m/z;Lf/g/j/m/a0;)V
return-void
.end method
# virtual methods
.method public a(I)Ljava/lang/Object;
.locals 1
new-instance v0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;
invoke-direct {v0, p1}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;-><init>(I)V
return-object v0
.end method
.method public o(I)Lf/g/j/m/r;
.locals 1
new-instance v0, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;
invoke-direct {v0, p1}, Lcom/facebook/imagepipeline/memory/NativeMemoryChunk;-><init>(I)V
return-object v0
.end method

View file

@ -1,121 +0,0 @@
.class public Lcom/facebook/imagepipeline/nativecode/Bitmaps;
.super Ljava/lang/Object;
.source "Bitmaps.java"
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# direct methods
.method public static constructor <clinit>()V
.locals 0
invoke-static {}, Lf/g/j/n/a;->a()V
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static copyBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;)V
.locals 4
.annotation build Lf/g/d/d/c;
.end annotation
invoke-virtual {p1}, Landroid/graphics/Bitmap;->getConfig()Landroid/graphics/Bitmap$Config;
move-result-object v0
invoke-virtual {p0}, Landroid/graphics/Bitmap;->getConfig()Landroid/graphics/Bitmap$Config;
move-result-object v1
const/4 v2, 0x1
const/4 v3, 0x0
if-ne v0, v1, :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;->g(Z)V
invoke-virtual {p0}, Landroid/graphics/Bitmap;->isMutable()Z
move-result v0
invoke-static {v0}, Ls/a/b/b/a;->g(Z)V
invoke-virtual {p0}, Landroid/graphics/Bitmap;->getWidth()I
move-result v0
invoke-virtual {p1}, Landroid/graphics/Bitmap;->getWidth()I
move-result v1
if-ne v0, v1, :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;->g(Z)V
invoke-virtual {p0}, Landroid/graphics/Bitmap;->getHeight()I
move-result v0
invoke-virtual {p1}, Landroid/graphics/Bitmap;->getHeight()I
move-result v1
if-ne v0, v1, :cond_2
goto :goto_2
:cond_2
const/4 v2, 0x0
:goto_2
invoke-static {v2}, Ls/a/b/b/a;->g(Z)V
invoke-virtual {p0}, Landroid/graphics/Bitmap;->getRowBytes()I
move-result v0
invoke-virtual {p1}, Landroid/graphics/Bitmap;->getRowBytes()I
move-result v1
invoke-virtual {p0}, Landroid/graphics/Bitmap;->getHeight()I
move-result v2
invoke-static {p0, v0, p1, v1, v2}, Lcom/facebook/imagepipeline/nativecode/Bitmaps;->nativeCopyBitmap(Landroid/graphics/Bitmap;ILandroid/graphics/Bitmap;II)V
return-void
.end method
.method public static native nativeCopyBitmap(Landroid/graphics/Bitmap;ILandroid/graphics/Bitmap;II)V
.annotation build Lf/g/d/d/c;
.end annotation
.end method

View file

@ -1,27 +0,0 @@
.class public Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder$OreoUtils;
.super Ljava/lang/Object;
.source "DalvikPurgeableDecoder.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "OreoUtils"
.end annotation
.annotation build Lf/g/m/d;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,596 +0,0 @@
.class public abstract Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;
.super Ljava/lang/Object;
.source "DalvikPurgeableDecoder.java"
# interfaces
.implements Lf/g/j/o/d;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder$OreoUtils;
}
.end annotation
.annotation build Lf/g/d/d/c;
.end annotation
# static fields
.field public static final b:[B
# instance fields
.field public final a:Lf/g/j/m/b;
# direct methods
.method public static constructor <clinit>()V
.locals 1
invoke-static {}, Lf/g/j/n/a;->a()V
const/4 v0, 0x2
new-array v0, v0, [B
fill-array-data v0, :array_0
sput-object v0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->b:[B
return-void
:array_0
.array-data 1
-0x1t
-0x27t
.end array-data
.end method
.method public constructor <init>()V
.locals 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
sget-object v0, Lf/g/j/m/c;->c:Lf/g/j/m/b;
if-nez v0, :cond_1
const-class v0, Lf/g/j/m/c;
monitor-enter v0
:try_start_0
sget-object v1, Lf/g/j/m/c;->c:Lf/g/j/m/b;
if-nez v1, :cond_0
new-instance v1, Lf/g/j/m/b;
sget v2, Lf/g/j/m/c;->b:I
sget v3, Lf/g/j/m/c;->a:I
invoke-direct {v1, v2, v3}, Lf/g/j/m/b;-><init>(II)V
sput-object v1, Lf/g/j/m/c;->c:Lf/g/j/m/b;
: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/g/j/m/c;->c:Lf/g/j/m/b;
iput-object v0, p0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->a:Lf/g/j/m/b;
return-void
.end method
.method public static e(Lcom/facebook/common/references/CloseableReference;I)Z
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/common/memory/PooledByteBuffer;",
">;I)Z"
}
.end annotation
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
move-result-object p0
check-cast p0, Lcom/facebook/common/memory/PooledByteBuffer;
const/4 v0, 0x1
const/4 v1, 0x2
if-lt p1, v1, :cond_0
add-int/lit8 v1, p1, -0x2
invoke-interface {p0, v1}, Lcom/facebook/common/memory/PooledByteBuffer;->k(I)B
move-result v1
const/4 v2, -0x1
if-ne v1, v2, :cond_0
sub-int/2addr p1, v0
invoke-interface {p0, p1}, Lcom/facebook/common/memory/PooledByteBuffer;->k(I)B
move-result p0
const/16 p1, -0x27
if-ne p0, p1, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public static native nativePinBitmap(Landroid/graphics/Bitmap;)V
.annotation build Lf/g/d/d/c;
.end annotation
.end method
# virtual methods
.method public a(Lf/g/j/j/e;Landroid/graphics/Bitmap$Config;Landroid/graphics/Rect;Landroid/graphics/ColorSpace;)Lcom/facebook/common/references/CloseableReference;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lf/g/j/j/e;",
"Landroid/graphics/Bitmap$Config;",
"Landroid/graphics/Rect;",
"Landroid/graphics/ColorSpace;",
")",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
iget p3, p1, Lf/g/j/j/e;->k:I
new-instance v0, Landroid/graphics/BitmapFactory$Options;
invoke-direct {v0}, Landroid/graphics/BitmapFactory$Options;-><init>()V
const/4 v1, 0x1
iput-boolean v1, v0, Landroid/graphics/BitmapFactory$Options;->inDither:Z
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 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 p4, :cond_0
sget-object p2, Landroid/graphics/ColorSpace$Named;->SRGB:Landroid/graphics/ColorSpace$Named;
invoke-static {p2}, Landroid/graphics/ColorSpace;->get(Landroid/graphics/ColorSpace$Named;)Landroid/graphics/ColorSpace;
move-result-object p4
:cond_0
iput-object p4, v0, Landroid/graphics/BitmapFactory$Options;->inPreferredColorSpace:Landroid/graphics/ColorSpace;
:cond_1
invoke-virtual {p1}, Lf/g/j/j/e;->d()Lcom/facebook/common/references/CloseableReference;
move-result-object p1
invoke-static {p1}, Ls/a/b/b/a;->i(Ljava/lang/Object;)Ljava/lang/Object;
:try_start_0
invoke-virtual {p0, p1, v0}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->c(Lcom/facebook/common/references/CloseableReference;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
move-result-object p2
invoke-virtual {p0, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->f(Landroid/graphics/Bitmap;)Lcom/facebook/common/references/CloseableReference;
move-result-object p2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->close()V
return-object p2
:catchall_0
move-exception p2
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->close()V
throw p2
.end method
.method public b(Lf/g/j/j/e;Landroid/graphics/Bitmap$Config;Landroid/graphics/Rect;ILandroid/graphics/ColorSpace;)Lcom/facebook/common/references/CloseableReference;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lf/g/j/j/e;",
"Landroid/graphics/Bitmap$Config;",
"Landroid/graphics/Rect;",
"I",
"Landroid/graphics/ColorSpace;",
")",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
iget p3, p1, Lf/g/j/j/e;->k:I
new-instance v0, Landroid/graphics/BitmapFactory$Options;
invoke-direct {v0}, Landroid/graphics/BitmapFactory$Options;-><init>()V
const/4 v1, 0x1
iput-boolean v1, v0, Landroid/graphics/BitmapFactory$Options;->inDither:Z
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 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 p2, Landroid/graphics/ColorSpace$Named;->SRGB:Landroid/graphics/ColorSpace$Named;
invoke-static {p2}, Landroid/graphics/ColorSpace;->get(Landroid/graphics/ColorSpace$Named;)Landroid/graphics/ColorSpace;
move-result-object p5
:cond_0
iput-object p5, v0, Landroid/graphics/BitmapFactory$Options;->inPreferredColorSpace:Landroid/graphics/ColorSpace;
:cond_1
invoke-virtual {p1}, Lf/g/j/j/e;->d()Lcom/facebook/common/references/CloseableReference;
move-result-object p1
invoke-static {p1}, Ls/a/b/b/a;->i(Ljava/lang/Object;)Ljava/lang/Object;
:try_start_0
invoke-virtual {p0, p1, p4, v0}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->d(Lcom/facebook/common/references/CloseableReference;ILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
move-result-object p2
invoke-virtual {p0, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->f(Landroid/graphics/Bitmap;)Lcom/facebook/common/references/CloseableReference;
move-result-object p2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->close()V
return-object p2
:catchall_0
move-exception p2
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->close()V
throw p2
.end method
.method public abstract c(Lcom/facebook/common/references/CloseableReference;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/common/memory/PooledByteBuffer;",
">;",
"Landroid/graphics/BitmapFactory$Options;",
")",
"Landroid/graphics/Bitmap;"
}
.end annotation
.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 f(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;",
">;"
}
.end annotation
if-eqz p1, :cond_3
: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/g/j/m/b;
monitor-enter v0
:try_start_1
invoke-static {p1}, Lf/g/k/a;->e(Landroid/graphics/Bitmap;)I
move-result v1
iget v2, v0, Lf/g/j/m/b;->a:I
iget v3, v0, Lf/g/j/m/b;->c:I
const/4 v4, 0x1
const/4 v5, 0x0
if-ge v2, v3, :cond_1
iget-wide v2, v0, Lf/g/j/m/b;->b:J
int-to-long v6, v1
add-long/2addr v2, v6
iget v1, v0, Lf/g/j/m/b;->d:I
int-to-long v8, v1
cmp-long v1, v2, v8
if-lez v1, :cond_0
goto :goto_0
:cond_0
iget v1, v0, Lf/g/j/m/b;->a:I
add-int/2addr v1, v4
iput v1, v0, Lf/g/j/m/b;->a:I
iget-wide v1, v0, Lf/g/j/m/b;->b:J
add-long/2addr v1, v6
iput-wide v1, v0, Lf/g/j/m/b;->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
: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/g/j/m/b;
iget-object v0, v0, Lf/g/j/m/b;->e:Lf/g/d/h/g;
invoke-static {p1, v0}, Lcom/facebook/common/references/CloseableReference;->v(Ljava/lang/Object;Lf/g/d/h/g;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
return-object p1
:cond_2
invoke-static {p1}, Lf/g/k/a;->e(Landroid/graphics/Bitmap;)I
move-result v0
invoke-virtual {p1}, Landroid/graphics/Bitmap;->recycle()V
sget-object p1, Ljava/util/Locale;->US:Ljava/util/Locale;
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."
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/g/j/m/b;
monitor-enter v0
:try_start_2
iget v3, v0, Lf/g/j/m/b;->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/g/j/m/b;
monitor-enter v3
:try_start_3
iget-wide v4, v3, Lf/g/j/m/b;->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/g/j/m/b;
monitor-enter v3
:try_start_4
iget v4, v3, Lf/g/j/m/b;->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/g/j/m/b;
invoke-virtual {v3}, Lf/g/j/m/b;->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 p1
monitor-exit v3
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}, Ls/a/b/b/a;->V(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

@ -1,33 +0,0 @@
.class public Lcom/facebook/imagepipeline/nativecode/NativeBlurFilter;
.super Ljava/lang/Object;
.source "NativeBlurFilter.java"
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# direct methods
.method public static constructor <clinit>()V
.locals 1
const-string v0, "native-filters"
invoke-static {v0}, Lf/g/m/o/a;->c(Ljava/lang/String;)Z
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static native nativeIterativeBoxBlur(Landroid/graphics/Bitmap;II)V
.annotation build Lf/g/d/d/c;
.end annotation
.end method

View file

@ -1,36 +0,0 @@
.class public Lcom/facebook/imagepipeline/nativecode/NativeCodeInitializer;
.super Ljava/lang/Object;
.source "NativeCodeInitializer.java"
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static init(Landroid/content/Context;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.annotation build Lf/g/d/d/c;
.end annotation
const/4 v0, 0x0
invoke-static {p0, v0}, Lcom/facebook/soloader/SoLoader;->init(Landroid/content/Context;I)V
return-void
.end method

View file

@ -1,436 +0,0 @@
.class public Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;
.super Ljava/lang/Object;
.source "NativeJpegTranscoder.java"
# interfaces
.implements Lf/g/j/t/b;
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# instance fields
.field public a:Z
.field public b:I
.field public c:Z
# direct methods
.method public constructor <init>(ZIZZ)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-boolean p1, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->a:Z
iput p2, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->b:I
iput-boolean p3, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->c:Z
if-eqz p4, :cond_0
invoke-static {}, Lf/g/j/k/a;->U()V
:cond_0
return-void
.end method
.method public static native nativeTranscodeJpeg(Ljava/io/InputStream;Ljava/io/OutputStream;III)V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static native nativeTranscodeJpegWithExifOrientation(Ljava/io/InputStream;Ljava/io/OutputStream;III)V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.annotation build Lf/g/d/d/c;
.end annotation
.end method
# virtual methods
.method public a()Ljava/lang/String;
.locals 1
const-string v0, "NativeJpegTranscoder"
return-object v0
.end method
.method public b(Lf/g/j/j/e;Lf/g/j/d/f;Lf/g/j/d/e;)Z
.locals 1
if-nez p2, :cond_0
sget-object p2, Lf/g/j/d/f;->c:Lf/g/j/d/f;
:cond_0
iget-boolean v0, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->a:Z
invoke-static {p2, p3, p1, v0}, Lf/g/j/t/d;->c(Lf/g/j/d/f;Lf/g/j/d/e;Lf/g/j/j/e;Z)I
move-result p1
const/16 p2, 0x8
if-ge p1, p2, :cond_1
const/4 p1, 0x1
goto :goto_0
:cond_1
const/4 p1, 0x0
:goto_0
return p1
.end method
.method public c(Lf/g/j/j/e;Ljava/io/OutputStream;Lf/g/j/d/f;Lf/g/j/d/e;Lf/g/i/c;Ljava/lang/Integer;)Lf/g/j/t/a;
.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/g/j/d/f;->c:Lf/g/j/d/f;
:cond_1
iget p5, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;->b:I
invoke-static {p3, p4, p1, p5}, Lf/g/j/k/a;->Q(Lf/g/j/d/f;Lf/g/j/d/e;Lf/g/j/j/e;I)I
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/g/j/t/d;->c(Lf/g/j/d/f;Lf/g/j/d/e;Lf/g/j/j/e;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}, Lf/g/j/j/e;->f()Ljava/io/InputStream;
move-result-object v2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
sget-object v4, Lf/g/j/t/d;->a:Lf/g/d/d/e;
invoke-virtual {p1}, Lf/g/j/j/e;->p()V
iget v5, p1, Lf/g/j/j/e;->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/g/j/t/d;->a(Lf/g/j/d/f;Lf/g/j/j/e;)I
move-result p1
invoke-virtual {p6}, Ljava/lang/Integer;->intValue()I
move-result p3
invoke-static {}, Lf/g/j/k/a;->U()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}, Ls/a/b/b/a;->g(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}, Ls/a/b/b/a;->g(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}, Ls/a/b/b/a;->g(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}, Ls/a/b/b/a;->g(Z)V
invoke-static {p1}, Lf/g/j/t/d;->d(I)Z
move-result p6
invoke-static {p6}, Ls/a/b/b/a;->g(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}, Ls/a/b/b/a;->h(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/g/j/t/d;->b(Lf/g/j/d/f;Lf/g/j/j/e;)I
move-result p1
invoke-virtual {p6}, Ljava/lang/Integer;->intValue()I
move-result p3
invoke-static {}, Lf/g/j/k/a;->U()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}, Ls/a/b/b/a;->g(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}, Ls/a/b/b/a;->g(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}, Ls/a/b/b/a;->g(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}, Ls/a/b/b/a;->g(Z)V
invoke-static {p1}, Lf/g/j/t/d;->e(I)Z
move-result p6
invoke-static {p6}, Ls/a/b/b/a;->g(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}, Ls/a/b/b/a;->h(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/g/d/d/a;->b(Ljava/io/InputStream;)V
new-instance p1, Lf/g/j/t/a;
if-ne p5, v3, :cond_12
goto :goto_d
:cond_12
const/4 v3, 0x0
:goto_d
invoke-direct {p1, v3}, Lf/g/j/t/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/g/d/d/a;->b(Ljava/io/InputStream;)V
throw p1
.end method
.method public d(Lf/g/i/c;)Z
.locals 1
sget-object v0, Lf/g/i/b;->a:Lf/g/i/c;
if-ne p1, v0, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
return p1
.end method

View file

@ -1,66 +0,0 @@
.class public Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoderFactory;
.super Ljava/lang/Object;
.source "NativeJpegTranscoderFactory.java"
# interfaces
.implements Lf/g/j/t/c;
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# instance fields
.field public final a:I
.field public final b:Z
.field public final c:Z
# direct methods
.method public constructor <init>(IZZ)V
.locals 0
.annotation build Lf/g/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoderFactory;->a:I
iput-boolean p2, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoderFactory;->b:Z
iput-boolean p3, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoderFactory;->c:Z
return-void
.end method
# virtual methods
.method public createImageTranscoder(Lf/g/i/c;Z)Lf/g/j/t/b;
.locals 3
.annotation build Lf/g/d/d/c;
.end annotation
sget-object v0, Lf/g/i/b;->a:Lf/g/i/c;
if-eq p1, v0, :cond_0
const/4 p1, 0x0
return-object p1
:cond_0
new-instance p1, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;
iget v0, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoderFactory;->a:I
iget-boolean v1, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoderFactory;->b:Z
iget-boolean v2, p0, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoderFactory;->c:Z
invoke-direct {p1, p2, v0, v1, v2}, Lcom/facebook/imagepipeline/nativecode/NativeJpegTranscoder;-><init>(ZIZZ)V
return-object p1
.end method

View file

@ -1,82 +0,0 @@
.class public Lcom/facebook/imagepipeline/nativecode/NativeRoundingFilter;
.super Ljava/lang/Object;
.source "NativeRoundingFilter.java"
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# direct methods
.method public static constructor <clinit>()V
.locals 1
const-string v0, "native-filters"
invoke-static {v0}, Lf/g/m/o/a;->c(Ljava/lang/String;)Z
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static native nativeAddRoundedCornersFilter(Landroid/graphics/Bitmap;IIII)V
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static native nativeToCircleFastFilter(Landroid/graphics/Bitmap;Z)V
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static native nativeToCircleFilter(Landroid/graphics/Bitmap;Z)V
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static native nativeToCircleWithBorderFilter(Landroid/graphics/Bitmap;IIZ)V
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static toCircle(Landroid/graphics/Bitmap;Z)V
.locals 0
.annotation build Lf/g/d/d/c;
.end annotation
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 toCircleFast(Landroid/graphics/Bitmap;Z)V
.locals 0
.annotation build Lf/g/d/d/c;
.end annotation
if-eqz p0, :cond_0
invoke-static {p0, p1}, Lcom/facebook/imagepipeline/nativecode/NativeRoundingFilter;->nativeToCircleFastFilter(Landroid/graphics/Bitmap;Z)V
return-void
:cond_0
const/4 p0, 0x0
throw p0
.end method

View file

@ -1,12 +0,0 @@
.class public final Lcom/facebook/imagepipeline/nativecode/R;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,40 +0,0 @@
.class public Lcom/facebook/imagepipeline/nativecode/WebpTranscoderImpl;
.super Ljava/lang/Object;
.source "WebpTranscoderImpl.java"
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static native nativeTranscodeWebpToJpeg(Ljava/io/InputStream;Ljava/io/OutputStream;I)V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static native nativeTranscodeWebpToPng(Ljava/io/InputStream;Ljava/io/OutputStream;)V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.annotation build Lf/g/d/d/c;
.end annotation
.end method

View file

@ -1,477 +0,0 @@
.class public Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;
.super Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;
.source "GingerbreadPurgeableDecoder.java"
# annotations
.annotation build Lf/g/d/d/c;
.end annotation
# static fields
.field public static d:Ljava/lang/reflect/Method;
# instance fields
.field public final c:Lf/g/d/m/b;
# direct methods
.method public constructor <init>()V
.locals 1
.annotation build Lf/g/d/d/c;
.end annotation
invoke-direct {p0}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;-><init>()V
invoke-static {}, Lf/g/d/m/c;->c()Lf/g/d/m/b;
move-result-object v0
iput-object v0, p0, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->c:Lf/g/d/m/b;
return-void
.end method
.method public static g(Lcom/facebook/common/references/CloseableReference;I[B)Landroid/os/MemoryFile;
.locals 9
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/common/memory/PooledByteBuffer;",
">;I[B)",
"Landroid/os/MemoryFile;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/4 v0, 0x0
if-nez p2, :cond_0
const/4 v1, 0x0
goto :goto_0
:cond_0
array-length v1, p2
:goto_0
add-int/2addr v1, p1
new-instance v2, Landroid/os/MemoryFile;
const/4 v3, 0x0
invoke-direct {v2, v3, v1}, Landroid/os/MemoryFile;-><init>(Ljava/lang/String;I)V
invoke-virtual {v2, v0}, Landroid/os/MemoryFile;->allowPurging(Z)Z
const/4 v1, 0x1
:try_start_0
new-instance v4, Lf/g/d/g/h;
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
move-result-object v5
check-cast v5, Lcom/facebook/common/memory/PooledByteBuffer;
invoke-direct {v4, v5}, Lf/g/d/g/h;-><init>(Lcom/facebook/common/memory/PooledByteBuffer;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_3
:try_start_1
new-instance v5, Lf/g/d/j/a;
invoke-direct {v5, v4, p1}, Lf/g/d/j/a;-><init>(Ljava/io/InputStream;I)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_2
:try_start_2
invoke-virtual {v2}, Landroid/os/MemoryFile;->getOutputStream()Ljava/io/OutputStream;
move-result-object v6
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
if-eqz v6, :cond_3
const/16 v3, 0x1000
:try_start_3
new-array v3, v3, [B
:goto_1
invoke-virtual {v5, v3}, Ljava/io/InputStream;->read([B)I
move-result v7
const/4 v8, -0x1
if-ne v7, v8, :cond_2
if-eqz p2, :cond_1
array-length v3, p2
invoke-virtual {v2, p2, v0, p1, v3}, Landroid/os/MemoryFile;->writeBytes([BIII)V
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
goto :goto_2
:catchall_0
move-exception p1
goto :goto_3
:cond_1
:goto_2
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->close()V
invoke-static {v4}, Lf/g/d/d/a;->b(Ljava/io/InputStream;)V
invoke-static {v5}, Lf/g/d/d/a;->b(Ljava/io/InputStream;)V
invoke-static {v6, v1}, Lf/g/d/d/a;->a(Ljava/io/Closeable;Z)V
return-object v2
:cond_2
:try_start_4
invoke-virtual {v6, v3, v0, v7}, Ljava/io/OutputStream;->write([BII)V
goto :goto_1
:cond_3
throw v3
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_0
:catchall_1
move-exception p1
move-object v6, v3
goto :goto_3
:catchall_2
move-exception p1
move-object v5, v3
move-object v6, v5
:goto_3
move-object v3, v4
goto :goto_4
:catchall_3
move-exception p1
move-object v5, v3
move-object v6, v5
:goto_4
invoke-static {p0}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
invoke-static {v3}, Lf/g/d/d/a;->b(Ljava/io/InputStream;)V
invoke-static {v5}, Lf/g/d/d/a;->b(Ljava/io/InputStream;)V
invoke-static {v6, v1}, Lf/g/d/d/a;->a(Ljava/io/Closeable;Z)V
throw p1
.end method
# virtual methods
.method public c(Lcom/facebook/common/references/CloseableReference;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/common/memory/PooledByteBuffer;",
">;",
"Landroid/graphics/BitmapFactory$Options;",
")",
"Landroid/graphics/Bitmap;"
}
.end annotation
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/facebook/common/memory/PooledByteBuffer;
invoke-interface {v0}, Lcom/facebook/common/memory/PooledByteBuffer;->size()I
move-result v0
const/4 v1, 0x0
invoke-virtual {p0, p1, v0, v1, p2}, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->h(Lcom/facebook/common/references/CloseableReference;I[BLandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
move-result-object p1
return-object p1
.end method
.method public d(Lcom/facebook/common/references/CloseableReference;ILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/common/memory/PooledByteBuffer;",
">;I",
"Landroid/graphics/BitmapFactory$Options;",
")",
"Landroid/graphics/Bitmap;"
}
.end annotation
invoke-static {p1, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->e(Lcom/facebook/common/references/CloseableReference;I)Z
move-result v0
if-eqz v0, :cond_0
const/4 v0, 0x0
goto :goto_0
:cond_0
sget-object v0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->b:[B
:goto_0
invoke-virtual {p0, p1, p2, v0, p3}, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->h(Lcom/facebook/common/references/CloseableReference;I[BLandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
move-result-object p1
return-object p1
.end method
.method public final h(Lcom/facebook/common/references/CloseableReference;I[BLandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/common/memory/PooledByteBuffer;",
">;I[B",
"Landroid/graphics/BitmapFactory$Options;",
")",
"Landroid/graphics/Bitmap;"
}
.end annotation
const/4 v0, 0x0
:try_start_0
invoke-static {p1, p2, p3}, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->g(Lcom/facebook/common/references/CloseableReference;I[B)Landroid/os/MemoryFile;
move-result-object p1
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
invoke-virtual {p0, p1}, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->j(Landroid/os/MemoryFile;)Ljava/io/FileDescriptor;
move-result-object p2
iget-object p3, p0, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->c:Lf/g/d/m/b;
if-eqz p3, :cond_0
iget-object p3, p0, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->c:Lf/g/d/m/b;
invoke-interface {p3, p2, v0, p4}, Lf/g/d/m/b;->c(Ljava/io/FileDescriptor;Landroid/graphics/Rect;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
move-result-object p2
const-string p3, "BitmapFactory returned null"
invoke-static {p2, p3}, Ls/a/b/b/a;->j(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:try_end_1
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
invoke-virtual {p1}, Landroid/os/MemoryFile;->close()V
return-object p2
:cond_0
:try_start_2
new-instance p2, Ljava/lang/IllegalStateException;
const-string p3, "WebpBitmapFactory is null"
invoke-direct {p2, p3}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p2
:try_end_2
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
.catchall {:try_start_2 .. :try_end_2} :catchall_0
:catchall_0
move-exception p2
move-object v0, p1
goto :goto_2
:catch_0
move-exception p2
move-object v0, p1
goto :goto_0
:catchall_1
move-exception p2
goto :goto_2
:catch_1
move-exception p2
:goto_0
:try_start_3
invoke-static {p2}, Ls/a/b/b/a;->V(Ljava/lang/Throwable;)V
new-instance p1, Ljava/lang/RuntimeException;
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw p1
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_2
:goto_1
move-object p2, p1
goto :goto_2
:catchall_2
move-exception p1
goto :goto_1
:goto_2
if-eqz v0, :cond_1
invoke-virtual {v0}, Landroid/os/MemoryFile;->close()V
:cond_1
throw p2
.end method
.method public final declared-synchronized i()Ljava/lang/reflect/Method;
.locals 3
monitor-enter p0
:try_start_0
sget-object v0, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->d:Ljava/lang/reflect/Method;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-nez v0, :cond_0
:try_start_1
const-class v0, Landroid/os/MemoryFile;
const-string v1, "getFileDescriptor"
const/4 v2, 0x0
new-array v2, v2, [Ljava/lang/Class;
invoke-virtual {v0, v1, v2}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v0
sput-object v0, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->d:Ljava/lang/reflect/Method;
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_0
:catch_0
move-exception v0
:try_start_2
invoke-static {v0}, Ls/a/b/b/a;->V(Ljava/lang/Throwable;)V
new-instance v1, Ljava/lang/RuntimeException;
invoke-direct {v1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v1
:cond_0
:goto_0
sget-object v0, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->d:Ljava/lang/reflect/Method;
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final j(Landroid/os/MemoryFile;)Ljava/io/FileDescriptor;
.locals 2
:try_start_0
invoke-virtual {p0}, Lcom/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder;->i()Ljava/lang/reflect/Method;
move-result-object v0
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
invoke-virtual {v0, p1, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/io/FileDescriptor;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-object p1
:catch_0
move-exception p1
invoke-static {p1}, Ls/a/b/b/a;->V(Ljava/lang/Throwable;)V
new-instance v0, Ljava/lang/RuntimeException;
invoke-direct {v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v0
.end method

View file

@ -1,207 +0,0 @@
.class public Lcom/facebook/imagepipeline/platform/KitKatPurgeableDecoder;
.super Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;
.source "KitKatPurgeableDecoder.java"
# annotations
.annotation build Landroid/annotation/TargetApi;
value = 0x13
.end annotation
.annotation build Lf/g/d/d/c;
.end annotation
# instance fields
.field public final c:Lf/g/j/m/n;
# direct methods
.method public constructor <init>(Lf/g/j/m/n;)V
.locals 0
.annotation build Lf/g/d/d/c;
.end annotation
invoke-direct {p0}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;-><init>()V
iput-object p1, p0, Lcom/facebook/imagepipeline/platform/KitKatPurgeableDecoder;->c:Lf/g/j/m/n;
return-void
.end method
# virtual methods
.method public c(Lcom/facebook/common/references/CloseableReference;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/common/memory/PooledByteBuffer;",
">;",
"Landroid/graphics/BitmapFactory$Options;",
")",
"Landroid/graphics/Bitmap;"
}
.end annotation
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/facebook/common/memory/PooledByteBuffer;
invoke-interface {p1}, Lcom/facebook/common/memory/PooledByteBuffer;->size()I
move-result v0
iget-object v1, p0, Lcom/facebook/imagepipeline/platform/KitKatPurgeableDecoder;->c:Lf/g/j/m/n;
invoke-virtual {v1, v0}, Lf/g/j/m/n;->a(I)Lcom/facebook/common/references/CloseableReference;
move-result-object v1
:try_start_0
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
move-result-object v2
check-cast v2, [B
const/4 v3, 0x0
invoke-interface {p1, v3, v2, v3, v0}, Lcom/facebook/common/memory/PooledByteBuffer;->m(I[BII)I
invoke-static {v2, v3, v0, p2}, Landroid/graphics/BitmapFactory;->decodeByteArray([BIILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
move-result-object p1
const-string p2, "BitmapFactory returned null"
invoke-static {p1, p2}, Ls/a/b/b/a;->j(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
return-object p1
:catchall_0
move-exception p1
if-eqz v1, :cond_0
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
:cond_0
throw p1
.end method
.method public d(Lcom/facebook/common/references/CloseableReference;ILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/common/memory/PooledByteBuffer;",
">;I",
"Landroid/graphics/BitmapFactory$Options;",
")",
"Landroid/graphics/Bitmap;"
}
.end annotation
invoke-static {p1, p2}, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->e(Lcom/facebook/common/references/CloseableReference;I)Z
move-result v0
if-eqz v0, :cond_0
const/4 v0, 0x0
goto :goto_0
:cond_0
sget-object v0, Lcom/facebook/imagepipeline/nativecode/DalvikPurgeableDecoder;->b:[B
:goto_0
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/facebook/common/memory/PooledByteBuffer;
invoke-interface {p1}, Lcom/facebook/common/memory/PooledByteBuffer;->size()I
move-result v1
const/4 v2, 0x0
if-gt p2, v1, :cond_1
const/4 v1, 0x1
goto :goto_1
:cond_1
const/4 v1, 0x0
:goto_1
invoke-static {v1}, Ls/a/b/b/a;->g(Z)V
iget-object v1, p0, Lcom/facebook/imagepipeline/platform/KitKatPurgeableDecoder;->c:Lf/g/j/m/n;
add-int/lit8 v3, p2, 0x2
invoke-virtual {v1, v3}, Lf/g/j/m/n;->a(I)Lcom/facebook/common/references/CloseableReference;
move-result-object v1
:try_start_0
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->j()Ljava/lang/Object;
move-result-object v4
check-cast v4, [B
invoke-interface {p1, v2, v4, v2, p2}, Lcom/facebook/common/memory/PooledByteBuffer;->m(I[BII)I
if-eqz v0, :cond_2
const/4 p1, -0x1
aput-byte p1, v4, p2
add-int/lit8 p2, p2, 0x1
const/16 p1, -0x27
aput-byte p1, v4, p2
move p2, v3
:cond_2
invoke-static {v4, v2, p2, p3}, Landroid/graphics/BitmapFactory;->decodeByteArray([BIILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
move-result-object p1
const-string p2, "BitmapFactory returned null"
invoke-static {p1, p2}, Ls/a/b/b/a;->j(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
return-object p1
:catchall_0
move-exception p1
if-eqz v1, :cond_3
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
:cond_3
throw p1
.end method

View file

@ -1,44 +0,0 @@
.class public Lcom/facebook/imagepipeline/platform/PreverificationHelper;
.super Ljava/lang/Object;
.source "PreverificationHelper.java"
# annotations
.annotation build Lf/g/m/d;
.end annotation
# 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 shouldUseHardwareBitmapConfig(Landroid/graphics/Bitmap$Config;)Z
.locals 1
.annotation build Landroid/annotation/TargetApi;
value = 0x1a
.end annotation
.annotation build Lf/g/m/d;
.end annotation
sget-object v0, Landroid/graphics/Bitmap$Config;->HARDWARE:Landroid/graphics/Bitmap$Config;
if-ne p1, v0, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
return p1
.end method

View file

@ -1,17 +0,0 @@
.class public Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$Api24Utils;
.super Ljava/lang/Object;
.source "LocalExifThumbnailProducer.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "Api24Utils"
.end annotation
.annotation build Lf/g/m/d;
.end annotation

View file

@ -1,432 +0,0 @@
.class public Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;
.super Lf/g/j/q/d1;
.source "LocalExifThumbnailProducer.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;->b(Lf/g/j/q/l;Lf/g/j/q/w0;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/g/j/q/d1<",
"Lf/g/j/j/e;",
">;"
}
.end annotation
# instance fields
.field public final synthetic i:Lcom/facebook/imagepipeline/request/ImageRequest;
.field public final synthetic j:Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
# direct methods
.method public constructor <init>(Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;Lf/g/j/q/l;Lf/g/j/q/y0;Lf/g/j/q/w0;Ljava/lang/String;Lcom/facebook/imagepipeline/request/ImageRequest;)V
.locals 0
iput-object p1, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;->j:Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
iput-object p6, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;->i:Lcom/facebook/imagepipeline/request/ImageRequest;
invoke-direct {p0, p2, p3, p4, p5}, Lf/g/j/q/d1;-><init>(Lf/g/j/q/l;Lf/g/j/q/y0;Lf/g/j/q/w0;Ljava/lang/String;)V
return-void
.end method
# virtual methods
.method public b(Ljava/lang/Object;)V
.locals 0
check-cast p1, Lf/g/j/j/e;
invoke-static {p1}, Lf/g/j/j/e;->b(Lf/g/j/j/e;)V
return-void
.end method
.method public c(Ljava/lang/Object;)Ljava/util/Map;
.locals 1
check-cast p1, Lf/g/j/j/e;
if-eqz p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
invoke-static {p1}, Ljava/lang/Boolean;->toString(Z)Ljava/lang/String;
move-result-object p1
const-string v0, "createdThumbnail"
invoke-static {v0, p1}, Lf/g/d/d/f;->of(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
move-result-object p1
return-object p1
.end method
.method public d()Ljava/lang/Object;
.locals 10
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
iget-object v0, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;->i:Lcom/facebook/imagepipeline/request/ImageRequest;
iget-object v0, v0, Lcom/facebook/imagepipeline/request/ImageRequest;->b:Landroid/net/Uri;
iget-object v7, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;->j:Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
iget-object v1, v7, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;->c:Landroid/content/ContentResolver;
invoke-static {v0}, Lf/g/d/l/b;->d(Landroid/net/Uri;)Z
move-result v2
const/4 v8, 0x0
const/4 v9, -0x1
if-eqz v2, :cond_2
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v6, 0x0
move-object v2, v0
:try_start_0
invoke-virtual/range {v1 .. v6}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
move-result-object v1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
if-eqz v1, :cond_0
:try_start_1
invoke-interface {v1}, Landroid/database/Cursor;->moveToFirst()Z
move-result v2
if-eqz v2, :cond_0
const-string v2, "_data"
invoke-interface {v1, v2}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
move-result v2
if-eq v2, v9, :cond_0
invoke-interface {v1, v2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
move-result-object v2
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
move-object v8, v1
goto :goto_1
:cond_0
move-object v2, v8
:goto_0
if-eqz v1, :cond_4
invoke-interface {v1}, Landroid/database/Cursor;->close()V
goto :goto_2
:catchall_1
move-exception v0
:goto_1
if-eqz v8, :cond_1
invoke-interface {v8}, Landroid/database/Cursor;->close()V
:cond_1
throw v0
:cond_2
invoke-static {v0}, Lf/g/d/l/b;->e(Landroid/net/Uri;)Z
move-result v1
if-eqz v1, :cond_3
invoke-virtual {v0}, Landroid/net/Uri;->getPath()Ljava/lang/String;
move-result-object v2
goto :goto_2
:cond_3
move-object v2, v8
:cond_4
:goto_2
const/4 v1, 0x0
if-nez v2, :cond_5
goto :goto_3
:cond_5
:try_start_2
new-instance v3, Ljava/io/File;
invoke-direct {v3, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V
invoke-virtual {v3}, Ljava/io/File;->exists()Z
move-result v4
if-eqz v4, :cond_6
invoke-virtual {v3}, Ljava/io/File;->canRead()Z
move-result v3
if-eqz v3, :cond_6
const/4 v1, 0x1
:cond_6
:goto_3
if-eqz v1, :cond_7
new-instance v0, Landroid/media/ExifInterface;
invoke-direct {v0, v2}, Landroid/media/ExifInterface;-><init>(Ljava/lang/String;)V
goto :goto_6
:cond_7
iget-object v1, v7, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;->c:Landroid/content/ContentResolver;
invoke-static {v0}, Lf/g/d/l/b;->d(Landroid/net/Uri;)Z
move-result v2
:try_end_2
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_2
.catch Ljava/lang/StackOverflowError; {:try_start_2 .. :try_end_2} :catch_1
if-eqz v2, :cond_8
:try_start_3
const-string v2, "r"
invoke-virtual {v1, v0, v2}, Landroid/content/ContentResolver;->openAssetFileDescriptor(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/res/AssetFileDescriptor;
move-result-object v0
:try_end_3
.catch Ljava/io/FileNotFoundException; {:try_start_3 .. :try_end_3} :catch_0
.catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_2
.catch Ljava/lang/StackOverflowError; {:try_start_3 .. :try_end_3} :catch_1
goto :goto_4
:catch_0
:cond_8
move-object v0, v8
:goto_4
if-eqz v0, :cond_a
:try_start_4
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v2, 0x18
if-lt v1, v2, :cond_a
invoke-virtual {v0}, Landroid/content/res/AssetFileDescriptor;->getFileDescriptor()Ljava/io/FileDescriptor;
move-result-object v1
sget v3, Landroid/os/Build$VERSION;->SDK_INT:I
if-lt v3, v2, :cond_9
new-instance v2, Landroid/media/ExifInterface;
invoke-direct {v2, v1}, Landroid/media/ExifInterface;-><init>(Ljava/io/FileDescriptor;)V
goto :goto_5
:cond_9
move-object v2, v8
:goto_5
invoke-virtual {v0}, Landroid/content/res/AssetFileDescriptor;->close()V
:try_end_4
.catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_2
.catch Ljava/lang/StackOverflowError; {:try_start_4 .. :try_end_4} :catch_1
move-object v0, v2
goto :goto_6
:catch_1
const-class v0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
const-string v1, "StackOverflowError in ExifInterface constructor"
invoke-static {v0, v1}, Lf/g/d/e/a;->a(Ljava/lang/Class;Ljava/lang/String;)V
:catch_2
:cond_a
move-object v0, v8
:goto_6
if-eqz v0, :cond_11
invoke-virtual {v0}, Landroid/media/ExifInterface;->hasThumbnail()Z
move-result v1
if-nez v1, :cond_b
goto :goto_8
:cond_b
invoke-virtual {v0}, Landroid/media/ExifInterface;->getThumbnail()[B
move-result-object v1
iget-object v2, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;->j:Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
iget-object v2, v2, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;->b:Lf/g/d/g/g;
invoke-interface {v2, v1}, Lf/g/d/g/g;->b([B)Lcom/facebook/common/memory/PooledByteBuffer;
move-result-object v1
iget-object v2, p0, Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer$a;->j:Lcom/facebook/imagepipeline/producers/LocalExifThumbnailProducer;
if-eqz v2, :cond_10
new-instance v2, Lf/g/d/g/h;
invoke-direct {v2, v1}, Lf/g/d/g/h;-><init>(Lcom/facebook/common/memory/PooledByteBuffer;)V
invoke-static {v2}, Lf/g/k/a;->a(Ljava/io/InputStream;)Landroid/util/Pair;
move-result-object v2
const-string v3, "Orientation"
invoke-virtual {v0, v3}, Landroid/media/ExifInterface;->getAttribute(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v0
invoke-static {v0}, Lf/g/j/k/a;->e0(I)I
move-result v0
if-eqz v2, :cond_c
iget-object v3, v2, Landroid/util/Pair;->first:Ljava/lang/Object;
check-cast v3, Ljava/lang/Integer;
invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I
move-result v3
goto :goto_7
:cond_c
const/4 v3, -0x1
:goto_7
if-eqz v2, :cond_d
iget-object v2, v2, Landroid/util/Pair;->second:Ljava/lang/Object;
check-cast v2, Ljava/lang/Integer;
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
move-result v9
:cond_d
invoke-static {v1}, Lcom/facebook/common/references/CloseableReference;->q(Ljava/io/Closeable;)Lcom/facebook/common/references/CloseableReference;
move-result-object v1
:try_start_5
new-instance v8, Lf/g/j/j/e;
invoke-direct {v8, v1}, Lf/g/j/j/e;-><init>(Lcom/facebook/common/references/CloseableReference;)V
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_2
if-eqz v1, :cond_e
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
:cond_e
sget-object v1, Lf/g/i/b;->a:Lf/g/i/c;
iput-object v1, v8, Lf/g/j/j/e;->f:Lf/g/i/c;
iput v0, v8, Lf/g/j/j/e;->g:I
iput v3, v8, Lf/g/j/j/e;->i:I
iput v9, v8, Lf/g/j/j/e;->j:I
goto :goto_8
:catchall_2
move-exception v0
if-eqz v1, :cond_f
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
:cond_f
throw v0
:cond_10
throw v8
:cond_11
:goto_8
return-object v8
.end method

Some files were not shown because too many files have changed in this diff Show more