BarcodeFormat.smali
.class public final enum Lcom/google/zxing/BarcodeFormat;
.super Ljava/lang/Enum;
.source "BarcodeFormat.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/google/zxing/BarcodeFormat;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/google/zxing/BarcodeFormat;
.field public static final enum AZTEC:Lcom/google/zxing/BarcodeFormat;
.field public static final enum CODABAR:Lcom/google/zxing/BarcodeFormat;
.field public static final enum CODE_128:Lcom/google/zxing/BarcodeFormat;
.field public static final enum CODE_39:Lcom/google/zxing/BarcodeFormat;
.field public static final enum CODE_93:Lcom/google/zxing/BarcodeFormat;
.field public static final enum DATA_MATRIX:Lcom/google/zxing/BarcodeFormat;
.field public static final enum EAN_13:Lcom/google/zxing/BarcodeFormat;
.field public static final enum EAN_8:Lcom/google/zxing/BarcodeFormat;
.field public static final enum ITF:Lcom/google/zxing/BarcodeFormat;
.field public static final enum MAXICODE:Lcom/google/zxing/BarcodeFormat;
.field public static final enum PDF_417:Lcom/google/zxing/BarcodeFormat;
.field public static final enum QR_CODE:Lcom/google/zxing/BarcodeFormat;
.field public static final enum RSS_14:Lcom/google/zxing/BarcodeFormat;
.field public static final enum RSS_EXPANDED:Lcom/google/zxing/BarcodeFormat;
.field public static final enum UPC_A:Lcom/google/zxing/BarcodeFormat;
.field public static final enum UPC_E:Lcom/google/zxing/BarcodeFormat;
.field public static final enum UPC_EAN_EXTENSION:Lcom/google/zxing/BarcodeFormat;
# direct methods
.method static constructor <clinit>()V
.registers 17
.line 27
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/4 v1, 0x0
const-string v2, "AZTEC"
invoke-direct {v0, v2, v1}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->AZTEC:Lcom/google/zxing/BarcodeFormat;
.line 30
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/4 v2, 0x1
const-string v3, "CODABAR"
invoke-direct {v0, v3, v2}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->CODABAR:Lcom/google/zxing/BarcodeFormat;
.line 33
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/4 v3, 0x2
const-string v4, "CODE_39"
invoke-direct {v0, v4, v3}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->CODE_39:Lcom/google/zxing/BarcodeFormat;
.line 36
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/4 v4, 0x3
const-string v5, "CODE_93"
invoke-direct {v0, v5, v4}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->CODE_93:Lcom/google/zxing/BarcodeFormat;
.line 39
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/4 v5, 0x4
const-string v6, "CODE_128"
invoke-direct {v0, v6, v5}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->CODE_128:Lcom/google/zxing/BarcodeFormat;
.line 42
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/4 v6, 0x5
const-string v7, "DATA_MATRIX"
invoke-direct {v0, v7, v6}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->DATA_MATRIX:Lcom/google/zxing/BarcodeFormat;
.line 45
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/4 v7, 0x6
const-string v8, "EAN_8"
invoke-direct {v0, v8, v7}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->EAN_8:Lcom/google/zxing/BarcodeFormat;
.line 48
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/4 v8, 0x7
const-string v9, "EAN_13"
invoke-direct {v0, v9, v8}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->EAN_13:Lcom/google/zxing/BarcodeFormat;
.line 51
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/16 v9, 0x8
const-string v10, "ITF"
invoke-direct {v0, v10, v9}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->ITF:Lcom/google/zxing/BarcodeFormat;
.line 54
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/16 v10, 0x9
const-string v11, "MAXICODE"
invoke-direct {v0, v11, v10}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->MAXICODE:Lcom/google/zxing/BarcodeFormat;
.line 57
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/16 v11, 0xa
const-string v12, "PDF_417"
invoke-direct {v0, v12, v11}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->PDF_417:Lcom/google/zxing/BarcodeFormat;
.line 60
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/16 v12, 0xb
const-string v13, "QR_CODE"
invoke-direct {v0, v13, v12}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->QR_CODE:Lcom/google/zxing/BarcodeFormat;
.line 63
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/16 v13, 0xc
const-string v14, "RSS_14"
invoke-direct {v0, v14, v13}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->RSS_14:Lcom/google/zxing/BarcodeFormat;
.line 66
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/16 v14, 0xd
const-string v15, "RSS_EXPANDED"
invoke-direct {v0, v15, v14}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->RSS_EXPANDED:Lcom/google/zxing/BarcodeFormat;
.line 69
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/16 v15, 0xe
const-string v14, "UPC_A"
invoke-direct {v0, v14, v15}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->UPC_A:Lcom/google/zxing/BarcodeFormat;
.line 72
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/16 v14, 0xf
const-string v15, "UPC_E"
invoke-direct {v0, v15, v14}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->UPC_E:Lcom/google/zxing/BarcodeFormat;
.line 75
new-instance v0, Lcom/google/zxing/BarcodeFormat;
const/16 v15, 0x10
const-string v14, "UPC_EAN_EXTENSION"
invoke-direct {v0, v14, v15}, Lcom/google/zxing/BarcodeFormat;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/zxing/BarcodeFormat;->UPC_EAN_EXTENSION:Lcom/google/zxing/BarcodeFormat;
.line 24
const/16 v14, 0x11
new-array v14, v14, [Lcom/google/zxing/BarcodeFormat;
sget-object v16, Lcom/google/zxing/BarcodeFormat;->AZTEC:Lcom/google/zxing/BarcodeFormat;
aput-object v16, v14, v1
sget-object v1, Lcom/google/zxing/BarcodeFormat;->CODABAR:Lcom/google/zxing/BarcodeFormat;
aput-object v1, v14, v2
sget-object v1, Lcom/google/zxing/BarcodeFormat;->CODE_39:Lcom/google/zxing/BarcodeFormat;
aput-object v1, v14, v3
sget-object v1, Lcom/google/zxing/BarcodeFormat;->CODE_93:Lcom/google/zxing/BarcodeFormat;
aput-object v1, v14, v4
sget-object v1, Lcom/google/zxing/BarcodeFormat;->CODE_128:Lcom/google/zxing/BarcodeFormat;
aput-object v1, v14, v5
sget-object v1, Lcom/google/zxing/BarcodeFormat;->DATA_MATRIX:Lcom/google/zxing/BarcodeFormat;
aput-object v1, v14, v6
sget-object v1, Lcom/google/zxing/BarcodeFormat;->EAN_8:Lcom/google/zxing/BarcodeFormat;
aput-object v1, v14, v7
sget-object v1, Lcom/google/zxing/BarcodeFormat;->EAN_13:Lcom/google/zxing/BarcodeFormat;
aput-object v1, v14, v8
sget-object v1, Lcom/google/zxing/BarcodeFormat;->ITF:Lcom/google/zxing/BarcodeFormat;
aput-object v1, v14, v9
sget-object v1, Lcom/google/zxing/BarcodeFormat;->MAXICODE:Lcom/google/zxing/BarcodeFormat;
aput-object v1, v14, v10
sget-object v1, Lcom/google/zxing/BarcodeFormat;->PDF_417:Lcom/google/zxing/BarcodeFormat;
aput-object v1, v14, v11
sget-object v1, Lcom/google/zxing/BarcodeFormat;->QR_CODE:Lcom/google/zxing/BarcodeFormat;
aput-object v1, v14, v12
sget-object v1, Lcom/google/zxing/BarcodeFormat;->RSS_14:Lcom/google/zxing/BarcodeFormat;
aput-object v1, v14, v13
sget-object v1, Lcom/google/zxing/BarcodeFormat;->RSS_EXPANDED:Lcom/google/zxing/BarcodeFormat;
const/16 v2, 0xd
aput-object v1, v14, v2
sget-object v1, Lcom/google/zxing/BarcodeFormat;->UPC_A:Lcom/google/zxing/BarcodeFormat;
const/16 v2, 0xe
aput-object v1, v14, v2
sget-object v1, Lcom/google/zxing/BarcodeFormat;->UPC_E:Lcom/google/zxing/BarcodeFormat;
const/16 v2, 0xf
aput-object v1, v14, v2
aput-object v0, v14, v15
sput-object v14, Lcom/google/zxing/BarcodeFormat;->$VALUES:[Lcom/google/zxing/BarcodeFormat;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 24
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/google/zxing/BarcodeFormat;
.registers 2
.param p0, "name" # Ljava/lang/String;
.line 24
const-class v0, Lcom/google/zxing/BarcodeFormat;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object v0
check-cast v0, Lcom/google/zxing/BarcodeFormat;
return-object v0
.end method
.method public static values()[Lcom/google/zxing/BarcodeFormat;
.registers 1
.line 24
sget-object v0, Lcom/google/zxing/BarcodeFormat;->$VALUES:[Lcom/google/zxing/BarcodeFormat;
invoke-virtual {v0}, [Lcom/google/zxing/BarcodeFormat;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/google/zxing/BarcodeFormat;
return-object v0
.end method