You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
827 lines
21 KiB
827 lines
21 KiB
.class Lcom/afollestad/materialdialogs/a; |
|
.super Landroid/support/v7/widget/RecyclerView$Adapter; |
|
.source "DefaultRvAdapter.java" |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/MemberClasses; |
|
value = { |
|
Lcom/afollestad/materialdialogs/a$a;, |
|
Lcom/afollestad/materialdialogs/a$b; |
|
} |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Landroid/support/v7/widget/RecyclerView$Adapter", |
|
"<", |
|
"Lcom/afollestad/materialdialogs/a$a;", |
|
">;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field private final a:Lcom/afollestad/materialdialogs/f; |
|
|
|
.field private final b:I |
|
.annotation build Landroid/support/annotation/LayoutRes; |
|
.end annotation |
|
.end field |
|
|
|
.field private final c:Lcom/afollestad/materialdialogs/e; |
|
|
|
.field private d:Lcom/afollestad/materialdialogs/a$b; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/afollestad/materialdialogs/f;I)V |
|
.locals 1 |
|
.param p2 # I |
|
.annotation build Landroid/support/annotation/LayoutRes; |
|
.end annotation |
|
.end param |
|
|
|
.prologue |
|
.line 30 |
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView$Adapter;-><init>()V |
|
|
|
.line 31 |
|
iput-object p1, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
.line 32 |
|
iput p2, p0, Lcom/afollestad/materialdialogs/a;->b:I |
|
|
|
.line 33 |
|
iget-object v0, p1, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->f:Lcom/afollestad/materialdialogs/e; |
|
|
|
iput-object v0, p0, Lcom/afollestad/materialdialogs/a;->c:Lcom/afollestad/materialdialogs/e; |
|
|
|
.line 34 |
|
return-void |
|
.end method |
|
|
|
.method static synthetic a(Lcom/afollestad/materialdialogs/a;)Lcom/afollestad/materialdialogs/f; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 23 |
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method private a(Landroid/view/ViewGroup;)V |
|
.locals 6 |
|
.annotation build Landroid/annotation/TargetApi; |
|
value = 0x11 |
|
.end annotation |
|
|
|
.prologue |
|
const/4 v3, 0x1 |
|
|
|
const/4 v2, 0x0 |
|
|
|
.line 122 |
|
move-object v0, p1 |
|
|
|
check-cast v0, Landroid/widget/LinearLayout; |
|
|
|
.line 123 |
|
iget-object v1, p0, Lcom/afollestad/materialdialogs/a;->c:Lcom/afollestad/materialdialogs/e; |
|
|
|
invoke-virtual {v1}, Lcom/afollestad/materialdialogs/e;->a()I |
|
|
|
move-result v1 |
|
|
|
.line 124 |
|
or-int/lit8 v1, v1, 0x10 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setGravity(I)V |
|
|
|
.line 126 |
|
invoke-virtual {p1}, Landroid/view/ViewGroup;->getChildCount()I |
|
|
|
move-result v0 |
|
|
|
const/4 v1, 0x2 |
|
|
|
if-ne v0, v1, :cond_0 |
|
|
|
.line 127 |
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/a;->c:Lcom/afollestad/materialdialogs/e; |
|
|
|
sget-object v1, Lcom/afollestad/materialdialogs/e;->c:Lcom/afollestad/materialdialogs/e; |
|
|
|
if-ne v0, v1, :cond_1 |
|
|
|
.line 128 |
|
invoke-direct {p0}, Lcom/afollestad/materialdialogs/a;->a()Z |
|
|
|
move-result v0 |
|
|
|
if-nez v0, :cond_1 |
|
|
|
.line 129 |
|
invoke-virtual {p1, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
instance-of v0, v0, Landroid/widget/CompoundButton; |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 130 |
|
invoke-virtual {p1, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Landroid/widget/CompoundButton; |
|
|
|
.line 131 |
|
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V |
|
|
|
.line 133 |
|
invoke-virtual {p1, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; |
|
|
|
move-result-object v1 |
|
|
|
check-cast v1, Landroid/widget/TextView; |
|
|
|
.line 134 |
|
invoke-virtual {p1, v1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V |
|
|
|
.line 136 |
|
invoke-virtual {v1}, Landroid/widget/TextView;->getPaddingRight()I |
|
|
|
move-result v2 |
|
|
|
.line 137 |
|
invoke-virtual {v1}, Landroid/widget/TextView;->getPaddingTop()I |
|
|
|
move-result v3 |
|
|
|
.line 138 |
|
invoke-virtual {v1}, Landroid/widget/TextView;->getPaddingLeft()I |
|
|
|
move-result v4 |
|
|
|
.line 139 |
|
invoke-virtual {v1}, Landroid/widget/TextView;->getPaddingBottom()I |
|
|
|
move-result v5 |
|
|
|
.line 135 |
|
invoke-virtual {v1, v2, v3, v4, v5}, Landroid/widget/TextView;->setPadding(IIII)V |
|
|
|
.line 141 |
|
invoke-virtual {p1, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V |
|
|
|
.line 142 |
|
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V |
|
|
|
.line 161 |
|
:cond_0 |
|
:goto_0 |
|
return-void |
|
|
|
.line 143 |
|
:cond_1 |
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/a;->c:Lcom/afollestad/materialdialogs/e; |
|
|
|
sget-object v1, Lcom/afollestad/materialdialogs/e;->a:Lcom/afollestad/materialdialogs/e; |
|
|
|
if-ne v0, v1, :cond_0 |
|
|
|
.line 144 |
|
invoke-direct {p0}, Lcom/afollestad/materialdialogs/a;->a()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 145 |
|
invoke-virtual {p1, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
instance-of v0, v0, Landroid/widget/CompoundButton; |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 146 |
|
invoke-virtual {p1, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Landroid/widget/CompoundButton; |
|
|
|
.line 147 |
|
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V |
|
|
|
.line 149 |
|
invoke-virtual {p1, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; |
|
|
|
move-result-object v1 |
|
|
|
check-cast v1, Landroid/widget/TextView; |
|
|
|
.line 150 |
|
invoke-virtual {p1, v1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V |
|
|
|
.line 152 |
|
invoke-virtual {v1}, Landroid/widget/TextView;->getPaddingRight()I |
|
|
|
move-result v2 |
|
|
|
.line 153 |
|
invoke-virtual {v1}, Landroid/widget/TextView;->getPaddingTop()I |
|
|
|
move-result v3 |
|
|
|
.line 154 |
|
invoke-virtual {v1}, Landroid/widget/TextView;->getPaddingRight()I |
|
|
|
move-result v4 |
|
|
|
.line 155 |
|
invoke-virtual {v1}, Landroid/widget/TextView;->getPaddingBottom()I |
|
|
|
move-result v5 |
|
|
|
.line 151 |
|
invoke-virtual {v1, v2, v3, v4, v5}, Landroid/widget/TextView;->setPadding(IIII)V |
|
|
|
.line 157 |
|
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V |
|
|
|
.line 158 |
|
invoke-virtual {p1, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method private a()Z |
|
.locals 4 |
|
.annotation build Landroid/annotation/TargetApi; |
|
value = 0x11 |
|
.end annotation |
|
|
|
.prologue |
|
const/4 v0, 0x1 |
|
|
|
const/4 v1, 0x0 |
|
|
|
.line 165 |
|
sget v2, Landroid/os/Build$VERSION;->SDK_INT:I |
|
|
|
const/16 v3, 0x11 |
|
|
|
if-ge v2, v3, :cond_0 |
|
|
|
.line 169 |
|
:goto_0 |
|
return v1 |
|
|
|
.line 168 |
|
:cond_0 |
|
iget-object v2, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
invoke-virtual {v2}, Lcom/afollestad/materialdialogs/f;->b()Lcom/afollestad/materialdialogs/f$a; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v2}, Lcom/afollestad/materialdialogs/f$a;->a()Landroid/content/Context; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v2}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration; |
|
|
|
move-result-object v2 |
|
|
|
.line 169 |
|
invoke-virtual {v2}, Landroid/content/res/Configuration;->getLayoutDirection()I |
|
|
|
move-result v2 |
|
|
|
if-ne v2, v0, :cond_1 |
|
|
|
:goto_1 |
|
move v1, v0 |
|
|
|
goto :goto_0 |
|
|
|
:cond_1 |
|
move v0, v1 |
|
|
|
goto :goto_1 |
|
.end method |
|
|
|
.method static synthetic b(Lcom/afollestad/materialdialogs/a;)Lcom/afollestad/materialdialogs/a$b; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 23 |
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/a;->d:Lcom/afollestad/materialdialogs/a$b; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public a(Landroid/view/ViewGroup;I)Lcom/afollestad/materialdialogs/a$a; |
|
.locals 3 |
|
|
|
.prologue |
|
.line 42 |
|
invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater; |
|
|
|
move-result-object v0 |
|
|
|
iget v1, p0, Lcom/afollestad/materialdialogs/a;->b:I |
|
|
|
const/4 v2, 0x0 |
|
|
|
invoke-virtual {v0, v1, p1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
.line 43 |
|
iget-object v1, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
invoke-virtual {v1}, Lcom/afollestad/materialdialogs/f;->e()Landroid/graphics/drawable/Drawable; |
|
|
|
move-result-object v1 |
|
|
|
invoke-static {v0, v1}, Lcom/afollestad/materialdialogs/a/a;->a(Landroid/view/View;Landroid/graphics/drawable/Drawable;)V |
|
|
|
.line 44 |
|
new-instance v1, Lcom/afollestad/materialdialogs/a$a; |
|
|
|
invoke-direct {v1, v0, p0}, Lcom/afollestad/materialdialogs/a$a;-><init>(Landroid/view/View;Lcom/afollestad/materialdialogs/a;)V |
|
|
|
return-object v1 |
|
.end method |
|
|
|
.method public a(Lcom/afollestad/materialdialogs/a$a;I)V |
|
.locals 9 |
|
|
|
.prologue |
|
const/4 v8, 0x0 |
|
|
|
const/4 v3, 0x1 |
|
|
|
const/4 v4, 0x0 |
|
|
|
.line 49 |
|
iget-object v1, p1, Lcom/afollestad/materialdialogs/a$a;->itemView:Landroid/view/View; |
|
|
|
.line 50 |
|
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v2, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v2, v2, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget-object v2, v2, Lcom/afollestad/materialdialogs/f$a;->Q:[Ljava/lang/Integer; |
|
|
|
invoke-static {v0, v2}, Lcom/afollestad/materialdialogs/a/a;->a(Ljava/lang/Object;[Ljava/lang/Object;)Z |
|
|
|
move-result v6 |
|
|
|
.line 51 |
|
if-eqz v6, :cond_2 |
|
|
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->ah:I |
|
|
|
const v2, 0x3ecccccd # 0.4f |
|
|
|
.line 53 |
|
invoke-static {v0, v2}, Lcom/afollestad/materialdialogs/a/a;->a(IF)I |
|
|
|
move-result v0 |
|
|
|
move v2, v0 |
|
|
|
.line 55 |
|
:goto_0 |
|
iget-object v5, p1, Lcom/afollestad/materialdialogs/a$a;->itemView:Landroid/view/View; |
|
|
|
if-nez v6, :cond_3 |
|
|
|
move v0, v3 |
|
|
|
:goto_1 |
|
invoke-virtual {v5, v0}, Landroid/view/View;->setEnabled(Z)V |
|
|
|
.line 57 |
|
sget-object v0, Lcom/afollestad/materialdialogs/a$1;->a:[I |
|
|
|
iget-object v5, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v5, v5, Lcom/afollestad/materialdialogs/f;->r:Lcom/afollestad/materialdialogs/f$i; |
|
|
|
invoke-virtual {v5}, Lcom/afollestad/materialdialogs/f$i;->ordinal()I |
|
|
|
move-result v5 |
|
|
|
aget v0, v0, v5 |
|
|
|
packed-switch v0, :pswitch_data_0 |
|
|
|
.line 88 |
|
:goto_2 |
|
iget-object v5, p1, Lcom/afollestad/materialdialogs/a$a;->b:Landroid/widget/TextView; |
|
|
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v0, v0, 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, p2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Ljava/lang/CharSequence; |
|
|
|
invoke-virtual {v5, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
|
|
|
.line 89 |
|
iget-object v0, p1, Lcom/afollestad/materialdialogs/a$a;->b:Landroid/widget/TextView; |
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V |
|
|
|
.line 90 |
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v2, p1, Lcom/afollestad/materialdialogs/a$a;->b:Landroid/widget/TextView; |
|
|
|
iget-object v5, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v5, v5, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget-object v5, v5, Lcom/afollestad/materialdialogs/f$a;->S:Landroid/graphics/Typeface; |
|
|
|
invoke-virtual {v0, v2, v5}, Lcom/afollestad/materialdialogs/f;->a(Landroid/widget/TextView;Landroid/graphics/Typeface;)V |
|
|
|
move-object v0, v1 |
|
|
|
.line 92 |
|
check-cast v0, Landroid/view/ViewGroup; |
|
|
|
invoke-direct {p0, v0}, Lcom/afollestad/materialdialogs/a;->a(Landroid/view/ViewGroup;)V |
|
|
|
.line 94 |
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->av:[I |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 95 |
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->av:[I |
|
|
|
array-length v0, v0 |
|
|
|
if-ge p2, v0, :cond_9 |
|
|
|
.line 96 |
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f$a;->av:[I |
|
|
|
aget v0, v0, p2 |
|
|
|
invoke-virtual {v1, v0}, Landroid/view/View;->setId(I)V |
|
|
|
.line 102 |
|
:cond_0 |
|
:goto_3 |
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I |
|
|
|
const/16 v2, 0x15 |
|
|
|
if-lt v0, v2, :cond_1 |
|
|
|
.line 103 |
|
check-cast v1, Landroid/view/ViewGroup; |
|
|
|
.line 104 |
|
invoke-virtual {v1}, Landroid/view/ViewGroup;->getChildCount()I |
|
|
|
move-result v0 |
|
|
|
const/4 v2, 0x2 |
|
|
|
if-ne v0, v2, :cond_1 |
|
|
|
.line 106 |
|
invoke-virtual {v1, v4}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
instance-of v0, v0, Landroid/widget/CompoundButton; |
|
|
|
if-eqz v0, :cond_a |
|
|
|
.line 107 |
|
invoke-virtual {v1, v4}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v8}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V |
|
|
|
.line 113 |
|
:cond_1 |
|
:goto_4 |
|
return-void |
|
|
|
.line 53 |
|
:cond_2 |
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->ah:I |
|
|
|
move v2, v0 |
|
|
|
goto/16 :goto_0 |
|
|
|
:cond_3 |
|
move v0, v4 |
|
|
|
.line 55 |
|
goto :goto_1 |
|
|
|
.line 61 |
|
:pswitch_0 |
|
iget-object v0, p1, Lcom/afollestad/materialdialogs/a$a;->a:Landroid/widget/CompoundButton; |
|
|
|
check-cast v0, Landroid/widget/RadioButton; |
|
|
|
.line 62 |
|
iget-object v5, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v5, v5, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget v5, v5, Lcom/afollestad/materialdialogs/f$a;->O:I |
|
|
|
if-ne v5, p2, :cond_4 |
|
|
|
move v5, v3 |
|
|
|
.line 63 |
|
:goto_5 |
|
iget-object v7, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v7, v7, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget-object v7, v7, Lcom/afollestad/materialdialogs/f$a;->u:Landroid/content/res/ColorStateList; |
|
|
|
if-eqz v7, :cond_5 |
|
|
|
.line 64 |
|
iget-object v7, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v7, v7, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget-object v7, v7, Lcom/afollestad/materialdialogs/f$a;->u:Landroid/content/res/ColorStateList; |
|
|
|
invoke-static {v0, v7}, Lcom/afollestad/materialdialogs/internal/c;->a(Landroid/widget/RadioButton;Landroid/content/res/ColorStateList;)V |
|
|
|
.line 68 |
|
:goto_6 |
|
invoke-virtual {v0, v5}, Landroid/widget/RadioButton;->setChecked(Z)V |
|
|
|
.line 69 |
|
if-nez v6, :cond_6 |
|
|
|
move v5, v3 |
|
|
|
:goto_7 |
|
invoke-virtual {v0, v5}, Landroid/widget/RadioButton;->setEnabled(Z)V |
|
|
|
goto/16 :goto_2 |
|
|
|
:cond_4 |
|
move v5, v4 |
|
|
|
.line 62 |
|
goto :goto_5 |
|
|
|
.line 66 |
|
:cond_5 |
|
iget-object v7, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v7, v7, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget v7, v7, Lcom/afollestad/materialdialogs/f$a;->t:I |
|
|
|
invoke-static {v0, v7}, Lcom/afollestad/materialdialogs/internal/c;->a(Landroid/widget/RadioButton;I)V |
|
|
|
goto :goto_6 |
|
|
|
:cond_6 |
|
move v5, v4 |
|
|
|
.line 69 |
|
goto :goto_7 |
|
|
|
.line 75 |
|
:pswitch_1 |
|
iget-object v0, p1, Lcom/afollestad/materialdialogs/a$a;->a:Landroid/widget/CompoundButton; |
|
|
|
check-cast v0, Landroid/widget/CheckBox; |
|
|
|
.line 76 |
|
iget-object v5, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v5, v5, Lcom/afollestad/materialdialogs/f;->s:Ljava/util/List; |
|
|
|
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
|
|
|
move-result-object v7 |
|
|
|
invoke-interface {v5, v7}, Ljava/util/List;->contains(Ljava/lang/Object;)Z |
|
|
|
move-result v5 |
|
|
|
.line 77 |
|
iget-object v7, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v7, v7, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget-object v7, v7, Lcom/afollestad/materialdialogs/f$a;->u:Landroid/content/res/ColorStateList; |
|
|
|
if-eqz v7, :cond_7 |
|
|
|
.line 78 |
|
iget-object v7, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v7, v7, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget-object v7, v7, Lcom/afollestad/materialdialogs/f$a;->u:Landroid/content/res/ColorStateList; |
|
|
|
invoke-static {v0, v7}, Lcom/afollestad/materialdialogs/internal/c;->a(Landroid/widget/CheckBox;Landroid/content/res/ColorStateList;)V |
|
|
|
.line 82 |
|
:goto_8 |
|
invoke-virtual {v0, v5}, Landroid/widget/CheckBox;->setChecked(Z)V |
|
|
|
.line 83 |
|
if-nez v6, :cond_8 |
|
|
|
move v5, v3 |
|
|
|
:goto_9 |
|
invoke-virtual {v0, v5}, Landroid/widget/CheckBox;->setEnabled(Z)V |
|
|
|
goto/16 :goto_2 |
|
|
|
.line 80 |
|
:cond_7 |
|
iget-object v7, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v7, v7, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a; |
|
|
|
iget v7, v7, Lcom/afollestad/materialdialogs/f$a;->t:I |
|
|
|
invoke-static {v0, v7}, Lcom/afollestad/materialdialogs/internal/c;->a(Landroid/widget/CheckBox;I)V |
|
|
|
goto :goto_8 |
|
|
|
:cond_8 |
|
move v5, v4 |
|
|
|
.line 83 |
|
goto :goto_9 |
|
|
|
.line 98 |
|
:cond_9 |
|
const/4 v0, -0x1 |
|
|
|
invoke-virtual {v1, v0}, Landroid/view/View;->setId(I)V |
|
|
|
goto/16 :goto_3 |
|
|
|
.line 108 |
|
:cond_a |
|
invoke-virtual {v1, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
instance-of v0, v0, Landroid/widget/CompoundButton; |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 109 |
|
invoke-virtual {v1, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v8}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V |
|
|
|
goto/16 :goto_4 |
|
|
|
.line 57 |
|
nop |
|
|
|
:pswitch_data_0 |
|
.packed-switch 0x1 |
|
:pswitch_0 |
|
:pswitch_1 |
|
.end packed-switch |
|
.end method |
|
|
|
.method a(Lcom/afollestad/materialdialogs/a$b;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 37 |
|
iput-object p1, p0, Lcom/afollestad/materialdialogs/a;->d:Lcom/afollestad/materialdialogs/a$b; |
|
|
|
.line 38 |
|
return-void |
|
.end method |
|
|
|
.method public getItemCount()I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 117 |
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v0, v0, 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_0 |
|
|
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/a;->a:Lcom/afollestad/materialdialogs/f; |
|
|
|
iget-object v0, v0, 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 |
|
|
|
:goto_0 |
|
return v0 |
|
|
|
:cond_0 |
|
const/4 v0, 0x0 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public synthetic onBindViewHolder(Landroid/support/v7/widget/RecyclerView$ViewHolder;I)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 23 |
|
check-cast p1, Lcom/afollestad/materialdialogs/a$a; |
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/afollestad/materialdialogs/a;->a(Lcom/afollestad/materialdialogs/a$a;I)V |
|
|
|
return-void |
|
.end method |
|
|
|
.method public synthetic onCreateViewHolder(Landroid/view/ViewGroup;I)Landroid/support/v7/widget/RecyclerView$ViewHolder; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 23 |
|
invoke-virtual {p0, p1, p2}, Lcom/afollestad/materialdialogs/a;->a(Landroid/view/ViewGroup;I)Lcom/afollestad/materialdialogs/a$a; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method
|
|
|