- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
1085 lines
22 KiB
Smali
1085 lines
22 KiB
Smali
.class public Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field public static final PROD_SYMBOLS:[Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
.field public static symbols:[Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
|
|
# instance fields
|
|
.field public final dataCapacity:I
|
|
|
|
.field public final dataRegions:I
|
|
|
|
.field public final errorCodewords:I
|
|
|
|
.field public final matrixHeight:I
|
|
|
|
.field public final matrixWidth:I
|
|
|
|
.field public final rectangular:Z
|
|
|
|
.field public final rsBlockData:I
|
|
|
|
.field public final rsBlockError:I
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 16
|
|
|
|
const/16 v0, 0x1e
|
|
|
|
new-array v0, v0, [Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
.line 28
|
|
new-instance v8, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x3
|
|
|
|
const/4 v4, 0x5
|
|
|
|
const/16 v5, 0x8
|
|
|
|
const/16 v6, 0x8
|
|
|
|
const/4 v7, 0x1
|
|
|
|
move-object v1, v8
|
|
|
|
invoke-direct/range {v1 .. v7}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
aput-object v8, v0, v1
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/4 v10, 0x0
|
|
|
|
const/4 v11, 0x5
|
|
|
|
const/4 v12, 0x7
|
|
|
|
const/16 v13, 0xa
|
|
|
|
const/16 v14, 0xa
|
|
|
|
const/4 v15, 0x1
|
|
|
|
move-object v9, v1
|
|
|
|
invoke-direct/range {v9 .. v15}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/4 v4, 0x1
|
|
|
|
const/4 v5, 0x5
|
|
|
|
const/4 v6, 0x7
|
|
|
|
const/16 v7, 0x10
|
|
|
|
const/4 v8, 0x6
|
|
|
|
const/4 v9, 0x1
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/4 v2, 0x2
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/16 v5, 0x8
|
|
|
|
const/16 v6, 0xa
|
|
|
|
const/16 v7, 0xc
|
|
|
|
const/16 v8, 0xc
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/4 v2, 0x3
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/4 v4, 0x1
|
|
|
|
const/16 v5, 0xa
|
|
|
|
const/16 v6, 0xb
|
|
|
|
const/16 v7, 0xe
|
|
|
|
const/4 v8, 0x6
|
|
|
|
const/4 v9, 0x2
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/4 v2, 0x4
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/16 v5, 0xc
|
|
|
|
const/16 v6, 0xc
|
|
|
|
const/16 v8, 0xe
|
|
|
|
const/4 v9, 0x1
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/4 v2, 0x5
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/4 v4, 0x1
|
|
|
|
const/16 v5, 0x10
|
|
|
|
const/16 v6, 0xe
|
|
|
|
const/16 v7, 0x18
|
|
|
|
const/16 v8, 0xa
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/4 v2, 0x6
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/16 v5, 0x12
|
|
|
|
const/16 v7, 0x10
|
|
|
|
const/16 v8, 0x10
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/4 v2, 0x7
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0x16
|
|
|
|
const/16 v6, 0x12
|
|
|
|
const/16 v7, 0x12
|
|
|
|
const/16 v8, 0x12
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/16 v2, 0x8
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/4 v4, 0x1
|
|
|
|
const/16 v7, 0x10
|
|
|
|
const/16 v8, 0xa
|
|
|
|
const/4 v9, 0x2
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/16 v2, 0x9
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/16 v5, 0x1e
|
|
|
|
const/16 v6, 0x14
|
|
|
|
const/16 v7, 0x14
|
|
|
|
const/16 v8, 0x14
|
|
|
|
const/4 v9, 0x1
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/16 v2, 0xa
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/4 v4, 0x1
|
|
|
|
const/16 v5, 0x20
|
|
|
|
const/16 v6, 0x18
|
|
|
|
const/16 v7, 0x10
|
|
|
|
const/16 v8, 0xe
|
|
|
|
const/4 v9, 0x2
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/16 v2, 0xb
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/16 v5, 0x24
|
|
|
|
const/16 v7, 0x16
|
|
|
|
const/16 v8, 0x16
|
|
|
|
const/4 v9, 0x1
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/16 v2, 0xc
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0x2c
|
|
|
|
const/16 v6, 0x1c
|
|
|
|
const/16 v7, 0x18
|
|
|
|
const/16 v8, 0x18
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/16 v2, 0xd
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/4 v4, 0x1
|
|
|
|
const/16 v5, 0x31
|
|
|
|
const/16 v7, 0x16
|
|
|
|
const/16 v8, 0xe
|
|
|
|
const/4 v9, 0x2
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/16 v2, 0xe
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/16 v5, 0x3e
|
|
|
|
const/16 v6, 0x24
|
|
|
|
const/16 v7, 0xe
|
|
|
|
const/4 v9, 0x4
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/16 v2, 0xf
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0x56
|
|
|
|
const/16 v6, 0x2a
|
|
|
|
const/16 v7, 0x10
|
|
|
|
const/16 v8, 0x10
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/16 v2, 0x10
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0x72
|
|
|
|
const/16 v6, 0x30
|
|
|
|
const/16 v7, 0x12
|
|
|
|
const/16 v8, 0x12
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/16 v2, 0x11
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0x90
|
|
|
|
const/16 v6, 0x38
|
|
|
|
const/16 v7, 0x14
|
|
|
|
const/16 v8, 0x14
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/16 v2, 0x12
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0xae
|
|
|
|
const/16 v6, 0x44
|
|
|
|
const/16 v7, 0x16
|
|
|
|
const/16 v8, 0x16
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIII)V
|
|
|
|
const/16 v2, 0x13
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0xcc
|
|
|
|
const/16 v6, 0x54
|
|
|
|
const/16 v7, 0x18
|
|
|
|
const/16 v8, 0x18
|
|
|
|
const/16 v10, 0x66
|
|
|
|
const/16 v11, 0x2a
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v11}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIIIII)V
|
|
|
|
const/16 v2, 0x14
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0x118
|
|
|
|
const/16 v6, 0x70
|
|
|
|
const/16 v7, 0xe
|
|
|
|
const/16 v8, 0xe
|
|
|
|
const/16 v9, 0x10
|
|
|
|
const/16 v10, 0x8c
|
|
|
|
const/16 v11, 0x38
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v11}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIIIII)V
|
|
|
|
const/16 v2, 0x15
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0x170
|
|
|
|
const/16 v6, 0x90
|
|
|
|
const/16 v7, 0x10
|
|
|
|
const/16 v8, 0x10
|
|
|
|
const/16 v10, 0x5c
|
|
|
|
const/16 v11, 0x24
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v11}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIIIII)V
|
|
|
|
const/16 v2, 0x16
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0x1c8
|
|
|
|
const/16 v6, 0xc0
|
|
|
|
const/16 v7, 0x12
|
|
|
|
const/16 v8, 0x12
|
|
|
|
const/16 v10, 0x72
|
|
|
|
const/16 v11, 0x30
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v11}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIIIII)V
|
|
|
|
const/16 v2, 0x17
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0x240
|
|
|
|
const/16 v6, 0xe0
|
|
|
|
const/16 v7, 0x14
|
|
|
|
const/16 v8, 0x14
|
|
|
|
const/16 v10, 0x90
|
|
|
|
const/16 v11, 0x38
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v11}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIIIII)V
|
|
|
|
const/16 v2, 0x18
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0x2b8
|
|
|
|
const/16 v6, 0x110
|
|
|
|
const/16 v7, 0x16
|
|
|
|
const/16 v8, 0x16
|
|
|
|
const/16 v10, 0xae
|
|
|
|
const/16 v11, 0x44
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v11}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIIIII)V
|
|
|
|
const/16 v2, 0x19
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0x330
|
|
|
|
const/16 v6, 0x150
|
|
|
|
const/16 v7, 0x18
|
|
|
|
const/16 v8, 0x18
|
|
|
|
const/16 v10, 0x88
|
|
|
|
const/16 v11, 0x38
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v11}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIIIII)V
|
|
|
|
const/16 v2, 0x1a
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0x41a
|
|
|
|
const/16 v6, 0x198
|
|
|
|
const/16 v7, 0x12
|
|
|
|
const/16 v8, 0x12
|
|
|
|
const/16 v9, 0x24
|
|
|
|
const/16 v10, 0xaf
|
|
|
|
const/16 v11, 0x44
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v11}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIIIII)V
|
|
|
|
const/16 v2, 0x1b
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
const/16 v5, 0x518
|
|
|
|
const/16 v6, 0x1f0
|
|
|
|
const/16 v7, 0x14
|
|
|
|
const/16 v8, 0x14
|
|
|
|
const/16 v10, 0xa3
|
|
|
|
const/16 v11, 0x3e
|
|
|
|
move-object v3, v1
|
|
|
|
invoke-direct/range {v3 .. v11}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIIIII)V
|
|
|
|
const/16 v2, 0x1c
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/google/zxing/datamatrix/encoder/DataMatrixSymbolInfo144;
|
|
|
|
invoke-direct {v1}, Lcom/google/zxing/datamatrix/encoder/DataMatrixSymbolInfo144;-><init>()V
|
|
|
|
const/16 v2, 0x1d
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sput-object v0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->PROD_SYMBOLS:[Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
sput-object v0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->symbols:[Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(ZIIIII)V
|
|
.locals 9
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v3, p3
|
|
|
|
move v4, p4
|
|
|
|
move v5, p5
|
|
|
|
move v6, p6
|
|
|
|
move v7, p2
|
|
|
|
move v8, p3
|
|
|
|
.line 86
|
|
invoke-direct/range {v0 .. v8}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;-><init>(ZIIIIIII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(ZIIIIIII)V
|
|
.locals 0
|
|
|
|
.line 92
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-boolean p1, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->rectangular:Z
|
|
|
|
iput p2, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->dataCapacity:I
|
|
|
|
iput p3, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->errorCodewords:I
|
|
|
|
iput p4, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->matrixWidth:I
|
|
|
|
iput p5, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->matrixHeight:I
|
|
|
|
iput p6, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->dataRegions:I
|
|
|
|
iput p7, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->rsBlockData:I
|
|
|
|
iput p8, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->rsBlockError:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static lookup(ILcom/google/zxing/datamatrix/encoder/SymbolShapeHint;Lcom/google/zxing/Dimension;Lcom/google/zxing/Dimension;Z)Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
.locals 3
|
|
|
|
sget-object p2, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->symbols:[Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
|
|
|
|
.line 126
|
|
array-length p3, p2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-ge v0, p3, :cond_3
|
|
|
|
aget-object v1, p2, v0
|
|
|
|
.line 127
|
|
sget-object v2, Lcom/google/zxing/datamatrix/encoder/SymbolShapeHint;->FORCE_SQUARE:Lcom/google/zxing/datamatrix/encoder/SymbolShapeHint;
|
|
|
|
if-ne p1, v2, :cond_0
|
|
|
|
iget-boolean v2, v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->rectangular:Z
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
.line 130
|
|
:cond_0
|
|
sget-object v2, Lcom/google/zxing/datamatrix/encoder/SymbolShapeHint;->FORCE_RECTANGLE:Lcom/google/zxing/datamatrix/encoder/SymbolShapeHint;
|
|
|
|
if-ne p1, v2, :cond_1
|
|
|
|
iget-boolean v2, v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->rectangular:Z
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 143
|
|
:cond_1
|
|
iget v2, v1, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->dataCapacity:I
|
|
|
|
if-gt p0, v2, :cond_2
|
|
|
|
return-object v1
|
|
|
|
:cond_2
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
if-nez p4, :cond_4
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 148
|
|
:cond_4
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "Can\'t find a symbol arrangement that matches the message. Data codewords: "
|
|
|
|
invoke-static {p0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p2, p0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getDataCapacity()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->dataCapacity:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getDataLengthForInterleavedBlock(I)I
|
|
.locals 0
|
|
|
|
iget p1, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->rsBlockData:I
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final getErrorCodewords()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->errorCodewords:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getErrorLengthForInterleavedBlock(I)I
|
|
.locals 0
|
|
|
|
iget p1, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->rsBlockError:I
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final getHorizontalDataRegions()I
|
|
.locals 3
|
|
|
|
iget v0, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->dataRegions:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
const/4 v1, 0x2
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
const/4 v2, 0x4
|
|
|
|
if-eq v0, v2, :cond_2
|
|
|
|
const/16 v1, 0x10
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
const/16 v1, 0x24
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x6
|
|
|
|
return v0
|
|
|
|
.line 167
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v1, "Cannot handle this number of data regions"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
return v2
|
|
|
|
:cond_2
|
|
return v1
|
|
.end method
|
|
|
|
.method public getInterleavedBlockCount()I
|
|
.locals 2
|
|
|
|
iget v0, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->dataCapacity:I
|
|
|
|
iget v1, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->rsBlockData:I
|
|
|
|
.line 208
|
|
div-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getSymbolDataHeight()I
|
|
.locals 2
|
|
|
|
.line 192
|
|
invoke-virtual {p0}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getVerticalDataRegions()I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->matrixHeight:I
|
|
|
|
mul-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getSymbolDataWidth()I
|
|
.locals 2
|
|
|
|
.line 188
|
|
invoke-virtual {p0}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getHorizontalDataRegions()I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->matrixWidth:I
|
|
|
|
mul-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getSymbolHeight()I
|
|
.locals 2
|
|
|
|
.line 200
|
|
invoke-virtual {p0}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getSymbolDataHeight()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getVerticalDataRegions()I
|
|
|
|
move-result v1
|
|
|
|
shl-int/lit8 v1, v1, 0x1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getSymbolWidth()I
|
|
.locals 2
|
|
|
|
.line 196
|
|
invoke-virtual {p0}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getSymbolDataWidth()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getHorizontalDataRegions()I
|
|
|
|
move-result v1
|
|
|
|
shl-int/lit8 v1, v1, 0x1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getVerticalDataRegions()I
|
|
.locals 3
|
|
|
|
iget v0, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->dataRegions:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eq v0, v1, :cond_3
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-eq v0, v2, :cond_3
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
const/16 v2, 0x10
|
|
|
|
if-eq v0, v2, :cond_1
|
|
|
|
const/16 v1, 0x24
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x6
|
|
|
|
return v0
|
|
|
|
.line 183
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v1, "Cannot handle this number of data regions"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
return v1
|
|
|
|
:cond_2
|
|
return v2
|
|
|
|
:cond_3
|
|
return v1
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
.line 229
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget-boolean v1, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->rectangular:Z
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const-string v1, "Rectangular Symbol:"
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string v1, "Square Symbol:"
|
|
|
|
:goto_0
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, " data region "
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->matrixWidth:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x78
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
iget v2, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->matrixHeight:I
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, ", symbol size "
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 231
|
|
invoke-virtual {p0}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getSymbolWidth()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getSymbolHeight()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, ", symbol data size "
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 232
|
|
invoke-virtual {p0}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getSymbolDataWidth()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getSymbolDataHeight()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", codewords "
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->dataCapacity:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x2b
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->errorCodewords:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|