1960 lines
61 KiB
Smali
1960 lines
61 KiB
Smali
.class public Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.super Ljava/lang/Object;
|
|
.source "ConstraintProperties.java"
|
|
|
|
|
|
# static fields
|
|
.field public static final BASELINE:I = 0x5
|
|
|
|
.field public static final BOTTOM:I = 0x4
|
|
|
|
.field public static final END:I = 0x7
|
|
|
|
.field public static final LEFT:I = 0x1
|
|
|
|
.field public static final MATCH_CONSTRAINT:I = 0x0
|
|
|
|
.field public static final MATCH_CONSTRAINT_SPREAD:I = 0x0
|
|
|
|
.field public static final MATCH_CONSTRAINT_WRAP:I = 0x1
|
|
|
|
.field public static final PARENT_ID:I = 0x0
|
|
|
|
.field public static final RIGHT:I = 0x2
|
|
|
|
.field public static final START:I = 0x6
|
|
|
|
.field public static final TOP:I = 0x3
|
|
|
|
.field public static final UNSET:I = -0x1
|
|
|
|
.field public static final WRAP_CONTENT:I = -0x2
|
|
|
|
|
|
# instance fields
|
|
.field public mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
.field public mView:Landroid/view/View;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/view/View;)V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
instance-of v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
check-cast v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "Only children of ConstraintLayout.LayoutParams supported"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method private sideToString(I)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
const-string/jumbo p1, "undefined"
|
|
|
|
return-object p1
|
|
|
|
:pswitch_0
|
|
const-string p1, "end"
|
|
|
|
return-object p1
|
|
|
|
:pswitch_1
|
|
const-string p1, "start"
|
|
|
|
return-object p1
|
|
|
|
:pswitch_2
|
|
const-string p1, "baseline"
|
|
|
|
return-object p1
|
|
|
|
:pswitch_3
|
|
const-string p1, "bottom"
|
|
|
|
return-object p1
|
|
|
|
:pswitch_4
|
|
const-string/jumbo p1, "top"
|
|
|
|
return-object p1
|
|
|
|
:pswitch_5
|
|
const-string p1, "right"
|
|
|
|
return-object p1
|
|
|
|
:pswitch_6
|
|
const-string p1, "left"
|
|
|
|
return-object p1
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public addToHorizontalChain(II)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 4
|
|
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x2
|
|
|
|
:goto_0
|
|
const/4 v3, 0x0
|
|
|
|
invoke-virtual {p0, v1, p1, v2, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
if-nez p2, :cond_1
|
|
|
|
const/4 v2, 0x2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v2, 0x1
|
|
|
|
:goto_1
|
|
invoke-virtual {p0, v0, p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {v2, p1}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v2, Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-direct {v2, p1}, Landroidx/constraintlayout/widget/ConstraintProperties;-><init>(Landroid/view/View;)V
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {v2, v0, p1, v1, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
:cond_2
|
|
if-eqz p2, :cond_3
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance p2, Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-direct {p2, p1}, Landroidx/constraintlayout/widget/ConstraintProperties;-><init>(Landroid/view/View;)V
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p2, v1, p1, v0, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
:cond_3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public addToHorizontalChainRTL(II)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 4
|
|
|
|
const/4 v0, 0x7
|
|
|
|
const/4 v1, 0x6
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 v2, 0x6
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x7
|
|
|
|
:goto_0
|
|
const/4 v3, 0x0
|
|
|
|
invoke-virtual {p0, v1, p1, v2, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
if-nez p2, :cond_1
|
|
|
|
const/4 v2, 0x7
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v2, 0x6
|
|
|
|
:goto_1
|
|
invoke-virtual {p0, v0, p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {v2, p1}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v2, Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-direct {v2, p1}, Landroidx/constraintlayout/widget/ConstraintProperties;-><init>(Landroid/view/View;)V
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {v2, v0, p1, v1, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
:cond_2
|
|
if-eqz p2, :cond_3
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance p2, Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-direct {p2, p1}, Landroidx/constraintlayout/widget/ConstraintProperties;-><init>(Landroid/view/View;)V
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p2, v1, p1, v0, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
:cond_3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public addToVerticalChain(II)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 4
|
|
|
|
const/4 v0, 0x4
|
|
|
|
const/4 v1, 0x3
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 v2, 0x3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x4
|
|
|
|
:goto_0
|
|
const/4 v3, 0x0
|
|
|
|
invoke-virtual {p0, v1, p1, v2, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
if-nez p2, :cond_1
|
|
|
|
const/4 v2, 0x4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v2, 0x3
|
|
|
|
:goto_1
|
|
invoke-virtual {p0, v0, p2, v2, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {v2, p1}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v2, Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-direct {v2, p1}, Landroidx/constraintlayout/widget/ConstraintProperties;-><init>(Landroid/view/View;)V
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {v2, v0, p1, v1, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
:cond_2
|
|
if-eqz p2, :cond_3
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance p2, Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-direct {p2, p1}, Landroidx/constraintlayout/widget/ConstraintProperties;-><init>(Landroid/view/View;)V
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p2, v1, p1, v0, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
:cond_3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public alpha(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setAlpha(F)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public apply()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public center(IIIIIIF)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 2
|
|
|
|
const-string v0, "margin must be > 0"
|
|
|
|
if-ltz p3, :cond_6
|
|
|
|
if-ltz p6, :cond_5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
cmpg-float v0, p7, v0
|
|
|
|
if-lez v0, :cond_4
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
cmpl-float v0, p7, v0
|
|
|
|
if-gtz v0, :cond_4
|
|
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eq p2, v1, :cond_3
|
|
|
|
if-ne p2, v0, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 v0, 0x7
|
|
|
|
const/4 v1, 0x6
|
|
|
|
if-eq p2, v1, :cond_2
|
|
|
|
if-ne p2, v0, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v0, 0x3
|
|
|
|
invoke-virtual {p0, v0, p1, p2, p3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
const/4 p1, 0x4
|
|
|
|
invoke-virtual {p0, p1, p4, p5, p6}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p7, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalBias:F
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
:goto_0
|
|
invoke-virtual {p0, v1, p1, p2, p3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-virtual {p0, v0, p4, p5, p6}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p7, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalBias:F
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
:goto_1
|
|
invoke-virtual {p0, v1, p1, p2, p3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-virtual {p0, v0, p4, p5, p6}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p7, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalBias:F
|
|
|
|
:goto_2
|
|
return-object p0
|
|
|
|
:cond_4
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "bias must be between 0 and 1 inclusive"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_5
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_6
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public centerHorizontally(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 8
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x2
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/high16 v7, 0x3f000000 # 0.5f
|
|
|
|
move-object v0, p0
|
|
|
|
invoke-virtual/range {v0 .. v7}, Landroidx/constraintlayout/widget/ConstraintProperties;->center(IIIIIIF)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v5, 0x1
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/high16 v7, 0x3f000000 # 0.5f
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v4, p1
|
|
|
|
invoke-virtual/range {v0 .. v7}, Landroidx/constraintlayout/widget/ConstraintProperties;->center(IIIIIIF)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public centerHorizontally(IIIIIIF)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-virtual {p0, v0, p1, p2, p3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
const/4 p1, 0x2
|
|
|
|
invoke-virtual {p0, p1, p4, p5, p6}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p7, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalBias:F
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public centerHorizontallyRtl(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 8
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x6
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x7
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/high16 v7, 0x3f000000 # 0.5f
|
|
|
|
move-object v0, p0
|
|
|
|
invoke-virtual/range {v0 .. v7}, Landroidx/constraintlayout/widget/ConstraintProperties;->center(IIIIIIF)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x7
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v5, 0x6
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/high16 v7, 0x3f000000 # 0.5f
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v4, p1
|
|
|
|
invoke-virtual/range {v0 .. v7}, Landroidx/constraintlayout/widget/ConstraintProperties;->center(IIIIIIF)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public centerHorizontallyRtl(IIIIIIF)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
const/4 v0, 0x6
|
|
|
|
invoke-virtual {p0, v0, p1, p2, p3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
const/4 p1, 0x7
|
|
|
|
invoke-virtual {p0, p1, p4, p5, p6}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p7, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalBias:F
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public centerVertically(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 8
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x3
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x4
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/high16 v7, 0x3f000000 # 0.5f
|
|
|
|
move-object v0, p0
|
|
|
|
invoke-virtual/range {v0 .. v7}, Landroidx/constraintlayout/widget/ConstraintProperties;->center(IIIIIIF)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x4
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v5, 0x3
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/high16 v7, 0x3f000000 # 0.5f
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move v4, p1
|
|
|
|
invoke-virtual/range {v0 .. v7}, Landroidx/constraintlayout/widget/ConstraintProperties;->center(IIIIIIF)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public centerVertically(IIIIIIF)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
const/4 v0, 0x3
|
|
|
|
invoke-virtual {p0, v0, p1, p2, p3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
const/4 p1, 0x4
|
|
|
|
invoke-virtual {p0, p1, p4, p5, p6}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p7, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalBias:F
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 9
|
|
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v1, 0x7
|
|
|
|
const/4 v2, 0x6
|
|
|
|
const/4 v3, 0x4
|
|
|
|
const/4 v4, 0x3
|
|
|
|
const/4 v5, 0x1
|
|
|
|
const-string v6, "right to "
|
|
|
|
const-string v7, " undefined"
|
|
|
|
const/4 v8, -0x1
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
new-instance p2, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance p4, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p4}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintProperties;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, " to "
|
|
|
|
invoke-virtual {p4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p0, p3}, Landroidx/constraintlayout/widget/ConstraintProperties;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p3, " unknown"
|
|
|
|
invoke-static {p4, p1, p3}, Lf/e/c/a/a;->y(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p2
|
|
|
|
:pswitch_0
|
|
if-ne p3, v1, :cond_0
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->endToEnd:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->endToStart:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-ne p3, v2, :cond_1
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->endToStart:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->endToEnd:I
|
|
|
|
:goto_0
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
invoke-virtual {p1, p4}, Landroid/view/ViewGroup$MarginLayoutParams;->setMarginEnd(I)V
|
|
|
|
goto/16 :goto_6
|
|
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/c/a/a;->F(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p3}, Landroidx/constraintlayout/widget/ConstraintProperties;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/c/a/a;->y(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_1
|
|
if-ne p3, v2, :cond_2
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->startToStart:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->startToEnd:I
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
if-ne p3, v1, :cond_3
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->startToEnd:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->startToStart:I
|
|
|
|
:goto_1
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
invoke-virtual {p1, p4}, Landroid/view/ViewGroup$MarginLayoutParams;->setMarginStart(I)V
|
|
|
|
goto/16 :goto_6
|
|
|
|
:cond_3
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/c/a/a;->F(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p3}, Landroidx/constraintlayout/widget/ConstraintProperties;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/c/a/a;->y(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_2
|
|
const/4 p1, 0x5
|
|
|
|
if-ne p3, p1, :cond_4
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->baselineToBaseline:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToBottom:I
|
|
|
|
goto/16 :goto_6
|
|
|
|
:cond_4
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/c/a/a;->F(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p3}, Landroidx/constraintlayout/widget/ConstraintProperties;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/c/a/a;->y(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_3
|
|
if-ne p3, v3, :cond_5
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->baselineToBaseline:I
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
if-ne p3, v4, :cond_6
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->baselineToBaseline:I
|
|
|
|
:goto_2
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p4, p1, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
|
|
|
|
goto/16 :goto_6
|
|
|
|
:cond_6
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/c/a/a;->F(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p3}, Landroidx/constraintlayout/widget/ConstraintProperties;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/c/a/a;->y(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_4
|
|
if-ne p3, v4, :cond_7
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->baselineToBaseline:I
|
|
|
|
goto :goto_3
|
|
|
|
:cond_7
|
|
if-ne p3, v3, :cond_8
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToBottom:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToTop:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->baselineToBaseline:I
|
|
|
|
:goto_3
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p4, p1, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
|
|
|
|
goto :goto_6
|
|
|
|
:cond_8
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/c/a/a;->F(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p3}, Landroidx/constraintlayout/widget/ConstraintProperties;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/c/a/a;->y(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_5
|
|
if-ne p3, v5, :cond_9
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightToLeft:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightToRight:I
|
|
|
|
goto :goto_4
|
|
|
|
:cond_9
|
|
if-ne p3, v0, :cond_a
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightToRight:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightToLeft:I
|
|
|
|
:goto_4
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p4, p1, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
|
|
|
|
goto :goto_6
|
|
|
|
:cond_a
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {v6}, Lf/e/c/a/a;->F(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p3}, Landroidx/constraintlayout/widget/ConstraintProperties;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/c/a/a;->y(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_6
|
|
if-ne p3, v5, :cond_b
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftToLeft:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftToRight:I
|
|
|
|
goto :goto_5
|
|
|
|
:cond_b
|
|
if-ne p3, v0, :cond_c
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftToRight:I
|
|
|
|
iput v8, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftToLeft:I
|
|
|
|
:goto_5
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p4, p1, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
|
|
|
|
:goto_6
|
|
return-object p0
|
|
|
|
:cond_c
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "Left to "
|
|
|
|
invoke-static {p2}, Lf/e/c/a/a;->F(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, p3}, Landroidx/constraintlayout/widget/ConstraintProperties;->sideToString(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p2, p3, v7}, Lf/e/c/a/a;->y(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public constrainDefaultHeight(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintDefaultHeight:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public constrainDefaultWidth(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintDefaultWidth:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public constrainHeight(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p1, v0, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public constrainMaxHeight(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintMaxHeight:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public constrainMaxWidth(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintMaxWidth:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public constrainMinHeight(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintMinHeight:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public constrainMinWidth(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->matchConstraintMinWidth:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public constrainWidth(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p1, v0, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public dimensionRatio(Ljava/lang/String;)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput-object p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->dimensionRatio:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public elevation(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setElevation(F)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public goneMargin(II)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 0
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string/jumbo p2, "unknown constraint"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_0
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneEndMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_1
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneStartMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_2
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "baseline does not support margins"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_3
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneBottomMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_4
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneTopMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_5
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneRightMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_6
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneLeftMargin:I
|
|
|
|
:goto_0
|
|
return-object p0
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public horizontalBias(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalBias:F
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public horizontalChainStyle(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalChainStyle:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public horizontalWeight(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->horizontalWeight:F
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public margin(II)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 0
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string/jumbo p2, "unknown constraint"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_0
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/ViewGroup$MarginLayoutParams;->setMarginEnd(I)V
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_1
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/ViewGroup$MarginLayoutParams;->setMarginStart(I)V
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_2
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "baseline does not support margins"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_3
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_4
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_5
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_6
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p2, p1, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
|
|
|
|
:goto_0
|
|
return-object p0
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public removeConstraints(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
const/4 v0, -0x1
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string/jumbo v0, "unknown constraint"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_0
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->endToStart:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->endToEnd:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/ViewGroup$MarginLayoutParams;->setMarginEnd(I)V
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneEndMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_1
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->startToEnd:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->startToStart:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/ViewGroup$MarginLayoutParams;->setMarginStart(I)V
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneStartMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_2
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->baselineToBaseline:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_3
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToTop:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToBottom:I
|
|
|
|
iput v0, p1, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneBottomMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_4
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToBottom:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToTop:I
|
|
|
|
iput v0, p1, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneTopMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_5
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightToRight:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightToLeft:I
|
|
|
|
iput v0, p1, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneRightMargin:I
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_6
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftToRight:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftToLeft:I
|
|
|
|
iput v0, p1, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
|
|
|
|
iput v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->goneLeftMargin:I
|
|
|
|
:goto_0
|
|
return-object p0
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public removeFromHorizontalChain()Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 10
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iget v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftToRight:I
|
|
|
|
iget v2, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightToLeft:I
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, -0x1
|
|
|
|
if-ne v1, v4, :cond_6
|
|
|
|
if-eq v2, v4, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
iget v2, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->startToEnd:I
|
|
|
|
iget v0, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->endToStart:I
|
|
|
|
const/4 v5, 0x7
|
|
|
|
const/4 v6, 0x6
|
|
|
|
if-ne v2, v4, :cond_1
|
|
|
|
if-eq v0, v4, :cond_5
|
|
|
|
:cond_1
|
|
iget-object v7, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v7}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v7
|
|
|
|
check-cast v7, Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {v7, v2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v7
|
|
|
|
new-instance v8, Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-direct {v8, v7}, Landroidx/constraintlayout/widget/ConstraintProperties;-><init>(Landroid/view/View;)V
|
|
|
|
iget-object v7, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v7}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v7
|
|
|
|
check-cast v7, Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {v7, v0}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v7
|
|
|
|
new-instance v9, Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-direct {v9, v7}, Landroidx/constraintlayout/widget/ConstraintProperties;-><init>(Landroid/view/View;)V
|
|
|
|
iget-object v7, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
if-eq v2, v4, :cond_2
|
|
|
|
if-eq v0, v4, :cond_2
|
|
|
|
invoke-virtual {v8, v5, v0, v6, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-virtual {v9, v6, v1, v5, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
if-ne v1, v4, :cond_3
|
|
|
|
if-eq v0, v4, :cond_5
|
|
|
|
:cond_3
|
|
iget v0, v7, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightToRight:I
|
|
|
|
if-eq v0, v4, :cond_4
|
|
|
|
invoke-virtual {v8, v5, v0, v5, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
iget v0, v7, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftToLeft:I
|
|
|
|
if-eq v0, v4, :cond_5
|
|
|
|
invoke-virtual {v9, v6, v0, v6, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
:cond_5
|
|
:goto_0
|
|
invoke-virtual {p0, v6}, Landroidx/constraintlayout/widget/ConstraintProperties;->removeConstraints(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-virtual {p0, v5}, Landroidx/constraintlayout/widget/ConstraintProperties;->removeConstraints(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
:goto_1
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v5, Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-direct {v5, v0}, Landroidx/constraintlayout/widget/ConstraintProperties;-><init>(Landroid/view/View;)V
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v6, Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-direct {v6, v0}, Landroidx/constraintlayout/widget/ConstraintProperties;-><init>(Landroid/view/View;)V
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
const/4 v7, 0x1
|
|
|
|
const/4 v8, 0x2
|
|
|
|
if-eq v1, v4, :cond_7
|
|
|
|
if-eq v2, v4, :cond_7
|
|
|
|
invoke-virtual {v5, v8, v2, v7, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-virtual {v6, v7, v1, v8, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_7
|
|
if-ne v1, v4, :cond_8
|
|
|
|
if-eq v2, v4, :cond_a
|
|
|
|
:cond_8
|
|
iget v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->rightToRight:I
|
|
|
|
if-eq v1, v4, :cond_9
|
|
|
|
invoke-virtual {v5, v8, v1, v8, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_9
|
|
iget v0, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->leftToLeft:I
|
|
|
|
if-eq v0, v4, :cond_a
|
|
|
|
invoke-virtual {v6, v7, v0, v7, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
:cond_a
|
|
:goto_2
|
|
invoke-virtual {p0, v7}, Landroidx/constraintlayout/widget/ConstraintProperties;->removeConstraints(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-virtual {p0, v8}, Landroidx/constraintlayout/widget/ConstraintProperties;->removeConstraints(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
:goto_3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public removeFromVerticalChain()Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 9
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iget v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToBottom:I
|
|
|
|
iget v0, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToTop:I
|
|
|
|
const/4 v2, 0x4
|
|
|
|
const/4 v3, 0x3
|
|
|
|
const/4 v4, -0x1
|
|
|
|
if-ne v1, v4, :cond_0
|
|
|
|
if-eq v0, v4, :cond_4
|
|
|
|
:cond_0
|
|
iget-object v5, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v5}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {v5, v1}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v5
|
|
|
|
new-instance v6, Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-direct {v6, v5}, Landroidx/constraintlayout/widget/ConstraintProperties;-><init>(Landroid/view/View;)V
|
|
|
|
iget-object v5, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v5}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {v5, v0}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v5
|
|
|
|
new-instance v7, Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-direct {v7, v5}, Landroidx/constraintlayout/widget/ConstraintProperties;-><init>(Landroid/view/View;)V
|
|
|
|
iget-object v5, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
const/4 v8, 0x0
|
|
|
|
if-eq v1, v4, :cond_1
|
|
|
|
if-eq v0, v4, :cond_1
|
|
|
|
invoke-virtual {v6, v2, v0, v3, v8}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-virtual {v7, v3, v1, v2, v8}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
if-ne v1, v4, :cond_2
|
|
|
|
if-eq v0, v4, :cond_4
|
|
|
|
:cond_2
|
|
iget v0, v5, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomToBottom:I
|
|
|
|
if-eq v0, v4, :cond_3
|
|
|
|
invoke-virtual {v6, v2, v0, v2, v8}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
iget v0, v5, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topToTop:I
|
|
|
|
if-eq v0, v4, :cond_4
|
|
|
|
invoke-virtual {v7, v3, v0, v3, v8}, Landroidx/constraintlayout/widget/ConstraintProperties;->connect(IIII)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
:cond_4
|
|
:goto_0
|
|
invoke-virtual {p0, v3}, Landroidx/constraintlayout/widget/ConstraintProperties;->removeConstraints(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
invoke-virtual {p0, v2}, Landroidx/constraintlayout/widget/ConstraintProperties;->removeConstraints(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public rotation(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setRotation(F)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public rotationX(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setRotationX(F)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public rotationY(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setRotationY(F)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public scaleX(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setScaleY(F)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public scaleY(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public transformPivot(FF)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setPivotX(F)V
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->setPivotY(F)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public transformPivotX(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setPivotX(F)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public transformPivotY(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setPivotY(F)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public translation(FF)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setTranslationX(F)V
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->setTranslationY(F)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public translationX(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setTranslationX(F)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public translationY(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setTranslationY(F)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public translationZ(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setTranslationZ(F)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public verticalBias(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalBias:F
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public verticalChainStyle(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalChainStyle:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public verticalWeight(F)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mParams:Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
iput p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->verticalWeight:F
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public visibility(I)Landroidx/constraintlayout/widget/ConstraintProperties;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintProperties;->mView:Landroid/view/View;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
return-object p0
|
|
.end method
|