.class public Lcom/intowow/sdk/SplashViewPager;
.super Landroid/support/v4/view/ViewPager;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/intowow/sdk/SplashViewPager$MyOnPageChangeListener;,
        Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;
    }
.end annotation


# instance fields
.field private a:F

.field private b:F

.field private c:F

.field private d:I

.field private e:I

.field private f:I

.field private final g:Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;

.field private final h:Landroid/graphics/Camera;

.field private i:Landroid/support/v4/view/ViewPager$OnPageChangeListener;

.field private final j:I

.field private k:Z

.field private l:Lcom/intowow/sdk/I2WAdEventDelegate;

.field private m:I

.field private n:I


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/intowow/sdk/I2WAdEventDelegate;)V
    .locals 3

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

    .line 35
    new-instance v0, Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;-><init>(Lcom/intowow/sdk/SplashViewPager;Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;)V

    iput-object v0, p0, Lcom/intowow/sdk/SplashViewPager;->g:Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;

    .line 36
    new-instance v0, Landroid/graphics/Camera;

    invoke-direct {v0}, Landroid/graphics/Camera;-><init>()V

    iput-object v0, p0, Lcom/intowow/sdk/SplashViewPager;->h:Landroid/graphics/Camera;

    const/4 v0, 0x1

    .line 45
    iput-boolean v0, p0, Lcom/intowow/sdk/SplashViewPager;->k:Z

    const/4 v2, -0x1

    .line 135
    iput v2, p0, Lcom/intowow/sdk/SplashViewPager;->m:I

    const/4 v2, 0x0

    .line 181
    iput v2, p0, Lcom/intowow/sdk/SplashViewPager;->n:I

    .line 125
    iput-object p2, p0, Lcom/intowow/sdk/SplashViewPager;->l:Lcom/intowow/sdk/I2WAdEventDelegate;

    .line 126
    invoke-virtual {p0, v0}, Lcom/intowow/sdk/SplashViewPager;->setStaticTransformationsEnabled(Z)V

    .line 127
    invoke-static {p1}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;

    move-result-object p1

    .line 129
    invoke-static {p1}, Landroid/support/v4/view/ViewConfigurationCompat;->getScaledPagingTouchSlop(Landroid/view/ViewConfiguration;)I

    move-result p1

    .line 128
    iput p1, p0, Lcom/intowow/sdk/SplashViewPager;->j:I

    .line 130
    new-instance p1, Lcom/intowow/sdk/SplashViewPager$MyOnPageChangeListener;

    invoke-direct {p1, p0, v1}, Lcom/intowow/sdk/SplashViewPager$MyOnPageChangeListener;-><init>(Lcom/intowow/sdk/SplashViewPager;Lcom/intowow/sdk/SplashViewPager$MyOnPageChangeListener;)V

    invoke-super {p0, p1}, Landroid/support/v4/view/ViewPager;->setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V

    const/high16 p1, 0x43160000    # 150.0f

    .line 131
    iput p1, p0, Lcom/intowow/sdk/SplashViewPager;->a:F

    const/16 p1, 0x190

    .line 132
    iput p1, p0, Lcom/intowow/sdk/SplashViewPager;->d:I

    return-void
.end method

.method static synthetic a(Lcom/intowow/sdk/SplashViewPager;)I
    .locals 0

    .line 181
    iget p0, p0, Lcom/intowow/sdk/SplashViewPager;->n:I

    return p0
.end method

.method private a(I)V
    .locals 1

    const/4 p1, 0x0

    .line 176
    :goto_0
    invoke-virtual {p0}, Lcom/intowow/sdk/SplashViewPager;->getChildCount()I

    move-result v0

    if-lt p1, v0, :cond_0

    return-void

    .line 177
    :cond_0
    invoke-virtual {p0, p1}, Lcom/intowow/sdk/SplashViewPager;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->invalidate()V

    add-int/lit8 p1, p1, 0x1

    goto :goto_0
.end method

.method static synthetic a(Lcom/intowow/sdk/SplashViewPager;F)V
    .locals 0

    .line 32
    iput p1, p0, Lcom/intowow/sdk/SplashViewPager;->c:F

    return-void
