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

117 lines
3.2 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.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
2019-12-06 03:29:40 +00:00
.method public init(Landroid/util/AttributeSet;)V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-super {p0, p1}, Landroidx/constraintlayout/widget/ConstraintHelper;->init(Landroid/util/AttributeSet;)V
const/4 p1, 0x0
2019-12-06 03:29:40 +00:00
iput-boolean p1, p0, Landroidx/constraintlayout/widget/ConstraintHelper;->mUseViewMeasure:Z
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public updatePostLayout(Landroidx/constraintlayout/widget/ConstraintLayout;)V
.locals 2
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
2019-07-24 11:27:29 +00:00
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
2019-12-06 03:29:40 +00:00
.locals 5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/View;->getVisibility()I
2019-07-24 11:27:29 +00:00
move-result v0
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/view/View;->getElevation()F
2019-07-24 11:27:29 +00:00
move-result v1
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
2019-07-24 11:27:29 +00:00
:goto_0
2019-12-06 03:29:40 +00:00
iget v3, p0, Landroidx/constraintlayout/widget/ConstraintHelper;->mCount:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ge v2, v3, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v3, p0, Landroidx/constraintlayout/widget/ConstraintHelper;->mIds:[I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aget v3, v3, v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v3}, Landroidx/constraintlayout/widget/ConstraintLayout;->getViewById(I)Landroid/view/View;
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
if-eqz v3, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v3, v0}, Landroid/view/View;->setVisibility(I)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v4, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
cmpl-float v4, v1, v4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-lez v4, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
sget v4, Landroid/os/Build$VERSION;->SDK_INT:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v3, v1}, Landroid/view/View;->setElevation(F)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_0
add-int/lit8 v2, v2, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
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
return-void
.end method