DimensionStatus.smali
.class public Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.super Ljava/lang/Object;
.source "DimensionStatus.java"
# static fields
.field public static final CodeExact:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.field public static final CodeExactUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.field public static final DeadLock:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.field public static final DeadLockUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.field public static final Default:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.field public static final DefaultUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.field public static final XmlExact:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.field public static final XmlExactUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.field public static final XmlLayout:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.field public static final XmlLayoutUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.field public static final XmlWrap:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.field public static final XmlWrapUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.field public static final values:[Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
# instance fields
.field public final notified:Z
.field public final ordinal:I
# direct methods
.method static constructor <clinit>()V
.registers 14
.line 10
new-instance v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
const/4 v1, 0x0
invoke-direct {v0, v1, v1}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;-><init>(IZ)V
sput-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->DefaultUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.line 11
new-instance v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
const/4 v2, 0x1
invoke-direct {v0, v2, v2}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;-><init>(IZ)V
sput-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->Default:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.line 12
new-instance v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
const/4 v3, 0x2
invoke-direct {v0, v3, v1}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;-><init>(IZ)V
sput-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->XmlWrapUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.line 13
new-instance v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
const/4 v4, 0x3
invoke-direct {v0, v4, v2}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;-><init>(IZ)V
sput-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->XmlWrap:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.line 14
new-instance v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
const/4 v5, 0x4
invoke-direct {v0, v5, v1}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;-><init>(IZ)V
sput-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->XmlExactUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.line 15
new-instance v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
const/4 v6, 0x5
invoke-direct {v0, v6, v2}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;-><init>(IZ)V
sput-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->XmlExact:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.line 16
new-instance v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
const/4 v7, 0x6
invoke-direct {v0, v7, v1}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;-><init>(IZ)V
sput-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->XmlLayoutUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.line 17
new-instance v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
const/4 v8, 0x7
invoke-direct {v0, v8, v2}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;-><init>(IZ)V
sput-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->XmlLayout:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.line 18
new-instance v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
const/16 v9, 0x8
invoke-direct {v0, v9, v1}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;-><init>(IZ)V
sput-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->CodeExactUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.line 19
new-instance v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
const/16 v10, 0x9
invoke-direct {v0, v10, v2}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;-><init>(IZ)V
sput-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->CodeExact:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.line 20
new-instance v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
const/16 v11, 0xa
invoke-direct {v0, v11, v1}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;-><init>(IZ)V
sput-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->DeadLockUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.line 21
new-instance v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
invoke-direct {v0, v11, v2}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;-><init>(IZ)V
sput-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->DeadLock:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.line 26
const/16 v12, 0xc
new-array v12, v12, [Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
sget-object v13, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->DefaultUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
aput-object v13, v12, v1
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->Default:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
aput-object v1, v12, v2
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->XmlWrapUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
aput-object v1, v12, v3
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->XmlWrap:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
aput-object v1, v12, v4
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->XmlExactUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
aput-object v1, v12, v5
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->XmlExact:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
aput-object v1, v12, v6
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->XmlLayoutUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
aput-object v1, v12, v7
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->XmlLayout:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
aput-object v1, v12, v8
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->CodeExactUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
aput-object v1, v12, v9
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->CodeExact:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
aput-object v1, v12, v10
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->DeadLockUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
aput-object v1, v12, v11
const/16 v1, 0xb
aput-object v0, v12, v1
sput-object v12, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->values:[Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
return-void
.end method
.method private constructor <init>(IZ)V
.registers 3
.param p1, "ordinal" # I
.param p2, "notified" # Z
.line 41
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 42
iput p1, p0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->ordinal:I
.line 43
iput-boolean p2, p0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->notified:Z
.line 44
return-void
.end method
# virtual methods
.method public canReplaceWith(Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;)Z
.registers 4
.param p1, "status" # Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.line 78
iget v0, p0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->ordinal:I
iget v1, p1, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->ordinal:I
if-lt v0, v1, :cond_17
iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->notified:Z
if-eqz v0, :cond_e
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->CodeExact:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
if-ne v0, p0, :cond_15
:cond_e
iget v0, p0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->ordinal:I
iget v1, p1, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->ordinal:I
if-ne v0, v1, :cond_15
goto :goto_17
:cond_15
const/4 v0, 0x0
goto :goto_18
:cond_17
:goto_17
const/4 v0, 0x1
:goto_18
return v0
.end method
.method public notified()Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.registers 3
.line 66
iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->notified:Z
if-nez v0, :cond_d
.line 67
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->values:[Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
iget v1, p0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->ordinal:I
add-int/lit8 v1, v1, 0x1
aget-object v0, v0, v1
return-object v0
.line 69
:cond_d
return-object p0
.end method
.method public unNotify()Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
.registers 3
.line 51
iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->notified:Z
if-eqz v0, :cond_14
.line 52
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->values:[Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
iget v1, p0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->ordinal:I
add-int/lit8 v1, v1, -0x1
aget-object v0, v0, v1
.line 53
.local v0, "prev":Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
iget-boolean v1, v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->notified:Z
if-nez v1, :cond_11
.line 54
return-object v0
.line 56
:cond_11
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->DefaultUnNotify:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
return-object v1
.line 58
.end local v0 # "prev":Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;
:cond_14
return-object p0
.end method