apkfuckery/com.discord/smali/androidx/viewpager/widget/ViewPager$LayoutParams.smali
2019-12-06 04:29:40 +01:00

74 lines
1.8 KiB
Smali

.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
.field public childIndex:I
.field public gravity:I
.field public isDecor:Z
.field public needsMeasure:Z
.field public position:I
.field public 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