185 lines
		
	
	
		
			5.1 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			185 lines
		
	
	
		
			5.1 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public final Lcom/google/android/material/snackbar/Snackbar$SnackbarLayout;
 | |
| .super Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;
 | |
| .source "Snackbar.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation build Landroidx/annotation/RestrictTo;
 | |
|     value = {
 | |
|         .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/EnclosingClass;
 | |
|     value = Lcom/google/android/material/snackbar/Snackbar;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x19
 | |
|     name = "SnackbarLayout"
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Landroid/content/Context;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0, p1}, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;-><init>(Landroid/content/Context;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0, p1, p2}, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public onMeasure(II)V
 | |
|     .locals 5
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onMeasure(II)V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->getChildCount()I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->getPaddingLeft()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     sub-int/2addr p2, v0
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/FrameLayout;->getPaddingRight()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     sub-int/2addr p2, v0
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v0, p1, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     iget v2, v2, Landroid/view/ViewGroup$LayoutParams;->width:I
 | |
| 
 | |
|     const/4 v3, -0x1
 | |
| 
 | |
|     if-ne v2, v3, :cond_0
 | |
| 
 | |
|     const/high16 v2, 0x40000000    # 2.0f
 | |
| 
 | |
|     .line 6
 | |
|     invoke-static {p2, v2}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v1}, Landroid/view/View;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     invoke-static {v4, v2}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v1, v3, v2}, Landroid/view/View;->measure(II)V
 | |
| 
 | |
|     :cond_0
 | |
|     add-int/lit8 v0, v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public bridge synthetic setBackground(Landroid/graphics/drawable/Drawable;)V
 | |
|     .locals 0
 | |
|     .param p1    # Landroid/graphics/drawable/Drawable;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public bridge synthetic setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
|     .locals 0
 | |
|     .param p1    # Landroid/graphics/drawable/Drawable;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public bridge synthetic setBackgroundTintList(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 0
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->setBackgroundTintList(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public bridge synthetic setBackgroundTintMode(Landroid/graphics/PorterDuff$Mode;)V
 | |
|     .locals 0
 | |
|     .param p1    # Landroid/graphics/PorterDuff$Mode;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->setBackgroundTintMode(Landroid/graphics/PorterDuff$Mode;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public bridge synthetic setOnClickListener(Landroid/view/View$OnClickListener;)V
 | |
|     .locals 0
 | |
|     .param p1    # Landroid/view/View$OnClickListener;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 |