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