RefreshLayout$3.smali

.class Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$3;
.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$3;->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$3;->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$3;->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_4a

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

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

    iget v1, v1, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;->c:F

    iget-object v2, p0, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$3;->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_2f
    iget-object v0, p0, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$3;->a:Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;

    iget v0, v0, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;->c:F

    iget-object v1, p0, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$3;->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

    add-float/2addr v0, v1

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

    iget-object v2, p0, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout$3;->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 {v1, v0, v2, p1}, Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;->a(Lcom/kwad/sdk/contentalliance/refreshview/RefreshLayout;FFF)V

    goto :goto_8

    nop

    :pswitch_data_4a
    .packed-switch 0x1
        :pswitch_2f
    .end packed-switch
.end method