.end method

.method static synthetic a(Lcom/intowow/sdk/SplashViewPager;I)V
    .locals 0

    .line 175
    invoke-direct {p0, p1}, Lcom/intowow/sdk/SplashViewPager;->a(I)V

    return-void
.end method

.method static synthetic b(Lcom/intowow/sdk/SplashViewPager;)I
    .locals 0

    .line 33
    iget p0, p0, Lcom/intowow/sdk/SplashViewPager;->d:I

    return p0
.end method

.method static synthetic b(Lcom/intowow/sdk/SplashViewPager;I)V
    .locals 0

    .line 34
    iput p1, p0, Lcom/intowow/sdk/SplashViewPager;->f:I

    return-void
.end method

.method static synthetic c(Lcom/intowow/sdk/SplashViewPager;)I
    .locals 0

    .line 34
    iget p0, p0, Lcom/intowow/sdk/SplashViewPager;->f:I

    return p0
.end method

.method static synthetic c(Lcom/intowow/sdk/SplashViewPager;I)V
    .locals 0

    .line 181
    iput p1, p0, Lcom/intowow/sdk/SplashViewPager;->n:I

    return-void
.end method

.method static synthetic d(Lcom/intowow/sdk/SplashViewPager;)Landroid/support/v4/view/ViewPager$OnPageChangeListener;
    .locals 0

    .line 37
    iget-object p0, p0, Lcom/intowow/sdk/SplashViewPager;->i:Landroid/support/v4/view/ViewPager$OnPageChangeListener;

    return-object p0
.end method


# virtual methods
.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 1

    .line 249
    :try_start_0
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    and-int/lit16 v0, v0, 0xff

    packed-switch v0, :pswitch_data_0

    :pswitch_0
    goto :goto_0

    .line 259
    :pswitch_1
    iget-object v0, p0, Lcom/intowow/sdk/SplashViewPager;->l:Lcom/intowow/sdk/I2WAdEventDelegate;

    invoke-interface {v0}, Lcom/intowow/sdk/I2WAdEventDelegate;->onTouchUp()V

    goto :goto_0

    .line 253
    :pswitch_2
    iget-object v0, p0, Lcom/intowow/sdk/SplashViewPager;->l:Lcom/intowow/sdk/I2WAdEventDelegate;

    invoke-interface {v0}, Lcom/intowow/sdk/I2WAdEventDelegate;->onTouchDown()V

    .line 263
    :goto_0
    invoke-super {p0, p1}, Landroid/support/v4/view/ViewPager;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result p1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return p1

    :catch_0
    const/4 p1, 0x0

    return p1

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_2
        :pswitch_1
        :pswitch_0
        :pswitch_1
        :pswitch_0
        :pswitch_2
        :pswitch_1
    .end packed-switch
.end method

