.class Lcom/afollestad/materialdialogs/internal/MDRootLayout$1; .super Ljava/lang/Object; .source "MDRootLayout.java" # interfaces .implements Landroid/view/ViewTreeObserver$OnPreDrawListener; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/afollestad/materialdialogs/internal/MDRootLayout;->a(Landroid/view/View;ZZ)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic a:Landroid/view/View; .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/View;ZZ)V .locals 0 .prologue .line 513 iput-object p1, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->d:Lcom/afollestad/materialdialogs/internal/MDRootLayout; iput-object p2, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->a:Landroid/view/View; iput-boolean p3, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->b:Z iput-boolean p4, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->c:Z invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onPreDraw()Z .locals 4 .prologue const/4 v1, 0x0 .line 516 iget-object v0, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->a:Landroid/view/View; invoke-virtual {v0}, Landroid/view/View;->getMeasuredHeight()I move-result v0 if-eqz v0, :cond_2 .line 517 iget-object v0, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->a:Landroid/view/View; check-cast v0, Landroid/webkit/WebView; invoke-static {v0}, Lcom/afollestad/materialdialogs/internal/MDRootLayout;->a(Landroid/webkit/WebView;)Z move-result v0 if-nez v0, :cond_3 .line 518 iget-boolean v0, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->b:Z if-eqz v0, :cond_0 .line 519 iget-object v0, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->d:Lcom/afollestad/materialdialogs/internal/MDRootLayout; invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/internal/MDRootLayout;->a(Lcom/afollestad/materialdialogs/internal/MDRootLayout;Z)Z .line 521 :cond_0 iget-boolean v0, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->c:Z if-eqz v0, :cond_1 .line 522 iget-object v0, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->d:Lcom/afollestad/materialdialogs/internal/MDRootLayout; invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/internal/MDRootLayout;->b(Lcom/afollestad/materialdialogs/internal/MDRootLayout;Z)Z .line 527 :cond_1 :goto_0 iget-object v0, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->a:Landroid/view/View; invoke-virtual {v0}, Landroid/view/View;->getViewTreeObserver()Landroid/view/ViewTreeObserver; move-result-object v0 invoke-virtual {v0, p0}, Landroid/view/ViewTreeObserver;->removeOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V .line 529 :cond_2 const/4 v0, 0x1 return v0 .line 525 :cond_3 iget-object v1, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->d:Lcom/afollestad/materialdialogs/internal/MDRootLayout; iget-object v0, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->a:Landroid/view/View; check-cast v0, Landroid/view/ViewGroup; iget-boolean v2, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->b:Z iget-boolean v3, p0, Lcom/afollestad/materialdialogs/internal/MDRootLayout$1;->c:Z invoke-static {v1, v0, v2, v3}, Lcom/afollestad/materialdialogs/internal/MDRootLayout;->a(Lcom/afollestad/materialdialogs/internal/MDRootLayout;Landroid/view/ViewGroup;ZZ)V goto :goto_0 .end method