Rabbit-R1/original r1/smali/smali_classes2/androidx/viewpager/widget/ViewPager$LayoutParams.smali
2024-05-21 17:08:36 -04:00

79 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 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
.line 3145
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
.line 3149
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
.line 3151
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
.line 3152
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
.line 3153
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
return-void
.end method