apkfuckery/com.discord/smali/androidx/constraintlayout/motion/widget/Key.smali

240 lines
5.5 KiB
Smali

.class public abstract Landroidx/constraintlayout/motion/widget/Key;
.super Ljava/lang/Object;
.source "Key.java"
# static fields
.field public static final ALPHA:Ljava/lang/String; = "alpha"
.field public static final CUSTOM:Ljava/lang/String; = "CUSTOM"
.field public static final ELEVATION:Ljava/lang/String; = "elevation"
.field public static final PIVOT_X:Ljava/lang/String; = "transformPivotX"
.field public static final PIVOT_Y:Ljava/lang/String; = "transformPivotY"
.field public static final PROGRESS:Ljava/lang/String; = "progress"
.field public static final ROTATION:Ljava/lang/String; = "rotation"
.field public static final ROTATION_X:Ljava/lang/String; = "rotationX"
.field public static final ROTATION_Y:Ljava/lang/String; = "rotationY"
.field public static final SCALE_X:Ljava/lang/String; = "scaleX"
.field public static final SCALE_Y:Ljava/lang/String; = "scaleY"
.field public static final TRANSITION_PATH_ROTATE:Ljava/lang/String; = "transitionPathRotate"
.field public static final TRANSLATION_X:Ljava/lang/String; = "translationX"
.field public static final TRANSLATION_Y:Ljava/lang/String; = "translationY"
.field public static final TRANSLATION_Z:Ljava/lang/String; = "translationZ"
.field public static UNSET:I = -0x1
.field public static final WAVE_OFFSET:Ljava/lang/String; = "waveOffset"
.field public static final WAVE_PERIOD:Ljava/lang/String; = "wavePeriod"
.field public static final WAVE_VARIES_BY:Ljava/lang/String; = "waveVariesBy"
# instance fields
.field public mCustomConstraints:Ljava/util/HashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Landroidx/constraintlayout/widget/ConstraintAttribute;",
">;"
}
.end annotation
.end field
.field public mFramePosition:I
.field public mTargetId:I
.field public mTargetString:Ljava/lang/String;
.field public mType:I
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
sget v0, Landroidx/constraintlayout/motion/widget/Key;->UNSET:I
iput v0, p0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
iput v0, p0, Landroidx/constraintlayout/motion/widget/Key;->mTargetId:I
const/4 v0, 0x0
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/Key;->mTargetString:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public abstract addValues(Ljava/util/HashMap;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Landroidx/constraintlayout/motion/widget/SplineSet;",
">;)V"
}
.end annotation
.end method
.method public abstract getAttributeNames(Ljava/util/HashSet;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/HashSet<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
.end method
.method public abstract load(Landroid/content/Context;Landroid/util/AttributeSet;)V
.end method
.method public matches(Ljava/lang/String;)Z
.locals 1
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/Key;->mTargetString:Ljava/lang/String;
if-eqz v0, :cond_1
if-nez p1, :cond_0
goto :goto_0
:cond_0
invoke-virtual {p1, v0}, Ljava/lang/String;->matches(Ljava/lang/String;)Z
move-result p1
return p1
:cond_1
:goto_0
const/4 p1, 0x0
return p1
.end method
.method public setInterpolation(Ljava/util/HashMap;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
return-void
.end method
.method public abstract setValue(Ljava/lang/String;Ljava/lang/Object;)V
.end method
.method public toBoolean(Ljava/lang/Object;)Z
.locals 1
instance-of v0, p1, Ljava/lang/Boolean;
if-eqz v0, :cond_0
check-cast p1, Ljava/lang/Boolean;
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
goto :goto_0
:cond_0
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-static {p1}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z
move-result p1
:goto_0
return p1
.end method
.method public toFloat(Ljava/lang/Object;)F
.locals 1
instance-of v0, p1, Ljava/lang/Float;
if-eqz v0, :cond_0
check-cast p1, Ljava/lang/Float;
invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F
move-result p1
goto :goto_0
:cond_0
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-static {p1}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F
move-result p1
:goto_0
return p1
.end method
.method public toInt(Ljava/lang/Object;)I
.locals 1
instance-of v0, p1, Ljava/lang/Integer;
if-eqz v0, :cond_0
check-cast p1, Ljava/lang/Integer;
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
goto :goto_0
:cond_0
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result p1
:goto_0
return p1
.end method