apkfuckery/com.discord/smali/androidx/constraintlayout/widget/ConstraintLayout.smali
2019-05-03 20:53:54 +02:00

5133 lines
156 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 static final ALLOWS_EMBEDDED:Z = false
.field private static final CACHE_MEASURED_DIMENSION:Z = false
.field private static final DEBUG:Z = false
.field public static final DESIGN_INFO_ID:I = 0x0
.field private static final TAG:Ljava/lang/String; = "ConstraintLayout"
.field private static final USE_CONSTRAINTS_HELPER:Z = true
.field public static final VERSION:Ljava/lang/String; = "ConstraintLayout-1.1.3"
# instance fields
.field mChildrenByIds:Landroid/util/SparseArray;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/util/SparseArray<",
"Landroid/view/View;",
">;"
}
.end annotation
.end field
.field private mConstraintHelpers:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Landroidx/constraintlayout/widget/ConstraintHelper;",
">;"
}
.end annotation
.end field
.field private mConstraintSet:Landroidx/constraintlayout/widget/ConstraintSet;
.field private mConstraintSetId:I
.field private mDesignIds:Ljava/util/HashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.end field
.field private mDirtyHierarchy:Z
.field private mLastMeasureHeight:I
.field mLastMeasureHeightMode:I
.field mLastMeasureHeightSize:I
.field private mLastMeasureWidth:I
.field mLastMeasureWidthMode:I
.field mLastMeasureWidthSize:I
.field mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
.field private mMaxHeight:I
.field private mMaxWidth:I
.field private mMetrics:Landroidx/constraintlayout/solver/Metrics;
.field private mMinHeight:I
.field private mMinWidth:I
.field private mOptimizationLevel:I
.field private 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}, Landroidx/constraintlayout/widget/ConstraintLayout;->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
return-object p1
: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;
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/ConstraintWidgetContainer;->setCompanionWidget(Ljava/lang/Object;)V
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mChildrenByIds:Landroid/util/SparseArray;
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->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}, Landroidx/constraintlayout/widget/ConstraintLayout;->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}, Landroidx/constraintlayout/widget/ConstraintLayout;->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 21
move-object/from16 v0, p0
move/from16 v1, p1
move/from16 v2, p2
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingTop()I
move-result v3
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingBottom()I
move-result v4
add-int/2addr v3, v4
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingLeft()I
move-result v4
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingRight()I
move-result v5
add-int/2addr v4, v5
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildCount()I
move-result v5
const/4 v7, 0x0
:goto_0
if-ge v7, v5, :cond_10
invoke-virtual {v0, v7}, Landroidx/constraintlayout/widget/ConstraintLayout;->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-eq v9, v10, :cond_f
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_f
iget-boolean v11, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isHelper:Z
if-nez v11, :cond_f
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, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->width:I
iget v12, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->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_2
iget-boolean v13, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalDimensionFixed:Z
if-nez v13, :cond_2
iget-boolean v13, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalDimensionFixed:Z
if-nez v13, :cond_0
iget v13, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintDefaultWidth:I
if-eq v13, v15, :cond_2
:cond_0
iget v13, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->width:I
if-eq v13, v14, :cond_2
iget-boolean v13, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalDimensionFixed:Z
if-nez v13, :cond_1
iget v13, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintDefaultHeight:I
if-eq v13, v15, :cond_2
iget v13, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->height:I
if-ne v13, v14, :cond_1
goto :goto_1
:cond_1
const/4 v13, 0x0
goto :goto_2
:cond_2
:goto_1
const/4 v13, 0x1
:goto_2
if-eqz v13, :cond_c
const/4 v13, -0x2
if-nez v11, :cond_3
invoke-static {v1, v4, v13}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v16
move/from16 v6, v16
const/16 v16, 0x1
goto :goto_4
:cond_3
if-ne v11, v14, :cond_4
invoke-static {v1, v4, v14}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v16
move/from16 v6, v16
const/16 v16, 0x0
goto :goto_4
:cond_4
if-ne v11, v13, :cond_5
const/16 v16, 0x1
goto :goto_3
:cond_5
const/16 v16, 0x0
:goto_3
invoke-static {v1, v4, v11}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v17
move/from16 v6, v17
:goto_4
if-nez v12, :cond_6
invoke-static {v2, v3, v13}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v17
move/from16 v15, v17
const/16 v17, 0x1
goto :goto_6
:cond_6
if-ne v12, v14, :cond_7
invoke-static {v2, v3, v14}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v17
move/from16 v15, v17
const/16 v17, 0x0
goto :goto_6
:cond_7
if-ne v12, v13, :cond_8
const/16 v17, 0x1
goto :goto_5
:cond_8
const/16 v17, 0x0
:goto_5
invoke-static {v2, v3, v12}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v18
move/from16 v15, v18
:goto_6
invoke-virtual {v8, v6, v15}, Landroid/view/View;->measure(II)V
iget-object v6, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMetrics:Landroidx/constraintlayout/solver/Metrics;
if-eqz v6, :cond_9
iget-wide v14, v6, Landroidx/constraintlayout/solver/Metrics;->measures:J
const-wide/16 v19, 0x1
add-long v14, v14, v19
iput-wide v14, v6, Landroidx/constraintlayout/solver/Metrics;->measures:J
:cond_9
if-ne v11, v13, :cond_a
const/4 v6, 0x1
goto :goto_7
:cond_a
const/4 v6, 0x0
:goto_7
invoke-virtual {v10, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidthWrapContent(Z)V
if-ne v12, v13, :cond_b
const/4 v6, 0x1
goto :goto_8
:cond_b
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_c
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_d
invoke-virtual {v10, v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWrapWidth(I)V
:cond_d
if-eqz v17, :cond_e
invoke-virtual {v10, v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWrapHeight(I)V
:cond_e
iget-boolean v6, v9, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->needsBaseline:Z
if-eqz v6, :cond_f
invoke-virtual {v8}, Landroid/view/View;->getBaseline()I
move-result v6
const/4 v8, -0x1
if-eq v6, v8, :cond_f
invoke-virtual {v10, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setBaselineDistance(I)V
:cond_f
add-int/lit8 v7, v7, 0x1
goto/16 :goto_0
:cond_10
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}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingTop()I
move-result v3
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingBottom()I
move-result v4
add-int/2addr v3, v4
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingLeft()I
move-result v4
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingRight()I
move-result v5
add-int/2addr v4, v5
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildCount()I
move-result v5
const/4 v7, 0x0
:goto_0
const-wide/16 v8, 0x1
const/16 v10, 0x8
const/4 v12, -0x2
if-ge v7, v5, :cond_c
invoke-virtual {v0, v7}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildAt(I)Landroid/view/View;
move-result-object v14
invoke-virtual {v14}, Landroid/view/View;->getVisibility()I
move-result v15
if-eq v15, v10, :cond_a
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_a
iget-boolean v6, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isHelper:Z
if-nez v6, :cond_a
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, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->width:I
iget v13, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->height:I
if-eqz v6, :cond_9
if-nez v13, :cond_0
goto/16 :goto_6
:cond_0
if-ne v6, v12, :cond_1
const/16 v16, 0x1
goto :goto_1
:cond_1
const/16 v16, 0x0
:goto_1
invoke-static {v1, v4, v6}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v11
if-ne v13, v12, :cond_2
const/16 v17, 0x1
goto :goto_2
:cond_2
const/16 v17, 0x0
:goto_2
invoke-static {v2, v3, v13}, Landroidx/constraintlayout/widget/ConstraintLayout;->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_3
move v12, v3
iget-wide v2, v11, Landroidx/constraintlayout/solver/Metrics;->measures:J
add-long/2addr v2, v8
iput-wide v2, v11, Landroidx/constraintlayout/solver/Metrics;->measures:J
goto :goto_3
:cond_3
move v12, v3
:goto_3
const/4 v2, -0x2
if-ne v6, v2, :cond_4
const/4 v3, 0x1
goto :goto_4
:cond_4
const/4 v3, 0x0
:goto_4
invoke-virtual {v15, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidthWrapContent(Z)V
if-ne v13, v2, :cond_5
const/4 v2, 0x1
goto :goto_5
:cond_5
const/4 v2, 0x0
:goto_5
invoke-virtual {v15, v2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeightWrapContent(Z)V
invoke-virtual {v14}, Landroid/view/View;->getMeasuredWidth()I
move-result v2
invoke-virtual {v14}, Landroid/view/View;->getMeasuredHeight()I
move-result v3
invoke-virtual {v15, v2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
invoke-virtual {v15, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
if-eqz v16, :cond_6
invoke-virtual {v15, v2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWrapWidth(I)V
:cond_6
if-eqz v17, :cond_7
invoke-virtual {v15, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWrapHeight(I)V
:cond_7
iget-boolean v6, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->needsBaseline:Z
if-eqz v6, :cond_8
invoke-virtual {v14}, Landroid/view/View;->getBaseline()I
move-result v6
const/4 v8, -0x1
if-eq v6, v8, :cond_8
invoke-virtual {v15, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setBaselineDistance(I)V
:cond_8
iget-boolean v6, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalDimensionFixed:Z
if-eqz v6, :cond_b
iget-boolean v6, v10, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalDimensionFixed:Z
if-eqz v6, :cond_b
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v6
invoke-virtual {v6, v2}, 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 v2
invoke-virtual {v2, v3}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
goto :goto_7
:cond_9
:goto_6
move v12, v3
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v2
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->invalidate()V
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionHeight()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v2
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->invalidate()V
goto :goto_7
:cond_a
move v12, v3
:cond_b
:goto_7
add-int/lit8 v7, v7, 0x1
move/from16 v2, p2
move v3, v12
goto/16 :goto_0
:cond_c
move v12, v3
iget-object v2, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->solveGraph()V
const/4 v2, 0x0
:goto_8
if-ge v2, v5, :cond_28
invoke-virtual {v0, v2}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildAt(I)Landroid/view/View;
move-result-object v3
invoke-virtual {v3}, Landroid/view/View;->getVisibility()I
move-result v6
if-eq v6, v10, :cond_26
invoke-virtual {v3}, 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_26
iget-boolean v11, v6, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isHelper:Z
if-nez v11, :cond_26
invoke-virtual {v3}, Landroid/view/View;->getVisibility()I
move-result v11
invoke-virtual {v7, v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVisibility(I)V
iget v11, v6, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->width:I
iget v13, v6, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->height:I
if-eqz v11, :cond_d
if-nez v13, :cond_26
:cond_d
sget-object v14, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->LEFT: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;->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;->getResolutionNode()Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;
move-result-object v15
sget-object v10, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->LEFT: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;->getTarget()Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v10
if-eqz v10, :cond_e
sget-object v10, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->RIGHT: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;->getTarget()Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v10
if-eqz v10, :cond_e
const/4 v10, 0x1
goto :goto_9
:cond_e
const/4 v10, 0x0
:goto_9
sget-object v8, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->TOP: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;->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;->getResolutionNode()Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;
move-result-object v9
move/from16 v17, v5
sget-object v5, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->TOP:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v7, 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;->getTarget()Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v5
if-eqz v5, :cond_f
sget-object v5, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->BOTTOM:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v7, 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;->getTarget()Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;
move-result-object v5
if-eqz v5, :cond_f
const/4 v5, 0x1
goto :goto_a
:cond_f
const/4 v5, 0x0
:goto_a
if-nez v11, :cond_11
if-nez v13, :cond_11
if-eqz v10, :cond_11
if-nez v5, :cond_10
goto :goto_b
:cond_10
move/from16 v5, p2
move/from16 v20, v2
const/4 v3, -0x1
const/4 v10, -0x2
const-wide/16 v18, 0x1
goto/16 :goto_18
:cond_11
:goto_b
move/from16 v20, v2
iget-object v2, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->getHorizontalDimensionBehaviour()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
move-result-object v2
move-object/from16 v21, v6
sget-object v6, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
if-eq v2, v6, :cond_12
const/4 v6, 0x1
goto :goto_c
:cond_12
const/4 v6, 0x0
:goto_c
iget-object v2, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->getVerticalDimensionBehaviour()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
move-result-object v2
sget-object v0, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
if-eq v2, v0, :cond_13
const/4 v0, 0x1
goto :goto_d
:cond_13
const/4 v0, 0x0
:goto_d
if-nez v6, :cond_14
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v2
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->invalidate()V
:cond_14
if-nez v0, :cond_15
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionHeight()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v2
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->invalidate()V
:cond_15
if-nez v11, :cond_17
if-eqz v6, :cond_16
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->isSpreadWidth()Z
move-result v2
if-eqz v2, :cond_16
if-eqz v10, :cond_16
invoke-virtual {v14}, Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;->isResolved()Z
move-result v2
if-eqz v2, :cond_16
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;->isResolved()Z
move-result v2
if-eqz v2, :cond_16
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;->getResolvedValue()F
move-result v2
invoke-virtual {v14}, Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;->getResolvedValue()F
move-result v10
sub-float/2addr v2, v10
float-to-int v11, v2
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v2
invoke-virtual {v2, v11}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
goto :goto_e
:cond_16
const/4 v2, -0x2
invoke-static {v1, v4, v2}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v6
move v14, v6
const/4 v2, 0x1
const/4 v6, 0x0
goto :goto_10
:cond_17
const/4 v2, -0x2
const/4 v10, -0x1
if-ne v11, v10, :cond_18
invoke-static {v1, v4, v10}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v14
const/4 v2, 0x0
goto :goto_10
:cond_18
if-ne v11, v2, :cond_19
const/4 v2, 0x1
goto :goto_f
:cond_19
:goto_e
const/4 v2, 0x0
:goto_f
invoke-static {v1, v4, v11}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v10
move v14, v10
:goto_10
if-nez v13, :cond_1b
if-eqz v0, :cond_1a
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->isSpreadHeight()Z
move-result v10
if-eqz v10, :cond_1a
if-eqz v5, :cond_1a
invoke-virtual {v8}, Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;->isResolved()Z
move-result v5
if-eqz v5, :cond_1a
invoke-virtual {v9}, Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;->isResolved()Z
move-result v5
if-eqz v5, :cond_1a
invoke-virtual {v9}, Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;->getResolvedValue()F
move-result v5
invoke-virtual {v8}, Landroidx/constraintlayout/solver/widgets/ResolutionAnchor;->getResolvedValue()F
move-result v8
sub-float/2addr v5, v8
float-to-int v5, v5
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionHeight()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v8
invoke-virtual {v8, v5}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
move v13, v5
const/4 v8, 0x0
move/from16 v5, p2
goto :goto_11
:cond_1a
move/from16 v5, p2
const/4 v8, -0x2
invoke-static {v5, v12, v8}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v0
const/4 v8, 0x1
const/4 v9, 0x0
goto :goto_12
:cond_1b
move/from16 v5, p2
const/4 v8, -0x2
const/4 v9, -0x1
if-ne v13, v9, :cond_1c
invoke-static {v5, v12, v9}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v10
move v9, v0
move v0, v10
const/4 v8, 0x0
goto :goto_12
:cond_1c
if-ne v13, v8, :cond_1d
const/4 v8, 0x1
goto :goto_11
:cond_1d
const/4 v8, 0x0
:goto_11
invoke-static {v5, v12, v13}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v9
move/from16 v22, v9
move v9, v0
move/from16 v0, v22
:goto_12
invoke-virtual {v3, v14, v0}, Landroid/view/View;->measure(II)V
move-object/from16 v0, p0
iget-object v10, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMetrics:Landroidx/constraintlayout/solver/Metrics;
if-eqz v10, :cond_1e
iget-wide v14, v10, Landroidx/constraintlayout/solver/Metrics;->measures:J
const-wide/16 v18, 0x1
add-long v14, v14, v18
iput-wide v14, v10, Landroidx/constraintlayout/solver/Metrics;->measures:J
goto :goto_13
:cond_1e
const-wide/16 v18, 0x1
:goto_13
const/4 v10, -0x2
if-ne v11, v10, :cond_1f
const/4 v11, 0x1
goto :goto_14
:cond_1f
const/4 v11, 0x0
:goto_14
invoke-virtual {v7, v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidthWrapContent(Z)V
if-ne v13, v10, :cond_20
const/4 v11, 0x1
goto :goto_15
:cond_20
const/4 v11, 0x0
:goto_15
invoke-virtual {v7, v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeightWrapContent(Z)V
invoke-virtual {v3}, Landroid/view/View;->getMeasuredWidth()I
move-result v11
invoke-virtual {v3}, Landroid/view/View;->getMeasuredHeight()I
move-result v13
invoke-virtual {v7, v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
invoke-virtual {v7, v13}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
if-eqz v2, :cond_21
invoke-virtual {v7, v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWrapWidth(I)V
:cond_21
if-eqz v8, :cond_22
invoke-virtual {v7, v13}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWrapHeight(I)V
:cond_22
if-eqz v6, :cond_23
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v2
invoke-virtual {v2, v11}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
goto :goto_16
:cond_23
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v2
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->remove()V
:goto_16
if-eqz v9, :cond_24
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionHeight()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v2
invoke-virtual {v2, v13}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
goto :goto_17
:cond_24
invoke-virtual {v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionHeight()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v2
invoke-virtual {v2}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->remove()V
:goto_17
move-object/from16 v6, v21
iget-boolean v2, v6, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->needsBaseline:Z
if-eqz v2, :cond_25
invoke-virtual {v3}, Landroid/view/View;->getBaseline()I
move-result v2
const/4 v3, -0x1
if-eq v2, v3, :cond_27
invoke-virtual {v7, v2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setBaselineDistance(I)V
goto :goto_18
:cond_25
const/4 v3, -0x1
goto :goto_18
:cond_26
move/from16 v20, v2
move/from16 v17, v5
move-wide/from16 v18, v8
const/4 v3, -0x1
const/4 v10, -0x2
move/from16 v5, p2
:cond_27
:goto_18
add-int/lit8 v2, v20, 0x1
move/from16 v5, v17
move-wide/from16 v8, v18
const/16 v10, 0x8
goto/16 :goto_8
:cond_28
return-void
.end method
.method private setChildrenConstraints()V
.locals 26
move-object/from16 v0, p0
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->isInEditMode()Z
move-result v1
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->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}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildAt(I)Landroid/view/View;
move-result-object v6
:try_start_0
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->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}, Landroidx/constraintlayout/widget/ConstraintLayout;->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-eqz v6, :cond_2
invoke-virtual {v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->reset()V
:cond_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_2
if-ge v5, v2, :cond_5
invoke-virtual {v0, v5}, Landroidx/constraintlayout/widget/ConstraintLayout;->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_2
: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/ConstraintWidgetContainer;->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_3
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_3
:cond_7
const/4 v5, 0x0
:goto_4
if-ge v5, v2, :cond_9
invoke-virtual {v0, v5}, Landroidx/constraintlayout/widget/ConstraintLayout;->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_4
:cond_9
const/4 v5, 0x0
:goto_5
if-ge v5, v2, :cond_2e
invoke-virtual {v0, v5}, Landroidx/constraintlayout/widget/ConstraintLayout;->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-eqz v13, :cond_2d
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_a
iput-boolean v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->helped:Z
goto :goto_6
:cond_a
if-eqz v1, :cond_b
:try_start_1
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->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_6
:catch_1
nop
:cond_b
:goto_6
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_c
const/16 v7, 0x8
invoke-virtual {v13, v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVisibility(I)V
:cond_c
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/ConstraintWidgetContainer;->add(Landroidx/constraintlayout/solver/widgets/ConstraintWidget;)V
iget-boolean v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalDimensionFixed:Z
if-eqz v6, :cond_d
iget-boolean v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalDimensionFixed:Z
if-nez v6, :cond_e
:cond_d
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_e
iget-boolean v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isGuideline:Z
const/16 v7, 0x11
if-eqz v6, :cond_12
check-cast v13, Landroidx/constraintlayout/solver/widgets/Guideline;
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedGuideBegin:I
iget v8, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedGuideEnd:I
iget v9, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedGuidePercent:F
sget v10, Landroid/os/Build$VERSION;->SDK_INT:I
if-ge v10, v7, :cond_f
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->guideBegin:I
iget v8, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->guideEnd:I
iget v9, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->guidePercent:F
:cond_f
const/high16 v7, -0x40800000 # -1.0f
cmpl-float v7, v9, v7
if-eqz v7, :cond_10
invoke-virtual {v13, v9}, Landroidx/constraintlayout/solver/widgets/Guideline;->setGuidePercent(F)V
goto/16 :goto_12
:cond_10
if-eq v6, v4, :cond_11
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/Guideline;->setGuideBegin(I)V
goto/16 :goto_12
:cond_11
if-eq v8, v4, :cond_2d
invoke-virtual {v13, v8}, Landroidx/constraintlayout/solver/widgets/Guideline;->setGuideEnd(I)V
goto/16 :goto_12
: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, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->width:I
if-eq v6, v4, :cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->height:I
if-ne v6, v4, :cond_2d
:cond_13
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedLeftToLeft:I
iget v8, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedLeftToRight:I
iget v9, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedRightToLeft:I
iget v10, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedRightToRight:I
iget v11, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolveGoneLeftMargin:I
iget v12, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolveGoneRightMargin:I
iget v15, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolvedHorizontalBias:F
sget v3, Landroid/os/Build$VERSION;->SDK_INT:I
if-ge v3, v7, :cond_18
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftToLeft:I
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftToRight:I
iget v9, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightToLeft:I
iget v10, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightToRight:I
iget v7, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneLeftMargin:I
iget v8, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneRightMargin:I
iget v15, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalBias:F
if-ne v3, v4, :cond_15
if-ne v6, v4, :cond_15
iget v11, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->startToStart:I
if-eq v11, v4, :cond_14
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->startToStart:I
goto :goto_7
:cond_14
iget v11, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->startToEnd:I
if-eq v11, v4, :cond_15
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->startToEnd:I
:cond_15
:goto_7
move/from16 v25, v6
move v6, v3
move/from16 v3, v25
if-ne v9, v4, :cond_17
if-ne v10, v4, :cond_17
iget v11, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->endToStart:I
if-eq v11, v4, :cond_16
iget v9, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->endToStart:I
goto :goto_8
:cond_16
iget v11, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->endToEnd:I
if-eq v11, v4, :cond_17
iget v10, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->endToEnd:I
:cond_17
:goto_8
move v12, v7
move/from16 v16, v8
goto :goto_9
:cond_18
move v3, v8
move/from16 v16, v12
move v12, v11
:goto_9
move v11, v10
move v10, v15
move v15, v9
iget v7, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->circleConstraint:I
if-eq v7, v4, :cond_19
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->circleConstraint:I
invoke-direct {v0, v3}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v3
if-eqz v3, :cond_25
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->circleAngle:F
iget v7, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->circleRadius:I
invoke-virtual {v13, v3, v6, v7}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->connectCircularConstraint(Landroidx/constraintlayout/solver/widgets/ConstraintWidget;FI)V
goto/16 :goto_f
:cond_19
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_1a
sget-object v8, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->LEFT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
sget-object v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->LEFT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftMargin:I
move-object v7, v13
move/from16 v17, v10
move-object v10, v3
move v3, v11
move v11, 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_a
:cond_1a
move/from16 v17, v10
move v3, v11
:goto_a
move v6, v3
goto :goto_b
:cond_1b
move/from16 v17, v10
move v6, v11
if-eq v3, v4, :cond_1c
invoke-direct {v0, v3}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v9
if-eqz v9, :cond_1c
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, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftMargin: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_1c
:goto_b
if-eq v15, v4, :cond_1d
invoke-direct {v0, v15}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v9
if-eqz v9, :cond_1e
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, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightMargin: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
goto :goto_c
:cond_1d
if-eq v6, v4, :cond_1e
invoke-direct {v0, v6}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v9
if-eqz v9, :cond_1e
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;->RIGHT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
iget v11, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightMargin: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_1e
:goto_c
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToTop:I
if-eq v3, v4, :cond_1f
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToTop:I
invoke-direct {v0, v3}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v9
if-eqz v9, :cond_20
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;->TOP:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
iget v11, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->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
goto :goto_d
:cond_1f
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToBottom:I
if-eq v3, v4, :cond_20
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToBottom:I
invoke-direct {v0, v3}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v9
if-eqz v9, :cond_20
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, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->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_20
:goto_d
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToTop:I
if-eq v3, v4, :cond_21
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToTop:I
invoke-direct {v0, v3}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v9
if-eqz v9, :cond_22
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, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->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_e
:cond_21
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToBottom:I
if-eq v3, v4, :cond_22
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToBottom:I
invoke-direct {v0, v3}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v9
if-eqz v9, :cond_22
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;->BOTTOM:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
iget v11, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->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
:cond_22
:goto_e
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->baselineToBaseline:I
if-eq v3, v4, :cond_23
iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mChildrenByIds:Landroid/util/SparseArray;
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->baselineToBaseline:I
invoke-virtual {v3, v6}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Landroid/view/View;
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->baselineToBaseline:I
invoke-direct {v0, v6}, Landroidx/constraintlayout/widget/ConstraintLayout;->getTargetWidget(I)Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
move-result-object v6
if-eqz v6, :cond_23
if-eqz v3, :cond_23
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v7
instance-of v7, v7, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
if-eqz v7, :cond_23
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v3
check-cast v3, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
const/4 v7, 0x1
iput-boolean v7, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->needsBaseline:Z
iput-boolean v7, v3, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->needsBaseline:Z
sget-object v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->BASELINE: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 v18
sget-object v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->BASELINE:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v6, v3}, 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 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
invoke-virtual {v3}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->reset()V
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
invoke-virtual {v3}, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->reset()V
:cond_23
const/high16 v3, 0x3f000000 # 0.5f
const/4 v6, 0x0
move/from16 v15, v17
cmpl-float v7, v15, v6
if-ltz v7, :cond_24
cmpl-float v7, v15, v3
if-eqz v7, :cond_24
invoke-virtual {v13, v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHorizontalBiasPercent(F)V
:cond_24
iget v7, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalBias:F
cmpl-float v6, v7, v6
if-ltz v6, :cond_25
iget v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalBias:F
cmpl-float v3, v6, v3
if-eqz v3, :cond_25
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalBias:F
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setVerticalBiasPercent(F)V
:cond_25
:goto_f
if-eqz v1, :cond_27
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->editorAbsoluteX:I
if-ne v3, v4, :cond_26
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->editorAbsoluteY:I
if-eq v3, v4, :cond_27
:cond_26
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_27
iget-boolean v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalDimensionFixed:Z
if-nez v3, :cond_29
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->width:I
if-ne v3, v4, :cond_28
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, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->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, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightMargin:I
iput v6, v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mMargin:I
goto :goto_10
:cond_28
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_10
:cond_29
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, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->width:I
invoke-virtual {v13, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
:goto_10
iget-boolean v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalDimensionFixed:Z
if-nez v3, :cond_2b
iget v3, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->height:I
if-ne v3, v4, :cond_2a
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, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->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, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomMargin:I
iput v6, v3, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor;->mMargin:I
const/4 v3, 0x0
goto :goto_11
:cond_2a
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_11
:cond_2b
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, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->height:I
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
:goto_11
iget-object v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->dimensionRatio:Ljava/lang/String;
if-eqz v6, :cond_2c
iget-object v6, v14, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->dimensionRatio:Ljava/lang/String;
invoke-virtual {v13, v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setDimensionRatio(Ljava/lang/String;)V
:cond_2c
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_2d
:goto_12
add-int/lit8 v5, v5, 0x1
goto/16 :goto_5
:cond_2e
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}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingTop()I
move-result v2
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingBottom()I
move-result v3
add-int/2addr v2, v3
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingLeft()I
move-result v3
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingRight()I
move-result v4
add-int/2addr v3, v4
sget-object v4, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->FIXED:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
sget-object v5, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->FIXED:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
const/high16 v6, 0x40000000 # 2.0f
const/high16 v7, -0x80000000
const/4 v8, 0x0
if-eq v0, v7, :cond_2
if-eqz v0, :cond_1
if-eq v0, v6, :cond_0
:goto_0
const/4 p1, 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, v3
goto :goto_1
:cond_1
sget-object v4, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
goto :goto_0
:cond_2
sget-object v4, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
:goto_1
if-eq v1, v7, :cond_5
if-eqz v1, :cond_4
if-eq v1, v6, :cond_3
:goto_2
const/4 p2, 0x0
goto :goto_3
:cond_3
iget v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMaxHeight:I
invoke-static {v0, p2}, Ljava/lang/Math;->min(II)I
move-result p2
sub-int/2addr p2, v2
goto :goto_3
:cond_4
sget-object v5, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
goto :goto_2
:cond_5
sget-object v5, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
:goto_3
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v0, v8}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setMinWidth(I)V
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v0, v8}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setMinHeight(I)V
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v0, v4}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setHorizontalDimensionBehaviour(Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;)V
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v0, p1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setWidth(I)V
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {p1, v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->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/ConstraintWidgetContainer;->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}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingLeft()I
move-result v0
sub-int/2addr p2, v0
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingRight()I
move-result v0
sub-int/2addr p2, v0
invoke-virtual {p1, p2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->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}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingTop()I
move-result v0
sub-int/2addr p2, v0
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingBottom()I
move-result v0
sub-int/2addr p2, v0
invoke-virtual {p1, p2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setMinHeight(I)V
return-void
.end method
.method private updateHierarchy()V
.locals 4
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->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}, Landroidx/constraintlayout/widget/ConstraintLayout;->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}, Landroidx/constraintlayout/widget/ConstraintLayout;->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}, Landroidx/constraintlayout/widget/ConstraintLayout;->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 p2, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 p3, 0xe
if-ge p2, p3, :cond_0
invoke-virtual {p0, p1}, Landroidx/constraintlayout/widget/ConstraintLayout;->onViewAdded(Landroid/view/View;)V
:cond_0
return-void
.end method
.method protected 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 18
invoke-super/range {p0 .. p1}, Landroid/view/ViewGroup;->dispatchDraw(Landroid/graphics/Canvas;)V
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->isInEditMode()Z
move-result v0
if-eqz v0, :cond_1
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildCount()I
move-result v0
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getWidth()I
move-result v1
int-to-float v1, v1
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getHeight()I
move-result v2
int-to-float v2, v2
const/4 v3, 0x0
const/4 v4, 0x0
:goto_0
if-ge v4, v0, :cond_1
move-object/from16 v5, p0
invoke-virtual {v5, v4}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildAt(I)Landroid/view/View;
move-result-object v6
invoke-virtual {v6}, Landroid/view/View;->getVisibility()I
move-result v7
const/16 v8, 0x8
if-eq v7, v8, :cond_0
invoke-virtual {v6}, Landroid/view/View;->getTag()Ljava/lang/Object;
move-result-object v6
if-eqz v6, :cond_0
instance-of v7, v6, Ljava/lang/String;
if-eqz v7, :cond_0
check-cast v6, Ljava/lang/String;
const-string v7, ","
invoke-virtual {v6, v7}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
move-result-object v6
array-length v7, v6
const/4 v8, 0x4
if-ne v7, v8, :cond_0
aget-object v7, v6, v3
invoke-static {v7}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v7
const/4 v8, 0x1
aget-object v8, v6, v8
invoke-static {v8}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v8
const/4 v9, 0x2
aget-object v9, v6, v9
invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v9
const/4 v10, 0x3
aget-object v6, v6, v10
invoke-static {v6}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v6
int-to-float v7, v7
const/high16 v10, 0x44870000 # 1080.0f
div-float/2addr v7, v10
mul-float v7, v7, v1
float-to-int v7, v7
int-to-float v8, v8
const/high16 v11, 0x44f00000 # 1920.0f
div-float/2addr v8, v11
mul-float v8, v8, v2
float-to-int v8, v8
int-to-float v9, v9
div-float/2addr v9, v10
mul-float v9, v9, v1
float-to-int v9, v9
int-to-float v6, v6
div-float/2addr v6, v11
mul-float v6, v6, v2
float-to-int v6, v6
new-instance v15, Landroid/graphics/Paint;
invoke-direct {v15}, Landroid/graphics/Paint;-><init>()V
const/high16 v10, -0x10000
invoke-virtual {v15, v10}, Landroid/graphics/Paint;->setColor(I)V
int-to-float v14, v7
int-to-float v13, v8
add-int/2addr v7, v9
int-to-float v7, v7
move-object/from16 v10, p1
move v11, v14
move v12, v13
move v9, v13
move v13, v7
move/from16 v16, v14
move v14, v9
move-object/from16 v17, v15
invoke-virtual/range {v10 .. v15}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
add-int/2addr v8, v6
int-to-float v6, v8
move v11, v7
move v12, v9
move v14, v6
invoke-virtual/range {v10 .. v15}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
move v12, v6
move/from16 v13, v16
invoke-virtual/range {v10 .. v15}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
move/from16 v11, v16
move v14, v9
invoke-virtual/range {v10 .. v15}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
const v8, -0xff0100
invoke-virtual {v15, v8}, Landroid/graphics/Paint;->setColor(I)V
move v12, v9
move v13, v7
move v14, v6
move-object v8, v15
invoke-virtual/range {v10 .. v15}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
move v12, v6
move v14, v9
invoke-virtual/range {v10 .. v15}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
:cond_0
add-int/lit8 v4, v4, 0x1
goto/16 :goto_0
:cond_1
move-object/from16 v5, 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 protected 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 protected 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 protected 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}, Landroidx/constraintlayout/widget/ConstraintLayout;->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
return-object p1
: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;
return-object p1
.end method
.method protected onLayout(ZIIII)V
.locals 5
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildCount()I
move-result p1
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->isInEditMode()Z
move-result p2
const/4 p3, 0x0
const/4 p4, 0x0
:goto_0
if-ge p4, p1, :cond_2
invoke-virtual {p0, p4}, Landroidx/constraintlayout/widget/ConstraintLayout;->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-eqz p2, :cond_1
:cond_0
iget-boolean v0, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isInPlaceholder:Z
if-nez v0, :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_1
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_1
invoke-virtual {p5, p3}, Landroid/view/View;->setVisibility(I)V
invoke-virtual {p5, v0, v2, v3, v1}, Landroid/view/View;->layout(IIII)V
:cond_1
add-int/lit8 p4, p4, 0x1
goto :goto_0
:cond_2
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_3
:goto_1
if-ge p3, p1, :cond_3
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_1
:cond_3
return-void
.end method
.method protected onMeasure(II)V
.locals 24
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}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingLeft()I
move-result v7
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->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/ConstraintWidgetContainer;->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/ConstraintWidgetContainer;->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/ConstraintWidgetContainer;->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/ConstraintWidgetContainer;->setMaxHeight(I)V
sget v9, Landroid/os/Build$VERSION;->SDK_INT:I
const/4 v10, 0x0
const/4 v11, 0x1
const/16 v12, 0x11
if-lt v9, v12, :cond_1
iget-object v9, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getLayoutDirection()I
move-result v12
if-ne v12, v11, :cond_0
const/4 v12, 0x1
goto :goto_0
:cond_0
const/4 v12, 0x0
:goto_0
invoke-virtual {v9, v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setRtl(Z)V
:cond_1
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/ConstraintWidgetContainer;->getWidth()I
move-result v9
iget-object v12, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->getHeight()I
move-result v12
iget-boolean v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDirtyHierarchy:Z
if-eqz v13, :cond_2
iput-boolean v10, 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_2
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_3
const/4 v14, 0x1
goto :goto_2
:cond_3
const/4 v14, 0x0
:goto_2
if-eqz v14, :cond_4
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, v12}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->optimizeForDimensions(II)V
invoke-direct/range {p0 .. p2}, Landroidx/constraintlayout/widget/ConstraintLayout;->internalMeasureDimensions(II)V
goto :goto_3
:cond_4
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}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildCount()I
move-result v15
if-lez v15, :cond_5
if-eqz v13, :cond_5
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_5
iget-object v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget-boolean v13, v13, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mGroupsWrapOptimized:Z
if-eqz v13, :cond_9
iget-object v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget-boolean v13, v13, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mHorizontalWrapOptimized:Z
const/high16 v15, -0x80000000
if-eqz v13, :cond_7
if-ne v3, v15, :cond_7
iget-object v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget v13, v13, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mWrapFixedWidth:I
if-ge v13, v4, :cond_6
iget-object v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget v11, v13, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mWrapFixedWidth:I
invoke-virtual {v13, v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setWidth(I)V
:cond_6
iget-object v11, 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 {v11, v13}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setHorizontalDimensionBehaviour(Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;)V
:cond_7
iget-object v11, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget-boolean v11, v11, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mVerticalWrapOptimized:Z
if-eqz v11, :cond_9
if-ne v5, v15, :cond_9
iget-object v11, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget v11, v11, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mWrapFixedHeight:I
if-ge v11, v6, :cond_8
iget-object v11, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget v13, v11, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mWrapFixedHeight:I
invoke-virtual {v11, v13}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setHeight(I)V
:cond_8
iget-object v11, 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 {v11, v13}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setVerticalDimensionBehaviour(Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;)V
:cond_9
iget v11, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mOptimizationLevel:I
const/16 v13, 0x20
and-int/2addr v11, v13
const/high16 v15, 0x40000000 # 2.0f
if-ne v11, v13, :cond_d
iget-object v11, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->getWidth()I
move-result v11
iget-object v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v13}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->getHeight()I
move-result v13
iget v10, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidth:I
if-eq v10, v11, :cond_a
if-ne v3, 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 v10, 0x0
invoke-static {v3, v10, v11}, Landroidx/constraintlayout/solver/widgets/Analyzer;->setPosition(Ljava/util/List;II)V
:cond_a
iget v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeight:I
if-eq v3, v13, :cond_b
if-ne v5, v15, :cond_b
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_b
iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget-boolean v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mHorizontalWrapOptimized:Z
if-eqz v3, :cond_c
iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mWrapFixedWidth:I
if-le v3, v4, :cond_c
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 v10, 0x0
invoke-static {v3, v10, v4}, Landroidx/constraintlayout/solver/widgets/Analyzer;->setPosition(Ljava/util/List;II)V
goto :goto_4
:cond_c
const/4 v10, 0x0
:goto_4
iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget-boolean v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mVerticalWrapOptimized:Z
if-eqz v3, :cond_d
iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
iget v3, v3, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->mWrapFixedHeight:I
if-le v3, v6, :cond_d
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 v4, 0x1
invoke-static {v3, v4, v6}, Landroidx/constraintlayout/solver/widgets/Analyzer;->setPosition(Ljava/util/List;II)V
goto :goto_5
:cond_d
const/4 v4, 0x1
:goto_5
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildCount()I
move-result v3
if-lez v3, :cond_e
const-string v3, "First pass"
invoke-virtual {v0, v3}, Landroidx/constraintlayout/widget/ConstraintLayout;->solveLinearSystem(Ljava/lang/String;)V
:cond_e
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}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingBottom()I
move-result v5
add-int/2addr v8, v5
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->getPaddingRight()I
move-result v5
add-int/2addr v7, v5
if-lez v3, :cond_29
iget-object v6, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v6}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->getHorizontalDimensionBehaviour()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
move-result-object v6
sget-object v11, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
if-ne v6, v11, :cond_f
const/4 v6, 0x1
goto :goto_6
:cond_f
const/4 v6, 0x0
:goto_6
iget-object v11, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v11}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->getVerticalDimensionBehaviour()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
move-result-object v11
sget-object v13, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->WRAP_CONTENT:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
if-ne v11, v13, :cond_10
const/4 v11, 0x1
goto :goto_7
:cond_10
const/4 v11, 0x0
:goto_7
iget-object v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v13}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->getWidth()I
move-result v13
iget v4, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinWidth:I
invoke-static {v13, v4}, Ljava/lang/Math;->max(II)I
move-result v4
iget-object v13, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v13}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->getHeight()I
move-result v13
iget v10, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMinHeight:I
invoke-static {v13, v10}, Ljava/lang/Math;->max(II)I
move-result v10
move v13, v4
move v5, v10
const/4 v4, 0x0
const/4 v10, 0x0
const/16 v17, 0x0
:goto_8
const-wide/16 v18, 0x1
if-ge v4, v3, :cond_20
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 v20
move/from16 v21, v3
move-object/from16 v3, v20
check-cast v3, Landroid/view/View;
if-eqz v3, :cond_1e
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v20
move/from16 v22, v12
move-object/from16 v12, v20
check-cast v12, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
move/from16 v20, v9
iget-boolean v9, v12, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isHelper:Z
if-nez v9, :cond_1d
iget-boolean v9, v12, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->isGuideline:Z
if-nez v9, :cond_1d
invoke-virtual {v3}, Landroid/view/View;->getVisibility()I
move-result v9
move/from16 v23, v10
const/16 v10, 0x8
if-eq v9, v10, :cond_1f
if-eqz v14, :cond_11
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/ResolutionDimension;->isResolved()Z
move-result v9
if-eqz v9, :cond_11
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/ResolutionDimension;->isResolved()Z
move-result v9
if-nez v9, :cond_1f
:cond_11
iget v9, v12, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->width:I
const/4 v10, -0x2
if-ne v9, v10, :cond_12
iget-boolean v9, v12, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalDimensionFixed:Z
if-eqz v9, :cond_12
iget v9, v12, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->width:I
invoke-static {v1, v7, v9}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v9
goto :goto_9
:cond_12
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
move-result v9
const/high16 v10, 0x40000000 # 2.0f
invoke-static {v9, v10}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v9
:goto_9
iget v10, v12, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->height:I
const/4 v1, -0x2
if-ne v10, v1, :cond_13
iget-boolean v1, v12, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalDimensionFixed:Z
if-eqz v1, :cond_13
iget v1, v12, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->height:I
invoke-static {v2, v8, v1}, Landroidx/constraintlayout/widget/ConstraintLayout;->getChildMeasureSpec(III)I
move-result v1
goto :goto_a
:cond_13
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHeight()I
move-result v1
const/high16 v10, 0x40000000 # 2.0f
invoke-static {v1, v10}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v1
:goto_a
invoke-virtual {v3, v9, v1}, Landroid/view/View;->measure(II)V
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mMetrics:Landroidx/constraintlayout/solver/Metrics;
if-eqz v1, :cond_14
iget-wide v9, v1, Landroidx/constraintlayout/solver/Metrics;->additionalMeasures:J
add-long v9, v9, v18
iput-wide v9, v1, Landroidx/constraintlayout/solver/Metrics;->additionalMeasures:J
:cond_14
invoke-virtual {v3}, Landroid/view/View;->getMeasuredWidth()I
move-result v1
invoke-virtual {v3}, Landroid/view/View;->getMeasuredHeight()I
move-result v9
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
move-result v10
if-eq v1, v10, :cond_17
invoke-virtual {v15, v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
if-eqz v14, :cond_15
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionWidth()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v10
invoke-virtual {v10, v1}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
:cond_15
if-eqz v6, :cond_16
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getRight()I
move-result v1
if-le v1, v13, :cond_16
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getRight()I
move-result v1
sget-object v10, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->RIGHT:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v15, 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;->getMargin()I
move-result v10
add-int/2addr v1, v10
invoke-static {v13, v1}, Ljava/lang/Math;->max(II)I
move-result v13
:cond_16
const/16 v23, 0x1
:cond_17
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHeight()I
move-result v1
if-eq v9, v1, :cond_1a
invoke-virtual {v15, v9}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
if-eqz v14, :cond_18
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getResolutionHeight()Landroidx/constraintlayout/solver/widgets/ResolutionDimension;
move-result-object v1
invoke-virtual {v1, v9}, Landroidx/constraintlayout/solver/widgets/ResolutionDimension;->resolve(I)V
:cond_18
if-eqz v11, :cond_19
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getBottom()I
move-result v1
if-le v1, v5, :cond_19
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getBottom()I
move-result v1
sget-object v9, Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;->BOTTOM:Landroidx/constraintlayout/solver/widgets/ConstraintAnchor$Type;
invoke-virtual {v15, 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;->getMargin()I
move-result v9
add-int/2addr v1, v9
invoke-static {v5, v1}, Ljava/lang/Math;->max(II)I
move-result v1
move v5, v1
:cond_19
const/16 v23, 0x1
:cond_1a
iget-boolean v1, v12, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->needsBaseline:Z
if-eqz v1, :cond_1b
invoke-virtual {v3}, Landroid/view/View;->getBaseline()I
move-result v1
const/4 v9, -0x1
if-eq v1, v9, :cond_1b
invoke-virtual {v15}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getBaselineDistance()I
move-result v9
if-eq v1, v9, :cond_1b
invoke-virtual {v15, v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setBaselineDistance(I)V
const/16 v23, 0x1
:cond_1b
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v9, 0xb
if-lt v1, v9, :cond_1c
invoke-virtual {v3}, Landroid/view/View;->getMeasuredState()I
move-result v1
move/from16 v3, v17
invoke-static {v3, v1}, Landroidx/constraintlayout/widget/ConstraintLayout;->combineMeasuredStates(II)I
move-result v17
goto :goto_c
:cond_1c
move/from16 v3, v17
goto :goto_c
:cond_1d
move/from16 v23, v10
goto :goto_b
:cond_1e
move/from16 v20, v9
move/from16 v23, v10
move/from16 v22, v12
:cond_1f
:goto_b
move/from16 v3, v17
move/from16 v17, v3
:goto_c
move/from16 v10, v23
add-int/lit8 v4, v4, 0x1
move/from16 v1, p1
move/from16 v9, v20
move/from16 v3, v21
move/from16 v12, v22
const/high16 v15, 0x40000000 # 2.0f
goto/16 :goto_8
:cond_20
move/from16 v21, v3
move/from16 v20, v9
move/from16 v23, v10
move/from16 v22, v12
move/from16 v3, v17
if-eqz v23, :cond_24
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
move/from16 v4, v20
invoke-virtual {v1, v4}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setWidth(I)V
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
move/from16 v4, v22
invoke-virtual {v1, v4}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setHeight(I)V
if-eqz v14, :cond_21
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_21
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/ConstraintWidgetContainer;->getWidth()I
move-result v1
if-ge v1, v13, :cond_22
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v1, v13}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setWidth(I)V
const/4 v11, 0x1
goto :goto_d
:cond_22
const/4 v11, 0x0
:goto_d
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->getHeight()I
move-result v1
if-ge v1, v5, :cond_23
iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v1, v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->setHeight(I)V
const/16 v16, 0x1
goto :goto_e
:cond_23
move/from16 v16, v11
:goto_e
if-eqz v16, :cond_24
const-string v1, "3rd pass"
invoke-virtual {v0, v1}, Landroidx/constraintlayout/widget/ConstraintLayout;->solveLinearSystem(Ljava/lang/String;)V
:cond_24
move/from16 v1, v21
const/4 v4, 0x0
:goto_f
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-eqz v6, :cond_26
invoke-virtual {v6}, Landroid/view/View;->getMeasuredWidth()I
move-result v9
invoke-virtual {v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
move-result v10
if-ne v9, v10, :cond_25
invoke-virtual {v6}, Landroid/view/View;->getMeasuredHeight()I
move-result v9
invoke-virtual {v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHeight()I
move-result v10
if-eq v9, v10, :cond_26
:cond_25
invoke-virtual {v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getVisibility()I
move-result v9
const/16 v10, 0x8
if-eq v9, v10, :cond_27
invoke-virtual {v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getWidth()I
move-result v9
const/high16 v11, 0x40000000 # 2.0f
invoke-static {v9, v11}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v9
invoke-virtual {v5}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->getHeight()I
move-result v5
invoke-static {v5, v11}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v5
invoke-virtual {v6, v9, 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 v12, v5, Landroidx/constraintlayout/solver/Metrics;->additionalMeasures:J
add-long v12, v12, v18
iput-wide v12, v5, Landroidx/constraintlayout/solver/Metrics;->additionalMeasures:J
goto :goto_10
:cond_26
const/16 v10, 0x8
:cond_27
const/high16 v11, 0x40000000 # 2.0f
:cond_28
:goto_10
add-int/lit8 v4, v4, 0x1
goto :goto_f
:cond_29
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/ConstraintWidgetContainer;->getWidth()I
move-result v1
add-int/2addr v1, v7
iget-object v4, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;
invoke-virtual {v4}, Landroidx/constraintlayout/solver/widgets/ConstraintWidgetContainer;->getHeight()I
move-result v4
add-int/2addr v4, v8
sget v5, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v6, 0xb
if-lt v5, v6, :cond_2d
move/from16 v5, p1
invoke-static {v1, v5, v3}, Landroidx/constraintlayout/widget/ConstraintLayout;->resolveSizeAndState(III)I
move-result v1
shl-int/lit8 v3, v3, 0x10
invoke-static {v4, v2, v3}, Landroidx/constraintlayout/widget/ConstraintLayout;->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}, Landroidx/constraintlayout/widget/ConstraintLayout;->setMeasuredDimension(II)V
iput v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidth:I
iput v2, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureHeight:I
return-void
:cond_2d
invoke-virtual {v0, v1, v4}, Landroidx/constraintlayout/widget/ConstraintLayout;->setMeasuredDimension(II)V
iput v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLastMeasureWidth:I
iput v4, 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
const/16 v1, 0xe
if-lt v0, v1, :cond_0
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onViewAdded(Landroid/view/View;)V
:cond_0
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_1
instance-of v0, v0, Landroidx/constraintlayout/solver/widgets/Guideline;
if-nez v0, :cond_1
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_1
instance-of v0, p1, Landroidx/constraintlayout/widget/ConstraintHelper;
if-eqz v0, :cond_2
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_2
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_2
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
const/16 v1, 0xe
if-lt v0, v1, :cond_0
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onViewRemoved(Landroid/view/View;)V
:cond_0
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/ConstraintWidgetContainer;->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 2
invoke-super {p0, p1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0xe
if-ge v0, v1, :cond_0
invoke-virtual {p0, p1}, Landroidx/constraintlayout/widget/ConstraintLayout;->onViewRemoved(Landroid/view/View;)V
:cond_0
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}, Landroidx/constraintlayout/widget/ConstraintLayout;->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}, Landroidx/constraintlayout/widget/ConstraintLayout;->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 protected 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