.class public Lcom/moji/forum/view/PostViewPager;
.super Landroid/support/v4/view/ViewPager;
.source "PostViewPager.java"


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x0

    .line 13
    invoke-direct {p0, p1, v0}, Lcom/moji/forum/view/PostViewPager;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 0

    .line 17
    invoke-direct {p0, p1, p2}, Landroid/support/v4/view/ViewPager;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method


# virtual methods
.method public canScrollHorizontally(I)Z
    .locals 0

    const/4 p1, 0x0

    return p1
.end method

.method protected onMeasure(II)V
    .locals 1

    .line 22
    invoke-static {}, Lcom/moji/tool/DeviceTool;->c()I

    move-result p2

    invoke-static {}, Lcom/moji/tool/DeviceTool;->d()I

    move-result v0

    sub-int/2addr p2, v0

    const/high16 v0, 0x42ae0000    # 87.0f

    invoke-static {v0}, Lcom/moji/tool/DeviceTool;->a(F)I

    move-result v0

    sub-int/2addr p2, v0

    const/high16 v0, -0x80000000

    invoke-static {p2, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result p2

    .line 23
    invoke-super {p0, p1, p2}, Landroid/support/v4/view/ViewPager;->onMeasure(II)V

    return-void
.end method
