.class Lcom/afollestad/materialdialogs/internal/MDRootLayout$2; .super Landroid/support/v7/widget/RecyclerView$OnScrollListener; .source "MDRootLayout.java" # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/afollestad/materialdialogs/internal/MDRootLayout;->a(Landroid/view/ViewGroup;ZZ)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic a:Landroid/view/ViewGroup; .field final synthetic b:Z .field final synthetic c:Z .field final synthetic d:Lcom/afollestad/materialdialogs/internal/MDRootLayout; # direct methods .method constructor (Lcom/afollestad/materialdialogs/internal/MDRootLayout;Landroid/view/ViewGroup;ZZ)V .locals 0 .prologue .line 559 iput-object p1, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$2;->d:Lcom/afollestad/materialdialogs/internal/MDRootLayout; iput-object p2, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$2;->a:Landroid/view/ViewGroup; iput-boolean p3, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$2;->b:Z iput-boolean p4, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$2;->c:Z invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView$OnScrollListener;->()V return-void .end method # virtual methods .method public onScrolled(Landroid/support/v7/widget/RecyclerView;II)V .locals 6 .prologue const/4 v0, 0x0 .line 562 invoke-super {p0, p1, p2, p3}, Landroid/support/v7/widget/RecyclerView$OnScrollListener;->onScrolled(Landroid/support/v7/widget/RecyclerView;II)V .line 564 iget-object v1, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$2;->d:Lcom/afollestad/materialdialogs/internal/MDRootLayout; invoke-static {v1}, Lcom/afollestad/materialdialogs/internal/MDRootLayout;->a(Lcom/afollestad/materialdialogs/internal/MDRootLayout;)[Lcom/afollestad/materialdialogs/internal/MDButton; move-result-object v2 array-length v3, v2 move v1, v0 :goto_0 if-ge v1, v3, :cond_0 aget-object v4, v2, v1 .line 565 if-eqz v4, :cond_1 invoke-virtual {v4}, Lcom/afollestad/materialdialogs/internal/MDButton;->getVisibility()I move-result v4 const/16 v5, 0x8 if-eq v4, v5, :cond_1 .line 566 const/4 v0, 0x1 .line 570 :cond_0 iget-object v1, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$2;->d:Lcom/afollestad/materialdialogs/internal/MDRootLayout; iget-object v2, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$2;->a:Landroid/view/ViewGroup; iget-boolean v3, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$2;->b:Z iget-boolean v4, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$2;->c:Z invoke-static {v1, v2, v3, v4, v0}, Lcom/afollestad/materialdialogs/internal/MDRootLayout;->a(Lcom/afollestad/materialdialogs/internal/MDRootLayout;Landroid/view/ViewGroup;ZZZ)V .line 571 iget-object v0, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$2;->d:Lcom/afollestad/materialdialogs/internal/MDRootLayout; invoke-virtual {v0}, Lcom/afollestad/materialdialogs/internal/MDRootLayout;->invalidate()V .line 572 return-void .line 564 :cond_1 add-int/lit8 v1, v1, 0x1 goto :goto_0 .end method