Symbol.smali

.class public Lcom/yanzhenjie/zbar/Symbol;
.super Ljava/lang/Object;
.source "Symbol.java"


# instance fields
.field public a:J

.field public b:I


# direct methods
.method public static constructor <clinit>()V
    .registers 1

    const-string v0, "zbar"

    invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V

    invoke-static {}, Lcom/yanzhenjie/zbar/Symbol;->init()V

    return-void
.end method

.method public constructor <init>(J)V
    .registers 3

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-wide p1, p0, Lcom/yanzhenjie/zbar/Symbol;->a:J

    return-void
.end method

.method private native destroy(J)V
.end method

.method private native getComponents(J)J
.end method

.method private native getLocationSize(J)I
.end method

.method private native getLocationX(JI)I
.end method

.method private native getLocationY(JI)I
.end method

.method private native getType(J)I
.end method

.method public static native init()V
.end method


# virtual methods
.method public declared-synchronized a()V
    .registers 6

    monitor-enter p0

    :try_start_1
    iget-wide v0, p0, Lcom/yanzhenjie/zbar/Symbol;->a:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-eqz v4, :cond_10

    iget-wide v0, p0, Lcom/yanzhenjie/zbar/Symbol;->a:J

    invoke-direct {p0, v0, v1}, Lcom/yanzhenjie/zbar/Symbol;->destroy(J)V

    iput-wide v2, p0, Lcom/yanzhenjie/zbar/Symbol;->a:J
    :try_end_10
    .catchall {:try_start_1 .. :try_end_10} :catchall_12

    :cond_10
    monitor-exit p0

    return-void

    :catchall_12
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public b()I
    .registers 3

    iget v0, p0, Lcom/yanzhenjie/zbar/Symbol;->b:I

    if-nez v0, :cond_c

    iget-wide v0, p0, Lcom/yanzhenjie/zbar/Symbol;->a:J

    invoke-direct {p0, v0, v1}, Lcom/yanzhenjie/zbar/Symbol;->getType(J)I

    move-result v0

    iput v0, p0, Lcom/yanzhenjie/zbar/Symbol;->b:I

    :cond_c
    iget v0, p0, Lcom/yanzhenjie/zbar/Symbol;->b:I

    return v0
.end method

.method public finalize()V
    .registers 1

    invoke-virtual {p0}, Lcom/yanzhenjie/zbar/Symbol;->a()V

    return-void
.end method

.method public native getConfigMask()I
.end method

.method public native getCount()I
.end method

.method public native getData()Ljava/lang/String;
.end method

.method public native getDataBytes()[B
.end method

.method public native getModifierMask()I
.end method

.method public native getOrientation()I
.end method

.method public native getQuality()I
.end method

.method public native next()J
.end method