267 lines
7.1 KiB
Smali
267 lines
7.1 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 static final COLLAPSIBLE_FLAGS:I = 0xa
|
||
|
|
|
||
|
|
.field static final FLAG_QUICK_RETURN:I = 0x5
|
||
|
|
|
||
|
|
.field 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 scrollFlags:I
|
||
|
|
|
||
|
|
.field scrollInterpolator:Landroid/view/animation/Interpolator;
|
||
|
|
|
||
|
|
|
||
|
|
# direct methods
|
||
|
|
.method public constructor <init>(II)V
|
||
|
|
.locals 0
|
||
|
|
|
||
|
|
.line 1114
|
||
|
|
invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V
|
||
|
|
|
||
|
|
const/4 p1, 0x1
|
||
|
|
|
||
|
|
.line 1099
|
||
|
|
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 1118
|
||
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V
|
||
|
|
|
||
|
|
const/4 p1, 0x1
|
||
|
|
|
||
|
|
.line 1099
|
||
|
|
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 2
|
||
|
|
|
||
|
|
.line 1103
|
||
|
|
invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
||
|
|
|
||
|
|
const/4 v0, 0x1
|
||
|
|
|
||
|
|
.line 1099
|
||
|
|
iput v0, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
|
||
|
|
|
||
|
|
.line 1104
|
||
|
|
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 1105
|
||
|
|
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 1106
|
||
|
|
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 v0
|
||
|
|
|
||
|
|
if-eqz v0, :cond_0
|
||
|
|
|
||
|
|
.line 1107
|
||
|
|
sget v0, Lcom/google/android/material/R$styleable;->AppBarLayout_Layout_layout_scrollInterpolator:I
|
||
|
|
|
||
|
|
invoke-virtual {p2, v0, v1}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
||
|
|
|
||
|
|
move-result v0
|
||
|
|
|
||
|
|
.line 1108
|
||
|
|
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 1110
|
||
|
|
: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 1122
|
||
|
|
invoke-direct {p0, p1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
|
||
|
|
|
||
|
|
const/4 p1, 0x1
|
||
|
|
|
||
|
|
.line 1099
|
||
|
|
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 1126
|
||
|
|
invoke-direct {p0, p1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
|
||
|
|
|
||
|
|
const/4 p1, 0x1
|
||
|
|
|
||
|
|
.line 1099
|
||
|
|
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
|
||
|
|
|
||
|
|
.line 1132
|
||
|
|
invoke-direct {p0, p1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/widget/LinearLayout$LayoutParams;)V
|
||
|
|
|
||
|
|
const/4 p1, 0x1
|
||
|
|
|
||
|
|
.line 1099
|
||
|
|
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
|
||
|
|
|
||
|
|
.line 1138
|
||
|
|
invoke-direct {p0, p1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/widget/LinearLayout$LayoutParams;)V
|
||
|
|
|
||
|
|
const/4 v0, 0x1
|
||
|
|
|
||
|
|
.line 1099
|
||
|
|
iput v0, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollFlags:I
|
||
|
|
|
||
|
|
.line 1139
|
||
|
|
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 1140
|
||
|
|
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 1166
|
||
|
|
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 1188
|
||
|
|
iget-object v0, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollInterpolator:Landroid/view/animation/Interpolator;
|
||
|
|
|
||
|
|
return-object v0
|
||
|
|
.end method
|
||
|
|
|
||
|
|
.method isCollapsible()Z
|
||
|
|
.locals 3
|
||
|
|
|
||
|
|
.line 1193
|
||
|
|
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 1155
|
||
|
|
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 1177
|
||
|
|
iput-object p1, p0, Lcom/google/android/material/appbar/AppBarLayout$LayoutParams;->scrollInterpolator:Landroid/view/animation/Interpolator;
|
||
|
|
|
||
|
|
return-void
|
||
|
|
.end method
|