apkfuckery/com.discord/smali/androidx/viewpager/widget/ViewPager$LayoutParams.smali

75 lines
1.8 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public Landroidx/viewpager/widget/ViewPager$LayoutParams;
.super Landroid/view/ViewGroup$LayoutParams;
.source "ViewPager.java"
# 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
2019-12-06 03:29:40 +00:00
.field public childIndex:I
2019-07-24 11:27:29 +00:00
.field public gravity:I
.field public isDecor:Z
2019-12-06 03:29:40 +00:00
.field public needsMeasure:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public position:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public widthFactor:F
2019-07-24 11:27:29 +00:00
# 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