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

116 lines
3.2 KiB
Smali

.class public Landroidx/constraintlayout/widget/Group;
.super Landroidx/constraintlayout/widget/ConstraintHelper;
.source "Group.java"
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 0
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintHelper;-><init>(Landroid/content/Context;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 0
invoke-direct {p0, p1, p2}, Landroidx/constraintlayout/widget/ConstraintHelper;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.locals 0
invoke-direct {p0, p1, p2, p3}, Landroidx/constraintlayout/widget/ConstraintHelper;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
return-void
.end method
# virtual methods
.method public init(Landroid/util/AttributeSet;)V
.locals 0
invoke-super {p0, p1}, Landroidx/constraintlayout/widget/ConstraintHelper;->init(Landroid/util/AttributeSet;)V
const/4 p1, 0x0
iput-boolean p1, p0, Landroidx/constraintlayout/widget/ConstraintHelper;->mUseViewMeasure:Z
return-void
.end method
.method public updatePostLayout(Landroidx/constraintlayout/widget/ConstraintLayout;)V
.locals 2
invoke-virtual {p0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object p1
check-cast p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
iget-object v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setWidth(I)V
iget-object p1, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->widget:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
invoke-virtual {p1, v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->setHeight(I)V
return-void
.end method
.method public updatePreLayout(Landroidx/constraintlayout/widget/ConstraintLayout;)V
.locals 5
invoke-virtual {p0}, Landroid/view/View;->getVisibility()I
move-result v0
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-virtual {p0}, Landroid/view/View;->getElevation()F
move-result v1
const/4 v2, 0x0
:goto_0
iget v3, p0, Landroidx/constraintlayout/widget/ConstraintHelper;->mCount:I
if-ge v2, v3, :cond_1
iget-object v3, p0, Landroidx/constraintlayout/widget/ConstraintHelper;->mIds:[I
aget v3, v3, v2
invoke-virtual {p1, v3}, Landroidx/constraintlayout/widget/ConstraintLayout;->getViewById(I)Landroid/view/View;
move-result-object v3
if-eqz v3, :cond_0
invoke-virtual {v3, v0}, Landroid/view/View;->setVisibility(I)V
const/4 v4, 0x0
cmpl-float v4, v1, v4
if-lez v4, :cond_0
sget v4, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-virtual {v3, v1}, Landroid/view/View;->setElevation(F)V
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
return-void
.end method