RefreshLayout$4.smali

.class Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$4;
.super Landroid/view/animation/Animation;


# instance fields
.field final synthetic a:Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;


# direct methods
.method constructor <init>(Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;)V
    .registers 2

    iput-object p1, p0, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$4;->a:Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;

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

    return-void
.end method


# virtual methods
.method protected applyTransformation(FLandroid/view/animation/Transformation;)V
    .registers 6

    iget-object v0, p0, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$4;->a:Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;

    invoke-static {v0}, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;->f(Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;)Landroid/view/View;

    move-result-object v0

    if-nez v0, :cond_9

    :goto_8
    return-void

    :cond_9
    sget-object v0, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$6;->a:[I

    iget-object v1, p0, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$4;->a:Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;

    invoke-static {v1}, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;->g(Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;)Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$RefreshStyle;

    move-result-object v1

    invoke-virtual {v1}, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$RefreshStyle;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_42

    iget-object v0, p0, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$4;->a:Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$4;->a:Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;

    invoke-static {v2}, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;->f(Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/View;->getTop()I

    move-result v2

    int-to-float v2, v2

    invoke-static {v0, v1, v2, p1}, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;->a(Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;FFF)V

    goto :goto_8

    :pswitch_2c
    iget-object v0, p0, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$4;->a:Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;

    iget-object v1, p0, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$4;->a:Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;

    invoke-static {v1}, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;->h(Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;)F

    move-result v1

    iget-object v2, p0, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$4;->a:Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;

    iget-object v2, v2, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;->d:Landroid/view/View;

    invoke-virtual {v2}, Landroid/view/View;->getTop()I

    move-result v2

    int-to-float v2, v2

    invoke-static {v0, v1, v2, p1}, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;->a(Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;FFF)V

    goto :goto_8

    nop

    :pswitch_data_42
    .packed-switch 0x1
        :pswitch_2c
    .end packed-switch
.end method