143 lines
2.7 KiB
Smali
143 lines
2.7 KiB
Smali
.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
|