1912 lines
44 KiB
Smali
1912 lines
44 KiB
Smali
.class public Landroidx/constraintlayout/motion/widget/KeyCycle;
|
|
.super Landroidx/constraintlayout/motion/widget/Key;
|
|
.source "KeyCycle.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/constraintlayout/motion/widget/KeyCycle$Loader;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final KEY_TYPE:I = 0x4
|
|
|
|
.field public static final NAME:Ljava/lang/String; = "KeyCycle"
|
|
|
|
.field public static final TAG:Ljava/lang/String; = "KeyCycle"
|
|
|
|
|
|
# instance fields
|
|
.field public mAlpha:F
|
|
|
|
.field public mCurveFit:I
|
|
|
|
.field public mElevation:F
|
|
|
|
.field public mProgress:F
|
|
|
|
.field public mRotation:F
|
|
|
|
.field public mRotationX:F
|
|
|
|
.field public mRotationY:F
|
|
|
|
.field public mScaleX:F
|
|
|
|
.field public mScaleY:F
|
|
|
|
.field public mTransitionEasing:Ljava/lang/String;
|
|
|
|
.field public mTransitionPathRotate:F
|
|
|
|
.field public mTranslationX:F
|
|
|
|
.field public mTranslationY:F
|
|
|
|
.field public mTranslationZ:F
|
|
|
|
.field public mWaveOffset:F
|
|
|
|
.field public mWavePeriod:F
|
|
|
|
.field public mWaveShape:I
|
|
|
|
.field public mWaveVariesBy:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 3
|
|
|
|
invoke-direct {p0}, Landroidx/constraintlayout/motion/widget/Key;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTransitionEasing:Ljava/lang/String;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mCurveFit:I
|
|
|
|
const/4 v0, -0x1
|
|
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveShape:I
|
|
|
|
const/high16 v1, 0x7fc00000 # Float.NaN
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWavePeriod:F
|
|
|
|
const/4 v2, 0x0
|
|
|
|
iput v2, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveOffset:F
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mProgress:F
|
|
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveVariesBy:I
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mAlpha:F
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mElevation:F
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotation:F
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTransitionPathRotate:F
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotationX:F
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotationY:F
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mScaleX:F
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mScaleY:F
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationX:F
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationY:F
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationZ:F
|
|
|
|
const/4 v0, 0x4
|
|
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/Key;->mType:I
|
|
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/Key;->mCustomConstraints:Ljava/util/HashMap;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$1000(Landroidx/constraintlayout/motion/widget/KeyCycle;)F
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotationX:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$1002(Landroidx/constraintlayout/motion/widget/KeyCycle;F)F
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotationX:F
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$102(Landroidx/constraintlayout/motion/widget/KeyCycle;Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTransitionEasing:Ljava/lang/String;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public static synthetic access$1100(Landroidx/constraintlayout/motion/widget/KeyCycle;)F
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotationY:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$1102(Landroidx/constraintlayout/motion/widget/KeyCycle;F)F
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotationY:F
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$1200(Landroidx/constraintlayout/motion/widget/KeyCycle;)F
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTransitionPathRotate:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$1202(Landroidx/constraintlayout/motion/widget/KeyCycle;F)F
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTransitionPathRotate:F
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$1300(Landroidx/constraintlayout/motion/widget/KeyCycle;)F
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mScaleX:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$1302(Landroidx/constraintlayout/motion/widget/KeyCycle;F)F
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mScaleX:F
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$1400(Landroidx/constraintlayout/motion/widget/KeyCycle;)F
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mScaleY:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$1402(Landroidx/constraintlayout/motion/widget/KeyCycle;F)F
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mScaleY:F
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$1500(Landroidx/constraintlayout/motion/widget/KeyCycle;)F
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationX:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$1502(Landroidx/constraintlayout/motion/widget/KeyCycle;F)F
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationX:F
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$1600(Landroidx/constraintlayout/motion/widget/KeyCycle;)F
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationY:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$1602(Landroidx/constraintlayout/motion/widget/KeyCycle;F)F
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationY:F
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$1700(Landroidx/constraintlayout/motion/widget/KeyCycle;)F
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationZ:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$1702(Landroidx/constraintlayout/motion/widget/KeyCycle;F)F
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationZ:F
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$1800(Landroidx/constraintlayout/motion/widget/KeyCycle;)F
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mProgress:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$1802(Landroidx/constraintlayout/motion/widget/KeyCycle;F)F
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mProgress:F
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$200(Landroidx/constraintlayout/motion/widget/KeyCycle;)I
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mCurveFit:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$202(Landroidx/constraintlayout/motion/widget/KeyCycle;I)I
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mCurveFit:I
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$300(Landroidx/constraintlayout/motion/widget/KeyCycle;)I
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveShape:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$302(Landroidx/constraintlayout/motion/widget/KeyCycle;I)I
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveShape:I
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$400(Landroidx/constraintlayout/motion/widget/KeyCycle;)F
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWavePeriod:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$402(Landroidx/constraintlayout/motion/widget/KeyCycle;F)F
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWavePeriod:F
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$500(Landroidx/constraintlayout/motion/widget/KeyCycle;)F
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveOffset:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$502(Landroidx/constraintlayout/motion/widget/KeyCycle;F)F
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveOffset:F
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$600(Landroidx/constraintlayout/motion/widget/KeyCycle;)I
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveVariesBy:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$602(Landroidx/constraintlayout/motion/widget/KeyCycle;I)I
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveVariesBy:I
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$700(Landroidx/constraintlayout/motion/widget/KeyCycle;)F
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mAlpha:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$702(Landroidx/constraintlayout/motion/widget/KeyCycle;F)F
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mAlpha:F
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$800(Landroidx/constraintlayout/motion/widget/KeyCycle;)F
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mElevation:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$802(Landroidx/constraintlayout/motion/widget/KeyCycle;F)F
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mElevation:F
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic access$900(Landroidx/constraintlayout/motion/widget/KeyCycle;)F
|
|
.locals 0
|
|
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotation:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic access$902(Landroidx/constraintlayout/motion/widget/KeyCycle;F)F
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotation:F
|
|
|
|
return p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public addCycleValues(Ljava/util/HashMap;)V
|
|
.locals 20
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/HashMap<",
|
|
"Ljava/lang/String;",
|
|
"Landroidx/constraintlayout/motion/widget/KeyCycleOscillator;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/util/HashMap;->keySet()Ljava/util/Set;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v2
|
|
|
|
:cond_0
|
|
:goto_0
|
|
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
const-string v4, "CUSTOM"
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
const/4 v4, 0x7
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
iget-object v5, v0, Landroidx/constraintlayout/motion/widget/Key;->mCustomConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v5, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
move-object v12, v4
|
|
|
|
check-cast v12, Landroidx/constraintlayout/widget/ConstraintAttribute;
|
|
|
|
if-eqz v12, :cond_1
|
|
|
|
invoke-virtual {v12}, Landroidx/constraintlayout/widget/ConstraintAttribute;->getType()Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;
|
|
|
|
move-result-object v4
|
|
|
|
sget-object v5, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->FLOAT_TYPE:Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;
|
|
|
|
if-ne v4, v5, :cond_1
|
|
|
|
invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
move-object v5, v4
|
|
|
|
check-cast v5, Landroidx/constraintlayout/motion/widget/KeyCycleOscillator;
|
|
|
|
iget v6, v0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v7, v0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveShape:I
|
|
|
|
iget v8, v0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveVariesBy:I
|
|
|
|
iget v9, v0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWavePeriod:F
|
|
|
|
iget v10, v0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveOffset:F
|
|
|
|
invoke-virtual {v12}, Landroidx/constraintlayout/widget/ConstraintAttribute;->getValueToInterpolate()F
|
|
|
|
move-result v11
|
|
|
|
invoke-virtual/range {v5 .. v12}, Landroidx/constraintlayout/motion/widget/KeyCycleOscillator;->setPoint(IIIFFFLandroidx/constraintlayout/widget/ConstraintAttribute;)V
|
|
|
|
:cond_1
|
|
invoke-virtual {v0, v3}, Landroidx/constraintlayout/motion/widget/KeyCycle;->getValue(Ljava/lang/String;)F
|
|
|
|
move-result v19
|
|
|
|
invoke-static/range {v19 .. v19}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
move-object v13, v3
|
|
|
|
check-cast v13, Landroidx/constraintlayout/motion/widget/KeyCycleOscillator;
|
|
|
|
iget v14, v0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v15, v0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveShape:I
|
|
|
|
iget v3, v0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveVariesBy:I
|
|
|
|
iget v4, v0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWavePeriod:F
|
|
|
|
iget v5, v0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveOffset:F
|
|
|
|
move/from16 v16, v3
|
|
|
|
move/from16 v17, v4
|
|
|
|
move/from16 v18, v5
|
|
|
|
invoke-virtual/range {v13 .. v19}, Landroidx/constraintlayout/motion/widget/KeyCycleOscillator;->setPoint(IIIFFF)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public addValues(Ljava/util/HashMap;)V
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/HashMap<",
|
|
"Ljava/lang/String;",
|
|
"Landroidx/constraintlayout/motion/widget/SplineSet;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "add "
|
|
|
|
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Ljava/util/HashMap;->size()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, " values"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "KeyCycle"
|
|
|
|
const/4 v2, 0x2
|
|
|
|
invoke-static {v1, v0, v2}, Landroidx/constraintlayout/motion/widget/Debug;->logStack(Ljava/lang/String;Ljava/lang/String;I)V
|
|
|
|
invoke-virtual {p1}, Ljava/util/HashMap;->keySet()Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroidx/constraintlayout/motion/widget/SplineSet;
|
|
|
|
const/4 v3, -0x1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v4
|
|
|
|
sparse-switch v4, :sswitch_data_0
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_0
|
|
const-string/jumbo v4, "waveOffset"
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/16 v3, 0xb
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_1
|
|
const-string v4, "alpha"
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_2
|
|
const-string/jumbo v4, "transitionPathRotate"
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/4 v3, 0x5
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_3
|
|
const-string v4, "elevation"
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_4
|
|
const-string v4, "rotation"
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/4 v3, 0x2
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_5
|
|
const-string v4, "scaleY"
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/4 v3, 0x7
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_6
|
|
const-string v4, "scaleX"
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/4 v3, 0x6
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_7
|
|
const-string v4, "progress"
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/16 v3, 0xc
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_8
|
|
const-string/jumbo v4, "translationZ"
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/16 v3, 0xa
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_9
|
|
const-string/jumbo v4, "translationY"
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/16 v3, 0x9
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_a
|
|
const-string/jumbo v4, "translationX"
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/16 v3, 0x8
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_b
|
|
const-string v4, "rotationY"
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/4 v3, 0x4
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_c
|
|
const-string v4, "rotationX"
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/4 v3, 0x3
|
|
|
|
:cond_0
|
|
:goto_1
|
|
packed-switch v3, :pswitch_data_0
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v3, " UNKNOWN "
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "WARNING KeyCycle"
|
|
|
|
invoke-static {v2, v1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_0
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mProgress:F
|
|
|
|
invoke-virtual {v2, v1, v3}, Landroidx/constraintlayout/motion/widget/SplineSet;->setPoint(IF)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_1
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveOffset:F
|
|
|
|
invoke-virtual {v2, v1, v3}, Landroidx/constraintlayout/motion/widget/SplineSet;->setPoint(IF)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_2
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationZ:F
|
|
|
|
invoke-virtual {v2, v1, v3}, Landroidx/constraintlayout/motion/widget/SplineSet;->setPoint(IF)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_3
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationY:F
|
|
|
|
invoke-virtual {v2, v1, v3}, Landroidx/constraintlayout/motion/widget/SplineSet;->setPoint(IF)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_4
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationX:F
|
|
|
|
invoke-virtual {v2, v1, v3}, Landroidx/constraintlayout/motion/widget/SplineSet;->setPoint(IF)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_5
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mScaleY:F
|
|
|
|
invoke-virtual {v2, v1, v3}, Landroidx/constraintlayout/motion/widget/SplineSet;->setPoint(IF)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_6
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mScaleX:F
|
|
|
|
invoke-virtual {v2, v1, v3}, Landroidx/constraintlayout/motion/widget/SplineSet;->setPoint(IF)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_7
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTransitionPathRotate:F
|
|
|
|
invoke-virtual {v2, v1, v3}, Landroidx/constraintlayout/motion/widget/SplineSet;->setPoint(IF)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_8
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotationY:F
|
|
|
|
invoke-virtual {v2, v1, v3}, Landroidx/constraintlayout/motion/widget/SplineSet;->setPoint(IF)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_9
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotationX:F
|
|
|
|
invoke-virtual {v2, v1, v3}, Landroidx/constraintlayout/motion/widget/SplineSet;->setPoint(IF)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_a
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotation:F
|
|
|
|
invoke-virtual {v2, v1, v3}, Landroidx/constraintlayout/motion/widget/SplineSet;->setPoint(IF)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_b
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mElevation:F
|
|
|
|
invoke-virtual {v2, v1, v3}, Landroidx/constraintlayout/motion/widget/SplineSet;->setPoint(IF)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_c
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/Key;->mFramePosition:I
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mAlpha:F
|
|
|
|
invoke-virtual {v2, v1, v3}, Landroidx/constraintlayout/motion/widget/SplineSet;->setPoint(IF)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
|
|
nop
|
|
|
|
:sswitch_data_0
|
|
.sparse-switch
|
|
-0x4a771f66 -> :sswitch_c
|
|
-0x4a771f65 -> :sswitch_b
|
|
-0x490b9c39 -> :sswitch_a
|
|
-0x490b9c38 -> :sswitch_9
|
|
-0x490b9c37 -> :sswitch_8
|
|
-0x3bab3dd3 -> :sswitch_7
|
|
-0x3621dfb2 -> :sswitch_6
|
|
-0x3621dfb1 -> :sswitch_5
|
|
-0x266f082 -> :sswitch_4
|
|
-0x42d1a3 -> :sswitch_3
|
|
0x2382115 -> :sswitch_2
|
|
0x589b15e -> :sswitch_1
|
|
0x94e04ec -> :sswitch_0
|
|
.end sparse-switch
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_c
|
|
:pswitch_b
|
|
:pswitch_a
|
|
:pswitch_9
|
|
:pswitch_8
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public getAttributeNames(Ljava/util/HashSet;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/HashSet<",
|
|
"Ljava/lang/String;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mAlpha:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, "alpha"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mElevation:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const-string v0, "elevation"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_1
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotation:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
const-string v0, "rotation"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_2
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotationX:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
const-string v0, "rotationX"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_3
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotationY:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
const-string v0, "rotationY"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_4
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mScaleX:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
const-string v0, "scaleX"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_5
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mScaleY:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_6
|
|
|
|
const-string v0, "scaleY"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_6
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTransitionPathRotate:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_7
|
|
|
|
const-string/jumbo v0, "transitionPathRotate"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_7
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationX:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_8
|
|
|
|
const-string/jumbo v0, "translationX"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_8
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationY:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_9
|
|
|
|
const-string/jumbo v0, "translationY"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_9
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationZ:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_a
|
|
|
|
const-string/jumbo v0, "translationZ"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_a
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/Key;->mCustomConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v0}, Ljava/util/HashMap;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_b
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/Key;->mCustomConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v0}, Ljava/util/HashMap;->keySet()Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_b
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/String;
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v3, "CUSTOM,"
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_b
|
|
return-void
|
|
.end method
|
|
|
|
.method public getValue(Ljava/lang/String;)F
|
|
.locals 2
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
sparse-switch v0, :sswitch_data_0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:sswitch_0
|
|
const-string/jumbo v0, "waveOffset"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v0, 0xb
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_1
|
|
const-string v0, "alpha"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_2
|
|
const-string/jumbo v0, "transitionPathRotate"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x5
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_3
|
|
const-string v0, "elevation"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_4
|
|
const-string v0, "rotation"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x2
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_5
|
|
const-string v0, "scaleY"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x7
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_6
|
|
const-string v0, "scaleX"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x6
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_7
|
|
const-string v0, "progress"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v0, 0xc
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_8
|
|
const-string/jumbo v0, "translationZ"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v0, 0xa
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_9
|
|
const-string/jumbo v0, "translationY"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v0, 0x9
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_a
|
|
const-string/jumbo v0, "translationX"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v0, 0x8
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_b
|
|
const-string v0, "rotationY"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x4
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_c
|
|
const-string v0, "rotationX"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
:goto_0
|
|
const/4 v0, -0x1
|
|
|
|
:goto_1
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, " UNKNOWN "
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "WARNING! KeyCycle"
|
|
|
|
invoke-static {v0, p1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
const/high16 p1, 0x7fc00000 # Float.NaN
|
|
|
|
return p1
|
|
|
|
:pswitch_0
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mProgress:F
|
|
|
|
return p1
|
|
|
|
:pswitch_1
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveOffset:F
|
|
|
|
return p1
|
|
|
|
:pswitch_2
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationZ:F
|
|
|
|
return p1
|
|
|
|
:pswitch_3
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationY:F
|
|
|
|
return p1
|
|
|
|
:pswitch_4
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationX:F
|
|
|
|
return p1
|
|
|
|
:pswitch_5
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mScaleY:F
|
|
|
|
return p1
|
|
|
|
:pswitch_6
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mScaleX:F
|
|
|
|
return p1
|
|
|
|
:pswitch_7
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTransitionPathRotate:F
|
|
|
|
return p1
|
|
|
|
:pswitch_8
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotationY:F
|
|
|
|
return p1
|
|
|
|
:pswitch_9
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotationX:F
|
|
|
|
return p1
|
|
|
|
:pswitch_a
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotation:F
|
|
|
|
return p1
|
|
|
|
:pswitch_b
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mElevation:F
|
|
|
|
return p1
|
|
|
|
:pswitch_c
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mAlpha:F
|
|
|
|
return p1
|
|
|
|
:sswitch_data_0
|
|
.sparse-switch
|
|
-0x4a771f66 -> :sswitch_c
|
|
-0x4a771f65 -> :sswitch_b
|
|
-0x490b9c39 -> :sswitch_a
|
|
-0x490b9c38 -> :sswitch_9
|
|
-0x490b9c37 -> :sswitch_8
|
|
-0x3bab3dd3 -> :sswitch_7
|
|
-0x3621dfb2 -> :sswitch_6
|
|
-0x3621dfb1 -> :sswitch_5
|
|
-0x266f082 -> :sswitch_4
|
|
-0x42d1a3 -> :sswitch_3
|
|
0x2382115 -> :sswitch_2
|
|
0x589b15e -> :sswitch_1
|
|
0x94e04ec -> :sswitch_0
|
|
.end sparse-switch
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_c
|
|
:pswitch_b
|
|
:pswitch_a
|
|
:pswitch_9
|
|
:pswitch_8
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public load(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 1
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/R$styleable;->KeyCycle:[I
|
|
|
|
invoke-virtual {p1, p2, v0}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p0, p1}, Landroidx/constraintlayout/motion/widget/KeyCycle$Loader;->access$000(Landroidx/constraintlayout/motion/widget/KeyCycle;Landroid/content/res/TypedArray;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setValue(Ljava/lang/String;Ljava/lang/Object;)V
|
|
.locals 1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
sparse-switch v0, :sswitch_data_0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:sswitch_0
|
|
const-string v0, "mTranslationZ"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/16 p1, 0xd
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_1
|
|
const-string v0, "curveFit"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_2
|
|
const-string/jumbo v0, "wavePeriod"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/16 p1, 0xe
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_3
|
|
const-string/jumbo v0, "waveOffset"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/16 p1, 0xf
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_4
|
|
const-string v0, "alpha"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_5
|
|
const-string/jumbo v0, "transitionPathRotate"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/16 p1, 0xa
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_6
|
|
const-string v0, "elevation"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x2
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_7
|
|
const-string v0, "rotation"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x4
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_8
|
|
const-string v0, "scaleY"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/16 p1, 0x8
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_9
|
|
const-string v0, "scaleX"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x7
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_a
|
|
const-string v0, "progress"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x3
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_b
|
|
const-string/jumbo v0, "translationY"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/16 p1, 0xc
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_c
|
|
const-string/jumbo v0, "translationX"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/16 p1, 0xb
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_d
|
|
const-string v0, "rotationY"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x6
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_e
|
|
const-string v0, "rotationX"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x5
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_f
|
|
const-string/jumbo v0, "transitionEasing"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/16 p1, 0x9
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
:goto_0
|
|
const/4 p1, -0x1
|
|
|
|
:goto_1
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
goto/16 :goto_2
|
|
|
|
:pswitch_0
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toFloat(Ljava/lang/Object;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWaveOffset:F
|
|
|
|
goto/16 :goto_2
|
|
|
|
:pswitch_1
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toFloat(Ljava/lang/Object;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mWavePeriod:F
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_2
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toFloat(Ljava/lang/Object;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationZ:F
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_3
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toFloat(Ljava/lang/Object;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationY:F
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_4
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toFloat(Ljava/lang/Object;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTranslationX:F
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_5
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toFloat(Ljava/lang/Object;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTransitionPathRotate:F
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_6
|
|
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mTransitionEasing:Ljava/lang/String;
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_7
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toFloat(Ljava/lang/Object;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mScaleY:F
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_8
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toFloat(Ljava/lang/Object;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mScaleX:F
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_9
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toFloat(Ljava/lang/Object;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotationY:F
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_a
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toFloat(Ljava/lang/Object;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotationX:F
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_b
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toFloat(Ljava/lang/Object;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mRotation:F
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_c
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toFloat(Ljava/lang/Object;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mProgress:F
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_d
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toFloat(Ljava/lang/Object;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mElevation:F
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_e
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toInt(Ljava/lang/Object;)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mCurveFit:I
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_f
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/Key;->toFloat(Ljava/lang/Object;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/KeyCycle;->mAlpha:F
|
|
|
|
:goto_2
|
|
return-void
|
|
|
|
:sswitch_data_0
|
|
.sparse-switch
|
|
-0x6c0d7d20 -> :sswitch_f
|
|
-0x4a771f66 -> :sswitch_e
|
|
-0x4a771f65 -> :sswitch_d
|
|
-0x490b9c39 -> :sswitch_c
|
|
-0x490b9c38 -> :sswitch_b
|
|
-0x3bab3dd3 -> :sswitch_a
|
|
-0x3621dfb2 -> :sswitch_9
|
|
-0x3621dfb1 -> :sswitch_8
|
|
-0x266f082 -> :sswitch_7
|
|
-0x42d1a3 -> :sswitch_6
|
|
0x2382115 -> :sswitch_5
|
|
0x589b15e -> :sswitch_4
|
|
0x94e04ec -> :sswitch_3
|
|
0xafa161a -> :sswitch_2
|
|
0x2283b8a2 -> :sswitch_1
|
|
0x4e897cd6 -> :sswitch_0
|
|
.end sparse-switch
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_f
|
|
:pswitch_e
|
|
:pswitch_d
|
|
:pswitch_c
|
|
:pswitch_b
|
|
:pswitch_a
|
|
:pswitch_9
|
|
:pswitch_8
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|