Files
rr3-apk/decompiled/sources/com/google/zxing/pdf417/encoder/BarcodeMatrix.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

41 lines
1.1 KiB
Java

package com.google.zxing.pdf417.encoder;
import java.lang.reflect.Array;
/* loaded from: classes3.dex */
public final class BarcodeMatrix {
public int currentRow;
public final int height;
public final BarcodeRow[] matrix;
public final int width;
public void startRow() {
this.currentRow++;
}
public BarcodeMatrix(int i, int i2) {
BarcodeRow[] barcodeRowArr = new BarcodeRow[i];
this.matrix = barcodeRowArr;
int length = barcodeRowArr.length;
for (int i3 = 0; i3 < length; i3++) {
this.matrix[i3] = new BarcodeRow(((i2 + 4) * 17) + 1);
}
this.width = i2 * 17;
this.height = i;
this.currentRow = -1;
}
public BarcodeRow getCurrentRow() {
return this.matrix[this.currentRow];
}
public byte[][] getScaledMatrix(int i, int i2) {
byte[][] bArr = (byte[][]) Array.newInstance((Class<?>) Byte.TYPE, this.height * i2, this.width * i);
int i3 = this.height * i2;
for (int i4 = 0; i4 < i3; i4++) {
bArr[(i3 - i4) - 1] = this.matrix[i4 / i2].getScaledRow(i);
}
return bArr;
}
}