a.smali

.class final Lcom/scwang/smartrefresh/layout/c/a;
.super Ljava/lang/Object;
.source "DesignUtil.java"

# interfaces
.implements Lcom/google/android/material/appbar/AppBarLayout$b;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/scwang/smartrefresh/layout/c/b;->a(Landroid/view/View;Lcom/scwang/smartrefresh/layout/a/i;Lcom/scwang/smartrefresh/layout/b/a;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/scwang/smartrefresh/layout/b/a;


# direct methods
.method constructor <init>(Lcom/scwang/smartrefresh/layout/b/a;)V
    .registers 2

    .line 1
    iput-object p1, p0, Lcom/scwang/smartrefresh/layout/c/a;->a:Lcom/scwang/smartrefresh/layout/b/a;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/google/android/material/appbar/AppBarLayout;I)V
    .registers 7

    .line 1
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/c/a;->a:Lcom/scwang/smartrefresh/layout/b/a;

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-ltz p2, :cond_8

    const/4 v3, 0x1

    goto :goto_9

    :cond_8
    const/4 v3, 0x0

    .line 2
    :goto_9
    invoke-virtual {p1}, Lcom/google/android/material/appbar/AppBarLayout;->getTotalScrollRange()I

    move-result p1

    add-int/2addr p1, p2

    if-gtz p1, :cond_11

    goto :goto_12

    :cond_11
    const/4 v1, 0x0

    .line 3
    :goto_12
    invoke-interface {v0, v3, v1}, Lcom/scwang/smartrefresh/layout/b/a;->a(ZZ)V

    return-void
.end method