InterpolatorType.smali
.class final enum Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
.super Ljava/lang/Enum;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
.field public static final enum EASE_IN:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
.field public static final enum EASE_IN_EASE_OUT:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
.field public static final enum EASE_OUT:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
.field public static final enum LINEAR:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
.field public static final enum SPRING:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
# direct methods
.method public static constructor <clinit>()V
.registers 11
.line 1
new-instance v0, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
const-string v1, "LINEAR"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;->LINEAR:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
.line 2
new-instance v1, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
const-string v3, "EASE_IN"
const/4 v4, 0x1
invoke-direct {v1, v3, v4}, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;-><init>(Ljava/lang/String;I)V
sput-object v1, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;->EASE_IN:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
.line 3
new-instance v3, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
const-string v5, "EASE_OUT"
const/4 v6, 0x2
invoke-direct {v3, v5, v6}, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;-><init>(Ljava/lang/String;I)V
sput-object v3, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;->EASE_OUT:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
.line 4
new-instance v5, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
const-string v7, "EASE_IN_EASE_OUT"
const/4 v8, 0x3
invoke-direct {v5, v7, v8}, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;-><init>(Ljava/lang/String;I)V
sput-object v5, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;->EASE_IN_EASE_OUT:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
.line 5
new-instance v7, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
const-string v9, "SPRING"
const/4 v10, 0x4
invoke-direct {v7, v9, v10}, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;-><init>(Ljava/lang/String;I)V
sput-object v7, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;->SPRING:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
const/4 v9, 0x5
new-array v9, v9, [Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
aput-object v0, v9, v2
aput-object v1, v9, v4
aput-object v3, v9, v6
aput-object v5, v9, v8
aput-object v7, v9, v10
.line 6
sput-object v9, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;->$VALUES:[Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static fromString(Ljava/lang/String;)Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
.registers 4
.line 1
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
invoke-virtual {p0, v0}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
const/4 v1, -0x1
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v2
sparse-switch v2, :sswitch_data_6a
goto :goto_4b
:sswitch_15
const-string v2, "easeineaseout"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_1e
goto :goto_4b
:cond_1e
const/4 v1, 0x4
goto :goto_4b
:sswitch_20
const-string v2, "spring"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_29
goto :goto_4b
:cond_29
const/4 v1, 0x3
goto :goto_4b
:sswitch_2b
const-string v2, "linear"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_34
goto :goto_4b
:cond_34
const/4 v1, 0x2
goto :goto_4b
:sswitch_36
const-string v2, "easein"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_3f
goto :goto_4b
:cond_3f
const/4 v1, 0x1
goto :goto_4b
:sswitch_41
const-string v2, "easeout"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_4a
goto :goto_4b
:cond_4a
const/4 v1, 0x0
:goto_4b
packed-switch v1, :pswitch_data_80
.line 2
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Unsupported interpolation type : "
.line 3
invoke-static {v1, p0}, Landroidx/appcompat/e;->g(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
.line 4
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.line 5
:pswitch_5a
sget-object p0, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;->EASE_IN_EASE_OUT:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
return-object p0
.line 6
:pswitch_5d
sget-object p0, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;->SPRING:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
return-object p0
.line 7
:pswitch_60
sget-object p0, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;->LINEAR:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
return-object p0
.line 8
:pswitch_63
sget-object p0, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;->EASE_IN:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
return-object p0
.line 9
:pswitch_66
sget-object p0, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;->EASE_OUT:Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
return-object p0
nop
:sswitch_data_6a
.sparse-switch
-0x75206360 -> :sswitch_41
-0x4e19d26d -> :sswitch_36
-0x41b970db -> :sswitch_2b
-0x3562fdf3 -> :sswitch_20
0x456993ad -> :sswitch_15
.end sparse-switch
:pswitch_data_80
.packed-switch 0x0
:pswitch_66
:pswitch_63
:pswitch_60
:pswitch_5d
:pswitch_5a
.end packed-switch
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
.registers 2
const-class v0, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
return-object p0
.end method
.method public static values()[Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
.registers 1
sget-object v0, Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;->$VALUES:[Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
invoke-virtual {v0}, [Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/facebook/react/uimanager/layoutanimation/InterpolatorType;
return-object v0
.end method