.class Lcom/afollestad/materialdialogs/internal/MDRootLayout$3; .super Ljava/lang/Object; .source "MDRootLayout.java" # interfaces .implements Landroid/view/ViewTreeObserver$OnScrollChangedListener; # 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 578 iput-object p1, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->d:Lcom/afollestad/materialdialogs/internal/MDRootLayout; iput-object p2, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->a:Landroid/view/ViewGroup; iput-boolean p3, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->b:Z iput-boolean p4, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->c:Z invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onScrollChanged()V .locals 6 .prologue const/4 v0, 0x0 .line 581 .line 582 iget-object v1, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->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_2 aget-object v4, v2, v1 .line 583 if-eqz v4, :cond_0 invoke-virtual {v4}, Lcom/afollestad/materialdialogs/internal/MDButton;->getVisibility()I move-result v4 const/16 v5, 0x8 if-eq v4, v5, :cond_0 .line 584 const/4 v0, 0x1 move v1, v0 .line 588 :goto_1 iget-object v0, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->a:Landroid/view/ViewGroup; instance-of v0, v0, Landroid/webkit/WebView; if-eqz v0, :cond_1 .line 589 iget-object v2, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->d:Lcom/afollestad/materialdialogs/internal/MDRootLayout; iget-object v0, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->a:Landroid/view/ViewGroup; check-cast v0, Landroid/webkit/WebView; iget-boolean v3, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->b:Z iget-boolean v4, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->c:Z invoke-static {v2, v0, v3, v4, v1}, Lcom/afollestad/materialdialogs/internal/MDRootLayout;->a(Lcom/afollestad/materialdialogs/internal/MDRootLayout;Landroid/webkit/WebView;ZZZ)V .line 593 :goto_2 iget-object v0, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->d:Lcom/afollestad/materialdialogs/internal/MDRootLayout; invoke-virtual {v0}, Lcom/afollestad/materialdialogs/internal/MDRootLayout;->invalidate()V .line 594 return-void .line 582 :cond_0 add-int/lit8 v1, v1, 0x1 goto :goto_0 .line 591 :cond_1 iget-object v0, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->d:Lcom/afollestad/materialdialogs/internal/MDRootLayout; iget-object v2, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->a:Landroid/view/ViewGroup; iget-boolean v3, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->b:Z iget-boolean v4, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$3;->c:Z invoke-static {v0, v2, v3, v4, v1}, Lcom/afollestad/materialdialogs/internal/MDRootLayout;->a(Lcom/afollestad/materialdialogs/internal/MDRootLayout;Landroid/view/ViewGroup;ZZZ)V goto :goto_2 :cond_2 move v1, v0 goto :goto_1 .end method