2540 lines
111 KiB
Smali
2540 lines
111 KiB
Smali
|
.class public Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;
|
||
|
.super Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;
|
||
|
.source "HorizontalWidgetRun.java"
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field public static tempDimensions:[I
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public static constructor <clinit>()V
|
||
|
.locals 1
|
||
|
|
||
|
const/4 v0, 0x2
|
||
|
|
||
|
new-array v0, v0, [I
|
||
|
|
||
|
sput-object v0, Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;->tempDimensions:[I
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public constructor <init>(Landroidx/constraintlayout/solver/widgets/ConstraintWidget;)V
|
||
|
.locals 1
|
||
|
|
||
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;-><init>(Landroidx/constraintlayout/solver/widgets/ConstraintWidget;)V
|
||
|
|
||
|
iget-object p1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
sget-object v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode$Type;->LEFT:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode$Type;
|
||
|
|
||
|
iput-object v0, p1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->type:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode$Type;
|
||
|
|
||
|
iget-object p1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
sget-object v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode$Type;->RIGHT:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode$Type;
|
||
|
|
||
|
iput-object v0, p1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->type:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode$Type;
|
||
|
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
iput p1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->orientation:I
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private computeInsetRatio([IIIIIFI)V
|
||
|
.locals 2
|
||
|
|
||
|
sub-int/2addr p3, p2
|
||
|
|
||
|
sub-int/2addr p5, p4
|
||
|
|
||
|
const/4 p2, -0x1
|
||
|
|
||
|
const/4 p4, 0x0
|
||
|
|
||
|
const/high16 v0, 0x3f000000 # 0.5f
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
if-eq p7, p2, :cond_2
|
||
|
|
||
|
if-eqz p7, :cond_1
|
||
|
|
||
|
if-eq p7, v1, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
int-to-float p2, p3
|
||
|
|
||
|
mul-float p2, p2, p6
|
||
|
|
||
|
add-float/2addr p2, v0
|
||
|
|
||
|
float-to-int p2, p2
|
||
|
|
||
|
aput p3, p1, p4
|
||
|
|
||
|
aput p2, p1, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
int-to-float p2, p5
|
||
|
|
||
|
mul-float p2, p2, p6
|
||
|
|
||
|
add-float/2addr p2, v0
|
||
|
|
||
|
float-to-int p2, p2
|
||
|
|
||
|
aput p2, p1, p4
|
||
|
|
||
|
aput p5, p1, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
int-to-float p2, p5
|
||
|
|
||
|
mul-float p2, p2, p6
|
||
|
|
||
|
add-float/2addr p2, v0
|
||
|
|
||
|
float-to-int p2, p2
|
||
|
|
||
|
int-to-float p7, p3
|
||
|
|
||
|
div-float/2addr p7, p6
|
||
|
|
||
|
add-float/2addr p7, v0
|
||
|
|
||
|
float-to-int p6, p7
|
||
|
|
||
|
if-gt p2, p3, :cond_3
|
||
|
|
||
|
if-gt p5, p5, :cond_3
|
||
|
|
||
|
aput p2, p1, p4
|
||
|
|
||
|
aput p5, p1, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_3
|
||
|
if-gt p3, p3, :cond_4
|
||
|
|
||
|
if-gt p6, p5, :cond_4
|
||
|
|
||
|
aput p3, p1, p4
|
||
|
|
||
|
aput p6, p1, v1
|
||
|
|
||
|
:cond_4
|
||
|
:goto_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public apply()V
|
||
|
.locals 5
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-boolean v1, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->measured:Z
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-virtual {v1, v0}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-boolean v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
if-nez v0, :cond_4
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHorizontalDimensionBehaviour()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimensionBehavior:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->MATCH_CONSTRAINT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
if-eq v0, v1, :cond_7
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->MATCH_PARENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
if-ne v0, v1, :cond_3
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getParent()Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHorizontalDimensionBehaviour()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
sget-object v2, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->FIXED:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
if-eq v1, v2, :cond_2
|
||
|
|
||
|
:cond_1
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHorizontalDimensionBehaviour()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
sget-object v2, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->MATCH_PARENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
if-ne v1, v2, :cond_3
|
||
|
|
||
|
:cond_2
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
iget-object v2, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v2, v2, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mLeft:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
sub-int/2addr v1, v2
|
||
|
|
||
|
iget-object v2, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v2, v2, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mRight:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
sub-int/2addr v1, v2
|
||
|
|
||
|
iget-object v2, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v3, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->horizontalRun:Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v4, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v4, v4, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mLeft:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
invoke-virtual {v4}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
invoke-virtual {p0, v2, v3, v4}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
iget-object v2, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->horizontalRun:Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mRight:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
invoke-virtual {v3}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
neg-int v3, v3
|
||
|
|
||
|
invoke-virtual {p0, v2, v0, v3}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_3
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimensionBehavior:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->FIXED:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
if-ne v0, v1, :cond_7
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_4
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimensionBehavior:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->MATCH_PARENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
if-ne v0, v1, :cond_7
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getParent()Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_5
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHorizontalDimensionBehaviour()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
sget-object v2, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->FIXED:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
if-eq v1, v2, :cond_6
|
||
|
|
||
|
:cond_5
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHorizontalDimensionBehaviour()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
sget-object v2, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->MATCH_PARENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
if-ne v1, v2, :cond_7
|
||
|
|
||
|
:cond_6
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v2, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->horizontalRun:Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;
|
||
|
|
||
|
iget-object v2, v2, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mLeft:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
invoke-virtual {v3}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
invoke-virtual {p0, v1, v2, v3}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->horizontalRun:Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v2, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v2, v2, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mRight:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
neg-int v2, v2
|
||
|
|
||
|
invoke-virtual {p0, v1, v0, v2}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_7
|
||
|
:goto_0
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-boolean v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
if-eqz v0, :cond_e
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-boolean v3, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->measured:Z
|
||
|
|
||
|
if-eqz v3, :cond_e
|
||
|
|
||
|
iget-object v3, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v4, v3, v1
|
||
|
|
||
|
iget-object v4, v4, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mTarget:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
if-eqz v4, :cond_b
|
||
|
|
||
|
aget-object v3, v3, v2
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mTarget:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
if-eqz v3, :cond_b
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->isInHorizontalChain()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_8
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v1, v3, v1
|
||
|
|
||
|
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
iput v1, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v1, v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v1, v1, v2
|
||
|
|
||
|
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
neg-int v1, v1
|
||
|
|
||
|
iput v1, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
goto/16 :goto_2
|
||
|
|
||
|
:cond_8
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v0, v0, v1
|
||
|
|
||
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getTarget(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;)Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_9
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v4, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v4, v4, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v1, v4, v1
|
||
|
|
||
|
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-virtual {p0, v3, v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
:cond_9
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v0, v0, v2
|
||
|
|
||
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getTarget(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;)Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_a
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v3, v3, v2
|
||
|
|
||
|
invoke-virtual {v3}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
neg-int v3, v3
|
||
|
|
||
|
invoke-virtual {p0, v1, v0, v3}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
:cond_a
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iput-boolean v2, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->delegateToWidgetRun:Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iput-boolean v2, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->delegateToWidgetRun:Z
|
||
|
|
||
|
goto/16 :goto_2
|
||
|
|
||
|
:cond_b
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v3, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v4, v3, v1
|
||
|
|
||
|
iget-object v4, v4, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mTarget:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
if-eqz v4, :cond_c
|
||
|
|
||
|
aget-object v0, v3, v1
|
||
|
|
||
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getTarget(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;)Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_1a
|
||
|
|
||
|
iget-object v2, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v1, v3, v1
|
||
|
|
||
|
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-virtual {p0, v2, v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v2, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget v2, v2, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
invoke-virtual {p0, v0, v1, v2}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
goto/16 :goto_2
|
||
|
|
||
|
:cond_c
|
||
|
aget-object v1, v3, v2
|
||
|
|
||
|
iget-object v1, v1, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mTarget:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
if-eqz v1, :cond_d
|
||
|
|
||
|
aget-object v0, v3, v2
|
||
|
|
||
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getTarget(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;)Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_1a
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v2, v3, v2
|
||
|
|
||
|
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
neg-int v2, v2
|
||
|
|
||
|
invoke-virtual {p0, v1, v0, v2}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v2, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget v2, v2, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
neg-int v2, v2
|
||
|
|
||
|
invoke-virtual {p0, v0, v1, v2}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
goto/16 :goto_2
|
||
|
|
||
|
:cond_d
|
||
|
instance-of v1, v0, Landroidx/constraintlayout/solver/widgets/Helper;
|
||
|
|
||
|
if-nez v1, :cond_1a
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getParent()Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_1a
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->CENTER:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mTarget:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
if-nez v0, :cond_1a
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getParent()Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->horizontalRun:Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v2, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getX()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
invoke-virtual {p0, v1, v0, v2}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v2, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget v2, v2, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
invoke-virtual {p0, v0, v1, v2}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
goto/16 :goto_2
|
||
|
|
||
|
:cond_e
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimensionBehavior:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
sget-object v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->MATCH_CONSTRAINT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
if-ne v0, v3, :cond_15
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget v3, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mMatchConstraintDefaultWidth:I
|
||
|
|
||
|
const/4 v4, 0x2
|
||
|
|
||
|
if-eq v3, v4, :cond_13
|
||
|
|
||
|
const/4 v4, 0x3
|
||
|
|
||
|
if-eq v3, v4, :cond_f
|
||
|
|
||
|
goto/16 :goto_1
|
||
|
|
||
|
:cond_f
|
||
|
iget v3, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mMatchConstraintDefaultHeight:I
|
||
|
|
||
|
if-ne v3, v4, :cond_12
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iput-object p0, v3, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->updateDelegate:Landroidx/constraintlayout/solver/widgets/analyzer/Dependency;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iput-object p0, v3, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->updateDelegate:Landroidx/constraintlayout/solver/widgets/analyzer/Dependency;
|
||
|
|
||
|
iget-object v3, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v4, v3, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iput-object p0, v4, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->updateDelegate:Landroidx/constraintlayout/solver/widgets/analyzer/Dependency;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iput-object p0, v3, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->updateDelegate:Landroidx/constraintlayout/solver/widgets/analyzer/Dependency;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iput-object p0, v3, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->updateDelegate:Landroidx/constraintlayout/solver/widgets/analyzer/Dependency;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->isInVerticalChain()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_10
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->dependencies:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v3, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iput-object p0, v3, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->updateDelegate:Landroidx/constraintlayout/solver/widgets/analyzer/Dependency;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
invoke-interface {v3, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->dependencies:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->dependencies:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto/16 :goto_1
|
||
|
|
||
|
:cond_10
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->isInHorizontalChain()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_11
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->dependencies:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto/16 :goto_1
|
||
|
|
||
|
:cond_11
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto/16 :goto_1
|
||
|
|
||
|
:cond_12
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v3, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->dependencies:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->dependencies:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->dependencies:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iput-boolean v2, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->delegateToWidgetRun:Z
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->dependencies:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->dependencies:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_13
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getParent()Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-nez v0, :cond_14
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_14
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v3, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->dependencies:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iput-boolean v2, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->delegateToWidgetRun:Z
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->dependencies:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->dependencies:Ljava/util/List;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
:cond_15
|
||
|
:goto_1
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v3, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v4, v3, v1
|
||
|
|
||
|
iget-object v4, v4, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mTarget:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
if-eqz v4, :cond_17
|
||
|
|
||
|
aget-object v3, v3, v2
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mTarget:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
if-eqz v3, :cond_17
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->isInHorizontalChain()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_16
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v1, v3, v1
|
||
|
|
||
|
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
iput v1, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v1, v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v1, v1, v2
|
||
|
|
||
|
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
neg-int v1, v1
|
||
|
|
||
|
iput v1, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
goto/16 :goto_2
|
||
|
|
||
|
:cond_16
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v0, v0, v1
|
||
|
|
||
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getTarget(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;)Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v1, v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v1, v1, v2
|
||
|
|
||
|
invoke-virtual {p0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getTarget(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;)Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v0, p0}, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->addDependency(Landroidx/constraintlayout/solver/widgets/analyzer/Dependency;)V
|
||
|
|
||
|
invoke-virtual {v1, p0}, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->addDependency(Landroidx/constraintlayout/solver/widgets/analyzer/Dependency;)V
|
||
|
|
||
|
sget-object v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun$RunType;->CENTER:Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun$RunType;
|
||
|
|
||
|
iput-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->mRunType:Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun$RunType;
|
||
|
|
||
|
goto/16 :goto_2
|
||
|
|
||
|
:cond_17
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v3, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v4, v3, v1
|
||
|
|
||
|
iget-object v4, v4, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mTarget:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
if-eqz v4, :cond_18
|
||
|
|
||
|
aget-object v0, v3, v1
|
||
|
|
||
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getTarget(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;)Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_1a
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v4, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v4, v4, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v1, v4, v1
|
||
|
|
||
|
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-virtual {p0, v3, v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {p0, v0, v1, v2, v3}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;ILandroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;)V
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_18
|
||
|
aget-object v1, v3, v2
|
||
|
|
||
|
iget-object v1, v1, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mTarget:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
if-eqz v1, :cond_19
|
||
|
|
||
|
aget-object v0, v3, v2
|
||
|
|
||
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getTarget(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;)Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_1a
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mListAnchors:[Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
aget-object v2, v3, v2
|
||
|
|
||
|
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
neg-int v2, v2
|
||
|
|
||
|
invoke-virtual {p0, v1, v0, v2}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
const/4 v2, -0x1
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {p0, v0, v1, v2, v3}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;ILandroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;)V
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_19
|
||
|
instance-of v1, v0, Landroidx/constraintlayout/solver/widgets/Helper;
|
||
|
|
||
|
if-nez v1, :cond_1a
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getParent()Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_1a
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getParent()Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->horizontalRun:Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getX()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
invoke-virtual {p0, v1, v0, v3}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;I)V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {p0, v0, v1, v2, v3}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->addTarget(Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;ILandroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;)V
|
||
|
|
||
|
:cond_1a
|
||
|
:goto_2
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public applyToWidget()V
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-boolean v1, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
invoke-virtual {v1, v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setX(I)V
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public clear()V
|
||
|
.locals 1
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
iput-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->runGroup:Landroidx/constraintlayout/solver/widgets/analyzer/RunGroup;
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->clear()V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->clear()V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->clear()V
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
iput-boolean v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->resolved:Z
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public reset()V
|
||
|
.locals 2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
iput-boolean v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->resolved:Z
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->clear()V
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iput-boolean v0, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->clear()V
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iput-boolean v0, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iput-boolean v0, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public supportsWrapComputation()Z
|
||
|
.locals 3
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimensionBehavior:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->MATCH_CONSTRAINT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
if-ne v0, v1, :cond_1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mMatchConstraintDefaultWidth:I
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
return v2
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
return v0
|
||
|
|
||
|
:cond_1
|
||
|
return v2
|
||
|
.end method
|
||
|
|
||
|
.method public toString()Ljava/lang/String;
|
||
|
.locals 2
|
||
|
|
||
|
const-string v0, "HorizontalRun "
|
||
|
|
||
|
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-object v1, p0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getDebugName()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public update(Landroidx/constraintlayout/solver/widgets/analyzer/Dependency;)V
|
||
|
.locals 16
|
||
|
|
||
|
move-object/from16 v8, p0
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->mRunType:Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun$RunType;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x2
|
||
|
|
||
|
const/4 v2, 0x3
|
||
|
|
||
|
const/4 v9, 0x1
|
||
|
|
||
|
const/4 v10, 0x0
|
||
|
|
||
|
if-eq v0, v9, :cond_2
|
||
|
|
||
|
if-eq v0, v1, :cond_1
|
||
|
|
||
|
if-eq v0, v2, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v1, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mLeft:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mRight:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
move-object/from16 v3, p1
|
||
|
|
||
|
invoke-virtual {v8, v3, v1, v0, v10}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->updateRunCenter(Landroidx/constraintlayout/solver/widgets/analyzer/Dependency;Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;I)V
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_1
|
||
|
move-object/from16 v3, p1
|
||
|
|
||
|
invoke-virtual/range {p0 .. p1}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->updateRunEnd(Landroidx/constraintlayout/solver/widgets/analyzer/Dependency;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
move-object/from16 v3, p1
|
||
|
|
||
|
invoke-virtual/range {p0 .. p1}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->updateRunStart(Landroidx/constraintlayout/solver/widgets/analyzer/Dependency;)V
|
||
|
|
||
|
:goto_0
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-boolean v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
const/high16 v11, 0x3f000000 # 0.5f
|
||
|
|
||
|
if-nez v0, :cond_24
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimensionBehavior:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
sget-object v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->MATCH_CONSTRAINT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
if-ne v0, v3, :cond_24
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget v3, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mMatchConstraintDefaultWidth:I
|
||
|
|
||
|
if-eq v3, v1, :cond_23
|
||
|
|
||
|
if-eq v3, v2, :cond_3
|
||
|
|
||
|
goto/16 :goto_e
|
||
|
|
||
|
:cond_3
|
||
|
iget v1, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mMatchConstraintDefaultHeight:I
|
||
|
|
||
|
const/4 v3, -0x1
|
||
|
|
||
|
if-eqz v1, :cond_8
|
||
|
|
||
|
if-ne v1, v2, :cond_4
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
:cond_4
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getDimensionRatioSide()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eq v0, v3, :cond_7
|
||
|
|
||
|
if-eqz v0, :cond_6
|
||
|
|
||
|
if-eq v0, v9, :cond_5
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_5
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v1, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
int-to-float v1, v1
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getDimensionRatio()F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_6
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v1, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
int-to-float v1, v1
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getDimensionRatio()F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
div-float/2addr v1, v0
|
||
|
|
||
|
add-float/2addr v1, v11
|
||
|
|
||
|
float-to-int v0, v1
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_7
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v1, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
int-to-float v1, v1
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getDimensionRatio()F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
:goto_1
|
||
|
mul-float v0, v0, v1
|
||
|
|
||
|
add-float/2addr v0, v11
|
||
|
|
||
|
float-to-int v0, v0
|
||
|
|
||
|
:goto_2
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v1, v0}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
goto/16 :goto_e
|
||
|
|
||
|
:cond_8
|
||
|
:goto_3
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v1, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v12, v1, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v13, v1, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mLeft:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mTarget:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
if-eqz v0, :cond_9
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
goto :goto_4
|
||
|
|
||
|
:cond_9
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_4
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v1, v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mTop:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
iget-object v1, v1, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mTarget:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
if-eqz v1, :cond_a
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
goto :goto_5
|
||
|
|
||
|
:cond_a
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:goto_5
|
||
|
iget-object v2, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v2, v2, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mRight:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
iget-object v2, v2, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mTarget:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
if-eqz v2, :cond_b
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
goto :goto_6
|
||
|
|
||
|
:cond_b
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:goto_6
|
||
|
iget-object v4, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v4, v4, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mBottom:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
iget-object v4, v4, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mTarget:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
|
||
|
|
||
|
if-eqz v4, :cond_c
|
||
|
|
||
|
const/4 v4, 0x1
|
||
|
|
||
|
goto :goto_7
|
||
|
|
||
|
:cond_c
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
:goto_7
|
||
|
iget-object v5, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getDimensionRatioSide()I
|
||
|
|
||
|
move-result v14
|
||
|
|
||
|
if-eqz v0, :cond_15
|
||
|
|
||
|
if-eqz v1, :cond_15
|
||
|
|
||
|
if-eqz v2, :cond_15
|
||
|
|
||
|
if-eqz v4, :cond_15
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getDimensionRatio()F
|
||
|
|
||
|
move-result v15
|
||
|
|
||
|
iget-boolean v0, v12, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
if-eqz v0, :cond_f
|
||
|
|
||
|
iget-boolean v0, v13, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
if-eqz v0, :cond_f
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-boolean v1, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->readyToSolve:Z
|
||
|
|
||
|
if-eqz v1, :cond_e
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-boolean v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->readyToSolve:Z
|
||
|
|
||
|
if-nez v1, :cond_d
|
||
|
|
||
|
goto :goto_8
|
||
|
|
||
|
:cond_d
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
add-int v2, v0, v1
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
sub-int v3, v0, v1
|
||
|
|
||
|
iget v0, v12, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget v1, v12, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
add-int v4, v0, v1
|
||
|
|
||
|
iget v0, v13, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget v1, v13, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
sub-int v5, v0, v1
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;->tempDimensions:[I
|
||
|
|
||
|
move-object/from16 v0, p0
|
||
|
|
||
|
move v6, v15
|
||
|
|
||
|
move v7, v14
|
||
|
|
||
|
invoke-direct/range {v0 .. v7}, Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;->computeInsetRatio([IIIIIFI)V
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;->tempDimensions:[I
|
||
|
|
||
|
aget v1, v1, v10
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;->tempDimensions:[I
|
||
|
|
||
|
aget v1, v1, v9
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
:cond_e
|
||
|
:goto_8
|
||
|
return-void
|
||
|
|
||
|
:cond_f
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-boolean v1, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
if-eqz v1, :cond_12
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-boolean v2, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
if-eqz v2, :cond_12
|
||
|
|
||
|
iget-boolean v2, v12, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->readyToSolve:Z
|
||
|
|
||
|
if-eqz v2, :cond_11
|
||
|
|
||
|
iget-boolean v2, v13, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->readyToSolve:Z
|
||
|
|
||
|
if-nez v2, :cond_10
|
||
|
|
||
|
goto :goto_9
|
||
|
|
||
|
:cond_10
|
||
|
iget v2, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
add-int/2addr v2, v0
|
||
|
|
||
|
iget v0, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
sub-int v3, v0, v1
|
||
|
|
||
|
iget-object v0, v12, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget v1, v12, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
add-int v4, v0, v1
|
||
|
|
||
|
iget-object v0, v13, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget v1, v13, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
sub-int v5, v0, v1
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;->tempDimensions:[I
|
||
|
|
||
|
move-object/from16 v0, p0
|
||
|
|
||
|
move v6, v15
|
||
|
|
||
|
move v7, v14
|
||
|
|
||
|
invoke-direct/range {v0 .. v7}, Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;->computeInsetRatio([IIIIIFI)V
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;->tempDimensions:[I
|
||
|
|
||
|
aget v1, v1, v10
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;->tempDimensions:[I
|
||
|
|
||
|
aget v1, v1, v9
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
goto :goto_a
|
||
|
|
||
|
:cond_11
|
||
|
:goto_9
|
||
|
return-void
|
||
|
|
||
|
:cond_12
|
||
|
:goto_a
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-boolean v1, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->readyToSolve:Z
|
||
|
|
||
|
if-eqz v1, :cond_14
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-boolean v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->readyToSolve:Z
|
||
|
|
||
|
if-eqz v1, :cond_14
|
||
|
|
||
|
iget-boolean v1, v12, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->readyToSolve:Z
|
||
|
|
||
|
if-eqz v1, :cond_14
|
||
|
|
||
|
iget-boolean v1, v13, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->readyToSolve:Z
|
||
|
|
||
|
if-nez v1, :cond_13
|
||
|
|
||
|
goto :goto_b
|
||
|
|
||
|
:cond_13
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
add-int v2, v0, v1
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
sub-int v3, v0, v1
|
||
|
|
||
|
iget-object v0, v12, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget v1, v12, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
add-int v4, v0, v1
|
||
|
|
||
|
iget-object v0, v13, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget v1, v13, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
sub-int v5, v0, v1
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;->tempDimensions:[I
|
||
|
|
||
|
move-object/from16 v0, p0
|
||
|
|
||
|
move v6, v15
|
||
|
|
||
|
move v7, v14
|
||
|
|
||
|
invoke-direct/range {v0 .. v7}, Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;->computeInsetRatio([IIIIIFI)V
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;->tempDimensions:[I
|
||
|
|
||
|
aget v1, v1, v10
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;->tempDimensions:[I
|
||
|
|
||
|
aget v1, v1, v9
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
goto/16 :goto_e
|
||
|
|
||
|
:cond_14
|
||
|
:goto_b
|
||
|
return-void
|
||
|
|
||
|
:cond_15
|
||
|
if-eqz v0, :cond_1c
|
||
|
|
||
|
if-eqz v2, :cond_1c
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-boolean v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->readyToSolve:Z
|
||
|
|
||
|
if-eqz v0, :cond_1b
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-boolean v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->readyToSolve:Z
|
||
|
|
||
|
if-nez v0, :cond_16
|
||
|
|
||
|
goto/16 :goto_c
|
||
|
|
||
|
:cond_16
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getDimensionRatio()F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v1, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget-object v2, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v2, v2, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
add-int/2addr v1, v2
|
||
|
|
||
|
iget-object v2, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v2, v2, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v2, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v2, v2, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget-object v4, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v4, v4, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
sub-int/2addr v2, v4
|
||
|
|
||
|
if-eq v14, v3, :cond_19
|
||
|
|
||
|
if-eqz v14, :cond_19
|
||
|
|
||
|
if-eq v14, v9, :cond_17
|
||
|
|
||
|
goto/16 :goto_e
|
||
|
|
||
|
:cond_17
|
||
|
sub-int/2addr v2, v1
|
||
|
|
||
|
invoke-virtual {v8, v2, v10}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getLimitedDimension(II)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
int-to-float v2, v1
|
||
|
|
||
|
div-float/2addr v2, v0
|
||
|
|
||
|
add-float/2addr v2, v11
|
||
|
|
||
|
float-to-int v2, v2
|
||
|
|
||
|
invoke-virtual {v8, v2, v9}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getLimitedDimension(II)I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eq v2, v3, :cond_18
|
||
|
|
||
|
int-to-float v1, v3
|
||
|
|
||
|
mul-float v1, v1, v0
|
||
|
|
||
|
add-float/2addr v1, v11
|
||
|
|
||
|
float-to-int v1, v1
|
||
|
|
||
|
:cond_18
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v0, v3}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
goto/16 :goto_e
|
||
|
|
||
|
:cond_19
|
||
|
sub-int/2addr v2, v1
|
||
|
|
||
|
invoke-virtual {v8, v2, v10}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getLimitedDimension(II)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
int-to-float v2, v1
|
||
|
|
||
|
mul-float v2, v2, v0
|
||
|
|
||
|
add-float/2addr v2, v11
|
||
|
|
||
|
float-to-int v2, v2
|
||
|
|
||
|
invoke-virtual {v8, v2, v9}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getLimitedDimension(II)I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eq v2, v3, :cond_1a
|
||
|
|
||
|
int-to-float v1, v3
|
||
|
|
||
|
div-float/2addr v1, v0
|
||
|
|
||
|
add-float/2addr v1, v11
|
||
|
|
||
|
float-to-int v1, v1
|
||
|
|
||
|
:cond_1a
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v0, v3}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
goto/16 :goto_e
|
||
|
|
||
|
:cond_1b
|
||
|
:goto_c
|
||
|
return-void
|
||
|
|
||
|
:cond_1c
|
||
|
if-eqz v1, :cond_24
|
||
|
|
||
|
if-eqz v4, :cond_24
|
||
|
|
||
|
iget-boolean v0, v12, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->readyToSolve:Z
|
||
|
|
||
|
if-eqz v0, :cond_22
|
||
|
|
||
|
iget-boolean v0, v13, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->readyToSolve:Z
|
||
|
|
||
|
if-nez v0, :cond_1d
|
||
|
|
||
|
goto :goto_d
|
||
|
|
||
|
:cond_1d
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getDimensionRatio()F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
iget-object v1, v12, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v1, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget v2, v12, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
add-int/2addr v1, v2
|
||
|
|
||
|
iget-object v2, v13, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v2, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v2, v2, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget v4, v13, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
sub-int/2addr v2, v4
|
||
|
|
||
|
if-eq v14, v3, :cond_20
|
||
|
|
||
|
if-eqz v14, :cond_1e
|
||
|
|
||
|
if-eq v14, v9, :cond_20
|
||
|
|
||
|
goto :goto_e
|
||
|
|
||
|
:cond_1e
|
||
|
sub-int/2addr v2, v1
|
||
|
|
||
|
invoke-virtual {v8, v2, v9}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getLimitedDimension(II)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
int-to-float v2, v1
|
||
|
|
||
|
mul-float v2, v2, v0
|
||
|
|
||
|
add-float/2addr v2, v11
|
||
|
|
||
|
float-to-int v2, v2
|
||
|
|
||
|
invoke-virtual {v8, v2, v10}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getLimitedDimension(II)I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eq v2, v3, :cond_1f
|
||
|
|
||
|
int-to-float v1, v3
|
||
|
|
||
|
div-float/2addr v1, v0
|
||
|
|
||
|
add-float/2addr v1, v11
|
||
|
|
||
|
float-to-int v1, v1
|
||
|
|
||
|
:cond_1f
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v0, v3}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
goto :goto_e
|
||
|
|
||
|
:cond_20
|
||
|
sub-int/2addr v2, v1
|
||
|
|
||
|
invoke-virtual {v8, v2, v9}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getLimitedDimension(II)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
int-to-float v2, v1
|
||
|
|
||
|
div-float/2addr v2, v0
|
||
|
|
||
|
add-float/2addr v2, v11
|
||
|
|
||
|
float-to-int v2, v2
|
||
|
|
||
|
invoke-virtual {v8, v2, v10}, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->getLimitedDimension(II)I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eq v2, v3, :cond_21
|
||
|
|
||
|
int-to-float v1, v3
|
||
|
|
||
|
mul-float v1, v1, v0
|
||
|
|
||
|
add-float/2addr v1, v11
|
||
|
|
||
|
float-to-int v1, v1
|
||
|
|
||
|
:cond_21
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v0, v3}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->verticalRun:Landroidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
goto :goto_e
|
||
|
|
||
|
:cond_22
|
||
|
:goto_d
|
||
|
return-void
|
||
|
|
||
|
:cond_23
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getParent()Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_24
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->horizontalRun:Landroidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-boolean v1, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
if-eqz v1, :cond_24
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mMatchConstraintPercentWidth:F
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
int-to-float v0, v0
|
||
|
|
||
|
mul-float v0, v0, v1
|
||
|
|
||
|
add-float/2addr v0, v11
|
||
|
|
||
|
float-to-int v0, v0
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v1, v0}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
:cond_24
|
||
|
:goto_e
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-boolean v1, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->readyToSolve:Z
|
||
|
|
||
|
if-eqz v1, :cond_2c
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-boolean v2, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->readyToSolve:Z
|
||
|
|
||
|
if-nez v2, :cond_25
|
||
|
|
||
|
goto/16 :goto_f
|
||
|
|
||
|
:cond_25
|
||
|
iget-boolean v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
if-eqz v0, :cond_26
|
||
|
|
||
|
iget-boolean v0, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
if-eqz v0, :cond_26
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-boolean v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
if-eqz v0, :cond_26
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_26
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-boolean v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
if-nez v0, :cond_27
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimensionBehavior:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->MATCH_CONSTRAINT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
if-ne v0, v1, :cond_27
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget v1, v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mMatchConstraintDefaultWidth:I
|
||
|
|
||
|
if-nez v1, :cond_27
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->isInHorizontalChain()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_27
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v1, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget-object v2, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v3, v2, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
add-int/2addr v0, v3
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget-object v3, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v3, v3, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
add-int/2addr v1, v3
|
||
|
|
||
|
sub-int v3, v1, v0
|
||
|
|
||
|
invoke-virtual {v2, v0}, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolve(I)V
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolve(I)V
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v0, v3}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_27
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-boolean v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
if-nez v0, :cond_29
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimensionBehavior:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
sget-object v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->MATCH_CONSTRAINT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
|
||
|
|
||
|
if-ne v0, v1, :cond_29
|
||
|
|
||
|
iget v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->matchConstraintsType:I
|
||
|
|
||
|
if-ne v0, v9, :cond_29
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-lez v0, :cond_29
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-lez v0, :cond_29
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v1, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget-object v2, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v2, v2, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
add-int/2addr v0, v2
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget-object v2, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v2, v2, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
add-int/2addr v1, v2
|
||
|
|
||
|
sub-int/2addr v1, v0
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->wrapValue:I
|
||
|
|
||
|
invoke-static {v1, v0}, Ljava/lang/Math;->min(II)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
iget v2, v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mMatchConstraintMaxWidth:I
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->mMatchConstraintMinWidth:I
|
||
|
|
||
|
invoke-static {v1, v0}, Ljava/lang/Math;->max(II)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-lez v2, :cond_28
|
||
|
|
||
|
invoke-static {v2, v0}, Ljava/lang/Math;->min(II)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
:cond_28
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
invoke-virtual {v1, v0}, Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;->resolve(I)V
|
||
|
|
||
|
:cond_29
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget-boolean v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolved:Z
|
||
|
|
||
|
if-nez v0, :cond_2a
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_2a
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->targets:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v1, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v2, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget-object v3, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v3, v3, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
add-int/2addr v2, v3
|
||
|
|
||
|
iget v3, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget-object v4, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v4, v4, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->margin:I
|
||
|
|
||
|
add-int/2addr v3, v4
|
||
|
|
||
|
iget-object v4, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
|
||
|
|
||
|
invoke-virtual {v4}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHorizontalBiasPercent()F
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-ne v0, v1, :cond_2b
|
||
|
|
||
|
iget v2, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget v3, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
const/high16 v4, 0x3f000000 # 0.5f
|
||
|
|
||
|
:cond_2b
|
||
|
sub-int/2addr v3, v2
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget v0, v0, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
sub-int/2addr v3, v0
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
int-to-float v1, v2
|
||
|
|
||
|
add-float/2addr v1, v11
|
||
|
|
||
|
int-to-float v2, v3
|
||
|
|
||
|
mul-float v2, v2, v4
|
||
|
|
||
|
add-float/2addr v2, v1
|
||
|
|
||
|
float-to-int v1, v2
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolve(I)V
|
||
|
|
||
|
iget-object v0, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->end:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget-object v1, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->start:Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;
|
||
|
|
||
|
iget v1, v1, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
iget-object v2, v8, Landroidx/constraintlayout/solver/widgets/analyzer/WidgetRun;->dimension:Landroidx/constraintlayout/solver/widgets/analyzer/DimensionDependency;
|
||
|
|
||
|
iget v2, v2, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->value:I
|
||
|
|
||
|
add-int/2addr v1, v2
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/analyzer/DependencyNode;->resolve(I)V
|
||
|
|
||
|
:cond_2c
|
||
|
:goto_f
|
||
|
return-void
|
||
|
.end method
|