.method protected getChildStaticTransformation(Landroid/view/View;Landroid/view/animation/Transformation;)Z
    .locals 7

    .line 361
    invoke-virtual {p1}, Landroid/view/View;->getWidth()I

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return v1

    .line 364
    :cond_0
    invoke-virtual {p1}, Landroid/view/View;->getLeft()I

    move-result v0

    invoke-virtual {p1}, Landroid/view/View;->getWidth()I

    move-result v2

    div-int/2addr v0, v2

    const/4 v2, 0x1

    if-eqz v0, :cond_1

    .line 366
    invoke-virtual {p0}, Lcom/intowow/sdk/SplashViewPager;->getAdapter()Landroid/support/v4/view/PagerAdapter;

    move-result-object v3

    invoke-virtual {v3}, Landroid/support/v4/view/PagerAdapter;->getCount()I

    move-result v3

    sub-int/2addr v3, v2

    if-eq v0, v3, :cond_1

    const/4 v0, 0x0

    goto :goto_0

    :cond_1
    const/4 v0, 0x1

    .line 367
    :goto_0
    iget-object v3, p0, Lcom/intowow/sdk/SplashViewPager;->g:Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;

    invoke-static {v3}, Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;->b(Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;)Z

    move-result v3

    if-eqz v3, :cond_4

    if-eqz v0, :cond_4

    .line 368
    invoke-virtual {p0}, Lcom/intowow/sdk/SplashViewPager;->getWidth()I

    move-result v0

    div-int/lit8 v0, v0, 0x2

    int-to-float v0, v0

    .line 369
    invoke-virtual {p0}, Lcom/intowow/sdk/SplashViewPager;->getHeight()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    .line 370
    invoke-virtual {p2}, Landroid/view/animation/Transformation;->getMatrix()Landroid/graphics/Matrix;

    move-result-object v3

    invoke-virtual {v3}, Landroid/graphics/Matrix;->reset()V

    .line 371
    iget v3, p0, Lcom/intowow/sdk/SplashViewPager;->a:F

    .line 372
    iget-object v4, p0, Lcom/intowow/sdk/SplashViewPager;->g:Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;

    invoke-static {v4}, Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;->c(Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;)F

    move-result v4

    const/4 v5, 0x0

    cmpl-float v4, v4, v5

    if-lez v4, :cond_2

    .line 373
    iget-object v4, p0, Lcom/intowow/sdk/SplashViewPager;->g:Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;

    invoke-static {v4}, Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;->c(Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;)F

    move-result v4

    const/high16 v6, 0x3f800000    # 1.0f

    .line 372
    invoke-static {v4, v6}, Ljava/lang/Math;->min(FF)F

    move-result v4

    goto :goto_1

    .line 374
    :cond_2
    iget-object v4, p0, Lcom/intowow/sdk/SplashViewPager;->g:Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;

    invoke-static {v4}, Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;->c(Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;)F

    move-result v4

    const/high16 v6, -0x40800000    # -1.0f

    .line 373
    invoke-static {v4, v6}, Ljava/lang/Math;->max(FF)F

    move-result v4

    :goto_1
    mul-float v3, v3, v4

    .line 375
    iget-object v4, p0, Lcom/intowow/sdk/SplashViewPager;->h:Landroid/graphics/Camera;

    invoke-virtual {v4}, Landroid/graphics/Camera;->save()V

    .line 376
    iget-object v4, p0, Lcom/intowow/sdk/SplashViewPager;->h:Landroid/graphics/Camera;

    neg-float v3, v3

    invoke-virtual {v4, v3, v5, v5}, Landroid/graphics/Camera;->translate(FFF)V

    .line 377
    iget-object v3, p0, Lcom/intowow/sdk/SplashViewPager;->h:Landroid/graphics/Camera;

    invoke-virtual {p2}, Landroid/view/animation/Transformation;->getMatrix()Landroid/graphics/Matrix;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/graphics/Camera;->getMatrix(Landroid/graphics/Matrix;)V

    .line 378
    iget-object v3, p0, Lcom/intowow/sdk/SplashViewPager;->h:Landroid/graphics/Camera;

    invoke-virtual {v3}, Landroid/graphics/Camera;->restore()V

    .line 379
    invoke-virtual {p2}, Landroid/view/animation/Transformation;->getMatrix()Landroid/graphics/Matrix;

    move-result-object v3

    neg-float v4, v0

    neg-int v5, v1

    int-to-float v5, v5

    invoke-virtual {v3, v4, v5}, Landroid/graphics/Matrix;->preTranslate(FF)Z

    .line 380
    invoke-virtual {p2}, Landroid/view/animation/Transformation;->getMatrix()Landroid/graphics/Matrix;

    move-result-object p2

    int-to-float v1, v1

    invoke-virtual {p2, v0, v1}, Landroid/graphics/Matrix;->postTranslate(FF)Z

    .line 381
    invoke-virtual {p0}, Lcom/intowow/sdk/SplashViewPager;->getChildCount()I

    move-result p2

    if-ne p2, v2, :cond_3

    .line 382
    invoke-virtual {p0}, Lcom/intowow/sdk/SplashViewPager;->invalidate()V

    goto :goto_2

    .line 384
    :cond_3
    invoke-virtual {p1}, Landroid/view/View;->invalidate()V

    :goto_2
    return v2

    :cond_4
    return v1
