GifFrame.smali
.class public Lcom/facebook/animated/gif/GifFrame;
.super Ljava/lang/Object;
.source "GifFrame.java"
# interfaces
.implements Lcom/facebook/imagepipeline/animated/base/AnimatedImageFrame;
# instance fields
.field private mNativeContext:J
# direct methods
.method constructor <init>(J)V
.registers 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"nativeContext"
}
.end annotation
.line 32
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 33
iput-wide p1, p0, Lcom/facebook/animated/gif/GifFrame;->mNativeContext:J
return-void
.end method
.method private native nativeDispose()V
.end method
.method private native nativeFinalize()V
.end method
.method private native nativeGetDisposalMode()I
.end method
.method private native nativeGetDurationMs()I
.end method
.method private native nativeGetHeight()I
.end method
.method private native nativeGetTransparentPixelColor()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 nativeHasTransparency()Z
.end method
.method private native nativeRenderFrame(IILandroid/graphics/Bitmap;)V
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"width",
"height",
"bitmap"
}
.end annotation
.end method
# virtual methods
.method public dispose()V
.registers 1
.line 43
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeDispose()V
return-void
.end method
.method protected finalize()V
.registers 1
.line 38
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeFinalize()V
return-void
.end method
.method public getDisposalMode()I
.registers 2
.line 85
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetDisposalMode()I
move-result v0
return v0
.end method
.method public getDurationMs()I
.registers 2
.line 53
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetDurationMs()I
move-result v0
return v0
.end method
.method public getHeight()I
.registers 2
.line 63
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetHeight()I
move-result v0
return v0
.end method
.method public getTransparentPixelColor()I
.registers 2
.line 81
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetTransparentPixelColor()I
move-result v0
return v0
.end method
.method public getWidth()I
.registers 2
.line 58
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetWidth()I
move-result v0
return v0
.end method
.method public getXOffset()I
.registers 2
.line 68
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetXOffset()I
move-result v0
return v0
.end method
.method public getYOffset()I
.registers 2
.line 73
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeGetYOffset()I
move-result v0
return v0
.end method
.method public hasTransparency()Z
.registers 2
.line 77
invoke-direct {p0}, Lcom/facebook/animated/gif/GifFrame;->nativeHasTransparency()Z
move-result v0
return v0
.end method
.method public renderFrame(IILandroid/graphics/Bitmap;)V
.registers 4
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"width",
"height",
"bitmap"
}
.end annotation
.line 48
invoke-direct {p0, p1, p2, p3}, Lcom/facebook/animated/gif/GifFrame;->nativeRenderFrame(IILandroid/graphics/Bitmap;)V
return-void
.end method