FinderPattern.smali
.class public final Lcom/google/zxing/oned/rss/FinderPattern;
.super Ljava/lang/Object;
.source "FinderPattern.java"
# instance fields
.field private final resultPoints:[Lcom/google/zxing/ResultPoint;
.field private final startEnd:[I
.field private final value:I
# direct methods
.method public constructor <init>(I[IIII)V
.registers 6
.line 30
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 31
iput p1, p0, Lcom/google/zxing/oned/rss/FinderPattern;->value:I
.line 32
iput-object p2, p0, Lcom/google/zxing/oned/rss/FinderPattern;->startEnd:[I
const/4 p1, 0x2
new-array p1, p1, [Lcom/google/zxing/ResultPoint;
.line 33
new-instance p2, Lcom/google/zxing/ResultPoint;
int-to-float p3, p3
int-to-float p5, p5
invoke-direct {p2, p3, p5}, Lcom/google/zxing/ResultPoint;-><init>(FF)V
const/4 p3, 0x0
aput-object p2, p1, p3
new-instance p2, Lcom/google/zxing/ResultPoint;
int-to-float p3, p4
invoke-direct {p2, p3, p5}, Lcom/google/zxing/ResultPoint;-><init>(FF)V
const/4 p3, 0x1
aput-object p2, p1, p3
iput-object p1, p0, Lcom/google/zxing/oned/rss/FinderPattern;->resultPoints:[Lcom/google/zxing/ResultPoint;
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.registers 4
.line 53
instance-of v0, p1, Lcom/google/zxing/oned/rss/FinderPattern;
const/4 v1, 0x0
if-nez v0, :cond_6
return v1
.line 56
:cond_6
check-cast p1, Lcom/google/zxing/oned/rss/FinderPattern;
.line 57
iget v0, p0, Lcom/google/zxing/oned/rss/FinderPattern;->value:I
iget p1, p1, Lcom/google/zxing/oned/rss/FinderPattern;->value:I
if-ne v0, p1, :cond_10
const/4 p1, 0x1
return p1
:cond_10
return v1
.end method
.method public getResultPoints()[Lcom/google/zxing/ResultPoint;
.registers 2
.line 48
iget-object v0, p0, Lcom/google/zxing/oned/rss/FinderPattern;->resultPoints:[Lcom/google/zxing/ResultPoint;
return-object v0
.end method
.method public getStartEnd()[I
.registers 2
.line 44
iget-object v0, p0, Lcom/google/zxing/oned/rss/FinderPattern;->startEnd:[I
return-object v0
.end method
.method public getValue()I
.registers 2
.line 40
iget v0, p0, Lcom/google/zxing/oned/rss/FinderPattern;->value:I
return v0
.end method
.method public hashCode()I
.registers 2
.line 62
iget v0, p0, Lcom/google/zxing/oned/rss/FinderPattern;->value:I
return v0
.end method