.end method

.method public getOverscrollAnimationDuration()I
    .locals 1

    .line 155
    iget v0, p0, Lcom/intowow/sdk/SplashViewPager;->d:I

    return v0
.end method

.method public getOverscrollTranslation()F
    .locals 1

    .line 163
    iget v0, p0, Lcom/intowow/sdk/SplashViewPager;->a:F

    return v0
.end method

.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 3

    .line 221
    iget-boolean v0, p0, Lcom/intowow/sdk/SplashViewPager;->k:Z

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return v1

    .line 225
    :cond_0
    :try_start_0
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    and-int/lit16 v0, v0, 0xff

    if-eqz v0, :cond_2

    const/4 v2, 0x5

    if-eq v0, v2, :cond_1

    goto :goto_0

    .line 233
    :cond_1
    invoke-static {p1}, Landroid/support/v4/view/MotionEventCompat;->getActionIndex(Landroid/view/MotionEvent;)I

    move-result v0

    .line 234
    invoke-static {p1, v0}, Landroid/support/v4/view/MotionEventCompat;->getX(Landroid/view/MotionEvent;I)F

    move-result v2

    .line 235
    iput v2, p0, Lcom/intowow/sdk/SplashViewPager;->b:F

    .line 236
    invoke-static {p1, v0}, Landroid/support/v4/view/MotionEventCompat;->getPointerId(Landroid/view/MotionEvent;I)I

    move-result v0

    iput v0, p0, Lcom/intowow/sdk/SplashViewPager;->e:I

    goto :goto_0

    .line 228
    :cond_2
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    iput v0, p0, Lcom/intowow/sdk/SplashViewPager;->b:F

    .line 229
    invoke-static {p1, v1}, Landroid/support/v4/view/MotionEventCompat;->getPointerId(Landroid/view/MotionEvent;I)I

    move-result v0

    iput v0, p0, Lcom/intowow/sdk/SplashViewPager;->e:I

    .line 240
    :goto_0
    invoke-super {p0, p1}, Landroid/support/v4/view/ViewPager;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result p1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return p1

    :catch_0
    return v1
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 12

    .line 271
    iget-boolean v0, p0, Lcom/intowow/sdk/SplashViewPager;->k:Z

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return v1

    .line 275
    :cond_0
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    const/4 v2, -0x1

    const/4 v3, 0x1

    packed-switch v0, :pswitch_data_0

    :pswitch_0
    goto/16 :goto_1

    .line 337
    :pswitch_1
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    const v2, 0xff00

    and-int/2addr v0, v2

    shr-int/lit8 v0, v0, 0x8

    .line 338
    invoke-static {p1, v0}, Landroid/support/v4/view/MotionEventCompat;->getPointerId(Landroid/view/MotionEvent;I)I

    move-result v2

    .line 340
    iget v4, p0, Lcom/intowow/sdk/SplashViewPager;->e:I

    if-ne v2, v4, :cond_5

    if-nez v0, :cond_1

    const/4 v1, 0x1

    .line 344
    :cond_1
    invoke-virtual {p1, v1}, Landroid/view/MotionEvent;->getX(I)F

    move-result v0

    iput v0, p0, Lcom/intowow/sdk/SplashViewPager;->b:F

    .line 345
    invoke-static {p1, v1}, Landroid/support/v4/view/MotionEventCompat;->getPointerId(Landroid/view/MotionEvent;I)I

    move-result v0

    iput v0, p0, Lcom/intowow/sdk/SplashViewPager;->e:I

    goto/16 :goto_0

    .line 285
    :pswitch_2
    invoke-static {p1}, Landroid/support/v4/view/MotionEventCompat;->getActionIndex(Landroid/view/MotionEvent;)I

    move-result v0

    .line 286
    invoke-static {p1, v0}, Landroid/support/v4/view/MotionEventCompat;->getX(Landroid/view/MotionEvent;I)F

    move-result v1

    .line 287
    iput v1, p0, Lcom/intowow/sdk/SplashViewPager;->b:F

    .line 288
    invoke-static {p1, v0}, Landroid/support/v4/view/MotionEventCompat;->getPointerId(Landroid/view/MotionEvent;I)I

    move-result v0

    iput v0, p0, Lcom/intowow/sdk/SplashViewPager;->e:I

    goto/16 :goto_0

    .line 292
    :pswitch_3
    iget v0, p0, Lcom/intowow/sdk/SplashViewPager;->e:I

    if-eq v0, v2, :cond_4

    .line 295
    iget v0, p0, Lcom/intowow/sdk/SplashViewPager;->e:I

    invoke-static {p1, v0}, Landroid/support/v4/view/MotionEventCompat;->findPointerIndex(Landroid/view/MotionEvent;I)I

    move-result v0

    .line 296
    invoke-static {p1, v0}, Landroid/support/v4/view/MotionEventCompat;->getX(Landroid/view/MotionEvent;I)F

    move-result v0

    .line 297
    iget v2, p0, Lcom/intowow/sdk/SplashViewPager;->b:F

    sub-float/2addr v2, v0

    .line 298
    invoke-virtual {p0}, Lcom/intowow/sdk/SplashViewPager;->getScrollX()I

    move-result v4

    int-to-float v4, v4

    .line 299
    invoke-virtual {p0}, Lcom/intowow/sdk/SplashViewPager;->getWidth()I

    move-result v5

    .line 300
    invoke-virtual {p0}, Lcom/intowow/sdk/SplashViewPager;->getPageMargin()I

    move-result v6

    add-int/2addr v6, v5

    .line 301
    invoke-virtual {p0}, Lcom/intowow/sdk/SplashViewPager;->getAdapter()Landroid/support/v4/view/PagerAdapter;

    move-result-object v7

    invoke-virtual {v7}, Landroid/support/v4/view/PagerAdapter;->getCount()I

    move-result v7

    sub-int/2addr v7, v3

    .line 302
    invoke-virtual {p0}, Lcom/intowow/sdk/SplashViewPager;->getCurrentItem()I

    move-result v8

    add-int/lit8 v9, v8, -0x1

    mul-int v9, v9, v6

    .line 303
    invoke-static {v1, v9}, Ljava/lang/Math;->max(II)I

    move-result v9

    int-to-float v9, v9

    add-int/2addr v8, v3

    .line 305
    invoke-static {v8, v7}, Ljava/lang/Math;->min(II)I

    move-result v8

    mul-int v8, v8, v6

    int-to-float v8, v8

    add-float/2addr v4, v2

    .line 308
    iget v10, p0, Lcom/intowow/sdk/SplashViewPager;->c:F

    const/4 v11, 0x0

    cmpl-float v10, v10, v11

    if-nez v10, :cond_3

    cmpg-float v0, v4, v9

    if-gez v0, :cond_2

    cmpl-float v0, v9, v11

    if-nez v0, :cond_5

    .line 311
    iget v0, p0, Lcom/intowow/sdk/SplashViewPager;->j:I

    int-to-float v0, v0

    add-float/2addr v2, v0

    .line 312
    iget-object v0, p0, Lcom/intowow/sdk/SplashViewPager;->g:Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;

    int-to-float v4, v5

    div-float/2addr v2, v4

    invoke-virtual {v0, v2}, Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;->setPull(F)V

    goto :goto_1

    :cond_2
    cmpl-float v0, v4, v8

    if-lez v0, :cond_5

    mul-int v7, v7, v6

    int-to-float v0, v7

    cmpl-float v0, v8, v0

    if-nez v0, :cond_5

    sub-float/2addr v4, v8

    .line 317
    iget v0, p0, Lcom/intowow/sdk/SplashViewPager;->j:I

    int-to-float v0, v0

    sub-float/2addr v4, v0

    .line 318
    iget-object v0, p0, Lcom/intowow/sdk/SplashViewPager;->g:Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;

    int-to-float v2, v5

    div-float/2addr v4, v2

    invoke-virtual {v0, v4}, Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;->setPull(F)V

    goto :goto_1

    .line 322
    :cond_3
    iput v0, p0, Lcom/intowow/sdk/SplashViewPager;->b:F

    goto :goto_1

    .line 325
    :cond_4
    iget-object v0, p0, Lcom/intowow/sdk/SplashViewPager;->g:Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;

    invoke-static {v0}, Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;->a(Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;)V

    goto :goto_1

    .line 332
    :pswitch_4
    iput v2, p0, Lcom/intowow/sdk/SplashViewPager;->e:I

    .line 333
    iget-object v0, p0, Lcom/intowow/sdk/SplashViewPager;->g:Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;

    invoke-static {v0}, Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;->a(Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;)V

    goto :goto_0

    .line 279
    :pswitch_5
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    iput v0, p0, Lcom/intowow/sdk/SplashViewPager;->b:F

    .line 280
    invoke-static {p1, v1}, Landroid/support/v4/view/MotionEventCompat;->getPointerId(Landroid/view/MotionEvent;I)I

    move-result v0

    iput v0, p0, Lcom/intowow/sdk/SplashViewPager;->e:I

    :goto_0
    const/4 v1, 0x1

    .line 352
    :cond_5
    :goto_1
    iget-object v0, p0, Lcom/intowow/sdk/SplashViewPager;->g:Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;

    invoke-static {v0}, Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;->b(Lcom/intowow/sdk/SplashViewPager$OverscrollEffect;)Z

    move-result v0

    if-eqz v0, :cond_6

    if-nez v1, :cond_6

    return v3

    .line 355
    :cond_6
    invoke-super {p0, p1}, Landroid/support/v4/view/ViewPager;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result p1

    return p1

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_5
        :pswitch_4
        :pswitch_3
        :pswitch_4
        :pswitch_0
        :pswitch_2
        :pswitch_1
    .end packed-switch
