5934 lines
159 KiB
Smali
5934 lines
159 KiB
Smali
.class public Landroidx/constraintlayout/widget/ConstraintSet;
|
|
.super Ljava/lang/Object;
|
|
.source "ConstraintSet.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final ALPHA:I = 0x2b
|
|
|
|
.field public static final BARRIER_ALLOWS_GONE_WIDGETS:I = 0x4a
|
|
|
|
.field public static final BARRIER_DIRECTION:I = 0x48
|
|
|
|
.field public static final BARRIER_TYPE:I = 0x1
|
|
|
|
.field public static final BASELINE:I = 0x5
|
|
|
|
.field public static final BASELINE_TO_BASELINE:I = 0x1
|
|
|
|
.field public static final BOTTOM:I = 0x4
|
|
|
|
.field public static final BOTTOM_MARGIN:I = 0x2
|
|
|
|
.field public static final BOTTOM_TO_BOTTOM:I = 0x3
|
|
|
|
.field public static final BOTTOM_TO_TOP:I = 0x4
|
|
|
|
.field public static final CHAIN_PACKED:I = 0x2
|
|
|
|
.field public static final CHAIN_SPREAD:I = 0x0
|
|
|
|
.field public static final CHAIN_SPREAD_INSIDE:I = 0x1
|
|
|
|
.field public static final CHAIN_USE_RTL:I = 0x47
|
|
|
|
.field public static final CIRCLE:I = 0x3d
|
|
|
|
.field public static final CIRCLE_ANGLE:I = 0x3f
|
|
|
|
.field public static final CIRCLE_RADIUS:I = 0x3e
|
|
|
|
.field public static final CONSTRAINT_REFERENCED_IDS:I = 0x49
|
|
|
|
.field public static final DEBUG:Z = false
|
|
|
|
.field public static final DIMENSION_RATIO:I = 0x5
|
|
|
|
.field public static final EDITOR_ABSOLUTE_X:I = 0x6
|
|
|
|
.field public static final EDITOR_ABSOLUTE_Y:I = 0x7
|
|
|
|
.field public static final ELEVATION:I = 0x2c
|
|
|
|
.field public static final END:I = 0x7
|
|
|
|
.field public static final END_MARGIN:I = 0x8
|
|
|
|
.field public static final END_TO_END:I = 0x9
|
|
|
|
.field public static final END_TO_START:I = 0xa
|
|
|
|
.field public static final GONE:I = 0x8
|
|
|
|
.field public static final GONE_BOTTOM_MARGIN:I = 0xb
|
|
|
|
.field public static final GONE_END_MARGIN:I = 0xc
|
|
|
|
.field public static final GONE_LEFT_MARGIN:I = 0xd
|
|
|
|
.field public static final GONE_RIGHT_MARGIN:I = 0xe
|
|
|
|
.field public static final GONE_START_MARGIN:I = 0xf
|
|
|
|
.field public static final GONE_TOP_MARGIN:I = 0x10
|
|
|
|
.field public static final GUIDE_BEGIN:I = 0x11
|
|
|
|
.field public static final GUIDE_END:I = 0x12
|
|
|
|
.field public static final GUIDE_PERCENT:I = 0x13
|
|
|
|
.field public static final HEIGHT_DEFAULT:I = 0x37
|
|
|
|
.field public static final HEIGHT_MAX:I = 0x39
|
|
|
|
.field public static final HEIGHT_MIN:I = 0x3b
|
|
|
|
.field public static final HEIGHT_PERCENT:I = 0x46
|
|
|
|
.field public static final HORIZONTAL:I = 0x0
|
|
|
|
.field public static final HORIZONTAL_BIAS:I = 0x14
|
|
|
|
.field public static final HORIZONTAL_GUIDELINE:I = 0x0
|
|
|
|
.field public static final HORIZONTAL_STYLE:I = 0x29
|
|
|
|
.field public static final HORIZONTAL_WEIGHT:I = 0x27
|
|
|
|
.field public static final INVISIBLE:I = 0x4
|
|
|
|
.field public static final LAYOUT_HEIGHT:I = 0x15
|
|
|
|
.field public static final LAYOUT_VISIBILITY:I = 0x16
|
|
|
|
.field public static final LAYOUT_WIDTH:I = 0x17
|
|
|
|
.field public static final LEFT:I = 0x1
|
|
|
|
.field public static final LEFT_MARGIN:I = 0x18
|
|
|
|
.field public static final LEFT_TO_LEFT:I = 0x19
|
|
|
|
.field public static final LEFT_TO_RIGHT:I = 0x1a
|
|
|
|
.field public static final MATCH_CONSTRAINT:I = 0x0
|
|
|
|
.field public static final MATCH_CONSTRAINT_SPREAD:I = 0x0
|
|
|
|
.field public static final MATCH_CONSTRAINT_WRAP:I = 0x1
|
|
|
|
.field public static final ORIENTATION:I = 0x1b
|
|
|
|
.field public static final PARENT_ID:I = 0x0
|
|
|
|
.field public static final RIGHT:I = 0x2
|
|
|
|
.field public static final RIGHT_MARGIN:I = 0x1c
|
|
|
|
.field public static final RIGHT_TO_LEFT:I = 0x1d
|
|
|
|
.field public static final RIGHT_TO_RIGHT:I = 0x1e
|
|
|
|
.field public static final ROTATION:I = 0x3c
|
|
|
|
.field public static final ROTATION_X:I = 0x2d
|
|
|
|
.field public static final ROTATION_Y:I = 0x2e
|
|
|
|
.field public static final SCALE_X:I = 0x2f
|
|
|
|
.field public static final SCALE_Y:I = 0x30
|
|
|
|
.field public static final START:I = 0x6
|
|
|
|
.field public static final START_MARGIN:I = 0x1f
|
|
|
|
.field public static final START_TO_END:I = 0x20
|
|
|
|
.field public static final START_TO_START:I = 0x21
|
|
|
|
.field public static final TAG:Ljava/lang/String; = "ConstraintSet"
|
|
|
|
.field public static final TOP:I = 0x3
|
|
|
|
.field public static final TOP_MARGIN:I = 0x22
|
|
|
|
.field public static final TOP_TO_BOTTOM:I = 0x23
|
|
|
|
.field public static final TOP_TO_TOP:I = 0x24
|
|
|
|
.field public static final TRANSFORM_PIVOT_X:I = 0x31
|
|
|
|
.field public static final TRANSFORM_PIVOT_Y:I = 0x32
|
|
|
|
.field public static final TRANSLATION_X:I = 0x33
|
|
|
|
.field public static final TRANSLATION_Y:I = 0x34
|
|
|
|
.field public static final TRANSLATION_Z:I = 0x35
|
|
|
|
.field public static final UNSET:I = -0x1
|
|
|
|
.field public static final UNUSED:I = 0x4b
|
|
|
|
.field public static final VERTICAL:I = 0x1
|
|
|
|
.field public static final VERTICAL_BIAS:I = 0x25
|
|
|
|
.field public static final VERTICAL_GUIDELINE:I = 0x1
|
|
|
|
.field public static final VERTICAL_STYLE:I = 0x2a
|
|
|
|
.field public static final VERTICAL_WEIGHT:I = 0x28
|
|
|
|
.field public static final VIEW_ID:I = 0x26
|
|
|
|
.field public static final VISIBILITY_FLAGS:[I
|
|
|
|
.field public static final VISIBLE:I = 0x0
|
|
|
|
.field public static final WIDTH_DEFAULT:I = 0x36
|
|
|
|
.field public static final WIDTH_MAX:I = 0x38
|
|
|
|
.field public static final WIDTH_MIN:I = 0x3a
|
|
|
|
.field public static final WIDTH_PERCENT:I = 0x45
|
|
|
|
.field public static final WRAP_CONTENT:I = -0x2
|
|
|
|
.field public static mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
|
|
# instance fields
|
|
.field public mConstraints:Ljava/util/HashMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/HashMap<",
|
|
"Ljava/lang/Integer;",
|
|
"Landroidx/constraintlayout/widget/ConstraintSet$Constraint;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
const/4 v0, 0x3
|
|
|
|
new-array v1, v0, [I
|
|
|
|
fill-array-data v1, :array_0
|
|
|
|
sput-object v1, Landroidx/constraintlayout/widget/ConstraintSet;->VISIBILITY_FLAGS:[I
|
|
|
|
new-instance v1, Landroid/util/SparseIntArray;
|
|
|
|
invoke-direct {v1}, Landroid/util/SparseIntArray;-><init>()V
|
|
|
|
sput-object v1, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v2, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintLeft_toLeftOf:I
|
|
|
|
const/16 v3, 0x19
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v1, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v2, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintLeft_toRightOf:I
|
|
|
|
const/16 v3, 0x1a
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v1, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v2, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintRight_toLeftOf:I
|
|
|
|
const/16 v3, 0x1d
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v1, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v2, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintRight_toRightOf:I
|
|
|
|
const/16 v3, 0x1e
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v1, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v2, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintTop_toTopOf:I
|
|
|
|
const/16 v3, 0x24
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v1, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v2, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintTop_toBottomOf:I
|
|
|
|
const/16 v3, 0x23
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v1, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v2, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintBottom_toTopOf:I
|
|
|
|
const/4 v3, 0x4
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v1, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v2, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintBottom_toBottomOf:I
|
|
|
|
invoke-virtual {v1, v2, v0}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintBaseline_toBaselineOf:I
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_editor_absoluteX:I
|
|
|
|
const/4 v2, 0x6
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_editor_absoluteY:I
|
|
|
|
const/4 v2, 0x7
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintGuide_begin:I
|
|
|
|
const/16 v2, 0x11
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintGuide_end:I
|
|
|
|
const/16 v2, 0x12
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintGuide_percent:I
|
|
|
|
const/16 v2, 0x13
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_orientation:I
|
|
|
|
const/16 v2, 0x1b
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintStart_toEndOf:I
|
|
|
|
const/16 v2, 0x20
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintStart_toStartOf:I
|
|
|
|
const/16 v2, 0x21
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintEnd_toStartOf:I
|
|
|
|
const/16 v2, 0xa
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintEnd_toEndOf:I
|
|
|
|
const/16 v2, 0x9
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_goneMarginLeft:I
|
|
|
|
const/16 v2, 0xd
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_goneMarginTop:I
|
|
|
|
const/16 v2, 0x10
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_goneMarginRight:I
|
|
|
|
const/16 v2, 0xe
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_goneMarginBottom:I
|
|
|
|
const/16 v2, 0xb
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_goneMarginStart:I
|
|
|
|
const/16 v2, 0xf
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_goneMarginEnd:I
|
|
|
|
const/16 v2, 0xc
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintVertical_weight:I
|
|
|
|
const/16 v2, 0x28
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintHorizontal_weight:I
|
|
|
|
const/16 v2, 0x27
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintHorizontal_chainStyle:I
|
|
|
|
const/16 v2, 0x29
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintVertical_chainStyle:I
|
|
|
|
const/16 v2, 0x2a
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintHorizontal_bias:I
|
|
|
|
const/16 v2, 0x14
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintVertical_bias:I
|
|
|
|
const/16 v2, 0x25
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintDimensionRatio:I
|
|
|
|
const/4 v2, 0x5
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintLeft_creator:I
|
|
|
|
const/16 v2, 0x4b
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintTop_creator:I
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintRight_creator:I
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintBottom_creator:I
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintBaseline_creator:I
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_layout_marginLeft:I
|
|
|
|
const/16 v2, 0x18
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_layout_marginRight:I
|
|
|
|
const/16 v2, 0x1c
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_layout_marginStart:I
|
|
|
|
const/16 v2, 0x1f
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_layout_marginEnd:I
|
|
|
|
const/16 v2, 0x8
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_layout_marginTop:I
|
|
|
|
const/16 v2, 0x22
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_layout_marginBottom:I
|
|
|
|
const/4 v2, 0x2
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_layout_width:I
|
|
|
|
const/16 v2, 0x17
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_layout_height:I
|
|
|
|
const/16 v2, 0x15
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_visibility:I
|
|
|
|
const/16 v2, 0x16
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_alpha:I
|
|
|
|
const/16 v2, 0x2b
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_elevation:I
|
|
|
|
const/16 v2, 0x2c
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_rotationX:I
|
|
|
|
const/16 v2, 0x2d
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_rotationY:I
|
|
|
|
const/16 v2, 0x2e
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_rotation:I
|
|
|
|
const/16 v2, 0x3c
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_scaleX:I
|
|
|
|
const/16 v2, 0x2f
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_scaleY:I
|
|
|
|
const/16 v2, 0x30
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_transformPivotX:I
|
|
|
|
const/16 v2, 0x31
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_transformPivotY:I
|
|
|
|
const/16 v2, 0x32
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_translationX:I
|
|
|
|
const/16 v2, 0x33
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_translationY:I
|
|
|
|
const/16 v2, 0x34
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_translationZ:I
|
|
|
|
const/16 v2, 0x35
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintWidth_default:I
|
|
|
|
const/16 v2, 0x36
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintHeight_default:I
|
|
|
|
const/16 v2, 0x37
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintWidth_max:I
|
|
|
|
const/16 v2, 0x38
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintHeight_max:I
|
|
|
|
const/16 v2, 0x39
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintWidth_min:I
|
|
|
|
const/16 v2, 0x3a
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintHeight_min:I
|
|
|
|
const/16 v2, 0x3b
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintCircle:I
|
|
|
|
const/16 v2, 0x3d
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintCircleRadius:I
|
|
|
|
const/16 v2, 0x3e
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintCircleAngle:I
|
|
|
|
const/16 v2, 0x3f
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_id:I
|
|
|
|
const/16 v2, 0x26
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintWidth_percent:I
|
|
|
|
const/16 v2, 0x45
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_layout_constraintHeight_percent:I
|
|
|
|
const/16 v2, 0x46
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_chainUseRtl:I
|
|
|
|
const/16 v2, 0x47
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_barrierDirection:I
|
|
|
|
const/16 v2, 0x48
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_constraint_referenced_ids:I
|
|
|
|
const/16 v2, 0x49
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
sget-object v0, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
sget v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_barrierAllowsGoneWidgets:I
|
|
|
|
const/16 v2, 0x4a
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/util/SparseIntArray;->append(II)V
|
|
|
|
return-void
|
|
|
|
:array_0
|
|
.array-data 4
|
|
0x0
|
|
0x4
|
|
0x8
|
|
.end array-data
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private convertReferenceString(Landroid/view/View;Ljava/lang/String;)[I
|
|
.locals 9
|
|
|
|
const-string v0, ","
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
array-length v1, p2
|
|
|
|
new-array v1, v1, [I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
:goto_0
|
|
array-length v5, p2
|
|
|
|
if-ge v3, v5, :cond_2
|
|
|
|
aget-object v5, p2, v3
|
|
|
|
invoke-virtual {v5}, Ljava/lang/String;->trim()Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
:try_start_0
|
|
const-class v6, Landroidx/constraintlayout/widget/R$id;
|
|
|
|
invoke-virtual {v6, v5}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;
|
|
|
|
move-result-object v6
|
|
|
|
const/4 v7, 0x0
|
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/reflect/Field;->getInt(Ljava/lang/Object;)I
|
|
|
|
move-result v6
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_1
|
|
|
|
:catch_0
|
|
const/4 v6, 0x0
|
|
|
|
:goto_1
|
|
if-nez v6, :cond_0
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
const-string v8, "id"
|
|
|
|
invoke-virtual {v6, v5, v8, v7}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
move-result v6
|
|
|
|
:cond_0
|
|
if-nez v6, :cond_1
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->isInEditMode()Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_1
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v7
|
|
|
|
instance-of v7, v7, Landroidx/constraintlayout/widget/ConstraintLayout;
|
|
|
|
if-eqz v7, :cond_1
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v7
|
|
|
|
check-cast v7, Landroidx/constraintlayout/widget/ConstraintLayout;
|
|
|
|
invoke-virtual {v7, v2, v5}, Landroidx/constraintlayout/widget/ConstraintLayout;->getDesignInformation(ILjava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
if-eqz v5, :cond_1
|
|
|
|
instance-of v7, v5, Ljava/lang/Integer;
|
|
|
|
if-eqz v7, :cond_1
|
|
|
|
check-cast v5, Ljava/lang/Integer;
|
|
|
|
invoke-virtual {v5}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v6
|
|
|
|
:cond_1
|
|
add-int/lit8 v5, v4, 0x1
|
|
|
|
aput v6, v1, v4
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
move v4, v5
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
array-length p1, p2
|
|
|
|
if-eq v4, p1, :cond_3
|
|
|
|
invoke-static {v1, v4}, Ljava/util/Arrays;->copyOf([II)[I
|
|
|
|
move-result-object v1
|
|
|
|
:cond_3
|
|
return-object v1
|
|
.end method
|
|
|
|
.method private createHorizontalChain(IIII[I[FIII)V
|
|
.locals 12
|
|
|
|
move-object v6, p0
|
|
|
|
move-object/from16 v7, p5
|
|
|
|
move-object/from16 v8, p6
|
|
|
|
array-length v0, v7
|
|
|
|
const-string v1, "must have 2 or more widgets in a chain"
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-lt v0, v2, :cond_5
|
|
|
|
if-eqz v8, :cond_1
|
|
|
|
array-length v0, v8
|
|
|
|
array-length v2, v7
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz v8, :cond_2
|
|
|
|
aget v1, v7, v0
|
|
|
|
invoke-direct {p0, v1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object v1
|
|
|
|
aget v2, v8, v0
|
|
|
|
iput v2, v1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalWeight:F
|
|
|
|
:cond_2
|
|
aget v1, v7, v0
|
|
|
|
invoke-direct {p0, v1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object v1
|
|
|
|
move/from16 v2, p7
|
|
|
|
iput v2, v1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalChainStyle:I
|
|
|
|
aget v1, v7, v0
|
|
|
|
const/4 v5, -0x1
|
|
|
|
move-object v0, p0
|
|
|
|
move/from16 v2, p8
|
|
|
|
move v3, p1
|
|
|
|
move v4, p2
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
const/4 v9, 0x1
|
|
|
|
const/4 v10, 0x1
|
|
|
|
:goto_1
|
|
array-length v0, v7
|
|
|
|
if-ge v10, v0, :cond_4
|
|
|
|
aget v0, v7, v10
|
|
|
|
aget v1, v7, v10
|
|
|
|
add-int/lit8 v11, v10, -0x1
|
|
|
|
aget v3, v7, v11
|
|
|
|
const/4 v5, -0x1
|
|
|
|
move-object v0, p0
|
|
|
|
move/from16 v2, p8
|
|
|
|
move/from16 v4, p9
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
aget v1, v7, v11
|
|
|
|
aget v3, v7, v10
|
|
|
|
move/from16 v2, p9
|
|
|
|
move/from16 v4, p8
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
if-eqz v8, :cond_3
|
|
|
|
aget v0, v7, v10
|
|
|
|
invoke-direct {p0, v0}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object v0
|
|
|
|
aget v1, v8, v10
|
|
|
|
iput v1, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalWeight:F
|
|
|
|
:cond_3
|
|
add-int/lit8 v10, v10, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
array-length v0, v7
|
|
|
|
sub-int/2addr v0, v9
|
|
|
|
aget v1, v7, v0
|
|
|
|
const/4 v5, -0x1
|
|
|
|
move-object v0, p0
|
|
|
|
move/from16 v2, p9
|
|
|
|
move v3, p3
|
|
|
|
move/from16 v4, p4
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
return-void
|
|
|
|
:cond_5
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method private fillFromAttributeList(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
.locals 2
|
|
|
|
new-instance v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;-><init>(Landroidx/constraintlayout/widget/ConstraintSet$1;)V
|
|
|
|
sget-object v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet:[I
|
|
|
|
invoke-virtual {p1, p2, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, v0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->populateConstraint(Landroidx/constraintlayout/widget/ConstraintSet$Constraint;Landroid/content/res/TypedArray;)V
|
|
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
new-instance v2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-direct {v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;-><init>(Landroidx/constraintlayout/widget/ConstraintSet$1;)V
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public static lookupID(Landroid/content/res/TypedArray;II)I
|
|
.locals 1
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result p2
|
|
|
|
const/4 v0, -0x1
|
|
|
|
if-ne p2, v0, :cond_0
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result p2
|
|
|
|
:cond_0
|
|
return p2
|
|
.end method
|
|
|
|
.method private populateConstraint(Landroidx/constraintlayout/widget/ConstraintSet$Constraint;Landroid/content/res/TypedArray;)V
|
|
.locals 7
|
|
|
|
invoke-virtual {p2}, Landroid/content/res/TypedArray;->getIndexCount()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_0
|
|
|
|
invoke-virtual {p2, v1}, Landroid/content/res/TypedArray;->getIndex(I)I
|
|
|
|
move-result v2
|
|
|
|
sget-object v3, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
invoke-virtual {v3, v2}, Landroid/util/SparseIntArray;->get(I)I
|
|
|
|
move-result v3
|
|
|
|
packed-switch v3, :pswitch_data_0
|
|
|
|
packed-switch v3, :pswitch_data_1
|
|
|
|
const/high16 v4, 0x3f800000 # 1.0f
|
|
|
|
const-string v5, " "
|
|
|
|
const-string v6, "ConstraintSet"
|
|
|
|
packed-switch v3, :pswitch_data_2
|
|
|
|
const-string v3, "Unknown attribute 0x"
|
|
|
|
invoke-static {v3}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
sget-object v4, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
invoke-virtual {v4, v2}, Landroid/util/SparseIntArray;->get(I)I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v6, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_0
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationZ:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimension(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationZ:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_1
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationY:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimension(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationY:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_2
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationX:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimension(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationX:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_3
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->transformPivotY:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->transformPivotY:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_4
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->transformPivotX:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->transformPivotX:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_5
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->scaleY:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->scaleY:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_6
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->scaleX:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->scaleX:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_7
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotationY:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotationY:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_8
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotationX:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotationX:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_9
|
|
const/4 v3, 0x1
|
|
|
|
iput-boolean v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->applyElevation:Z
|
|
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->elevation:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimension(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->elevation:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_a
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->alpha:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->alpha:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_b
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->verticalChainStyle:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->verticalChainStyle:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_c
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalChainStyle:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalChainStyle:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_d
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->verticalWeight:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->verticalWeight:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_e
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalWeight:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalWeight:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_f
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mViewId:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mViewId:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_10
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->verticalBias:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->verticalBias:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_11
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToTop:I
|
|
|
|
invoke-static {p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet;->lookupID(Landroid/content/res/TypedArray;II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToTop:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_12
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToBottom:I
|
|
|
|
invoke-static {p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet;->lookupID(Landroid/content/res/TypedArray;II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToBottom:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_13
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topMargin:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topMargin:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_14
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToStart:I
|
|
|
|
invoke-static {p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet;->lookupID(Landroid/content/res/TypedArray;II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToStart:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_15
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToEnd:I
|
|
|
|
invoke-static {p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet;->lookupID(Landroid/content/res/TypedArray;II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToEnd:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_16
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startMargin:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startMargin:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_17
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToRight:I
|
|
|
|
invoke-static {p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet;->lookupID(Landroid/content/res/TypedArray;II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToRight:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_18
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToLeft:I
|
|
|
|
invoke-static {p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet;->lookupID(Landroid/content/res/TypedArray;II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToLeft:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_19
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightMargin:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightMargin:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_1a
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->orientation:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->orientation:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_1b
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToRight:I
|
|
|
|
invoke-static {p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet;->lookupID(Landroid/content/res/TypedArray;II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToRight:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_1c
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToLeft:I
|
|
|
|
invoke-static {p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet;->lookupID(Landroid/content/res/TypedArray;II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToLeft:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_1d
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftMargin:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftMargin:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_1e
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mWidth:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getLayoutDimension(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mWidth:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_1f
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->visibility:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->visibility:I
|
|
|
|
sget-object v3, Landroidx/constraintlayout/widget/ConstraintSet;->VISIBILITY_FLAGS:[I
|
|
|
|
aget v2, v3, v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->visibility:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_20
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mHeight:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getLayoutDimension(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mHeight:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_21
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalBias:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalBias:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_22
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guidePercent:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guidePercent:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_23
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guideEnd:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guideEnd:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_24
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guideBegin:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guideBegin:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_25
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneTopMargin:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneTopMargin:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_26
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneStartMargin:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneStartMargin:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_27
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneRightMargin:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneRightMargin:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_28
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneLeftMargin:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneLeftMargin:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_29
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneEndMargin:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneEndMargin:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_2a
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneBottomMargin:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneBottomMargin:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_2b
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToStart:I
|
|
|
|
invoke-static {p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet;->lookupID(Landroid/content/res/TypedArray;II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToStart:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_2c
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToEnd:I
|
|
|
|
invoke-static {p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet;->lookupID(Landroid/content/res/TypedArray;II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToEnd:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_2d
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endMargin:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endMargin:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_2e
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->editorAbsoluteY:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->editorAbsoluteY:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_2f
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->editorAbsoluteX:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->editorAbsoluteX:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_30
|
|
invoke-virtual {p2, v2}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->dimensionRatio:Ljava/lang/String;
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_31
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToTop:I
|
|
|
|
invoke-static {p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet;->lookupID(Landroid/content/res/TypedArray;II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToTop:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_32
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToBottom:I
|
|
|
|
invoke-static {p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet;->lookupID(Landroid/content/res/TypedArray;II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToBottom:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_33
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomMargin:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomMargin:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_34
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->baselineToBaseline:I
|
|
|
|
invoke-static {p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet;->lookupID(Landroid/content/res/TypedArray;II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->baselineToBaseline:I
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_35
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->circleAngle:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->circleAngle:F
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_36
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->circleRadius:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->circleRadius:I
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_37
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->circleConstraint:I
|
|
|
|
invoke-static {p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet;->lookupID(Landroid/content/res/TypedArray;II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->circleConstraint:I
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_38
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotation:F
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotation:F
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_39
|
|
const-string v3, "unused attribute 0x"
|
|
|
|
invoke-static {v3}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
sget-object v4, Landroidx/constraintlayout/widget/ConstraintSet;->mapToConstant:Landroid/util/SparseIntArray;
|
|
|
|
invoke-virtual {v4, v2}, Landroid/util/SparseIntArray;->get(I)I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v6, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_3a
|
|
iget-boolean v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mBarrierAllowsGoneWidgets:Z
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v2
|
|
|
|
iput-boolean v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mBarrierAllowsGoneWidgets:Z
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_3b
|
|
invoke-virtual {p2, v2}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mReferenceIdString:Ljava/lang/String;
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_3c
|
|
iget v3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mBarrierDirection:I
|
|
|
|
invoke-virtual {p2, v2, v3}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mBarrierDirection:I
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_3d
|
|
const-string v2, "CURRENTLY UNSUPPORTED"
|
|
|
|
invoke-static {v6, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_3e
|
|
invoke-virtual {p2, v2, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->heightPercent:F
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_3f
|
|
invoke-virtual {p2, v2, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->widthPercent:F
|
|
|
|
:goto_1
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_34
|
|
:pswitch_33
|
|
:pswitch_32
|
|
:pswitch_31
|
|
:pswitch_30
|
|
:pswitch_2f
|
|
:pswitch_2e
|
|
:pswitch_2d
|
|
:pswitch_2c
|
|
:pswitch_2b
|
|
:pswitch_2a
|
|
:pswitch_29
|
|
:pswitch_28
|
|
:pswitch_27
|
|
:pswitch_26
|
|
:pswitch_25
|
|
:pswitch_24
|
|
:pswitch_23
|
|
:pswitch_22
|
|
:pswitch_21
|
|
:pswitch_20
|
|
:pswitch_1f
|
|
:pswitch_1e
|
|
:pswitch_1d
|
|
:pswitch_1c
|
|
:pswitch_1b
|
|
:pswitch_1a
|
|
:pswitch_19
|
|
:pswitch_18
|
|
:pswitch_17
|
|
:pswitch_16
|
|
:pswitch_15
|
|
:pswitch_14
|
|
:pswitch_13
|
|
:pswitch_12
|
|
:pswitch_11
|
|
:pswitch_10
|
|
: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
|
|
|
|
:pswitch_data_1
|
|
.packed-switch 0x3c
|
|
:pswitch_38
|
|
:pswitch_37
|
|
:pswitch_36
|
|
:pswitch_35
|
|
.end packed-switch
|
|
|
|
:pswitch_data_2
|
|
.packed-switch 0x45
|
|
:pswitch_3f
|
|
:pswitch_3e
|
|
:pswitch_3d
|
|
:pswitch_3c
|
|
:pswitch_3b
|
|
:pswitch_3a
|
|
:pswitch_39
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method private sideToString(I)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
const-string p1, "undefined"
|
|
|
|
return-object p1
|
|
|
|
:pswitch_0
|
|
const-string p1, "end"
|
|
|
|
return-object p1
|
|
|
|
:pswitch_1
|
|
const-string p1, "start"
|
|
|
|
return-object p1
|
|
|
|
:pswitch_2
|
|
const-string p1, "baseline"
|
|
|
|
return-object p1
|
|
|
|
:pswitch_3
|
|
const-string p1, "bottom"
|
|
|
|
return-object p1
|
|
|
|
:pswitch_4
|
|
const-string p1, "top"
|
|
|
|
return-object p1
|
|
|
|
:pswitch_5
|
|
const-string p1, "right"
|
|
|
|
return-object p1
|
|
|
|
:pswitch_6
|
|
const-string p1, "left"
|
|
|
|
return-object p1
|
|
|
|
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
|
|
|
|
|
|
# virtual methods
|
|
.method public addToHorizontalChain(III)V
|
|
.locals 8
|
|
|
|
const/4 v6, 0x1
|
|
|
|
const/4 v7, 0x2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
const/4 v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v4, 0x2
|
|
|
|
:goto_0
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v3, p2
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-nez p3, :cond_1
|
|
|
|
const/4 v4, 0x2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v4, 0x1
|
|
|
|
:goto_1
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v3, p3
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v4, 0x1
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p2
|
|
|
|
move v3, p1
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
:cond_2
|
|
if-eqz p3, :cond_3
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v4, 0x2
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p3
|
|
|
|
move v3, p1
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public addToHorizontalChainRTL(III)V
|
|
.locals 8
|
|
|
|
const/4 v6, 0x6
|
|
|
|
const/4 v7, 0x7
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
const/4 v4, 0x6
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v4, 0x7
|
|
|
|
:goto_0
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v2, 0x6
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v3, p2
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
const/4 v2, 0x7
|
|
|
|
if-nez p3, :cond_1
|
|
|
|
const/4 v4, 0x7
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v4, 0x6
|
|
|
|
:goto_1
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v3, p3
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
const/4 v2, 0x7
|
|
|
|
const/4 v4, 0x6
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p2
|
|
|
|
move v3, p1
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
:cond_2
|
|
if-eqz p3, :cond_3
|
|
|
|
const/4 v2, 0x6
|
|
|
|
const/4 v4, 0x7
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p3
|
|
|
|
move v3, p1
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public addToVerticalChain(III)V
|
|
.locals 14
|
|
|
|
const/4 v6, 0x3
|
|
|
|
const/4 v7, 0x4
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
const/4 v4, 0x3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v4, 0x4
|
|
|
|
:goto_0
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v2, 0x3
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move/from16 v3, p2
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
const/4 v10, 0x4
|
|
|
|
if-nez p3, :cond_1
|
|
|
|
const/4 v12, 0x4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v12, 0x3
|
|
|
|
:goto_1
|
|
const/4 v13, 0x0
|
|
|
|
move-object v8, p0
|
|
|
|
move v9, p1
|
|
|
|
move/from16 v11, p3
|
|
|
|
invoke-virtual/range {v8 .. v13}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
const/4 v2, 0x4
|
|
|
|
const/4 v4, 0x3
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move/from16 v1, p2
|
|
|
|
move v3, p1
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
:cond_2
|
|
if-eqz p2, :cond_3
|
|
|
|
const/4 v2, 0x3
|
|
|
|
const/4 v4, 0x4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move/from16 v1, p3
|
|
|
|
move v3, p1
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public applyTo(Landroidx/constraintlayout/widget/ConstraintLayout;)V
|
|
.locals 1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->applyToInternal(Landroidx/constraintlayout/widget/ConstraintLayout;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/constraintlayout/widget/ConstraintLayout;->setConstraintSet(Landroidx/constraintlayout/widget/ConstraintSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public applyToInternal(Landroidx/constraintlayout/widget/ConstraintLayout;)V
|
|
.locals 9
|
|
|
|
invoke-virtual {p1}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
new-instance v1, Ljava/util/HashSet;
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v2}, Ljava/util/HashMap;->keySet()Ljava/util/Set;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v1, v2}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
const/4 v3, -0x1
|
|
|
|
const/4 v4, 0x1
|
|
|
|
if-ge v2, v0, :cond_8
|
|
|
|
invoke-virtual {p1, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {v5}, Landroid/view/View;->getId()I
|
|
|
|
move-result v6
|
|
|
|
if-eq v6, v3, :cond_7
|
|
|
|
iget-object v7, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-virtual {v7, v8}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_6
|
|
|
|
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v1, v7}, Ljava/util/HashSet;->remove(Ljava/lang/Object;)Z
|
|
|
|
iget-object v7, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-virtual {v7, v8}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v7
|
|
|
|
check-cast v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
instance-of v8, v5, Landroidx/constraintlayout/widget/Barrier;
|
|
|
|
if-eqz v8, :cond_0
|
|
|
|
iput v4, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mHelperType:I
|
|
|
|
:cond_0
|
|
iget v8, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mHelperType:I
|
|
|
|
if-eq v8, v3, :cond_3
|
|
|
|
if-eq v8, v4, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move-object v3, v5
|
|
|
|
check-cast v3, Landroidx/constraintlayout/widget/Barrier;
|
|
|
|
invoke-virtual {v3, v6}, Landroid/view/View;->setId(I)V
|
|
|
|
iget v4, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mBarrierDirection:I
|
|
|
|
invoke-virtual {v3, v4}, Landroidx/constraintlayout/widget/Barrier;->setType(I)V
|
|
|
|
iget-boolean v4, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mBarrierAllowsGoneWidgets:Z
|
|
|
|
invoke-virtual {v3, v4}, Landroidx/constraintlayout/widget/Barrier;->setAllowsGoneWidget(Z)V
|
|
|
|
iget-object v4, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mReferenceIds:[I
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
invoke-virtual {v3, v4}, Landroidx/constraintlayout/widget/ConstraintHelper;->setReferencedIds([I)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
iget-object v4, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mReferenceIdString:Ljava/lang/String;
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
invoke-direct {p0, v3, v4}, Landroidx/constraintlayout/widget/ConstraintSet;->convertReferenceString(Landroid/view/View;Ljava/lang/String;)[I
|
|
|
|
move-result-object v4
|
|
|
|
iput-object v4, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mReferenceIds:[I
|
|
|
|
invoke-virtual {v3, v4}, Landroidx/constraintlayout/widget/ConstraintHelper;->setReferencedIds([I)V
|
|
|
|
:cond_3
|
|
:goto_1
|
|
invoke-virtual {v5}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
invoke-virtual {v7, v3}, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->applyTo(Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;)V
|
|
|
|
invoke-virtual {v5, v3}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->visibility:I
|
|
|
|
invoke-virtual {v5, v3}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->alpha:F
|
|
|
|
invoke-virtual {v5, v3}, Landroid/view/View;->setAlpha(F)V
|
|
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotation:F
|
|
|
|
invoke-virtual {v5, v3}, Landroid/view/View;->setRotation(F)V
|
|
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotationX:F
|
|
|
|
invoke-virtual {v5, v3}, Landroid/view/View;->setRotationX(F)V
|
|
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotationY:F
|
|
|
|
invoke-virtual {v5, v3}, Landroid/view/View;->setRotationY(F)V
|
|
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->scaleX:F
|
|
|
|
invoke-virtual {v5, v3}, Landroid/view/View;->setScaleX(F)V
|
|
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->scaleY:F
|
|
|
|
invoke-virtual {v5, v3}, Landroid/view/View;->setScaleY(F)V
|
|
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->transformPivotX:F
|
|
|
|
invoke-static {v3}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_4
|
|
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->transformPivotX:F
|
|
|
|
invoke-virtual {v5, v3}, Landroid/view/View;->setPivotX(F)V
|
|
|
|
:cond_4
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->transformPivotY:F
|
|
|
|
invoke-static {v3}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_5
|
|
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->transformPivotY:F
|
|
|
|
invoke-virtual {v5, v3}, Landroid/view/View;->setPivotY(F)V
|
|
|
|
:cond_5
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationX:F
|
|
|
|
invoke-virtual {v5, v3}, Landroid/view/View;->setTranslationX(F)V
|
|
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationY:F
|
|
|
|
invoke-virtual {v5, v3}, Landroid/view/View;->setTranslationY(F)V
|
|
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationZ:F
|
|
|
|
invoke-virtual {v5, v3}, Landroid/view/View;->setTranslationZ(F)V
|
|
|
|
iget-boolean v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->applyElevation:Z
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
iget v3, v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->elevation:F
|
|
|
|
invoke-virtual {v5, v3}, Landroid/view/View;->setElevation(F)V
|
|
|
|
:cond_6
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_7
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "All children of ConstraintLayout must have ids to use ConstraintSet"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_8
|
|
invoke-virtual {v1}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:cond_9
|
|
:goto_2
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_e
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/Integer;
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v2, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
iget v5, v2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mHelperType:I
|
|
|
|
if-eq v5, v3, :cond_d
|
|
|
|
if-eq v5, v4, :cond_a
|
|
|
|
goto :goto_4
|
|
|
|
:cond_a
|
|
new-instance v5, Landroidx/constraintlayout/widget/Barrier;
|
|
|
|
invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-direct {v5, v6}, Landroidx/constraintlayout/widget/Barrier;-><init>(Landroid/content/Context;)V
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v6
|
|
|
|
invoke-virtual {v5, v6}, Landroid/view/View;->setId(I)V
|
|
|
|
iget-object v6, v2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mReferenceIds:[I
|
|
|
|
if-eqz v6, :cond_b
|
|
|
|
invoke-virtual {v5, v6}, Landroidx/constraintlayout/widget/ConstraintHelper;->setReferencedIds([I)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_b
|
|
iget-object v6, v2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mReferenceIdString:Ljava/lang/String;
|
|
|
|
if-eqz v6, :cond_c
|
|
|
|
invoke-direct {p0, v5, v6}, Landroidx/constraintlayout/widget/ConstraintSet;->convertReferenceString(Landroid/view/View;Ljava/lang/String;)[I
|
|
|
|
move-result-object v6
|
|
|
|
iput-object v6, v2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mReferenceIds:[I
|
|
|
|
invoke-virtual {v5, v6}, Landroidx/constraintlayout/widget/ConstraintHelper;->setReferencedIds([I)V
|
|
|
|
:cond_c
|
|
:goto_3
|
|
iget v6, v2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mBarrierDirection:I
|
|
|
|
invoke-virtual {v5, v6}, Landroidx/constraintlayout/widget/Barrier;->setType(I)V
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/widget/ConstraintLayout;->generateDefaultLayoutParams()Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v5}, Landroidx/constraintlayout/widget/ConstraintHelper;->validateParams()V
|
|
|
|
invoke-virtual {v2, v6}, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->applyTo(Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;)V
|
|
|
|
invoke-virtual {p1, v5, v6}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
:cond_d
|
|
:goto_4
|
|
iget-boolean v5, v2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mIsGuideline:Z
|
|
|
|
if-eqz v5, :cond_9
|
|
|
|
new-instance v5, Landroidx/constraintlayout/widget/Guideline;
|
|
|
|
invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-direct {v5, v6}, Landroidx/constraintlayout/widget/Guideline;-><init>(Landroid/content/Context;)V
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v5, v1}, Landroid/view/View;->setId(I)V
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/widget/ConstraintLayout;->generateDefaultLayoutParams()Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v2, v1}, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->applyTo(Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;)V
|
|
|
|
invoke-virtual {p1, v5, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_e
|
|
return-void
|
|
.end method
|
|
|
|
.method public center(IIIIIIIF)V
|
|
.locals 8
|
|
|
|
move-object v6, p0
|
|
|
|
move v4, p3
|
|
|
|
move/from16 v7, p8
|
|
|
|
const-string v0, "margin must be > 0"
|
|
|
|
if-ltz p4, :cond_6
|
|
|
|
if-ltz p7, :cond_5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
cmpg-float v0, v7, v0
|
|
|
|
if-lez v0, :cond_4
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
cmpl-float v0, v7, v0
|
|
|
|
if-gtz v0, :cond_4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq v4, v0, :cond_3
|
|
|
|
const/4 v0, 0x2
|
|
|
|
if-ne v4, v0, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 v0, 0x6
|
|
|
|
if-eq v4, v0, :cond_2
|
|
|
|
const/4 v0, 0x7
|
|
|
|
if-ne v4, v0, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v2, 0x3
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v3, p2
|
|
|
|
move v4, p3
|
|
|
|
move v5, p4
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
const/4 v2, 0x4
|
|
|
|
move v3, p5
|
|
|
|
move v4, p6
|
|
|
|
move v5, p7
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
iget-object v0, v6, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
iput v7, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->verticalBias:F
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
:goto_0
|
|
const/4 v2, 0x6
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v3, p2
|
|
|
|
move v4, p3
|
|
|
|
move v5, p4
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
const/4 v2, 0x7
|
|
|
|
move v3, p5
|
|
|
|
move v4, p6
|
|
|
|
move v5, p7
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
iget-object v0, v6, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
iput v7, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalBias:F
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
:goto_1
|
|
const/4 v2, 0x1
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v3, p2
|
|
|
|
move v4, p3
|
|
|
|
move v5, p4
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
const/4 v2, 0x2
|
|
|
|
move v3, p5
|
|
|
|
move v4, p6
|
|
|
|
move v5, p7
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
iget-object v0, v6, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
iput v7, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalBias:F
|
|
|
|
:goto_2
|
|
return-void
|
|
|
|
:cond_4
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v1, "bias must be between 0 and 1 inclusive"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_5
|
|
new-instance v1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
|
|
:cond_6
|
|
new-instance v1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public centerHorizontally(II)V
|
|
.locals 9
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x2
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/high16 v8, 0x3f000000 # 0.5f
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
invoke-virtual/range {v0 .. v8}, Landroidx/constraintlayout/widget/ConstraintSet;->center(IIIIIIIF)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v3, 0x2
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v6, 0x1
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/high16 v8, 0x3f000000 # 0.5f
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v5, p2
|
|
|
|
invoke-virtual/range {v0 .. v8}, Landroidx/constraintlayout/widget/ConstraintSet;->center(IIIIIIIF)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public centerHorizontally(IIIIIIIF)V
|
|
.locals 9
|
|
|
|
const/4 v2, 0x1
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v3, p2
|
|
|
|
move v4, p3
|
|
|
|
move v5, p4
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
const/4 v5, 0x2
|
|
|
|
move-object v3, p0
|
|
|
|
move v4, p1
|
|
|
|
move v6, p5
|
|
|
|
move v7, p6
|
|
|
|
move/from16 v8, p7
|
|
|
|
invoke-virtual/range {v3 .. v8}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move/from16 v2, p8
|
|
|
|
iput v2, v1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalBias:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public centerHorizontallyRtl(II)V
|
|
.locals 9
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x6
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x7
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/high16 v8, 0x3f000000 # 0.5f
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
invoke-virtual/range {v0 .. v8}, Landroidx/constraintlayout/widget/ConstraintSet;->center(IIIIIIIF)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v3, 0x7
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v6, 0x6
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/high16 v8, 0x3f000000 # 0.5f
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v5, p2
|
|
|
|
invoke-virtual/range {v0 .. v8}, Landroidx/constraintlayout/widget/ConstraintSet;->center(IIIIIIIF)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public centerHorizontallyRtl(IIIIIIIF)V
|
|
.locals 9
|
|
|
|
const/4 v2, 0x6
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v3, p2
|
|
|
|
move v4, p3
|
|
|
|
move v5, p4
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
const/4 v5, 0x7
|
|
|
|
move-object v3, p0
|
|
|
|
move v4, p1
|
|
|
|
move v6, p5
|
|
|
|
move v7, p6
|
|
|
|
move/from16 v8, p7
|
|
|
|
invoke-virtual/range {v3 .. v8}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move/from16 v2, p8
|
|
|
|
iput v2, v1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalBias:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public centerVertically(II)V
|
|
.locals 9
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x4
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/high16 v8, 0x3f000000 # 0.5f
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
invoke-virtual/range {v0 .. v8}, Landroidx/constraintlayout/widget/ConstraintSet;->center(IIIIIIIF)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v3, 0x4
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v6, 0x3
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/high16 v8, 0x3f000000 # 0.5f
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v5, p2
|
|
|
|
invoke-virtual/range {v0 .. v8}, Landroidx/constraintlayout/widget/ConstraintSet;->center(IIIIIIIF)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public centerVertically(IIIIIIIF)V
|
|
.locals 9
|
|
|
|
const/4 v2, 0x3
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v3, p2
|
|
|
|
move v4, p3
|
|
|
|
move v5, p4
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
const/4 v5, 0x4
|
|
|
|
move-object v3, p0
|
|
|
|
move v4, p1
|
|
|
|
move v6, p5
|
|
|
|
move v7, p6
|
|
|
|
move/from16 v8, p7
|
|
|
|
invoke-virtual/range {v3 .. v8}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move/from16 v2, p8
|
|
|
|
iput v2, v1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->verticalBias:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public clear(I)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public clear(II)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
const/4 v0, -0x1
|
|
|
|
packed-switch p2, :pswitch_data_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "unknown constraint"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_0
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToStart:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToEnd:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endMargin:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneEndMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_1
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToEnd:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToStart:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startMargin:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneStartMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_2
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->baselineToBaseline:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_3
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToTop:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToBottom:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomMargin:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneBottomMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_4
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToBottom:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToTop:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topMargin:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneTopMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_5
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToRight:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToLeft:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightMargin:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneRightMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_6
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToRight:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToLeft:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftMargin:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneLeftMargin:I
|
|
|
|
:cond_0
|
|
:goto_0
|
|
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
|
|
|
|
.method public clone(Landroid/content/Context;I)V
|
|
.locals 1
|
|
|
|
invoke-static {p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p1, p2, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroidx/constraintlayout/widget/ConstraintLayout;
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->clone(Landroidx/constraintlayout/widget/ConstraintLayout;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public clone(Landroidx/constraintlayout/widget/ConstraintLayout;)V
|
|
.locals 11
|
|
|
|
invoke-virtual {p1}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
iget-object v1, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v1}, Ljava/util/HashMap;->clear()V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_6
|
|
|
|
invoke-virtual {p1, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getId()I
|
|
|
|
move-result v4
|
|
|
|
const/4 v5, -0x1
|
|
|
|
if-eq v4, v5, :cond_5
|
|
|
|
iget-object v5, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v5, v6}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v5
|
|
|
|
if-nez v5, :cond_0
|
|
|
|
iget-object v5, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v6
|
|
|
|
new-instance v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
const/4 v8, 0x0
|
|
|
|
invoke-direct {v7, v8}, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;-><init>(Landroidx/constraintlayout/widget/ConstraintSet$1;)V
|
|
|
|
invoke-virtual {v5, v6, v7}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
iget-object v5, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v5, v6}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
invoke-static {v5, v4, v3}, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->access$100(Landroidx/constraintlayout/widget/ConstraintSet$Constraint;ILandroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;)V
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getVisibility()I
|
|
|
|
move-result v3
|
|
|
|
iput v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->visibility:I
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getAlpha()F
|
|
|
|
move-result v3
|
|
|
|
iput v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->alpha:F
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getRotation()F
|
|
|
|
move-result v3
|
|
|
|
iput v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotation:F
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getRotationX()F
|
|
|
|
move-result v3
|
|
|
|
iput v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotationX:F
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getRotationY()F
|
|
|
|
move-result v3
|
|
|
|
iput v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotationY:F
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getScaleX()F
|
|
|
|
move-result v3
|
|
|
|
iput v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->scaleX:F
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getScaleY()F
|
|
|
|
move-result v3
|
|
|
|
iput v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->scaleY:F
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getPivotX()F
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getPivotY()F
|
|
|
|
move-result v4
|
|
|
|
float-to-double v6, v3
|
|
|
|
const-wide/16 v8, 0x0
|
|
|
|
cmpl-double v10, v6, v8
|
|
|
|
if-nez v10, :cond_1
|
|
|
|
float-to-double v6, v4
|
|
|
|
cmpl-double v10, v6, v8
|
|
|
|
if-eqz v10, :cond_2
|
|
|
|
:cond_1
|
|
iput v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->transformPivotX:F
|
|
|
|
iput v4, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->transformPivotY:F
|
|
|
|
:cond_2
|
|
invoke-virtual {v2}, Landroid/view/View;->getTranslationX()F
|
|
|
|
move-result v3
|
|
|
|
iput v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationX:F
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getTranslationY()F
|
|
|
|
move-result v3
|
|
|
|
iput v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationY:F
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getTranslationZ()F
|
|
|
|
move-result v3
|
|
|
|
iput v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationZ:F
|
|
|
|
iget-boolean v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->applyElevation:Z
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getElevation()F
|
|
|
|
move-result v3
|
|
|
|
iput v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->elevation:F
|
|
|
|
:cond_3
|
|
instance-of v3, v2, Landroidx/constraintlayout/widget/Barrier;
|
|
|
|
if-eqz v3, :cond_4
|
|
|
|
check-cast v2, Landroidx/constraintlayout/widget/Barrier;
|
|
|
|
invoke-virtual {v2}, Landroidx/constraintlayout/widget/Barrier;->allowsGoneWidget()Z
|
|
|
|
move-result v3
|
|
|
|
iput-boolean v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mBarrierAllowsGoneWidgets:Z
|
|
|
|
invoke-virtual {v2}, Landroidx/constraintlayout/widget/ConstraintHelper;->getReferencedIds()[I
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mReferenceIds:[I
|
|
|
|
invoke-virtual {v2}, Landroidx/constraintlayout/widget/Barrier;->getType()I
|
|
|
|
move-result v2
|
|
|
|
iput v2, v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mBarrierDirection:I
|
|
|
|
:cond_4
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_5
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "All children of ConstraintLayout must have ids to use ConstraintSet"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_6
|
|
return-void
|
|
.end method
|
|
|
|
.method public clone(Landroidx/constraintlayout/widget/ConstraintSet;)V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v0}, Ljava/util/HashMap;->clear()V
|
|
|
|
iget-object v0, p1, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v0}, Ljava/util/HashMap;->keySet()Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/Integer;
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
iget-object v3, p1, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v3, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
invoke-virtual {v3}, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->clone()Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v2, v1, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public clone(Landroidx/constraintlayout/widget/Constraints;)V
|
|
.locals 9
|
|
|
|
invoke-virtual {p1}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
iget-object v1, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v1}, Ljava/util/HashMap;->clear()V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_3
|
|
|
|
invoke-virtual {p1, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroidx/constraintlayout/widget/Constraints$LayoutParams;
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getId()I
|
|
|
|
move-result v4
|
|
|
|
const/4 v5, -0x1
|
|
|
|
if-eq v4, v5, :cond_2
|
|
|
|
iget-object v5, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v5, v6}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v5
|
|
|
|
if-nez v5, :cond_0
|
|
|
|
iget-object v5, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v6
|
|
|
|
new-instance v7, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
const/4 v8, 0x0
|
|
|
|
invoke-direct {v7, v8}, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;-><init>(Landroidx/constraintlayout/widget/ConstraintSet$1;)V
|
|
|
|
invoke-virtual {v5, v6, v7}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
iget-object v5, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v5, v6}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
instance-of v6, v2, Landroidx/constraintlayout/widget/ConstraintHelper;
|
|
|
|
if-eqz v6, :cond_1
|
|
|
|
check-cast v2, Landroidx/constraintlayout/widget/ConstraintHelper;
|
|
|
|
invoke-static {v5, v2, v4, v3}, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->access$200(Landroidx/constraintlayout/widget/ConstraintSet$Constraint;Landroidx/constraintlayout/widget/ConstraintHelper;ILandroidx/constraintlayout/widget/Constraints$LayoutParams;)V
|
|
|
|
:cond_1
|
|
invoke-static {v5, v4, v3}, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->access$300(Landroidx/constraintlayout/widget/ConstraintSet$Constraint;ILandroidx/constraintlayout/widget/Constraints$LayoutParams;)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "All children of ConstraintLayout must have ids to use ConstraintSet"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public connect(IIII)V
|
|
.locals 9
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
new-instance v2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-direct {v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;-><init>(Landroidx/constraintlayout/widget/ConstraintSet$1;)V
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v1, 0x7
|
|
|
|
const/4 v2, 0x6
|
|
|
|
const/4 v3, 0x4
|
|
|
|
const/4 v4, 0x3
|
|
|
|
const/4 v5, 0x1
|
|
|
|
const-string v6, "right to "
|
|
|
|
const-string v7, " undefined"
|
|
|
|
const/4 v8, -0x1
|
|
|
|
packed-switch p2, :pswitch_data_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance p3, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-direct {p0, p2}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p2, " to "
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
const-string p4, " unknown"
|
|
|
|
invoke-static {p3, p2, p4}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_0
|
|
if-ne p4, v1, :cond_1
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToEnd:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToStart:I
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_1
|
|
if-ne p4, v2, :cond_2
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToStart:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToEnd:I
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_2
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_1
|
|
if-ne p4, v2, :cond_3
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToStart:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToEnd:I
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_3
|
|
if-ne p4, v1, :cond_4
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToEnd:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToStart:I
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_4
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_2
|
|
const/4 p2, 0x5
|
|
|
|
if-ne p4, p2, :cond_5
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->baselineToBaseline:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToBottom:I
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_5
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_3
|
|
if-ne p4, v3, :cond_6
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->baselineToBaseline:I
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_6
|
|
if-ne p4, v4, :cond_7
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->baselineToBaseline:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_7
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_4
|
|
if-ne p4, v4, :cond_8
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->baselineToBaseline:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_8
|
|
if-ne p4, v3, :cond_9
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->baselineToBaseline:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_9
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_5
|
|
if-ne p4, v5, :cond_a
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToLeft:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToRight:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_a
|
|
if-ne p4, v0, :cond_b
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToRight:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToLeft:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_b
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_6
|
|
if-ne p4, v5, :cond_c
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToLeft:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToRight:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_c
|
|
if-ne p4, v0, :cond_d
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToRight:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToLeft:I
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:cond_d
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "left to "
|
|
|
|
invoke-static {p2}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
: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
|
|
|
|
.method public connect(IIIII)V
|
|
.locals 9
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
new-instance v2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-direct {v2, v3}, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;-><init>(Landroidx/constraintlayout/widget/ConstraintSet$1;)V
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v1, 0x7
|
|
|
|
const/4 v2, 0x6
|
|
|
|
const/4 v3, 0x4
|
|
|
|
const/4 v4, 0x3
|
|
|
|
const/4 v5, 0x1
|
|
|
|
const-string v6, "right to "
|
|
|
|
const-string v7, " undefined"
|
|
|
|
const/4 v8, -0x1
|
|
|
|
packed-switch p2, :pswitch_data_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance p3, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-direct {p0, p2}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p2, " to "
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
const-string p4, " unknown"
|
|
|
|
invoke-static {p3, p2, p4}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_0
|
|
if-ne p4, v1, :cond_1
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToEnd:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToStart:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
if-ne p4, v2, :cond_2
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToStart:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToEnd:I
|
|
|
|
:goto_0
|
|
iput p5, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endMargin:I
|
|
|
|
goto/16 :goto_6
|
|
|
|
:cond_2
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_1
|
|
if-ne p4, v2, :cond_3
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToStart:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToEnd:I
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
if-ne p4, v1, :cond_4
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToEnd:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToStart:I
|
|
|
|
:goto_1
|
|
iput p5, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startMargin:I
|
|
|
|
goto/16 :goto_6
|
|
|
|
:cond_4
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_2
|
|
const/4 p2, 0x5
|
|
|
|
if-ne p4, p2, :cond_5
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->baselineToBaseline:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToBottom:I
|
|
|
|
goto/16 :goto_6
|
|
|
|
:cond_5
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_3
|
|
if-ne p4, v3, :cond_6
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->baselineToBaseline:I
|
|
|
|
goto :goto_2
|
|
|
|
:cond_6
|
|
if-ne p4, v4, :cond_7
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->baselineToBaseline:I
|
|
|
|
:goto_2
|
|
iput p5, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomMargin:I
|
|
|
|
goto :goto_6
|
|
|
|
:cond_7
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_4
|
|
if-ne p4, v4, :cond_8
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->baselineToBaseline:I
|
|
|
|
goto :goto_3
|
|
|
|
:cond_8
|
|
if-ne p4, v3, :cond_9
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->baselineToBaseline:I
|
|
|
|
:goto_3
|
|
iput p5, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topMargin:I
|
|
|
|
goto :goto_6
|
|
|
|
:cond_9
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_5
|
|
if-ne p4, v5, :cond_a
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToLeft:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToRight:I
|
|
|
|
goto :goto_4
|
|
|
|
:cond_a
|
|
if-ne p4, v0, :cond_b
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToRight:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToLeft:I
|
|
|
|
:goto_4
|
|
iput p5, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightMargin:I
|
|
|
|
goto :goto_6
|
|
|
|
:cond_b
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_6
|
|
if-ne p4, v5, :cond_c
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToLeft:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToRight:I
|
|
|
|
goto :goto_5
|
|
|
|
:cond_c
|
|
if-ne p4, v0, :cond_d
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToRight:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToLeft:I
|
|
|
|
:goto_5
|
|
iput p5, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftMargin:I
|
|
|
|
:goto_6
|
|
return-void
|
|
|
|
:cond_d
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "Left to "
|
|
|
|
invoke-static {p2}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p4}, Landroidx/constraintlayout/widget/ConstraintSet;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
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
|
|
|
|
.method public constrainCircle(IIIF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->circleConstraint:I
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->circleRadius:I
|
|
|
|
iput p4, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->circleAngle:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constrainDefaultHeight(II)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->heightDefault:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constrainDefaultWidth(II)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->widthDefault:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constrainHeight(II)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mHeight:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constrainMaxHeight(II)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->heightMax:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constrainMaxWidth(II)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->widthMax:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constrainMinHeight(II)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->heightMin:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constrainMinWidth(II)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->widthMin:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constrainPercentHeight(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->heightPercent:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constrainPercentWidth(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->widthPercent:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constrainWidth(II)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mWidth:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public create(II)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mIsGuideline:Z
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->orientation:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public varargs createBarrier(II[I)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mHelperType:I
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mBarrierDirection:I
|
|
|
|
const/4 p2, 0x0
|
|
|
|
iput-boolean p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mIsGuideline:Z
|
|
|
|
iput-object p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mReferenceIds:[I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public createHorizontalChain(IIII[I[FI)V
|
|
.locals 10
|
|
|
|
const/4 v8, 0x1
|
|
|
|
const/4 v9, 0x2
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v3, p3
|
|
|
|
move v4, p4
|
|
|
|
move-object v5, p5
|
|
|
|
move-object/from16 v6, p6
|
|
|
|
move/from16 v7, p7
|
|
|
|
invoke-direct/range {v0 .. v9}, Landroidx/constraintlayout/widget/ConstraintSet;->createHorizontalChain(IIII[I[FIII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public createHorizontalChainRtl(IIII[I[FI)V
|
|
.locals 10
|
|
|
|
const/4 v8, 0x6
|
|
|
|
const/4 v9, 0x7
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v3, p3
|
|
|
|
move v4, p4
|
|
|
|
move-object v5, p5
|
|
|
|
move-object/from16 v6, p6
|
|
|
|
move/from16 v7, p7
|
|
|
|
invoke-direct/range {v0 .. v9}, Landroidx/constraintlayout/widget/ConstraintSet;->createHorizontalChain(IIII[I[FIII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public createVerticalChain(IIII[I[FI)V
|
|
.locals 12
|
|
|
|
move-object v6, p0
|
|
|
|
move-object/from16 v7, p5
|
|
|
|
move-object/from16 v8, p6
|
|
|
|
array-length v0, v7
|
|
|
|
const-string v1, "must have 2 or more widgets in a chain"
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-lt v0, v2, :cond_5
|
|
|
|
if-eqz v8, :cond_1
|
|
|
|
array-length v0, v8
|
|
|
|
array-length v2, v7
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz v8, :cond_2
|
|
|
|
aget v1, v7, v0
|
|
|
|
invoke-direct {p0, v1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object v1
|
|
|
|
aget v2, v8, v0
|
|
|
|
iput v2, v1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->verticalWeight:F
|
|
|
|
:cond_2
|
|
aget v1, v7, v0
|
|
|
|
invoke-direct {p0, v1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object v1
|
|
|
|
move/from16 v2, p7
|
|
|
|
iput v2, v1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->verticalChainStyle:I
|
|
|
|
aget v1, v7, v0
|
|
|
|
const/4 v2, 0x3
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v3, p1
|
|
|
|
move v4, p2
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
const/4 v9, 0x1
|
|
|
|
const/4 v10, 0x1
|
|
|
|
:goto_1
|
|
array-length v0, v7
|
|
|
|
if-ge v10, v0, :cond_4
|
|
|
|
aget v0, v7, v10
|
|
|
|
aget v1, v7, v10
|
|
|
|
const/4 v2, 0x3
|
|
|
|
add-int/lit8 v11, v10, -0x1
|
|
|
|
aget v3, v7, v11
|
|
|
|
const/4 v4, 0x4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
aget v1, v7, v11
|
|
|
|
const/4 v2, 0x4
|
|
|
|
aget v3, v7, v10
|
|
|
|
const/4 v4, 0x3
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
if-eqz v8, :cond_3
|
|
|
|
aget v0, v7, v10
|
|
|
|
invoke-direct {p0, v0}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object v0
|
|
|
|
aget v1, v8, v10
|
|
|
|
iput v1, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->verticalWeight:F
|
|
|
|
:cond_3
|
|
add-int/lit8 v10, v10, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
array-length v0, v7
|
|
|
|
sub-int/2addr v0, v9
|
|
|
|
aget v1, v7, v0
|
|
|
|
const/4 v2, 0x4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v3, p3
|
|
|
|
move/from16 v4, p4
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
return-void
|
|
|
|
:cond_5
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public getApplyElevation(I)Z
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iget-boolean p1, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->applyElevation:Z
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public getParameters(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public load(Landroid/content/Context;I)V
|
|
.locals 4
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p2}, Landroid/content/res/Resources;->getXml(I)Landroid/content/res/XmlResourceParser;
|
|
|
|
move-result-object p2
|
|
|
|
:try_start_0
|
|
invoke-interface {p2}, Lorg/xmlpull/v1/XmlPullParser;->getEventType()I
|
|
|
|
move-result v0
|
|
|
|
:goto_0
|
|
const/4 v1, 0x1
|
|
|
|
if-eq v0, v1, :cond_3
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-eq v0, v2, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
invoke-interface {p2}, Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p2}, Landroid/util/Xml;->asAttributeSet(Lorg/xmlpull/v1/XmlPullParser;)Landroid/util/AttributeSet;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {p0, p1, v2}, Landroidx/constraintlayout/widget/ConstraintSet;->fillFromAttributeList(Landroid/content/Context;Landroid/util/AttributeSet;)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "Guideline"
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iput-boolean v1, v2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mIsGuideline:Z
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
iget v1, v2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->mViewId:I
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
invoke-interface {p2}, Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String;
|
|
|
|
:goto_1
|
|
invoke-interface {p2}, Lorg/xmlpull/v1/XmlPullParser;->next()I
|
|
|
|
move-result v0
|
|
:try_end_0
|
|
.catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
invoke-virtual {p1}, Ljava/io/IOException;->printStackTrace()V
|
|
|
|
goto :goto_2
|
|
|
|
:catch_1
|
|
move-exception p1
|
|
|
|
invoke-virtual {p1}, Lorg/xmlpull/v1/XmlPullParserException;->printStackTrace()V
|
|
|
|
:cond_3
|
|
:goto_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeFromHorizontalChain(I)V
|
|
.locals 8
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
iget v6, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToRight:I
|
|
|
|
iget v7, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToLeft:I
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-ne v6, v1, :cond_6
|
|
|
|
if-eq v7, v1, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
iget v2, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startToEnd:I
|
|
|
|
iget v7, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endToStart:I
|
|
|
|
if-ne v2, v1, :cond_1
|
|
|
|
if-eq v7, v1, :cond_5
|
|
|
|
:cond_1
|
|
if-eq v2, v1, :cond_2
|
|
|
|
if-eq v7, v1, :cond_2
|
|
|
|
const/4 v3, 0x7
|
|
|
|
const/4 v4, 0x6
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, v2
|
|
|
|
move v2, v3
|
|
|
|
move v3, v7
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
const/4 v2, 0x6
|
|
|
|
const/4 v4, 0x7
|
|
|
|
move v1, v7
|
|
|
|
move v3, v6
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
if-ne v6, v1, :cond_3
|
|
|
|
if-eq v7, v1, :cond_5
|
|
|
|
:cond_3
|
|
iget v3, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToRight:I
|
|
|
|
if-eq v3, v1, :cond_4
|
|
|
|
const/4 v2, 0x7
|
|
|
|
const/4 v4, 0x7
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, v6
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
iget v3, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToLeft:I
|
|
|
|
if-eq v3, v1, :cond_5
|
|
|
|
const/4 v2, 0x6
|
|
|
|
const/4 v4, 0x6
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, v7
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
:cond_5
|
|
:goto_0
|
|
const/4 v0, 0x6
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroidx/constraintlayout/widget/ConstraintSet;->clear(II)V
|
|
|
|
const/4 v0, 0x7
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroidx/constraintlayout/widget/ConstraintSet;->clear(II)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
:goto_1
|
|
if-eq v6, v1, :cond_7
|
|
|
|
if-eq v7, v1, :cond_7
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v4, 0x1
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, v6
|
|
|
|
move v3, v7
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v4, 0x2
|
|
|
|
move v1, v7
|
|
|
|
move v3, v6
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_7
|
|
if-ne v6, v1, :cond_8
|
|
|
|
if-eq v7, v1, :cond_a
|
|
|
|
:cond_8
|
|
iget v3, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightToRight:I
|
|
|
|
if-eq v3, v1, :cond_9
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v4, 0x2
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, v6
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_9
|
|
iget v3, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftToLeft:I
|
|
|
|
if-eq v3, v1, :cond_a
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v4, 0x1
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, v7
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
:cond_a
|
|
:goto_2
|
|
const/4 v0, 0x1
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroidx/constraintlayout/widget/ConstraintSet;->clear(II)V
|
|
|
|
const/4 v0, 0x2
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroidx/constraintlayout/widget/ConstraintSet;->clear(II)V
|
|
|
|
:cond_b
|
|
:goto_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeFromVerticalChain(I)V
|
|
.locals 9
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintSet;->mConstraints:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
iget v7, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToBottom:I
|
|
|
|
iget v8, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToTop:I
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-ne v7, v1, :cond_0
|
|
|
|
if-eq v8, v1, :cond_4
|
|
|
|
:cond_0
|
|
if-eq v7, v1, :cond_1
|
|
|
|
if-eq v8, v1, :cond_1
|
|
|
|
const/4 v3, 0x4
|
|
|
|
const/4 v5, 0x3
|
|
|
|
const/4 v6, 0x0
|
|
|
|
move-object v1, p0
|
|
|
|
move v2, v7
|
|
|
|
move v4, v8
|
|
|
|
invoke-virtual/range {v1 .. v6}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
const/4 v3, 0x3
|
|
|
|
const/4 v5, 0x4
|
|
|
|
move v2, v8
|
|
|
|
move v4, v7
|
|
|
|
invoke-virtual/range {v1 .. v6}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
if-ne v7, v1, :cond_2
|
|
|
|
if-eq v8, v1, :cond_4
|
|
|
|
:cond_2
|
|
iget v4, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomToBottom:I
|
|
|
|
if-eq v4, v1, :cond_3
|
|
|
|
const/4 v3, 0x4
|
|
|
|
const/4 v5, 0x4
|
|
|
|
const/4 v6, 0x0
|
|
|
|
move-object v1, p0
|
|
|
|
move v2, v7
|
|
|
|
invoke-virtual/range {v1 .. v6}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
iget v4, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topToTop:I
|
|
|
|
if-eq v4, v1, :cond_4
|
|
|
|
const/4 v3, 0x3
|
|
|
|
const/4 v5, 0x3
|
|
|
|
const/4 v6, 0x0
|
|
|
|
move-object v1, p0
|
|
|
|
move v2, v8
|
|
|
|
invoke-virtual/range {v1 .. v6}, Landroidx/constraintlayout/widget/ConstraintSet;->connect(IIIII)V
|
|
|
|
:cond_4
|
|
:goto_0
|
|
const/4 v0, 0x3
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroidx/constraintlayout/widget/ConstraintSet;->clear(II)V
|
|
|
|
const/4 v0, 0x4
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroidx/constraintlayout/widget/ConstraintSet;->clear(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setAlpha(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->alpha:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setApplyElevation(IZ)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput-boolean p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->applyElevation:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBarrierType(II)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setDimensionRatio(ILjava/lang/String;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->dimensionRatio:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setElevation(IF)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object v0
|
|
|
|
iput p2, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->elevation:F
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 p2, 0x1
|
|
|
|
iput-boolean p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->applyElevation:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setGoneMargin(III)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
packed-switch p2, :pswitch_data_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "unknown constraint"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_0
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneEndMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_1
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneStartMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_2
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "baseline does not support margins"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_3
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneBottomMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_4
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneTopMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_5
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneRightMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_6
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->goneLeftMargin:I
|
|
|
|
:goto_0
|
|
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
|
|
|
|
.method public setGuidelineBegin(II)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object v0
|
|
|
|
iput p2, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guideBegin:I
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p2
|
|
|
|
const/4 v0, -0x1
|
|
|
|
iput v0, p2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guideEnd:I
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
const/high16 p2, -0x40800000 # -1.0f
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guidePercent:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setGuidelineEnd(II)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object v0
|
|
|
|
iput p2, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guideEnd:I
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p2
|
|
|
|
const/4 v0, -0x1
|
|
|
|
iput v0, p2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guideBegin:I
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
const/high16 p2, -0x40800000 # -1.0f
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guidePercent:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setGuidelinePercent(IF)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object v0
|
|
|
|
iput p2, v0, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guidePercent:F
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p2
|
|
|
|
const/4 v0, -0x1
|
|
|
|
iput v0, p2, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guideEnd:I
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->guideBegin:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setHorizontalBias(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalBias:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setHorizontalChainStyle(II)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalChainStyle:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setHorizontalWeight(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->horizontalWeight:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setMargin(III)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
packed-switch p2, :pswitch_data_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "unknown constraint"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_0
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->endMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_1
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->startMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_2
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "baseline does not support margins"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_3
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->bottomMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_4
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->topMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_5
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rightMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_6
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->leftMargin:I
|
|
|
|
:goto_0
|
|
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
|
|
|
|
.method public setRotation(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotation:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setRotationX(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotationX:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setRotationY(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->rotationY:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setScaleX(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->scaleX:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setScaleY(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->scaleY:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTransformPivot(IFF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->transformPivotY:F
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->transformPivotX:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTransformPivotX(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->transformPivotX:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTransformPivotY(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->transformPivotY:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTranslation(IFF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationX:F
|
|
|
|
iput p3, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationY:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTranslationX(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationX:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTranslationY(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationY:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTranslationZ(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->translationZ:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setVerticalBias(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->verticalBias:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setVerticalChainStyle(II)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->verticalChainStyle:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setVerticalWeight(IF)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->verticalWeight:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setVisibility(II)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->get(I)Landroidx/constraintlayout/widget/ConstraintSet$Constraint;
|
|
|
|
move-result-object p1
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintSet$Constraint;->visibility:I
|
|
|
|
return-void
|
|
.end method
|