changed repo structure
This commit is contained in:
@@ -0,0 +1,319 @@
|
||||
.class public abstract Landroidx/constraintlayout/widget/VirtualLayout;
|
||||
.super Landroidx/constraintlayout/widget/ConstraintHelper;
|
||||
.source "VirtualLayout.java"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private mApplyElevationOnAttach:Z
|
||||
|
||||
.field private mApplyVisibilityOnAttach:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroid/content/Context;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"context"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 35
|
||||
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
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"context",
|
||||
"attrs"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 39
|
||||
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
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"context",
|
||||
"attrs",
|
||||
"defStyleAttr"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 43
|
||||
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 protected applyLayoutFeaturesInConstraintSet(Landroidx/constraintlayout/widget/ConstraintLayout;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"container"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 125
|
||||
invoke-virtual {p0, p1}, Landroidx/constraintlayout/widget/VirtualLayout;->applyLayoutFeatures(Landroidx/constraintlayout/widget/ConstraintLayout;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method protected init(Landroid/util/AttributeSet;)V
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"attrs"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 48
|
||||
invoke-super {p0, p1}, Landroidx/constraintlayout/widget/ConstraintHelper;->init(Landroid/util/AttributeSet;)V
|
||||
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
.line 50
|
||||
invoke-virtual {p0}, Landroidx/constraintlayout/widget/VirtualLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget-object v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_Layout:[I
|
||||
|
||||
invoke-virtual {v0, p1, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
.line 51
|
||||
invoke-virtual {p1}, Landroid/content/res/TypedArray;->getIndexCount()I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, v0, :cond_2
|
||||
|
||||
.line 53
|
||||
invoke-virtual {p1, v1}, Landroid/content/res/TypedArray;->getIndex(I)I
|
||||
|
||||
move-result v2
|
||||
|
||||
.line 54
|
||||
sget v3, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_Layout_android_visibility:I
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
if-ne v2, v3, :cond_0
|
||||
|
||||
.line 55
|
||||
iput-boolean v4, p0, Landroidx/constraintlayout/widget/VirtualLayout;->mApplyVisibilityOnAttach:Z
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 56
|
||||
:cond_0
|
||||
sget v3, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_Layout_android_elevation:I
|
||||
|
||||
if-ne v2, v3, :cond_1
|
||||
|
||||
.line 57
|
||||
iput-boolean v4, p0, Landroidx/constraintlayout/widget/VirtualLayout;->mApplyElevationOnAttach:Z
|
||||
|
||||
:cond_1
|
||||
:goto_1
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 60
|
||||
:cond_2
|
||||
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
|
||||
|
||||
:cond_3
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onAttachedToWindow()V
|
||||
.locals 6
|
||||
|
||||
.line 73
|
||||
invoke-super {p0}, Landroidx/constraintlayout/widget/ConstraintHelper;->onAttachedToWindow()V
|
||||
|
||||
.line 74
|
||||
iget-boolean v0, p0, Landroidx/constraintlayout/widget/VirtualLayout;->mApplyVisibilityOnAttach:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-boolean v0, p0, Landroidx/constraintlayout/widget/VirtualLayout;->mApplyElevationOnAttach:Z
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
.line 75
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Landroidx/constraintlayout/widget/VirtualLayout;->getParent()Landroid/view/ViewParent;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
.line 76
|
||||
instance-of v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout;
|
||||
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
.line 77
|
||||
check-cast v0, Landroidx/constraintlayout/widget/ConstraintLayout;
|
||||
|
||||
.line 78
|
||||
invoke-virtual {p0}, Landroidx/constraintlayout/widget/VirtualLayout;->getVisibility()I
|
||||
|
||||
move-result v1
|
||||
|
||||
.line 81
|
||||
invoke-virtual {p0}, Landroidx/constraintlayout/widget/VirtualLayout;->getElevation()F
|
||||
|
||||
move-result v2
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
.line 83
|
||||
:goto_0
|
||||
iget v4, p0, Landroidx/constraintlayout/widget/VirtualLayout;->mCount:I
|
||||
|
||||
if-ge v3, v4, :cond_3
|
||||
|
||||
.line 84
|
||||
iget-object v4, p0, Landroidx/constraintlayout/widget/VirtualLayout;->mIds:[I
|
||||
|
||||
aget v4, v4, v3
|
||||
|
||||
.line 85
|
||||
invoke-virtual {v0, v4}, Landroidx/constraintlayout/widget/ConstraintLayout;->getViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
if-eqz v4, :cond_2
|
||||
|
||||
.line 87
|
||||
iget-boolean v5, p0, Landroidx/constraintlayout/widget/VirtualLayout;->mApplyVisibilityOnAttach:Z
|
||||
|
||||
if-eqz v5, :cond_1
|
||||
|
||||
.line 88
|
||||
invoke-virtual {v4, v1}, Landroid/view/View;->setVisibility(I)V
|
||||
|
||||
.line 90
|
||||
:cond_1
|
||||
iget-boolean v5, p0, Landroidx/constraintlayout/widget/VirtualLayout;->mApplyElevationOnAttach:Z
|
||||
|
||||
if-eqz v5, :cond_2
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
cmpl-float v5, v2, v5
|
||||
|
||||
if-lez v5, :cond_2
|
||||
|
||||
.line 92
|
||||
invoke-virtual {v4}, Landroid/view/View;->getTranslationZ()F
|
||||
|
||||
move-result v5
|
||||
|
||||
add-float/2addr v5, v2
|
||||
|
||||
invoke-virtual {v4, v5}, Landroid/view/View;->setTranslationZ(F)V
|
||||
|
||||
:cond_2
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onMeasure(Landroidx/constraintlayout/core/widgets/VirtualLayout;II)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0,
|
||||
0x0,
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"layout",
|
||||
"widthMeasureSpec",
|
||||
"heightMeasureSpec"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setElevation(F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"elevation"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 115
|
||||
invoke-super {p0, p1}, Landroidx/constraintlayout/widget/ConstraintHelper;->setElevation(F)V
|
||||
|
||||
.line 116
|
||||
invoke-virtual {p0}, Landroidx/constraintlayout/widget/VirtualLayout;->applyLayoutFeatures()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setVisibility(I)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/MethodParameters;
|
||||
accessFlags = {
|
||||
0x0
|
||||
}
|
||||
names = {
|
||||
"visibility"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 106
|
||||
invoke-super {p0, p1}, Landroidx/constraintlayout/widget/ConstraintHelper;->setVisibility(I)V
|
||||
|
||||
.line 107
|
||||
invoke-virtual {p0}, Landroidx/constraintlayout/widget/VirtualLayout;->applyLayoutFeatures()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
Reference in New Issue
Block a user