apkfuckery/com.discord/smali/androidx/constraintlayout/widget/ConstraintLayout.smali
2019-12-06 04:29:40 +01:00

5057 lines
148 KiB
Smali

.class public Landroidx/constraintlayout/widget/ConstraintLayout;
.super Landroid/view/ViewGroup;
.source "ConstraintLayout.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
}
.end annotation
# static fields
.field public static final ALLOWS_EMBEDDED:Z = false
.field public static final CACHE_MEASURED_DIMENSION:Z = false
.field public static final DEBUG:Z = false
.field public static final DESIGN_INFO_ID:I = 0x0
.field public static final TAG:Ljava/lang/String; = "ConstraintLayout"
.field public static final USE_CONSTRAINTS_HELPER:Z = true
.field public static final VERSION:Ljava/lang/String; = "ConstraintLayout-1.1.3"
# instance fields
.field public mChildrenByIds:Landroid/util/SparseArray;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/util/SparseArray<",
"Landroid/view/View;",
">;"
}
.end annotation
.end field
.field public mConstraintHelpers:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Landroidx/constraintlayout/widget/ConstraintHelper;",
">;"
}
.end annotation
.end field
.field public mConstraintSet:Landroidx/constraintlayout/widget/ConstraintSet;
.field public mConstraintSetId:I
.field public mDesignIds:Ljava/util/HashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.end field
.field public mDirtyHierarchy:Z
.field public mLastMeasureHeight:I
.field public mLastMeasureHeightMode:I
.field public mLastMeasureHeightSize:I
.field public mLastMeasureWidth:I
.field public mLastMeasureWidthMode:I
.field public mLastMeasureWidthSize:I
.field public mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
.field public mMaxHeight:I
.field public mMaxWidth:I
.field public mMetrics:Landroidx/constraintlayout/solver/Metrics;
.field public mMinHeight:I
.field public mMinWidth:I
.field public mOptimizationLevel:I
.field public final mVariableDimensionsWidgets:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Landroidx/constraintlayout/solver/widgets/ConstraintWidget;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 3
invoke-direct {p0, p1}, Landroid/view/ViewGroup;-><init>(Landroid/content/Context;)V
new-instance p1, Landroid/util/SparseArray;
invoke-direct {p1}, Landroid/util/SparseArray;-><init>()V
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mChildrenByIds:Landroid/util/SparseArray;
new-instance p1, Ljava/util/ArrayList;
const/4 v0, 0x4
invoke-direct {p1, v0}, Ljava/util/ArrayList;-><init>(I)V
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintHelpers:Ljava/util/ArrayList;
new-instance p1, Ljava/util/ArrayList;
const/16 v0, 0x64
invoke-direct {p1, v0}, Ljava/util/ArrayList;-><init>(I)V
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mVariableDimensionsWidgets:Ljava/util/ArrayList;
new-instance p1, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-direct {p1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;-><init>()V
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
const/4 p1, 0x0
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinWidth:I
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinHeight:I
const v0, 0x7fffffff
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxWidth:I
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxHeight:I
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDirtyHierarchy:Z
const/4 v0, 0x7
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mOptimizationLevel:I
const/4 v0, 0x0
iput-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSet:Landroidx/constraintlayout/widget/ConstraintSet;
const/4 v1, -0x1
iput v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSetId:I
new-instance v2, Ljava/util/HashMap;
invoke-direct {v2}, Ljava/util/HashMap;-><init>()V
iput-object v2, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDesignIds:Ljava/util/HashMap;
iput v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidth:I
iput v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeight:I
iput v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidthSize:I
iput v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeightSize:I
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidthMode:I
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeightMode:I
invoke-direct {p0, v0}, Landroidx/constraintlayout/widget/ConstraintLayout;->init(Landroid/util/AttributeSet;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 2
invoke-direct {p0, p1, p2}, Landroid/view/ViewGroup;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
new-instance p1, Landroid/util/SparseArray;
invoke-direct {p1}, Landroid/util/SparseArray;-><init>()V
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mChildrenByIds:Landroid/util/SparseArray;
new-instance p1, Ljava/util/ArrayList;
const/4 v0, 0x4
invoke-direct {p1, v0}, Ljava/util/ArrayList;-><init>(I)V
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintHelpers:Ljava/util/ArrayList;
new-instance p1, Ljava/util/ArrayList;
const/16 v0, 0x64
invoke-direct {p1, v0}, Ljava/util/ArrayList;-><init>(I)V
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mVariableDimensionsWidgets:Ljava/util/ArrayList;
new-instance p1, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-direct {p1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;-><init>()V
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
const/4 p1, 0x0
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinWidth:I
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinHeight:I
const v0, 0x7fffffff
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxWidth:I
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxHeight:I
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDirtyHierarchy:Z
const/4 v0, 0x7
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mOptimizationLevel:I
const/4 v0, 0x0
iput-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSet:Landroidx/constraintlayout/widget/ConstraintSet;
const/4 v0, -0x1
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSetId:I
new-instance v1, Ljava/util/HashMap;
invoke-direct {v1}, Ljava/util/HashMap;-><init>()V
iput-object v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDesignIds:Ljava/util/HashMap;
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidth:I
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeight:I
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidthSize:I
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeightSize:I
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidthMode:I
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeightMode:I
invoke-direct {p0, p2}, Landroidx/constraintlayout/widget/ConstraintLayout;->init(Landroid/util/AttributeSet;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.locals 1
invoke-direct {p0, p1, p2, p3}, Landroid/view/ViewGroup;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
new-instance p1, Landroid/util/SparseArray;
invoke-direct {p1}, Landroid/util/SparseArray;-><init>()V
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mChildrenByIds:Landroid/util/SparseArray;
new-instance p1, Ljava/util/ArrayList;
const/4 p3, 0x4
invoke-direct {p1, p3}, Ljava/util/ArrayList;-><init>(I)V
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintHelpers:Ljava/util/ArrayList;
new-instance p1, Ljava/util/ArrayList;
const/16 p3, 0x64
invoke-direct {p1, p3}, Ljava/util/ArrayList;-><init>(I)V
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mVariableDimensionsWidgets:Ljava/util/ArrayList;
new-instance p1, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-direct {p1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;-><init>()V
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
const/4 p1, 0x0
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinWidth:I
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinHeight:I
const p3, 0x7fffffff
iput p3, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxWidth:I
iput p3, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxHeight:I
const/4 p3, 0x1
iput-boolean p3, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDirtyHierarchy:Z
const/4 p3, 0x7
iput p3, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mOptimizationLevel:I
const/4 p3, 0x0
iput-object p3, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSet:Landroidx/constraintlayout/widget/ConstraintSet;
const/4 p3, -0x1
iput p3, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSetId:I
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDesignIds:Ljava/util/HashMap;
iput p3, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidth:I
iput p3, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeight:I
iput p3, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidthSize:I
iput p3, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeightSize:I
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidthMode:I
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeightMode:I
invoke-direct {p0, p2}, Landroidx/constraintlayout/widget/ConstraintLayout;->init(Landroid/util/AttributeSet;)V
return-void
.end method
.method private final getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
.locals 1
if-nez p1, :cond_0
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
return-object p1
:cond_0
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mChildrenByIds:Landroid/util/SparseArray;
invoke-virtual {v0, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/View;
if-nez v0, :cond_1
invoke-virtual {p0, p1}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
move-result-object v0
if-eqz v0, :cond_1
if-eq v0, p0, :cond_1
invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
move-result-object p1
if-ne p1, p0, :cond_1
invoke-virtual {p0, v0}, Landroidx/constraintlayout/widget/ConstraintLayout;->onViewAdded(Landroid/view/View;)V
:cond_1
if-ne v0, p0, :cond_2
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
return-object p1
:cond_2
if-nez v0, :cond_3
const/4 p1, 0x0
goto :goto_0
:cond_3
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object p1
check-cast p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
iget-object p1, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
:goto_0
return-object p1
.end method
.method private init(Landroid/util/AttributeSet;)V
.locals 7
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v0, p0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setCompanionWidget(Ljava/lang/Object;)V
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mChildrenByIds:Landroid/util/SparseArray;
invoke-virtual {p0}, Landroid/view/ViewGroup;->getId()I
move-result v1
invoke-virtual {v0, v1, p0}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
const/4 v0, 0x0
iput-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSet:Landroidx/constraintlayout/widget/ConstraintSet;
if-eqz p1, :cond_7
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
move-result-object v1
sget-object v2, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_Layout:[I
invoke-virtual {v1, p1, v2}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
move-result-object p1
invoke-virtual {p1}, Landroid/content/res/TypedArray;->getIndexCount()I
move-result v1
const/4 v2, 0x0
const/4 v3, 0x0
:goto_0
if-ge v3, v1, :cond_6
invoke-virtual {p1, v3}, Landroid/content/res/TypedArray;->getIndex(I)I
move-result v4
sget v5, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_Layout_android_minWidth:I
if-ne v4, v5, :cond_0
iget v5, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinWidth:I
invoke-virtual {p1, v4, v5}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I
move-result v4
iput v4, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinWidth:I
goto :goto_2
:cond_0
sget v5, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_Layout_android_minHeight:I
if-ne v4, v5, :cond_1
iget v5, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinHeight:I
invoke-virtual {p1, v4, v5}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I
move-result v4
iput v4, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinHeight:I
goto :goto_2
:cond_1
sget v5, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_Layout_android_maxWidth:I
if-ne v4, v5, :cond_2
iget v5, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxWidth:I
invoke-virtual {p1, v4, v5}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I
move-result v4
iput v4, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxWidth:I
goto :goto_2
:cond_2
sget v5, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_Layout_android_maxHeight:I
if-ne v4, v5, :cond_3
iget v5, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxHeight:I
invoke-virtual {p1, v4, v5}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I
move-result v4
iput v4, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxHeight:I
goto :goto_2
:cond_3
sget v5, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_Layout_layout_optimizationLevel:I
if-ne v4, v5, :cond_4
iget v5, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mOptimizationLevel:I
invoke-virtual {p1, v4, v5}, Landroid/content/res/TypedArray;->getInt(II)I
move-result v4
iput v4, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mOptimizationLevel:I
goto :goto_2
:cond_4
sget v5, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_Layout_constraintSet:I
if-ne v4, v5, :cond_5
invoke-virtual {p1, v4, v2}, Landroid/content/res/TypedArray;->getResourceId(II)I
move-result v4
:try_start_0
new-instance v5, Landroidx/constraintlayout/widget/ConstraintSet;
invoke-direct {v5}, Landroidx/constraintlayout/widget/ConstraintSet;-><init>()V
iput-object v5, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSet:Landroidx/constraintlayout/widget/ConstraintSet;
iget-object v5, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSet:Landroidx/constraintlayout/widget/ConstraintSet;
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
move-result-object v6
invoke-virtual {v5, v6, v4}, Landroidx/constraintlayout/widget/ConstraintSet;->load(Landroid/content/Context;I)V
:try_end_0
.catch Landroid/content/res/Resources$NotFoundException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_1
:catch_0
iput-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSet:Landroidx/constraintlayout/widget/ConstraintSet;
:goto_1
iput v4, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSetId:I
:cond_5
:goto_2
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_6
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
:cond_7
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mOptimizationLevel:I
invoke-virtual {p1, v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setOptimizationLevel(I)V
return-void
.end method
.method private internalMeasureChildren(II)V
.locals 22
move-object/from16 v0, p0
move/from16 v1, p1
move/from16 v2, p2
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingTop()I
move-result v3
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
move-result v4
add-int/2addr v4, v3
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
move-result v3
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingRight()I
move-result v5
add-int/2addr v5, v3
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getChildCount()I
move-result v3
const/4 v7, 0x0
:goto_0
if-ge v7, v3, :cond_12
invoke-virtual {v0, v7}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object v8
invoke-virtual {v8}, Landroid/view/View;->getVisibility()I
move-result v9
const/16 v10, 0x8
if-ne v9, v10, :cond_0
goto/16 :goto_a
:cond_0
invoke-virtual {v8}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v9
check-cast v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
iget-object v10, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
iget-boolean v11, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isGuideline:Z
if-nez v11, :cond_11
iget-boolean v11, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isHelper:Z
if-eqz v11, :cond_1
goto/16 :goto_a
:cond_1
invoke-virtual {v8}, Landroid/view/View;->getVisibility()I
move-result v11
invoke-virtual {v10, v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVisibility(I)V
iget v11, v9, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
iget v12, v9, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
iget-boolean v13, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalDimensionFixed:Z
const/4 v14, -0x1
const/4 v15, 0x1
if-nez v13, :cond_4
iget-boolean v6, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalDimensionFixed:Z
if-nez v6, :cond_4
if-nez v13, :cond_2
iget v6, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintDefaultWidth:I
if-eq v6, v15, :cond_4
:cond_2
iget v6, v9, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
if-eq v6, v14, :cond_4
iget-boolean v6, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalDimensionFixed:Z
if-nez v6, :cond_3
iget v6, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintDefaultHeight:I
if-eq v6, v15, :cond_4
iget v6, v9, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
if-ne v6, v14, :cond_3
goto :goto_1
:cond_3
const/4 v6, 0x0
goto :goto_2
:cond_4
:goto_1
const/4 v6, 0x1
:goto_2
if-eqz v6, :cond_e
const/4 v6, -0x2
if-nez v11, :cond_5
invoke-static {v1, v5, v6}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v13
const/16 v16, 0x1
goto :goto_4
:cond_5
if-ne v11, v14, :cond_6
invoke-static {v1, v5, v14}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v13
const/16 v16, 0x0
goto :goto_4
:cond_6
if-ne v11, v6, :cond_7
const/4 v13, 0x1
goto :goto_3
:cond_7
const/4 v13, 0x0
:goto_3
invoke-static {v1, v5, v11}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v16
move/from16 v21, v16
move/from16 v16, v13
move/from16 v13, v21
:goto_4
if-nez v12, :cond_8
invoke-static {v2, v4, v6}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v17
move/from16 v15, v17
const/16 v17, 0x1
goto :goto_6
:cond_8
if-ne v12, v14, :cond_9
invoke-static {v2, v4, v14}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v17
move/from16 v15, v17
const/16 v17, 0x0
goto :goto_6
:cond_9
if-ne v12, v6, :cond_a
const/16 v17, 0x1
goto :goto_5
:cond_a
const/16 v17, 0x0
:goto_5
invoke-static {v2, v4, v12}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v18
move/from16 v15, v18
:goto_6
invoke-virtual {v8, v13, v15}, Landroid/view/View;->measure(II)V
iget-object v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMetrics:Landroidx/constraintlayout/solver/Metrics;
if-eqz v13, :cond_b
iget-wide v14, v13, Landroidx/constraintlayout/solver/Metrics;->measures:J
const-wide/16 v19, 0x1
add-long v14, v14, v19
iput-wide v14, v13, Landroidx/constraintlayout/solver/Metrics;->measures:J
:cond_b
if-ne v11, v6, :cond_c
const/4 v11, 0x1
goto :goto_7
:cond_c
const/4 v11, 0x0
:goto_7
invoke-virtual {v10, v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidthWrapContent(Z)V
if-ne v12, v6, :cond_d
const/4 v6, 0x1
goto :goto_8
:cond_d
const/4 v6, 0x0
:goto_8
invoke-virtual {v10, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeightWrapContent(Z)V
invoke-virtual {v8}, Landroid/view/View;->getMeasuredWidth()I
move-result v11
invoke-virtual {v8}, Landroid/view/View;->getMeasuredHeight()I
move-result v12
goto :goto_9
:cond_e
const/16 v16, 0x0
const/16 v17, 0x0
:goto_9
invoke-virtual {v10, v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
invoke-virtual {v10, v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
if-eqz v16, :cond_f
invoke-virtual {v10, v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWrapWidth(I)V
:cond_f
if-eqz v17, :cond_10
invoke-virtual {v10, v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWrapHeight(I)V
:cond_10
iget-boolean v6, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->needsBaseline:Z
if-eqz v6, :cond_11
invoke-virtual {v8}, Landroid/view/View;->getBaseline()I
move-result v6
const/4 v8, -0x1
if-eq v6, v8, :cond_11
invoke-virtual {v10, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setBaselineDistance(I)V
:cond_11
:goto_a
add-int/lit8 v7, v7, 0x1
goto/16 :goto_0
:cond_12
return-void
.end method
.method private internalMeasureDimensions(II)V
.locals 23
move-object/from16 v0, p0
move/from16 v1, p1
move/from16 v2, p2
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingTop()I
move-result v3
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
move-result v4
add-int/2addr v4, v3
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
move-result v3
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingRight()I
move-result v5
add-int/2addr v5, v3
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getChildCount()I
move-result v3
const/4 v7, 0x0
:goto_0
const-wide/16 v8, 0x1
const/16 v10, 0x8
const/4 v12, -0x2
if-ge v7, v3, :cond_d
invoke-virtual {v0, v7}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object v14
invoke-virtual {v14}, Landroid/view/View;->getVisibility()I
move-result v15
if-ne v15, v10, :cond_0
goto/16 :goto_6
:cond_0
invoke-virtual {v14}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v10
check-cast v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
iget-object v15, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
iget-boolean v6, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isGuideline:Z
if-nez v6, :cond_c
iget-boolean v6, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isHelper:Z
if-eqz v6, :cond_1
goto/16 :goto_6
:cond_1
invoke-virtual {v14}, Landroid/view/View;->getVisibility()I
move-result v6
invoke-virtual {v15, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVisibility(I)V
iget v6, v10, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
iget v13, v10, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
if-eqz v6, :cond_b
if-nez v13, :cond_2
goto/16 :goto_5
:cond_2
if-ne v6, v12, :cond_3
const/16 v16, 0x1
goto :goto_1
:cond_3
const/16 v16, 0x0
:goto_1
invoke-static {v1, v5, v6}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v11
if-ne v13, v12, :cond_4
const/16 v17, 0x1
goto :goto_2
:cond_4
const/16 v17, 0x0
:goto_2
invoke-static {v2, v4, v13}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v12
invoke-virtual {v14, v11, v12}, Landroid/view/View;->measure(II)V
iget-object v11, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMetrics:Landroidx/constraintlayout/solver/Metrics;
if-eqz v11, :cond_5
iget-wide v1, v11, Landroidx/constraintlayout/solver/Metrics;->measures:J
add-long/2addr v1, v8
iput-wide v1, v11, Landroidx/constraintlayout/solver/Metrics;->measures:J
:cond_5
const/4 v1, -0x2
if-ne v6, v1, :cond_6
const/4 v2, 0x1
goto :goto_3
:cond_6
const/4 v2, 0x0
:goto_3
invoke-virtual {v15, v2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidthWrapContent(Z)V
if-ne v13, v1, :cond_7
const/4 v1, 0x1
goto :goto_4
:cond_7
const/4 v1, 0x0
:goto_4
invoke-virtual {v15, v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeightWrapContent(Z)V
invoke-virtual {v14}, Landroid/view/View;->getMeasuredWidth()I
move-result v1
invoke-virtual {v14}, Landroid/view/View;->getMeasuredHeight()I
move-result v2
invoke-virtual {v15, v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
invoke-virtual {v15, v2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
if-eqz v16, :cond_8
invoke-virtual {v15, v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWrapWidth(I)V
:cond_8
if-eqz v17, :cond_9
invoke-virtual {v15, v2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWrapHeight(I)V
:cond_9
iget-boolean v6, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->needsBaseline:Z
if-eqz v6, :cond_a
invoke-virtual {v14}, Landroid/view/View;->getBaseline()I
move-result v6
const/4 v8, -0x1
if-eq v6, v8, :cond_a
invoke-virtual {v15, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setBaselineDistance(I)V
:cond_a
iget-boolean v6, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalDimensionFixed:Z
if-eqz v6, :cond_c
iget-boolean v6, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalDimensionFixed:Z
if-eqz v6, :cond_c
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v6
invoke-virtual {v6, v1}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionHeight()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v1
invoke-virtual {v1, v2}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
goto :goto_6
:cond_b
:goto_5
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v1
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ResolutionNode;->invalidate()V
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionHeight()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v1
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ResolutionNode;->invalidate()V
:cond_c
:goto_6
add-int/lit8 v7, v7, 0x1
move/from16 v1, p1
move/from16 v2, p2
goto/16 :goto_0
:cond_d
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->solveGraph()V
const/4 v1, 0x0
:goto_7
if-ge v1, v3, :cond_2a
invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object v2
invoke-virtual {v2}, Landroid/view/View;->getVisibility()I
move-result v6
if-ne v6, v10, :cond_e
goto/16 :goto_17
:cond_e
invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v6
check-cast v6, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
iget-object v7, v6, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
iget-boolean v11, v6, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isGuideline:Z
if-nez v11, :cond_28
iget-boolean v11, v6, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isHelper:Z
if-eqz v11, :cond_f
goto/16 :goto_17
:cond_f
invoke-virtual {v2}, Landroid/view/View;->getVisibility()I
move-result v11
invoke-virtual {v7, v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVisibility(I)V
iget v11, v6, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
iget v12, v6, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
if-eqz v11, :cond_10
if-eqz v12, :cond_10
goto/16 :goto_17
:cond_10
sget-object v13, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->LEFT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v7, v13}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v13
invoke-virtual {v13}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getResolutionNode()Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;
move-result-object v13
sget-object v14, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->RIGHT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v7, v14}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v14
invoke-virtual {v14}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getResolutionNode()Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;
move-result-object v14
sget-object v15, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->LEFT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v7, v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v15
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getTarget()Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v15
if-eqz v15, :cond_11
sget-object v15, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->RIGHT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v7, v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v15
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getTarget()Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v15
if-eqz v15, :cond_11
const/4 v15, 0x1
goto :goto_8
:cond_11
const/4 v15, 0x0
:goto_8
sget-object v10, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->TOP:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v7, v10}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v10
invoke-virtual {v10}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getResolutionNode()Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;
move-result-object v10
sget-object v8, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->BOTTOM:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v7, v8}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v8
invoke-virtual {v8}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getResolutionNode()Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;
move-result-object v8
sget-object v9, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->TOP:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v7, v9}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v9
invoke-virtual {v9}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getTarget()Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v9
if-eqz v9, :cond_12
sget-object v9, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->BOTTOM:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v7, v9}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v9
invoke-virtual {v9}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getTarget()Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v9
if-eqz v9, :cond_12
const/4 v9, 0x1
goto :goto_9
:cond_12
const/4 v9, 0x0
:goto_9
if-nez v11, :cond_13
if-nez v12, :cond_13
if-eqz v15, :cond_13
if-eqz v9, :cond_13
move/from16 v8, p2
move/from16 v20, v1
move/from16 v17, v3
move v13, v4
const/4 v2, -0x1
const/4 v3, -0x2
const-wide/16 v18, 0x1
goto/16 :goto_18
:cond_13
move/from16 v17, v3
iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHorizontalDimensionBehaviour()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
move-result-object v3
move/from16 v20, v1
sget-object v1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
if-eq v3, v1, :cond_14
const/4 v1, 0x1
goto :goto_a
:cond_14
const/4 v1, 0x0
:goto_a
iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getVerticalDimensionBehaviour()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
move-result-object v3
move-object/from16 v21, v6
sget-object v6, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
if-eq v3, v6, :cond_15
const/4 v6, 0x1
goto :goto_b
:cond_15
const/4 v6, 0x0
:goto_b
if-nez v1, :cond_16
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v3
invoke-virtual {v3}, Landroidx/constraintlayout/solver/widgets/ResolutionNode;->invalidate()V
:cond_16
if-nez v6, :cond_17
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionHeight()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v3
invoke-virtual {v3}, Landroidx/constraintlayout/solver/widgets/ResolutionNode;->invalidate()V
:cond_17
if-nez v11, :cond_19
if-eqz v1, :cond_18
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->isSpreadWidth()Z
move-result v3
if-eqz v3, :cond_18
if-eqz v15, :cond_18
invoke-virtual {v13}, Landroidx/constraintlayout/solver/widgets/ResolutionNode;->isResolved()Z
move-result v3
if-eqz v3, :cond_18
invoke-virtual {v14}, Landroidx/constraintlayout/solver/widgets/ResolutionNode;->isResolved()Z
move-result v3
if-eqz v3, :cond_18
invoke-virtual {v14}, Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;->getResolvedValue()F
move-result v3
invoke-virtual {v13}, Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;->getResolvedValue()F
move-result v11
sub-float/2addr v3, v11
float-to-int v11, v3
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v3
invoke-virtual {v3, v11}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
move/from16 v3, p1
invoke-static {v3, v5, v11}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v13
move v14, v1
goto :goto_c
:cond_18
move/from16 v3, p1
const/4 v13, -0x2
invoke-static {v3, v5, v13}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v1
move v13, v1
const/4 v1, 0x1
const/4 v14, 0x0
goto :goto_e
:cond_19
move/from16 v3, p1
const/4 v13, -0x2
const/4 v14, -0x1
if-ne v11, v14, :cond_1a
invoke-static {v3, v5, v14}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v15
move v14, v1
move v13, v15
:goto_c
const/4 v1, 0x0
goto :goto_e
:cond_1a
if-ne v11, v13, :cond_1b
const/4 v13, 0x1
goto :goto_d
:cond_1b
const/4 v13, 0x0
:goto_d
invoke-static {v3, v5, v11}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v14
move/from16 v22, v14
move v14, v1
move v1, v13
move/from16 v13, v22
:goto_e
if-nez v12, :cond_1d
if-eqz v6, :cond_1c
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->isSpreadHeight()Z
move-result v15
if-eqz v15, :cond_1c
if-eqz v9, :cond_1c
invoke-virtual {v10}, Landroidx/constraintlayout/solver/widgets/ResolutionNode;->isResolved()Z
move-result v9
if-eqz v9, :cond_1c
invoke-virtual {v8}, Landroidx/constraintlayout/solver/widgets/ResolutionNode;->isResolved()Z
move-result v9
if-eqz v9, :cond_1c
invoke-virtual {v8}, Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;->getResolvedValue()F
move-result v8
invoke-virtual {v10}, Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;->getResolvedValue()F
move-result v9
sub-float/2addr v8, v9
float-to-int v12, v8
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionHeight()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v8
invoke-virtual {v8, v12}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
move/from16 v8, p2
invoke-static {v8, v4, v12}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v9
move v15, v9
goto :goto_f
:cond_1c
move/from16 v8, p2
const/4 v9, -0x2
invoke-static {v8, v4, v9}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v6
move v15, v6
const/4 v6, 0x0
const/4 v9, 0x1
goto :goto_11
:cond_1d
move/from16 v8, p2
const/4 v9, -0x2
const/4 v10, -0x1
if-ne v12, v10, :cond_1e
invoke-static {v8, v4, v10}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v15
:goto_f
const/4 v9, 0x0
goto :goto_11
:cond_1e
if-ne v12, v9, :cond_1f
const/4 v9, 0x1
goto :goto_10
:cond_1f
const/4 v9, 0x0
:goto_10
invoke-static {v8, v4, v12}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v10
move v15, v10
:goto_11
invoke-virtual {v2, v13, v15}, Landroid/view/View;->measure(II)V
iget-object v10, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMetrics:Landroidx/constraintlayout/solver/Metrics;
move v13, v4
if-eqz v10, :cond_20
iget-wide v3, v10, Landroidx/constraintlayout/solver/Metrics;->measures:J
const-wide/16 v18, 0x1
add-long v3, v3, v18
iput-wide v3, v10, Landroidx/constraintlayout/solver/Metrics;->measures:J
goto :goto_12
:cond_20
const-wide/16 v18, 0x1
:goto_12
const/4 v3, -0x2
if-ne v11, v3, :cond_21
const/4 v4, 0x1
goto :goto_13
:cond_21
const/4 v4, 0x0
:goto_13
invoke-virtual {v7, v4}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidthWrapContent(Z)V
if-ne v12, v3, :cond_22
const/4 v4, 0x1
goto :goto_14
:cond_22
const/4 v4, 0x0
:goto_14
invoke-virtual {v7, v4}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeightWrapContent(Z)V
invoke-virtual {v2}, Landroid/view/View;->getMeasuredWidth()I
move-result v4
invoke-virtual {v2}, Landroid/view/View;->getMeasuredHeight()I
move-result v10
invoke-virtual {v7, v4}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
invoke-virtual {v7, v10}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
if-eqz v1, :cond_23
invoke-virtual {v7, v4}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWrapWidth(I)V
:cond_23
if-eqz v9, :cond_24
invoke-virtual {v7, v10}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWrapHeight(I)V
:cond_24
if-eqz v14, :cond_25
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v1
invoke-virtual {v1, v4}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
goto :goto_15
:cond_25
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v1
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->remove()V
:goto_15
if-eqz v6, :cond_26
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionHeight()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v1
invoke-virtual {v1, v10}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
goto :goto_16
:cond_26
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionHeight()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v1
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->remove()V
:goto_16
move-object/from16 v6, v21
iget-boolean v1, v6, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->needsBaseline:Z
if-eqz v1, :cond_27
invoke-virtual {v2}, Landroid/view/View;->getBaseline()I
move-result v1
const/4 v2, -0x1
if-eq v1, v2, :cond_29
invoke-virtual {v7, v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setBaselineDistance(I)V
goto :goto_18
:cond_27
const/4 v2, -0x1
goto :goto_18
:cond_28
:goto_17
move/from16 v20, v1
move/from16 v17, v3
move v13, v4
move-wide/from16 v18, v8
const/4 v2, -0x1
const/4 v3, -0x2
move/from16 v8, p2
:cond_29
:goto_18
add-int/lit8 v1, v20, 0x1
move v4, v13
move/from16 v3, v17
move-wide/from16 v8, v18
const/16 v10, 0x8
goto/16 :goto_7
:cond_2a
return-void
.end method
.method private setChildrenConstraints()V
.locals 25
move-object/from16 v0, p0
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->isInEditMode()Z
move-result v1
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getChildCount()I
move-result v2
const/4 v3, 0x0
const/4 v4, -0x1
if-eqz v1, :cond_1
const/4 v5, 0x0
:goto_0
if-ge v5, v2, :cond_1
invoke-virtual {v0, v5}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object v6
:try_start_0
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getResources()Landroid/content/res/Resources;
move-result-object v7
invoke-virtual {v6}, Landroid/view/View;->getId()I
move-result v8
invoke-virtual {v7, v8}, Landroid/content/res/Resources;->getResourceName(I)Ljava/lang/String;
move-result-object v7
invoke-virtual {v6}, Landroid/view/View;->getId()I
move-result v8
invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v8
invoke-virtual {v0, v3, v7, v8}, Landroidx/constraintlayout/widget/ConstraintLayout;->setDesignInformation(ILjava/lang/Object;Ljava/lang/Object;)V
const/16 v8, 0x2f
invoke-virtual {v7, v8}, Ljava/lang/String;->indexOf(I)I
move-result v8
if-eq v8, v4, :cond_0
add-int/lit8 v8, v8, 0x1
invoke-virtual {v7, v8}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object v7
:cond_0
invoke-virtual {v6}, Landroid/view/View;->getId()I
move-result v6
invoke-direct {v0, v6}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v6
invoke-virtual {v6, v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setDebugName(Ljava/lang/String;)V
:try_end_0
.catch Landroid/content/res/Resources$NotFoundException; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
add-int/lit8 v5, v5, 0x1
goto :goto_0
:cond_1
const/4 v5, 0x0
:goto_1
if-ge v5, v2, :cond_3
invoke-virtual {v0, v5}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object v6
invoke-virtual {v0, v6}, Landroidx/constraintlayout/widget/ConstraintLayout;->getViewWidget(Landroid/view/View;)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v6
if-nez v6, :cond_2
goto :goto_2
:cond_2
invoke-virtual {v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->reset()V
:goto_2
add-int/lit8 v5, v5, 0x1
goto :goto_1
:cond_3
iget v5, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSetId:I
if-eq v5, v4, :cond_5
const/4 v5, 0x0
:goto_3
if-ge v5, v2, :cond_5
invoke-virtual {v0, v5}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object v6
invoke-virtual {v6}, Landroid/view/View;->getId()I
move-result v7
iget v8, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSetId:I
if-ne v7, v8, :cond_4
instance-of v7, v6, Landroidx/constraintlayout/widget/Constraints;
if-eqz v7, :cond_4
check-cast v6, Landroidx/constraintlayout/widget/Constraints;
invoke-virtual {v6}, Landroidx/constraintlayout/widget/Constraints;->getConstraintSet()Landroidx/constraintlayout/widget/ConstraintSet;
move-result-object v6
iput-object v6, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSet:Landroidx/constraintlayout/widget/ConstraintSet;
:cond_4
add-int/lit8 v5, v5, 0x1
goto :goto_3
:cond_5
iget-object v5, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSet:Landroidx/constraintlayout/widget/ConstraintSet;
if-eqz v5, :cond_6
invoke-virtual {v5, v0}, Landroidx/constraintlayout/widget/ConstraintSet;->applyToInternal(Landroidx/constraintlayout/widget/ConstraintLayout;)V
:cond_6
iget-object v5, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v5}, Landroidx/constraintlayout/solver/widgets/WidgetContainer;->removeAllChildren()V
iget-object v5, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintHelpers:Ljava/util/ArrayList;
invoke-virtual {v5}, Ljava/util/ArrayList;->size()I
move-result v5
if-lez v5, :cond_7
const/4 v6, 0x0
:goto_4
if-ge v6, v5, :cond_7
iget-object v7, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintHelpers:Ljava/util/ArrayList;
invoke-virtual {v7, v6}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v7
check-cast v7, Landroidx/constraintlayout/widget/ConstraintHelper;
invoke-virtual {v7, v0}, Landroidx/constraintlayout/widget/ConstraintHelper;->updatePreLayout(Landroidx/constraintlayout/widget/ConstraintLayout;)V
add-int/lit8 v6, v6, 0x1
goto :goto_4
:cond_7
const/4 v5, 0x0
:goto_5
if-ge v5, v2, :cond_9
invoke-virtual {v0, v5}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object v6
instance-of v7, v6, Landroidx/constraintlayout/widget/Placeholder;
if-eqz v7, :cond_8
check-cast v6, Landroidx/constraintlayout/widget/Placeholder;
invoke-virtual {v6, v0}, Landroidx/constraintlayout/widget/Placeholder;->updatePreLayout(Landroidx/constraintlayout/widget/ConstraintLayout;)V
:cond_8
add-int/lit8 v5, v5, 0x1
goto :goto_5
:cond_9
const/4 v5, 0x0
:goto_6
if-ge v5, v2, :cond_29
invoke-virtual {v0, v5}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object v6
invoke-virtual {v0, v6}, Landroidx/constraintlayout/widget/ConstraintLayout;->getViewWidget(Landroid/view/View;)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v13
if-nez v13, :cond_a
goto/16 :goto_f
:cond_a
invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v7
move-object v14, v7
check-cast v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
invoke-virtual {v14}, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->validate()V
iget-boolean v7, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->helped:Z
if-eqz v7, :cond_b
iput-boolean v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->helped:Z
goto :goto_7
:cond_b
if-eqz v1, :cond_c
:try_start_1
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getResources()Landroid/content/res/Resources;
move-result-object v7
invoke-virtual {v6}, Landroid/view/View;->getId()I
move-result v8
invoke-virtual {v7, v8}, Landroid/content/res/Resources;->getResourceName(I)Ljava/lang/String;
move-result-object v7
invoke-virtual {v6}, Landroid/view/View;->getId()I
move-result v8
invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v8
invoke-virtual {v0, v3, v7, v8}, Landroidx/constraintlayout/widget/ConstraintLayout;->setDesignInformation(ILjava/lang/Object;Ljava/lang/Object;)V
const-string v8, "id/"
invoke-virtual {v7, v8}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I
move-result v8
add-int/lit8 v8, v8, 0x3
invoke-virtual {v7, v8}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object v7
invoke-virtual {v6}, Landroid/view/View;->getId()I
move-result v8
invoke-direct {v0, v8}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v8
invoke-virtual {v8, v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setDebugName(Ljava/lang/String;)V
:try_end_1
.catch Landroid/content/res/Resources$NotFoundException; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_7
:catch_1
nop
:cond_c
:goto_7
invoke-virtual {v6}, Landroid/view/View;->getVisibility()I
move-result v7
invoke-virtual {v13, v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVisibility(I)V
iget-boolean v7, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isInPlaceholder:Z
if-eqz v7, :cond_d
const/16 v7, 0x8
invoke-virtual {v13, v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVisibility(I)V
:cond_d
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setCompanionWidget(Ljava/lang/Object;)V
iget-object v6, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v6, v13}, Landroidx/constraintlayout/solver/widgets/WidgetContainer;->add(Landroidx/constraintlayout/solver/widgets/ConstraintWidget;)V
iget-boolean v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalDimensionFixed:Z
if-eqz v6, :cond_e
iget-boolean v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalDimensionFixed:Z
if-nez v6, :cond_f
:cond_e
iget-object v6, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mVariableDimensionsWidgets:Ljava/util/ArrayList;
invoke-virtual {v6, v13}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
:cond_f
iget-boolean v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isGuideline:Z
if-eqz v6, :cond_12
check-cast v13, Landroidx/constraintlayout/solver/widgets/Guideline;
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedGuideBegin:I
iget v7, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedGuideEnd:I
iget v8, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedGuidePercent:F
sget v9, Landroid/os/Build$VERSION;->SDK_INT:I
const/high16 v9, -0x40800000 # -1.0f
cmpl-float v9, v8, v9
if-eqz v9, :cond_10
invoke-virtual {v13, v8}, Landroidx/constraintlayout/solver/widgets/Guideline;->setGuidePercent(F)V
goto/16 :goto_f
:cond_10
if-eq v6, v4, :cond_11
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/Guideline;->setGuideBegin(I)V
goto/16 :goto_f
:cond_11
if-eq v7, v4, :cond_28
invoke-virtual {v13, v7}, Landroidx/constraintlayout/solver/widgets/Guideline;->setGuideEnd(I)V
goto/16 :goto_f
:cond_12
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftToLeft:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftToRight:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightToLeft:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightToRight:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->startToStart:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->startToEnd:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->endToStart:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->endToEnd:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToTop:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToBottom:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToTop:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToBottom:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->baselineToBaseline:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->editorAbsoluteX:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->editorAbsoluteY:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->circleConstraint:I
if-ne v6, v4, :cond_13
iget v6, v14, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
if-eq v6, v4, :cond_13
iget v6, v14, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
if-ne v6, v4, :cond_28
:cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedLeftToLeft:I
iget v7, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedLeftToRight:I
iget v15, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedRightToLeft:I
iget v12, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedRightToRight:I
iget v11, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolveGoneLeftMargin:I
iget v10, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolveGoneRightMargin:I
iget v9, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedHorizontalBias:F
sget v8, Landroid/os/Build$VERSION;->SDK_INT:I
iget v8, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->circleConstraint:I
if-eq v8, v4, :cond_14
invoke-direct {v0, v8}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v6
if-eqz v6, :cond_20
iget v7, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->circleAngle:F
iget v8, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->circleRadius:I
invoke-virtual {v13, v6, v7, v8}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->connectCircularConstraint(Landroidx/constraintlayout/solver/widgets/ConstraintWidget;FI)V
goto/16 :goto_c
:cond_14
if-eq v6, v4, :cond_16
invoke-direct {v0, v6}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v6
if-eqz v6, :cond_15
sget-object v16, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->LEFT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
iget v8, v14, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
move-object v7, v13
move/from16 v17, v8
move-object/from16 v8, v16
move v3, v9
move-object v9, v6
move v6, v10
move-object/from16 v10, v16
move/from16 v16, v11
move/from16 v11, v17
move/from16 v18, v12
move/from16 v12, v16
invoke-virtual/range {v7 .. v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->immediateConnect(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;Landroidx/constraintlayout/solver/widgets/ConstraintWidget;Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;II)V
goto :goto_8
:cond_15
move v3, v9
move v6, v10
move/from16 v18, v12
goto :goto_8
:cond_16
move v3, v9
move v6, v10
move/from16 v16, v11
move/from16 v18, v12
if-eq v7, v4, :cond_17
invoke-direct {v0, v7}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v9
if-eqz v9, :cond_17
sget-object v8, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->LEFT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
sget-object v10, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->RIGHT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
iget v11, v14, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
move-object v7, v13
move/from16 v12, v16
invoke-virtual/range {v7 .. v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->immediateConnect(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;Landroidx/constraintlayout/solver/widgets/ConstraintWidget;Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;II)V
:cond_17
:goto_8
if-eq v15, v4, :cond_18
invoke-direct {v0, v15}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v9
if-eqz v9, :cond_19
sget-object v8, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->RIGHT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
sget-object v10, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->LEFT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
iget v11, v14, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
move-object v7, v13
move v12, v6
invoke-virtual/range {v7 .. v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->immediateConnect(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;Landroidx/constraintlayout/solver/widgets/ConstraintWidget;Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;II)V
goto :goto_9
:cond_18
move/from16 v7, v18
if-eq v7, v4, :cond_19
invoke-direct {v0, v7}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v9
if-eqz v9, :cond_19
sget-object v10, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->RIGHT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
iget v11, v14, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
move-object v7, v13
move-object v8, v10
move v12, v6
invoke-virtual/range {v7 .. v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->immediateConnect(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;Landroidx/constraintlayout/solver/widgets/ConstraintWidget;Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;II)V
:cond_19
:goto_9
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToTop:I
if-eq v6, v4, :cond_1a
invoke-direct {v0, v6}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v9
if-eqz v9, :cond_1b
sget-object v10, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->TOP:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
iget v11, v14, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
iget v12, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneTopMargin:I
move-object v7, v13
move-object v8, v10
invoke-virtual/range {v7 .. v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->immediateConnect(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;Landroidx/constraintlayout/solver/widgets/ConstraintWidget;Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;II)V
goto :goto_a
:cond_1a
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToBottom:I
if-eq v6, v4, :cond_1b
invoke-direct {v0, v6}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v9
if-eqz v9, :cond_1b
sget-object v8, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->TOP:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
sget-object v10, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->BOTTOM:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
iget v11, v14, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
iget v12, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneTopMargin:I
move-object v7, v13
invoke-virtual/range {v7 .. v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->immediateConnect(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;Landroidx/constraintlayout/solver/widgets/ConstraintWidget;Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;II)V
:cond_1b
:goto_a
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToTop:I
if-eq v6, v4, :cond_1c
invoke-direct {v0, v6}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v9
if-eqz v9, :cond_1d
sget-object v8, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->BOTTOM:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
sget-object v10, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->TOP:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
iget v11, v14, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
iget v12, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneBottomMargin:I
move-object v7, v13
invoke-virtual/range {v7 .. v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->immediateConnect(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;Landroidx/constraintlayout/solver/widgets/ConstraintWidget;Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;II)V
goto :goto_b
:cond_1c
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToBottom:I
if-eq v6, v4, :cond_1d
invoke-direct {v0, v6}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v9
if-eqz v9, :cond_1d
sget-object v10, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->BOTTOM:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
iget v11, v14, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
iget v12, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneBottomMargin:I
move-object v7, v13
move-object v8, v10
invoke-virtual/range {v7 .. v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->immediateConnect(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;Landroidx/constraintlayout/solver/widgets/ConstraintWidget;Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;II)V
:cond_1d
:goto_b
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->baselineToBaseline:I
if-eq v6, v4, :cond_1e
iget-object v7, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mChildrenByIds:Landroid/util/SparseArray;
invoke-virtual {v7, v6}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
move-result-object v6
check-cast v6, Landroid/view/View;
iget v7, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->baselineToBaseline:I
invoke-direct {v0, v7}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v7
if-eqz v7, :cond_1e
if-eqz v6, :cond_1e
invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v8
instance-of v8, v8, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
if-eqz v8, :cond_1e
invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v6
check-cast v6, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
const/4 v8, 0x1
iput-boolean v8, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->needsBaseline:Z
iput-boolean v8, v6, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->needsBaseline:Z
sget-object v6, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->BASELINE:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v18
sget-object v6, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->BASELINE:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v7, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v19
const/16 v20, 0x0
const/16 v21, -0x1
sget-object v22, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Strength;->STRONG:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Strength;
const/16 v23, 0x0
const/16 v24, 0x1
invoke-virtual/range {v18 .. v24}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->connect(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;IILandroidx/constraintlayout/solver/widgets/ConstraintAnchor$Strength;IZ)Z
sget-object v6, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->TOP:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v6
invoke-virtual {v6}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->reset()V
sget-object v6, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->BOTTOM:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v6
invoke-virtual {v6}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->reset()V
:cond_1e
const/high16 v6, 0x3f000000 # 0.5f
const/4 v7, 0x0
cmpl-float v8, v3, v7
if-ltz v8, :cond_1f
cmpl-float v8, v3, v6
if-eqz v8, :cond_1f
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHorizontalBiasPercent(F)V
:cond_1f
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalBias:F
cmpl-float v7, v3, v7
if-ltz v7, :cond_20
cmpl-float v6, v3, v6
if-eqz v6, :cond_20
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVerticalBiasPercent(F)V
:cond_20
:goto_c
if-eqz v1, :cond_22
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->editorAbsoluteX:I
if-ne v3, v4, :cond_21
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->editorAbsoluteY:I
if-eq v3, v4, :cond_22
:cond_21
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->editorAbsoluteX:I
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->editorAbsoluteY:I
invoke-virtual {v13, v3, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setOrigin(II)V
:cond_22
iget-boolean v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalDimensionFixed:Z
if-nez v3, :cond_24
iget v3, v14, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
if-ne v3, v4, :cond_23
sget-object v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->MATCH_PARENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHorizontalDimensionBehaviour(Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;)V
sget-object v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->LEFT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v3
iget v6, v14, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
iput v6, v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mMargin:I
sget-object v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->RIGHT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v3
iget v6, v14, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
iput v6, v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mMargin:I
goto :goto_d
:cond_23
sget-object v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->MATCH_CONSTRAINT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHorizontalDimensionBehaviour(Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;)V
const/4 v3, 0x0
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
goto :goto_d
:cond_24
sget-object v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->FIXED:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHorizontalDimensionBehaviour(Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;)V
iget v3, v14, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
:goto_d
iget-boolean v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalDimensionFixed:Z
if-nez v3, :cond_26
iget v3, v14, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
if-ne v3, v4, :cond_25
sget-object v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->MATCH_PARENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVerticalDimensionBehaviour(Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;)V
sget-object v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->TOP:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v3
iget v6, v14, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
iput v6, v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mMargin:I
sget-object v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->BOTTOM:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v3
iget v6, v14, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
iput v6, v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mMargin:I
const/4 v3, 0x0
goto :goto_e
:cond_25
sget-object v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->MATCH_CONSTRAINT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVerticalDimensionBehaviour(Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;)V
const/4 v3, 0x0
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
goto :goto_e
:cond_26
const/4 v3, 0x0
sget-object v6, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->FIXED:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVerticalDimensionBehaviour(Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;)V
iget v6, v14, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
:goto_e
iget-object v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->dimensionRatio:Ljava/lang/String;
if-eqz v6, :cond_27
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setDimensionRatio(Ljava/lang/String;)V
:cond_27
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalWeight:F
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHorizontalWeight(F)V
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalWeight:F
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVerticalWeight(F)V
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalChainStyle:I
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHorizontalChainStyle(I)V
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalChainStyle:I
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVerticalChainStyle(I)V
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintDefaultWidth:I
iget v7, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintMinWidth:I
iget v8, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintMaxWidth:I
iget v9, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintPercentWidth:F
invoke-virtual {v13, v6, v7, v8, v9}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHorizontalMatchStyle(IIIF)V
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintDefaultHeight:I
iget v7, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintMinHeight:I
iget v8, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintMaxHeight:I
iget v9, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintPercentHeight:F
invoke-virtual {v13, v6, v7, v8, v9}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVerticalMatchStyle(IIIF)V
:cond_28
:goto_f
add-int/lit8 v5, v5, 0x1
goto/16 :goto_6
:cond_29
return-void
.end method
.method private setSelfDimensionBehaviour(II)V
.locals 9
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
move-result v0
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result p1
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
move-result v1
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result p2
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingTop()I
move-result v2
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
move-result v3
add-int/2addr v3, v2
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
move-result v2
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingRight()I
move-result v4
add-int/2addr v4, v2
sget-object v2, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->FIXED:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
invoke-virtual {p0}, Landroid/view/ViewGroup;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
const/high16 v5, 0x40000000 # 2.0f
const/high16 v6, -0x80000000
const/4 v7, 0x0
if-eq v0, v6, :cond_2
if-eqz v0, :cond_1
if-eq v0, v5, :cond_0
move-object p1, v2
:goto_0
const/4 v0, 0x0
goto :goto_1
:cond_0
iget v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxWidth:I
invoke-static {v0, p1}, Ljava/lang/Math;->min(II)I
move-result p1
sub-int/2addr p1, v4
move v0, p1
move-object p1, v2
goto :goto_1
:cond_1
sget-object p1, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
goto :goto_0
:cond_2
sget-object v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
move-object v8, v0
move v0, p1
move-object p1, v8
:goto_1
if-eq v1, v6, :cond_5
if-eqz v1, :cond_4
if-eq v1, v5, :cond_3
:goto_2
const/4 p2, 0x0
goto :goto_3
:cond_3
iget v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxHeight:I
invoke-static {v1, p2}, Ljava/lang/Math;->min(II)I
move-result p2
sub-int/2addr p2, v3
goto :goto_3
:cond_4
sget-object v2, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
goto :goto_2
:cond_5
sget-object v2, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
:goto_3
iget-object v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v1, v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setMinWidth(I)V
iget-object v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v1, v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setMinHeight(I)V
iget-object v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v1, p1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHorizontalDimensionBehaviour(Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;)V
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {p1, v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {p1, v2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVerticalDimensionBehaviour(Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;)V
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {p1, p2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget p2, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinWidth:I
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
move-result v0
sub-int/2addr p2, v0
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingRight()I
move-result v0
sub-int/2addr p2, v0
invoke-virtual {p1, p2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setMinWidth(I)V
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget p2, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinHeight:I
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingTop()I
move-result v0
sub-int/2addr p2, v0
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
move-result v0
sub-int/2addr p2, v0
invoke-virtual {p1, p2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setMinHeight(I)V
return-void
.end method
.method private updateHierarchy()V
.locals 4
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
move-result v0
const/4 v1, 0x0
const/4 v2, 0x0
:goto_0
if-ge v2, v0, :cond_1
invoke-virtual {p0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object v3
invoke-virtual {v3}, Landroid/view/View;->isLayoutRequested()Z
move-result v3
if-eqz v3, :cond_0
const/4 v1, 0x1
goto :goto_1
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
:goto_1
if-eqz v1, :cond_2
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mVariableDimensionsWidgets:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
invoke-direct {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->setChildrenConstraints()V
:cond_2
return-void
.end method
.method private updatePostMeasures()V
.locals 5
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
move-result v0
const/4 v1, 0x0
const/4 v2, 0x0
:goto_0
if-ge v2, v0, :cond_1
invoke-virtual {p0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object v3
instance-of v4, v3, Landroidx/constraintlayout/widget/Placeholder;
if-eqz v4, :cond_0
check-cast v3, Landroidx/constraintlayout/widget/Placeholder;
invoke-virtual {v3, p0}, Landroidx/constraintlayout/widget/Placeholder;->updatePostMeasure(Landroidx/constraintlayout/widget/ConstraintLayout;)V
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintHelpers:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
if-lez v0, :cond_2
:goto_1
if-ge v1, v0, :cond_2
iget-object v2, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintHelpers:Ljava/util/ArrayList;
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroidx/constraintlayout/widget/ConstraintHelper;
invoke-virtual {v2, p0}, Landroidx/constraintlayout/widget/ConstraintHelper;->updatePostMeasure(Landroidx/constraintlayout/widget/ConstraintLayout;)V
add-int/lit8 v1, v1, 0x1
goto :goto_1
:cond_2
return-void
.end method
# virtual methods
.method public addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
.locals 0
invoke-super {p0, p1, p2, p3}, Landroid/view/ViewGroup;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
return-void
.end method
.method public checkLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Z
.locals 0
instance-of p1, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
return p1
.end method
.method public dispatchDraw(Landroid/graphics/Canvas;)V
.locals 20
invoke-super/range {p0 .. p1}, Landroid/view/ViewGroup;->dispatchDraw(Landroid/graphics/Canvas;)V
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->isInEditMode()Z
move-result v0
if-eqz v0, :cond_2
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getChildCount()I
move-result v0
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getWidth()I
move-result v1
int-to-float v1, v1
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getHeight()I
move-result v2
int-to-float v2, v2
const/high16 v3, 0x44870000 # 1080.0f
const/high16 v4, 0x44f00000 # 1920.0f
const/4 v5, 0x0
const/4 v6, 0x0
:goto_0
if-ge v6, v0, :cond_2
move-object/from16 v7, p0
invoke-virtual {v7, v6}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object v8
invoke-virtual {v8}, Landroid/view/View;->getVisibility()I
move-result v9
const/16 v10, 0x8
if-ne v9, v10, :cond_0
goto/16 :goto_1
:cond_0
invoke-virtual {v8}, Landroid/view/View;->getTag()Ljava/lang/Object;
move-result-object v8
if-eqz v8, :cond_1
instance-of v9, v8, Ljava/lang/String;
if-eqz v9, :cond_1
check-cast v8, Ljava/lang/String;
const-string v9, ","
invoke-virtual {v8, v9}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
move-result-object v8
array-length v9, v8
const/4 v10, 0x4
if-ne v9, v10, :cond_1
aget-object v9, v8, v5
invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v9
const/4 v10, 0x1
aget-object v10, v8, v10
invoke-static {v10}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v10
const/4 v11, 0x2
aget-object v11, v8, v11
invoke-static {v11}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v11
const/4 v12, 0x3
aget-object v8, v8, v12
invoke-static {v8}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v8
int-to-float v9, v9
div-float/2addr v9, v3
mul-float v9, v9, v1
float-to-int v9, v9
int-to-float v10, v10
div-float/2addr v10, v4
mul-float v10, v10, v2
float-to-int v10, v10
int-to-float v11, v11
div-float/2addr v11, v3
mul-float v11, v11, v1
float-to-int v11, v11
int-to-float v8, v8
div-float/2addr v8, v4
mul-float v8, v8, v2
float-to-int v8, v8
new-instance v15, Landroid/graphics/Paint;
invoke-direct {v15}, Landroid/graphics/Paint;-><init>()V
const/high16 v12, -0x10000
invoke-virtual {v15, v12}, Landroid/graphics/Paint;->setColor(I)V
int-to-float v14, v9
int-to-float v13, v10
add-int/2addr v9, v11
int-to-float v9, v9
move-object/from16 v12, p1
move v11, v13
move v13, v14
move/from16 v18, v14
move v14, v11
move-object/from16 v19, v15
move v15, v9
move/from16 v16, v11
move-object/from16 v17, v19
invoke-virtual/range {v12 .. v17}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
add-int/2addr v10, v8
int-to-float v8, v10
move v13, v9
move/from16 v16, v8
invoke-virtual/range {v12 .. v17}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
move v14, v8
move/from16 v15, v18
invoke-virtual/range {v12 .. v17}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
move/from16 v13, v18
move/from16 v16, v11
invoke-virtual/range {v12 .. v17}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
const v10, -0xff0100
move-object/from16 v15, v19
invoke-virtual {v15, v10}, Landroid/graphics/Paint;->setColor(I)V
move v14, v11
move-object v10, v15
move v15, v9
move/from16 v16, v8
move-object/from16 v17, v10
invoke-virtual/range {v12 .. v17}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
move v14, v8
move/from16 v16, v11
invoke-virtual/range {v12 .. v17}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
:cond_1
:goto_1
add-int/lit8 v6, v6, 0x1
goto/16 :goto_0
:cond_2
move-object/from16 v7, p0
return-void
.end method
.method public fillMetrics(Landroidx/constraintlayout/solver/Metrics;)V
.locals 1
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMetrics:Landroidx/constraintlayout/solver/Metrics;
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v0, p1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->fillMetrics(Landroidx/constraintlayout/solver/Metrics;)V
return-void
.end method
.method public bridge synthetic generateDefaultLayoutParams()Landroid/view/ViewGroup$LayoutParams;
.locals 1
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->generateDefaultLayoutParams()Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
move-result-object v0
return-object v0
.end method
.method public generateDefaultLayoutParams()Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
.locals 2
new-instance v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
const/4 v1, -0x2
invoke-direct {v0, v1, v1}, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;-><init>(II)V
return-object v0
.end method
.method public bridge synthetic generateLayoutParams(Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;
.locals 0
invoke-virtual {p0, p1}, Landroidx/constraintlayout/widget/ConstraintLayout;->generateLayoutParams(Landroid/util/AttributeSet;)Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
move-result-object p1
return-object p1
.end method
.method public generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroid/view/ViewGroup$LayoutParams;
.locals 1
new-instance v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
invoke-direct {v0, p1}, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
return-object v0
.end method
.method public generateLayoutParams(Landroid/util/AttributeSet;)Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
.locals 2
new-instance v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
move-result-object v1
invoke-direct {v0, v1, p1}, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method public getDesignInformation(ILjava/lang/Object;)Ljava/lang/Object;
.locals 0
if-nez p1, :cond_0
instance-of p1, p2, Ljava/lang/String;
if-eqz p1, :cond_0
check-cast p2, Ljava/lang/String;
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDesignIds:Ljava/util/HashMap;
if-eqz p1, :cond_0
invoke-virtual {p1, p2}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDesignIds:Ljava/util/HashMap;
invoke-virtual {p1, p2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
:cond_0
const/4 p1, 0x0
return-object p1
.end method
.method public getMaxHeight()I
.locals 1
iget v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxHeight:I
return v0
.end method
.method public getMaxWidth()I
.locals 1
iget v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxWidth:I
return v0
.end method
.method public getMinHeight()I
.locals 1
iget v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinHeight:I
return v0
.end method
.method public getMinWidth()I
.locals 1
iget v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinWidth:I
return v0
.end method
.method public getOptimizationLevel()I
.locals 1
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->getOptimizationLevel()I
move-result v0
return v0
.end method
.method public getViewById(I)Landroid/view/View;
.locals 1
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mChildrenByIds:Landroid/util/SparseArray;
invoke-virtual {v0, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Landroid/view/View;
return-object p1
.end method
.method public final getViewWidget(Landroid/view/View;)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
.locals 0
if-ne p1, p0, :cond_0
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
return-object p1
:cond_0
if-nez p1, :cond_1
const/4 p1, 0x0
goto :goto_0
:cond_1
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object p1
check-cast p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
iget-object p1, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
:goto_0
return-object p1
.end method
.method public onLayout(ZIIII)V
.locals 5
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
move-result p1
invoke-virtual {p0}, Landroid/view/ViewGroup;->isInEditMode()Z
move-result p2
const/4 p3, 0x0
const/4 p4, 0x0
:goto_0
if-ge p4, p1, :cond_3
invoke-virtual {p0, p4}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object p5
invoke-virtual {p5}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
check-cast v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
invoke-virtual {p5}, Landroid/view/View;->getVisibility()I
move-result v2
const/16 v3, 0x8
if-ne v2, v3, :cond_0
iget-boolean v2, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isGuideline:Z
if-nez v2, :cond_0
iget-boolean v2, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isHelper:Z
if-nez v2, :cond_0
if-nez p2, :cond_0
goto :goto_1
:cond_0
iget-boolean v0, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isInPlaceholder:Z
if-eqz v0, :cond_1
goto :goto_1
:cond_1
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getDrawX()I
move-result v0
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getDrawY()I
move-result v2
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
move-result v3
add-int/2addr v3, v0
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHeight()I
move-result v1
add-int/2addr v1, v2
invoke-virtual {p5, v0, v2, v3, v1}, Landroid/view/View;->layout(IIII)V
instance-of v4, p5, Landroidx/constraintlayout/widget/Placeholder;
if-eqz v4, :cond_2
check-cast p5, Landroidx/constraintlayout/widget/Placeholder;
invoke-virtual {p5}, Landroidx/constraintlayout/widget/Placeholder;->getContent()Landroid/view/View;
move-result-object p5
if-eqz p5, :cond_2
invoke-virtual {p5, p3}, Landroid/view/View;->setVisibility(I)V
invoke-virtual {p5, v0, v2, v3, v1}, Landroid/view/View;->layout(IIII)V
:cond_2
:goto_1
add-int/lit8 p4, p4, 0x1
goto :goto_0
:cond_3
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintHelpers:Ljava/util/ArrayList;
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
move-result p1
if-lez p1, :cond_4
:goto_2
if-ge p3, p1, :cond_4
iget-object p2, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintHelpers:Ljava/util/ArrayList;
invoke-virtual {p2, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object p2
check-cast p2, Landroidx/constraintlayout/widget/ConstraintHelper;
invoke-virtual {p2, p0}, Landroidx/constraintlayout/widget/ConstraintHelper;->updatePostLayout(Landroidx/constraintlayout/widget/ConstraintLayout;)V
add-int/lit8 p3, p3, 0x1
goto :goto_2
:cond_4
return-void
.end method
.method public onMeasure(II)V
.locals 23
move-object/from16 v0, p0
move/from16 v1, p1
move/from16 v2, p2
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
invoke-static/range {p1 .. p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
move-result v3
invoke-static/range {p1 .. p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result v4
invoke-static/range {p2 .. p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
move-result v5
invoke-static/range {p2 .. p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result v6
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
move-result v7
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingTop()I
move-result v8
iget-object v9, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v9, v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setX(I)V
iget-object v9, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v9, v8}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setY(I)V
iget-object v9, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget v10, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxWidth:I
invoke-virtual {v9, v10}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setMaxWidth(I)V
iget-object v9, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget v10, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxHeight:I
invoke-virtual {v9, v10}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setMaxHeight(I)V
sget v9, Landroid/os/Build$VERSION;->SDK_INT:I
iget-object v9, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getLayoutDirection()I
move-result v10
const/4 v11, 0x0
const/4 v12, 0x1
if-ne v10, v12, :cond_0
const/4 v10, 0x1
goto :goto_0
:cond_0
const/4 v10, 0x0
:goto_0
invoke-virtual {v9, v10}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setRtl(Z)V
invoke-direct/range {p0 .. p2}, Landroidx/constraintlayout/widget/ConstraintLayout;->setSelfDimensionBehaviour(II)V
iget-object v9, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v9}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
move-result v9
iget-object v10, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v10}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHeight()I
move-result v10
iget-boolean v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDirtyHierarchy:Z
if-eqz v13, :cond_1
iput-boolean v11, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDirtyHierarchy:Z
invoke-direct/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->updateHierarchy()V
const/4 v13, 0x1
goto :goto_1
:cond_1
const/4 v13, 0x0
:goto_1
iget v14, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mOptimizationLevel:I
const/16 v15, 0x8
and-int/2addr v14, v15
if-ne v14, v15, :cond_2
const/4 v14, 0x1
goto :goto_2
:cond_2
const/4 v14, 0x0
:goto_2
if-eqz v14, :cond_3
iget-object v15, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->preOptimize()V
iget-object v15, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v15, v9, v10}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->optimizeForDimensions(II)V
invoke-direct/range {p0 .. p2}, Landroidx/constraintlayout/widget/ConstraintLayout;->internalMeasureDimensions(II)V
goto :goto_3
:cond_3
invoke-direct/range {p0 .. p2}, Landroidx/constraintlayout/widget/ConstraintLayout;->internalMeasureChildren(II)V
:goto_3
invoke-direct/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->updatePostMeasures()V
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getChildCount()I
move-result v15
if-lez v15, :cond_4
if-eqz v13, :cond_4
iget-object v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-static {v13}, Landroidx/constraintlayout/solver/widgets/Analyzer;->determineGroups(Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;)V
:cond_4
iget-object v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget-boolean v15, v13, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mGroupsWrapOptimized:Z
if-eqz v15, :cond_8
iget-boolean v15, v13, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mHorizontalWrapOptimized:Z
const/high16 v12, -0x80000000
if-eqz v15, :cond_6
if-ne v3, v12, :cond_6
iget v15, v13, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mWrapFixedWidth:I
if-ge v15, v4, :cond_5
invoke-virtual {v13, v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
:cond_5
iget-object v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
sget-object v15, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->FIXED:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
invoke-virtual {v13, v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHorizontalDimensionBehaviour(Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;)V
:cond_6
iget-object v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget-boolean v15, v13, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mVerticalWrapOptimized:Z
if-eqz v15, :cond_8
if-ne v5, v12, :cond_8
iget v12, v13, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mWrapFixedHeight:I
if-ge v12, v6, :cond_7
invoke-virtual {v13, v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
:cond_7
iget-object v12, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
sget-object v13, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->FIXED:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
invoke-virtual {v12, v13}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVerticalDimensionBehaviour(Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;)V
:cond_8
iget v12, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mOptimizationLevel:I
const/16 v13, 0x20
and-int/2addr v12, v13
const/high16 v15, 0x40000000 # 2.0f
if-ne v12, v13, :cond_c
iget-object v12, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
move-result v12
iget-object v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v13}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHeight()I
move-result v13
iget v11, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidth:I
if-eq v11, v12, :cond_9
if-ne v3, v15, :cond_9
iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mWidgetGroups:Ljava/util/List;
const/4 v11, 0x0
invoke-static {v3, v11, v12}, Landroidx/constraintlayout/solver/widgets/Analyzer;->setPosition(Ljava/util/List;II)V
:cond_9
iget v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeight:I
if-eq v3, v13, :cond_a
if-ne v5, v15, :cond_a
iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mWidgetGroups:Ljava/util/List;
const/4 v5, 0x1
invoke-static {v3, v5, v13}, Landroidx/constraintlayout/solver/widgets/Analyzer;->setPosition(Ljava/util/List;II)V
:cond_a
iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget-boolean v5, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mHorizontalWrapOptimized:Z
if-eqz v5, :cond_b
iget v5, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mWrapFixedWidth:I
if-le v5, v4, :cond_b
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mWidgetGroups:Ljava/util/List;
const/4 v11, 0x0
invoke-static {v3, v11, v4}, Landroidx/constraintlayout/solver/widgets/Analyzer;->setPosition(Ljava/util/List;II)V
goto :goto_4
:cond_b
const/4 v11, 0x0
:goto_4
iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget-boolean v4, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mVerticalWrapOptimized:Z
if-eqz v4, :cond_c
iget v4, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mWrapFixedHeight:I
if-le v4, v6, :cond_c
iget-object v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mWidgetGroups:Ljava/util/List;
const/4 v4, 0x1
invoke-static {v3, v4, v6}, Landroidx/constraintlayout/solver/widgets/Analyzer;->setPosition(Ljava/util/List;II)V
goto :goto_5
:cond_c
const/4 v4, 0x1
:goto_5
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getChildCount()I
move-result v3
if-lez v3, :cond_d
const-string v3, "First pass"
invoke-virtual {v0, v3}, Landroidx/constraintlayout/widget/ConstraintLayout;->solveLinearSystem(Ljava/lang/String;)V
:cond_d
iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mVariableDimensionsWidgets:Ljava/util/ArrayList;
invoke-virtual {v3}, Ljava/util/ArrayList;->size()I
move-result v3
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
move-result v5
add-int/2addr v5, v8
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getPaddingRight()I
move-result v6
add-int/2addr v6, v7
if-lez v3, :cond_29
iget-object v7, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHorizontalDimensionBehaviour()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
move-result-object v7
sget-object v8, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
if-ne v7, v8, :cond_e
const/4 v7, 0x1
goto :goto_6
:cond_e
const/4 v7, 0x0
:goto_6
iget-object v8, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v8}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getVerticalDimensionBehaviour()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
move-result-object v8
sget-object v12, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
if-ne v8, v12, :cond_f
const/4 v8, 0x1
goto :goto_7
:cond_f
const/4 v8, 0x0
:goto_7
iget-object v12, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
move-result v12
iget v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinWidth:I
invoke-static {v12, v13}, Ljava/lang/Math;->max(II)I
move-result v12
iget-object v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v13}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHeight()I
move-result v13
iget v4, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinHeight:I
invoke-static {v13, v4}, Ljava/lang/Math;->max(II)I
move-result v4
move v11, v4
move v13, v12
const/4 v4, 0x0
const/4 v12, 0x0
const/16 v16, 0x0
:goto_8
const-wide/16 v17, 0x1
if-ge v4, v3, :cond_1f
iget-object v15, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mVariableDimensionsWidgets:Ljava/util/ArrayList;
invoke-virtual {v15, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v15
check-cast v15, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getCompanionWidget()Ljava/lang/Object;
move-result-object v19
move/from16 v20, v3
move-object/from16 v3, v19
check-cast v3, Landroid/view/View;
if-nez v3, :cond_10
move/from16 v19, v9
move/from16 v21, v10
move/from16 v22, v12
move/from16 v3, v16
move v9, v5
goto/16 :goto_d
:cond_10
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v19
move/from16 v21, v10
move-object/from16 v10, v19
check-cast v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
move/from16 v19, v9
iget-boolean v9, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isHelper:Z
if-nez v9, :cond_1e
iget-boolean v9, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isGuideline:Z
if-eqz v9, :cond_11
goto/16 :goto_c
:cond_11
invoke-virtual {v3}, Landroid/view/View;->getVisibility()I
move-result v9
move/from16 v22, v12
const/16 v12, 0x8
if-ne v9, v12, :cond_12
:goto_9
move v9, v5
move v12, v6
move/from16 v3, v16
goto/16 :goto_e
:cond_12
if-eqz v14, :cond_13
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v9
invoke-virtual {v9}, Landroidx/constraintlayout/solver/widgets/ResolutionNode;->isResolved()Z
move-result v9
if-eqz v9, :cond_13
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionHeight()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v9
invoke-virtual {v9}, Landroidx/constraintlayout/solver/widgets/ResolutionNode;->isResolved()Z
move-result v9
if-eqz v9, :cond_13
goto :goto_9
:cond_13
iget v9, v10, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
const/4 v12, -0x2
if-ne v9, v12, :cond_14
iget-boolean v9, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalDimensionFixed:Z
if-eqz v9, :cond_14
iget v9, v10, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
invoke-static {v1, v6, v9}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v9
goto :goto_a
:cond_14
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
move-result v9
const/high16 v12, 0x40000000 # 2.0f
invoke-static {v9, v12}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v9
:goto_a
iget v12, v10, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
const/4 v1, -0x2
if-ne v12, v1, :cond_15
iget-boolean v1, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalDimensionFixed:Z
if-eqz v1, :cond_15
iget v1, v10, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
invoke-static {v2, v5, v1}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I
move-result v1
goto :goto_b
:cond_15
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHeight()I
move-result v1
const/high16 v12, 0x40000000 # 2.0f
invoke-static {v1, v12}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v1
:goto_b
invoke-virtual {v3, v9, v1}, Landroid/view/View;->measure(II)V
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMetrics:Landroidx/constraintlayout/solver/Metrics;
move v9, v5
move v12, v6
if-eqz v1, :cond_16
iget-wide v5, v1, Landroidx/constraintlayout/solver/Metrics;->additionalMeasures:J
add-long v5, v5, v17
iput-wide v5, v1, Landroidx/constraintlayout/solver/Metrics;->additionalMeasures:J
:cond_16
invoke-virtual {v3}, Landroid/view/View;->getMeasuredWidth()I
move-result v1
invoke-virtual {v3}, Landroid/view/View;->getMeasuredHeight()I
move-result v5
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
move-result v6
if-eq v1, v6, :cond_19
invoke-virtual {v15, v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
if-eqz v14, :cond_17
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v6
invoke-virtual {v6, v1}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
:cond_17
if-eqz v7, :cond_18
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getRight()I
move-result v1
if-le v1, v13, :cond_18
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getRight()I
move-result v1
sget-object v6, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->RIGHT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v15, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v6
invoke-virtual {v6}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
move-result v6
add-int/2addr v6, v1
invoke-static {v13, v6}, Ljava/lang/Math;->max(II)I
move-result v13
:cond_18
const/16 v22, 0x1
:cond_19
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHeight()I
move-result v1
if-eq v5, v1, :cond_1c
invoke-virtual {v15, v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
if-eqz v14, :cond_1a
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionHeight()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v1
invoke-virtual {v1, v5}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
:cond_1a
if-eqz v8, :cond_1b
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getBottom()I
move-result v1
if-le v1, v11, :cond_1b
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getBottom()I
move-result v1
sget-object v5, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->BOTTOM:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v15, v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getAnchor(Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;)Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v5
invoke-virtual {v5}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->getMargin()I
move-result v5
add-int/2addr v5, v1
invoke-static {v11, v5}, Ljava/lang/Math;->max(II)I
move-result v1
move v11, v1
:cond_1b
const/16 v22, 0x1
:cond_1c
iget-boolean v1, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->needsBaseline:Z
if-eqz v1, :cond_1d
invoke-virtual {v3}, Landroid/view/View;->getBaseline()I
move-result v1
const/4 v5, -0x1
if-eq v1, v5, :cond_1d
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getBaselineDistance()I
move-result v5
if-eq v1, v5, :cond_1d
invoke-virtual {v15, v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setBaselineDistance(I)V
const/16 v22, 0x1
:cond_1d
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-virtual {v3}, Landroid/view/View;->getMeasuredState()I
move-result v1
move/from16 v3, v16
invoke-static {v3, v1}, Landroid/view/ViewGroup;->combineMeasuredStates(II)I
move-result v16
goto :goto_f
:cond_1e
:goto_c
move v9, v5
move/from16 v22, v12
move/from16 v3, v16
:goto_d
move v12, v6
:goto_e
move/from16 v16, v3
:goto_f
add-int/lit8 v4, v4, 0x1
move/from16 v1, p1
move v5, v9
move v6, v12
move/from16 v9, v19
move/from16 v3, v20
move/from16 v10, v21
move/from16 v12, v22
const/high16 v15, 0x40000000 # 2.0f
goto/16 :goto_8
:cond_1f
move/from16 v20, v3
move/from16 v19, v9
move/from16 v21, v10
move/from16 v22, v12
move/from16 v3, v16
move v9, v5
move v12, v6
if-eqz v22, :cond_23
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
move/from16 v4, v19
invoke-virtual {v1, v4}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
move/from16 v4, v21
invoke-virtual {v1, v4}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
if-eqz v14, :cond_20
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->solveGraph()V
:cond_20
const-string v1, "2nd pass"
invoke-virtual {v0, v1}, Landroidx/constraintlayout/widget/ConstraintLayout;->solveLinearSystem(Ljava/lang/String;)V
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
move-result v1
if-ge v1, v13, :cond_21
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v1, v13}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
const/4 v1, 0x1
goto :goto_10
:cond_21
const/4 v1, 0x0
:goto_10
iget-object v4, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v4}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHeight()I
move-result v4
if-ge v4, v11, :cond_22
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v1, v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
const/4 v1, 0x1
:cond_22
if-eqz v1, :cond_23
const-string v1, "3rd pass"
invoke-virtual {v0, v1}, Landroidx/constraintlayout/widget/ConstraintLayout;->solveLinearSystem(Ljava/lang/String;)V
:cond_23
move/from16 v1, v20
const/4 v4, 0x0
:goto_11
if-ge v4, v1, :cond_2a
iget-object v5, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mVariableDimensionsWidgets:Ljava/util/ArrayList;
invoke-virtual {v5, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v5
check-cast v5, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
invoke-virtual {v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getCompanionWidget()Ljava/lang/Object;
move-result-object v6
check-cast v6, Landroid/view/View;
if-nez v6, :cond_26
:cond_24
const/16 v8, 0x8
:cond_25
const/high16 v10, 0x40000000 # 2.0f
goto :goto_12
:cond_26
invoke-virtual {v6}, Landroid/view/View;->getMeasuredWidth()I
move-result v7
invoke-virtual {v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
move-result v8
if-ne v7, v8, :cond_27
invoke-virtual {v6}, Landroid/view/View;->getMeasuredHeight()I
move-result v7
invoke-virtual {v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHeight()I
move-result v8
if-eq v7, v8, :cond_24
:cond_27
invoke-virtual {v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getVisibility()I
move-result v7
const/16 v8, 0x8
if-eq v7, v8, :cond_25
invoke-virtual {v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
move-result v7
const/high16 v10, 0x40000000 # 2.0f
invoke-static {v7, v10}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v7
invoke-virtual {v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHeight()I
move-result v5
invoke-static {v5, v10}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v5
invoke-virtual {v6, v7, v5}, Landroid/view/View;->measure(II)V
iget-object v5, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMetrics:Landroidx/constraintlayout/solver/Metrics;
if-eqz v5, :cond_28
iget-wide v6, v5, Landroidx/constraintlayout/solver/Metrics;->additionalMeasures:J
add-long v6, v6, v17
iput-wide v6, v5, Landroidx/constraintlayout/solver/Metrics;->additionalMeasures:J
:cond_28
:goto_12
add-int/lit8 v4, v4, 0x1
goto :goto_11
:cond_29
move v9, v5
move v12, v6
const/4 v3, 0x0
:cond_2a
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
move-result v1
add-int/2addr v1, v12
iget-object v4, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v4}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHeight()I
move-result v4
add-int/2addr v4, v9
sget v5, Landroid/os/Build$VERSION;->SDK_INT:I
move/from16 v5, p1
invoke-static {v1, v5, v3}, Landroid/view/ViewGroup;->resolveSizeAndState(III)I
move-result v1
shl-int/lit8 v3, v3, 0x10
invoke-static {v4, v2, v3}, Landroid/view/ViewGroup;->resolveSizeAndState(III)I
move-result v2
const v3, 0xffffff
and-int/2addr v1, v3
and-int/2addr v2, v3
iget v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxWidth:I
invoke-static {v3, v1}, Ljava/lang/Math;->min(II)I
move-result v1
iget v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxHeight:I
invoke-static {v3, v2}, Ljava/lang/Math;->min(II)I
move-result v2
iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->isWidthMeasuredTooSmall()Z
move-result v3
const/high16 v4, 0x1000000
if-eqz v3, :cond_2b
or-int/2addr v1, v4
:cond_2b
iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->isHeightMeasuredTooSmall()Z
move-result v3
if-eqz v3, :cond_2c
or-int/2addr v2, v4
:cond_2c
invoke-virtual {v0, v1, v2}, Landroid/view/ViewGroup;->setMeasuredDimension(II)V
iput v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidth:I
iput v2, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeight:I
return-void
.end method
.method public onViewAdded(Landroid/view/View;)V
.locals 3
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onViewAdded(Landroid/view/View;)V
invoke-virtual {p0, p1}, Landroidx/constraintlayout/widget/ConstraintLayout;->getViewWidget(Landroid/view/View;)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v0
instance-of v1, p1, Landroidx/constraintlayout/widget/Guideline;
const/4 v2, 0x1
if-eqz v1, :cond_0
instance-of v0, v0, Landroidx/constraintlayout/solver/widgets/Guideline;
if-nez v0, :cond_0
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
check-cast v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
new-instance v1, Landroidx/constraintlayout/solver/widgets/Guideline;
invoke-direct {v1}, Landroidx/constraintlayout/solver/widgets/Guideline;-><init>()V
iput-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
iput-boolean v2, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isGuideline:Z
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
check-cast v1, Landroidx/constraintlayout/solver/widgets/Guideline;
iget v0, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->orientation:I
invoke-virtual {v1, v0}, Landroidx/constraintlayout/solver/widgets/Guideline;->setOrientation(I)V
:cond_0
instance-of v0, p1, Landroidx/constraintlayout/widget/ConstraintHelper;
if-eqz v0, :cond_1
move-object v0, p1
check-cast v0, Landroidx/constraintlayout/widget/ConstraintHelper;
invoke-virtual {v0}, Landroidx/constraintlayout/widget/ConstraintHelper;->validateParams()V
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v1
check-cast v1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
iput-boolean v2, v1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isHelper:Z
iget-object v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintHelpers:Ljava/util/ArrayList;
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_1
iget-object v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintHelpers:Ljava/util/ArrayList;
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
:cond_1
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mChildrenByIds:Landroid/util/SparseArray;
invoke-virtual {p1}, Landroid/view/View;->getId()I
move-result v1
invoke-virtual {v0, v1, p1}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
iput-boolean v2, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDirtyHierarchy:Z
return-void
.end method
.method public onViewRemoved(Landroid/view/View;)V
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onViewRemoved(Landroid/view/View;)V
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mChildrenByIds:Landroid/util/SparseArray;
invoke-virtual {p1}, Landroid/view/View;->getId()I
move-result v1
invoke-virtual {v0, v1}, Landroid/util/SparseArray;->remove(I)V
invoke-virtual {p0, p1}, Landroidx/constraintlayout/widget/ConstraintLayout;->getViewWidget(Landroid/view/View;)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v0
iget-object v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v1, v0}, Landroidx/constraintlayout/solver/widgets/WidgetContainer;->remove(Landroidx/constraintlayout/solver/widgets/ConstraintWidget;)V
iget-object v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintHelpers:Ljava/util/ArrayList;
invoke-virtual {v1, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mVariableDimensionsWidgets:Ljava/util/ArrayList;
invoke-virtual {p1, v0}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
const/4 p1, 0x1
iput-boolean p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDirtyHierarchy:Z
return-void
.end method
.method public removeView(Landroid/view/View;)V
.locals 0
invoke-super {p0, p1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V
sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
return-void
.end method
.method public requestLayout()V
.locals 1
invoke-super {p0}, Landroid/view/ViewGroup;->requestLayout()V
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDirtyHierarchy:Z
const/4 v0, -0x1
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidth:I
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeight:I
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidthSize:I
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeightSize:I
const/4 v0, 0x0
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidthMode:I
iput v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeightMode:I
return-void
.end method
.method public setConstraintSet(Landroidx/constraintlayout/widget/ConstraintSet;)V
.locals 0
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintSet:Landroidx/constraintlayout/widget/ConstraintSet;
return-void
.end method
.method public setDesignInformation(ILjava/lang/Object;Ljava/lang/Object;)V
.locals 1
if-nez p1, :cond_2
instance-of p1, p2, Ljava/lang/String;
if-eqz p1, :cond_2
instance-of p1, p3, Ljava/lang/Integer;
if-eqz p1, :cond_2
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDesignIds:Ljava/util/HashMap;
if-nez p1, :cond_0
new-instance p1, Ljava/util/HashMap;
invoke-direct {p1}, Ljava/util/HashMap;-><init>()V
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDesignIds:Ljava/util/HashMap;
:cond_0
check-cast p2, Ljava/lang/String;
const-string p1, "/"
invoke-virtual {p2, p1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I
move-result p1
const/4 v0, -0x1
if-eq p1, v0, :cond_1
add-int/lit8 p1, p1, 0x1
invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object p2
:cond_1
check-cast p3, Ljava/lang/Integer;
invoke-virtual {p3}, Ljava/lang/Integer;->intValue()I
move-result p1
iget-object p3, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDesignIds:Ljava/util/HashMap;
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
invoke-virtual {p3, p2, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:cond_2
return-void
.end method
.method public setId(I)V
.locals 2
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mChildrenByIds:Landroid/util/SparseArray;
invoke-virtual {p0}, Landroid/view/ViewGroup;->getId()I
move-result v1
invoke-virtual {v0, v1}, Landroid/util/SparseArray;->remove(I)V
invoke-super {p0, p1}, Landroid/view/ViewGroup;->setId(I)V
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mChildrenByIds:Landroid/util/SparseArray;
invoke-virtual {p0}, Landroid/view/ViewGroup;->getId()I
move-result v0
invoke-virtual {p1, v0, p0}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
return-void
.end method
.method public setMaxHeight(I)V
.locals 1
iget v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxHeight:I
if-ne p1, v0, :cond_0
return-void
:cond_0
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxHeight:I
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->requestLayout()V
return-void
.end method
.method public setMaxWidth(I)V
.locals 1
iget v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxWidth:I
if-ne p1, v0, :cond_0
return-void
:cond_0
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxWidth:I
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->requestLayout()V
return-void
.end method
.method public setMinHeight(I)V
.locals 1
iget v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinHeight:I
if-ne p1, v0, :cond_0
return-void
:cond_0
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinHeight:I
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->requestLayout()V
return-void
.end method
.method public setMinWidth(I)V
.locals 1
iget v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinWidth:I
if-ne p1, v0, :cond_0
return-void
:cond_0
iput p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinWidth:I
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->requestLayout()V
return-void
.end method
.method public setOptimizationLevel(I)V
.locals 1
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v0, p1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setOptimizationLevel(I)V
return-void
.end method
.method public shouldDelayChildPressedState()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public solveLinearSystem(Ljava/lang/String;)V
.locals 4
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {p1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->layout()V
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMetrics:Landroidx/constraintlayout/solver/Metrics;
if-eqz p1, :cond_0
iget-wide v0, p1, Landroidx/constraintlayout/solver/Metrics;->resolutions:J
const-wide/16 v2, 0x1
add-long/2addr v0, v2
iput-wide v0, p1, Landroidx/constraintlayout/solver/Metrics;->resolutions:J
:cond_0
return-void
.end method