apkfuckery/com.discord/smali/androidx/appcompat/widget/LinearLayoutCompat.smali

4960 lines
102 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public Landroidx/appcompat/widget/LinearLayoutCompat;
.super Landroid/view/ViewGroup;
2019-02-04 20:29:01 +00:00
.source "LinearLayoutCompat.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;,
Landroidx/appcompat/widget/LinearLayoutCompat$DividerMode;,
Landroidx/appcompat/widget/LinearLayoutCompat$OrientationMode;
}
.end annotation
# static fields
.field public static final HORIZONTAL:I = 0x0
.field private static final INDEX_BOTTOM:I = 0x2
.field private static final INDEX_CENTER_VERTICAL:I = 0x0
.field private static final INDEX_FILL:I = 0x3
.field private static final INDEX_TOP:I = 0x1
.field public static final SHOW_DIVIDER_BEGINNING:I = 0x1
.field public static final SHOW_DIVIDER_END:I = 0x4
.field public static final SHOW_DIVIDER_MIDDLE:I = 0x2
.field public static final SHOW_DIVIDER_NONE:I = 0x0
.field public static final VERTICAL:I = 0x1
.field private static final VERTICAL_GRAVITY_COUNT:I = 0x4
# instance fields
.field private mBaselineAligned:Z
.field private mBaselineAlignedChildIndex:I
.field private mBaselineChildTop:I
.field private mDivider:Landroid/graphics/drawable/Drawable;
.field private mDividerHeight:I
.field private mDividerPadding:I
.field private mDividerWidth:I
.field private mGravity:I
.field private mMaxAscent:[I
.field private mMaxDescent:[I
.field private mOrientation:I
.field private mShowDividers:I
.field private mTotalLength:I
.field private mUseLargestChild:Z
.field private mWeightSum:F
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
const/4 v0, 0x0
invoke-direct {p0, p1, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 1
const/4 v0, 0x0
invoke-direct {p0, p1, p2, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.locals 4
invoke-direct {p0, p1, p2, p3}, Landroid/view/ViewGroup;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineAligned:Z
const/4 v1, -0x1
iput v1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineAlignedChildIndex:I
const/4 v2, 0x0
iput v2, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineChildTop:I
const v3, 0x800033
iput v3, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mGravity:I
sget-object v3, Landroidx/appcompat/R$styleable;->LinearLayoutCompat:[I
invoke-static {p1, p2, v3, p3, v2}, Landroidx/appcompat/widget/TintTypedArray;->obtainStyledAttributes(Landroid/content/Context;Landroid/util/AttributeSet;[III)Landroidx/appcompat/widget/TintTypedArray;
move-result-object p1
sget p2, Landroidx/appcompat/R$styleable;->LinearLayoutCompat_android_orientation:I
invoke-virtual {p1, p2, v1}, Landroidx/appcompat/widget/TintTypedArray;->getInt(II)I
move-result p2
if-ltz p2, :cond_0
invoke-virtual {p0, p2}, Landroidx/appcompat/widget/LinearLayoutCompat;->setOrientation(I)V
:cond_0
sget p2, Landroidx/appcompat/R$styleable;->LinearLayoutCompat_android_gravity:I
invoke-virtual {p1, p2, v1}, Landroidx/appcompat/widget/TintTypedArray;->getInt(II)I
move-result p2
if-ltz p2, :cond_1
invoke-virtual {p0, p2}, Landroidx/appcompat/widget/LinearLayoutCompat;->setGravity(I)V
:cond_1
sget p2, Landroidx/appcompat/R$styleable;->LinearLayoutCompat_android_baselineAligned:I
invoke-virtual {p1, p2, v0}, Landroidx/appcompat/widget/TintTypedArray;->getBoolean(IZ)Z
move-result p2
if-nez p2, :cond_2
invoke-virtual {p0, p2}, Landroidx/appcompat/widget/LinearLayoutCompat;->setBaselineAligned(Z)V
:cond_2
sget p2, Landroidx/appcompat/R$styleable;->LinearLayoutCompat_android_weightSum:I
const/high16 p3, -0x40800000 # -1.0f
invoke-virtual {p1, p2, p3}, Landroidx/appcompat/widget/TintTypedArray;->getFloat(IF)F
move-result p2
iput p2, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mWeightSum:F
sget p2, Landroidx/appcompat/R$styleable;->LinearLayoutCompat_android_baselineAlignedChildIndex:I
invoke-virtual {p1, p2, v1}, Landroidx/appcompat/widget/TintTypedArray;->getInt(II)I
move-result p2
iput p2, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineAlignedChildIndex:I
sget p2, Landroidx/appcompat/R$styleable;->LinearLayoutCompat_measureWithLargestChild:I
invoke-virtual {p1, p2, v2}, Landroidx/appcompat/widget/TintTypedArray;->getBoolean(IZ)Z
move-result p2
iput-boolean p2, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mUseLargestChild:Z
sget p2, Landroidx/appcompat/R$styleable;->LinearLayoutCompat_divider:I
invoke-virtual {p1, p2}, Landroidx/appcompat/widget/TintTypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
move-result-object p2
invoke-virtual {p0, p2}, Landroidx/appcompat/widget/LinearLayoutCompat;->setDividerDrawable(Landroid/graphics/drawable/Drawable;)V
sget p2, Landroidx/appcompat/R$styleable;->LinearLayoutCompat_showDividers:I
invoke-virtual {p1, p2, v2}, Landroidx/appcompat/widget/TintTypedArray;->getInt(II)I
move-result p2
iput p2, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mShowDividers:I
sget p2, Landroidx/appcompat/R$styleable;->LinearLayoutCompat_dividerPadding:I
invoke-virtual {p1, p2, v2}, Landroidx/appcompat/widget/TintTypedArray;->getDimensionPixelSize(II)I
move-result p2
iput p2, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerPadding:I
invoke-virtual {p1}, Landroidx/appcompat/widget/TintTypedArray;->recycle()V
return-void
.end method
.method private forceUniformHeight(II)V
.locals 10
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getMeasuredHeight()I
move-result v0
const/high16 v1, 0x40000000 # 2.0f
invoke-static {v0, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v0
const/4 v1, 0x0
:goto_0
if-ge v1, p1, :cond_1
invoke-virtual {p0, v1}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
move-result-object v3
invoke-virtual {v3}, Landroid/view/View;->getVisibility()I
move-result v2
const/16 v4, 0x8
if-eq v2, v4, :cond_0
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v2
move-object v8, v2
check-cast v8, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
iget v2, v8, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
const/4 v4, -0x1
if-ne v2, v4, :cond_0
iget v9, v8, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->width:I
invoke-virtual {v3}, Landroid/view/View;->getMeasuredWidth()I
move-result v2
iput v2, v8, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->width:I
const/4 v5, 0x0
const/4 v7, 0x0
move-object v2, p0
move v4, p2
move v6, v0
invoke-virtual/range {v2 .. v7}, Landroidx/appcompat/widget/LinearLayoutCompat;->measureChildWithMargins(Landroid/view/View;IIII)V
iput v9, v8, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->width:I
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method private forceUniformWidth(II)V
.locals 10
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getMeasuredWidth()I
move-result v0
const/high16 v1, 0x40000000 # 2.0f
invoke-static {v0, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v0
const/4 v1, 0x0
:goto_0
if-ge v1, p1, :cond_1
invoke-virtual {p0, v1}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
move-result-object v3
invoke-virtual {v3}, Landroid/view/View;->getVisibility()I
move-result v2
const/16 v4, 0x8
if-eq v2, v4, :cond_0
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v2
move-object v8, v2
check-cast v8, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
iget v2, v8, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->width:I
const/4 v4, -0x1
if-ne v2, v4, :cond_0
iget v9, v8, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
invoke-virtual {v3}, Landroid/view/View;->getMeasuredHeight()I
move-result v2
iput v2, v8, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
const/4 v5, 0x0
const/4 v7, 0x0
move-object v2, p0
move v4, v0
move v6, p2
invoke-virtual/range {v2 .. v7}, Landroidx/appcompat/widget/LinearLayoutCompat;->measureChildWithMargins(Landroid/view/View;IIII)V
iput v9, v8, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method private setChildFrame(Landroid/view/View;IIII)V
.locals 0
add-int/2addr p4, p2
add-int/2addr p5, p3
invoke-virtual {p1, p2, p3, p4, p5}, Landroid/view/View;->layout(IIII)V
return-void
.end method
# virtual methods
.method protected checkLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Z
.locals 0
instance-of p1, p1, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
return p1
.end method
.method drawDividersHorizontal(Landroid/graphics/Canvas;)V
.locals 6
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildCount()I
move-result v0
invoke-static {p0}, Landroidx/appcompat/widget/ViewUtils;->isLayoutRtl(Landroid/view/View;)Z
move-result v1
const/4 v2, 0x0
:goto_0
if-ge v2, v0, :cond_2
invoke-virtual {p0, v2}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
move-result-object v3
if-eqz v3, :cond_1
invoke-virtual {v3}, Landroid/view/View;->getVisibility()I
move-result v4
const/16 v5, 0x8
if-eq v4, v5, :cond_1
invoke-virtual {p0, v2}, Landroidx/appcompat/widget/LinearLayoutCompat;->hasDividerBeforeChildAt(I)Z
move-result v4
if-eqz v4, :cond_1
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v4
check-cast v4, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
if-eqz v1, :cond_0
invoke-virtual {v3}, Landroid/view/View;->getRight()I
move-result v3
iget v4, v4, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
add-int/2addr v3, v4
goto :goto_1
:cond_0
invoke-virtual {v3}, Landroid/view/View;->getLeft()I
move-result v3
iget v4, v4, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
sub-int/2addr v3, v4
iget v4, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerWidth:I
sub-int/2addr v3, v4
:goto_1
invoke-virtual {p0, p1, v3}, Landroidx/appcompat/widget/LinearLayoutCompat;->drawVerticalDivider(Landroid/graphics/Canvas;I)V
:cond_1
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_2
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;->hasDividerBeforeChildAt(I)Z
move-result v2
if-eqz v2, :cond_6
add-int/lit8 v0, v0, -0x1
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
move-result-object v0
if-nez v0, :cond_4
if-eqz v1, :cond_3
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingLeft()I
move-result v0
2019-02-04 20:29:01 +00:00
goto :goto_2
2019-02-04 20:08:30 +00:00
:cond_3
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getWidth()I
move-result v0
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingRight()I
move-result v1
sub-int/2addr v0, v1
iget v1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerWidth:I
sub-int/2addr v0, v1
2019-02-04 20:29:01 +00:00
goto :goto_2
2019-02-04 20:08:30 +00:00
:cond_4
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v2
check-cast v2, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
if-eqz v1, :cond_5
invoke-virtual {v0}, Landroid/view/View;->getLeft()I
move-result v0
iget v1, v2, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
2019-02-04 20:29:01 +00:00
sub-int/2addr v0, v1
iget v1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerWidth:I
sub-int/2addr v0, v1
2019-02-04 20:08:30 +00:00
goto :goto_2
:cond_5
invoke-virtual {v0}, Landroid/view/View;->getRight()I
move-result v0
iget v1, v2, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
add-int/2addr v0, v1
2019-02-04 20:29:01 +00:00
:goto_2
2019-02-04 20:08:30 +00:00
invoke-virtual {p0, p1, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;->drawVerticalDivider(Landroid/graphics/Canvas;I)V
:cond_6
return-void
.end method
.method drawDividersVertical(Landroid/graphics/Canvas;)V
.locals 5
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildCount()I
move-result v0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_1
invoke-virtual {p0, v1}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
move-result-object v2
if-eqz v2, :cond_0
invoke-virtual {v2}, Landroid/view/View;->getVisibility()I
move-result v3
const/16 v4, 0x8
if-eq v3, v4, :cond_0
invoke-virtual {p0, v1}, Landroidx/appcompat/widget/LinearLayoutCompat;->hasDividerBeforeChildAt(I)Z
move-result v3
if-eqz v3, :cond_0
invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v3
check-cast v3, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
invoke-virtual {v2}, Landroid/view/View;->getTop()I
move-result v2
iget v3, v3, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->topMargin:I
sub-int/2addr v2, v3
iget v3, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerHeight:I
sub-int/2addr v2, v3
invoke-virtual {p0, p1, v2}, Landroidx/appcompat/widget/LinearLayoutCompat;->drawHorizontalDivider(Landroid/graphics/Canvas;I)V
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;->hasDividerBeforeChildAt(I)Z
move-result v1
if-eqz v1, :cond_3
add-int/lit8 v0, v0, -0x1
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
move-result-object v0
if-nez v0, :cond_2
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getHeight()I
move-result v0
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingBottom()I
move-result v1
sub-int/2addr v0, v1
iget v1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerHeight:I
sub-int/2addr v0, v1
goto :goto_1
:cond_2
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v1
check-cast v1, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
invoke-virtual {v0}, Landroid/view/View;->getBottom()I
move-result v0
iget v1, v1, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->bottomMargin:I
add-int/2addr v0, v1
:goto_1
invoke-virtual {p0, p1, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;->drawHorizontalDivider(Landroid/graphics/Canvas;I)V
:cond_3
return-void
.end method
.method drawHorizontalDivider(Landroid/graphics/Canvas;I)V
.locals 4
iget-object v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDivider:Landroid/graphics/drawable/Drawable;
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingLeft()I
move-result v1
iget v2, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerPadding:I
add-int/2addr v1, v2
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getWidth()I
move-result v2
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingRight()I
move-result v3
sub-int/2addr v2, v3
iget v3, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerPadding:I
sub-int/2addr v2, v3
iget v3, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerHeight:I
add-int/2addr v3, p2
invoke-virtual {v0, v1, p2, v2, v3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
iget-object p2, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDivider:Landroid/graphics/drawable/Drawable;
invoke-virtual {p2, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
return-void
.end method
.method drawVerticalDivider(Landroid/graphics/Canvas;I)V
.locals 5
iget-object v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDivider:Landroid/graphics/drawable/Drawable;
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingTop()I
move-result v1
iget v2, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerPadding:I
add-int/2addr v1, v2
iget v2, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerWidth:I
add-int/2addr v2, p2
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getHeight()I
move-result v3
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingBottom()I
move-result v4
sub-int/2addr v3, v4
iget v4, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerPadding:I
sub-int/2addr v3, v4
invoke-virtual {v0, p2, v1, v2, v3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
iget-object p2, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDivider:Landroid/graphics/drawable/Drawable;
invoke-virtual {p2, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
return-void
.end method
.method protected bridge synthetic generateDefaultLayoutParams()Landroid/view/ViewGroup$LayoutParams;
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->generateDefaultLayoutParams()Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
move-result-object v0
return-object v0
.end method
.method protected generateDefaultLayoutParams()Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
.locals 3
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mOrientation:I
const/4 v1, -0x2
if-nez v0, :cond_0
new-instance v0, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
invoke-direct {v0, v1, v1}, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;-><init>(II)V
return-object v0
:cond_0
const/4 v2, 0x1
if-ne v0, v2, :cond_1
new-instance v0, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
const/4 v2, -0x1
invoke-direct {v0, v2, v1}, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;-><init>(II)V
return-object v0
:cond_1
const/4 v0, 0x0
return-object v0
.end method
.method public bridge synthetic generateLayoutParams(Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;
.locals 0
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/LinearLayoutCompat;->generateLayoutParams(Landroid/util/AttributeSet;)Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
move-result-object p1
return-object p1
.end method
.method protected bridge synthetic generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroid/view/ViewGroup$LayoutParams;
.locals 0
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/LinearLayoutCompat;->generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
move-result-object p1
return-object p1
.end method
.method public generateLayoutParams(Landroid/util/AttributeSet;)Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
.locals 2
new-instance v0, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getContext()Landroid/content/Context;
move-result-object v1
invoke-direct {v0, v1, p1}, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-object v0
.end method
.method protected generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
.locals 1
new-instance v0, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
invoke-direct {v0, p1}, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
return-object v0
.end method
.method public getBaseline()I
.locals 5
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineAlignedChildIndex:I
if-gez v0, :cond_0
invoke-super {p0}, Landroid/view/ViewGroup;->getBaseline()I
move-result v0
return v0
:cond_0
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildCount()I
move-result v0
iget v1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineAlignedChildIndex:I
if-le v0, v1, :cond_6
2019-02-04 20:29:01 +00:00
invoke-virtual {p0, v1}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildAt(I)Landroid/view/View;
2019-02-04 20:08:30 +00:00
move-result-object v0
invoke-virtual {v0}, Landroid/view/View;->getBaseline()I
move-result v1
const/4 v2, -0x1
if-ne v1, v2, :cond_2
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineAlignedChildIndex:I
if-nez v0, :cond_1
return v2
:cond_1
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "mBaselineAlignedChildIndex of LinearLayout points to a View that doesn\'t know how to get its baseline."
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
:cond_2
iget v2, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineChildTop:I
iget v3, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mOrientation:I
const/4 v4, 0x1
if-ne v3, v4, :cond_5
iget v3, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mGravity:I
and-int/lit8 v3, v3, 0x70
const/16 v4, 0x30
if-eq v3, v4, :cond_5
const/16 v4, 0x10
if-eq v3, v4, :cond_4
const/16 v4, 0x50
if-eq v3, v4, :cond_3
goto :goto_0
:cond_3
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getBottom()I
move-result v2
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getTop()I
move-result v3
sub-int/2addr v2, v3
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingBottom()I
move-result v3
sub-int/2addr v2, v3
iget v3, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
sub-int/2addr v2, v3
goto :goto_0
:cond_4
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getBottom()I
move-result v3
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getTop()I
move-result v4
sub-int/2addr v3, v4
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingTop()I
move-result v4
sub-int/2addr v3, v4
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingBottom()I
move-result v4
sub-int/2addr v3, v4
iget v4, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
sub-int/2addr v3, v4
div-int/lit8 v3, v3, 0x2
add-int/2addr v2, v3
:cond_5
:goto_0
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
check-cast v0, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
iget v0, v0, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->topMargin:I
add-int/2addr v2, v0
add-int/2addr v2, v1
return v2
:cond_6
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "mBaselineAlignedChildIndex of LinearLayout set to an index that is out of bounds."
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getBaselineAlignedChildIndex()I
.locals 1
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineAlignedChildIndex:I
return v0
.end method
.method getChildrenSkipCount(Landroid/view/View;I)I
.locals 0
const/4 p1, 0x0
return p1
.end method
.method public getDividerDrawable()Landroid/graphics/drawable/Drawable;
.locals 1
iget-object v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDivider:Landroid/graphics/drawable/Drawable;
return-object v0
.end method
.method public getDividerPadding()I
.locals 1
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerPadding:I
return v0
.end method
.method public getDividerWidth()I
.locals 1
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerWidth:I
return v0
.end method
.method public getGravity()I
.locals 1
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mGravity:I
return v0
.end method
.method getLocationOffset(Landroid/view/View;)I
.locals 0
const/4 p1, 0x0
return p1
.end method
.method getNextLocationOffset(Landroid/view/View;)I
.locals 0
const/4 p1, 0x0
return p1
.end method
.method public getOrientation()I
.locals 1
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mOrientation:I
return v0
.end method
.method public getShowDividers()I
.locals 1
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mShowDividers:I
return v0
.end method
.method getVirtualChildAt(I)Landroid/view/View;
.locals 0
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildAt(I)Landroid/view/View;
move-result-object p1
return-object p1
.end method
.method getVirtualChildCount()I
.locals 1
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildCount()I
move-result v0
return v0
.end method
.method public getWeightSum()F
.locals 1
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mWeightSum:F
return v0
.end method
.method protected hasDividerBeforeChildAt(I)Z
.locals 4
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
const/4 v0, 0x0
const/4 v1, 0x1
if-nez p1, :cond_1
iget p1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mShowDividers:I
and-int/2addr p1, v1
if-eqz p1, :cond_0
return v1
:cond_0
return v0
:cond_1
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildCount()I
move-result v2
if-ne p1, v2, :cond_3
iget p1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mShowDividers:I
and-int/lit8 p1, p1, 0x4
if-eqz p1, :cond_2
return v1
:cond_2
return v0
:cond_3
iget v2, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mShowDividers:I
and-int/lit8 v2, v2, 0x2
2019-02-04 20:29:01 +00:00
if-eqz v2, :cond_6
2019-02-04 20:08:30 +00:00
sub-int/2addr p1, v1
:goto_0
if-ltz p1, :cond_5
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildAt(I)Landroid/view/View;
move-result-object v2
invoke-virtual {v2}, Landroid/view/View;->getVisibility()I
move-result v2
const/16 v3, 0x8
if-eq v2, v3, :cond_4
const/4 v0, 0x1
goto :goto_1
:cond_4
add-int/lit8 p1, p1, -0x1
goto :goto_0
:cond_5
:goto_1
return v0
2019-02-04 20:29:01 +00:00
:cond_6
return v0
2019-02-04 20:08:30 +00:00
.end method
.method public isBaselineAligned()Z
.locals 1
iget-boolean v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineAligned:Z
return v0
.end method
.method public isMeasureWithLargestChildEnabled()Z
.locals 1
iget-boolean v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mUseLargestChild:Z
return v0
.end method
.method layoutHorizontal(IIII)V
2019-02-04 20:29:01 +00:00
.locals 24
2019-02-04 20:08:30 +00:00
move-object/from16 v6, p0
invoke-static/range {p0 .. p0}, Landroidx/appcompat/widget/ViewUtils;->isLayoutRtl(Landroid/view/View;)Z
2019-02-04 20:29:01 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingTop()I
move-result v7
2019-02-04 20:29:01 +00:00
sub-int v1, p4, p2
2019-02-04 20:08:30 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingBottom()I
2019-02-04 20:29:01 +00:00
move-result v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int v8, v1, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int/2addr v1, v7
2019-02-04 20:08:30 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingBottom()I
2019-02-04 20:29:01 +00:00
move-result v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int v9, v1, v2
2019-02-04 20:08:30 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildCount()I
move-result v10
2019-02-04 20:29:01 +00:00
iget v1, v6, Landroidx/appcompat/widget/LinearLayoutCompat;->mGravity:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const v2, 0x800007
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
and-int/2addr v2, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
and-int/lit8 v11, v1, 0x70
2019-02-04 20:08:30 +00:00
iget-boolean v12, v6, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineAligned:Z
iget-object v13, v6, Landroidx/appcompat/widget/LinearLayoutCompat;->mMaxAscent:[I
iget-object v14, v6, Landroidx/appcompat/widget/LinearLayoutCompat;->mMaxDescent:[I
invoke-static/range {p0 .. p0}, Landroidx/core/view/ViewCompat;->getLayoutDirection(Landroid/view/View;)I
2019-02-04 20:29:01 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-static {v2, v1}, Landroidx/core/view/GravityCompat;->getAbsoluteGravity(II)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
const/4 v15, 0x2
const/4 v5, 0x1
2019-02-04 20:29:01 +00:00
if-eq v1, v5, :cond_1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v2, 0x5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v1, v2, :cond_0
2019-02-04 20:08:30 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingLeft()I
2019-02-04 20:29:01 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_0
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingLeft()I
2019-02-04 20:29:01 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int v1, v1, p3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int v1, v1, p1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v2, v6, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int/2addr v1, v2
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_1
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingLeft()I
2019-02-04 20:29:01 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int v2, p3, p1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v3, v6, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int/2addr v2, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
div-int/2addr v2, v15
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v1, v2
2019-02-04 20:08:30 +00:00
:goto_0
2019-02-04 20:29:01 +00:00
const/4 v2, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v0, :cond_2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/lit8 v0, v10, -0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v16, v0
2019-02-04 20:08:30 +00:00
const/16 v17, -0x1
goto :goto_1
:cond_2
const/16 v16, 0x0
const/16 v17, 0x1
:goto_1
const/4 v3, 0x0
:goto_2
if-ge v3, v10, :cond_e
2019-02-04 20:29:01 +00:00
mul-int v0, v17, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int v2, v16, v0
2019-02-04 20:08:30 +00:00
invoke-virtual {v6, v2}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
2019-02-04 20:29:01 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-nez v0, :cond_3
2019-02-04 20:08:30 +00:00
invoke-virtual {v6, v2}, Landroidx/appcompat/widget/LinearLayoutCompat;->measureNullChild(I)I
2019-02-04 20:29:01 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v1, v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v22, v7
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v19, v10
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v20, v11
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v21, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v23, -0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto/16 :goto_5
2019-02-04 20:08:30 +00:00
:cond_3
2019-02-04 20:29:01 +00:00
invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
2019-02-04 20:08:30 +00:00
move-result v5
const/16 v15, 0x8
if-eq v5, v15, :cond_d
2019-02-04 20:29:01 +00:00
invoke-virtual {v0}, Landroid/view/View;->getMeasuredWidth()I
2019-02-04 20:08:30 +00:00
move-result v15
2019-02-04 20:29:01 +00:00
invoke-virtual {v0}, Landroid/view/View;->getMeasuredHeight()I
2019-02-04 20:08:30 +00:00
move-result v5
2019-02-04 20:29:01 +00:00
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result-object v18
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-object/from16 v4, v18
2019-02-04 20:08:30 +00:00
check-cast v4, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
if-eqz v12, :cond_4
2019-02-04 20:29:01 +00:00
move/from16 v18, v3
2019-02-04 20:08:30 +00:00
iget v3, v4, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
2019-02-04 20:29:01 +00:00
move/from16 v19, v10
2019-02-04 20:08:30 +00:00
const/4 v10, -0x1
if-eq v3, v10, :cond_5
2019-02-04 20:29:01 +00:00
invoke-virtual {v0}, Landroid/view/View;->getBaseline()I
2019-02-04 20:08:30 +00:00
move-result v3
2019-02-04 20:29:01 +00:00
goto :goto_3
2019-02-04 20:08:30 +00:00
:cond_4
2019-02-04 20:29:01 +00:00
move/from16 v18, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v19, v10
2019-02-04 20:08:30 +00:00
:cond_5
const/4 v3, -0x1
2019-02-04 20:29:01 +00:00
:goto_3
2019-02-04 20:08:30 +00:00
iget v10, v4, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->gravity:I
if-gez v10, :cond_6
move v10, v11
:cond_6
and-int/lit8 v10, v10, 0x70
2019-02-04 20:29:01 +00:00
move/from16 v20, v11
2019-02-04 20:08:30 +00:00
const/16 v11, 0x10
if-eq v10, v11, :cond_b
const/16 v11, 0x30
if-eq v10, v11, :cond_9
const/16 v11, 0x50
if-eq v10, v11, :cond_7
move v3, v7
const/4 v11, -0x1
2019-02-04 20:29:01 +00:00
const/16 v21, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_4
2019-02-04 20:08:30 +00:00
:cond_7
sub-int v10, v8, v5
iget v11, v4, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->bottomMargin:I
sub-int/2addr v10, v11
const/4 v11, -0x1
if-eq v3, v11, :cond_8
2019-02-04 20:29:01 +00:00
invoke-virtual {v0}, Landroid/view/View;->getMeasuredHeight()I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v21
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int v21, v21, v3
2019-02-04 20:08:30 +00:00
const/4 v3, 0x2
2019-02-04 20:29:01 +00:00
aget v22, v14, v3
sub-int v22, v22, v21
sub-int v10, v10, v22
move v3, v10
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v21, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_4
2019-02-04 20:08:30 +00:00
:cond_8
move v3, v10
2019-02-04 20:29:01 +00:00
const/16 v21, 0x1
goto :goto_4
2019-02-04 20:08:30 +00:00
:cond_9
const/4 v11, -0x1
iget v10, v4, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->topMargin:I
add-int/2addr v10, v7
if-eq v3, v11, :cond_a
2019-02-04 20:29:01 +00:00
const/16 v21, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
aget v22, v13, v21
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int v22, v22, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int v10, v10, v22
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move v3, v10
goto :goto_4
2019-02-04 20:08:30 +00:00
:cond_a
2019-02-04 20:29:01 +00:00
const/16 v21, 0x1
2019-02-04 20:08:30 +00:00
move v3, v10
2019-02-04 20:29:01 +00:00
goto :goto_4
2019-02-04 20:08:30 +00:00
:cond_b
const/4 v11, -0x1
2019-02-04 20:29:01 +00:00
const/16 v21, 0x1
2019-02-04 20:08:30 +00:00
sub-int v3, v9, v5
const/4 v10, 0x2
div-int/2addr v3, v10
add-int/2addr v3, v7
iget v10, v4, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->topMargin:I
add-int/2addr v3, v10
iget v10, v4, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->bottomMargin:I
sub-int/2addr v3, v10
2019-02-04 20:29:01 +00:00
:goto_4
2019-02-04 20:08:30 +00:00
invoke-virtual {v6, v2}, Landroidx/appcompat/widget/LinearLayoutCompat;->hasDividerBeforeChildAt(I)Z
move-result v10
if-eqz v10, :cond_c
iget v10, v6, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerWidth:I
2019-02-04 20:29:01 +00:00
add-int/2addr v1, v10
2019-02-04 20:08:30 +00:00
:cond_c
iget v10, v4, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
2019-02-04 20:29:01 +00:00
add-int/2addr v10, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v6, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getLocationOffset(Landroid/view/View;)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v1
add-int v22, v10, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-object v1, v0
2019-02-04 20:08:30 +00:00
move-object/from16 v0, p0
2019-02-04 20:29:01 +00:00
move-object/from16 p1, v1
2019-02-04 20:08:30 +00:00
move v11, v2
2019-02-04 20:29:01 +00:00
move/from16 v2, v22
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v22, v7
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v23, -0x1
2019-02-04 20:08:30 +00:00
move-object v7, v4
move v4, v15
invoke-direct/range {v0 .. v5}, Landroidx/appcompat/widget/LinearLayoutCompat;->setChildFrame(Landroid/view/View;IIII)V
iget v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
add-int/2addr v15, v0
2019-02-04 20:29:01 +00:00
move-object/from16 v0, p1
2019-02-04 20:08:30 +00:00
invoke-virtual {v6, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getNextLocationOffset(Landroid/view/View;)I
move-result v1
add-int/2addr v15, v1
add-int/2addr v10, v15
invoke-virtual {v6, v0, v11}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildrenSkipCount(Landroid/view/View;I)I
move-result v0
2019-02-04 20:29:01 +00:00
add-int v3, v18, v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move v1, v10
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_5
2019-02-04 20:08:30 +00:00
:cond_d
2019-02-04 20:29:01 +00:00
move/from16 v18, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v22, v7
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v19, v10
move/from16 v20, v11
const/16 v21, 0x1
const/16 v23, -0x1
:goto_5
2019-02-04 20:08:30 +00:00
add-int/lit8 v3, v3, 0x1
2019-02-04 20:29:01 +00:00
move/from16 v10, v19
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v11, v20
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v7, v22
2019-02-04 20:08:30 +00:00
const/4 v5, 0x1
const/4 v15, 0x2
goto/16 :goto_2
:cond_e
return-void
.end method
.method layoutVertical(IIII)V
.locals 17
move-object/from16 v6, p0
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingLeft()I
move-result v7
2019-02-04 20:29:01 +00:00
sub-int v0, p3, p1
2019-02-04 20:08:30 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingRight()I
2019-02-04 20:29:01 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int v8, v0, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int/2addr v0, v7
2019-02-04 20:08:30 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingRight()I
2019-02-04 20:29:01 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int v9, v0, v1
2019-02-04 20:08:30 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildCount()I
move-result v10
2019-02-04 20:29:01 +00:00
iget v0, v6, Landroidx/appcompat/widget/LinearLayoutCompat;->mGravity:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
and-int/lit8 v1, v0, 0x70
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const v2, 0x800007
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
and-int v11, v0, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v0, 0x10
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v1, v0, :cond_1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v0, 0x50
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v1, v0, :cond_0
2019-02-04 20:08:30 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingTop()I
move-result v0
goto :goto_0
:cond_0
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingTop()I
2019-02-04 20:29:01 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int v0, v0, p4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int v0, v0, p2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v1, v6, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int/2addr v0, v1
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_1
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingTop()I
2019-02-04 20:29:01 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int v1, p4, p2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v2, v6, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int/2addr v1, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
div-int/lit8 v1, v1, 0x2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v0, v1
2019-02-04 20:08:30 +00:00
:goto_0
const/4 v1, 0x0
const/4 v12, 0x0
:goto_1
if-ge v12, v10, :cond_8
invoke-virtual {v6, v12}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
move-result-object v13
const/4 v14, 0x1
2019-02-04 20:29:01 +00:00
if-nez v13, :cond_2
2019-02-04 20:08:30 +00:00
invoke-virtual {v6, v12}, Landroidx/appcompat/widget/LinearLayoutCompat;->measureNullChild(I)I
move-result v1
add-int/2addr v0, v1
const/4 v1, 0x1
2019-02-04 20:29:01 +00:00
goto/16 :goto_3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_2
2019-02-04 20:08:30 +00:00
invoke-virtual {v13}, Landroid/view/View;->getVisibility()I
move-result v1
const/16 v2, 0x8
2019-02-04 20:29:01 +00:00
if-eq v1, v2, :cond_7
2019-02-04 20:08:30 +00:00
invoke-virtual {v13}, Landroid/view/View;->getMeasuredWidth()I
move-result v4
invoke-virtual {v13}, Landroid/view/View;->getMeasuredHeight()I
move-result v15
invoke-virtual {v13}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v1
move-object v5, v1
check-cast v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
iget v1, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->gravity:I
2019-02-04 20:29:01 +00:00
if-gez v1, :cond_3
2019-02-04 20:08:30 +00:00
move v1, v11
2019-02-04 20:29:01 +00:00
:cond_3
2019-02-04 20:08:30 +00:00
invoke-static/range {p0 .. p0}, Landroidx/core/view/ViewCompat;->getLayoutDirection(Landroid/view/View;)I
move-result v2
invoke-static {v1, v2}, Landroidx/core/view/GravityCompat;->getAbsoluteGravity(II)I
move-result v1
and-int/lit8 v1, v1, 0x7
2019-02-04 20:29:01 +00:00
if-eq v1, v14, :cond_5
2019-02-04 20:08:30 +00:00
const/4 v2, 0x5
2019-02-04 20:29:01 +00:00
if-eq v1, v2, :cond_4
2019-02-04 20:08:30 +00:00
iget v1, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
add-int/2addr v1, v7
move v2, v1
2019-02-04 20:29:01 +00:00
goto :goto_2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_4
2019-02-04 20:08:30 +00:00
sub-int v1, v8, v4
2019-02-04 20:29:01 +00:00
iget v2, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int/2addr v1, v2
move v2, v1
goto :goto_2
:cond_5
2019-02-04 20:08:30 +00:00
sub-int v1, v9, v4
div-int/lit8 v1, v1, 0x2
add-int/2addr v1, v7
iget v2, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
add-int/2addr v1, v2
iget v2, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
sub-int/2addr v1, v2
2019-02-04 20:29:01 +00:00
move v2, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_2
2019-02-04 20:08:30 +00:00
invoke-virtual {v6, v12}, Landroidx/appcompat/widget/LinearLayoutCompat;->hasDividerBeforeChildAt(I)Z
move-result v1
2019-02-04 20:29:01 +00:00
if-eqz v1, :cond_6
2019-02-04 20:08:30 +00:00
iget v1, v6, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerHeight:I
add-int/2addr v0, v1
2019-02-04 20:29:01 +00:00
:cond_6
2019-02-04 20:08:30 +00:00
iget v1, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->topMargin:I
add-int v16, v0, v1
invoke-virtual {v6, v13}, Landroidx/appcompat/widget/LinearLayoutCompat;->getLocationOffset(Landroid/view/View;)I
move-result v0
add-int v3, v16, v0
move-object/from16 v0, p0
move-object v1, v13
move-object v14, v5
move v5, v15
invoke-direct/range {v0 .. v5}, Landroidx/appcompat/widget/LinearLayoutCompat;->setChildFrame(Landroid/view/View;IIII)V
iget v0, v14, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->bottomMargin:I
add-int/2addr v15, v0
invoke-virtual {v6, v13}, Landroidx/appcompat/widget/LinearLayoutCompat;->getNextLocationOffset(Landroid/view/View;)I
move-result v0
add-int/2addr v15, v0
add-int v16, v16, v15
invoke-virtual {v6, v13, v12}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildrenSkipCount(Landroid/view/View;I)I
move-result v0
add-int/2addr v12, v0
move/from16 v0, v16
2019-02-04 20:29:01 +00:00
const/4 v1, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_3
:cond_7
const/4 v1, 0x1
:goto_3
2019-02-04 20:08:30 +00:00
add-int/2addr v12, v1
2019-02-04 20:29:01 +00:00
goto/16 :goto_1
2019-02-04 20:08:30 +00:00
:cond_8
return-void
.end method
.method measureChildBeforeLayout(Landroid/view/View;IIIII)V
.locals 6
move-object v0, p0
move-object v1, p1
move v2, p3
move v3, p4
move v4, p5
move v5, p6
invoke-virtual/range {v0 .. v5}, Landroidx/appcompat/widget/LinearLayoutCompat;->measureChildWithMargins(Landroid/view/View;IIII)V
return-void
.end method
.method measureHorizontal(II)V
2019-02-04 20:29:01 +00:00
.locals 37
2019-02-04 20:08:30 +00:00
move-object/from16 v7, p0
move/from16 v8, p1
move/from16 v9, p2
const/4 v10, 0x0
iput v10, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildCount()I
move-result v11
invoke-static/range {p1 .. p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
move-result v12
invoke-static/range {p2 .. p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
move-result v13
iget-object v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mMaxAscent:[I
const/4 v14, 0x4
if-eqz v0, :cond_0
iget-object v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mMaxDescent:[I
if-nez v0, :cond_1
:cond_0
new-array v0, v14, [I
iput-object v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mMaxAscent:[I
new-array v0, v14, [I
iput-object v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mMaxDescent:[I
:cond_1
iget-object v15, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mMaxAscent:[I
iget-object v6, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mMaxDescent:[I
const/16 v16, 0x3
const/4 v5, -0x1
aput v5, v15, v16
const/16 v17, 0x2
aput v5, v15, v17
const/16 v18, 0x1
aput v5, v15, v18
aput v5, v15, v10
aput v5, v6, v16
aput v5, v6, v17
aput v5, v6, v18
aput v5, v6, v10
iget-boolean v4, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineAligned:Z
iget-boolean v3, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mUseLargestChild:Z
const/high16 v2, 0x40000000 # 2.0f
if-ne v12, v2, :cond_2
const/16 v19, 0x1
goto :goto_0
:cond_2
const/16 v19, 0x0
:goto_0
const/16 v20, 0x0
const/4 v0, 0x0
const/4 v1, 0x0
const/4 v14, 0x0
const/16 v21, 0x0
const/16 v22, 0x0
const/16 v23, 0x0
const/16 v24, 0x0
const/16 v25, 0x0
const/16 v26, 0x1
const/16 v27, 0x0
:goto_1
move-object/from16 v28, v6
const/16 v5, 0x8
2019-02-04 20:29:01 +00:00
if-ge v1, v11, :cond_16
2019-02-04 20:08:30 +00:00
invoke-virtual {v7, v1}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
move-result-object v6
if-nez v6, :cond_3
iget v5, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
invoke-virtual {v7, v1}, Landroidx/appcompat/widget/LinearLayoutCompat;->measureNullChild(I)I
move-result v6
add-int/2addr v5, v6
iput v5, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
move/from16 v31, v0
2019-02-04 20:08:30 +00:00
move v0, v1
2019-02-04 20:29:01 +00:00
move/from16 v32, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v36, v4
2019-02-04 20:08:30 +00:00
const/high16 v1, 0x40000000 # 2.0f
2019-02-04 20:29:01 +00:00
goto/16 :goto_e
2019-02-04 20:08:30 +00:00
:cond_3
invoke-virtual {v6}, Landroid/view/View;->getVisibility()I
move-result v10
2019-02-04 20:29:01 +00:00
if-eq v10, v5, :cond_15
2019-02-04 20:08:30 +00:00
invoke-virtual {v7, v1}, Landroidx/appcompat/widget/LinearLayoutCompat;->hasDividerBeforeChildAt(I)Z
move-result v5
if-eqz v5, :cond_4
iget v5, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
iget v10, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerWidth:I
add-int/2addr v5, v10
iput v5, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
:cond_4
invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v5
move-object v10, v5
check-cast v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
iget v5, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->weight:F
2019-02-04 20:29:01 +00:00
add-float v31, v0, v5
2019-02-04 20:08:30 +00:00
if-ne v12, v2, :cond_7
iget v0, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->width:I
if-nez v0, :cond_7
iget v0, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->weight:F
cmpl-float v0, v0, v20
if-lez v0, :cond_7
if-eqz v19, :cond_5
iget v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
iget v5, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
iget v2, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
add-int/2addr v5, v2
add-int/2addr v0, v5
iput v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
goto :goto_2
2019-02-04 20:08:30 +00:00
:cond_5
iget v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
iget v2, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
add-int/2addr v2, v0
iget v5, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
add-int/2addr v2, v5
invoke-static {v0, v2}, Ljava/lang/Math;->max(II)I
move-result v0
2019-02-04 20:29:01 +00:00
iput v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_2
2019-02-04 20:08:30 +00:00
if-eqz v4, :cond_6
const/4 v0, 0x0
invoke-static {v0, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v2
invoke-virtual {v6, v2, v2}, Landroid/view/View;->measure(II)V
2019-02-04 20:29:01 +00:00
move/from16 v34, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v32, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v36, v4
2019-02-04 20:08:30 +00:00
move-object v3, v6
2019-02-04 20:29:01 +00:00
const/16 v30, -0x2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto/16 :goto_6
2019-02-04 20:08:30 +00:00
:cond_6
2019-02-04 20:29:01 +00:00
move/from16 v34, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v32, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v36, v4
2019-02-04 20:08:30 +00:00
move-object v3, v6
const/high16 v1, 0x40000000 # 2.0f
2019-02-04 20:29:01 +00:00
const/16 v24, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v30, -0x2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto/16 :goto_7
2019-02-04 20:08:30 +00:00
:cond_7
iget v0, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->width:I
if-nez v0, :cond_8
iget v0, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->weight:F
cmpl-float v0, v0, v20
if-lez v0, :cond_8
const/4 v5, -0x2
iput v5, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->width:I
const/4 v2, 0x0
2019-02-04 20:29:01 +00:00
goto :goto_3
2019-02-04 20:08:30 +00:00
:cond_8
const/4 v5, -0x2
const/high16 v2, -0x80000000
2019-02-04 20:29:01 +00:00
:goto_3
cmpl-float v0, v31, v20
2019-02-04 20:08:30 +00:00
if-nez v0, :cond_9
iget v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
move/from16 v29, v0
2019-02-04 20:29:01 +00:00
goto :goto_4
2019-02-04 20:08:30 +00:00
:cond_9
const/16 v29, 0x0
2019-02-04 20:29:01 +00:00
:goto_4
const/16 v33, 0x0
2019-02-04 20:08:30 +00:00
move-object/from16 v0, p0
2019-02-04 20:29:01 +00:00
move/from16 v34, v1
2019-02-04 20:08:30 +00:00
move-object v1, v6
2019-02-04 20:29:01 +00:00
move/from16 v35, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v2, v34
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v32, v3
2019-02-04 20:08:30 +00:00
move/from16 v3, p1
2019-02-04 20:29:01 +00:00
move/from16 v36, v4
2019-02-04 20:08:30 +00:00
move/from16 v4, v29
const/4 v9, -0x1
const/16 v29, -0x2
move/from16 v5, p2
2019-02-04 20:29:01 +00:00
move-object/from16 v29, v6
2019-02-04 20:08:30 +00:00
const/high16 v9, -0x80000000
2019-02-04 20:29:01 +00:00
const/16 v30, -0x2
move/from16 v6, v33
2019-02-04 20:08:30 +00:00
invoke-virtual/range {v0 .. v6}, Landroidx/appcompat/widget/LinearLayoutCompat;->measureChildBeforeLayout(Landroid/view/View;IIIII)V
2019-02-04 20:29:01 +00:00
move/from16 v0, v35
2019-02-04 20:08:30 +00:00
if-eq v0, v9, :cond_a
iput v0, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->width:I
:cond_a
2019-02-04 20:29:01 +00:00
invoke-virtual/range {v29 .. v29}, Landroid/view/View;->getMeasuredWidth()I
2019-02-04 20:08:30 +00:00
move-result v0
if-eqz v19, :cond_b
iget v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
iget v2, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
add-int/2addr v2, v0
iget v3, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
add-int/2addr v2, v3
2019-02-04 20:29:01 +00:00
move-object/from16 v3, v29
2019-02-04 20:08:30 +00:00
invoke-virtual {v7, v3}, Landroidx/appcompat/widget/LinearLayoutCompat;->getNextLocationOffset(Landroid/view/View;)I
move-result v4
add-int/2addr v2, v4
add-int/2addr v1, v2
iput v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
goto :goto_5
2019-02-04 20:08:30 +00:00
:cond_b
2019-02-04 20:29:01 +00:00
move-object/from16 v3, v29
2019-02-04 20:08:30 +00:00
iget v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
add-int v2, v1, v0
iget v4, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
add-int/2addr v2, v4
iget v4, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
add-int/2addr v2, v4
invoke-virtual {v7, v3}, Landroidx/appcompat/widget/LinearLayoutCompat;->getNextLocationOffset(Landroid/view/View;)I
move-result v4
add-int/2addr v2, v4
invoke-static {v1, v2}, Ljava/lang/Math;->max(II)I
move-result v1
2019-02-04 20:29:01 +00:00
iput v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_5
if-eqz v32, :cond_c
2019-02-04 20:08:30 +00:00
invoke-static {v0, v14}, Ljava/lang/Math;->max(II)I
2019-02-04 20:29:01 +00:00
move-result v14
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/high16 v1, 0x40000000 # 2.0f
goto :goto_7
2019-02-04 20:08:30 +00:00
:cond_c
2019-02-04 20:29:01 +00:00
:goto_6
2019-02-04 20:08:30 +00:00
const/high16 v1, 0x40000000 # 2.0f
2019-02-04 20:29:01 +00:00
:goto_7
2019-02-04 20:08:30 +00:00
if-eq v13, v1, :cond_d
iget v0, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
const/4 v2, -0x1
if-ne v0, v2, :cond_d
const/4 v0, 0x1
const/16 v27, 0x1
2019-02-04 20:29:01 +00:00
goto :goto_8
2019-02-04 20:08:30 +00:00
:cond_d
const/4 v0, 0x0
2019-02-04 20:29:01 +00:00
:goto_8
2019-02-04 20:08:30 +00:00
iget v2, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->topMargin:I
iget v4, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->bottomMargin:I
add-int/2addr v2, v4
invoke-virtual {v3}, Landroid/view/View;->getMeasuredHeight()I
move-result v4
add-int/2addr v4, v2
invoke-virtual {v3}, Landroid/view/View;->getMeasuredState()I
move-result v5
move/from16 v6, v25
invoke-static {v6, v5}, Landroid/view/View;->combineMeasuredStates(II)I
move-result v25
2019-02-04 20:29:01 +00:00
if-eqz v36, :cond_10
2019-02-04 20:08:30 +00:00
invoke-virtual {v3}, Landroid/view/View;->getBaseline()I
move-result v5
const/4 v6, -0x1
if-eq v5, v6, :cond_f
iget v6, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->gravity:I
if-gez v6, :cond_e
iget v6, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mGravity:I
2019-02-04 20:29:01 +00:00
goto :goto_9
2019-02-04 20:08:30 +00:00
:cond_e
iget v6, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->gravity:I
2019-02-04 20:29:01 +00:00
:goto_9
2019-02-04 20:08:30 +00:00
and-int/lit8 v6, v6, 0x70
const/4 v9, 0x4
shr-int/2addr v6, v9
and-int/lit8 v6, v6, -0x2
shr-int/lit8 v6, v6, 0x1
aget v9, v15, v6
invoke-static {v9, v5}, Ljava/lang/Math;->max(II)I
move-result v9
aput v9, v15, v6
aget v9, v28, v6
sub-int v5, v4, v5
invoke-static {v9, v5}, Ljava/lang/Math;->max(II)I
move-result v5
aput v5, v28, v6
2019-02-04 20:29:01 +00:00
move/from16 v5, v21
goto :goto_a
2019-02-04 20:08:30 +00:00
:cond_f
move/from16 v5, v21
2019-02-04 20:29:01 +00:00
goto :goto_a
:cond_10
move/from16 v5, v21
:goto_a
2019-02-04 20:08:30 +00:00
invoke-static {v5, v4}, Ljava/lang/Math;->max(II)I
move-result v21
2019-02-04 20:29:01 +00:00
if-eqz v26, :cond_11
2019-02-04 20:08:30 +00:00
iget v5, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
const/4 v6, -0x1
2019-02-04 20:29:01 +00:00
if-ne v5, v6, :cond_11
2019-02-04 20:08:30 +00:00
const/16 v26, 0x1
2019-02-04 20:29:01 +00:00
goto :goto_b
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_11
2019-02-04 20:08:30 +00:00
const/16 v26, 0x0
2019-02-04 20:29:01 +00:00
:goto_b
2019-02-04 20:08:30 +00:00
iget v5, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->weight:F
cmpl-float v5, v5, v20
2019-02-04 20:29:01 +00:00
if-lez v5, :cond_13
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v0, :cond_12
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_c
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_12
2019-02-04 20:08:30 +00:00
move v2, v4
2019-02-04 20:29:01 +00:00
:goto_c
move/from16 v10, v23
2019-02-04 20:08:30 +00:00
invoke-static {v10, v2}, Ljava/lang/Math;->max(II)I
2019-02-04 20:29:01 +00:00
move-result v23
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v10, v34
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_d
:cond_13
move/from16 v10, v23
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v0, :cond_14
2019-02-04 20:08:30 +00:00
move v4, v2
2019-02-04 20:29:01 +00:00
:cond_14
move/from16 v2, v22
2019-02-04 20:08:30 +00:00
invoke-static {v2, v4}, Ljava/lang/Math;->max(II)I
2019-02-04 20:29:01 +00:00
move-result v22
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v23, v10
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v10, v34
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_d
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_15
move/from16 v34, v1
move/from16 v32, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v36, v4
2019-02-04 20:08:30 +00:00
move-object v3, v6
move/from16 v5, v21
2019-02-04 20:29:01 +00:00
move/from16 v2, v22
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v10, v23
2019-02-04 20:08:30 +00:00
move/from16 v6, v25
const/high16 v1, 0x40000000 # 2.0f
2019-02-04 20:29:01 +00:00
move/from16 v31, v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v10, v34
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_d
2019-02-04 20:08:30 +00:00
invoke-virtual {v7, v3, v10}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildrenSkipCount(Landroid/view/View;I)I
move-result v0
add-int/2addr v0, v10
2019-02-04 20:29:01 +00:00
:goto_e
2019-02-04 20:08:30 +00:00
add-int/lit8 v0, v0, 0x1
move v1, v0
move-object/from16 v6, v28
2019-02-04 20:29:01 +00:00
move/from16 v0, v31
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v3, v32
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v4, v36
2019-02-04 20:08:30 +00:00
const/high16 v2, 0x40000000 # 2.0f
const/4 v5, -0x1
move/from16 v9, p2
const/4 v10, 0x0
goto/16 :goto_1
2019-02-04 20:29:01 +00:00
:cond_16
move/from16 v32, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v36, v4
2019-02-04 20:08:30 +00:00
move/from16 v3, v21
2019-02-04 20:29:01 +00:00
move/from16 v2, v22
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v10, v23
2019-02-04 20:08:30 +00:00
move/from16 v6, v25
const/high16 v1, 0x40000000 # 2.0f
const/high16 v9, -0x80000000
2019-02-04 20:29:01 +00:00
const/16 v30, -0x2
2019-02-04 20:08:30 +00:00
iget v4, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
if-lez v4, :cond_17
2019-02-04 20:08:30 +00:00
invoke-virtual {v7, v11}, Landroidx/appcompat/widget/LinearLayoutCompat;->hasDividerBeforeChildAt(I)Z
move-result v4
2019-02-04 20:29:01 +00:00
if-eqz v4, :cond_17
2019-02-04 20:08:30 +00:00
iget v4, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
iget v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerWidth:I
add-int/2addr v4, v1
iput v4, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
:cond_17
2019-02-04 20:08:30 +00:00
aget v1, v15, v18
const/4 v4, -0x1
2019-02-04 20:29:01 +00:00
if-ne v1, v4, :cond_19
2019-02-04 20:08:30 +00:00
const/4 v1, 0x0
aget v5, v15, v1
2019-02-04 20:29:01 +00:00
if-ne v5, v4, :cond_19
2019-02-04 20:08:30 +00:00
aget v1, v15, v17
2019-02-04 20:29:01 +00:00
if-ne v1, v4, :cond_19
2019-02-04 20:08:30 +00:00
aget v1, v15, v16
2019-02-04 20:29:01 +00:00
if-eq v1, v4, :cond_18
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_18
move v1, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v23, v6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_10
:cond_19
:goto_f
2019-02-04 20:08:30 +00:00
aget v1, v15, v16
const/4 v4, 0x0
aget v5, v15, v4
aget v9, v15, v18
aget v4, v15, v17
invoke-static {v9, v4}, Ljava/lang/Math;->max(II)I
move-result v4
invoke-static {v5, v4}, Ljava/lang/Math;->max(II)I
move-result v4
invoke-static {v1, v4}, Ljava/lang/Math;->max(II)I
move-result v1
aget v4, v28, v16
const/4 v5, 0x0
aget v9, v28, v5
aget v5, v28, v18
2019-02-04 20:29:01 +00:00
move/from16 v23, v6
2019-02-04 20:08:30 +00:00
aget v6, v28, v17
invoke-static {v5, v6}, Ljava/lang/Math;->max(II)I
move-result v5
invoke-static {v9, v5}, Ljava/lang/Math;->max(II)I
move-result v5
invoke-static {v4, v5}, Ljava/lang/Math;->max(II)I
move-result v4
add-int/2addr v1, v4
invoke-static {v3, v1}, Ljava/lang/Math;->max(II)I
2019-02-04 20:29:01 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_10
if-eqz v32, :cond_1f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/high16 v3, -0x80000000
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v12, v3, :cond_1a
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-nez v12, :cond_1f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_1a
const/4 v3, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iput v3, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v3, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_11
if-ge v3, v11, :cond_1e
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v7, v3}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
2019-02-04 20:08:30 +00:00
move-result-object v4
2019-02-04 20:29:01 +00:00
if-nez v4, :cond_1b
2019-02-04 20:08:30 +00:00
iget v4, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
invoke-virtual {v7, v3}, Landroidx/appcompat/widget/LinearLayoutCompat;->measureNullChild(I)I
2019-02-04 20:08:30 +00:00
move-result v5
add-int/2addr v4, v5
iput v4, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
move/from16 v22, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_12
:cond_1b
2019-02-04 20:08:30 +00:00
invoke-virtual {v4}, Landroid/view/View;->getVisibility()I
move-result v5
const/16 v6, 0x8
2019-02-04 20:29:01 +00:00
if-ne v5, v6, :cond_1c
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v7, v4, v3}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildrenSkipCount(Landroid/view/View;I)I
2019-02-04 20:08:30 +00:00
move-result v4
2019-02-04 20:29:01 +00:00
add-int/2addr v3, v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v22, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_12
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_1c
2019-02-04 20:08:30 +00:00
invoke-virtual {v4}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v5
check-cast v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
2019-02-04 20:29:01 +00:00
if-eqz v19, :cond_1d
2019-02-04 20:08:30 +00:00
iget v6, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
iget v9, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
add-int/2addr v9, v14
iget v5, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
add-int/2addr v9, v5
invoke-virtual {v7, v4}, Landroidx/appcompat/widget/LinearLayoutCompat;->getNextLocationOffset(Landroid/view/View;)I
move-result v4
add-int/2addr v9, v4
add-int/2addr v6, v9
iput v6, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
move/from16 v22, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_12
:cond_1d
2019-02-04 20:08:30 +00:00
iget v6, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
add-int v9, v6, v14
2019-02-04 20:29:01 +00:00
move/from16 v22, v1
2019-02-04 20:08:30 +00:00
iget v1, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
add-int/2addr v9, v1
iget v1, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
add-int/2addr v9, v1
invoke-virtual {v7, v4}, Landroidx/appcompat/widget/LinearLayoutCompat;->getNextLocationOffset(Landroid/view/View;)I
move-result v1
add-int/2addr v9, v1
invoke-static {v6, v9}, Ljava/lang/Math;->max(II)I
move-result v1
iput v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
:goto_12
add-int/lit8 v3, v3, 0x1
move/from16 v1, v22
goto :goto_11
:cond_1e
move/from16 v22, v1
2019-02-04 20:08:30 +00:00
goto :goto_13
2019-02-04 20:29:01 +00:00
:cond_1f
move/from16 v22, v1
:goto_13
2019-02-04 20:08:30 +00:00
iget v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingLeft()I
2019-02-04 20:29:01 +00:00
move-result v3
2019-02-04 20:08:30 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingRight()I
2019-02-04 20:29:01 +00:00
move-result v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v3, v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v1, v3
2019-02-04 20:08:30 +00:00
iput v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
iget v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getSuggestedMinimumWidth()I
2019-02-04 20:29:01 +00:00
move-result v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-static {v1, v3}, Ljava/lang/Math;->max(II)I
2019-02-04 20:08:30 +00:00
move-result v1
2019-02-04 20:29:01 +00:00
const/4 v3, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-static {v1, v8, v3}, Landroid/view/View;->resolveSizeAndState(III)I
2019-02-04 20:08:30 +00:00
move-result v1
2019-02-04 20:29:01 +00:00
const v3, 0xffffff
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
and-int/2addr v3, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v4, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int/2addr v3, v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-nez v24, :cond_23
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v3, :cond_20
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
cmpl-float v5, v0, v20
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-lez v5, :cond_20
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_15
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_20
2019-02-04 20:08:30 +00:00
invoke-static {v2, v10}, Ljava/lang/Math;->max(II)I
move-result v0
2019-02-04 20:29:01 +00:00
if-eqz v32, :cond_22
2019-02-04 20:08:30 +00:00
const/high16 v2, 0x40000000 # 2.0f
2019-02-04 20:29:01 +00:00
if-eq v12, v2, :cond_22
2019-02-04 20:08:30 +00:00
const/4 v2, 0x0
2019-02-04 20:29:01 +00:00
:goto_14
if-ge v2, v11, :cond_22
2019-02-04 20:08:30 +00:00
invoke-virtual {v7, v2}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
2019-02-04 20:29:01 +00:00
move-result-object v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v3, :cond_21
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v3}, Landroid/view/View;->getVisibility()I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v6, 0x8
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v5, v6, :cond_21
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result-object v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
check-cast v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v5, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->weight:F
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
cmpl-float v5, v5, v20
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-lez v5, :cond_21
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/high16 v5, 0x40000000 # 2.0f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-static {v14, v5}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v3}, Landroid/view/View;->getMeasuredHeight()I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v9
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-static {v9, v5}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v9
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v3, v6, v9}, Landroid/view/View;->measure(II)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_21
2019-02-04 20:08:30 +00:00
add-int/lit8 v2, v2, 0x1
2019-02-04 20:29:01 +00:00
goto :goto_14
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_22
move/from16 v25, v11
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v2, v22
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v3, p2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto/16 :goto_24
:cond_23
:goto_15
iget v5, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mWeightSum:F
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
cmpl-float v6, v5, v20
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-lez v6, :cond_24
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move v0, v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_24
const/4 v5, -0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
aput v5, v15, v16
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
aput v5, v15, v17
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
aput v5, v15, v18
2019-02-04 20:08:30 +00:00
const/4 v6, 0x0
2019-02-04 20:29:01 +00:00
aput v5, v15, v6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
aput v5, v28, v16
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
aput v5, v28, v17
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
aput v5, v28, v18
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
aput v5, v28, v6
2019-02-04 20:08:30 +00:00
iput v6, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
move v10, v2
2019-02-04 20:29:01 +00:00
move/from16 v9, v23
2019-02-04 20:08:30 +00:00
const/4 v6, -0x1
move v2, v0
const/4 v0, 0x0
2019-02-04 20:29:01 +00:00
:goto_16
if-ge v0, v11, :cond_33
2019-02-04 20:08:30 +00:00
invoke-virtual {v7, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
move-result-object v14
2019-02-04 20:29:01 +00:00
if-eqz v14, :cond_32
2019-02-04 20:08:30 +00:00
invoke-virtual {v14}, Landroid/view/View;->getVisibility()I
2019-02-04 20:29:01 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v4, 0x8
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v5, v4, :cond_32
2019-02-04 20:08:30 +00:00
invoke-virtual {v14}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
2019-02-04 20:29:01 +00:00
move-result-object v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
check-cast v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v4, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->weight:F
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
cmpl-float v23, v4, v20
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-lez v23, :cond_29
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
int-to-float v8, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
mul-float v8, v8, v4
2019-02-04 20:08:30 +00:00
div-float/2addr v8, v2
float-to-int v8, v8
2019-02-04 20:29:01 +00:00
sub-float/2addr v2, v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sub-int/2addr v3, v8
2019-02-04 20:08:30 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingTop()I
2019-02-04 20:29:01 +00:00
move-result v4
2019-02-04 20:08:30 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingBottom()I
2019-02-04 20:29:01 +00:00
move-result v23
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int v4, v4, v23
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v23, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v2, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->topMargin:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v4, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v2, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->bottomMargin:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v4, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v2, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v24, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v25, v11
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v3, p2
2019-02-04 20:08:30 +00:00
const/4 v11, -0x1
2019-02-04 20:29:01 +00:00
invoke-static {v3, v4, v2}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildMeasureSpec(III)I
2019-02-04 20:08:30 +00:00
move-result v2
2019-02-04 20:29:01 +00:00
iget v4, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->width:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-nez v4, :cond_27
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/high16 v4, 0x40000000 # 2.0f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v12, v4, :cond_25
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_18
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_25
if-lez v8, :cond_26
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move v4, v8
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_17
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_26
const/4 v4, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_17
const/high16 v8, 0x40000000 # 2.0f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_19
:cond_27
:goto_18
2019-02-04 20:08:30 +00:00
invoke-virtual {v14}, Landroid/view/View;->getMeasuredWidth()I
2019-02-04 20:29:01 +00:00
move-result v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v4, v8
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-gez v4, :cond_28
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v4, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_28
2019-02-04 20:08:30 +00:00
const/high16 v8, 0x40000000 # 2.0f
2019-02-04 20:29:01 +00:00
:goto_19
invoke-static {v4, v8}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v14, v4, v2}, Landroid/view/View;->measure(II)V
2019-02-04 20:08:30 +00:00
invoke-virtual {v14}, Landroid/view/View;->getMeasuredState()I
move-result v2
2019-02-04 20:29:01 +00:00
const/high16 v4, -0x1000000
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
and-int/2addr v2, v4
2019-02-04 20:08:30 +00:00
invoke-static {v9, v2}, Landroid/view/View;->combineMeasuredStates(II)I
move-result v9
2019-02-04 20:29:01 +00:00
move/from16 v2, v23
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v4, v24
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_1a
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_29
move v4, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v25, v11
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v3, p2
2019-02-04 20:08:30 +00:00
const/4 v11, -0x1
2019-02-04 20:29:01 +00:00
:goto_1a
if-eqz v19, :cond_2a
2019-02-04 20:08:30 +00:00
iget v8, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
invoke-virtual {v14}, Landroid/view/View;->getMeasuredWidth()I
2019-02-04 20:29:01 +00:00
move-result v23
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v11, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int v23, v23, v11
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v11, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int v23, v23, v11
2019-02-04 20:08:30 +00:00
invoke-virtual {v7, v14}, Landroidx/appcompat/widget/LinearLayoutCompat;->getNextLocationOffset(Landroid/view/View;)I
move-result v11
2019-02-04 20:29:01 +00:00
add-int v23, v23, v11
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int v8, v8, v23
2019-02-04 20:08:30 +00:00
iput v8, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
move/from16 v23, v2
2019-02-04 20:08:30 +00:00
const/high16 v2, 0x40000000 # 2.0f
2019-02-04 20:29:01 +00:00
goto :goto_1b
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_2a
2019-02-04 20:08:30 +00:00
iget v8, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
invoke-virtual {v14}, Landroid/view/View;->getMeasuredWidth()I
move-result v11
add-int/2addr v11, v8
2019-02-04 20:29:01 +00:00
move/from16 v23, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v2, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
2019-02-04 20:08:30 +00:00
add-int/2addr v11, v2
2019-02-04 20:29:01 +00:00
iget v2, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
2019-02-04 20:08:30 +00:00
add-int/2addr v11, v2
invoke-virtual {v7, v14}, Landroidx/appcompat/widget/LinearLayoutCompat;->getNextLocationOffset(Landroid/view/View;)I
move-result v2
add-int/2addr v11, v2
invoke-static {v8, v11}, Ljava/lang/Math;->max(II)I
move-result v2
iput v2, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
const/high16 v2, 0x40000000 # 2.0f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_1b
if-eq v13, v2, :cond_2b
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v2, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
2019-02-04 20:08:30 +00:00
const/4 v8, -0x1
2019-02-04 20:29:01 +00:00
if-ne v2, v8, :cond_2b
2019-02-04 20:08:30 +00:00
const/4 v2, 0x1
2019-02-04 20:29:01 +00:00
goto :goto_1c
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_2b
2019-02-04 20:08:30 +00:00
const/4 v2, 0x0
2019-02-04 20:29:01 +00:00
:goto_1c
iget v8, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->topMargin:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v11, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->bottomMargin:I
2019-02-04 20:08:30 +00:00
add-int/2addr v8, v11
invoke-virtual {v14}, Landroid/view/View;->getMeasuredHeight()I
move-result v11
add-int/2addr v11, v8
invoke-static {v6, v11}, Ljava/lang/Math;->max(II)I
move-result v6
2019-02-04 20:29:01 +00:00
if-eqz v2, :cond_2c
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_1d
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_2c
2019-02-04 20:08:30 +00:00
move v8, v11
2019-02-04 20:29:01 +00:00
:goto_1d
2019-02-04 20:08:30 +00:00
invoke-static {v10, v8}, Ljava/lang/Math;->max(II)I
move-result v2
2019-02-04 20:29:01 +00:00
if-eqz v26, :cond_2d
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v8, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
2019-02-04 20:08:30 +00:00
const/4 v10, -0x1
2019-02-04 20:29:01 +00:00
if-ne v8, v10, :cond_2e
2019-02-04 20:08:30 +00:00
const/4 v8, 0x1
2019-02-04 20:29:01 +00:00
goto :goto_1e
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_2d
2019-02-04 20:08:30 +00:00
const/4 v10, -0x1
2019-02-04 20:29:01 +00:00
:cond_2e
2019-02-04 20:08:30 +00:00
const/4 v8, 0x0
2019-02-04 20:29:01 +00:00
:goto_1e
if-eqz v36, :cond_31
2019-02-04 20:08:30 +00:00
invoke-virtual {v14}, Landroid/view/View;->getBaseline()I
move-result v14
2019-02-04 20:29:01 +00:00
if-eq v14, v10, :cond_30
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v10, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->gravity:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-gez v10, :cond_2f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v5, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mGravity:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_1f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_2f
iget v5, v5, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->gravity:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_1f
and-int/lit8 v5, v5, 0x70
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v24, 0x4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
shr-int/lit8 v5, v5, 0x4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
and-int/lit8 v5, v5, -0x2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
shr-int/lit8 v5, v5, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
aget v10, v15, v5
2019-02-04 20:08:30 +00:00
invoke-static {v10, v14}, Ljava/lang/Math;->max(II)I
move-result v10
2019-02-04 20:29:01 +00:00
aput v10, v15, v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
aget v10, v28, v5
2019-02-04 20:08:30 +00:00
sub-int/2addr v11, v14
invoke-static {v10, v11}, Ljava/lang/Math;->max(II)I
move-result v10
2019-02-04 20:29:01 +00:00
aput v10, v28, v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_20
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_30
const/16 v24, 0x4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_20
:cond_31
const/16 v24, 0x4
:goto_20
2019-02-04 20:08:30 +00:00
move v10, v2
move/from16 v26, v8
2019-02-04 20:29:01 +00:00
move/from16 v2, v23
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_21
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_32
move v4, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v25, v11
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v3, p2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v24, 0x4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_21
2019-02-04 20:08:30 +00:00
add-int/lit8 v0, v0, 0x1
2019-02-04 20:29:01 +00:00
move v3, v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v11, v25
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v5, -0x1
2019-02-04 20:08:30 +00:00
move/from16 v8, p1
2019-02-04 20:29:01 +00:00
goto/16 :goto_16
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_33
move/from16 v25, v11
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v3, p2
2019-02-04 20:08:30 +00:00
iget v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingLeft()I
move-result v2
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingRight()I
2019-02-04 20:29:01 +00:00
move-result v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v2, v4
2019-02-04 20:08:30 +00:00
add-int/2addr v0, v2
iput v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
aget v0, v15, v18
const/4 v2, -0x1
2019-02-04 20:29:01 +00:00
if-ne v0, v2, :cond_35
2019-02-04 20:08:30 +00:00
const/4 v0, 0x0
2019-02-04 20:29:01 +00:00
aget v4, v15, v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-ne v4, v2, :cond_35
2019-02-04 20:08:30 +00:00
aget v0, v15, v17
2019-02-04 20:29:01 +00:00
if-ne v0, v2, :cond_35
2019-02-04 20:08:30 +00:00
aget v0, v15, v16
2019-02-04 20:29:01 +00:00
if-eq v0, v2, :cond_34
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_22
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_34
move v0, v6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_23
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_35
:goto_22
2019-02-04 20:08:30 +00:00
aget v0, v15, v16
const/4 v2, 0x0
2019-02-04 20:29:01 +00:00
aget v4, v15, v2
2019-02-04 20:08:30 +00:00
aget v5, v15, v18
aget v8, v15, v17
invoke-static {v5, v8}, Ljava/lang/Math;->max(II)I
move-result v5
2019-02-04 20:29:01 +00:00
invoke-static {v4, v5}, Ljava/lang/Math;->max(II)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-static {v0, v4}, Ljava/lang/Math;->max(II)I
2019-02-04 20:08:30 +00:00
move-result v0
2019-02-04 20:29:01 +00:00
aget v4, v28, v16
2019-02-04 20:08:30 +00:00
aget v2, v28, v2
aget v5, v28, v18
aget v8, v28, v17
invoke-static {v5, v8}, Ljava/lang/Math;->max(II)I
move-result v5
invoke-static {v2, v5}, Ljava/lang/Math;->max(II)I
move-result v2
2019-02-04 20:29:01 +00:00
invoke-static {v4, v2}, Ljava/lang/Math;->max(II)I
2019-02-04 20:08:30 +00:00
move-result v2
add-int/2addr v0, v2
invoke-static {v6, v0}, Ljava/lang/Math;->max(II)I
move-result v0
2019-02-04 20:29:01 +00:00
:goto_23
move v2, v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v23, v9
2019-02-04 20:08:30 +00:00
move v0, v10
2019-02-04 20:29:01 +00:00
:goto_24
if-nez v26, :cond_36
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/high16 v4, 0x40000000 # 2.0f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v13, v4, :cond_36
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_25
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_36
move v0, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_25
2019-02-04 20:08:30 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingTop()I
move-result v2
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingBottom()I
2019-02-04 20:29:01 +00:00
move-result v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v2, v4
2019-02-04 20:08:30 +00:00
add-int/2addr v0, v2
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getSuggestedMinimumHeight()I
move-result v2
invoke-static {v0, v2}, Ljava/lang/Math;->max(II)I
move-result v0
const/high16 v2, -0x1000000
2019-02-04 20:29:01 +00:00
and-int v2, v23, v2
2019-02-04 20:08:30 +00:00
or-int/2addr v1, v2
2019-02-04 20:29:01 +00:00
shl-int/lit8 v2, v23, 0x10
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-static {v0, v3, v2}, Landroid/view/View;->resolveSizeAndState(III)I
2019-02-04 20:08:30 +00:00
move-result v0
invoke-virtual {v7, v1, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;->setMeasuredDimension(II)V
2019-02-04 20:29:01 +00:00
if-eqz v27, :cond_37
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v1, v25
2019-02-04 20:08:30 +00:00
move/from16 v0, p1
invoke-direct {v7, v1, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;->forceUniformHeight(II)V
2019-02-04 20:29:01 +00:00
:cond_37
2019-02-04 20:08:30 +00:00
return-void
.end method
.method measureNullChild(I)I
.locals 0
const/4 p1, 0x0
return p1
.end method
.method measureVertical(II)V
2019-02-04 20:29:01 +00:00
.locals 33
2019-02-04 20:08:30 +00:00
move-object/from16 v7, p0
move/from16 v8, p1
move/from16 v9, p2
const/4 v10, 0x0
iput v10, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildCount()I
move-result v11
invoke-static/range {p1 .. p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
move-result v12
invoke-static/range {p2 .. p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
move-result v13
iget v14, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineAlignedChildIndex:I
iget-boolean v15, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mUseLargestChild:Z
const/16 v16, 0x0
const/16 v17, 0x1
const/4 v0, 0x0
const/4 v1, 0x0
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v6, 0x0
const/16 v18, 0x0
const/16 v19, 0x1
const/16 v20, 0x0
:goto_0
const/16 v10, 0x8
move/from16 v22, v4
if-ge v6, v11, :cond_10
invoke-virtual {v7, v6}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
move-result-object v4
if-nez v4, :cond_0
iget v4, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
invoke-virtual {v7, v6}, Landroidx/appcompat/widget/LinearLayoutCompat;->measureNullChild(I)I
move-result v10
add-int/2addr v4, v10
iput v4, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
move/from16 v23, v11
2019-02-04 20:08:30 +00:00
move/from16 v4, v22
2019-02-04 20:29:01 +00:00
move/from16 v22, v13
move/from16 v32, v6
2019-02-04 20:08:30 +00:00
move v6, v1
move v1, v2
2019-02-04 20:29:01 +00:00
move/from16 v2, v32
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto/16 :goto_a
2019-02-04 20:08:30 +00:00
:cond_0
move/from16 v24, v1
invoke-virtual {v4}, Landroid/view/View;->getVisibility()I
move-result v1
if-eq v1, v10, :cond_f
invoke-virtual {v7, v6}, Landroidx/appcompat/widget/LinearLayoutCompat;->hasDividerBeforeChildAt(I)Z
move-result v1
if-eqz v1, :cond_1
iget v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
iget v10, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerHeight:I
add-int/2addr v1, v10
iput v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
:cond_1
invoke-virtual {v4}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v1
move-object v10, v1
check-cast v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
iget v1, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->weight:F
add-float v25, v0, v1
const/high16 v1, 0x40000000 # 2.0f
if-ne v13, v1, :cond_2
iget v0, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
if-nez v0, :cond_2
iget v0, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->weight:F
cmpl-float v0, v0, v16
if-lez v0, :cond_2
iget v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
iget v1, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->topMargin:I
add-int/2addr v1, v0
move/from16 v26, v2
iget v2, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->bottomMargin:I
add-int/2addr v1, v2
invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I
move-result v0
iput v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
move v0, v3
move-object v3, v4
2019-02-04 20:29:01 +00:00
move/from16 v31, v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v23, v11
2019-02-04 20:08:30 +00:00
move/from16 v8, v24
2019-02-04 20:29:01 +00:00
move/from16 v30, v26
2019-02-04 20:08:30 +00:00
const/16 v18, 0x1
move v11, v6
2019-02-04 20:29:01 +00:00
move/from16 v32, v22
move/from16 v22, v13
move/from16 v13, v32
2019-02-04 20:08:30 +00:00
goto/16 :goto_3
:cond_2
move/from16 v26, v2
iget v0, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
if-nez v0, :cond_3
iget v0, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->weight:F
cmpl-float v0, v0, v16
if-lez v0, :cond_3
const/4 v0, -0x2
iput v0, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
const/4 v2, 0x0
goto :goto_1
:cond_3
const/high16 v2, -0x80000000
:goto_1
2019-02-04 20:29:01 +00:00
const/16 v27, 0x0
2019-02-04 20:08:30 +00:00
cmpl-float v0, v25, v16
if-nez v0, :cond_4
iget v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
move/from16 v28, v0
2019-02-04 20:08:30 +00:00
goto :goto_2
:cond_4
2019-02-04 20:29:01 +00:00
const/16 v28, 0x0
2019-02-04 20:08:30 +00:00
:goto_2
move-object/from16 v0, p0
move/from16 v8, v24
2019-02-04 20:29:01 +00:00
const/high16 v23, 0x40000000 # 2.0f
2019-02-04 20:08:30 +00:00
move-object v1, v4
2019-02-04 20:29:01 +00:00
move/from16 v29, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v30, v26
2019-02-04 20:08:30 +00:00
move v2, v6
move v9, v3
move/from16 v3, p1
2019-02-04 20:29:01 +00:00
move-object/from16 v24, v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v23, v11
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/high16 v11, 0x40000000 # 2.0f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v32, v22
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v22, v13
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v13, v32
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v4, v27
move/from16 v31, v5
2019-02-04 20:08:30 +00:00
move/from16 v5, p2
move v11, v6
2019-02-04 20:29:01 +00:00
move/from16 v6, v28
2019-02-04 20:08:30 +00:00
invoke-virtual/range {v0 .. v6}, Landroidx/appcompat/widget/LinearLayoutCompat;->measureChildBeforeLayout(Landroid/view/View;IIIII)V
2019-02-04 20:29:01 +00:00
move/from16 v0, v29
2019-02-04 20:08:30 +00:00
const/high16 v1, -0x80000000
if-eq v0, v1, :cond_5
iput v0, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
:cond_5
2019-02-04 20:29:01 +00:00
invoke-virtual/range {v24 .. v24}, Landroid/view/View;->getMeasuredHeight()I
2019-02-04 20:08:30 +00:00
move-result v0
iget v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
add-int v2, v1, v0
iget v3, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->topMargin:I
add-int/2addr v2, v3
iget v3, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->bottomMargin:I
add-int/2addr v2, v3
2019-02-04 20:29:01 +00:00
move-object/from16 v3, v24
2019-02-04 20:08:30 +00:00
invoke-virtual {v7, v3}, Landroidx/appcompat/widget/LinearLayoutCompat;->getNextLocationOffset(Landroid/view/View;)I
move-result v4
add-int/2addr v2, v4
invoke-static {v1, v2}, Ljava/lang/Math;->max(II)I
move-result v1
iput v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
if-eqz v15, :cond_6
invoke-static {v0, v9}, Ljava/lang/Math;->max(II)I
move-result v0
goto :goto_3
:cond_6
move v0, v9
:goto_3
if-ltz v14, :cond_7
add-int/lit8 v6, v11, 0x1
if-ne v14, v6, :cond_7
iget v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
iput v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineChildTop:I
:cond_7
if-ge v11, v14, :cond_9
iget v1, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->weight:F
cmpl-float v1, v1, v16
if-gtz v1, :cond_8
goto :goto_4
:cond_8
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "A child of LinearLayout with index less than mBaselineAlignedChildIndex has weight > 0, which won\'t work. Either remove the weight, or don\'t set mBaselineAlignedChildIndex."
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
:cond_9
:goto_4
const/high16 v1, 0x40000000 # 2.0f
if-eq v12, v1, :cond_a
iget v1, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->width:I
const/4 v2, -0x1
if-ne v1, v2, :cond_a
const/4 v1, 0x1
const/16 v20, 0x1
goto :goto_5
:cond_a
const/4 v1, 0x0
:goto_5
iget v2, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
iget v4, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
add-int/2addr v2, v4
invoke-virtual {v3}, Landroid/view/View;->getMeasuredWidth()I
move-result v4
add-int/2addr v4, v2
2019-02-04 20:29:01 +00:00
move/from16 v5, v30
2019-02-04 20:08:30 +00:00
invoke-static {v5, v4}, Ljava/lang/Math;->max(II)I
move-result v5
invoke-virtual {v3}, Landroid/view/View;->getMeasuredState()I
move-result v6
invoke-static {v8, v6}, Landroid/view/View;->combineMeasuredStates(II)I
move-result v6
if-eqz v19, :cond_b
iget v8, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->width:I
const/4 v9, -0x1
if-ne v8, v9, :cond_b
const/16 v19, 0x1
goto :goto_6
:cond_b
const/16 v19, 0x0
:goto_6
iget v8, v10, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->weight:F
cmpl-float v8, v8, v16
if-lez v8, :cond_d
if-eqz v1, :cond_c
goto :goto_7
:cond_c
move v2, v4
:goto_7
invoke-static {v13, v2}, Ljava/lang/Math;->max(II)I
move-result v4
move v13, v4
2019-02-04 20:29:01 +00:00
move/from16 v1, v31
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_9
2019-02-04 20:08:30 +00:00
:cond_d
if-eqz v1, :cond_e
2019-02-04 20:29:01 +00:00
goto :goto_8
2019-02-04 20:08:30 +00:00
:cond_e
move v2, v4
2019-02-04 20:29:01 +00:00
:goto_8
move/from16 v1, v31
2019-02-04 20:08:30 +00:00
invoke-static {v1, v2}, Ljava/lang/Math;->max(II)I
move-result v1
2019-02-04 20:29:01 +00:00
goto :goto_9
2019-02-04 20:08:30 +00:00
:cond_f
move v9, v3
move-object v3, v4
move v1, v5
2019-02-04 20:29:01 +00:00
move/from16 v23, v11
2019-02-04 20:08:30 +00:00
move/from16 v8, v24
move v5, v2
move v11, v6
2019-02-04 20:29:01 +00:00
move/from16 v32, v22
move/from16 v22, v13
move/from16 v13, v32
2019-02-04 20:08:30 +00:00
move/from16 v25, v0
move v6, v8
move v0, v9
2019-02-04 20:29:01 +00:00
:goto_9
2019-02-04 20:08:30 +00:00
invoke-virtual {v7, v3, v11}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildrenSkipCount(Landroid/view/View;I)I
move-result v2
add-int/2addr v2, v11
move v3, v0
move v4, v13
move/from16 v0, v25
2019-02-04 20:29:01 +00:00
move/from16 v32, v5
2019-02-04 20:08:30 +00:00
move v5, v1
2019-02-04 20:29:01 +00:00
move/from16 v1, v32
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_a
2019-02-04 20:08:30 +00:00
add-int/lit8 v2, v2, 0x1
2019-02-04 20:29:01 +00:00
move/from16 v13, v22
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v11, v23
2019-02-04 20:08:30 +00:00
move/from16 v8, p1
move/from16 v9, p2
2019-02-04 20:29:01 +00:00
move/from16 v32, v2
2019-02-04 20:08:30 +00:00
move v2, v1
move v1, v6
2019-02-04 20:29:01 +00:00
move/from16 v6, v32
2019-02-04 20:08:30 +00:00
goto/16 :goto_0
:cond_10
move v8, v1
move v9, v3
move v1, v5
2019-02-04 20:29:01 +00:00
move/from16 v23, v11
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move v5, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v32, v22
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v22, v13
move/from16 v13, v32
2019-02-04 20:08:30 +00:00
iget v2, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
if-lez v2, :cond_11
2019-02-04 20:29:01 +00:00
move/from16 v2, v23
2019-02-04 20:08:30 +00:00
invoke-virtual {v7, v2}, Landroidx/appcompat/widget/LinearLayoutCompat;->hasDividerBeforeChildAt(I)Z
move-result v3
if-eqz v3, :cond_12
iget v3, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
iget v4, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerHeight:I
add-int/2addr v3, v4
iput v3, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
goto :goto_b
2019-02-04 20:08:30 +00:00
:cond_11
2019-02-04 20:29:01 +00:00
move/from16 v2, v23
2019-02-04 20:08:30 +00:00
:cond_12
2019-02-04 20:29:01 +00:00
:goto_b
2019-02-04 20:08:30 +00:00
if-eqz v15, :cond_16
2019-02-04 20:29:01 +00:00
move/from16 v3, v22
2019-02-04 20:08:30 +00:00
const/high16 v4, -0x80000000
if-eq v3, v4, :cond_13
if-nez v3, :cond_17
:cond_13
const/4 v4, 0x0
iput v4, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
const/4 v4, 0x0
2019-02-04 20:29:01 +00:00
:goto_c
2019-02-04 20:08:30 +00:00
if-ge v4, v2, :cond_17
invoke-virtual {v7, v4}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
move-result-object v6
if-nez v6, :cond_14
iget v6, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
invoke-virtual {v7, v4}, Landroidx/appcompat/widget/LinearLayoutCompat;->measureNullChild(I)I
move-result v11
add-int/2addr v6, v11
iput v6, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:29:01 +00:00
goto :goto_d
2019-02-04 20:08:30 +00:00
:cond_14
invoke-virtual {v6}, Landroid/view/View;->getVisibility()I
move-result v11
if-ne v11, v10, :cond_15
invoke-virtual {v7, v6, v4}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildrenSkipCount(Landroid/view/View;I)I
move-result v6
add-int/2addr v4, v6
2019-02-04 20:29:01 +00:00
goto :goto_d
2019-02-04 20:08:30 +00:00
:cond_15
invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v11
check-cast v11, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
iget v14, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
add-int v21, v14, v9
iget v10, v11, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->topMargin:I
add-int v21, v21, v10
iget v10, v11, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->bottomMargin:I
add-int v21, v21, v10
invoke-virtual {v7, v6}, Landroidx/appcompat/widget/LinearLayoutCompat;->getNextLocationOffset(Landroid/view/View;)I
move-result v6
add-int v6, v21, v6
invoke-static {v14, v6}, Ljava/lang/Math;->max(II)I
move-result v6
2019-02-04 20:29:01 +00:00
iput v6, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_d
2019-02-04 20:08:30 +00:00
add-int/lit8 v4, v4, 0x1
const/16 v10, 0x8
2019-02-04 20:29:01 +00:00
goto :goto_c
2019-02-04 20:08:30 +00:00
:cond_16
2019-02-04 20:29:01 +00:00
move/from16 v3, v22
2019-02-04 20:08:30 +00:00
:cond_17
iget v4, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingTop()I
move-result v6
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingBottom()I
move-result v10
add-int/2addr v6, v10
add-int/2addr v4, v6
iput v4, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
iget v4, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getSuggestedMinimumHeight()I
move-result v6
invoke-static {v4, v6}, Ljava/lang/Math;->max(II)I
move-result v4
move v10, v9
move/from16 v6, p2
const/4 v9, 0x0
invoke-static {v4, v6, v9}, Landroid/view/View;->resolveSizeAndState(III)I
move-result v4
const v9, 0xffffff
and-int/2addr v9, v4
iget v11, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
sub-int/2addr v9, v11
if-nez v18, :cond_1b
if-eqz v9, :cond_18
cmpl-float v11, v0, v16
if-lez v11, :cond_18
2019-02-04 20:29:01 +00:00
goto :goto_f
2019-02-04 20:08:30 +00:00
:cond_18
invoke-static {v1, v13}, Ljava/lang/Math;->max(II)I
move-result v0
if-eqz v15, :cond_1a
const/high16 v1, 0x40000000 # 2.0f
if-eq v3, v1, :cond_1a
const/4 v1, 0x0
2019-02-04 20:29:01 +00:00
:goto_e
2019-02-04 20:08:30 +00:00
if-ge v1, v2, :cond_1a
invoke-virtual {v7, v1}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
move-result-object v3
if-eqz v3, :cond_19
invoke-virtual {v3}, Landroid/view/View;->getVisibility()I
move-result v9
const/16 v11, 0x8
if-eq v9, v11, :cond_19
invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v9
check-cast v9, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
iget v9, v9, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->weight:F
cmpl-float v9, v9, v16
if-lez v9, :cond_19
invoke-virtual {v3}, Landroid/view/View;->getMeasuredWidth()I
move-result v9
const/high16 v11, 0x40000000 # 2.0f
invoke-static {v9, v11}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v9
invoke-static {v10, v11}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v13
invoke-virtual {v3, v9, v13}, Landroid/view/View;->measure(II)V
:cond_19
add-int/lit8 v1, v1, 0x1
2019-02-04 20:29:01 +00:00
goto :goto_e
2019-02-04 20:08:30 +00:00
:cond_1a
move v1, v8
move/from16 v11, p1
2019-02-04 20:29:01 +00:00
goto/16 :goto_18
2019-02-04 20:08:30 +00:00
:cond_1b
2019-02-04 20:29:01 +00:00
:goto_f
2019-02-04 20:08:30 +00:00
iget v10, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mWeightSum:F
2019-02-04 20:29:01 +00:00
cmpl-float v11, v10, v16
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-lez v11, :cond_1c
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move v0, v10
2019-02-04 20:08:30 +00:00
:cond_1c
const/4 v10, 0x0
iput v10, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
move v11, v0
const/4 v0, 0x0
2019-02-04 20:29:01 +00:00
move/from16 v32, v8
2019-02-04 20:08:30 +00:00
move v8, v1
2019-02-04 20:29:01 +00:00
move/from16 v1, v32
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_10
2019-02-04 20:08:30 +00:00
if-ge v0, v2, :cond_27
invoke-virtual {v7, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getVirtualChildAt(I)Landroid/view/View;
move-result-object v13
invoke-virtual {v13}, Landroid/view/View;->getVisibility()I
move-result v14
const/16 v15, 0x8
if-eq v14, v15, :cond_26
invoke-virtual {v13}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v14
check-cast v14, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;
iget v10, v14, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->weight:F
cmpl-float v18, v10, v16
if-lez v18, :cond_21
int-to-float v15, v9
mul-float v15, v15, v10
div-float/2addr v15, v11
float-to-int v15, v15
sub-float/2addr v11, v10
sub-int/2addr v9, v15
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingLeft()I
move-result v10
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingRight()I
move-result v18
add-int v10, v10, v18
2019-02-04 20:29:01 +00:00
move/from16 v18, v9
2019-02-04 20:08:30 +00:00
iget v9, v14, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
add-int/2addr v10, v9
iget v9, v14, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
add-int/2addr v10, v9
iget v9, v14, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->width:I
2019-02-04 20:29:01 +00:00
move/from16 v21, v11
2019-02-04 20:08:30 +00:00
move/from16 v11, p1
invoke-static {v11, v10, v9}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildMeasureSpec(III)I
move-result v9
iget v10, v14, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->height:I
if-nez v10, :cond_1f
const/high16 v10, 0x40000000 # 2.0f
if-eq v3, v10, :cond_1d
2019-02-04 20:29:01 +00:00
goto :goto_11
2019-02-04 20:08:30 +00:00
:cond_1d
if-lez v15, :cond_1e
2019-02-04 20:29:01 +00:00
const/high16 v10, 0x40000000 # 2.0f
goto :goto_12
2019-02-04 20:08:30 +00:00
:cond_1e
const/high16 v10, 0x40000000 # 2.0f
const/4 v15, 0x0
2019-02-04 20:29:01 +00:00
goto :goto_12
2019-02-04 20:08:30 +00:00
:cond_1f
2019-02-04 20:29:01 +00:00
:goto_11
2019-02-04 20:08:30 +00:00
invoke-virtual {v13}, Landroid/view/View;->getMeasuredHeight()I
move-result v10
add-int/2addr v10, v15
if-gez v10, :cond_20
const/4 v10, 0x0
:cond_20
move v15, v10
const/high16 v10, 0x40000000 # 2.0f
2019-02-04 20:29:01 +00:00
:goto_12
2019-02-04 20:08:30 +00:00
invoke-static {v15, v10}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v15
invoke-virtual {v13, v9, v15}, Landroid/view/View;->measure(II)V
invoke-virtual {v13}, Landroid/view/View;->getMeasuredState()I
move-result v9
and-int/lit16 v9, v9, -0x100
invoke-static {v1, v9}, Landroid/view/View;->combineMeasuredStates(II)I
move-result v1
2019-02-04 20:29:01 +00:00
goto :goto_13
2019-02-04 20:08:30 +00:00
:cond_21
move v10, v11
move/from16 v11, p1
2019-02-04 20:29:01 +00:00
move/from16 v18, v9
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v21, v10
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_13
iget v9, v14, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->leftMargin:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v10, v14, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->rightMargin:I
add-int/2addr v9, v10
2019-02-04 20:08:30 +00:00
invoke-virtual {v13}, Landroid/view/View;->getMeasuredWidth()I
2019-02-04 20:29:01 +00:00
move-result v10
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v10, v9
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-static {v5, v10}, Ljava/lang/Math;->max(II)I
2019-02-04 20:08:30 +00:00
move-result v5
2019-02-04 20:29:01 +00:00
const/high16 v15, 0x40000000 # 2.0f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v12, v15, :cond_22
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v15, v14, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->width:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v23, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v1, -0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-ne v15, v1, :cond_23
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v15, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_14
2019-02-04 20:08:30 +00:00
:cond_22
2019-02-04 20:29:01 +00:00
move/from16 v23, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v1, -0x1
2019-02-04 20:08:30 +00:00
:cond_23
2019-02-04 20:29:01 +00:00
const/4 v15, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_14
if-eqz v15, :cond_24
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_15
2019-02-04 20:08:30 +00:00
:cond_24
2019-02-04 20:29:01 +00:00
move v9, v10
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_15
invoke-static {v8, v9}, Ljava/lang/Math;->max(II)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v8
2019-02-04 20:08:30 +00:00
if-eqz v19, :cond_25
2019-02-04 20:29:01 +00:00
iget v9, v14, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->width:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-ne v9, v1, :cond_25
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v9, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_16
2019-02-04 20:08:30 +00:00
:cond_25
2019-02-04 20:29:01 +00:00
const/4 v9, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_16
iget v10, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:08:30 +00:00
invoke-virtual {v13}, Landroid/view/View;->getMeasuredHeight()I
2019-02-04 20:29:01 +00:00
move-result v15
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v15, v10
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v1, v14, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->topMargin:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v15, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v1, v14, Landroidx/appcompat/widget/LinearLayoutCompat$LayoutParams;->bottomMargin:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v15, v1
2019-02-04 20:08:30 +00:00
invoke-virtual {v7, v13}, Landroidx/appcompat/widget/LinearLayoutCompat;->getNextLocationOffset(Landroid/view/View;)I
2019-02-04 20:29:01 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v15, v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-static {v10, v15}, Ljava/lang/Math;->max(II)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iput v1, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v19, v9
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v9, v18
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v1, v23
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_17
2019-02-04 20:08:30 +00:00
:cond_26
move v10, v11
move/from16 v11, p1
2019-02-04 20:29:01 +00:00
move/from16 v21, v10
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_17
add-int/lit8 v0, v0, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v11, v21
2019-02-04 20:08:30 +00:00
const/4 v10, 0x0
2019-02-04 20:29:01 +00:00
goto/16 :goto_10
2019-02-04 20:08:30 +00:00
:cond_27
move/from16 v11, p1
iget v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingTop()I
move-result v3
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingBottom()I
move-result v9
add-int/2addr v3, v9
add-int/2addr v0, v3
iput v0, v7, Landroidx/appcompat/widget/LinearLayoutCompat;->mTotalLength:I
move v0, v8
2019-02-04 20:29:01 +00:00
:goto_18
2019-02-04 20:08:30 +00:00
if-nez v19, :cond_28
const/high16 v3, 0x40000000 # 2.0f
if-eq v12, v3, :cond_28
2019-02-04 20:29:01 +00:00
goto :goto_19
2019-02-04 20:08:30 +00:00
:cond_28
move v0, v5
2019-02-04 20:29:01 +00:00
:goto_19
2019-02-04 20:08:30 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingLeft()I
move-result v3
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getPaddingRight()I
move-result v5
add-int/2addr v3, v5
add-int/2addr v0, v3
invoke-virtual/range {p0 .. p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getSuggestedMinimumWidth()I
move-result v3
invoke-static {v0, v3}, Ljava/lang/Math;->max(II)I
move-result v0
invoke-static {v0, v11, v1}, Landroid/view/View;->resolveSizeAndState(III)I
move-result v0
invoke-virtual {v7, v0, v4}, Landroidx/appcompat/widget/LinearLayoutCompat;->setMeasuredDimension(II)V
if-eqz v20, :cond_29
invoke-direct {v7, v2, v6}, Landroidx/appcompat/widget/LinearLayoutCompat;->forceUniformWidth(II)V
:cond_29
return-void
.end method
.method protected onDraw(Landroid/graphics/Canvas;)V
.locals 2
iget-object v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDivider:Landroid/graphics/drawable/Drawable;
if-nez v0, :cond_0
return-void
:cond_0
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mOrientation:I
const/4 v1, 0x1
if-ne v0, v1, :cond_1
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/LinearLayoutCompat;->drawDividersVertical(Landroid/graphics/Canvas;)V
return-void
:cond_1
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/LinearLayoutCompat;->drawDividersHorizontal(Landroid/graphics/Canvas;)V
return-void
.end method
.method public onInitializeAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V
.locals 1
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onInitializeAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V
const-class v0, Landroidx/appcompat/widget/LinearLayoutCompat;
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityEvent;->setClassName(Ljava/lang/CharSequence;)V
return-void
.end method
.method public onInitializeAccessibilityNodeInfo(Landroid/view/accessibility/AccessibilityNodeInfo;)V
.locals 1
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onInitializeAccessibilityNodeInfo(Landroid/view/accessibility/AccessibilityNodeInfo;)V
const-class v0, Landroidx/appcompat/widget/LinearLayoutCompat;
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityNodeInfo;->setClassName(Ljava/lang/CharSequence;)V
return-void
.end method
.method protected onLayout(ZIIII)V
.locals 1
iget p1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mOrientation:I
const/4 v0, 0x1
if-ne p1, v0, :cond_0
invoke-virtual {p0, p2, p3, p4, p5}, Landroidx/appcompat/widget/LinearLayoutCompat;->layoutVertical(IIII)V
return-void
:cond_0
invoke-virtual {p0, p2, p3, p4, p5}, Landroidx/appcompat/widget/LinearLayoutCompat;->layoutHorizontal(IIII)V
return-void
.end method
.method protected onMeasure(II)V
.locals 2
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mOrientation:I
const/4 v1, 0x1
if-ne v0, v1, :cond_0
invoke-virtual {p0, p1, p2}, Landroidx/appcompat/widget/LinearLayoutCompat;->measureVertical(II)V
return-void
:cond_0
invoke-virtual {p0, p1, p2}, Landroidx/appcompat/widget/LinearLayoutCompat;->measureHorizontal(II)V
return-void
.end method
.method public setBaselineAligned(Z)V
.locals 0
iput-boolean p1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineAligned:Z
return-void
.end method
.method public setBaselineAlignedChildIndex(I)V
.locals 2
if-ltz p1, :cond_0
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildCount()I
move-result v0
if-ge p1, v0, :cond_0
iput p1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mBaselineAlignedChildIndex:I
return-void
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "base aligned child index out of range (0, "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->getChildCount()I
move-result v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ")"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public setDividerDrawable(Landroid/graphics/drawable/Drawable;)V
.locals 2
iget-object v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDivider:Landroid/graphics/drawable/Drawable;
if-ne p1, v0, :cond_0
return-void
:cond_0
iput-object p1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDivider:Landroid/graphics/drawable/Drawable;
const/4 v0, 0x0
if-eqz p1, :cond_1
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I
move-result v1
iput v1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerWidth:I
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I
move-result v1
iput v1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerHeight:I
goto :goto_0
:cond_1
iput v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerWidth:I
iput v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerHeight:I
:goto_0
if-nez p1, :cond_2
const/4 v0, 0x1
:cond_2
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/LinearLayoutCompat;->setWillNotDraw(Z)V
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->requestLayout()V
return-void
.end method
.method public setDividerPadding(I)V
.locals 0
iput p1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mDividerPadding:I
return-void
.end method
.method public setGravity(I)V
.locals 1
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mGravity:I
if-eq v0, p1, :cond_2
const v0, 0x800007
and-int/2addr v0, p1
if-nez v0, :cond_0
const v0, 0x800003
or-int/2addr p1, v0
:cond_0
and-int/lit8 v0, p1, 0x70
if-nez v0, :cond_1
or-int/lit8 p1, p1, 0x30
:cond_1
iput p1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mGravity:I
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->requestLayout()V
:cond_2
return-void
.end method
.method public setHorizontalGravity(I)V
.locals 2
const v0, 0x800007
and-int/2addr p1, v0
iget v1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mGravity:I
and-int/2addr v0, v1
if-eq v0, p1, :cond_0
2019-02-04 20:29:01 +00:00
const v0, -0x800008
2019-02-04 20:08:30 +00:00
and-int/2addr v0, v1
or-int/2addr p1, v0
iput p1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mGravity:I
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->requestLayout()V
:cond_0
return-void
.end method
.method public setMeasureWithLargestChildEnabled(Z)V
.locals 0
iput-boolean p1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mUseLargestChild:Z
return-void
.end method
.method public setOrientation(I)V
.locals 1
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mOrientation:I
if-eq v0, p1, :cond_0
iput p1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mOrientation:I
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->requestLayout()V
:cond_0
return-void
.end method
.method public setShowDividers(I)V
.locals 1
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mShowDividers:I
if-eq p1, v0, :cond_0
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->requestLayout()V
:cond_0
iput p1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mShowDividers:I
return-void
.end method
.method public setVerticalGravity(I)V
2019-02-04 20:29:01 +00:00
.locals 2
2019-02-04 20:08:30 +00:00
and-int/lit8 p1, p1, 0x70
iget v0, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mGravity:I
2019-02-04 20:29:01 +00:00
and-int/lit8 v1, v0, 0x70
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v1, p1, :cond_0
2019-02-04 20:08:30 +00:00
and-int/lit8 v0, v0, -0x71
or-int/2addr p1, v0
iput p1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mGravity:I
invoke-virtual {p0}, Landroidx/appcompat/widget/LinearLayoutCompat;->requestLayout()V
:cond_0
return-void
.end method
.method public setWeightSum(F)V
.locals 1
const/4 v0, 0x0
invoke-static {v0, p1}, Ljava/lang/Math;->max(FF)F
move-result p1
iput p1, p0, Landroidx/appcompat/widget/LinearLayoutCompat;->mWeightSum:F
return-void
.end method
.method public shouldDelayChildPressedState()Z
.locals 1
const/4 v0, 0x0
return v0
.end method