584 lines
		
	
	
		
			15 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			584 lines
		
	
	
		
			15 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Lcom/google/android/material/internal/ForegroundLinearLayout;
 | |
| .super Landroidx/appcompat/widget/LinearLayoutCompat;
 | |
| .source "ForegroundLinearLayout.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation build Landroidx/annotation/RestrictTo;
 | |
|     value = {
 | |
|         .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field private foreground:Landroid/graphics/drawable/Drawable;
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public foregroundBoundsChanged:Z
 | |
| 
 | |
| .field private foregroundGravity:I
 | |
| 
 | |
| .field public mForegroundInPadding:Z
 | |
| 
 | |
| .field private final overlayBounds:Landroid/graphics/Rect;
 | |
| 
 | |
| .field private final selfBounds:Landroid/graphics/Rect;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Landroid/content/Context;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0, p1, v0}, Lcom/google/android/material/internal/ForegroundLinearLayout;-><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
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/util/AttributeSet;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0, p1, p2, v0}, Lcom/google/android/material/internal/ForegroundLinearLayout;-><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 8
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/util/AttributeSet;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0, p1, p2, p3}, Landroidx/appcompat/widget/LinearLayoutCompat;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
 | |
| 
 | |
|     .line 4
 | |
|     new-instance v0, Landroid/graphics/Rect;
 | |
| 
 | |
|     invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
 | |
| 
 | |
|     iput-object v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->selfBounds:Landroid/graphics/Rect;
 | |
| 
 | |
|     .line 5
 | |
|     new-instance v0, Landroid/graphics/Rect;
 | |
| 
 | |
|     invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
 | |
| 
 | |
|     iput-object v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->overlayBounds:Landroid/graphics/Rect;
 | |
| 
 | |
|     const/16 v0, 0x77
 | |
| 
 | |
|     .line 6
 | |
|     iput v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foregroundGravity:I
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 7
 | |
|     iput-boolean v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->mForegroundInPadding:Z
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     .line 8
 | |
|     iput-boolean v1, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foregroundBoundsChanged:Z
 | |
| 
 | |
|     .line 9
 | |
