73 lines
1.7 KiB
Smali
73 lines
1.7 KiB
Smali
.class public Landroidx/viewpager/widget/ViewPager$LayoutParams;
|
|
.super Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/viewpager/widget/ViewPager;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "LayoutParams"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field childIndex:I
|
|
|
|
.field public gravity:I
|
|
|
|
.field public isDecor:Z
|
|
|
|
.field needsMeasure:Z
|
|
|
|
.field position:I
|
|
|
|
.field widthFactor:F
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
const/4 v0, -0x1
|
|
|
|
invoke-direct {p0, v0, v0}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Landroidx/viewpager/widget/ViewPager$LayoutParams;->widthFactor:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0, p1, p2}, Landroid/view/ViewGroup$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Landroidx/viewpager/widget/ViewPager$LayoutParams;->widthFactor:F
|
|
|
|
sget-object v0, Landroidx/viewpager/widget/ViewPager;->LAYOUT_ATTRS:[I
|
|
|
|
invoke-virtual {p1, p2, v0}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 p2, 0x0
|
|
|
|
const/16 v0, 0x30
|
|
|
|
invoke-virtual {p1, p2, v0}, Landroid/content/res/TypedArray;->getInteger(II)I
|
|
|
|
move-result p2
|
|
|
|
iput p2, p0, Landroidx/viewpager/widget/ViewPager$LayoutParams;->gravity:I
|
|
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
return-void
|
|
.end method
|