apkfuckery/com.discord/smali/androidx/constraintlayout/widget/ConstraintLayout.smali

5058 lines
148 KiB
Smali
Raw Normal View History

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