- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
41 lines
1.1 KiB
Java
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;
|
|
}
|
|
}
|