275 lines
		
	
	
		
			7.4 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			275 lines
		
	
	
		
			7.4 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
 | |
| .super Landroid/widget/LinearLayout$LayoutParams;
 | |
| .source "AppBarLayout.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/EnclosingClass;
 | |
|     value = Lcom/google/android/material/appbar/AppBarLayout;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x9
 | |
|     name = "LayoutParams"
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Lcom/google/android/material/appbar/AppBarLayout$LayoutParams$ScrollFlags;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # static fields
 | |
| .field public static final COLLAPSIBLE_FLAGS:I = 0xa
 | |
| 
 | |
| .field public static final FLAG_QUICK_RETURN:I = 0x5
 | |
| 
 | |
| .field public static final FLAG_SNAP:I = 0x11
 | |
| 
 | |
| .field public static final SCROLL_FLAG_ENTER_ALWAYS:I = 0x4
 | |
| 
 | |
| .field public static final SCROLL_FLAG_ENTER_ALWAYS_COLLAPSED:I = 0x8
 | |
| 
 | |
| .field public static final SCROLL_FLAG_EXIT_UNTIL_COLLAPSED:I = 0x2
 | |
| 
 | |
| .field public static final SCROLL_FLAG_NO_SCROLL:I = 0x0
 | |
| 
 | |
| .field public static final SCROLL_FLAG_SCROLL:I = 0x1
 | |
| 
 | |
| .field public static final SCROLL_FLAG_SNAP:I = 0x10
 | |
| 
 | |
| .field public static final SCROLL_FLAG_SNAP_MARGINS:I = 0x20
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public scrollFlags:I
 | |
| 
 | |
| .field public scrollInterpolator:Landroid/view/animation/Interpolator;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(II)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 9
 | |
|     invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 10
 | |
|     iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(IIF)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 11
 | |
|     invoke-direct {p0, p1, p2, p3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 12
 | |
|     iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 2
 | |
|     iput v0, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
 | |
| 
 | |
|     .line 3
 | |
|     sget-object v0, Lcom/google/android/material/R$styleable;->AppBarLayout_Layout:[I
 | |
| 
 | |
|     invoke-virtual {p1, p2, v0}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     .line 4
 | |
|     sget v0, Lcom/google/android/material/R$styleable;->AppBarLayout_Layout_layout_scrollFlags:I
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     invoke-virtual {p2, v0, v1}, Landroid/content/res/TypedArray;->getInt(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iput v0, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
 | |
| 
 | |
|     .line 5
 | |
|     sget v0, Lcom/google/android/material/R$styleable;->AppBarLayout_Layout_layout_scrollInterpolator:I
 | |
| 
 | |
|     invoke-virtual {p2, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     if-eqz v2, :cond_0
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p2, v0, v1}, Landroid/content/res/TypedArray;->getResourceId(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 7
 | |
|     invoke-static {p1, v0}, Landroid/view/animation/AnimationUtils;->loadInterpolator(Landroid/content/Context;I)Landroid/view/animation/Interpolator;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     iput-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollInterpolator:Landroid/view/animation/Interpolator;
 | |
| 
 | |
|     .line 8
 | |
|     :cond_0
 | |
|     invoke-virtual {p2}, Landroid/content/res/TypedArray;->recycle()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/view/ViewGroup$LayoutParams;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 13
 | |
|     invoke-direct {p0, p1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 14
 | |
|     iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 15
 | |
|     invoke-direct {p0, p1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 16
 | |
|     iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/widget/LinearLayout$LayoutParams;)V
 | |
|     .locals 0
 | |
|     .annotation build Landroidx/annotation/RequiresApi;
 | |
|         value = 0x13
 | |
|     .end annotation
 | |
| 
 | |
|     .line 17
 | |
|     invoke-direct {p0, p1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/widget/LinearLayout$LayoutParams;)V
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 18
 | |
|     iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;)V
 | |
|     .locals 1
 | |
|     .param p1    # Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/RequiresApi;
 | |
|         value = 0x13
 | |
|     .end annotation
 | |
| 
 | |
|     .line 19
 | |
|     invoke-direct {p0, p1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/widget/LinearLayout$LayoutParams;)V
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 20
 | |
|     iput v0, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
 | |
| 
 | |
|     .line 21
 | |
|     iget v0, p1, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
 | |
| 
 | |
|     iput v0, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
 | |
| 
 | |
|     .line 22
 | |
|     iget-object p1, p1, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollInterpolator:Landroid/view/animation/Interpolator;
 | |
| 
 | |
|     iput-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollInterpolator:Landroid/view/animation/Interpolator;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public getScrollFlags()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getScrollInterpolator()Landroid/view/animation/Interpolator;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollInterpolator:Landroid/view/animation/Interpolator;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public isCollapsible()Z
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
 | |
| 
 | |
|     and-int/lit8 v1, v0, 0x1
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     if-ne v1, v2, :cond_0
 | |
| 
 | |
|     and-int/lit8 v0, v0, 0xa
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v2
 | |
| .end method
 | |
| 
 | |
| .method public setScrollFlags(I)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput p1, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setScrollInterpolator(Landroid/view/animation/Interpolator;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollInterpolator:Landroid/view/animation/Interpolator;
 | |
| 
 | |
|     return-void
 | |
| .end method
 |