194 lines
4.5 KiB
Smali
194 lines
4.5 KiB
Smali
.class public Landroid/support/design/widget/AppBarLayout$a;
|
|
.super Landroid/widget/LinearLayout$LayoutParams;
|
|
.source "AppBarLayout.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroid/support/design/widget/AppBarLayout;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field a:I
|
|
|
|
.field b:Landroid/view/animation/Interpolator;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(II)V
|
|
.locals 0
|
|
|
|
.line 694
|
|
invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 677
|
|
iput p1, p0, Landroid/support/design/widget/AppBarLayout$a;->a:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 2
|
|
|
|
.line 681
|
|
invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 677
|
|
iput v0, p0, Landroid/support/design/widget/AppBarLayout$a;->a:I
|
|
|
|
.line 682
|
|
sget-object v0, Landroid/support/design/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 683
|
|
sget v0, Landroid/support/design/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, Landroid/support/design/widget/AppBarLayout$a;->a:I
|
|
|
|
.line 684
|
|
sget v0, Landroid/support/design/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 685
|
|
sget v0, Landroid/support/design/R$styleable;->AppBarLayout_Layout_layout_scrollInterpolator:I
|
|
|
|
invoke-virtual {p2, v0, v1}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result v0
|
|
|
|
.line 687
|
|
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, Landroid/support/design/widget/AppBarLayout$a;->b:Landroid/view/animation/Interpolator;
|
|
|
|
.line 690
|
|
: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 702
|
|
invoke-direct {p0, p1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 677
|
|
iput p1, p0, Landroid/support/design/widget/AppBarLayout$a;->a:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
|
|
.locals 0
|
|
|
|
.line 706
|
|
invoke-direct {p0, p1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 677
|
|
iput p1, p0, Landroid/support/design/widget/AppBarLayout$a;->a:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/widget/LinearLayout$LayoutParams;)V
|
|
.locals 0
|
|
|
|
.line 712
|
|
invoke-direct {p0, p1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/widget/LinearLayout$LayoutParams;)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 677
|
|
iput p1, p0, Landroid/support/design/widget/AppBarLayout$a;->a:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()I
|
|
.locals 1
|
|
|
|
.line 747
|
|
iget v0, p0, Landroid/support/design/widget/AppBarLayout$a;->a:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public a(I)V
|
|
.locals 0
|
|
|
|
.line 735
|
|
iput p1, p0, Landroid/support/design/widget/AppBarLayout$a;->a:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b()Landroid/view/animation/Interpolator;
|
|
.locals 1
|
|
|
|
.line 771
|
|
iget-object v0, p0, Landroid/support/design/widget/AppBarLayout$a;->b:Landroid/view/animation/Interpolator;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method c()Z
|
|
.locals 2
|
|
|
|
.line 778
|
|
iget v0, p0, Landroid/support/design/widget/AppBarLayout$a;->a:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
and-int/2addr v0, v1
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget v0, p0, Landroid/support/design/widget/AppBarLayout$a;->a:I
|
|
|
|
and-int/lit8 v0, v0, 0xa
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
return v1
|
|
.end method
|