499 lines
12 KiB
Smali
499 lines
12 KiB
Smali
.class public Landroidx/constraintlayout/motion/widget/k$a;
|
|
.super Ljava/lang/Object;
|
|
.source "KeyPosition.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/constraintlayout/motion/widget/k;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final a:I = 0x1
|
|
|
|
.field public static final b:I = 0x2
|
|
|
|
.field public static final c:I = 0x3
|
|
|
|
.field public static final d:I = 0x4
|
|
|
|
.field public static final e:I = 0x5
|
|
|
|
.field public static final f:I = 0x6
|
|
|
|
.field public static final g:I = 0x7
|
|
|
|
.field public static final h:I = 0x8
|
|
|
|
.field public static final i:I = 0x9
|
|
|
|
.field public static final j:I = 0xa
|
|
|
|
.field public static final k:I = 0xb
|
|
|
|
.field public static final l:I = 0xc
|
|
|
|
.field public static m:Landroid/util/SparseIntArray;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
new-instance v0, Landroid/util/SparseIntArray;
|
|
|
|
invoke-direct {v0}, Landroid/util/SparseIntArray;-><init>()V
|
|
|
|
sput-object v0, Landroidx/constraintlayout/motion/widget/k$a;->m:Landroid/util/SparseIntArray;
|
|
|
|
.line 2
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->KeyPosition_motionTarget:I
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
.line 3
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/k$a;->m:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->KeyPosition_framePosition:I
|
|
|
|
const/4 v2, 0x2
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
.line 4
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/k$a;->m:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->KeyPosition_transitionEasing:I
|
|
|
|
const/4 v2, 0x3
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
.line 5
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/k$a;->m:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->KeyPosition_curveFit:I
|
|
|
|
const/4 v2, 0x4
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
.line 6
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/k$a;->m:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->KeyPosition_drawPath:I
|
|
|
|
const/4 v2, 0x5
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
.line 7
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/k$a;->m:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->KeyPosition_percentX:I
|
|
|
|
const/4 v2, 0x6
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
.line 8
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/k$a;->m:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->KeyPosition_percentY:I
|
|
|
|
const/4 v2, 0x7
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
.line 9
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/k$a;->m:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->KeyPosition_keyPositionType:I
|
|
|
|
const/16 v2, 0x9
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
.line 10
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/k$a;->m:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->KeyPosition_sizePercent:I
|
|
|
|
const/16 v2, 0x8
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
.line 11
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/k$a;->m:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->KeyPosition_percentWidth:I
|
|
|
|
const/16 v2, 0xb
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
.line 12
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/k$a;->m:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->KeyPosition_percentHeight:I
|
|
|
|
const/16 v2, 0xc
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
.line 13
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/k$a;->m:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->KeyPosition_pathMotionArc:I
|
|
|
|
const/16 v2, 0xa
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic a(Landroidx/constraintlayout/motion/widget/k;Landroid/content/res/TypedArray;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Landroidx/constraintlayout/motion/widget/k$a;->b(Landroidx/constraintlayout/motion/widget/k;Landroid/content/res/TypedArray;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static b(Landroidx/constraintlayout/motion/widget/k;Landroid/content/res/TypedArray;)V
|
|
.locals 8
|
|
|
|
.line 1
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->getIndexCount()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move v2, v1
|
|
|
|
:goto_0
|
|
const-string v3, "KeyPosition"
|
|
|
|
const/4 v4, -0x1
|
|
|
|
if-ge v2, v0, :cond_4
|
|
|
|
.line 2
|
|
invoke-virtual {p1, v2}, Landroid/content/res/TypedArray;->getIndex(I)I
|
|
|
|
move-result v5
|
|
|
|
.line 3
|
|
sget-object v6, Landroidx/constraintlayout/motion/widget/k$a;->m:Landroid/util/SparseIntArray;
|
|
|
|
invoke-virtual {v6, v5}, Landroid/util/SparseIntArray;->get(I)I
|
|
|
|
move-result v6
|
|
|
|
const/4 v7, 0x3
|
|
|
|
packed-switch v6, :pswitch_data_0
|
|
|
|
const-string v4, "unused attribute 0x"
|
|
|
|
.line 4
|
|
invoke-static {v4}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-static {v5}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v6, " "
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
sget-object v6, Landroidx/constraintlayout/motion/widget/k$a;->m:Landroid/util/SparseIntArray;
|
|
|
|
invoke-virtual {v6, v5}, Landroid/util/SparseIntArray;->get(I)I
|
|
|
|
move-result v5
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-static {v3, v4}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 5
|
|
:pswitch_0
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/k;->E:F
|
|
|
|
invoke-virtual {p1, v5, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v3
|
|
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/k;->E:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 6
|
|
:pswitch_1
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/k;->D:F
|
|
|
|
invoke-virtual {p1, v5, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v3
|
|
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/k;->D:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 7
|
|
:pswitch_2
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/k;->B:I
|
|
|
|
invoke-virtual {p1, v5, v3}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result v3
|
|
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/k;->B:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 8
|
|
:pswitch_3
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/k;->J:I
|
|
|
|
invoke-virtual {p1, v5, v3}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result v3
|
|
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/k;->J:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 9
|
|
:pswitch_4
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/k;->E:F
|
|
|
|
invoke-virtual {p1, v5, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v3
|
|
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/k;->D:F
|
|
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/k;->E:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 10
|
|
:pswitch_5
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/k;->G:F
|
|
|
|
invoke-virtual {p1, v5, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v3
|
|
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/k;->G:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 11
|
|
:pswitch_6
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/k;->F:F
|
|
|
|
invoke-virtual {p1, v5, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v3
|
|
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/k;->F:F
|
|
|
|
goto :goto_1
|
|
|
|
.line 12
|
|
:pswitch_7
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/k;->C:I
|
|
|
|
invoke-virtual {p1, v5, v3}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result v3
|
|
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/k;->C:I
|
|
|
|
goto :goto_1
|
|
|
|
.line 13
|
|
:pswitch_8
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/l;->y:I
|
|
|
|
invoke-virtual {p1, v5, v3}, Landroid/content/res/TypedArray;->getInteger(II)I
|
|
|
|
move-result v3
|
|
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/l;->y:I
|
|
|
|
goto :goto_1
|
|
|
|
.line 14
|
|
:pswitch_9
|
|
invoke-virtual {p1, v5}, Landroid/content/res/TypedArray;->peekValue(I)Landroid/util/TypedValue;
|
|
|
|
move-result-object v3
|
|
|
|
iget v3, v3, Landroid/util/TypedValue;->type:I
|
|
|
|
if-ne v3, v7, :cond_0
|
|
|
|
.line 15
|
|
invoke-virtual {p1, v5}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, p0, Landroidx/constraintlayout/motion/widget/k;->A:Ljava/lang/String;
|
|
|
|
goto :goto_1
|
|
|
|
.line 16
|
|
:cond_0
|
|
sget-object v3, Ls0/d;->k:[Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, v5, v1}, Landroid/content/res/TypedArray;->getInteger(II)I
|
|
|
|
move-result v4
|
|
|
|
aget-object v3, v3, v4
|
|
|
|
iput-object v3, p0, Landroidx/constraintlayout/motion/widget/k;->A:Ljava/lang/String;
|
|
|
|
goto :goto_1
|
|
|
|
.line 17
|
|
:pswitch_a
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/e;->a:I
|
|
|
|
invoke-virtual {p1, v5, v3}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result v3
|
|
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/e;->a:I
|
|
|
|
goto :goto_1
|
|
|
|
.line 18
|
|
:pswitch_b
|
|
sget-boolean v3, Landroidx/constraintlayout/motion/widget/MotionLayout;->a2:Z
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
.line 19
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/e;->b:I
|
|
|
|
invoke-virtual {p1, v5, v3}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result v3
|
|
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/e;->b:I
|
|
|
|
if-ne v3, v4, :cond_3
|
|
|
|
.line 20
|
|
invoke-virtual {p1, v5}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, p0, Landroidx/constraintlayout/motion/widget/e;->c:Ljava/lang/String;
|
|
|
|
goto :goto_1
|
|
|
|
.line 21
|
|
:cond_1
|
|
invoke-virtual {p1, v5}, Landroid/content/res/TypedArray;->peekValue(I)Landroid/util/TypedValue;
|
|
|
|
move-result-object v3
|
|
|
|
iget v3, v3, Landroid/util/TypedValue;->type:I
|
|
|
|
if-ne v3, v7, :cond_2
|
|
|
|
.line 22
|
|
invoke-virtual {p1, v5}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, p0, Landroidx/constraintlayout/motion/widget/e;->c:Ljava/lang/String;
|
|
|
|
goto :goto_1
|
|
|
|
.line 23
|
|
:cond_2
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/e;->b:I
|
|
|
|
invoke-virtual {p1, v5, v3}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result v3
|
|
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/e;->b:I
|
|
|
|
:cond_3
|
|
:goto_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 24
|
|
:cond_4
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/e;->a:I
|
|
|
|
if-ne p0, v4, :cond_5
|
|
|
|
const-string p0, "no frame position"
|
|
|
|
.line 25
|
|
invoke-static {v3, p0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
:cond_5
|
|
return-void
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
: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
|