129 lines
2.5 KiB
Smali
129 lines
2.5 KiB
Smali
.class public Lcom/facebook/animated/webp/WebPFrame;
|
|
.super Ljava/lang/Object;
|
|
.source "WebPFrame.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/facebook/imagepipeline/animated/a/d;
|
|
|
|
|
|
# annotations
|
|
.annotation build Ljavax/annotation/concurrent/ThreadSafe;
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private mNativeContext:J
|
|
.annotation build Lcom/facebook/common/d/d;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(J)V
|
|
.locals 0
|
|
.annotation build Lcom/facebook/common/d/d;
|
|
.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 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 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 public final getXOffset()I
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetXOffset()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getYOffset()I
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/facebook/animated/webp/WebPFrame;->nativeGetYOffset()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
|