.class public final Lcom/google/zxing/pdf417/encoder/BarcodeRow; .super Ljava/lang/Object; .source "SourceFile" # instance fields .field public currentLocation:I .field public final row:[B # direct methods .method public constructor (I)V .locals 0 .line 31 invoke-direct {p0}, Ljava/lang/Object;->()V .line 32 new-array p1, p1, [B iput-object p1, p0, Lcom/google/zxing/pdf417/encoder/BarcodeRow;->row:[B const/4 p1, 0x0 iput p1, p0, Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I return-void .end method # virtual methods .method public addBar(ZI)V .locals 3 const/4 v0, 0x0 :goto_0 if-ge v0, p2, :cond_0 iget v1, p0, Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I add-int/lit8 v2, v1, 0x1 iput v2, p0, Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I .line 62 invoke-virtual {p0, v1, p1}, Lcom/google/zxing/pdf417/encoder/BarcodeRow;->set(IZ)V add-int/lit8 v0, v0, 0x1 goto :goto_0 :cond_0 return-void .end method .method public getScaledRow(I)[B .locals 5 iget-object v0, p0, Lcom/google/zxing/pdf417/encoder/BarcodeRow;->row:[B .line 79 array-length v0, v0 mul-int/2addr v0, p1 new-array v1, v0, [B const/4 v2, 0x0 :goto_0 if-ge v2, v0, :cond_0 iget-object v3, p0, Lcom/google/zxing/pdf417/encoder/BarcodeRow;->row:[B .line 81 div-int v4, v2, p1 aget-byte v3, v3, v4 aput-byte v3, v1, v2 add-int/lit8 v2, v2, 0x1 goto :goto_0 :cond_0 return-object v1 .end method .method public final set(IZ)V .locals 1 iget-object v0, p0, Lcom/google/zxing/pdf417/encoder/BarcodeRow;->row:[B int-to-byte p2, p2 .line 53 aput-byte p2, v0, p1 return-void .end method