|     sget-object v4, Lcom/google/android/material/R$styleable;->ForegroundLinearLayout:[I
 | |
| 
 | |
|     new-array v7, v1, [I
 | |
| 
 | |
|     const/4 v6, 0x0
 | |
| 
 | |
|     move-object v2, p1
 | |
| 
 | |
|     move-object v3, p2
 | |
| 
 | |
|     move v5, p3
 | |
| 
 | |
|     .line 10
 | |
|     invoke-static/range {v2 .. v7}, Lcom/google/android/material/internal/ThemeEnforcement;->obtainStyledAttributes(Landroid/content/Context;Landroid/util/AttributeSet;[III[I)Landroid/content/res/TypedArray;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 11
 | |
|     sget p2, Lcom/google/android/material/R$styleable;->ForegroundLinearLayout_android_foregroundGravity:I
 | |
| 
 | |
|     iget p3, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foregroundGravity:I
 | |
| 
 | |
|     .line 12
 | |
|     invoke-virtual {p1, p2, p3}, Landroid/content/res/TypedArray;->getInt(II)I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     iput p2, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foregroundGravity:I
 | |
| 
 | |
|     .line 13
 | |
|     sget p2, Lcom/google/android/material/R$styleable;->ForegroundLinearLayout_android_foreground:I
 | |
| 
 | |
|     invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     if-eqz p2, :cond_0
 | |
| 
 | |
|     .line 14
 | |
|     invoke-virtual {p0, p2}, Lcom/google/android/material/internal/ForegroundLinearLayout;->setForeground(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 15
 | |
|     :cond_0
 | |
|     sget p2, Lcom/google/android/material/R$styleable;->ForegroundLinearLayout_foregroundInsidePadding:I
 | |
| 
 | |
|     .line 16
 | |
|     invoke-virtual {p1, p2, v0}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     iput-boolean p2, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->mForegroundInPadding:Z
 | |
| 
 | |
|     .line 17
 | |
|     invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public draw(Landroid/graphics/Canvas;)V
 | |
|     .locals 8
 | |
|     .param p1    # Landroid/graphics/Canvas;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Landroid/view/ViewGroup;->draw(Landroid/graphics/Canvas;)V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foreground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     .line 3
 | |
|     iget-boolean v1, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foregroundBoundsChanged:Z
 | |
| 
 | |
|     if-eqz v1, :cond_1
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     .line 4
 | |
|     iput-boolean v1, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foregroundBoundsChanged:Z
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v2, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->selfBounds:Landroid/graphics/Rect;
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v3, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->overlayBounds:Landroid/graphics/Rect;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getRight()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getLeft()I
 | |
| 
 | |
|     move-result v5
 | |
| 
 | |
|     sub-int/2addr v4, v5
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getBottom()I
 | |
| 
 | |
|     move-result v5
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getTop()I
 | |
| 
 | |
|     move-result v6
 | |
| 
 | |
|     sub-int/2addr v5, v6
 | |
| 
 | |
|     .line 9
 | |
|     iget-boolean v6, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->mForegroundInPadding:Z
 | |
| 
 | |
|     if-eqz v6, :cond_0
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {v2, v1, v1, v4, v5}, Landroid/graphics/Rect;->set(IIII)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 11
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingTop()I
 | |
| 
 | |
|     move-result v6
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingRight()I
 | |
| 
 | |
|     move-result v7
 | |
| 
 | |
|     sub-int/2addr v4, v7
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
 | |
| 
 | |
|     move-result v7
 | |
| 
 | |
|     sub-int/2addr v5, v7
 | |
| 
 | |
|     .line 12
 | |
|     invoke-virtual {v2, v1, v6, v4, v5}, Landroid/graphics/Rect;->set(IIII)V
 | |
| 
 | |
|     .line 13
 | |
|     :goto_0
 | |
|     iget v1, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foregroundGravity:I
 | |
| 
 | |
|     .line 14
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     .line 15
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I
 | |
| 
 | |
|     move-result v5
 | |
| 
 | |
|     .line 16
 | |
|     invoke-static {v1, v4, v5, v2, v3}, Landroid/view/Gravity;->apply(IIILandroid/graphics/Rect;Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 17
 | |
|     invoke-virtual {v0, v3}, Landroid/graphics/drawable/Drawable;->setBounds(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 18
 | |
|     :cond_1
 | |
|     invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
 | |
| 
 | |
|     :cond_2
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public drawableHotspotChanged(FF)V
 | |
|     .locals 1
 | |
|     .annotation build Landroid/annotation/TargetApi;
 | |
|         value = 0x15
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation build Landroidx/annotation/RequiresApi;
 | |
|         value = 0x15
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1, p2}, Landroid/view/ViewGroup;->drawableHotspotChanged(FF)V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foreground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v0, p1, p2}, Landroid/graphics/drawable/Drawable;->setHotspot(FF)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public drawableStateChanged()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0}, Landroid/view/ViewGroup;->drawableStateChanged()V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foreground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->isStateful()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foreground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getDrawableState()[I
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public getForeground()Landroid/graphics/drawable/Drawable;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foreground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getForegroundGravity()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foregroundGravity:I
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public jumpDrawablesToCurrentState()V
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/RequiresApi;
 | |
|         value = 0xb
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0}, Landroid/view/ViewGroup;->jumpDrawablesToCurrentState()V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foreground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->jumpToCurrentState()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onLayout(ZIIII)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super/range {p0 .. p5}, Landroidx/appcompat/widget/LinearLayoutCompat;->onLayout(ZIIII)V
 | |
| 
 | |
|     .line 2
 | |
|     iget-boolean p2, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foregroundBoundsChanged:Z
 | |
| 
 | |
|     or-int/2addr p1, p2
 | |
| 
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foregroundBoundsChanged:Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onSizeChanged(IIII)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1, p2, p3, p4}, Landroid/view/ViewGroup;->onSizeChanged(IIII)V
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 2
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foregroundBoundsChanged:Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setForeground(Landroid/graphics/drawable/Drawable;)V
 | |
|     .locals 2
 | |
|     .param p1    # Landroid/graphics/drawable/Drawable;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foreground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eq v0, p1, :cond_4
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foreground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->unscheduleDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iput-object p1, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foreground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->setWillNotDraw(Z)V
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p1, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->isStateful()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getDrawableState()[I
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->setState([I)Z
 | |
| 
 | |
|     .line 9
 | |
|     :cond_1
 | |
|     iget v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foregroundGravity:I
 | |
| 
 | |
|     const/16 v1, 0x77
 | |
| 
 | |
|     if-ne v0, v1, :cond_3
 | |
| 
 | |
|     .line 10
 | |
|     new-instance v0, Landroid/graphics/Rect;
 | |
| 
 | |
|     invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->getPadding(Landroid/graphics/Rect;)Z
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_2
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 12
 | |
|     invoke-virtual {p0, p1}, Landroid/view/ViewGroup;->setWillNotDraw(Z)V
 | |
| 
 | |
|     .line 13
 | |
|     :cond_3
 | |
|     :goto_0
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->requestLayout()V
 | |
| 
 | |
|     .line 14
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->invalidate()V
 | |
| 
 | |
|     :cond_4
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setForegroundGravity(I)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foregroundGravity:I
 | |
| 
 | |
|     if-eq v0, p1, :cond_3
 | |
| 
 | |
|     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
 | |
| 
 | |
|     .line 2
 | |
|     :cond_1
 | |
|     iput p1, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foregroundGravity:I
 | |
| 
 | |
|     const/16 v0, 0x77
 | |
| 
 | |
|     if-ne p1, v0, :cond_2
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p1, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foreground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     .line 4
 | |
|     new-instance p1, Landroid/graphics/Rect;
 | |
| 
 | |
|     invoke-direct {p1}, Landroid/graphics/Rect;-><init>()V
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foreground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->getPadding(Landroid/graphics/Rect;)Z
 | |
| 
 | |
|     .line 6
 | |
|     :cond_2
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->requestLayout()V
 | |
| 
 | |
|     :cond_3
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public verifyDrawable(Landroid/graphics/drawable/Drawable;)Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Landroid/view/ViewGroup;->verifyDrawable(Landroid/graphics/drawable/Drawable;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/internal/ForegroundLinearLayout;->foreground:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-ne p1, v0, :cond_0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_1
 | |
|     :goto_0
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     :goto_1
 | |
|     return p1
 | |
| .end method
 |