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

75 lines
1.7 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public Landroidx/viewpager/widget/ViewPager$LayoutParams;
2019-02-04 20:05:16 +00:00
.super Landroid/view/ViewGroup$LayoutParams;
2019-02-04 20:29:01 +00:00
.source "ViewPager.java"
2019-02-04 20:05:16 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2019-02-04 20:08:30 +00:00
value = Landroidx/viewpager/widget/ViewPager;
2019-02-04 20:05:16 +00:00
.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
2019-02-04 20:08:30 +00:00
iput v0, p0, Landroidx/viewpager/widget/ViewPager$LayoutParams;->widthFactor:F
2019-02-04 20:05:16 +00:00
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
2019-02-04 20:08:30 +00:00
.locals 1
2019-02-04 20:05:16 +00:00
invoke-direct {p0, p1, p2}, Landroid/view/ViewGroup$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
2019-02-04 20:08:30 +00:00
const/4 v0, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
iput v0, p0, Landroidx/viewpager/widget/ViewPager$LayoutParams;->widthFactor:F
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
sget-object v0, Landroidx/viewpager/widget/ViewPager;->LAYOUT_ATTRS:[I
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {p1, p2, v0}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object p1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 p2, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/16 v0, 0x30
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {p1, p2, v0}, Landroid/content/res/TypedArray;->getInteger(II)I
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result p2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
iput p2, p0, Landroidx/viewpager/widget/ViewPager$LayoutParams;->gravity:I
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
2019-02-04 20:05:16 +00:00
return-void
.end method