changed repo structure
This commit is contained in:
@@ -0,0 +1,147 @@
|
||||
.class synthetic Landroidx/constraintlayout/motion/utils/CustomSupport$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "CustomSupport.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/CustomSupport;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1008
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field static final synthetic $SwitchMap$androidx$constraintlayout$widget$ConstraintAttribute$AttributeType:[I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 3
|
||||
|
||||
.line 23
|
||||
invoke-static {}, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->values()[Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
array-length v0, v0
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
sput-object v0, Landroidx/constraintlayout/motion/utils/CustomSupport$1;->$SwitchMap$androidx$constraintlayout$widget$ConstraintAttribute$AttributeType:[I
|
||||
|
||||
:try_start_0
|
||||
sget-object v1, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->INT_TYPE:Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
aput v2, v0, v1
|
||||
:try_end_0
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
:catch_0
|
||||
:try_start_1
|
||||
sget-object v0, Landroidx/constraintlayout/motion/utils/CustomSupport$1;->$SwitchMap$androidx$constraintlayout$widget$ConstraintAttribute$AttributeType:[I
|
||||
|
||||
sget-object v1, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->FLOAT_TYPE:Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
aput v2, v0, v1
|
||||
:try_end_1
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_1 .. :try_end_1} :catch_1
|
||||
|
||||
:catch_1
|
||||
:try_start_2
|
||||
sget-object v0, Landroidx/constraintlayout/motion/utils/CustomSupport$1;->$SwitchMap$androidx$constraintlayout$widget$ConstraintAttribute$AttributeType:[I
|
||||
|
||||
sget-object v1, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->COLOR_DRAWABLE_TYPE:Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x3
|
||||
|
||||
aput v2, v0, v1
|
||||
:try_end_2
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_2 .. :try_end_2} :catch_2
|
||||
|
||||
:catch_2
|
||||
:try_start_3
|
||||
sget-object v0, Landroidx/constraintlayout/motion/utils/CustomSupport$1;->$SwitchMap$androidx$constraintlayout$widget$ConstraintAttribute$AttributeType:[I
|
||||
|
||||
sget-object v1, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->COLOR_TYPE:Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x4
|
||||
|
||||
aput v2, v0, v1
|
||||
:try_end_3
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_3 .. :try_end_3} :catch_3
|
||||
|
||||
:catch_3
|
||||
:try_start_4
|
||||
sget-object v0, Landroidx/constraintlayout/motion/utils/CustomSupport$1;->$SwitchMap$androidx$constraintlayout$widget$ConstraintAttribute$AttributeType:[I
|
||||
|
||||
sget-object v1, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->STRING_TYPE:Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x5
|
||||
|
||||
aput v2, v0, v1
|
||||
:try_end_4
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_4 .. :try_end_4} :catch_4
|
||||
|
||||
:catch_4
|
||||
:try_start_5
|
||||
sget-object v0, Landroidx/constraintlayout/motion/utils/CustomSupport$1;->$SwitchMap$androidx$constraintlayout$widget$ConstraintAttribute$AttributeType:[I
|
||||
|
||||
sget-object v1, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->BOOLEAN_TYPE:Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x6
|
||||
|
||||
aput v2, v0, v1
|
||||
:try_end_5
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_5 .. :try_end_5} :catch_5
|
||||
|
||||
:catch_5
|
||||
:try_start_6
|
||||
sget-object v0, Landroidx/constraintlayout/motion/utils/CustomSupport$1;->$SwitchMap$androidx$constraintlayout$widget$ConstraintAttribute$AttributeType:[I
|
||||
|
||||
sget-object v1, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->DIMENSION_TYPE:Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x7
|
||||
|
||||
aput v2, v0, v1
|
||||
:try_end_6
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_6 .. :try_end_6} :catch_6
|
||||
|
||||
:catch_6
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,616 @@
|
||||
.class public Landroidx/constraintlayout/motion/utils/CustomSupport;
|
||||
.super Ljava/lang/Object;
|
||||
.source "CustomSupport.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field private static final TAG:Ljava/lang/String; = "CustomSupport"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 14
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private static clamp(I)I
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"c"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
shr-int/lit8 v0, p0, 0x1f
|
||||
|
||||
not-int v0, v0
|
||||
|
||||
and-int/2addr p0, v0
|
||||
|
||||
add-int/lit16 p0, p0, -0xff
|
||||
|
||||
shr-int/lit8 v0, p0, 0x1f
|
||||
|
||||
and-int/2addr p0, v0
|
||||
|
||||
add-int/lit16 p0, p0, 0xff
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
||||
.method public static setInterpolatedValue(Landroidx/constraintlayout/widget/ConstraintAttribute;Landroid/view/View;[F)V
|
||||
.locals 16
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"att",
|
||||
"view",
|
||||
"value"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object/from16 v1, p1
|
||||
|
||||
.line 18
|
||||
const-string v2, "\""
|
||||
|
||||
const-string v3, " on View \""
|
||||
|
||||
const-string v4, "CustomSupport"
|
||||
|
||||
.line 0
|
||||
const-string v0, "unable to interpolate strings "
|
||||
|
||||
.line 18
|
||||
invoke-virtual/range {p1 .. p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
.line 20
|
||||
new-instance v6, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v7, "set"
|
||||
|
||||
invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintAttribute;->getName()Ljava/lang/String;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
.line 23
|
||||
:try_start_0
|
||||
sget-object v7, Landroidx/constraintlayout/motion/utils/CustomSupport$1;->$SwitchMap$androidx$constraintlayout$widget$ConstraintAttribute$AttributeType:[I
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintAttribute;->getType()Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
invoke-virtual {v8}, Landroidx/constraintlayout/widget/ConstraintAttribute$AttributeType;->ordinal()I
|
||||
|
||||
move-result v8
|
||||
|
||||
aget v7, v7, v8
|
||||
|
||||
const/4 v8, 0x3
|
||||
|
||||
const/4 v9, 0x2
|
||||
|
||||
const-wide v10, 0x3fdd1745d1745d17L # 0.45454545454545453
|
||||
|
||||
const/high16 v12, 0x437f0000 # 255.0f
|
||||
|
||||
const/4 v13, 0x1
|
||||
|
||||
const/4 v14, 0x0
|
||||
|
||||
packed-switch v7, :pswitch_data_0
|
||||
|
||||
goto/16 :goto_1
|
||||
|
||||
.line 61
|
||||
:pswitch_0
|
||||
new-array v0, v13, [Ljava/lang/Class;
|
||||
|
||||
sget-object v7, Ljava/lang/Float;->TYPE:Ljava/lang/Class;
|
||||
|
||||
aput-object v7, v0, v14
|
||||
|
||||
invoke-virtual {v5, v6, v0}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
.line 62
|
||||
new-array v5, v13, [Ljava/lang/Object;
|
||||
|
||||
aget v7, p2, v14
|
||||
|
||||
invoke-static {v7}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
aput-object v7, v5, v14
|
||||
|
||||
invoke-virtual {v0, v1, v5}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto/16 :goto_1
|
||||
|
||||
.line 57
|
||||
:pswitch_1
|
||||
new-array v0, v13, [Ljava/lang/Class;
|
||||
|
||||
sget-object v7, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;
|
||||
|
||||
aput-object v7, v0, v14
|
||||
|
||||
invoke-virtual {v5, v6, v0}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
.line 58
|
||||
new-array v5, v13, [Ljava/lang/Object;
|
||||
|
||||
aget v7, p2, v14
|
||||
|
||||
const/high16 v8, 0x3f000000 # 0.5f
|
||||
|
||||
cmpl-float v7, v7, v8
|
||||
|
||||
if-lez v7, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move v13, v14
|
||||
|
||||
:goto_0
|
||||
invoke-static {v13}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
aput-object v7, v5, v14
|
||||
|
||||
invoke-virtual {v0, v1, v5}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto/16 :goto_1
|
||||
|
||||
.line 54
|
||||
:pswitch_2
|
||||
new-instance v5, Ljava/lang/RuntimeException;
|
||||
|
||||
new-instance v7, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v7, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintAttribute;->getName()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {v5, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v5
|
||||
|
||||
.line 45
|
||||
:pswitch_3
|
||||
new-array v0, v13, [Ljava/lang/Class;
|
||||
|
||||
sget-object v7, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
|
||||
|
||||
aput-object v7, v0, v14
|
||||
|
||||
invoke-virtual {v5, v6, v0}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
.line 46
|
||||
aget v5, p2, v14
|
||||
|
||||
float-to-double v14, v5
|
||||
|
||||
invoke-static {v14, v15, v10, v11}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v14
|
||||
|
||||
double-to-float v5, v14
|
||||
|
||||
mul-float/2addr v5, v12
|
||||
|
||||
float-to-int v5, v5
|
||||
|
||||
invoke-static {v5}, Landroidx/constraintlayout/motion/utils/CustomSupport;->clamp(I)I
|
||||
|
||||
move-result v5
|
||||
|
||||
.line 47
|
||||
aget v14, p2, v13
|
||||
|
||||
float-to-double v14, v14
|
||||
|
||||
invoke-static {v14, v15, v10, v11}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v14
|
||||
|
||||
double-to-float v14, v14
|
||||
|
||||
mul-float/2addr v14, v12
|
||||
|
||||
float-to-int v14, v14
|
||||
|
||||
invoke-static {v14}, Landroidx/constraintlayout/motion/utils/CustomSupport;->clamp(I)I
|
||||
|
||||
move-result v14
|
||||
|
||||
.line 48
|
||||
aget v9, p2, v9
|
||||
|
||||
move/from16 p0, v14
|
||||
|
||||
float-to-double v13, v9
|
||||
|
||||
invoke-static {v13, v14, v10, v11}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v9
|
||||
|
||||
double-to-float v9, v9
|
||||
|
||||
mul-float/2addr v9, v12
|
||||
|
||||
float-to-int v9, v9
|
||||
|
||||
invoke-static {v9}, Landroidx/constraintlayout/motion/utils/CustomSupport;->clamp(I)I
|
||||
|
||||
move-result v9
|
||||
|
||||
.line 49
|
||||
aget v8, p2, v8
|
||||
|
||||
mul-float/2addr v8, v12
|
||||
|
||||
float-to-int v8, v8
|
||||
|
||||
invoke-static {v8}, Landroidx/constraintlayout/motion/utils/CustomSupport;->clamp(I)I
|
||||
|
||||
move-result v8
|
||||
|
||||
shl-int/lit8 v8, v8, 0x18
|
||||
|
||||
shl-int/lit8 v5, v5, 0x10
|
||||
|
||||
or-int/2addr v5, v8
|
||||
|
||||
shl-int/lit8 v8, p0, 0x8
|
||||
|
||||
or-int/2addr v5, v8
|
||||
|
||||
or-int/2addr v5, v9
|
||||
|
||||
const/4 v8, 0x1
|
||||
|
||||
.line 51
|
||||
new-array v8, v8, [Ljava/lang/Object;
|
||||
|
||||
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
aput-object v5, v8, v7
|
||||
|
||||
invoke-virtual {v0, v1, v8}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto/16 :goto_1
|
||||
|
||||
:pswitch_4
|
||||
move v0, v13
|
||||
|
||||
.line 33
|
||||
new-array v13, v0, [Ljava/lang/Class;
|
||||
|
||||
const-class v0, Landroid/graphics/drawable/Drawable;
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
aput-object v0, v13, v7
|
||||
|
||||
invoke-virtual {v5, v6, v13}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
.line 34
|
||||
aget v5, p2, v7
|
||||
|
||||
float-to-double v13, v5
|
||||
|
||||
invoke-static {v13, v14, v10, v11}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v13
|
||||
|
||||
double-to-float v5, v13
|
||||
|
||||
mul-float/2addr v5, v12
|
||||
|
||||
float-to-int v5, v5
|
||||
|
||||
invoke-static {v5}, Landroidx/constraintlayout/motion/utils/CustomSupport;->clamp(I)I
|
||||
|
||||
move-result v5
|
||||
|
||||
const/4 v7, 0x1
|
||||
|
||||
.line 35
|
||||
aget v7, p2, v7
|
||||
|
||||
float-to-double v13, v7
|
||||
|
||||
invoke-static {v13, v14, v10, v11}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v13
|
||||
|
||||
double-to-float v7, v13
|
||||
|
||||
mul-float/2addr v7, v12
|
||||
|
||||
float-to-int v7, v7
|
||||
|
||||
invoke-static {v7}, Landroidx/constraintlayout/motion/utils/CustomSupport;->clamp(I)I
|
||||
|
||||
move-result v7
|
||||
|
||||
.line 36
|
||||
aget v9, p2, v9
|
||||
|
||||
float-to-double v13, v9
|
||||
|
||||
invoke-static {v13, v14, v10, v11}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v9
|
||||
|
||||
double-to-float v9, v9
|
||||
|
||||
mul-float/2addr v9, v12
|
||||
|
||||
float-to-int v9, v9
|
||||
|
||||
invoke-static {v9}, Landroidx/constraintlayout/motion/utils/CustomSupport;->clamp(I)I
|
||||
|
||||
move-result v9
|
||||
|
||||
.line 37
|
||||
aget v8, p2, v8
|
||||
|
||||
mul-float/2addr v8, v12
|
||||
|
||||
float-to-int v8, v8
|
||||
|
||||
invoke-static {v8}, Landroidx/constraintlayout/motion/utils/CustomSupport;->clamp(I)I
|
||||
|
||||
move-result v8
|
||||
|
||||
shl-int/lit8 v8, v8, 0x18
|
||||
|
||||
shl-int/lit8 v5, v5, 0x10
|
||||
|
||||
or-int/2addr v5, v8
|
||||
|
||||
shl-int/lit8 v7, v7, 0x8
|
||||
|
||||
or-int/2addr v5, v7
|
||||
|
||||
or-int/2addr v5, v9
|
||||
|
||||
.line 39
|
||||
new-instance v7, Landroid/graphics/drawable/ColorDrawable;
|
||||
|
||||
invoke-direct {v7}, Landroid/graphics/drawable/ColorDrawable;-><init>()V
|
||||
|
||||
.line 40
|
||||
invoke-virtual {v7, v5}, Landroid/graphics/drawable/ColorDrawable;->setColor(I)V
|
||||
|
||||
.line 41
|
||||
filled-new-array {v7}, [Ljava/lang/Object;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-virtual {v0, v1, v5}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto/16 :goto_1
|
||||
|
||||
:pswitch_5
|
||||
move v0, v13
|
||||
|
||||
.line 29
|
||||
new-array v8, v0, [Ljava/lang/Class;
|
||||
|
||||
sget-object v9, Ljava/lang/Float;->TYPE:Ljava/lang/Class;
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
aput-object v9, v8, v7
|
||||
|
||||
invoke-virtual {v5, v6, v8}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
.line 30
|
||||
new-array v0, v0, [Ljava/lang/Object;
|
||||
|
||||
aget v8, p2, v7
|
||||
|
||||
invoke-static {v8}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
aput-object v8, v0, v7
|
||||
|
||||
invoke-virtual {v5, v1, v0}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:pswitch_6
|
||||
move v0, v13
|
||||
|
||||
.line 25
|
||||
new-array v8, v0, [Ljava/lang/Class;
|
||||
|
||||
sget-object v9, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
aput-object v9, v8, v7
|
||||
|
||||
invoke-virtual {v5, v6, v8}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
.line 26
|
||||
new-array v0, v0, [Ljava/lang/Object;
|
||||
|
||||
aget v8, p2, v7
|
||||
|
||||
float-to-int v8, v8
|
||||
|
||||
invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
aput-object v8, v0, v7
|
||||
|
||||
invoke-virtual {v5, v1, v0}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
:try_end_0
|
||||
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_2
|
||||
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_1
|
||||
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
.line 72
|
||||
invoke-virtual {v0}, Ljava/lang/reflect/InvocationTargetException;->printStackTrace()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catch_1
|
||||
move-exception v0
|
||||
|
||||
.line 69
|
||||
new-instance v5, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v7, "cannot access method "
|
||||
|
||||
invoke-direct {v5, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-static/range {p1 .. p1}, Landroidx/constraintlayout/motion/widget/Debug;->getName(Landroid/view/View;)Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-static {v4, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
||||
|
||||
.line 70
|
||||
invoke-virtual {v0}, Ljava/lang/IllegalAccessException;->printStackTrace()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catch_2
|
||||
move-exception v0
|
||||
|
||||
.line 66
|
||||
new-instance v5, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v7, "no method "
|
||||
|
||||
invoke-direct {v5, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-static/range {p1 .. p1}, Landroidx/constraintlayout/motion/widget/Debug;->getName(Landroid/view/View;)Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-static {v4, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
||||
|
||||
.line 67
|
||||
invoke-virtual {v0}, Ljava/lang/NoSuchMethodException;->printStackTrace()V
|
||||
|
||||
:goto_1
|
||||
return-void
|
||||
|
||||
nop
|
||||
|
||||
:pswitch_data_0
|
||||
.packed-switch 0x1
|
||||
:pswitch_6
|
||||
:pswitch_5
|
||||
:pswitch_4
|
||||
:pswitch_3
|
||||
:pswitch_2
|
||||
:pswitch_1
|
||||
:pswitch_0
|
||||
.end packed-switch
|
||||
.end method
|
||||
@@ -0,0 +1,236 @@
|
||||
.class public Landroidx/constraintlayout/motion/utils/StopLogic;
|
||||
.super Landroidx/constraintlayout/motion/widget/MotionInterpolator;
|
||||
.source "StopLogic.java"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
|
||||
|
||||
.field private mSpringStopEngine:Landroidx/constraintlayout/core/motion/utils/SpringStopEngine;
|
||||
|
||||
.field private mStopLogicEngine:Landroidx/constraintlayout/core/motion/utils/StopLogicEngine;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
.line 32
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/widget/MotionInterpolator;-><init>()V
|
||||
|
||||
.line 33
|
||||
new-instance v0, Landroidx/constraintlayout/core/motion/utils/StopLogicEngine;
|
||||
|
||||
invoke-direct {v0}, Landroidx/constraintlayout/core/motion/utils/StopLogicEngine;-><init>()V
|
||||
|
||||
iput-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mStopLogicEngine:Landroidx/constraintlayout/core/motion/utils/StopLogicEngine;
|
||||
|
||||
.line 35
|
||||
iput-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public config(FFFFFF)V
|
||||
.locals 7
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"currentPos",
|
||||
"destination",
|
||||
"currentVelocity",
|
||||
"maxTime",
|
||||
"maxAcceleration",
|
||||
"maxVelocity"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 54
|
||||
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mStopLogicEngine:Landroidx/constraintlayout/core/motion/utils/StopLogicEngine;
|
||||
|
||||
iput-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
|
||||
|
||||
move v1, p1
|
||||
|
||||
move v2, p2
|
||||
|
||||
move v3, p3
|
||||
|
||||
move v4, p4
|
||||
|
||||
move v5, p5
|
||||
|
||||
move v6, p6
|
||||
|
||||
.line 55
|
||||
invoke-virtual/range {v0 .. v6}, Landroidx/constraintlayout/core/motion/utils/StopLogicEngine;->config(FFFFFF)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public debug(Ljava/lang/String;F)Ljava/lang/String;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"desc",
|
||||
"time"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 46
|
||||
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
|
||||
|
||||
invoke-interface {v0, p1, p2}, Landroidx/constraintlayout/core/motion/utils/StopEngine;->debug(Ljava/lang/String;F)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public getInterpolation(F)F
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"v"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 87
|
||||
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
|
||||
|
||||
invoke-interface {v0, p1}, Landroidx/constraintlayout/core/motion/utils/StopEngine;->getInterpolation(F)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public getVelocity()F
|
||||
.locals 1
|
||||
|
||||
.line 92
|
||||
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
|
||||
|
||||
invoke-interface {v0}, Landroidx/constraintlayout/core/motion/utils/StopEngine;->getVelocity()F
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public getVelocity(F)F
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"x"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 50
|
||||
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
|
||||
|
||||
invoke-interface {v0, p1}, Landroidx/constraintlayout/core/motion/utils/StopEngine;->getVelocity(F)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public isStopped()Z
|
||||
.locals 1
|
||||
|
||||
.line 96
|
||||
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
|
||||
|
||||
invoke-interface {v0}, Landroidx/constraintlayout/core/motion/utils/StopEngine;->isStopped()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public springConfig(FFFFFFFI)V
|
||||
.locals 11
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"currentPos",
|
||||
"destination",
|
||||
"currentVelocity",
|
||||
"mass",
|
||||
"stiffness",
|
||||
"damping",
|
||||
"stopThreshold",
|
||||
"boundaryMode"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
.line 78
|
||||
iget-object v1, v0, Landroidx/constraintlayout/motion/utils/StopLogic;->mSpringStopEngine:Landroidx/constraintlayout/core/motion/utils/SpringStopEngine;
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
.line 79
|
||||
new-instance v1, Landroidx/constraintlayout/core/motion/utils/SpringStopEngine;
|
||||
|
||||
invoke-direct {v1}, Landroidx/constraintlayout/core/motion/utils/SpringStopEngine;-><init>()V
|
||||
|
||||
iput-object v1, v0, Landroidx/constraintlayout/motion/utils/StopLogic;->mSpringStopEngine:Landroidx/constraintlayout/core/motion/utils/SpringStopEngine;
|
||||
|
||||
.line 81
|
||||
:cond_0
|
||||
iget-object v2, v0, Landroidx/constraintlayout/motion/utils/StopLogic;->mSpringStopEngine:Landroidx/constraintlayout/core/motion/utils/SpringStopEngine;
|
||||
|
||||
iput-object v2, v0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
|
||||
|
||||
move v3, p1
|
||||
|
||||
move v4, p2
|
||||
|
||||
move v5, p3
|
||||
|
||||
move v6, p4
|
||||
|
||||
move/from16 v7, p5
|
||||
|
||||
move/from16 v8, p6
|
||||
|
||||
move/from16 v9, p7
|
||||
|
||||
move/from16 v10, p8
|
||||
|
||||
.line 82
|
||||
invoke-virtual/range {v2 .. v10}, Landroidx/constraintlayout/core/motion/utils/SpringStopEngine;->springConfig(FFFFFFFI)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewOscillator$AlphaSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.source "ViewOscillator.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "AlphaSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 88
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 91
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewOscillator$AlphaSet;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setAlpha(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,93 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewOscillator$CustomSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.source "ViewOscillator.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "CustomSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field protected mCustom:Landroidx/constraintlayout/widget/ConstraintAttribute;
|
||||
|
||||
.field value:[F
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
.line 163
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator;-><init>()V
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
.line 164
|
||||
new-array v0, v0, [F
|
||||
|
||||
iput-object v0, p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$CustomSet;->value:[F
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method protected setCustom(Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"custom"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 168
|
||||
check-cast p1, Landroidx/constraintlayout/widget/ConstraintAttribute;
|
||||
|
||||
iput-object p1, p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$CustomSet;->mCustom:Landroidx/constraintlayout/widget/ConstraintAttribute;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 173
|
||||
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$CustomSet;->value:[F
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewOscillator$CustomSet;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
aput p2, v0, v1
|
||||
|
||||
.line 174
|
||||
iget-object p2, p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$CustomSet;->mCustom:Landroidx/constraintlayout/widget/ConstraintAttribute;
|
||||
|
||||
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$CustomSet;->value:[F
|
||||
|
||||
invoke-static {p2, p1, v0}, Landroidx/constraintlayout/motion/utils/CustomSupport;->setInterpolatedValue(Landroidx/constraintlayout/widget/ConstraintAttribute;Landroid/view/View;[F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewOscillator$ElevationSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.source "ViewOscillator.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "ElevationSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 79
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 83
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewOscillator$ElevationSet;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setElevation(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,82 @@
|
||||
.class public Landroidx/constraintlayout/motion/utils/ViewOscillator$PathRotateSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.source "ViewOscillator.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "PathRotateSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 116
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setPathRotate(Landroid/view/View;FDD)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"dx",
|
||||
"dy"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 122
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewOscillator$PathRotateSet;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-static {p5, p6, p3, p4}, Ljava/lang/Math;->atan2(DD)D
|
||||
|
||||
move-result-wide p3
|
||||
|
||||
invoke-static {p3, p4}, Ljava/lang/Math;->toDegrees(D)D
|
||||
|
||||
move-result-wide p3
|
||||
|
||||
double-to-float p3, p3
|
||||
|
||||
add-float/2addr p2, p3
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotation(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,153 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewOscillator$ProgressSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.source "ViewOscillator.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "ProgressSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field mNoMethod:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
.line 178
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator;-><init>()V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
.line 179
|
||||
iput-boolean v0, p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$ProgressSet;->mNoMethod:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 8
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 183
|
||||
const-string v0, "unable to setProgress"
|
||||
|
||||
const-string v1, "ViewOscillator"
|
||||
|
||||
instance-of v2, p1, Landroidx/constraintlayout/motion/widget/MotionLayout;
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
.line 184
|
||||
check-cast p1, Landroidx/constraintlayout/motion/widget/MotionLayout;
|
||||
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewOscillator$ProgressSet;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setProgress(F)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 186
|
||||
:cond_0
|
||||
iget-boolean v2, p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$ProgressSet;->mNoMethod:Z
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
.line 191
|
||||
:try_start_0
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const-string v5, "setProgress"
|
||||
|
||||
new-array v6, v3, [Ljava/lang/Class;
|
||||
|
||||
sget-object v7, Ljava/lang/Float;->TYPE:Ljava/lang/Class;
|
||||
|
||||
aput-object v7, v6, v2
|
||||
|
||||
invoke-virtual {v4, v5, v6}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v4
|
||||
:try_end_0
|
||||
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 193
|
||||
:catch_0
|
||||
iput-boolean v3, p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$ProgressSet;->mNoMethod:Z
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v4, :cond_2
|
||||
|
||||
.line 197
|
||||
:try_start_1
|
||||
new-array v3, v3, [Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewOscillator$ProgressSet;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-static {p2}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
aput-object p2, v3, v2
|
||||
|
||||
invoke-virtual {v4, p1, v3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
:try_end_1
|
||||
.catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_2
|
||||
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_1} :catch_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catch_1
|
||||
move-exception p1
|
||||
|
||||
.line 201
|
||||
invoke-static {v1, v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catch_2
|
||||
move-exception p1
|
||||
|
||||
.line 199
|
||||
invoke-static {v1, v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.source "ViewOscillator.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "RotationSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 95
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 98
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationSet;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotation(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationXset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.source "ViewOscillator.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "RotationXset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 102
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 105
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationXset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotationX(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationYset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.source "ViewOscillator.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "RotationYset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 109
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 112
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationYset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotationY(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewOscillator$ScaleXset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.source "ViewOscillator.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "ScaleXset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 126
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 129
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewOscillator$ScaleXset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setScaleX(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewOscillator$ScaleYset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.source "ViewOscillator.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "ScaleYset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 133
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 136
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewOscillator$ScaleYset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setScaleY(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationXset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.source "ViewOscillator.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "TranslationXset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 140
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 143
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationXset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setTranslationX(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationYset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.source "ViewOscillator.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "TranslationYset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 147
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 150
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationYset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setTranslationY(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationZset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.source "ViewOscillator.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "TranslationZset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 154
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 158
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationZset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setTranslationZ(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,474 @@
|
||||
.class public abstract Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.super Landroidx/constraintlayout/core/motion/utils/KeyCycleOscillator;
|
||||
.source "ViewOscillator.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/constraintlayout/motion/utils/ViewOscillator$ProgressSet;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewOscillator$CustomSet;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationZset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationYset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationXset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewOscillator$ScaleYset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewOscillator$ScaleXset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewOscillator$PathRotateSet;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationYset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationXset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationSet;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewOscillator$AlphaSet;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewOscillator$ElevationSet;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field private static final TAG:Ljava/lang/String; = "ViewOscillator"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 36
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/core/motion/utils/KeyCycleOscillator;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static makeSpline(Ljava/lang/String;)Landroidx/constraintlayout/motion/utils/ViewOscillator;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"str"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 42
|
||||
const-string v0, "CUSTOM"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
.line 43
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$CustomSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$CustomSet;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 45
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Ljava/lang/String;->hashCode()I
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/String;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, -0x1
|
||||
|
||||
sparse-switch v0, :sswitch_data_0
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_0
|
||||
const-string v0, "waveOffset"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_1
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_1
|
||||
const/16 v1, 0xd
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_1
|
||||
const-string v0, "alpha"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_2
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_2
|
||||
const/16 v1, 0xc
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_2
|
||||
const-string v0, "transitionPathRotate"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_3
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_3
|
||||
const/16 v1, 0xb
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_3
|
||||
const-string v0, "elevation"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_4
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_4
|
||||
const/16 v1, 0xa
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_4
|
||||
const-string v0, "rotation"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_5
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_5
|
||||
const/16 v1, 0x9
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_5
|
||||
const-string v0, "waveVariesBy"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_6
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_6
|
||||
const/16 v1, 0x8
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_6
|
||||
const-string v0, "scaleY"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_7
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_7
|
||||
const/4 v1, 0x7
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_7
|
||||
const-string v0, "scaleX"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_8
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_8
|
||||
const/4 v1, 0x6
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_8
|
||||
const-string v0, "progress"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_9
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_9
|
||||
const/4 v1, 0x5
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_9
|
||||
const-string v0, "translationZ"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_a
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_a
|
||||
const/4 v1, 0x4
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_a
|
||||
const-string v0, "translationY"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_b
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_b
|
||||
const/4 v1, 0x3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_b
|
||||
const-string v0, "translationX"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_c
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_c
|
||||
const/4 v1, 0x2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_c
|
||||
const-string v0, "rotationY"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_d
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_d
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_d
|
||||
const-string v0, "rotationX"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_e
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_e
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
packed-switch v1, :pswitch_data_0
|
||||
|
||||
const/4 p0, 0x0
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 63
|
||||
:pswitch_0
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$AlphaSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$AlphaSet;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 47
|
||||
:pswitch_1
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$AlphaSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$AlphaSet;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 57
|
||||
:pswitch_2
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$PathRotateSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$PathRotateSet;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 49
|
||||
:pswitch_3
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$ElevationSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$ElevationSet;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 51
|
||||
:pswitch_4
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationSet;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 65
|
||||
:pswitch_5
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$AlphaSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$AlphaSet;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 61
|
||||
:pswitch_6
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$ScaleYset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$ScaleYset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 59
|
||||
:pswitch_7
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$ScaleXset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$ScaleXset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 73
|
||||
:pswitch_8
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$ProgressSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$ProgressSet;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 71
|
||||
:pswitch_9
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationZset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationZset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 69
|
||||
:pswitch_a
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationYset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationYset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 67
|
||||
:pswitch_b
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationXset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$TranslationXset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 55
|
||||
:pswitch_c
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationYset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationYset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 53
|
||||
:pswitch_d
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationXset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewOscillator$RotationXset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
nop
|
||||
|
||||
:sswitch_data_0
|
||||
.sparse-switch
|
||||
-0x4a771f66 -> :sswitch_d
|
||||
-0x4a771f65 -> :sswitch_c
|
||||
-0x490b9c39 -> :sswitch_b
|
||||
-0x490b9c38 -> :sswitch_a
|
||||
-0x490b9c37 -> :sswitch_9
|
||||
-0x3bab3dd3 -> :sswitch_8
|
||||
-0x3621dfb2 -> :sswitch_7
|
||||
-0x3621dfb1 -> :sswitch_6
|
||||
-0x2f893320 -> :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_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
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract setProperty(Landroid/view/View;F)V
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewSpline$AlphaSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "AlphaSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 91
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 94
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$AlphaSet;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setAlpha(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,291 @@
|
||||
.class public Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "CustomSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field mAttributeName:Ljava/lang/String;
|
||||
|
||||
.field mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroid/util/SparseArray<",
|
||||
"Landroidx/constraintlayout/widget/ConstraintAttribute;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field mTempValues:[F
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;Landroid/util/SparseArray;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"attribute",
|
||||
"attrList"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/String;",
|
||||
"Landroid/util/SparseArray<",
|
||||
"Landroidx/constraintlayout/widget/ConstraintAttribute;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 185
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
.line 186
|
||||
const-string v0, ","
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
aget-object p1, p1, v0
|
||||
|
||||
iput-object p1, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mAttributeName:Ljava/lang/String;
|
||||
|
||||
.line 187
|
||||
iput-object p2, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setPoint(IF)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"position",
|
||||
"value"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 212
|
||||
new-instance p1, Ljava/lang/RuntimeException;
|
||||
|
||||
const-string p2, "don\'t call for custom attribute call setPoint(pos, ConstraintAttribute)"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public setPoint(ILandroidx/constraintlayout/widget/ConstraintAttribute;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"position",
|
||||
"value"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 216
|
||||
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Landroid/util/SparseArray;->append(ILjava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 221
|
||||
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mCurveFit:Landroidx/constraintlayout/core/motion/utils/CurveFit;
|
||||
|
||||
float-to-double v1, p2
|
||||
|
||||
iget-object p2, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mTempValues:[F
|
||||
|
||||
invoke-virtual {v0, v1, v2, p2}, Landroidx/constraintlayout/core/motion/utils/CurveFit;->getPos(D[F)V
|
||||
|
||||
.line 222
|
||||
iget-object p2, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-virtual {p2, v0}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/constraintlayout/widget/ConstraintAttribute;
|
||||
|
||||
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mTempValues:[F
|
||||
|
||||
invoke-static {p2, p1, v0}, Landroidx/constraintlayout/motion/utils/CustomSupport;->setInterpolatedValue(Landroidx/constraintlayout/widget/ConstraintAttribute;Landroid/view/View;[F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setup(I)V
|
||||
.locals 11
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"curveType"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 191
|
||||
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
|
||||
invoke-virtual {v0}, Landroid/util/SparseArray;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
.line 192
|
||||
iget-object v1, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v1, v2}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Landroidx/constraintlayout/widget/ConstraintAttribute;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/constraintlayout/widget/ConstraintAttribute;->numberOfInterpolatedValues()I
|
||||
|
||||
move-result v1
|
||||
|
||||
.line 193
|
||||
new-array v3, v0, [D
|
||||
|
||||
.line 194
|
||||
new-array v4, v1, [F
|
||||
|
||||
iput-object v4, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mTempValues:[F
|
||||
|
||||
.line 195
|
||||
filled-new-array {v0, v1}, [I
|
||||
|
||||
move-result-object v1
|
||||
|
||||
sget-object v4, Ljava/lang/Double;->TYPE:Ljava/lang/Class;
|
||||
|
||||
invoke-static {v4, v1}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, [[D
|
||||
|
||||
move v4, v2
|
||||
|
||||
:goto_0
|
||||
if-ge v4, v0, :cond_1
|
||||
|
||||
.line 198
|
||||
iget-object v5, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
|
||||
invoke-virtual {v5, v4}, Landroid/util/SparseArray;->keyAt(I)I
|
||||
|
||||
move-result v5
|
||||
|
||||
.line 199
|
||||
iget-object v6, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
|
||||
invoke-virtual {v6, v4}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
check-cast v6, Landroidx/constraintlayout/widget/ConstraintAttribute;
|
||||
|
||||
int-to-double v7, v5
|
||||
|
||||
const-wide v9, 0x3f847ae147ae147bL # 0.01
|
||||
|
||||
mul-double/2addr v7, v9
|
||||
|
||||
.line 201
|
||||
aput-wide v7, v3, v4
|
||||
|
||||
.line 202
|
||||
iget-object v5, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mTempValues:[F
|
||||
|
||||
invoke-virtual {v6, v5}, Landroidx/constraintlayout/widget/ConstraintAttribute;->getValuesToInterpolate([F)V
|
||||
|
||||
move v5, v2
|
||||
|
||||
.line 203
|
||||
:goto_1
|
||||
iget-object v6, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mTempValues:[F
|
||||
|
||||
array-length v7, v6
|
||||
|
||||
if-ge v5, v7, :cond_0
|
||||
|
||||
.line 204
|
||||
aget-object v7, v1, v4
|
||||
|
||||
aget v6, v6, v5
|
||||
|
||||
float-to-double v8, v6
|
||||
|
||||
aput-wide v8, v7, v5
|
||||
|
||||
add-int/lit8 v5, v5, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
add-int/lit8 v4, v4, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 208
|
||||
:cond_1
|
||||
invoke-static {p1, v3, v1}, Landroidx/constraintlayout/core/motion/utils/CurveFit;->get(I[D[[D)Landroidx/constraintlayout/core/motion/utils/CurveFit;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;->mCurveFit:Landroidx/constraintlayout/core/motion/utils/CurveFit;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewSpline$ElevationSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "ElevationSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 82
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 86
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$ElevationSet;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setElevation(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,82 @@
|
||||
.class public Landroidx/constraintlayout/motion/utils/ViewSpline$PathRotate;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "PathRotate"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 133
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setPathRotate(Landroid/view/View;FDD)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"dx",
|
||||
"dy"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 139
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$PathRotate;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-static {p5, p6, p3, p4}, Ljava/lang/Math;->atan2(DD)D
|
||||
|
||||
move-result-wide p3
|
||||
|
||||
invoke-static {p3, p4}, Ljava/lang/Math;->toDegrees(D)D
|
||||
|
||||
move-result-wide p3
|
||||
|
||||
double-to-float p3, p3
|
||||
|
||||
add-float/2addr p2, p3
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotation(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewSpline$PivotXset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "PivotXset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 119
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 122
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$PivotXset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setPivotX(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewSpline$PivotYset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "PivotYset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 126
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 129
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$PivotYset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setPivotY(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,153 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewSpline$ProgressSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "ProgressSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field mNoMethod:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
.line 226
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
.line 227
|
||||
iput-boolean v0, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$ProgressSet;->mNoMethod:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 8
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 231
|
||||
const-string v0, "unable to setProgress"
|
||||
|
||||
const-string v1, "ViewSpline"
|
||||
|
||||
instance-of v2, p1, Landroidx/constraintlayout/motion/widget/MotionLayout;
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
.line 232
|
||||
check-cast p1, Landroidx/constraintlayout/motion/widget/MotionLayout;
|
||||
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$ProgressSet;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setProgress(F)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 234
|
||||
:cond_0
|
||||
iget-boolean v2, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$ProgressSet;->mNoMethod:Z
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
.line 239
|
||||
:try_start_0
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const-string v5, "setProgress"
|
||||
|
||||
new-array v6, v3, [Ljava/lang/Class;
|
||||
|
||||
sget-object v7, Ljava/lang/Float;->TYPE:Ljava/lang/Class;
|
||||
|
||||
aput-object v7, v6, v2
|
||||
|
||||
invoke-virtual {v4, v5, v6}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v4
|
||||
:try_end_0
|
||||
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 241
|
||||
:catch_0
|
||||
iput-boolean v3, p0, Landroidx/constraintlayout/motion/utils/ViewSpline$ProgressSet;->mNoMethod:Z
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v4, :cond_2
|
||||
|
||||
.line 245
|
||||
:try_start_1
|
||||
new-array v3, v3, [Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$ProgressSet;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-static {p2}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
aput-object p2, v3, v2
|
||||
|
||||
invoke-virtual {v4, p1, v3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
:try_end_1
|
||||
.catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_2
|
||||
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_1} :catch_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catch_1
|
||||
move-exception p1
|
||||
|
||||
.line 249
|
||||
invoke-static {v1, v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catch_2
|
||||
move-exception p1
|
||||
|
||||
.line 247
|
||||
invoke-static {v1, v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewSpline$RotationSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "RotationSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 98
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 101
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$RotationSet;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotation(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewSpline$RotationXset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "RotationXset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 105
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 108
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$RotationXset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotationX(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewSpline$RotationYset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "RotationYset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 112
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 115
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$RotationYset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotationY(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewSpline$ScaleXset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "ScaleXset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 143
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 146
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$ScaleXset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setScaleX(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewSpline$ScaleYset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "ScaleYset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 150
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 153
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$ScaleYset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setScaleY(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationXset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "TranslationXset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 157
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 160
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationXset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setTranslationX(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationYset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "TranslationYset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 164
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 167
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationYset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setTranslationY(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,50 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationZset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "TranslationZset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 171
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 175
|
||||
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationZset;->get(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setTranslationZ(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,543 @@
|
||||
.class public abstract Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.super Landroidx/constraintlayout/core/motion/utils/SplineSet;
|
||||
.source "ViewSpline.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$ProgressSet;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationZset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationYset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationXset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$ScaleYset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$ScaleXset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$PathRotate;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$PivotYset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$PivotXset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$RotationYset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$RotationXset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$RotationSet;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$AlphaSet;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewSpline$ElevationSet;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field private static final TAG:Ljava/lang/String; = "ViewSpline"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 32
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/core/motion/utils/SplineSet;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static makeCustomSpline(Ljava/lang/String;Landroid/util/SparseArray;)Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"str",
|
||||
"attrList"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/String;",
|
||||
"Landroid/util/SparseArray<",
|
||||
"Landroidx/constraintlayout/widget/ConstraintAttribute;",
|
||||
">;)",
|
||||
"Landroidx/constraintlayout/motion/utils/ViewSpline;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 36
|
||||
new-instance v0, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;
|
||||
|
||||
invoke-direct {v0, p0, p1}, Landroidx/constraintlayout/motion/utils/ViewSpline$CustomSet;-><init>(Ljava/lang/String;Landroid/util/SparseArray;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static makeSpline(Ljava/lang/String;)Landroidx/constraintlayout/motion/utils/ViewSpline;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"str"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 40
|
||||
invoke-virtual {p0}, Ljava/lang/String;->hashCode()I
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/String;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, -0x1
|
||||
|
||||
sparse-switch v0, :sswitch_data_0
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_0
|
||||
const-string v0, "waveOffset"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_0
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_0
|
||||
const/16 v1, 0xf
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_1
|
||||
const-string v0, "alpha"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_1
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_1
|
||||
const/16 v1, 0xe
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_2
|
||||
const-string v0, "transitionPathRotate"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_2
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_2
|
||||
const/16 v1, 0xd
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_3
|
||||
const-string v0, "elevation"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_3
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_3
|
||||
const/16 v1, 0xc
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_4
|
||||
const-string v0, "rotation"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_4
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_4
|
||||
const/16 v1, 0xb
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_5
|
||||
const-string v0, "transformPivotY"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_5
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_5
|
||||
const/16 v1, 0xa
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_6
|
||||
const-string v0, "transformPivotX"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_6
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_6
|
||||
const/16 v1, 0x9
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_7
|
||||
const-string v0, "waveVariesBy"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_7
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_7
|
||||
const/16 v1, 0x8
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_8
|
||||
const-string v0, "scaleY"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_8
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_8
|
||||
const/4 v1, 0x7
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_9
|
||||
const-string v0, "scaleX"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_9
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_9
|
||||
const/4 v1, 0x6
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_a
|
||||
const-string v0, "progress"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_a
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_a
|
||||
const/4 v1, 0x5
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_b
|
||||
const-string v0, "translationZ"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_b
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_b
|
||||
const/4 v1, 0x4
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_c
|
||||
const-string v0, "translationY"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_c
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_c
|
||||
const/4 v1, 0x3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_d
|
||||
const-string v0, "translationX"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_d
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_d
|
||||
const/4 v1, 0x2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_e
|
||||
const-string v0, "rotationY"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_e
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_e
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_f
|
||||
const-string v0, "rotationX"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_f
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_f
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
packed-switch v1, :pswitch_data_0
|
||||
|
||||
const/4 p0, 0x0
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 62
|
||||
:pswitch_0
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$AlphaSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$AlphaSet;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 42
|
||||
:pswitch_1
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$AlphaSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$AlphaSet;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 56
|
||||
:pswitch_2
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$PathRotate;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$PathRotate;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 44
|
||||
:pswitch_3
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$ElevationSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$ElevationSet;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 46
|
||||
:pswitch_4
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$RotationSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$RotationSet;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 54
|
||||
:pswitch_5
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$PivotYset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$PivotYset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 52
|
||||
:pswitch_6
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$PivotXset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$PivotXset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 64
|
||||
:pswitch_7
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$AlphaSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$AlphaSet;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 60
|
||||
:pswitch_8
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$ScaleYset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$ScaleYset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 58
|
||||
:pswitch_9
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$ScaleXset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$ScaleXset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 72
|
||||
:pswitch_a
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$ProgressSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$ProgressSet;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 70
|
||||
:pswitch_b
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationZset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationZset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 68
|
||||
:pswitch_c
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationYset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationYset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 66
|
||||
:pswitch_d
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationXset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$TranslationXset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 50
|
||||
:pswitch_e
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$RotationYset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$RotationYset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 48
|
||||
:pswitch_f
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewSpline$RotationXset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewSpline$RotationXset;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
nop
|
||||
|
||||
:sswitch_data_0
|
||||
.sparse-switch
|
||||
-0x4a771f66 -> :sswitch_f
|
||||
-0x4a771f65 -> :sswitch_e
|
||||
-0x490b9c39 -> :sswitch_d
|
||||
-0x490b9c38 -> :sswitch_c
|
||||
-0x490b9c37 -> :sswitch_b
|
||||
-0x3bab3dd3 -> :sswitch_a
|
||||
-0x3621dfb2 -> :sswitch_9
|
||||
-0x3621dfb1 -> :sswitch_8
|
||||
-0x2f893320 -> :sswitch_7
|
||||
-0x2d5a2d1e -> :sswitch_6
|
||||
-0x2d5a2d1d -> :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_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
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract setProperty(Landroid/view/View;F)V
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
@@ -0,0 +1,103 @@
|
||||
.class public Landroidx/constraintlayout/motion/utils/ViewState;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ViewState.java"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public bottom:I
|
||||
|
||||
.field public left:I
|
||||
|
||||
.field public right:I
|
||||
|
||||
.field public rotation:F
|
||||
|
||||
.field public top:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 23
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getState(Landroid/view/View;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"v"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 28
|
||||
invoke-virtual {p1}, Landroid/view/View;->getLeft()I
|
||||
|
||||
move-result v0
|
||||
|
||||
iput v0, p0, Landroidx/constraintlayout/motion/utils/ViewState;->left:I
|
||||
|
||||
.line 29
|
||||
invoke-virtual {p1}, Landroid/view/View;->getTop()I
|
||||
|
||||
move-result v0
|
||||
|
||||
iput v0, p0, Landroidx/constraintlayout/motion/utils/ViewState;->top:I
|
||||
|
||||
.line 30
|
||||
invoke-virtual {p1}, Landroid/view/View;->getRight()I
|
||||
|
||||
move-result v0
|
||||
|
||||
iput v0, p0, Landroidx/constraintlayout/motion/utils/ViewState;->right:I
|
||||
|
||||
.line 31
|
||||
invoke-virtual {p1}, Landroid/view/View;->getBottom()I
|
||||
|
||||
move-result v0
|
||||
|
||||
iput v0, p0, Landroidx/constraintlayout/motion/utils/ViewState;->bottom:I
|
||||
|
||||
.line 32
|
||||
invoke-virtual {p1}, Landroid/view/View;->getRotation()F
|
||||
|
||||
move-result p1
|
||||
|
||||
iput p1, p0, Landroidx/constraintlayout/motion/utils/ViewState;->rotation:F
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public height()I
|
||||
.locals 2
|
||||
|
||||
.line 40
|
||||
iget v0, p0, Landroidx/constraintlayout/motion/utils/ViewState;->bottom:I
|
||||
|
||||
iget v1, p0, Landroidx/constraintlayout/motion/utils/ViewState;->top:I
|
||||
|
||||
sub-int/2addr v0, v1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public width()I
|
||||
.locals 2
|
||||
|
||||
.line 36
|
||||
iget v0, p0, Landroidx/constraintlayout/motion/utils/ViewState;->right:I
|
||||
|
||||
iget v1, p0, Landroidx/constraintlayout/motion/utils/ViewState;->left:I
|
||||
|
||||
sub-int/2addr v0, v1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
@@ -0,0 +1,67 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewTimeCycle$AlphaSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.source "ViewTimeCycle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "AlphaSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 128
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;FJLandroidx/constraintlayout/core/motion/utils/KeyCache;)Z
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"time",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move v1, p2
|
||||
|
||||
move-wide v2, p3
|
||||
|
||||
move-object v4, p1
|
||||
|
||||
move-object v5, p5
|
||||
|
||||
.line 131
|
||||
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$AlphaSet;->get(FJLandroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setAlpha(F)V
|
||||
|
||||
.line 132
|
||||
iget-boolean p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$AlphaSet;->mContinue:Z
|
||||
|
||||
return p1
|
||||
.end method
|
||||
@@ -0,0 +1,557 @@
|
||||
.class public Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.source "ViewTimeCycle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "CustomSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field mAttributeName:Ljava/lang/String;
|
||||
|
||||
.field mCache:[F
|
||||
|
||||
.field mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroid/util/SparseArray<",
|
||||
"Landroidx/constraintlayout/widget/ConstraintAttribute;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field mTempValues:[F
|
||||
|
||||
.field mWaveProperties:Landroid/util/SparseArray;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroid/util/SparseArray<",
|
||||
"[F>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;Landroid/util/SparseArray;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"attribute",
|
||||
"attrList"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/String;",
|
||||
"Landroid/util/SparseArray<",
|
||||
"Landroidx/constraintlayout/widget/ConstraintAttribute;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 221
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;-><init>()V
|
||||
|
||||
.line 217
|
||||
new-instance v0, Landroid/util/SparseArray;
|
||||
|
||||
invoke-direct {v0}, Landroid/util/SparseArray;-><init>()V
|
||||
|
||||
iput-object v0, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mWaveProperties:Landroid/util/SparseArray;
|
||||
|
||||
.line 222
|
||||
const-string v0, ","
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
aget-object p1, p1, v0
|
||||
|
||||
iput-object p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mAttributeName:Ljava/lang/String;
|
||||
|
||||
.line 223
|
||||
iput-object p2, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setPoint(IFFIF)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"position",
|
||||
"value",
|
||||
"period",
|
||||
"shape",
|
||||
"offset"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 249
|
||||
new-instance p1, Ljava/lang/RuntimeException;
|
||||
|
||||
const-string p2, "don\'t call for custom attribute call setPoint(pos, ConstraintAttribute,...)"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public setPoint(ILandroidx/constraintlayout/widget/ConstraintAttribute;FIF)V
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"position",
|
||||
"value",
|
||||
"period",
|
||||
"shape",
|
||||
"offset"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 253
|
||||
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Landroid/util/SparseArray;->append(ILjava/lang/Object;)V
|
||||
|
||||
.line 254
|
||||
iget-object p2, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mWaveProperties:Landroid/util/SparseArray;
|
||||
|
||||
const/4 v0, 0x2
|
||||
|
||||
new-array v0, v0, [F
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
aput p3, v0, v1
|
||||
|
||||
const/4 p3, 0x1
|
||||
|
||||
aput p5, v0, p3
|
||||
|
||||
invoke-virtual {p2, p1, v0}, Landroid/util/SparseArray;->append(ILjava/lang/Object;)V
|
||||
|
||||
.line 255
|
||||
iget p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mWaveShape:I
|
||||
|
||||
invoke-static {p1, p4}, Ljava/lang/Math;->max(II)I
|
||||
|
||||
move-result p1
|
||||
|
||||
iput p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mWaveShape:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setProperty(Landroid/view/View;FJLandroidx/constraintlayout/core/motion/utils/KeyCache;)Z
|
||||
.locals 16
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"time",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
move-object/from16 v1, p1
|
||||
|
||||
move-wide/from16 v2, p3
|
||||
|
||||
.line 260
|
||||
iget-object v4, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mCurveFit:Landroidx/constraintlayout/core/motion/utils/CurveFit;
|
||||
|
||||
move/from16 v5, p2
|
||||
|
||||
float-to-double v5, v5
|
||||
|
||||
iget-object v7, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mTempValues:[F
|
||||
|
||||
invoke-virtual {v4, v5, v6, v7}, Landroidx/constraintlayout/core/motion/utils/CurveFit;->getPos(D[F)V
|
||||
|
||||
.line 261
|
||||
iget-object v4, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mTempValues:[F
|
||||
|
||||
array-length v5, v4
|
||||
|
||||
add-int/lit8 v5, v5, -0x2
|
||||
|
||||
aget v5, v4, v5
|
||||
|
||||
.line 262
|
||||
array-length v6, v4
|
||||
|
||||
const/4 v7, 0x1
|
||||
|
||||
sub-int/2addr v6, v7
|
||||
|
||||
aget v4, v4, v6
|
||||
|
||||
.line 263
|
||||
iget-wide v8, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->last_time:J
|
||||
|
||||
sub-long v8, v2, v8
|
||||
|
||||
.line 265
|
||||
iget v6, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->last_cycle:F
|
||||
|
||||
invoke-static {v6}, Ljava/lang/Float;->isNaN(F)Z
|
||||
|
||||
move-result v6
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
const/4 v11, 0x0
|
||||
|
||||
if-eqz v6, :cond_0
|
||||
|
||||
.line 266
|
||||
iget-object v6, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mAttributeName:Ljava/lang/String;
|
||||
|
||||
move-object/from16 v12, p5
|
||||
|
||||
invoke-virtual {v12, v1, v6, v11}, Landroidx/constraintlayout/core/motion/utils/KeyCache;->getFloatValue(Ljava/lang/Object;Ljava/lang/String;I)F
|
||||
|
||||
move-result v6
|
||||
|
||||
iput v6, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->last_cycle:F
|
||||
|
||||
.line 267
|
||||
iget v6, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->last_cycle:F
|
||||
|
||||
invoke-static {v6}, Ljava/lang/Float;->isNaN(F)Z
|
||||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_0
|
||||
|
||||
.line 268
|
||||
iput v10, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->last_cycle:F
|
||||
|
||||
.line 272
|
||||
:cond_0
|
||||
iget v6, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->last_cycle:F
|
||||
|
||||
float-to-double v12, v6
|
||||
|
||||
long-to-double v8, v8
|
||||
|
||||
const-wide v14, 0x3e112e0be826d695L # 1.0E-9
|
||||
|
||||
mul-double/2addr v8, v14
|
||||
|
||||
float-to-double v14, v5
|
||||
|
||||
mul-double/2addr v8, v14
|
||||
|
||||
add-double/2addr v12, v8
|
||||
|
||||
const-wide/high16 v8, 0x3ff0000000000000L # 1.0
|
||||
|
||||
rem-double/2addr v12, v8
|
||||
|
||||
double-to-float v6, v12
|
||||
|
||||
iput v6, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->last_cycle:F
|
||||
|
||||
.line 273
|
||||
iput-wide v2, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->last_time:J
|
||||
|
||||
.line 274
|
||||
iget v2, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->last_cycle:F
|
||||
|
||||
invoke-virtual {v0, v2}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->calcWave(F)F
|
||||
|
||||
move-result v2
|
||||
|
||||
.line 275
|
||||
iput-boolean v11, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mContinue:Z
|
||||
|
||||
move v3, v11
|
||||
|
||||
.line 276
|
||||
:goto_0
|
||||
iget-object v6, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mCache:[F
|
||||
|
||||
array-length v6, v6
|
||||
|
||||
if-ge v3, v6, :cond_2
|
||||
|
||||
.line 277
|
||||
iget-boolean v6, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mContinue:Z
|
||||
|
||||
iget-object v8, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mTempValues:[F
|
||||
|
||||
aget v8, v8, v3
|
||||
|
||||
float-to-double v8, v8
|
||||
|
||||
const-wide/16 v12, 0x0
|
||||
|
||||
cmpl-double v8, v8, v12
|
||||
|
||||
if-eqz v8, :cond_1
|
||||
|
||||
move v8, v7
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
move v8, v11
|
||||
|
||||
:goto_1
|
||||
or-int/2addr v6, v8
|
||||
|
||||
iput-boolean v6, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mContinue:Z
|
||||
|
||||
.line 278
|
||||
iget-object v6, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mCache:[F
|
||||
|
||||
iget-object v8, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mTempValues:[F
|
||||
|
||||
aget v8, v8, v3
|
||||
|
||||
mul-float/2addr v8, v2
|
||||
|
||||
add-float/2addr v8, v4
|
||||
|
||||
aput v8, v6, v3
|
||||
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 280
|
||||
:cond_2
|
||||
iget-object v2, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
|
||||
invoke-virtual {v2, v11}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Landroidx/constraintlayout/widget/ConstraintAttribute;
|
||||
|
||||
iget-object v3, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mCache:[F
|
||||
|
||||
invoke-static {v2, v1, v3}, Landroidx/constraintlayout/motion/utils/CustomSupport;->setInterpolatedValue(Landroidx/constraintlayout/widget/ConstraintAttribute;Landroid/view/View;[F)V
|
||||
|
||||
cmpl-float v1, v5, v10
|
||||
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
.line 282
|
||||
iput-boolean v7, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mContinue:Z
|
||||
|
||||
.line 284
|
||||
:cond_3
|
||||
iget-boolean v1, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mContinue:Z
|
||||
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method public setup(I)V
|
||||
.locals 13
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"curveType"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 227
|
||||
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
|
||||
invoke-virtual {v0}, Landroid/util/SparseArray;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
.line 228
|
||||
iget-object v1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v1, v2}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Landroidx/constraintlayout/widget/ConstraintAttribute;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/constraintlayout/widget/ConstraintAttribute;->numberOfInterpolatedValues()I
|
||||
|
||||
move-result v1
|
||||
|
||||
.line 229
|
||||
new-array v3, v0, [D
|
||||
|
||||
add-int/lit8 v4, v1, 0x2
|
||||
|
||||
.line 230
|
||||
new-array v5, v4, [F
|
||||
|
||||
iput-object v5, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mTempValues:[F
|
||||
|
||||
.line 231
|
||||
new-array v5, v1, [F
|
||||
|
||||
iput-object v5, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mCache:[F
|
||||
|
||||
.line 232
|
||||
filled-new-array {v0, v4}, [I
|
||||
|
||||
move-result-object v4
|
||||
|
||||
sget-object v5, Ljava/lang/Double;->TYPE:Ljava/lang/Class;
|
||||
|
||||
invoke-static {v5, v4}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
check-cast v4, [[D
|
||||
|
||||
move v5, v2
|
||||
|
||||
:goto_0
|
||||
if-ge v5, v0, :cond_1
|
||||
|
||||
.line 234
|
||||
iget-object v6, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
|
||||
invoke-virtual {v6, v5}, Landroid/util/SparseArray;->keyAt(I)I
|
||||
|
||||
move-result v6
|
||||
|
||||
.line 235
|
||||
iget-object v7, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mConstraintAttributeList:Landroid/util/SparseArray;
|
||||
|
||||
invoke-virtual {v7, v5}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
check-cast v7, Landroidx/constraintlayout/widget/ConstraintAttribute;
|
||||
|
||||
.line 236
|
||||
iget-object v8, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mWaveProperties:Landroid/util/SparseArray;
|
||||
|
||||
invoke-virtual {v8, v5}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
check-cast v8, [F
|
||||
|
||||
int-to-double v9, v6
|
||||
|
||||
const-wide v11, 0x3f847ae147ae147bL # 0.01
|
||||
|
||||
mul-double/2addr v9, v11
|
||||
|
||||
.line 237
|
||||
aput-wide v9, v3, v5
|
||||
|
||||
.line 238
|
||||
iget-object v6, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mTempValues:[F
|
||||
|
||||
invoke-virtual {v7, v6}, Landroidx/constraintlayout/widget/ConstraintAttribute;->getValuesToInterpolate([F)V
|
||||
|
||||
move v6, v2
|
||||
|
||||
.line 239
|
||||
:goto_1
|
||||
iget-object v7, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mTempValues:[F
|
||||
|
||||
array-length v9, v7
|
||||
|
||||
if-ge v6, v9, :cond_0
|
||||
|
||||
.line 240
|
||||
aget-object v9, v4, v5
|
||||
|
||||
aget v7, v7, v6
|
||||
|
||||
float-to-double v10, v7
|
||||
|
||||
aput-wide v10, v9, v6
|
||||
|
||||
add-int/lit8 v6, v6, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 242
|
||||
:cond_0
|
||||
aget-object v6, v4, v5
|
||||
|
||||
aget v7, v8, v2
|
||||
|
||||
float-to-double v9, v7
|
||||
|
||||
aput-wide v9, v6, v1
|
||||
|
||||
const/4 v7, 0x1
|
||||
|
||||
add-int/lit8 v9, v1, 0x1
|
||||
|
||||
.line 243
|
||||
aget v7, v8, v7
|
||||
|
||||
float-to-double v7, v7
|
||||
|
||||
aput-wide v7, v6, v9
|
||||
|
||||
add-int/lit8 v5, v5, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 245
|
||||
:cond_1
|
||||
invoke-static {p1, v3, v4}, Landroidx/constraintlayout/core/motion/utils/CurveFit;->get(I[D[[D)Landroidx/constraintlayout/core/motion/utils/CurveFit;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;->mCurveFit:Landroidx/constraintlayout/core/motion/utils/CurveFit;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,67 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ElevationSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.source "ViewTimeCycle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "ElevationSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 118
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;FJLandroidx/constraintlayout/core/motion/utils/KeyCache;)Z
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"time",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move v1, p2
|
||||
|
||||
move-wide v2, p3
|
||||
|
||||
move-object v4, p1
|
||||
|
||||
move-object v5, p5
|
||||
|
||||
.line 122
|
||||
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ElevationSet;->get(FJLandroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setElevation(F)V
|
||||
|
||||
.line 124
|
||||
iget-boolean p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ElevationSet;->mContinue:Z
|
||||
|
||||
return p1
|
||||
.end method
|
||||
@@ -0,0 +1,106 @@
|
||||
.class public Landroidx/constraintlayout/motion/utils/ViewTimeCycle$PathRotate;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.source "ViewTimeCycle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "PathRotate"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 160
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setPathRotate(Landroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;FJDD)Z
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"cache",
|
||||
"t",
|
||||
"time",
|
||||
"dx",
|
||||
"dy"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move v1, p3
|
||||
|
||||
move-wide v2, p4
|
||||
|
||||
move-object v4, p1
|
||||
|
||||
move-object v5, p2
|
||||
|
||||
.line 167
|
||||
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$PathRotate;->get(FJLandroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-static {p8, p9, p6, p7}, Ljava/lang/Math;->atan2(DD)D
|
||||
|
||||
move-result-wide p3
|
||||
|
||||
invoke-static {p3, p4}, Ljava/lang/Math;->toDegrees(D)D
|
||||
|
||||
move-result-wide p3
|
||||
|
||||
double-to-float p3, p3
|
||||
|
||||
add-float/2addr p2, p3
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotation(F)V
|
||||
|
||||
.line 168
|
||||
iget-boolean p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$PathRotate;->mContinue:Z
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setProperty(Landroid/view/View;FJLandroidx/constraintlayout/core/motion/utils/KeyCache;)Z
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"time",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 163
|
||||
iget-boolean p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$PathRotate;->mContinue:Z
|
||||
|
||||
return p1
|
||||
.end method
|
||||
@@ -0,0 +1,188 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ProgressSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.source "ViewTimeCycle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "ProgressSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field mNoMethod:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
.line 288
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;-><init>()V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
.line 289
|
||||
iput-boolean v0, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ProgressSet;->mNoMethod:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;FJLandroidx/constraintlayout/core/motion/utils/KeyCache;)Z
|
||||
.locals 13
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"time",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object v7, p0
|
||||
|
||||
move-object v0, p1
|
||||
|
||||
.line 293
|
||||
const-string v8, "unable to setProgress"
|
||||
|
||||
const-string v9, "ViewTimeCycle"
|
||||
|
||||
instance-of v1, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
.line 294
|
||||
move-object v8, v0
|
||||
|
||||
check-cast v8, Landroidx/constraintlayout/motion/widget/MotionLayout;
|
||||
|
||||
move-object v1, p0
|
||||
|
||||
move v2, p2
|
||||
|
||||
move-wide/from16 v3, p3
|
||||
|
||||
move-object v5, p1
|
||||
|
||||
move-object/from16 v6, p5
|
||||
|
||||
invoke-virtual/range {v1 .. v6}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ProgressSet;->get(FJLandroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;)F
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {v8, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setProgress(F)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 296
|
||||
:cond_0
|
||||
iget-boolean v1, v7, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ProgressSet;->mNoMethod:Z
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
return v10
|
||||
|
||||
:cond_1
|
||||
const/4 v1, 0x1
|
||||
|
||||
.line 301
|
||||
:try_start_0
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-string v3, "setProgress"
|
||||
|
||||
new-array v4, v1, [Ljava/lang/Class;
|
||||
|
||||
sget-object v5, Ljava/lang/Float;->TYPE:Ljava/lang/Class;
|
||||
|
||||
aput-object v5, v4, v10
|
||||
|
||||
invoke-virtual {v2, v3, v4}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v2
|
||||
:try_end_0
|
||||
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 303
|
||||
:catch_0
|
||||
iput-boolean v1, v7, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ProgressSet;->mNoMethod:Z
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
move-object v11, v2
|
||||
|
||||
if-eqz v11, :cond_2
|
||||
|
||||
.line 307
|
||||
:try_start_1
|
||||
new-array v12, v1, [Ljava/lang/Object;
|
||||
|
||||
move-object v1, p0
|
||||
|
||||
move v2, p2
|
||||
|
||||
move-wide/from16 v3, p3
|
||||
|
||||
move-object v5, p1
|
||||
|
||||
move-object/from16 v6, p5
|
||||
|
||||
invoke-virtual/range {v1 .. v6}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ProgressSet;->get(FJLandroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;)F
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
aput-object v1, v12, v10
|
||||
|
||||
invoke-virtual {v11, p1, v12}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
:try_end_1
|
||||
.catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_2
|
||||
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_1} :catch_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catch_1
|
||||
move-exception v0
|
||||
|
||||
.line 311
|
||||
invoke-static {v9, v8, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catch_2
|
||||
move-exception v0
|
||||
|
||||
.line 309
|
||||
invoke-static {v9, v8, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||||
|
||||
.line 315
|
||||
:cond_2
|
||||
:goto_1
|
||||
iget-boolean v0, v7, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ProgressSet;->mContinue:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
@@ -0,0 +1,67 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationSet;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.source "ViewTimeCycle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "RotationSet"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 136
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;FJLandroidx/constraintlayout/core/motion/utils/KeyCache;)Z
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"time",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move v1, p2
|
||||
|
||||
move-wide v2, p3
|
||||
|
||||
move-object v4, p1
|
||||
|
||||
move-object v5, p5
|
||||
|
||||
.line 139
|
||||
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationSet;->get(FJLandroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotation(F)V
|
||||
|
||||
.line 140
|
||||
iget-boolean p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationSet;->mContinue:Z
|
||||
|
||||
return p1
|
||||
.end method
|
||||
@@ -0,0 +1,67 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationXset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.source "ViewTimeCycle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "RotationXset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 144
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;FJLandroidx/constraintlayout/core/motion/utils/KeyCache;)Z
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"time",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move v1, p2
|
||||
|
||||
move-wide v2, p3
|
||||
|
||||
move-object v4, p1
|
||||
|
||||
move-object v5, p5
|
||||
|
||||
.line 147
|
||||
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationXset;->get(FJLandroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotationX(F)V
|
||||
|
||||
.line 148
|
||||
iget-boolean p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationXset;->mContinue:Z
|
||||
|
||||
return p1
|
||||
.end method
|
||||
@@ -0,0 +1,67 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationYset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.source "ViewTimeCycle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "RotationYset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 152
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;FJLandroidx/constraintlayout/core/motion/utils/KeyCache;)Z
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"time",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move v1, p2
|
||||
|
||||
move-wide v2, p3
|
||||
|
||||
move-object v4, p1
|
||||
|
||||
move-object v5, p5
|
||||
|
||||
.line 155
|
||||
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationYset;->get(FJLandroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotationY(F)V
|
||||
|
||||
.line 156
|
||||
iget-boolean p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationYset;->mContinue:Z
|
||||
|
||||
return p1
|
||||
.end method
|
||||
@@ -0,0 +1,67 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ScaleXset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.source "ViewTimeCycle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "ScaleXset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 172
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;FJLandroidx/constraintlayout/core/motion/utils/KeyCache;)Z
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"time",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move v1, p2
|
||||
|
||||
move-wide v2, p3
|
||||
|
||||
move-object v4, p1
|
||||
|
||||
move-object v5, p5
|
||||
|
||||
.line 175
|
||||
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ScaleXset;->get(FJLandroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setScaleX(F)V
|
||||
|
||||
.line 176
|
||||
iget-boolean p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ScaleXset;->mContinue:Z
|
||||
|
||||
return p1
|
||||
.end method
|
||||
@@ -0,0 +1,67 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ScaleYset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.source "ViewTimeCycle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "ScaleYset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 180
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;FJLandroidx/constraintlayout/core/motion/utils/KeyCache;)Z
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"time",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move v1, p2
|
||||
|
||||
move-wide v2, p3
|
||||
|
||||
move-object v4, p1
|
||||
|
||||
move-object v5, p5
|
||||
|
||||
.line 183
|
||||
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ScaleYset;->get(FJLandroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setScaleY(F)V
|
||||
|
||||
.line 184
|
||||
iget-boolean p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ScaleYset;->mContinue:Z
|
||||
|
||||
return p1
|
||||
.end method
|
||||
@@ -0,0 +1,67 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationXset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.source "ViewTimeCycle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "TranslationXset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 188
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;FJLandroidx/constraintlayout/core/motion/utils/KeyCache;)Z
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"time",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move v1, p2
|
||||
|
||||
move-wide v2, p3
|
||||
|
||||
move-object v4, p1
|
||||
|
||||
move-object v5, p5
|
||||
|
||||
.line 191
|
||||
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationXset;->get(FJLandroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setTranslationX(F)V
|
||||
|
||||
.line 192
|
||||
iget-boolean p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationXset;->mContinue:Z
|
||||
|
||||
return p1
|
||||
.end method
|
||||
@@ -0,0 +1,67 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationYset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.source "ViewTimeCycle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "TranslationYset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 196
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;FJLandroidx/constraintlayout/core/motion/utils/KeyCache;)Z
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"time",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move v1, p2
|
||||
|
||||
move-wide v2, p3
|
||||
|
||||
move-object v4, p1
|
||||
|
||||
move-object v5, p5
|
||||
|
||||
.line 199
|
||||
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationYset;->get(FJLandroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setTranslationY(F)V
|
||||
|
||||
.line 200
|
||||
iget-boolean p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationYset;->mContinue:Z
|
||||
|
||||
return p1
|
||||
.end method
|
||||
@@ -0,0 +1,67 @@
|
||||
.class Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationZset;
|
||||
.super Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.source "ViewTimeCycle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "TranslationZset"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 204
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setProperty(Landroid/view/View;FJLandroidx/constraintlayout/core/motion/utils/KeyCache;)Z
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"time",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move v1, p2
|
||||
|
||||
move-wide v2, p3
|
||||
|
||||
move-object v4, p1
|
||||
|
||||
move-object v5, p5
|
||||
|
||||
.line 208
|
||||
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationZset;->get(FJLandroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;)F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setTranslationZ(F)V
|
||||
|
||||
.line 210
|
||||
iget-boolean p1, p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationZset;->mContinue:Z
|
||||
|
||||
return p1
|
||||
.end method
|
||||
@@ -0,0 +1,627 @@
|
||||
.class public abstract Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.super Landroidx/constraintlayout/core/motion/utils/TimeCycleSplineSet;
|
||||
.source "ViewTimeCycle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ProgressSet;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationZset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationYset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationXset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ScaleYset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ScaleXset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewTimeCycle$PathRotate;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationYset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationXset;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationSet;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewTimeCycle$AlphaSet;,
|
||||
Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ElevationSet;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field private static final TAG:Ljava/lang/String; = "ViewTimeCycle"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 38
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/core/motion/utils/TimeCycleSplineSet;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static makeCustomSpline(Ljava/lang/String;Landroid/util/SparseArray;)Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"str",
|
||||
"attrList"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/String;",
|
||||
"Landroid/util/SparseArray<",
|
||||
"Landroidx/constraintlayout/widget/ConstraintAttribute;",
|
||||
">;)",
|
||||
"Landroidx/constraintlayout/motion/utils/ViewTimeCycle;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 69
|
||||
new-instance v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;
|
||||
|
||||
invoke-direct {v0, p0, p1}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$CustomSet;-><init>(Ljava/lang/String;Landroid/util/SparseArray;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static makeSpline(Ljava/lang/String;J)Landroidx/constraintlayout/motion/utils/ViewTimeCycle;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"str",
|
||||
"currentTime"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 74
|
||||
invoke-virtual {p0}, Ljava/lang/String;->hashCode()I
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/String;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, -0x1
|
||||
|
||||
sparse-switch v0, :sswitch_data_0
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_0
|
||||
const-string v0, "alpha"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_0
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_0
|
||||
const/16 v1, 0xb
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_1
|
||||
const-string v0, "transitionPathRotate"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_1
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_1
|
||||
const/16 v1, 0xa
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_2
|
||||
const-string v0, "elevation"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_2
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_2
|
||||
const/16 v1, 0x9
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_3
|
||||
const-string v0, "rotation"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_3
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_3
|
||||
const/16 v1, 0x8
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:sswitch_4
|
||||
const-string v0, "scaleY"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_4
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_4
|
||||
const/4 v1, 0x7
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_5
|
||||
const-string v0, "scaleX"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_5
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_5
|
||||
const/4 v1, 0x6
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_6
|
||||
const-string v0, "progress"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_6
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_6
|
||||
const/4 v1, 0x5
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_7
|
||||
const-string v0, "translationZ"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_7
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_7
|
||||
const/4 v1, 0x4
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_8
|
||||
const-string v0, "translationY"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_8
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_8
|
||||
const/4 v1, 0x3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_9
|
||||
const-string v0, "translationX"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_9
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_9
|
||||
const/4 v1, 0x2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_a
|
||||
const-string v0, "rotationY"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_a
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_a
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:sswitch_b
|
||||
const-string v0, "rotationX"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-nez p0, :cond_b
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_b
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
packed-switch v1, :pswitch_data_0
|
||||
|
||||
const/4 p0, 0x0
|
||||
|
||||
return-object p0
|
||||
|
||||
.line 76
|
||||
:pswitch_0
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$AlphaSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$AlphaSet;-><init>()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 91
|
||||
:pswitch_1
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$PathRotate;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$PathRotate;-><init>()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 79
|
||||
:pswitch_2
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ElevationSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ElevationSet;-><init>()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 82
|
||||
:pswitch_3
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationSet;-><init>()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 97
|
||||
:pswitch_4
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ScaleYset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ScaleYset;-><init>()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 94
|
||||
:pswitch_5
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ScaleXset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ScaleXset;-><init>()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 109
|
||||
:pswitch_6
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ProgressSet;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$ProgressSet;-><init>()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 106
|
||||
:pswitch_7
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationZset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationZset;-><init>()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 103
|
||||
:pswitch_8
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationYset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationYset;-><init>()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 100
|
||||
:pswitch_9
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationXset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$TranslationXset;-><init>()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 88
|
||||
:pswitch_a
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationYset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationYset;-><init>()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 85
|
||||
:pswitch_b
|
||||
new-instance p0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationXset;
|
||||
|
||||
invoke-direct {p0}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle$RotationXset;-><init>()V
|
||||
|
||||
.line 114
|
||||
:goto_1
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->setStartTime(J)V
|
||||
|
||||
return-object p0
|
||||
|
||||
:sswitch_data_0
|
||||
.sparse-switch
|
||||
-0x4a771f66 -> :sswitch_b
|
||||
-0x4a771f65 -> :sswitch_a
|
||||
-0x490b9c39 -> :sswitch_9
|
||||
-0x490b9c38 -> :sswitch_8
|
||||
-0x490b9c37 -> :sswitch_7
|
||||
-0x3bab3dd3 -> :sswitch_6
|
||||
-0x3621dfb2 -> :sswitch_5
|
||||
-0x3621dfb1 -> :sswitch_4
|
||||
-0x266f082 -> :sswitch_3
|
||||
-0x42d1a3 -> :sswitch_2
|
||||
0x2382115 -> :sswitch_1
|
||||
0x589b15e -> :sswitch_0
|
||||
.end sparse-switch
|
||||
|
||||
:pswitch_data_0
|
||||
.packed-switch 0x0
|
||||
: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
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public get(FJLandroid/view/View;Landroidx/constraintlayout/core/motion/utils/KeyCache;)F
|
||||
.locals 17
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"pos",
|
||||
"time",
|
||||
"view",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
move-wide/from16 v1, p2
|
||||
|
||||
move-object/from16 v3, p4
|
||||
|
||||
move-object/from16 v4, p5
|
||||
|
||||
.line 44
|
||||
iget-object v5, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->mCurveFit:Landroidx/constraintlayout/core/motion/utils/CurveFit;
|
||||
|
||||
move/from16 v6, p1
|
||||
|
||||
float-to-double v6, v6
|
||||
|
||||
iget-object v8, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->mCache:[F
|
||||
|
||||
invoke-virtual {v5, v6, v7, v8}, Landroidx/constraintlayout/core/motion/utils/CurveFit;->getPos(D[F)V
|
||||
|
||||
.line 45
|
||||
iget-object v5, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->mCache:[F
|
||||
|
||||
const/4 v6, 0x1
|
||||
|
||||
aget v5, v5, v6
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
cmpl-float v8, v5, v7
|
||||
|
||||
const/4 v9, 0x2
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
if-nez v8, :cond_0
|
||||
|
||||
.line 47
|
||||
iput-boolean v10, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->mContinue:Z
|
||||
|
||||
.line 48
|
||||
iget-object v1, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->mCache:[F
|
||||
|
||||
aget v1, v1, v9
|
||||
|
||||
return v1
|
||||
|
||||
.line 50
|
||||
:cond_0
|
||||
iget v11, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->last_cycle:F
|
||||
|
||||
invoke-static {v11}, Ljava/lang/Float;->isNaN(F)Z
|
||||
|
||||
move-result v11
|
||||
|
||||
if-eqz v11, :cond_1
|
||||
|
||||
.line 51
|
||||
iget-object v11, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->mType:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v4, v3, v11, v10}, Landroidx/constraintlayout/core/motion/utils/KeyCache;->getFloatValue(Ljava/lang/Object;Ljava/lang/String;I)F
|
||||
|
||||
move-result v11
|
||||
|
||||
iput v11, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->last_cycle:F
|
||||
|
||||
.line 52
|
||||
iget v11, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->last_cycle:F
|
||||
|
||||
invoke-static {v11}, Ljava/lang/Float;->isNaN(F)Z
|
||||
|
||||
move-result v11
|
||||
|
||||
if-eqz v11, :cond_1
|
||||
|
||||
.line 53
|
||||
iput v7, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->last_cycle:F
|
||||
|
||||
.line 56
|
||||
:cond_1
|
||||
iget-wide v11, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->last_time:J
|
||||
|
||||
sub-long v11, v1, v11
|
||||
|
||||
.line 57
|
||||
iget v13, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->last_cycle:F
|
||||
|
||||
float-to-double v13, v13
|
||||
|
||||
long-to-double v11, v11
|
||||
|
||||
const-wide v15, 0x3e112e0be826d695L # 1.0E-9
|
||||
|
||||
mul-double/2addr v11, v15
|
||||
|
||||
float-to-double v6, v5
|
||||
|
||||
mul-double/2addr v11, v6
|
||||
|
||||
add-double/2addr v13, v11
|
||||
|
||||
const-wide/high16 v5, 0x3ff0000000000000L # 1.0
|
||||
|
||||
rem-double/2addr v13, v5
|
||||
|
||||
double-to-float v5, v13
|
||||
|
||||
iput v5, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->last_cycle:F
|
||||
|
||||
.line 58
|
||||
iget-object v5, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->mType:Ljava/lang/String;
|
||||
|
||||
iget v6, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->last_cycle:F
|
||||
|
||||
invoke-virtual {v4, v3, v5, v10, v6}, Landroidx/constraintlayout/core/motion/utils/KeyCache;->setFloatValue(Ljava/lang/Object;Ljava/lang/String;IF)V
|
||||
|
||||
.line 59
|
||||
iput-wide v1, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->last_time:J
|
||||
|
||||
.line 60
|
||||
iget-object v1, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->mCache:[F
|
||||
|
||||
aget v1, v1, v10
|
||||
|
||||
.line 61
|
||||
iget v2, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->last_cycle:F
|
||||
|
||||
invoke-virtual {v0, v2}, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->calcWave(F)F
|
||||
|
||||
move-result v2
|
||||
|
||||
.line 62
|
||||
iget-object v3, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->mCache:[F
|
||||
|
||||
aget v3, v3, v9
|
||||
|
||||
mul-float/2addr v2, v1
|
||||
|
||||
add-float/2addr v2, v3
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
cmpl-float v1, v1, v3
|
||||
|
||||
if-nez v1, :cond_3
|
||||
|
||||
if-eqz v8, :cond_2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
move v6, v10
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
:goto_0
|
||||
const/4 v6, 0x1
|
||||
|
||||
.line 64
|
||||
:goto_1
|
||||
iput-boolean v6, v0, Landroidx/constraintlayout/motion/utils/ViewTimeCycle;->mContinue:Z
|
||||
|
||||
return v2
|
||||
.end method
|
||||
|
||||
.method public abstract setProperty(Landroid/view/View;FJLandroidx/constraintlayout/core/motion/utils/KeyCache;)Z
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"view",
|
||||
"t",
|
||||
"time",
|
||||
"cache"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
Reference in New Issue
Block a user