ShapeTrimPath$Type.smali
.class public final enum Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
.super Ljava/lang/Enum;
.source "ShapeTrimPath.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/airbnb/lottie/model/content/ShapeTrimPath;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "Type"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;",
">;"
}
.end annotation
# static fields
.field public static final synthetic $VALUES:[Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
.field public static final enum INDIVIDUALLY:Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
.field public static final enum SIMULTANEOUSLY:Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
# direct methods
.method public static constructor <clinit>()V
.registers 5
new-instance v0, Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
const/4 v1, 0x0
const-string v2, "SIMULTANEOUSLY"
invoke-direct {v0, v2, v1}, Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;->SIMULTANEOUSLY:Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
new-instance v0, Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
const/4 v2, 0x1
const-string v3, "INDIVIDUALLY"
invoke-direct {v0, v3, v2}, Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;->INDIVIDUALLY:Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
const/4 v3, 0x2
new-array v3, v3, [Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
sget-object v4, Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;->SIMULTANEOUSLY:Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
aput-object v4, v3, v1
aput-object v0, v3, v2
sput-object v3, Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;->$VALUES:[Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
return-void
.end method
.method public 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 forId(I)Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
.registers 4
const/4 v0, 0x1
if-eq p0, v0, :cond_20
const/4 v0, 0x2
if-ne p0, v0, :cond_9
sget-object p0, Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;->INDIVIDUALLY:Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
return-object p0
:cond_9
new-instance v0, Ljava/lang/IllegalArgumentException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Unknown trim path type "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
:cond_20
sget-object p0, Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;->SIMULTANEOUSLY:Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
return-object p0
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
.registers 2
const-class v0, Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
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/airbnb/lottie/model/content/ShapeTrimPath$Type;
return-object p0
.end method
.method public static values()[Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
.registers 1
sget-object v0, Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;->$VALUES:[Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
invoke-virtual {v0}, [Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/airbnb/lottie/model/content/ShapeTrimPath$Type;
return-object v0
.end method