.end method

.method public setEnableSwipe(Z)V
    .locals 0

    .line 216
    iput-boolean p1, p0, Lcom/intowow/sdk/SplashViewPager;->k:Z

    return-void
.end method

.method public setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V
    .locals 0

    .line 172
    iput-object p1, p0, Lcom/intowow/sdk/SplashViewPager;->i:Landroid/support/v4/view/ViewPager$OnPageChangeListener;

    return-void
.end method

.method public setOverscrollAnimationDuration(I)V
    .locals 0

    .line 159
    iput p1, p0, Lcom/intowow/sdk/SplashViewPager;->d:I

    return-void
.end method

.method public setOverscrollTranslation(I)V
    .locals 0

    int-to-float p1, p1

    .line 167
    iput p1, p0, Lcom/intowow/sdk/SplashViewPager;->a:F

    return-void
.end method

.method public setSwipeSpeed(I)V
    .locals 4

    .line 139
    :try_start_0
    iget v0, p0, Lcom/intowow/sdk/SplashViewPager;->m:I

    if-ne v0, p1, :cond_0

    return-void

    .line 142
    :cond_0
    iput p1, p0, Lcom/intowow/sdk/SplashViewPager;->m:I

    .line 144
    const-class v0, Landroid/support/v4/view/ViewPager;

    const-string v1, "mScroller"

    invoke-virtual {v0, v1}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v0

    const/4 v1, 0x1

    .line 145
    invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->setAccessible(Z)V

    .line 146
    new-instance v1, Lcom/in2wow/sdk/l/c/d;

    invoke-virtual {p0}, Lcom/intowow/sdk/SplashViewPager;->getContext()Landroid/content/Context;

    move-result-object v2

    .line 147
    new-instance v3, Landroid/view/animation/DecelerateInterpolator;

    invoke-direct {v3}, Landroid/view/animation/DecelerateInterpolator;-><init>()V

    .line 146
    invoke-direct {v1, v2, v3}, Lcom/in2wow/sdk/l/c/d;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V

    .line 148
    invoke-virtual {v1, p1}, Lcom/in2wow/sdk/l/c/d;->a(I)V

    .line 149
    invoke-virtual {v0, p0, v1}, Ljava/lang/reflect/Field;->set(Ljava/lang/Object;Ljava/lang/Object;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method
