749 lines
19 KiB
Smali
749 lines
19 KiB
Smali
.class public Landroidx/constraintlayout/widget/ReactiveGuide;
|
|
.super Landroid/view/View;
|
|
.source "ReactiveGuide.java"
|
|
|
|
# interfaces
|
|
.implements Landroidx/constraintlayout/widget/SharedValues$SharedValuesListener;
|
|
|
|
|
|
# instance fields
|
|
.field private mAnimateChange:Z
|
|
|
|
.field private mApplyToAllConstraintSets:Z
|
|
|
|
.field private mApplyToConstraintSetId:I
|
|
|
|
.field private mAttributeId:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"context"
|
|
}
|
|
.end annotation
|
|
|
|
.line 38
|
|
invoke-direct {p0, p1}, Landroid/view/View;-><init>(Landroid/content/Context;)V
|
|
|
|
const/4 p1, -0x1
|
|
|
|
.line 32
|
|
iput p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAttributeId:I
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 33
|
|
iput-boolean p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAnimateChange:Z
|
|
|
|
.line 34
|
|
iput p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToConstraintSetId:I
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 35
|
|
iput-boolean p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToAllConstraintSets:Z
|
|
|
|
const/16 p1, 0x8
|
|
|
|
.line 39
|
|
invoke-super {p0, p1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 40
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ReactiveGuide;->init(Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"context",
|
|
"attrs"
|
|
}
|
|
.end annotation
|
|
|
|
.line 44
|
|
invoke-direct {p0, p1, p2}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
const/4 p1, -0x1
|
|
|
|
.line 32
|
|
iput p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAttributeId:I
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 33
|
|
iput-boolean p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAnimateChange:Z
|
|
|
|
.line 34
|
|
iput p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToConstraintSetId:I
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 35
|
|
iput-boolean p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToAllConstraintSets:Z
|
|
|
|
const/16 p1, 0x8
|
|
|
|
.line 45
|
|
invoke-super {p0, p1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
.line 46
|
|
invoke-direct {p0, p2}, Landroidx/constraintlayout/widget/ReactiveGuide;->init(Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"context",
|
|
"attrs",
|
|
"defStyleAttr"
|
|
}
|
|
.end annotation
|
|
|
|
.line 50
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
const/4 p1, -0x1
|
|
|
|
.line 32
|
|
iput p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAttributeId:I
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 33
|
|
iput-boolean p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAnimateChange:Z
|
|
|
|
.line 34
|
|
iput p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToConstraintSetId:I
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 35
|
|
iput-boolean p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToAllConstraintSets:Z
|
|
|
|
const/16 p1, 0x8
|
|
|
|
.line 51
|
|
invoke-super {p0, p1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
.line 52
|
|
invoke-direct {p0, p2}, Landroidx/constraintlayout/widget/ReactiveGuide;->init(Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0,
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"context",
|
|
"attrs",
|
|
"defStyleAttr",
|
|
"defStyleRes"
|
|
}
|
|
.end annotation
|
|
|
|
.line 56
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
const/4 p1, -0x1
|
|
|
|
.line 32
|
|
iput p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAttributeId:I
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 33
|
|
iput-boolean p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAnimateChange:Z
|
|
|
|
.line 34
|
|
iput p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToConstraintSetId:I
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 35
|
|
iput-boolean p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToAllConstraintSets:Z
|
|
|
|
const/16 p1, 0x8
|
|
|
|
.line 57
|
|
invoke-super {p0, p1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
.line 58
|
|
invoke-direct {p0, p2}, Landroidx/constraintlayout/widget/ReactiveGuide;->init(Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private changeValue(IILandroidx/constraintlayout/motion/widget/MotionLayout;I)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0,
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"newValue",
|
|
"id",
|
|
"motionLayout",
|
|
"currentState"
|
|
}
|
|
.end annotation
|
|
|
|
.line 208
|
|
invoke-virtual {p3, p4}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getConstraintSet(I)Landroidx/constraintlayout/widget/ConstraintSet;
|
|
|
|
move-result-object v0
|
|
|
|
.line 209
|
|
invoke-virtual {v0, p2, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->setGuidelineEnd(II)V
|
|
|
|
.line 210
|
|
invoke-virtual {p3, p4, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->updateState(ILandroidx/constraintlayout/widget/ConstraintSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private init(Landroid/util/AttributeSet;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"attrs"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 63
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ReactiveGuide;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_ReactiveGuide:[I
|
|
|
|
invoke-virtual {v0, p1, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object p1
|
|
|
|
.line 64
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->getIndexCount()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_4
|
|
|
|
.line 66
|
|
invoke-virtual {p1, v1}, Landroid/content/res/TypedArray;->getIndex(I)I
|
|
|
|
move-result v2
|
|
|
|
.line 67
|
|
sget v3, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_ReactiveGuide_reactiveGuide_valueId:I
|
|
|
|
if-ne v2, v3, :cond_0
|
|
|
|
.line 68
|
|
iget v3, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAttributeId:I
|
|
|
|
invoke-virtual {p1, v2, v3}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAttributeId:I
|
|
|
|
goto :goto_1
|
|
|
|
.line 69
|
|
:cond_0
|
|
sget v3, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_ReactiveGuide_reactiveGuide_animateChange:I
|
|
|
|
if-ne v2, v3, :cond_1
|
|
|
|
.line 70
|
|
iget-boolean v3, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAnimateChange:Z
|
|
|
|
invoke-virtual {p1, v2, v3}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v2
|
|
|
|
iput-boolean v2, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAnimateChange:Z
|
|
|
|
goto :goto_1
|
|
|
|
.line 71
|
|
:cond_1
|
|
sget v3, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_ReactiveGuide_reactiveGuide_applyToConstraintSet:I
|
|
|
|
if-ne v2, v3, :cond_2
|
|
|
|
.line 72
|
|
iget v3, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToConstraintSetId:I
|
|
|
|
invoke-virtual {p1, v2, v3}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToConstraintSetId:I
|
|
|
|
goto :goto_1
|
|
|
|
.line 73
|
|
:cond_2
|
|
sget v3, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_ReactiveGuide_reactiveGuide_applyToAllConstraintSets:I
|
|
|
|
if-ne v2, v3, :cond_3
|
|
|
|
.line 74
|
|
iget-boolean v3, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToAllConstraintSets:Z
|
|
|
|
invoke-virtual {p1, v2, v3}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v2
|
|
|
|
iput-boolean v2, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToAllConstraintSets:Z
|
|
|
|
:cond_3
|
|
:goto_1
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 77
|
|
:cond_4
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
.line 79
|
|
:cond_5
|
|
iget p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAttributeId:I
|
|
|
|
const/4 v0, -0x1
|
|
|
|
if-eq p1, v0, :cond_6
|
|
|
|
.line 80
|
|
invoke-static {}, Landroidx/constraintlayout/widget/ConstraintLayout;->getSharedValues()Landroidx/constraintlayout/widget/SharedValues;
|
|
|
|
move-result-object p1
|
|
|
|
.line 81
|
|
iget v0, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAttributeId:I
|
|
|
|
invoke-virtual {p1, v0, p0}, Landroidx/constraintlayout/widget/SharedValues;->addListener(ILandroidx/constraintlayout/widget/SharedValues$SharedValuesListener;)V
|
|
|
|
:cond_6
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public draw(Landroid/graphics/Canvas;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"canvas"
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getApplyToConstraintSetId()I
|
|
.locals 1
|
|
|
|
.line 99
|
|
iget v0, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToConstraintSetId:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getAttributeId()I
|
|
.locals 1
|
|
|
|
.line 85
|
|
iget v0, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAttributeId:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public isAnimatingChange()Z
|
|
.locals 1
|
|
|
|
.line 106
|
|
iget-boolean v0, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAnimateChange:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method protected onMeasure(II)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"widthMeasureSpec",
|
|
"heightMeasureSpec"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 132
|
|
invoke-virtual {p0, p1, p1}, Landroidx/constraintlayout/widget/ReactiveGuide;->setMeasuredDimension(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onNewValue(III)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"key",
|
|
"newValue",
|
|
"oldValue"
|
|
}
|
|
.end annotation
|
|
|
|
.line 169
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/widget/ReactiveGuide;->setGuidelineBegin(I)V
|
|
|
|
.line 170
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ReactiveGuide;->getId()I
|
|
|
|
move-result p1
|
|
|
|
if-gtz p1, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 174
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ReactiveGuide;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object p3
|
|
|
|
instance-of p3, p3, Landroidx/constraintlayout/motion/widget/MotionLayout;
|
|
|
|
if-eqz p3, :cond_6
|
|
|
|
.line 175
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ReactiveGuide;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object p3
|
|
|
|
check-cast p3, Landroidx/constraintlayout/motion/widget/MotionLayout;
|
|
|
|
.line 176
|
|
invoke-virtual {p3}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getCurrentState()I
|
|
|
|
move-result v0
|
|
|
|
.line 177
|
|
iget v1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToConstraintSetId:I
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
move v0, v1
|
|
|
|
.line 180
|
|
:cond_1
|
|
iget-boolean v1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAnimateChange:Z
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 181
|
|
iget-boolean v1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToAllConstraintSets:Z
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 182
|
|
invoke-virtual {p3}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getConstraintSetIds()[I
|
|
|
|
move-result-object v1
|
|
|
|
.line 183
|
|
:goto_0
|
|
array-length v3, v1
|
|
|
|
if-ge v2, v3, :cond_3
|
|
|
|
.line 184
|
|
aget v3, v1, v2
|
|
|
|
if-eq v3, v0, :cond_2
|
|
|
|
.line 186
|
|
invoke-direct {p0, p2, p1, p3, v3}, Landroidx/constraintlayout/widget/ReactiveGuide;->changeValue(IILandroidx/constraintlayout/motion/widget/MotionLayout;I)V
|
|
|
|
:cond_2
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 190
|
|
:cond_3
|
|
invoke-virtual {p3, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->cloneConstraintSet(I)Landroidx/constraintlayout/widget/ConstraintSet;
|
|
|
|
move-result-object v1
|
|
|
|
.line 191
|
|
invoke-virtual {v1, p1, p2}, Landroidx/constraintlayout/widget/ConstraintSet;->setGuidelineEnd(II)V
|
|
|
|
const/16 p1, 0x3e8
|
|
|
|
.line 192
|
|
invoke-virtual {p3, v0, v1, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout;->updateStateAnimate(ILandroidx/constraintlayout/widget/ConstraintSet;I)V
|
|
|
|
goto :goto_2
|
|
|
|
.line 194
|
|
:cond_4
|
|
iget-boolean v1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToAllConstraintSets:Z
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
.line 195
|
|
invoke-virtual {p3}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getConstraintSetIds()[I
|
|
|
|
move-result-object v0
|
|
|
|
.line 196
|
|
:goto_1
|
|
array-length v1, v0
|
|
|
|
if-ge v2, v1, :cond_6
|
|
|
|
.line 197
|
|
aget v1, v0, v2
|
|
|
|
.line 198
|
|
invoke-direct {p0, p2, p1, p3, v1}, Landroidx/constraintlayout/widget/ReactiveGuide;->changeValue(IILandroidx/constraintlayout/motion/widget/MotionLayout;I)V
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
.line 201
|
|
:cond_5
|
|
invoke-direct {p0, p2, p1, p3, v0}, Landroidx/constraintlayout/widget/ReactiveGuide;->changeValue(IILandroidx/constraintlayout/motion/widget/MotionLayout;I)V
|
|
|
|
:cond_6
|
|
:goto_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public setAnimateChange(Z)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"animate"
|
|
}
|
|
.end annotation
|
|
|
|
.line 109
|
|
iput-boolean p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAnimateChange:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setApplyToConstraintSetId(I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"id"
|
|
}
|
|
.end annotation
|
|
|
|
.line 103
|
|
iput p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mApplyToConstraintSetId:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setAttributeId(I)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"id"
|
|
}
|
|
.end annotation
|
|
|
|
.line 88
|
|
invoke-static {}, Landroidx/constraintlayout/widget/ConstraintLayout;->getSharedValues()Landroidx/constraintlayout/widget/SharedValues;
|
|
|
|
move-result-object v0
|
|
|
|
.line 89
|
|
iget v1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAttributeId:I
|
|
|
|
const/4 v2, -0x1
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
.line 90
|
|
invoke-virtual {v0, v1, p0}, Landroidx/constraintlayout/widget/SharedValues;->removeListener(ILandroidx/constraintlayout/widget/SharedValues$SharedValuesListener;)V
|
|
|
|
.line 92
|
|
:cond_0
|
|
iput p1, p0, Landroidx/constraintlayout/widget/ReactiveGuide;->mAttributeId:I
|
|
|
|
if-eq p1, v2, :cond_1
|
|
|
|
.line 94
|
|
invoke-virtual {v0, p1, p0}, Landroidx/constraintlayout/widget/SharedValues;->addListener(ILandroidx/constraintlayout/widget/SharedValues$SharedValuesListener;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public setGuidelineBegin(I)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"margin"
|
|
}
|
|
.end annotation
|
|
|
|
.line 141
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ReactiveGuide;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
.line 142
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->guideBegin:I
|
|
|
|
.line 143
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/widget/ReactiveGuide;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setGuidelineEnd(I)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"margin"
|
|
}
|
|
.end annotation
|
|
|
|
.line 152
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ReactiveGuide;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
.line 153
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->guideEnd:I
|
|
|
|
.line 154
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/widget/ReactiveGuide;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setGuidelinePercent(F)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"ratio"
|
|
}
|
|
.end annotation
|
|
|
|
.line 162
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ReactiveGuide;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
.line 163
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->guidePercent:F
|
|
|
|
.line 164
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/widget/ReactiveGuide;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setVisibility(I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"visibility"
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|