584 lines
		
	
	
		
			15 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			584 lines
		
	
	
		
			15 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Landroidx/constraintlayout/widget/Placeholder;
 | |
| .super Landroid/view/View;
 | |
| .source "Placeholder.java"
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public a:I
 | |
| 
 | |
| .field public b:Landroid/view/View;
 | |
| 
 | |
| .field public c:I
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Landroid/content/Context;)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0, p1}, Landroid/view/View;-><init>(Landroid/content/Context;)V
 | |
| 
 | |
|     const/4 p1, -0x1
 | |
| 
 | |
|     .line 2
 | |
|     iput p1, p0, Landroidx/constraintlayout/widget/Placeholder;->a:I
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 3
 | |
|     iput-object p1, p0, Landroidx/constraintlayout/widget/Placeholder;->b:Landroid/view/View;
 | |
| 
 | |
|     const/4 v0, 0x4
 | |
| 
 | |
|     .line 4
 | |
|     iput v0, p0, Landroidx/constraintlayout/widget/Placeholder;->c:I
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0, p1}, Landroidx/constraintlayout/widget/Placeholder;->a(Landroid/util/AttributeSet;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 6
 | |
|     invoke-direct {p0, p1, p2}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
| 
 | |
|     const/4 p1, -0x1
 | |
| 
 | |
|     .line 7
 | |
|     iput p1, p0, Landroidx/constraintlayout/widget/Placeholder;->a:I
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 8
 | |
|     iput-object p1, p0, Landroidx/constraintlayout/widget/Placeholder;->b:Landroid/view/View;
 | |
| 
 | |
|     const/4 p1, 0x4
 | |
| 
 | |
|     .line 9
 | |
|     iput p1, p0, Landroidx/constraintlayout/widget/Placeholder;->c:I
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {p0, p2}, Landroidx/constraintlayout/widget/Placeholder;->a(Landroid/util/AttributeSet;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 11
 | |
|     invoke-direct {p0, p1, p2, p3}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
 | |
| 
 | |
|     const/4 p1, -0x1
 | |
| 
 | |
|     .line 12
 | |
|     iput p1, p0, Landroidx/constraintlayout/widget/Placeholder;->a:I
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 13
 | |
|     iput-object p1, p0, Landroidx/constraintlayout/widget/Placeholder;->b:Landroid/view/View;
 | |
| 
 | |
|     const/4 p1, 0x4
 | |
| 
 | |
|     .line 14
 | |
|     iput p1, p0, Landroidx/constraintlayout/widget/Placeholder;->c:I
 | |
| 
 | |
|     .line 15
 | |
|     invoke-virtual {p0, p2}, Landroidx/constraintlayout/widget/Placeholder;->a(Landroid/util/AttributeSet;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 16
 | |
|     invoke-direct {p0, p1, p2, p3}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
 | |
| 
 | |
|     const/4 p1, -0x1
 | |
| 
 | |
|     .line 17
 | |
|     iput p1, p0, Landroidx/constraintlayout/widget/Placeholder;->a:I
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 18
 | |
|     iput-object p1, p0, Landroidx/constraintlayout/widget/Placeholder;->b:Landroid/view/View;
 | |
| 
 | |
|     const/4 p1, 0x4
 | |
| 
 | |
|     .line 19
 | |
|     iput p1, p0, Landroidx/constraintlayout/widget/Placeholder;->c:I
 | |
| 
 | |
|     .line 20
 | |
|     invoke-virtual {p0, p2}, Landroidx/constraintlayout/widget/Placeholder;->a(Landroid/util/AttributeSet;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public final a(Landroid/util/AttributeSet;)V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Landroidx/constraintlayout/widget/Placeholder;->c:I
 | |
| 
 | |
|     invoke-super {p0, v0}, Landroid/view/View;->setVisibility(I)V
 | |
| 
 | |
|     const/4 v0, -0x1
 | |
| 
 | |
|     .line 2
 | |
|     iput v0, p0, Landroidx/constraintlayout/widget/Placeholder;->a:I
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     sget-object v1, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_placeholder:[I
 | |
| 
 | |
|     invoke-virtual {v0, p1, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p1}, Landroid/content/res/TypedArray;->getIndexCount()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v1, v0, :cond_2
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p1, v1}, Landroid/content/res/TypedArray;->getIndex(I)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     .line 6
 | |
|     sget v3, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_placeholder_content:I
 | |
| 
 | |
|     if-ne v2, v3, :cond_0
 | |
| 
 | |
|     .line 7
 | |
|     iget v3, p0, Landroidx/constraintlayout/widget/Placeholder;->a:I
 | |
| 
 | |
|     invoke-virtual {p1, v2, v3}, Landroid/content/res/TypedArray;->getResourceId(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, p0, Landroidx/constraintlayout/widget/Placeholder;->a:I
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 8
 | |
|     :cond_0
 | |
|     sget v3, Landroidx/constraintlayout/widget/R$styleable;->ConstraintLayout_placeholder_placeholder_emptyVisibility:I
 | |
| 
 | |
|     if-ne v2, v3, :cond_1
 | |
| 
 | |
|     .line 9
 | |
|     iget v3, p0, Landroidx/constraintlayout/widget/Placeholder;->c:I
 | |
| 
 | |
|     invoke-virtual {p1, v2, v3}, Landroid/content/res/TypedArray;->getInt(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, p0, Landroidx/constraintlayout/widget/Placeholder;->c:I
 | |
| 
 | |
|     :cond_1
 | |
|     :goto_1
 | |
|     add-int/lit8 v1, v1, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_2
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public b(Landroidx/constraintlayout/widget/ConstraintLayout;)V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     iget-object p1, p0, Landroidx/constraintlayout/widget/Placeholder;->b:Landroid/view/View;
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     check-cast p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Landroidx/constraintlayout/widget/Placeholder;->b:Landroid/view/View;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->n0:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->l1(I)V
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v1, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->n0:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
 | |
| 
 | |
|     invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->E()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     sget-object v2, Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;->FIXED:Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
 | |
| 
 | |
|     if-eq v1, v2, :cond_1
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v1, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->n0:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
 | |
| 
 | |
|     iget-object v3, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->n0:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
 | |
| 
 | |
|     invoke-virtual {v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->e0()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     invoke-virtual {v1, v3}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->m1(I)V
 | |
| 
 | |
|     .line 8
 | |
|     :cond_1
 | |
|     iget-object v1, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->n0:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
 | |
| 
 | |
|     invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->b0()Landroidx/constraintlayout/solver/widgets/ConstraintWidget$DimensionBehaviour;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     if-eq v1, v2, :cond_2
 | |
| 
 | |
|     .line 9
 | |
|     iget-object p1, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->n0:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
 | |
| 
 | |
|     iget-object v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->n0:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
 | |
| 
 | |
|     invoke-virtual {v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->A()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-virtual {p1, v1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->K0(I)V
 | |
| 
 | |
|     .line 10
 | |
|     :cond_2
 | |
|     iget-object p1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->n0:Landroidx/constraintlayout/solver/widgets/ConstraintWidget;
 | |
| 
 | |
|     const/16 v0, 0x8
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->l1(I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public c(Landroidx/constraintlayout/widget/ConstraintLayout;)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Landroidx/constraintlayout/widget/Placeholder;->a:I
 | |
| 
 | |
|     const/4 v1, -0x1
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Landroid/view/View;->isInEditMode()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget v0, p0, Landroidx/constraintlayout/widget/Placeholder;->c:I
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Landroid/view/View;->setVisibility(I)V
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iget v0, p0, Landroidx/constraintlayout/widget/Placeholder;->a:I
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     iput-object p1, p0, Landroidx/constraintlayout/widget/Placeholder;->b:Landroid/view/View;
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     check-cast p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 6
 | |
|     iput-boolean v0, p1, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->b0:Z
 | |
| 
 | |
|     .line 7
 | |
|     iget-object p1, p0, Landroidx/constraintlayout/widget/Placeholder;->b:Landroid/view/View;
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p0, v0}, Landroid/view/View;->setVisibility(I)V
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public getContent()Landroid/view/View;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/constraintlayout/widget/Placeholder;->b:Landroid/view/View;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getEmptyVisibility()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Landroidx/constraintlayout/widget/Placeholder;->c:I
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public onDraw(Landroid/graphics/Canvas;)V
 | |
|     .locals 7
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/view/View;->isInEditMode()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/16 v0, 0xdf
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p1, v0, v0, v0}, Landroid/graphics/Canvas;->drawRGB(III)V
 | |
| 
 | |
|     .line 3
 | |
|     new-instance v0, Landroid/graphics/Paint;
 | |
| 
 | |
|     invoke-direct {v0}, Landroid/graphics/Paint;-><init>()V
 | |
| 
 | |
|     const/16 v1, 0xff
 | |
| 
 | |
|     const/16 v2, 0xd2
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v0, v1, v2, v2, v2}, Landroid/graphics/Paint;->setARGB(IIII)V
 | |
| 
 | |
|     .line 5
 | |
|     sget-object v1, Landroid/graphics/Paint$Align;->CENTER:Landroid/graphics/Paint$Align;
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V
 | |
| 
 | |
|     .line 6
 | |
|     sget-object v1, Landroid/graphics/Typeface;->DEFAULT:Landroid/graphics/Typeface;
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     invoke-static {v1, v2}, Landroid/graphics/Typeface;->create(Landroid/graphics/Typeface;I)Landroid/graphics/Typeface;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;
 | |
| 
 | |
|     .line 7
 | |
|     new-instance v1, Landroid/graphics/Rect;
 | |
| 
 | |
|     invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p1, v1}, Landroid/graphics/Canvas;->getClipBounds(Landroid/graphics/Rect;)Z
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {v1}, Landroid/graphics/Rect;->height()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     int-to-float v3, v3
 | |
| 
 | |
|     invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setTextSize(F)V
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {v1}, Landroid/graphics/Rect;->height()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {v1}, Landroid/graphics/Rect;->width()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     .line 12
 | |
|     sget-object v5, Landroid/graphics/Paint$Align;->LEFT:Landroid/graphics/Paint$Align;
 | |
| 
 | |
|     invoke-virtual {v0, v5}, Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V
 | |
| 
 | |
|     const-string v5, "?"
 | |
| 
 | |
|     const/4 v6, 0x1
 | |
| 
 | |
|     .line 13
 | |
|     invoke-virtual {v0, v5, v2, v6, v1}, Landroid/graphics/Paint;->getTextBounds(Ljava/lang/String;IILandroid/graphics/Rect;)V
 | |
| 
 | |
|     int-to-float v2, v4
 | |
| 
 | |
|     const/high16 v4, 0x40000000    # 2.0f
 | |
| 
 | |
|     div-float/2addr v2, v4
 | |
| 
 | |
|     .line 14
 | |
|     invoke-virtual {v1}, Landroid/graphics/Rect;->width()I
 | |
| 
 | |
|     move-result v6
 | |
| 
 | |
|     int-to-float v6, v6
 | |
| 
 | |
|     div-float/2addr v6, v4
 | |
| 
 | |
|     sub-float/2addr v2, v6
 | |
| 
 | |
|     iget v6, v1, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     int-to-float v6, v6
 | |
| 
 | |
|     sub-float/2addr v2, v6
 | |
| 
 | |
|     int-to-float v3, v3
 | |
| 
 | |
|     div-float/2addr v3, v4
 | |
| 
 | |
|     .line 15
 | |
|     invoke-virtual {v1}, Landroid/graphics/Rect;->height()I
 | |
| 
 | |
|     move-result v6
 | |
| 
 | |
|     int-to-float v6, v6
 | |
| 
 | |
|     div-float/2addr v6, v4
 | |
| 
 | |
|     add-float/2addr v6, v3
 | |
| 
 | |
|     iget v1, v1, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     int-to-float v1, v1
 | |
| 
 | |
|     sub-float/2addr v6, v1
 | |
| 
 | |
|     .line 16
 | |
|     invoke-virtual {p1, v5, v2, v6, v0}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setContentId(I)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Landroidx/constraintlayout/widget/Placeholder;->a:I
 | |
| 
 | |
|     if-ne v0, p1, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Landroidx/constraintlayout/widget/Placeholder;->b:Landroid/view/View;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v0, p0, Landroidx/constraintlayout/widget/Placeholder;->b:Landroid/view/View;
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
 | |
| 
 | |
|     .line 6
 | |
|     iput-boolean v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->b0:Z
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 7
 | |
|     iput-object v0, p0, Landroidx/constraintlayout/widget/Placeholder;->b:Landroid/view/View;
 | |
| 
 | |
|     .line 8
 | |
|     :cond_1
 | |
|     iput p1, p0, Landroidx/constraintlayout/widget/Placeholder;->a:I
 | |
| 
 | |
|     const/4 v0, -0x1
 | |
| 
 | |
|     if-eq p1, v0, :cond_2
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {p0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     const/16 v0, 0x8
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V
 | |
| 
 | |
|     :cond_2
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setEmptyVisibility(I)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput p1, p0, Landroidx/constraintlayout/widget/Placeholder;->c:I
 | |
| 
 | |
|     return-void
 | |
| .end method
 |