Changes of com.discord v1181

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

View file

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

View file

@ -3,12 +3,12 @@
.source "GifFrame.java"
# interfaces
.implements Lf/j/j/a/a/d;
.implements Lf/h/j/a/a/d;
# instance fields
.field public mNativeContext:J
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end field
@ -16,7 +16,7 @@
# direct methods
.method public constructor <init>(J)V
.locals 0
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
@ -27,72 +27,62 @@
.end method
.method private native nativeDispose()V
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeFinalize()V
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetDisposalMode()I
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetDurationMs()I
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetHeight()I
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetTransparentPixelColor()I
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetWidth()I
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetXOffset()I
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetYOffset()I
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeHasTransparency()Z
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeRenderFrame(IILandroid/graphics/Bitmap;)V
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
# virtual methods
.method public a()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetXOffset()I
move-result v0
return v0
.end method
.method public a(IILandroid/graphics/Bitmap;)V
.locals 0
@ -104,7 +94,7 @@
.method public b()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetYOffset()I
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetXOffset()I
move-result v0
@ -114,6 +104,16 @@
.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

View file

@ -3,12 +3,12 @@
.source "GifImage.java"
# interfaces
.implements Lf/j/j/a/a/c;
.implements Lf/j/j/a/b/c;
.implements Lf/h/j/a/a/c;
.implements Lf/h/j/a/b/c;
# annotations
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
@ -18,7 +18,7 @@
# instance fields
.field public mNativeContext:J
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end field
@ -26,7 +26,7 @@
# direct methods
.method public constructor <init>()V
.locals 0
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
@ -36,7 +36,7 @@
.method public constructor <init>(J)V
.locals 0
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
@ -46,7 +46,7 @@
return-void
.end method
.method public static declared-synchronized f()V
.method public static declared-synchronized j()V
.locals 2
const-class v0, Lcom/facebook/animated/gif/GifImage;
@ -64,7 +64,7 @@
const-string v1, "gifimage"
invoke-static {v1}, Lcom/facebook/soloader/SoLoader;->a(Ljava/lang/String;)Z
invoke-static {v1}, Lcom/facebook/soloader/SoLoader;->f(Ljava/lang/String;)Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
@ -82,62 +82,62 @@
.end method
.method public static native nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;)Lcom/facebook/animated/gif/GifImage;
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method public static native nativeCreateFromNativeMemory(JI)Lcom/facebook/animated/gif/GifImage;
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeDispose()V
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeFinalize()V
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetDuration()I
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetFrame(I)Lcom/facebook/animated/gif/GifFrame;
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetFrameCount()I
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetFrameDurations()[I
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetHeight()I
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetLoopCount()I
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetSizeInBytes()I
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
.method private native nativeGetWidth()I
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end method
@ -153,142 +153,6 @@
return v0
.end method
.method public a(I)Lf/j/j/a/a/b;
.locals 10
invoke-virtual {p0, p1}, Lcom/facebook/animated/gif/GifImage;->b(I)Lcom/facebook/animated/gif/GifFrame;
move-result-object v0
:try_start_0
new-instance v9, Lf/j/j/a/a/b;
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->a()I
move-result v3
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->b()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/j/j/a/a/b$a;->d:Lf/j/j/a/a/b$a;
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->c()I
move-result v1
if-nez v1, :cond_0
sget-object v1, Lf/j/j/a/a/b$b;->d:Lf/j/j/a/a/b$b;
:goto_0
move-object v8, v1
goto :goto_1
:cond_0
const/4 v2, 0x1
if-ne v1, v2, :cond_1
sget-object v1, Lf/j/j/a/a/b$b;->d:Lf/j/j/a/a/b$b;
goto :goto_0
:cond_1
const/4 v2, 0x2
if-ne v1, v2, :cond_2
sget-object v1, Lf/j/j/a/a/b$b;->e:Lf/j/j/a/a/b$b;
goto :goto_0
:cond_2
const/4 v2, 0x3
if-ne v1, v2, :cond_3
sget-object v1, Lf/j/j/a/a/b$b;->f:Lf/j/j/a/a/b$b;
goto :goto_0
:cond_3
sget-object v1, Lf/j/j/a/a/b$b;->d:Lf/j/j/a/a/b$b;
goto :goto_0
:goto_1
move-object v1, v9
move v2, p1
invoke-direct/range {v1 .. v8}, Lf/j/j/a/a/b;-><init>(IIIIILf/j/j/a/a/b$a;Lf/j/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 a(JI)Lf/j/j/a/a/c;
.locals 3
invoke-static {}, Lcom/facebook/animated/gif/GifImage;->f()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;->a(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 a(Ljava/nio/ByteBuffer;)Lf/j/j/a/a/c;
.locals 0
invoke-static {}, Lcom/facebook/animated/gif/GifImage;->f()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 b()I
.locals 3
@ -317,7 +181,7 @@
return v2
.end method
.method public b(I)Lcom/facebook/animated/gif/GifFrame;
.method public c(I)Lf/h/j/a/a/d;
.locals 0
invoke-direct {p0, p1}, Lcom/facebook/animated/gif/GifImage;->nativeGetFrame(I)Lcom/facebook/animated/gif/GifFrame;
@ -327,36 +191,34 @@
return-object p1
.end method
.method public bridge synthetic b(I)Lf/j/j/a/a/d;
.locals 0
.method public d(JI)Lf/h/j/a/a/c;
.locals 3
invoke-virtual {p0, p1}, Lcom/facebook/animated/gif/GifImage;->b(I)Lcom/facebook/animated/gif/GifFrame;
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}, Ld0/a/b/b/a;->h(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 c()[I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeGetFrameDurations()[I
move-result-object v0
return-object v0
.end method
.method public d()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/gif/GifImage;->nativeGetSizeInBytes()I
move-result v0
return v0
.end method
.method public e()Z
.locals 1
@ -365,6 +227,97 @@
return v0
.end method
.method public f(I)Lf/h/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/h/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/h/j/a/a/b$a;->d:Lf/h/j/a/a/b$a;
invoke-virtual {v0}, Lcom/facebook/animated/gif/GifFrame;->d()I
move-result v1
sget-object v2, Lf/h/j/a/a/b$b;->d:Lf/h/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/h/j/a/a/b$b;->e:Lf/h/j/a/a/b$b;
goto :goto_0
:cond_2
const/4 v8, 0x3
if-ne v1, v8, :cond_3
sget-object v1, Lf/h/j/a/a/b$b;->f:Lf/h/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/h/j/a/a/b;-><init>(IIIIILf/h/j/a/a/b$a;Lf/h/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
@ -373,6 +326,20 @@
return-void
.end method
.method public g(Ljava/nio/ByteBuffer;)Lf/h/j/a/a/c;
.locals 0
invoke-static {}, Lcom/facebook/animated/gif/GifImage;->j()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 getHeight()I
.locals 1
@ -392,3 +359,23 @@
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,6 +1,5 @@
.class public final Lcom/facebook/animated/gif/R;
.super Ljava/lang/Object;
.source "R.java"
# direct methods

View file

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

View file

@ -3,12 +3,12 @@
.source "WebPFrame.java"
# interfaces
.implements Lf/j/j/a/a/d;
.implements Lf/h/j/a/a/d;
# instance fields
.field public mNativeContext:J
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end field
@ -16,7 +16,7 @@
# direct methods
.method public constructor <init>(J)V
.locals 0
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
@ -58,16 +58,6 @@
# virtual methods
.method public a()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetXOffset()I
move-result v0
return v0
.end method
.method public a(IILandroid/graphics/Bitmap;)V
.locals 0
@ -79,17 +69,17 @@
.method public b()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetYOffset()I
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetXOffset()I
move-result v0
return v0
.end method
.method public c()Z
.method public c()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeIsBlendWithPreviousFrame()Z
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetYOffset()I
move-result v0
@ -99,7 +89,7 @@
.method public d()Z
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeShouldDisposeToBackgroundColor()Z
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeIsBlendWithPreviousFrame()Z
move-result v0
@ -114,6 +104,16 @@
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

View file

@ -3,18 +3,18 @@
.source "WebPImage.java"
# interfaces
.implements Lf/j/j/a/a/c;
.implements Lf/j/j/a/b/c;
.implements Lf/h/j/a/a/c;
.implements Lf/h/j/a/b/c;
# annotations
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
# instance fields
.field public mNativeContext:J
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
.end field
@ -22,7 +22,7 @@
# direct methods
.method public constructor <init>()V
.locals 0
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
@ -32,7 +32,7 @@
.method public constructor <init>(J)V
.locals 0
.annotation build Lf/j/d/d/c;
.annotation build Lf/h/d/d/c;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
@ -90,88 +90,30 @@
return v0
.end method
.method public a(I)Lf/j/j/a/a/b;
.locals 10
.method public b()I
.locals 1
invoke-virtual {p0, p1}, Lcom/facebook/animated/webp/WebPImage;->b(I)Lcom/facebook/animated/webp/WebPFrame;
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetLoopCount()I
move-result-object v0
move-result v0
:try_start_0
new-instance v9, Lf/j/j/a/a/b;
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->a()I
move-result v3
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->b()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;->c()Z
move-result v1
if-eqz v1, :cond_0
sget-object v1, Lf/j/j/a/a/b$a;->d:Lf/j/j/a/a/b$a;
goto :goto_0
:cond_0
sget-object v1, Lf/j/j/a/a/b$a;->e:Lf/j/j/a/a/b$a;
:goto_0
move-object v7, v1
invoke-virtual {v0}, Lcom/facebook/animated/webp/WebPFrame;->d()Z
move-result v1
if-eqz v1, :cond_1
sget-object v1, Lf/j/j/a/a/b$b;->e:Lf/j/j/a/a/b$b;
goto :goto_1
:cond_1
sget-object v1, Lf/j/j/a/a/b$b;->d:Lf/j/j/a/a/b$b;
:goto_1
move-object v8, v1
move-object v1, v9
move v2, p1
invoke-direct/range {v1 .. v8}, Lf/j/j/a/a/b;-><init>(IIIIILf/j/j/a/a/b$a;Lf/j/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
return v0
.end method
.method public a(JI)Lf/j/j/a/a/c;
.method public c(I)Lf/h/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 d(JI)Lf/h/j/a/a/c;
.locals 3
invoke-static {}, Ls/a/b/b/a;->b()V
invoke-static {}, Lf/h/j/m/c;->a()V
const-wide/16 v0, 0x0
@ -187,7 +129,7 @@
const/4 v0, 0x0
:goto_0
invoke-static {v0}, Ls/a/b/b/a;->a(Z)V
invoke-static {v0}, Ld0/a/b/b/a;->h(Z)V
invoke-static {p1, p2, p3}, Lcom/facebook/animated/webp/WebPImage;->nativeCreateFromNativeMemory(JI)Lcom/facebook/animated/webp/WebPImage;
@ -196,70 +138,6 @@
return-object p1
.end method
.method public a(Ljava/nio/ByteBuffer;)Lf/j/j/a/a/c;
.locals 0
invoke-static {}, Ls/a/b/b/a;->b()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 b()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetLoopCount()I
move-result v0
return v0
.end method
.method public b(I)Lcom/facebook/animated/webp/WebPFrame;
.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 bridge synthetic b(I)Lf/j/j/a/a/d;
.locals 0
invoke-virtual {p0, p1}, Lcom/facebook/animated/webp/WebPImage;->b(I)Lcom/facebook/animated/webp/WebPFrame;
move-result-object p1
return-object p1
.end method
.method public c()[I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetFrameDurations()[I
move-result-object v0
return-object v0
.end method
.method public d()I
.locals 1
invoke-direct {p0}, Lcom/facebook/animated/webp/WebPImage;->nativeGetSizeInBytes()I
move-result v0
return v0
.end method
.method public e()Z
.locals 1
@ -268,6 +146,84 @@
return v0
.end method
.method public f(I)Lf/h/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/h/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/h/j/a/a/b$a;->d:Lf/h/j/a/a/b$a;
goto :goto_0
:cond_0
sget-object v1, Lf/h/j/a/a/b$a;->e:Lf/h/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/h/j/a/a/b$b;->e:Lf/h/j/a/a/b$b;
goto :goto_1
:cond_1
sget-object v1, Lf/h/j/a/a/b$b;->d:Lf/h/j/a/a/b$b;
:goto_1
move-object v8, v1
move-object v1, v9
move v2, p1
invoke-direct/range {v1 .. v8}, Lf/h/j/a/a/b;-><init>(IIIIILf/h/j/a/a/b$a;Lf/h/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
@ -276,6 +232,20 @@
return-void
.end method
.method public g(Ljava/nio/ByteBuffer;)Lf/h/j/a/a/c;
.locals 0
invoke-static {}, Lf/h/j/m/c;->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 getHeight()I
.locals 1
@ -295,3 +265,23 @@
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