.class public Landroidx/appcompat/widget/i;
.super Landroid/widget/CheckedTextView;
.source ""


# instance fields
.field public final r:Landroidx/appcompat/widget/j;

.field public final s:Landroidx/appcompat/widget/f;

.field public final t:Landroidx/appcompat/widget/f0;

.field public u:Landroidx/appcompat/widget/o;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .registers 13

    .line 1
    invoke-static {p1}, Landroidx/appcompat/widget/e1;->a(Landroid/content/Context;)Landroid/content/Context;

    const v0, 0x7f0400a2

    invoke-direct {p0, p1, p2, v0}, Landroid/widget/CheckedTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    invoke-virtual {p0}, Landroid/widget/CheckedTextView;->getContext()Landroid/content/Context;

    move-result-object p1

    invoke-static {p0, p1}, Landroidx/appcompat/widget/c1;->a(Landroid/view/View;Landroid/content/Context;)V

    new-instance p1, Landroidx/appcompat/widget/f0;

    invoke-direct {p1, p0}, Landroidx/appcompat/widget/f0;-><init>(Landroid/widget/TextView;)V

    iput-object p1, p0, Landroidx/appcompat/widget/i;->t:Landroidx/appcompat/widget/f0;

    invoke-virtual {p1, p2, v0}, Landroidx/appcompat/widget/f0;->e(Landroid/util/AttributeSet;I)V

    invoke-virtual {p1}, Landroidx/appcompat/widget/f0;->b()V

    new-instance p1, Landroidx/appcompat/widget/f;

    invoke-direct {p1, p0}, Landroidx/appcompat/widget/f;-><init>(Landroid/view/View;)V

    iput-object p1, p0, Landroidx/appcompat/widget/i;->s:Landroidx/appcompat/widget/f;

    invoke-virtual {p1, p2, v0}, Landroidx/appcompat/widget/f;->d(Landroid/util/AttributeSet;I)V

    new-instance p1, Landroidx/appcompat/widget/j;

    invoke-direct {p1, p0}, Landroidx/appcompat/widget/j;-><init>(Landroid/widget/CheckedTextView;)V

    iput-object p1, p0, Landroidx/appcompat/widget/i;->r:Landroidx/appcompat/widget/j;

    .line 2
    invoke-virtual {p0}, Landroid/widget/CheckedTextView;->getContext()Landroid/content/Context;

    move-result-object v1

    sget-object v4, Le/m;->l:[I

    const/4 v9, 0x0

    invoke-static {v1, p2, v4, v0, v9}, Landroidx/appcompat/widget/h1;->q(Landroid/content/Context;Landroid/util/AttributeSet;[III)Landroidx/appcompat/widget/h1;

    move-result-object v1

    invoke-virtual {p0}, Landroid/widget/CheckedTextView;->getContext()Landroid/content/Context;

    move-result-object v3

    .line 3
    iget-object v6, v1, Landroidx/appcompat/widget/h1;->b:Landroid/content/res/TypedArray;

    const/4 v8, 0x0

    const v7, 0x7f0400a2

    move-object v2, p0

    move-object v5, p2

    .line 4
    invoke-static/range {v2 .. v8}, Ll0/u;->o(Landroid/view/View;Landroid/content/Context;[ILandroid/util/AttributeSet;Landroid/content/res/TypedArray;II)V

    const/4 v2, 0x1

    :try_start_49
    invoke-virtual {v1, v2}, Landroidx/appcompat/widget/h1;->o(I)Z

    move-result v3

    if-eqz v3, :cond_61

    invoke-virtual {v1, v2, v9}, Landroidx/appcompat/widget/h1;->l(II)I

    move-result v3
    :try_end_53
    .catchall {:try_start_49 .. :try_end_53} :catchall_b0

    if-eqz v3, :cond_61

    :try_start_55
    invoke-virtual {p0}, Landroid/widget/CheckedTextView;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-static {v4, v3}, Lg/a;->b(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    invoke-virtual {p0, v3}, Landroidx/appcompat/widget/i;->setCheckMarkDrawable(Landroid/graphics/drawable/Drawable;)V
    :try_end_60
    .catch Landroid/content/res/Resources$NotFoundException; {:try_start_55 .. :try_end_60} :catch_61
    .catchall {:try_start_55 .. :try_end_60} :catchall_b0

    goto :goto_62

    :catch_61
    :cond_61
    move v2, v9

    :goto_62
    if-nez v2, :cond_7d

    :try_start_64
    invoke-virtual {v1, v9}, Landroidx/appcompat/widget/h1;->o(I)Z

    move-result v2

    if-eqz v2, :cond_7d

    invoke-virtual {v1, v9, v9}, Landroidx/appcompat/widget/h1;->l(II)I

    move-result v2

    if-eqz v2, :cond_7d

    iget-object v3, p1, Landroidx/appcompat/widget/j;->a:Landroid/widget/CheckedTextView;

    invoke-virtual {v3}, Landroid/widget/CheckedTextView;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-static {v4, v2}, Lg/a;->b(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v3, v2}, Landroid/widget/CheckedTextView;->setCheckMarkDrawable(Landroid/graphics/drawable/Drawable;)V

    :cond_7d
    const/4 v2, 0x2

    invoke-virtual {v1, v2}, Landroidx/appcompat/widget/h1;->o(I)Z

    move-result v3

    if-eqz v3, :cond_8d

    iget-object v3, p1, Landroidx/appcompat/widget/j;->a:Landroid/widget/CheckedTextView;

    invoke-virtual {v1, v2}, Landroidx/appcompat/widget/h1;->c(I)Landroid/content/res/ColorStateList;

    move-result-object v2

    .line 5
    invoke-virtual {v3, v2}, Landroid/widget/CheckedTextView;->setCheckMarkTintList(Landroid/content/res/ColorStateList;)V

    :cond_8d
    const/4 v2, 0x3

    .line 6
    invoke-virtual {v1, v2}, Landroidx/appcompat/widget/h1;->o(I)Z

    move-result v3

    if-eqz v3, :cond_a3

    iget-object p1, p1, Landroidx/appcompat/widget/j;->a:Landroid/widget/CheckedTextView;

    const/4 v3, -0x1

    invoke-virtual {v1, v2, v3}, Landroidx/appcompat/widget/h1;->j(II)I

    move-result v2

    const/4 v3, 0x0

    invoke-static {v2, v3}, Landroidx/appcompat/widget/m0;->d(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuff$Mode;

    move-result-object v2

    .line 7
    invoke-virtual {p1, v2}, Landroid/widget/CheckedTextView;->setCheckMarkTintMode(Landroid/graphics/PorterDuff$Mode;)V
    :try_end_a3
    .catchall {:try_start_64 .. :try_end_a3} :catchall_b0

    .line 8
    :cond_a3
    iget-object p1, v1, Landroidx/appcompat/widget/h1;->b:Landroid/content/res/TypedArray;

    invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V

    .line 9
    invoke-direct {p0}, Landroidx/appcompat/widget/i;->getEmojiTextViewHelper()Landroidx/appcompat/widget/o;

    move-result-object p1

    invoke-virtual {p1, p2, v0}, Landroidx/appcompat/widget/o;->a(Landroid/util/AttributeSet;I)V

    return-void

    :catchall_b0
    move-exception p1

    .line 10
    iget-object p2, v1, Landroidx/appcompat/widget/h1;->b:Landroid/content/res/TypedArray;

    invoke-virtual {p2}, Landroid/content/res/TypedArray;->recycle()V

    .line 11
    throw p1
.end method

.method private getEmojiTextViewHelper()Landroidx/appcompat/widget/o;
    .registers 2

    iget-object v0, p0, Landroidx/appcompat/widget/i;->u:Landroidx/appcompat/widget/o;

    if-nez v0, :cond_b

    new-instance v0, Landroidx/appcompat/widget/o;

    invoke-direct {v0, p0}, Landroidx/appcompat/widget/o;-><init>(Landroid/widget/TextView;)V

    iput-object v0, p0, Landroidx/appcompat/widget/i;->u:Landroidx/appcompat/widget/o;

    :cond_b
    iget-object v0, p0, Landroidx/appcompat/widget/i;->u:Landroidx/appcompat/widget/o;

    return-object v0
.end method


# virtual methods
.method public drawableStateChanged()V
    .registers 2

    invoke-super {p0}, Landroid/widget/CheckedTextView;->drawableStateChanged()V

    iget-object v0, p0, Landroidx/appcompat/widget/i;->t:Landroidx/appcompat/widget/f0;

    if-eqz v0, :cond_a

    invoke-virtual {v0}, Landroidx/appcompat/widget/f0;->b()V

    :cond_a
    iget-object v0, p0, Landroidx/appcompat/widget/i;->s:Landroidx/appcompat/widget/f;

    if-eqz v0, :cond_11

    invoke-virtual {v0}, Landroidx/appcompat/widget/f;->a()V

    :cond_11
    iget-object v0, p0, Landroidx/appcompat/widget/i;->r:Landroidx/appcompat/widget/j;

    if-eqz v0, :cond_18

    invoke-virtual {v0}, Landroidx/appcompat/widget/j;->a()V

    :cond_18
    return-void
.end method

.method public getCustomSelectionActionModeCallback()Landroid/view/ActionMode$Callback;
    .registers 2

    invoke-super {p0}, Landroid/widget/TextView;->getCustomSelectionActionModeCallback()Landroid/view/ActionMode$Callback;

    move-result-object v0

    invoke-static {v0}, Lo0/g;->f(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode$Callback;

    move-result-object v0

    return-object v0
.end method

.method public getSupportBackgroundTintList()Landroid/content/res/ColorStateList;
    .registers 2

    iget-object v0, p0, Landroidx/appcompat/widget/i;->s:Landroidx/appcompat/widget/f;

    if-eqz v0, :cond_9

    invoke-virtual {v0}, Landroidx/appcompat/widget/f;->b()Landroid/content/res/ColorStateList;

    move-result-object v0

    goto :goto_a

    :cond_9
    const/4 v0, 0x0

    :goto_a
    return-object v0
.end method

.method public getSupportBackgroundTintMode()Landroid/graphics/PorterDuff$Mode;
    .registers 2

    iget-object v0, p0, Landroidx/appcompat/widget/i;->s:Landroidx/appcompat/widget/f;

    if-eqz v0, :cond_9

    invoke-virtual {v0}, Landroidx/appcompat/widget/f;->c()Landroid/graphics/PorterDuff$Mode;

    move-result-object v0

    goto :goto_a

    :cond_9
    const/4 v0, 0x0

    :goto_a
    return-object v0
.end method

.method public getSupportCheckMarkTintList()Landroid/content/res/ColorStateList;
    .registers 2

    iget-object v0, p0, Landroidx/appcompat/widget/i;->r:Landroidx/appcompat/widget/j;

    if-eqz v0, :cond_7

    .line 1
    iget-object v0, v0, Landroidx/appcompat/widget/j;->b:Landroid/content/res/ColorStateList;

    goto :goto_8

    :cond_7
    const/4 v0, 0x0

    :goto_8
    return-object v0
.end method

.method public getSupportCheckMarkTintMode()Landroid/graphics/PorterDuff$Mode;
    .registers 2

    iget-object v0, p0, Landroidx/appcompat/widget/i;->r:Landroidx/appcompat/widget/j;

    if-eqz v0, :cond_7

    .line 1
    iget-object v0, v0, Landroidx/appcompat/widget/j;->c:Landroid/graphics/PorterDuff$Mode;

    goto :goto_8

    :cond_7
    const/4 v0, 0x0

    :goto_8
    return-object v0
.end method

.method public onCreateInputConnection(Landroid/view/inputmethod/EditorInfo;)Landroid/view/inputmethod/InputConnection;
    .registers 3

    invoke-super {p0, p1}, Landroid/widget/TextView;->onCreateInputConnection(Landroid/view/inputmethod/EditorInfo;)Landroid/view/inputmethod/InputConnection;

    move-result-object v0

    invoke-static {v0, p1, p0}, Landroidx/appcompat/widget/p;->c(Landroid/view/inputmethod/InputConnection;Landroid/view/inputmethod/EditorInfo;Landroid/view/View;)Landroid/view/inputmethod/InputConnection;

    return-object v0
.end method

.method public setAllCaps(Z)V
    .registers 3

    invoke-super {p0, p1}, Landroid/widget/TextView;->setAllCaps(Z)V

    invoke-direct {p0}, Landroidx/appcompat/widget/i;->getEmojiTextViewHelper()Landroidx/appcompat/widget/o;

    move-result-object v0

    .line 1
    iget-object v0, v0, Landroidx/appcompat/widget/o;->b:Lu0/f;

    .line 2
    iget-object v0, v0, Lu0/f;->a:Lu0/f$b;

    invoke-virtual {v0, p1}, Lu0/f$b;->b(Z)V

    return-void
.end method

.method public setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
    .registers 2

    invoke-super {p0, p1}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object p1, p0, Landroidx/appcompat/widget/i;->s:Landroidx/appcompat/widget/f;

    if-eqz p1, :cond_a

    invoke-virtual {p1}, Landroidx/appcompat/widget/f;->e()V

    :cond_a
    return-void
.end method

.method public setBackgroundResource(I)V
    .registers 3

    invoke-super {p0, p1}, Landroid/view/View;->setBackgroundResource(I)V

    iget-object v0, p0, Landroidx/appcompat/widget/i;->s:Landroidx/appcompat/widget/f;

    if-eqz v0, :cond_a

    invoke-virtual {v0, p1}, Landroidx/appcompat/widget/f;->f(I)V

    :cond_a
    return-void
.end method

.method public setCheckMarkDrawable(I)V
    .registers 3

    invoke-virtual {p0}, Landroid/widget/CheckedTextView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, p1}, Lg/a;->b(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    invoke-virtual {p0, p1}, Landroidx/appcompat/widget/i;->setCheckMarkDrawable(Landroid/graphics/drawable/Drawable;)V

    return-void
.end method

.method public setCheckMarkDrawable(Landroid/graphics/drawable/Drawable;)V
    .registers 3

    invoke-super {p0, p1}, Landroid/widget/CheckedTextView;->setCheckMarkDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object p1, p0, Landroidx/appcompat/widget/i;->r:Landroidx/appcompat/widget/j;

    if-eqz p1, :cond_15

    .line 1
    iget-boolean v0, p1, Landroidx/appcompat/widget/j;->f:Z

    if-eqz v0, :cond_f

    const/4 v0, 0x0

    iput-boolean v0, p1, Landroidx/appcompat/widget/j;->f:Z

    goto :goto_15

    :cond_f
    const/4 v0, 0x1

    iput-boolean v0, p1, Landroidx/appcompat/widget/j;->f:Z

    invoke-virtual {p1}, Landroidx/appcompat/widget/j;->a()V

    :cond_15
    :goto_15
    return-void
.end method

.method public setCustomSelectionActionModeCallback(Landroid/view/ActionMode$Callback;)V
    .registers 2

    invoke-static {p0, p1}, Lo0/g;->g(Landroid/widget/TextView;Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode$Callback;

    move-result-object p1

    invoke-super {p0, p1}, Landroid/widget/TextView;->setCustomSelectionActionModeCallback(Landroid/view/ActionMode$Callback;)V

    return-void
.end method

.method public setEmojiCompatEnabled(Z)V
    .registers 3

    invoke-direct {p0}, Landroidx/appcompat/widget/i;->getEmojiTextViewHelper()Landroidx/appcompat/widget/o;

    move-result-object v0

    .line 1
    iget-object v0, v0, Landroidx/appcompat/widget/o;->b:Lu0/f;

    .line 2
    iget-object v0, v0, Lu0/f;->a:Lu0/f$b;

    invoke-virtual {v0, p1}, Lu0/f$b;->c(Z)V

    return-void
.end method

.method public setSupportBackgroundTintList(Landroid/content/res/ColorStateList;)V
    .registers 3

    iget-object v0, p0, Landroidx/appcompat/widget/i;->s:Landroidx/appcompat/widget/f;

    if-eqz v0, :cond_7

    invoke-virtual {v0, p1}, Landroidx/appcompat/widget/f;->h(Landroid/content/res/ColorStateList;)V

    :cond_7
    return-void
.end method

.method public setSupportBackgroundTintMode(Landroid/graphics/PorterDuff$Mode;)V
    .registers 3

    iget-object v0, p0, Landroidx/appcompat/widget/i;->s:Landroidx/appcompat/widget/f;

    if-eqz v0, :cond_7

    invoke-virtual {v0, p1}, Landroidx/appcompat/widget/f;->i(Landroid/graphics/PorterDuff$Mode;)V

    :cond_7
    return-void
.end method

.method public setSupportCheckMarkTintList(Landroid/content/res/ColorStateList;)V
    .registers 3

    iget-object v0, p0, Landroidx/appcompat/widget/i;->r:Landroidx/appcompat/widget/j;

    if-eqz v0, :cond_c

    .line 1
    iput-object p1, v0, Landroidx/appcompat/widget/j;->b:Landroid/content/res/ColorStateList;

    const/4 p1, 0x1

    iput-boolean p1, v0, Landroidx/appcompat/widget/j;->d:Z

    invoke-virtual {v0}, Landroidx/appcompat/widget/j;->a()V

    :cond_c
    return-void
.end method

.method public setSupportCheckMarkTintMode(Landroid/graphics/PorterDuff$Mode;)V
    .registers 3

    iget-object v0, p0, Landroidx/appcompat/widget/i;->r:Landroidx/appcompat/widget/j;

    if-eqz v0, :cond_c

    .line 1
    iput-object p1, v0, Landroidx/appcompat/widget/j;->c:Landroid/graphics/PorterDuff$Mode;

    const/4 p1, 0x1

    iput-boolean p1, v0, Landroidx/appcompat/widget/j;->e:Z

    invoke-virtual {v0}, Landroidx/appcompat/widget/j;->a()V

    :cond_c
    return-void
.end method

.method public setTextAppearance(Landroid/content/Context;I)V
    .registers 4

    invoke-super {p0, p1, p2}, Landroid/widget/TextView;->setTextAppearance(Landroid/content/Context;I)V

    iget-object v0, p0, Landroidx/appcompat/widget/i;->t:Landroidx/appcompat/widget/f0;

    if-eqz v0, :cond_a

    invoke-virtual {v0, p1, p2}, Landroidx/appcompat/widget/f0;->f(Landroid/content/Context;I)V

    :cond_a
    return-void
.end method
