.class public Lcom/afollestad/materialdialogs/f; .super Lcom/afollestad/materialdialogs/c; .source "MaterialDialog.java" # interfaces .implements Landroid/view/View$OnClickListener; .implements Lcom/afollestad/materialdialogs/a$b; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/afollestad/materialdialogs/f$b;, Lcom/afollestad/materialdialogs/f$a;, Lcom/afollestad/materialdialogs/f$c;, Lcom/afollestad/materialdialogs/f$d;, Lcom/afollestad/materialdialogs/f$j;, Lcom/afollestad/materialdialogs/f$f;, Lcom/afollestad/materialdialogs/f$g;, Lcom/afollestad/materialdialogs/f$h;, Lcom/afollestad/materialdialogs/f$e;, Lcom/afollestad/materialdialogs/f$i; } .end annotation # instance fields .field protected final b:Lcom/afollestad/materialdialogs/f$a; .field protected c:Landroid/widget/ImageView; .field protected d:Landroid/widget/TextView; .field protected e:Landroid/widget/TextView; .field f:Landroid/widget/EditText; .field g:Landroid/support/v7/widget/RecyclerView; .field h:Landroid/view/View; .field i:Landroid/widget/FrameLayout; .field j:Landroid/widget/ProgressBar; .field k:Landroid/widget/TextView; .field l:Landroid/widget/TextView; .field m:Landroid/widget/TextView; .field n:Landroid/widget/CheckBox; .field o:Lcom/afollestad/materialdialogs/internal/MDButton; .field p:Lcom/afollestad/materialdialogs/internal/MDButton; .field q:Lcom/afollestad/materialdialogs/internal/MDButton; .field r:Lcom/afollestad/materialdialogs/f$i; .field s:Ljava/util/List; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/List", "<", "Ljava/lang/Integer;", ">;" } .end annotation .end field .field private final t:Landroid/os/Handler; # direct methods .method protected constructor (Lcom/afollestad/materialdialogs/f$a;)V .locals 3 .annotation build Landroid/annotation/SuppressLint; value = { "InflateParams" } .end annotation .prologue .line 89 iget-object v0, p1, Lcom/afollestad/materialdialogs/f$a;->a:Landroid/content/Context; invoke-static {p1}, Lcom/afollestad/materialdialogs/d;->a(Lcom/afollestad/materialdialogs/f$a;)I move-result v1 invoke-direct {p0, v0, v1}, Lcom/afollestad/materialdialogs/c;->(Landroid/content/Context;I)V .line 90 new-instance v0, Landroid/os/Handler; invoke-direct {v0}, Landroid/os/Handler;->()V iput-object v0, p0, Lcom/afollestad/materialdialogs/f;->t:Landroid/os/Handler; .line 91 iput-object p1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; .line 92 iget-object v0, p1, Lcom/afollestad/materialdialogs/f$a;->a:Landroid/content/Context; invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater; move-result-object v0 .line 93 invoke-static {p1}, Lcom/afollestad/materialdialogs/d;->b(Lcom/afollestad/materialdialogs/f$a;)I move-result v1 const/4 v2, 0x0 invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View; move-result-object v0 check-cast v0, Lcom/afollestad/materialdialogs/internal/MDRootLayout; iput-object v0, p0, Lcom/afollestad/materialdialogs/f;->a:Lcom/afollestad/materialdialogs/internal/MDRootLayout; .line 94 invoke-static {p0}, Lcom/afollestad/materialdialogs/d;->a(Lcom/afollestad/materialdialogs/f;)V .line 95 return-void .end method .method private b(Landroid/view/View;)Z .locals 3 .prologue .line 371 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->G:Lcom/afollestad/materialdialogs/f$g; if-nez v0, :cond_0 .line 372 const/4 v0, 0x0 .line 378 :goto_0 return v0 .line 374 :cond_0 const/4 v0, 0x0 .line 375 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v1, v1, Lcom/afollestad/materialdialogs/f$a;->O:I if-ltz v1, :cond_1 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v1, v1, Lcom/afollestad/materialdialogs/f$a;->O:I iget-object v2, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v2, v2, Lcom/afollestad/materialdialogs/f$a;->l:Ljava/util/ArrayList; invoke-virtual {v2}, Ljava/util/ArrayList;->size()I move-result v2 if-ge v1, v2, :cond_1 .line 376 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->l:Ljava/util/ArrayList; iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v1, v1, Lcom/afollestad/materialdialogs/f$a;->O:I invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/CharSequence; .line 378 :cond_1 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->G:Lcom/afollestad/materialdialogs/f$g; iget-object v2, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v2, v2, Lcom/afollestad/materialdialogs/f$a;->O:I invoke-interface {v1, p0, p1, v2, v0}, Lcom/afollestad/materialdialogs/f$g;->a(Lcom/afollestad/materialdialogs/f;Landroid/view/View;ILjava/lang/CharSequence;)Z move-result v0 goto :goto_0 .end method .method private j()Z .locals 5 .prologue .line 382 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->H:Lcom/afollestad/materialdialogs/f$f; if-nez v0, :cond_0 .line 383 const/4 v0, 0x0 .line 393 :goto_0 return v0 .line 385 :cond_0 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->s:Ljava/util/List; invoke-static {v0}, Ljava/util/Collections;->sort(Ljava/util/List;)V .line 386 new-instance v1, Ljava/util/ArrayList; invoke-direct {v1}, Ljava/util/ArrayList;->()V .line 387 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->s:Ljava/util/List; invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator; move-result-object v2 :cond_1 :goto_1 invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_2 invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Integer; .line 388 invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I move-result v3 if-ltz v3, :cond_1 invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I move-result v3 iget-object v4, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v4, v4, Lcom/afollestad/materialdialogs/f$a;->l:Ljava/util/ArrayList; invoke-virtual {v4}, Ljava/util/ArrayList;->size()I move-result v4 add-int/lit8 v4, v4, -0x1 if-gt v3, v4, :cond_1 .line 391 iget-object v3, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v3, v3, Lcom/afollestad/materialdialogs/f$a;->l:Ljava/util/ArrayList; invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I move-result v0 invoke-virtual {v3, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object; move-result-object v0 invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z goto :goto_1 .line 393 :cond_2 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v2, v0, Lcom/afollestad/materialdialogs/f$a;->H:Lcom/afollestad/materialdialogs/f$f; iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->s:Ljava/util/List; iget-object v3, p0, Lcom/afollestad/materialdialogs/f;->s:Ljava/util/List; .line 395 invoke-interface {v3}, Ljava/util/List;->size()I move-result v3 new-array v3, v3, [Ljava/lang/Integer; invoke-interface {v0, v3}, Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; move-result-object v0 check-cast v0, [Ljava/lang/Integer; .line 396 invoke-interface {v1}, Ljava/util/List;->size()I move-result v3 new-array v3, v3, [Ljava/lang/CharSequence; invoke-interface {v1, v3}, Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; move-result-object v1 check-cast v1, [Ljava/lang/CharSequence; .line 393 invoke-interface {v2, p0, v0, v1}, Lcom/afollestad/materialdialogs/f$f;->a(Lcom/afollestad/materialdialogs/f;[Ljava/lang/Integer;[Ljava/lang/CharSequence;)Z move-result v0 goto :goto_0 .end method # virtual methods .method a(Lcom/afollestad/materialdialogs/b;Z)Landroid/graphics/drawable/Drawable; .locals 4 .prologue const/16 v3, 0x15 const/4 v2, 0x0 .line 302 if-eqz p2, :cond_2 .line 303 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->aL:I if-eqz v0, :cond_1 .line 304 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->a:Landroid/content/Context; .line 305 invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources; move-result-object v0 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v1, v1, Lcom/afollestad/materialdialogs/f$a;->aL:I .line 304 invoke-static {v0, v1, v2}, Landroid/support/v4/content/res/ResourcesCompat;->getDrawable(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable; move-result-object v0 .line 364 :cond_0 :goto_0 return-object v0 .line 307 :cond_1 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->a:Landroid/content/Context; sget v1, Lcom/afollestad/materialdialogs/R$attr;->md_btn_stacked_selector:I .line 308 invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/a/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; move-result-object v0 .line 309 if-nez v0, :cond_0 .line 312 invoke-virtual {p0}, Lcom/afollestad/materialdialogs/f;->getContext()Landroid/content/Context; move-result-object v0 sget v1, Lcom/afollestad/materialdialogs/R$attr;->md_btn_stacked_selector:I invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/a/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; move-result-object v0 goto :goto_0 .line 314 :cond_2 sget-object v0, Lcom/afollestad/materialdialogs/f$3;->a:[I invoke-virtual {p1}, Lcom/afollestad/materialdialogs/b;->ordinal()I move-result v1 aget v0, v0, v1 packed-switch v0, :pswitch_data_0 .line 317 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->aM:I if-eqz v0, :cond_3 .line 318 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->a:Landroid/content/Context; .line 319 invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources; move-result-object v0 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v1, v1, Lcom/afollestad/materialdialogs/f$a;->aM:I .line 318 invoke-static {v0, v1, v2}, Landroid/support/v4/content/res/ResourcesCompat;->getDrawable(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable; move-result-object v0 goto :goto_0 .line 321 :cond_3 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->a:Landroid/content/Context; sget v1, Lcom/afollestad/materialdialogs/R$attr;->md_btn_positive_selector:I .line 322 invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/a/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; move-result-object v0 .line 323 if-nez v0, :cond_0 .line 326 invoke-virtual {p0}, Lcom/afollestad/materialdialogs/f;->getContext()Landroid/content/Context; move-result-object v0 sget v1, Lcom/afollestad/materialdialogs/R$attr;->md_btn_positive_selector:I invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/a/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; move-result-object v0 .line 327 sget v1, Landroid/os/Build$VERSION;->SDK_INT:I if-lt v1, v3, :cond_0 .line 328 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v1, v1, Lcom/afollestad/materialdialogs/f$a;->h:I invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/a/b;->a(Landroid/graphics/drawable/Drawable;I)V goto :goto_0 .line 334 :pswitch_0 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->aN:I if-eqz v0, :cond_4 .line 335 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->a:Landroid/content/Context; .line 336 invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources; move-result-object v0 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v1, v1, Lcom/afollestad/materialdialogs/f$a;->aN:I .line 335 invoke-static {v0, v1, v2}, Landroid/support/v4/content/res/ResourcesCompat;->getDrawable(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable; move-result-object v0 goto :goto_0 .line 338 :cond_4 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->a:Landroid/content/Context; sget v1, Lcom/afollestad/materialdialogs/R$attr;->md_btn_neutral_selector:I .line 339 invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/a/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; move-result-object v0 .line 340 if-nez v0, :cond_0 .line 343 invoke-virtual {p0}, Lcom/afollestad/materialdialogs/f;->getContext()Landroid/content/Context; move-result-object v0 sget v1, Lcom/afollestad/materialdialogs/R$attr;->md_btn_neutral_selector:I invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/a/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; move-result-object v0 .line 344 sget v1, Landroid/os/Build$VERSION;->SDK_INT:I if-lt v1, v3, :cond_0 .line 345 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v1, v1, Lcom/afollestad/materialdialogs/f$a;->h:I invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/a/b;->a(Landroid/graphics/drawable/Drawable;I)V goto/16 :goto_0 .line 351 :pswitch_1 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->aO:I if-eqz v0, :cond_5 .line 352 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->a:Landroid/content/Context; .line 353 invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources; move-result-object v0 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v1, v1, Lcom/afollestad/materialdialogs/f$a;->aO:I .line 352 invoke-static {v0, v1, v2}, Landroid/support/v4/content/res/ResourcesCompat;->getDrawable(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable; move-result-object v0 goto/16 :goto_0 .line 355 :cond_5 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->a:Landroid/content/Context; sget v1, Lcom/afollestad/materialdialogs/R$attr;->md_btn_negative_selector:I .line 356 invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/a/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; move-result-object v0 .line 357 if-nez v0, :cond_0 .line 360 invoke-virtual {p0}, Lcom/afollestad/materialdialogs/f;->getContext()Landroid/content/Context; move-result-object v0 sget v1, Lcom/afollestad/materialdialogs/R$attr;->md_btn_negative_selector:I invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/a/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; move-result-object v0 .line 361 sget v1, Landroid/os/Build$VERSION;->SDK_INT:I if-lt v1, v3, :cond_0 .line 362 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v1, v1, Lcom/afollestad/materialdialogs/f$a;->h:I invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/a/b;->a(Landroid/graphics/drawable/Drawable;I)V goto/16 :goto_0 .line 314 :pswitch_data_0 .packed-switch 0x1 :pswitch_0 :pswitch_1 .end packed-switch .end method .method public final a(Lcom/afollestad/materialdialogs/b;)Lcom/afollestad/materialdialogs/internal/MDButton; .locals 2 .param p1 # Lcom/afollestad/materialdialogs/b; .annotation build Landroid/support/annotation/NonNull; .end annotation .end param .prologue .line 481 sget-object v0, Lcom/afollestad/materialdialogs/f$3;->a:[I invoke-virtual {p1}, Lcom/afollestad/materialdialogs/b;->ordinal()I move-result v1 aget v0, v0, v1 packed-switch v0, :pswitch_data_0 .line 483 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->o:Lcom/afollestad/materialdialogs/internal/MDButton; .line 487 :goto_0 return-object v0 .line 485 :pswitch_0 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->p:Lcom/afollestad/materialdialogs/internal/MDButton; goto :goto_0 .line 487 :pswitch_1 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->q:Lcom/afollestad/materialdialogs/internal/MDButton; goto :goto_0 .line 481 :pswitch_data_0 .packed-switch 0x1 :pswitch_0 :pswitch_1 .end packed-switch .end method .method a(IZ)V .locals 7 .prologue const/4 v1, 0x1 const/4 v2, 0x0 .line 965 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->m:Landroid/widget/TextView; if-eqz v0, :cond_4 .line 966 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->at:I if-lez v0, :cond_5 .line 967 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->m:Landroid/widget/TextView; .line 968 invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale; move-result-object v3 const-string v4, "%d/%d" const/4 v5, 0x2 new-array v5, v5, [Ljava/lang/Object; invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v6 aput-object v6, v5, v2 iget-object v6, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v6, v6, Lcom/afollestad/materialdialogs/f$a;->at:I invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v6 aput-object v6, v5, v1 invoke-static {v3, v4, v5}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; move-result-object v3 .line 967 invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V .line 969 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->m:Landroid/widget/TextView; invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V .line 973 :goto_0 if-eqz p2, :cond_0 if-eqz p1, :cond_2 :cond_0 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->at:I if-lez v0, :cond_1 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->at:I if-gt p1, v0, :cond_2 :cond_1 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->as:I if-ge p1, v0, :cond_6 :cond_2 move v4, v1 .line 977 :goto_1 if-eqz v4, :cond_7 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->au:I move v3, v0 .line 978 :goto_2 if-eqz v4, :cond_8 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->au:I .line 979 :goto_3 iget-object v5, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v5, v5, Lcom/afollestad/materialdialogs/f$a;->at:I if-lez v5, :cond_3 .line 980 iget-object v5, p0, Lcom/afollestad/materialdialogs/f;->m:Landroid/widget/TextView; invoke-virtual {v5, v3}, Landroid/widget/TextView;->setTextColor(I)V .line 982 :cond_3 iget-object v3, p0, Lcom/afollestad/materialdialogs/f;->f:Landroid/widget/EditText; invoke-static {v3, v0}, Lcom/afollestad/materialdialogs/internal/c;->a(Landroid/widget/EditText;I)V .line 983 sget-object v0, Lcom/afollestad/materialdialogs/b;->a:Lcom/afollestad/materialdialogs/b; invoke-virtual {p0, v0}, Lcom/afollestad/materialdialogs/f;->a(Lcom/afollestad/materialdialogs/b;)Lcom/afollestad/materialdialogs/internal/MDButton; move-result-object v3 .line 984 if-nez v4, :cond_9 move v0, v1 :goto_4 invoke-virtual {v3, v0}, Landroid/view/View;->setEnabled(Z)V .line 986 :cond_4 return-void .line 971 :cond_5 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->m:Landroid/widget/TextView; const/16 v3, 0x8 invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V goto :goto_0 :cond_6 move v4, v2 .line 973 goto :goto_1 .line 977 :cond_7 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->j:I move v3, v0 goto :goto_2 .line 978 :cond_8 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->t:I goto :goto_3 :cond_9 move v0, v2 .line 984 goto :goto_4 .end method .method public final a(Landroid/widget/TextView;Landroid/graphics/Typeface;)V .locals 1 .prologue .line 102 if-nez p2, :cond_0 .line 108 :goto_0 return-void .line 105 :cond_0 invoke-virtual {p1}, Landroid/widget/TextView;->getPaintFlags()I move-result v0 or-int/lit16 v0, v0, 0x80 .line 106 invoke-virtual {p1, v0}, Landroid/widget/TextView;->setPaintFlags(I)V .line 107 invoke-virtual {p1, p2}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V goto :goto_0 .end method .method public final a(Ljava/lang/CharSequence;)V .locals 2 .annotation build Landroid/support/annotation/UiThread; .end annotation .prologue .line 644 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->e:Landroid/widget/TextView; invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V .line 645 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->e:Landroid/widget/TextView; invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z move-result v0 if-eqz v0, :cond_0 const/16 v0, 0x8 :goto_0 invoke-virtual {v1, v0}, Landroid/widget/TextView;->setVisibility(I)V .line 646 return-void .line 645 :cond_0 const/4 v0, 0x0 goto :goto_0 .end method .method public a(Lcom/afollestad/materialdialogs/f;Landroid/view/View;ILjava/lang/CharSequence;Z)Z .locals 5 .prologue const/4 v2, 0x1 const/4 v1, 0x0 .line 183 invoke-virtual {p2}, Landroid/view/View;->isEnabled()Z move-result v0 if-nez v0, :cond_0 move v0, v1 .line 271 :goto_0 return v0 .line 186 :cond_0 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->r:Lcom/afollestad/materialdialogs/f$i; if-eqz v0, :cond_1 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->r:Lcom/afollestad/materialdialogs/f$i; sget-object v3, Lcom/afollestad/materialdialogs/f$i;->a:Lcom/afollestad/materialdialogs/f$i; if-ne v0, v3, :cond_4 .line 188 :cond_1 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-boolean v0, v0, Lcom/afollestad/materialdialogs/f$a;->R:Z if-eqz v0, :cond_2 .line 190 invoke-virtual {p0}, Lcom/afollestad/materialdialogs/f;->dismiss()V .line 192 :cond_2 if-nez p5, :cond_3 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->E:Lcom/afollestad/materialdialogs/f$e; if-eqz v0, :cond_3 .line 193 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v0, Lcom/afollestad/materialdialogs/f$a;->E:Lcom/afollestad/materialdialogs/f$e; iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->l:Ljava/util/ArrayList; invoke-virtual {v0, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/CharSequence; invoke-interface {v1, p0, p2, p3, v0}, Lcom/afollestad/materialdialogs/f$e;->a(Lcom/afollestad/materialdialogs/f;Landroid/view/View;ILjava/lang/CharSequence;)V .line 195 :cond_3 if-eqz p5, :cond_6 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->F:Lcom/afollestad/materialdialogs/f$h; if-eqz v0, :cond_6 .line 196 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v0, Lcom/afollestad/materialdialogs/f$a;->F:Lcom/afollestad/materialdialogs/f$h; iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->l:Ljava/util/ArrayList; .line 197 invoke-virtual {v0, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/CharSequence; .line 196 invoke-interface {v1, p0, p2, p3, v0}, Lcom/afollestad/materialdialogs/f$h;->a(Lcom/afollestad/materialdialogs/f;Landroid/view/View;ILjava/lang/CharSequence;)Z move-result v0 goto :goto_0 .line 201 :cond_4 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->r:Lcom/afollestad/materialdialogs/f$i; sget-object v3, Lcom/afollestad/materialdialogs/f$i;->c:Lcom/afollestad/materialdialogs/f$i; if-ne v0, v3, :cond_d .line 202 sget v0, Lcom/afollestad/materialdialogs/R$id;->md_control:I invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View; move-result-object v0 check-cast v0, Landroid/widget/CheckBox; .line 203 invoke-virtual {v0}, Landroid/widget/CheckBox;->isEnabled()Z move-result v3 if-nez v3, :cond_5 move v0, v1 .line 204 goto :goto_0 .line 206 :cond_5 iget-object v3, p0, Lcom/afollestad/materialdialogs/f;->s:Ljava/util/List; invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v4 invoke-interface {v3, v4}, Ljava/util/List;->contains(Ljava/lang/Object;)Z move-result v3 if-nez v3, :cond_7 move v3, v2 .line 207 :goto_1 if-eqz v3, :cond_a .line 209 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->s:Ljava/util/List; invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v3 invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z .line 210 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-boolean v1, v1, Lcom/afollestad/materialdialogs/f$a;->I:Z if-eqz v1, :cond_9 .line 212 invoke-direct {p0}, Lcom/afollestad/materialdialogs/f;->j()Z move-result v1 if-eqz v1, :cond_8 .line 213 invoke-virtual {v0, v2}, Landroid/widget/CheckBox;->setChecked(Z)V :cond_6 :goto_2 move v0, v2 .line 271 goto/16 :goto_0 :cond_7 move v3, v1 .line 206 goto :goto_1 .line 216 :cond_8 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->s:Ljava/util/List; invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v1 invoke-interface {v0, v1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z goto :goto_2 .line 220 :cond_9 invoke-virtual {v0, v2}, Landroid/widget/CheckBox;->setChecked(Z)V goto :goto_2 .line 224 :cond_a iget-object v3, p0, Lcom/afollestad/materialdialogs/f;->s:Ljava/util/List; invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v4 invoke-interface {v3, v4}, Ljava/util/List;->remove(Ljava/lang/Object;)Z .line 225 iget-object v3, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-boolean v3, v3, Lcom/afollestad/materialdialogs/f$a;->I:Z if-eqz v3, :cond_c .line 227 invoke-direct {p0}, Lcom/afollestad/materialdialogs/f;->j()Z move-result v3 if-eqz v3, :cond_b .line 228 invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setChecked(Z)V goto :goto_2 .line 231 :cond_b iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->s:Ljava/util/List; invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v1 invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z goto :goto_2 .line 235 :cond_c invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setChecked(Z)V goto :goto_2 .line 238 :cond_d iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->r:Lcom/afollestad/materialdialogs/f$i; sget-object v3, Lcom/afollestad/materialdialogs/f$i;->b:Lcom/afollestad/materialdialogs/f$i; if-ne v0, v3, :cond_6 .line 239 sget v0, Lcom/afollestad/materialdialogs/R$id;->md_control:I invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View; move-result-object v0 check-cast v0, Landroid/widget/RadioButton; .line 240 invoke-virtual {v0}, Landroid/widget/RadioButton;->isEnabled()Z move-result v3 if-nez v3, :cond_e move v0, v1 .line 241 goto/16 :goto_0 .line 244 :cond_e iget-object v3, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v3, v3, Lcom/afollestad/materialdialogs/f$a;->O:I .line 246 iget-object v4, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-boolean v4, v4, Lcom/afollestad/materialdialogs/f$a;->R:Z if-eqz v4, :cond_f iget-object v4, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v4, v4, Lcom/afollestad/materialdialogs/f$a;->m:Ljava/lang/CharSequence; if-nez v4, :cond_f .line 248 invoke-virtual {p0}, Lcom/afollestad/materialdialogs/f;->dismiss()V .line 252 iget-object v4, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iput p3, v4, Lcom/afollestad/materialdialogs/f$a;->O:I .line 253 invoke-direct {p0, p2}, Lcom/afollestad/materialdialogs/f;->b(Landroid/view/View;)Z .line 263 :goto_3 if-eqz v1, :cond_6 .line 264 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iput p3, v1, Lcom/afollestad/materialdialogs/f$a;->O:I .line 265 invoke-virtual {v0, v2}, Landroid/widget/RadioButton;->setChecked(Z)V .line 266 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->X:Landroid/support/v7/widget/RecyclerView$Adapter; invoke-virtual {v0, v3}, Landroid/support/v7/widget/RecyclerView$Adapter;->notifyItemChanged(I)V .line 267 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->X:Landroid/support/v7/widget/RecyclerView$Adapter; invoke-virtual {v0, p3}, Landroid/support/v7/widget/RecyclerView$Adapter;->notifyItemChanged(I)V goto/16 :goto_2 .line 254 :cond_f iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-boolean v1, v1, Lcom/afollestad/materialdialogs/f$a;->J:Z if-eqz v1, :cond_10 .line 256 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iput p3, v1, Lcom/afollestad/materialdialogs/f$a;->O:I .line 258 invoke-direct {p0, p2}, Lcom/afollestad/materialdialogs/f;->b(Landroid/view/View;)Z move-result v1 .line 260 iget-object v4, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iput v3, v4, Lcom/afollestad/materialdialogs/f$a;->O:I goto :goto_3 :cond_10 move v1, v2 goto :goto_3 .end method .method public final b()Lcom/afollestad/materialdialogs/f$a; .locals 1 .prologue .line 98 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; return-object v0 .end method .method final c()V .locals 2 .prologue .line 117 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->g:Landroid/support/v7/widget/RecyclerView; if-nez v0, :cond_0 .line 161 :goto_0 return-void .line 120 :cond_0 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->g:Landroid/support/v7/widget/RecyclerView; .line 121 invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView;->getViewTreeObserver()Landroid/view/ViewTreeObserver; move-result-object v0 new-instance v1, Lcom/afollestad/materialdialogs/f$1; invoke-direct {v1, p0}, Lcom/afollestad/materialdialogs/f$1;->(Lcom/afollestad/materialdialogs/f;)V .line 122 invoke-virtual {v0, v1}, Landroid/view/ViewTreeObserver;->addOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V goto :goto_0 .end method .method final d()V .locals 3 .prologue .line 165 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->g:Landroid/support/v7/widget/RecyclerView; if-nez v0, :cond_1 .line 178 :cond_0 :goto_0 return-void .line 167 :cond_1 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->l:Ljava/util/ArrayList; if-eqz v0, :cond_2 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->l:Ljava/util/ArrayList; invoke-virtual {v0}, Ljava/util/ArrayList;->size()I move-result v0 if-nez v0, :cond_3 :cond_2 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->X:Landroid/support/v7/widget/RecyclerView$Adapter; if-eqz v0, :cond_0 .line 170 :cond_3 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->Y:Landroid/support/v7/widget/RecyclerView$LayoutManager; if-nez v0, :cond_4 .line 171 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; new-instance v1, Landroid/support/v7/widget/LinearLayoutManager; invoke-virtual {p0}, Lcom/afollestad/materialdialogs/f;->getContext()Landroid/content/Context; move-result-object v2 invoke-direct {v1, v2}, Landroid/support/v7/widget/LinearLayoutManager;->(Landroid/content/Context;)V iput-object v1, v0, Lcom/afollestad/materialdialogs/f$a;->Y:Landroid/support/v7/widget/RecyclerView$LayoutManager; .line 173 :cond_4 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->g:Landroid/support/v7/widget/RecyclerView; iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->Y:Landroid/support/v7/widget/RecyclerView$LayoutManager; invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView;->setLayoutManager(Landroid/support/v7/widget/RecyclerView$LayoutManager;)V .line 174 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->g:Landroid/support/v7/widget/RecyclerView; iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->X:Landroid/support/v7/widget/RecyclerView$Adapter; invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView;->setAdapter(Landroid/support/v7/widget/RecyclerView$Adapter;)V .line 175 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->r:Lcom/afollestad/materialdialogs/f$i; if-eqz v0, :cond_0 .line 176 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->X:Landroid/support/v7/widget/RecyclerView$Adapter; check-cast v0, Lcom/afollestad/materialdialogs/a; invoke-virtual {v0, p0}, Lcom/afollestad/materialdialogs/a;->a(Lcom/afollestad/materialdialogs/a$b;)V goto :goto_0 .end method .method public dismiss()V .locals 1 .prologue .line 990 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->f:Landroid/widget/EditText; if-eqz v0, :cond_0 .line 991 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; invoke-static {p0, v0}, Lcom/afollestad/materialdialogs/a/a;->b(Landroid/content/DialogInterface;Lcom/afollestad/materialdialogs/f$a;)V .line 993 :cond_0 invoke-super {p0}, Lcom/afollestad/materialdialogs/c;->dismiss()V .line 994 return-void .end method .method final e()Landroid/graphics/drawable/Drawable; .locals 3 .prologue .line 275 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->aK:I if-eqz v0, :cond_1 .line 276 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->a:Landroid/content/Context; .line 277 invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources; move-result-object v0 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget v1, v1, Lcom/afollestad/materialdialogs/f$a;->aK:I const/4 v2, 0x0 .line 276 invoke-static {v0, v1, v2}, Landroid/support/v4/content/res/ResourcesCompat;->getDrawable(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable; move-result-object v0 .line 283 :cond_0 :goto_0 return-object v0 .line 279 :cond_1 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->a:Landroid/content/Context; sget v1, Lcom/afollestad/materialdialogs/R$attr;->md_list_selector:I invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/a/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; move-result-object v0 .line 280 if-nez v0, :cond_0 .line 283 invoke-virtual {p0}, Lcom/afollestad/materialdialogs/f;->getContext()Landroid/content/Context; move-result-object v0 sget v1, Lcom/afollestad/materialdialogs/R$attr;->md_list_selector:I invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/a/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; move-result-object v0 goto :goto_0 .end method .method public final f()Landroid/view/View; .locals 1 .prologue .line 493 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->a:Lcom/afollestad/materialdialogs/internal/MDRootLayout; return-object v0 .end method .method public bridge synthetic findViewById(I)Landroid/view/View; .locals 1 .prologue .line 63 invoke-super {p0, p1}, Lcom/afollestad/materialdialogs/c;->findViewById(I)Landroid/view/View; move-result-object v0 return-object v0 .end method .method public final g()Landroid/widget/EditText; .locals 1 .annotation build Landroid/support/annotation/Nullable; .end annotation .prologue .line 498 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->f:Landroid/widget/EditText; return-object v0 .end method .method public h()Landroid/widget/ProgressBar; .locals 1 .prologue .line 710 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->j:Landroid/widget/ProgressBar; return-object v0 .end method .method i()V .locals 2 .prologue .line 936 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->f:Landroid/widget/EditText; if-nez v0, :cond_0 .line 962 :goto_0 return-void .line 939 :cond_0 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->f:Landroid/widget/EditText; new-instance v1, Lcom/afollestad/materialdialogs/f$2; invoke-direct {v1, p0}, Lcom/afollestad/materialdialogs/f$2;->(Lcom/afollestad/materialdialogs/f;)V invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V goto :goto_0 .end method .method public final onClick(Landroid/view/View;)V .locals 3 .prologue .line 401 invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/afollestad/materialdialogs/b; .line 402 sget-object v1, Lcom/afollestad/materialdialogs/f$3;->a:[I invoke-virtual {v0}, Lcom/afollestad/materialdialogs/b;->ordinal()I move-result v2 aget v1, v1, v2 packed-switch v1, :pswitch_data_0 .line 455 :cond_0 :goto_0 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->D:Lcom/afollestad/materialdialogs/f$j; if-eqz v1, :cond_1 .line 456 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->D:Lcom/afollestad/materialdialogs/f$j; invoke-interface {v1, p0, v0}, Lcom/afollestad/materialdialogs/f$j;->a(Lcom/afollestad/materialdialogs/f;Lcom/afollestad/materialdialogs/b;)V .line 458 :cond_1 return-void .line 405 :pswitch_0 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->z:Lcom/afollestad/materialdialogs/f$b; if-eqz v1, :cond_2 .line 406 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->z:Lcom/afollestad/materialdialogs/f$b; invoke-virtual {v1, p0}, Lcom/afollestad/materialdialogs/f$b;->a(Lcom/afollestad/materialdialogs/f;)V .line 407 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->z:Lcom/afollestad/materialdialogs/f$b; invoke-virtual {v1, p0}, Lcom/afollestad/materialdialogs/f$b;->b(Lcom/afollestad/materialdialogs/f;)V .line 409 :cond_2 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->A:Lcom/afollestad/materialdialogs/f$j; if-eqz v1, :cond_3 .line 410 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->A:Lcom/afollestad/materialdialogs/f$j; invoke-interface {v1, p0, v0}, Lcom/afollestad/materialdialogs/f$j;->a(Lcom/afollestad/materialdialogs/f;Lcom/afollestad/materialdialogs/b;)V .line 412 :cond_3 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-boolean v1, v1, Lcom/afollestad/materialdialogs/f$a;->J:Z if-nez v1, :cond_4 .line 413 invoke-direct {p0, p1}, Lcom/afollestad/materialdialogs/f;->b(Landroid/view/View;)Z .line 415 :cond_4 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-boolean v1, v1, Lcom/afollestad/materialdialogs/f$a;->I:Z if-nez v1, :cond_5 .line 416 invoke-direct {p0}, Lcom/afollestad/materialdialogs/f;->j()Z .line 418 :cond_5 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->ao:Lcom/afollestad/materialdialogs/f$d; if-eqz v1, :cond_6 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->f:Landroid/widget/EditText; if-eqz v1, :cond_6 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-boolean v1, v1, Lcom/afollestad/materialdialogs/f$a;->ar:Z if-nez v1, :cond_6 .line 419 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->ao:Lcom/afollestad/materialdialogs/f$d; iget-object v2, p0, Lcom/afollestad/materialdialogs/f;->f:Landroid/widget/EditText; invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable; move-result-object v2 invoke-interface {v1, p0, v2}, Lcom/afollestad/materialdialogs/f$d;->a(Lcom/afollestad/materialdialogs/f;Ljava/lang/CharSequence;)V .line 421 :cond_6 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-boolean v1, v1, Lcom/afollestad/materialdialogs/f$a;->R:Z if-eqz v1, :cond_0 .line 422 invoke-virtual {p0}, Lcom/afollestad/materialdialogs/f;->dismiss()V goto :goto_0 .line 428 :pswitch_1 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->z:Lcom/afollestad/materialdialogs/f$b; if-eqz v1, :cond_7 .line 429 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->z:Lcom/afollestad/materialdialogs/f$b; invoke-virtual {v1, p0}, Lcom/afollestad/materialdialogs/f$b;->a(Lcom/afollestad/materialdialogs/f;)V .line 430 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->z:Lcom/afollestad/materialdialogs/f$b; invoke-virtual {v1, p0}, Lcom/afollestad/materialdialogs/f$b;->c(Lcom/afollestad/materialdialogs/f;)V .line 432 :cond_7 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->B:Lcom/afollestad/materialdialogs/f$j; if-eqz v1, :cond_8 .line 433 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->B:Lcom/afollestad/materialdialogs/f$j; invoke-interface {v1, p0, v0}, Lcom/afollestad/materialdialogs/f$j;->a(Lcom/afollestad/materialdialogs/f;Lcom/afollestad/materialdialogs/b;)V .line 435 :cond_8 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-boolean v1, v1, Lcom/afollestad/materialdialogs/f$a;->R:Z if-eqz v1, :cond_0 .line 436 invoke-virtual {p0}, Lcom/afollestad/materialdialogs/f;->cancel()V goto/16 :goto_0 .line 442 :pswitch_2 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->z:Lcom/afollestad/materialdialogs/f$b; if-eqz v1, :cond_9 .line 443 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->z:Lcom/afollestad/materialdialogs/f$b; invoke-virtual {v1, p0}, Lcom/afollestad/materialdialogs/f$b;->a(Lcom/afollestad/materialdialogs/f;)V .line 444 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->z:Lcom/afollestad/materialdialogs/f$b; invoke-virtual {v1, p0}, Lcom/afollestad/materialdialogs/f$b;->d(Lcom/afollestad/materialdialogs/f;)V .line 446 :cond_9 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->C:Lcom/afollestad/materialdialogs/f$j; if-eqz v1, :cond_a .line 447 iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v1, v1, Lcom/afollestad/materialdialogs/f$a;->C:Lcom/afollestad/materialdialogs/f$j; invoke-interface {v1, p0, v0}, Lcom/afollestad/materialdialogs/f$j;->a(Lcom/afollestad/materialdialogs/f;Lcom/afollestad/materialdialogs/b;)V .line 449 :cond_a iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-boolean v1, v1, Lcom/afollestad/materialdialogs/f$a;->R:Z if-eqz v1, :cond_0 .line 450 invoke-virtual {p0}, Lcom/afollestad/materialdialogs/f;->dismiss()V goto/16 :goto_0 .line 402 nop :pswitch_data_0 .packed-switch 0x1 :pswitch_2 :pswitch_1 :pswitch_0 .end packed-switch .end method .method public final onShow(Landroid/content/DialogInterface;)V .locals 2 .prologue .line 926 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->f:Landroid/widget/EditText; if-eqz v0, :cond_0 .line 927 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; invoke-static {p0, v0}, Lcom/afollestad/materialdialogs/a/a;->a(Landroid/content/DialogInterface;Lcom/afollestad/materialdialogs/f$a;)V .line 928 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->f:Landroid/widget/EditText; invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable; move-result-object v0 invoke-interface {v0}, Landroid/text/Editable;->length()I move-result v0 if-lez v0, :cond_0 .line 929 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->f:Landroid/widget/EditText; iget-object v1, p0, Lcom/afollestad/materialdialogs/f;->f:Landroid/widget/EditText; invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable; move-result-object v1 invoke-interface {v1}, Landroid/text/Editable;->length()I move-result v1 invoke-virtual {v0, v1}, Landroid/widget/EditText;->setSelection(I)V .line 932 :cond_0 invoke-super {p0, p1}, Lcom/afollestad/materialdialogs/c;->onShow(Landroid/content/DialogInterface;)V .line 933 return-void .end method .method public bridge synthetic setContentView(I)V .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation .prologue .line 63 invoke-super {p0, p1}, Lcom/afollestad/materialdialogs/c;->setContentView(I)V return-void .end method .method public bridge synthetic setContentView(Landroid/view/View;)V .locals 0 .param p1 # Landroid/view/View; .annotation build Landroid/support/annotation/NonNull; .end annotation .end param .annotation runtime Ljava/lang/Deprecated; .end annotation .prologue .line 63 invoke-super {p0, p1}, Lcom/afollestad/materialdialogs/c;->setContentView(Landroid/view/View;)V return-void .end method .method public bridge synthetic setContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V .locals 0 .param p1 # Landroid/view/View; .annotation build Landroid/support/annotation/NonNull; .end annotation .end param .annotation runtime Ljava/lang/Deprecated; .end annotation .prologue .line 63 invoke-super {p0, p1, p2}, Lcom/afollestad/materialdialogs/c;->setContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V return-void .end method .method public final setTitle(I)V .locals 1 .param p1 # I .annotation build Landroid/support/annotation/StringRes; .end annotation .end param .annotation build Landroid/support/annotation/UiThread; .end annotation .prologue .line 614 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->a:Landroid/content/Context; invoke-virtual {v0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String; move-result-object v0 invoke-virtual {p0, v0}, Lcom/afollestad/materialdialogs/f;->setTitle(Ljava/lang/CharSequence;)V .line 615 return-void .end method .method public final setTitle(Ljava/lang/CharSequence;)V .locals 1 .annotation build Landroid/support/annotation/UiThread; .end annotation .prologue .line 608 iget-object v0, p0, Lcom/afollestad/materialdialogs/f;->d:Landroid/widget/TextView; invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V .line 609 return-void .end method .method public show()V .locals 2 .annotation build Landroid/support/annotation/UiThread; .end annotation .prologue .line 464 :try_start_0 invoke-super {p0}, Lcom/afollestad/materialdialogs/c;->show()V :try_end_0 .catch Landroid/view/WindowManager$BadTokenException; {:try_start_0 .. :try_end_0} :catch_0 .line 470 return-void .line 465 :catch_0 move-exception v0 .line 466 new-instance v0, Lcom/afollestad/materialdialogs/f$c; const-string v1, "Bad window token, you cannot show a dialog before an Activity is created or after it\'s hidden." invoke-direct {v0, v1}, Lcom/afollestad/materialdialogs/f$c;->(Ljava/lang/String;)V throw v0 .end method