Changes of com.discord v998
This commit is contained in:
parent
dc3b174a87
commit
a8e290ae89
20243 changed files with 1573881 additions and 1337713 deletions
|
@ -1,13 +0,0 @@
|
|||
.class public final Lcom/facebook/animated/drawable/R;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,121 +0,0 @@
|
|||
.class public Lcom/facebook/animated/gif/GifFrame;
|
||||
.super Ljava/lang/Object;
|
||||
.source "GifFrame.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/facebook/imagepipeline/animated/a/d;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private mNativeContext:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(J)V
|
||||
.locals 0
|
||||
|
||||
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 nativeFinalize()V
|
||||
.end method
|
||||
|
||||
.method private native nativeGetDurationMs()I
|
||||
.end method
|
||||
|
||||
.method private native nativeGetTransparentPixelColor()I
|
||||
.end method
|
||||
|
||||
.method private native nativeHasTransparency()Z
|
||||
.end method
|
||||
|
||||
.method private native nativeRenderFrame(IILandroid/graphics/Bitmap;)V
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final 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 final dispose()V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeDispose()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final fE()I
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetXOffset()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final fF()I
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetYOffset()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method protected finalize()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeFinalize()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final getHeight()I
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetHeight()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final getWidth()I
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetWidth()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method native nativeDispose()V
|
||||
.end method
|
||||
|
||||
.method native nativeGetDisposalMode()I
|
||||
.end method
|
||||
|
||||
.method native nativeGetHeight()I
|
||||
.end method
|
||||
|
||||
.method native nativeGetWidth()I
|
||||
.end method
|
||||
|
||||
.method native nativeGetXOffset()I
|
||||
.end method
|
||||
|
||||
.method native nativeGetYOffset()I
|
||||
.end method
|
|
@ -1,335 +0,0 @@
|
|||
.class public Lcom/facebook/animated/gif/GifImage;
|
||||
.super Ljava/lang/Object;
|
||||
.source "GifImage.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/facebook/imagepipeline/animated/a/c;
|
||||
.implements Lcom/facebook/imagepipeline/animated/b/c;
|
||||
|
||||
|
||||
# static fields
|
||||
.field private static volatile Gr:Z
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private mNativeContext:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method constructor <init>(J)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-wide p1, p0, Lcom/facebook/animated/gif/GifImage;->mNativeContext:J
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private static declared-synchronized fG()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;->Gr:Z
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
sput-boolean v1, Lcom/facebook/animated/gif/GifImage;->Gr:Z
|
||||
|
||||
const-string v1, "gifimage"
|
||||
|
||||
invoke-static {v1}, Lcom/facebook/soloader/SoLoader;->aD(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 private static native nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;)Lcom/facebook/animated/gif/GifImage;
|
||||
.end method
|
||||
|
||||
.method private static native nativeCreateFromNativeMemory(JI)Lcom/facebook/animated/gif/GifImage;
|
||||
.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/gif/GifFrame;
|
||||
.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 final B(I)Lcom/facebook/imagepipeline/animated/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, Lcom/facebook/imagepipeline/animated/a/b;
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetXOffset()I
|
||||
|
||||
move-result v3
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetYOffset()I
|
||||
|
||||
move-result v4
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetWidth()I
|
||||
|
||||
move-result v5
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetHeight()I
|
||||
|
||||
move-result v6
|
||||
|
||||
sget v7, Lcom/facebook/imagepipeline/animated/a/b$a;->RC:I
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetDisposalMode()I
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
if-eq v1, v2, :cond_1
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
if-ne v1, v2, :cond_0
|
||||
|
||||
sget v1, Lcom/facebook/imagepipeline/animated/a/b$b;->RG:I
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v2, 0x3
|
||||
|
||||
if-ne v1, v2, :cond_1
|
||||
|
||||
sget v1, Lcom/facebook/imagepipeline/animated/a/b$b;->RH:I
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
sget v1, Lcom/facebook/imagepipeline/animated/a/b$b;->RF:I
|
||||
|
||||
:goto_0
|
||||
move v8, v1
|
||||
|
||||
move-object v1, v9
|
||||
|
||||
move v2, p1
|
||||
|
||||
invoke-direct/range {v1 .. v8}, Lcom/facebook/imagepipeline/animated/a/b;-><init>(IIIIIII)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->nativeDispose()V
|
||||
|
||||
return-object v9
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->nativeDispose()V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final synthetic C(I)Lcom/facebook/imagepipeline/animated/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 final a(JI)Lcom/facebook/imagepipeline/animated/a/c;
|
||||
.locals 3
|
||||
|
||||
invoke-static {}, Lcom/facebook/animated/gif/GifImage;->fG()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}, Lcom/facebook/common/d/i;->checkArgument(Z)V
|
||||
|
||||
invoke-static {p1, p2, p3}, Lcom/facebook/animated/gif/GifImage;->nativeCreateFromNativeMemory(JI)Lcom/facebook/animated/gif/GifImage;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final a(Ljava/nio/ByteBuffer;)Lcom/facebook/imagepipeline/animated/a/c;
|
||||
.locals 0
|
||||
|
||||
invoke-static {}, Lcom/facebook/animated/gif/GifImage;->fG()V
|
||||
|
||||
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->rewind()Ljava/nio/Buffer;
|
||||
|
||||
invoke-static {p1}, Lcom/facebook/animated/gif/GifImage;->nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;)Lcom/facebook/animated/gif/GifImage;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final fH()I
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeGetFrameCount()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final fI()[I
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeGetFrameDurations()[I
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final fJ()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 final fK()Z
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final fL()I
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeGetSizeInBytes()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method protected finalize()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeFinalize()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final getHeight()I
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeGetHeight()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final getWidth()I
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeGetWidth()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
|
@ -1,13 +0,0 @@
|
|||
.class public final Lcom/facebook/animated/gif/R;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,13 +0,0 @@
|
|||
.class public final Lcom/facebook/animated/webp/R;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,118 +0,0 @@
|
|||
.class public Lcom/facebook/animated/webp/WebPFrame;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WebPFrame.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/facebook/imagepipeline/animated/a/d;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private mNativeContext:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(J)V
|
||||
.locals 0
|
||||
|
||||
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 nativeFinalize()V
|
||||
.end method
|
||||
|
||||
.method private native nativeGetDurationMs()I
|
||||
.end method
|
||||
|
||||
.method private native nativeRenderFrame(IILandroid/graphics/Bitmap;)V
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final 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 final dispose()V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeDispose()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final fE()I
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetXOffset()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final fF()I
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetYOffset()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method protected finalize()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeFinalize()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final getHeight()I
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetHeight()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final getWidth()I
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetWidth()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method native nativeDispose()V
|
||||
.end method
|
||||
|
||||
.method native nativeGetHeight()I
|
||||
.end method
|
||||
|
||||
.method native nativeGetWidth()I
|
||||
.end method
|
||||
|
||||
.method native nativeGetXOffset()I
|
||||
.end method
|
||||
|
||||
.method native nativeGetYOffset()I
|
||||
.end method
|
||||
|
||||
.method native nativeIsBlendWithPreviousFrame()Z
|
||||
.end method
|
||||
|
||||
.method native nativeShouldDisposeToBackgroundColor()Z
|
||||
.end method
|
|
@ -1,275 +0,0 @@
|
|||
.class public Lcom/facebook/animated/webp/WebPImage;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WebPImage.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/facebook/imagepipeline/animated/a/c;
|
||||
.implements Lcom/facebook/imagepipeline/animated/b/c;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private mNativeContext:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method constructor <init>(J)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-wide p1, p0, Lcom/facebook/animated/webp/WebPImage;->mNativeContext:J
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private static native nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;)Lcom/facebook/animated/webp/WebPImage;
|
||||
.end method
|
||||
|
||||
.method private 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 final B(I)Lcom/facebook/imagepipeline/animated/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, Lcom/facebook/imagepipeline/animated/a/b;
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetXOffset()I
|
||||
|
||||
move-result v3
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetYOffset()I
|
||||
|
||||
move-result v4
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetWidth()I
|
||||
|
||||
move-result v5
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetHeight()I
|
||||
|
||||
move-result v6
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->nativeIsBlendWithPreviousFrame()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
sget v1, Lcom/facebook/imagepipeline/animated/a/b$a;->RC:I
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget v1, Lcom/facebook/imagepipeline/animated/a/b$a;->RD:I
|
||||
|
||||
:goto_0
|
||||
move v7, v1
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->nativeShouldDisposeToBackgroundColor()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
sget v1, Lcom/facebook/imagepipeline/animated/a/b$b;->RG:I
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
sget v1, Lcom/facebook/imagepipeline/animated/a/b$b;->RF:I
|
||||
|
||||
:goto_1
|
||||
move v8, v1
|
||||
|
||||
move-object v1, v9
|
||||
|
||||
move v2, p1
|
||||
|
||||
invoke-direct/range {v1 .. v8}, Lcom/facebook/imagepipeline/animated/a/b;-><init>(IIIIIII)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->nativeDispose()V
|
||||
|
||||
return-object v9
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->nativeDispose()V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final synthetic C(I)Lcom/facebook/imagepipeline/animated/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 final a(JI)Lcom/facebook/imagepipeline/animated/a/c;
|
||||
.locals 3
|
||||
|
||||
invoke-static {}, Lcom/facebook/imagepipeline/nativecode/d;->fG()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}, Lcom/facebook/common/d/i;->checkArgument(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 final a(Ljava/nio/ByteBuffer;)Lcom/facebook/imagepipeline/animated/a/c;
|
||||
.locals 0
|
||||
|
||||
invoke-static {}, Lcom/facebook/imagepipeline/nativecode/d;->fG()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 final fH()I
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetFrameCount()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final fI()[I
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetFrameDurations()[I
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final fJ()I
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetLoopCount()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final fK()Z
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final fL()I
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetSizeInBytes()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method protected finalize()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeFinalize()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final getHeight()I
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetHeight()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final getWidth()I
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetWidth()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue