.class public Landroidx/appcompat/widget/g;
.super Landroid/widget/Button;
.source ""

# interfaces
.implements Lo0/b;


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

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

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


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

    const v0, 0x7f04007f

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

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .registers 4

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

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

    invoke-virtual {p0}, Landroid/widget/Button;->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/f;

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

    iput-object p1, p0, Landroidx/appcompat/widget/g;->r:Landroidx/appcompat/widget/f;

    invoke-virtual {p1, p2, p3}, Landroidx/appcompat/widget/f;->d(Landroid/util/AttributeSet;I)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/g;->s:Landroidx/appcompat/widget/f0;

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

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

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

    move-result-object p1

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

    return-void
.end method

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

    iget-object v0, p0, Landroidx/appcompat/widget/g;->t: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/g;->t:Landroidx/appcompat/widget/o;

    :cond_b
    iget-object v0, p0, Landroidx/appcompat/widget/g;->t:Landroidx/appcompat/widget/o;

    return-object v0
.end method


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

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

    iget-object v0, p0, Landroidx/appcompat/widget/g;->r:Landroidx/appcompat/widget/f;

    if-eqz v0, :cond_a

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

    :cond_a
    iget-object v0, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    if-eqz v0, :cond_11

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

    :cond_11
    return-void
.end method

.method public getAutoSizeMaxTextSize()I
    .registers 2

    sget-boolean v0, Lo0/b;->l:Z

    if-eqz v0, :cond_9

    invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeMaxTextSize()I

    move-result v0

    return v0

    :cond_9
    iget-object v0, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    if-eqz v0, :cond_16

    .line 1
    iget-object v0, v0, Landroidx/appcompat/widget/f0;->i:Landroidx/appcompat/widget/i0;

    .line 2
    iget v0, v0, Landroidx/appcompat/widget/i0;->e:F

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v0

    return v0

    :cond_16
    const/4 v0, -0x1

    return v0
.end method

.method public getAutoSizeMinTextSize()I
    .registers 2

    sget-boolean v0, Lo0/b;->l:Z

    if-eqz v0, :cond_9

    invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeMinTextSize()I

    move-result v0

    return v0

    :cond_9
    iget-object v0, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    if-eqz v0, :cond_16

    .line 1
    iget-object v0, v0, Landroidx/appcompat/widget/f0;->i:Landroidx/appcompat/widget/i0;

    .line 2
    iget v0, v0, Landroidx/appcompat/widget/i0;->d:F

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v0

    return v0

    :cond_16
    const/4 v0, -0x1

    return v0
.end method

.method public getAutoSizeStepGranularity()I
    .registers 2

    sget-boolean v0, Lo0/b;->l:Z

    if-eqz v0, :cond_9

    invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeStepGranularity()I

    move-result v0

    return v0

    :cond_9
    iget-object v0, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    if-eqz v0, :cond_16

    .line 1
    iget-object v0, v0, Landroidx/appcompat/widget/f0;->i:Landroidx/appcompat/widget/i0;

    .line 2
    iget v0, v0, Landroidx/appcompat/widget/i0;->c:F

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v0

    return v0

    :cond_16
    const/4 v0, -0x1

    return v0
.end method

.method public getAutoSizeTextAvailableSizes()[I
    .registers 2

    sget-boolean v0, Lo0/b;->l:Z

    if-eqz v0, :cond_9

    invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeTextAvailableSizes()[I

    move-result-object v0

    return-object v0

    :cond_9
    iget-object v0, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    if-eqz v0, :cond_12

    .line 1
    iget-object v0, v0, Landroidx/appcompat/widget/f0;->i:Landroidx/appcompat/widget/i0;

    .line 2
    iget-object v0, v0, Landroidx/appcompat/widget/i0;->f:[I

    return-object v0

    :cond_12
    const/4 v0, 0x0

    new-array v0, v0, [I

    return-object v0
.end method

.method public getAutoSizeTextType()I
    .registers 4
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "WrongConstant"
        }
    .end annotation

    sget-boolean v0, Lo0/b;->l:Z

    const/4 v1, 0x0

    if-eqz v0, :cond_e

    invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeTextType()I

    move-result v0

    const/4 v2, 0x1

    if-ne v0, v2, :cond_d

    move v1, v2

    :cond_d
    return v1

    :cond_e
    iget-object v0, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    if-eqz v0, :cond_17

    .line 1
    iget-object v0, v0, Landroidx/appcompat/widget/f0;->i:Landroidx/appcompat/widget/i0;

    .line 2
    iget v0, v0, Landroidx/appcompat/widget/i0;->a:I

    return v0

    :cond_17
    return v1
.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/g;->r: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/g;->r: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 getSupportCompoundDrawablesTintList()Landroid/content/res/ColorStateList;
    .registers 2

    iget-object v0, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    .line 1
    iget-object v0, v0, Landroidx/appcompat/widget/f0;->h:Landroidx/appcompat/widget/f1;

    if-eqz v0, :cond_9

    iget-object v0, v0, Landroidx/appcompat/widget/f1;->a:Landroid/content/res/ColorStateList;

    goto :goto_a

    :cond_9
    const/4 v0, 0x0

    :goto_a
    return-object v0
.end method

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

    iget-object v0, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    .line 1
    iget-object v0, v0, Landroidx/appcompat/widget/f0;->h:Landroidx/appcompat/widget/f1;

    if-eqz v0, :cond_9

    iget-object v0, v0, Landroidx/appcompat/widget/f1;->b:Landroid/graphics/PorterDuff$Mode;

    goto :goto_a

    :cond_9
    const/4 v0, 0x0

    :goto_a
    return-object v0
.end method

.method public onInitializeAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V
    .registers 3

    invoke-super {p0, p1}, Landroid/view/View;->onInitializeAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V

    const-class v0, Landroid/widget/Button;

    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityEvent;->setClassName(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public onInitializeAccessibilityNodeInfo(Landroid/view/accessibility/AccessibilityNodeInfo;)V
    .registers 3

    invoke-super {p0, p1}, Landroid/view/View;->onInitializeAccessibilityNodeInfo(Landroid/view/accessibility/AccessibilityNodeInfo;)V

    const-class v0, Landroid/widget/Button;

    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityNodeInfo;->setClassName(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public onLayout(ZIIII)V
    .registers 6

    invoke-super/range {p0 .. p5}, Landroid/widget/TextView;->onLayout(ZIIII)V

    iget-object p1, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    if-eqz p1, :cond_10

    .line 1
    sget-boolean p2, Lo0/b;->l:Z

    if-nez p2, :cond_10

    .line 2
    iget-object p1, p1, Landroidx/appcompat/widget/f0;->i:Landroidx/appcompat/widget/i0;

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

    :cond_10
    return-void
.end method

.method public onTextChanged(Ljava/lang/CharSequence;III)V
    .registers 5

    invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/TextView;->onTextChanged(Ljava/lang/CharSequence;III)V

    iget-object p1, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    if-eqz p1, :cond_18

    sget-boolean p2, Lo0/b;->l:Z

    if-nez p2, :cond_18

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

    move-result p1

    if-eqz p1, :cond_18

    iget-object p1, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    .line 1
    iget-object p1, p1, Landroidx/appcompat/widget/f0;->i:Landroidx/appcompat/widget/i0;

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

    :cond_18
    return-void
.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/g;->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 setAutoSizeTextTypeUniformWithConfiguration(IIII)V
    .registers 6

    sget-boolean v0, Lo0/b;->l:Z

    if-eqz v0, :cond_8

    invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/TextView;->setAutoSizeTextTypeUniformWithConfiguration(IIII)V

    goto :goto_f

    :cond_8
    iget-object v0, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    if-eqz v0, :cond_f

    invoke-virtual {v0, p1, p2, p3, p4}, Landroidx/appcompat/widget/f0;->h(IIII)V

    :cond_f
    :goto_f
    return-void
.end method

.method public setAutoSizeTextTypeUniformWithPresetSizes([II)V
    .registers 4

    sget-boolean v0, Lo0/b;->l:Z

    if-eqz v0, :cond_8

    invoke-super {p0, p1, p2}, Landroid/widget/TextView;->setAutoSizeTextTypeUniformWithPresetSizes([II)V

    goto :goto_f

    :cond_8
    iget-object v0, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    if-eqz v0, :cond_f

    invoke-virtual {v0, p1, p2}, Landroidx/appcompat/widget/f0;->i([II)V

    :cond_f
    :goto_f
    return-void
.end method

.method public setAutoSizeTextTypeWithDefaults(I)V
    .registers 3

    sget-boolean v0, Lo0/b;->l:Z

    if-eqz v0, :cond_8

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

    goto :goto_f

    :cond_8
    iget-object v0, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    if-eqz v0, :cond_f

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

    :cond_f
    :goto_f
    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/g;->r: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/g;->r: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 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/g;->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 setFilters([Landroid/text/InputFilter;)V
    .registers 3

    invoke-direct {p0}, Landroidx/appcompat/widget/g;->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;->a([Landroid/text/InputFilter;)[Landroid/text/InputFilter;

    move-result-object p1

    .line 3
    invoke-super {p0, p1}, Landroid/widget/TextView;->setFilters([Landroid/text/InputFilter;)V

    return-void
.end method

.method public setSupportAllCaps(Z)V
    .registers 3

    iget-object v0, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    if-eqz v0, :cond_9

    .line 1
    iget-object v0, v0, Landroidx/appcompat/widget/f0;->a:Landroid/widget/TextView;

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

    :cond_9
    return-void
.end method

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

    iget-object v0, p0, Landroidx/appcompat/widget/g;->r: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/g;->r: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 setSupportCompoundDrawablesTintList(Landroid/content/res/ColorStateList;)V
    .registers 3

    iget-object v0, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

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

    iget-object p1, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

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

    return-void
.end method

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

    iget-object v0, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

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

    iget-object p1, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

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

    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/g;->s: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

.method public setTextSize(IF)V
    .registers 5

    sget-boolean v0, Lo0/b;->l:Z

    if-eqz v0, :cond_8

    invoke-super {p0, p1, p2}, Landroid/widget/TextView;->setTextSize(IF)V

    goto :goto_19

    :cond_8
    iget-object v1, p0, Landroidx/appcompat/widget/g;->s:Landroidx/appcompat/widget/f0;

    if-eqz v1, :cond_19

    if-nez v0, :cond_19

    .line 1
    invoke-virtual {v1}, Landroidx/appcompat/widget/f0;->d()Z

    move-result v0

    if-nez v0, :cond_19

    .line 2
    iget-object v0, v1, Landroidx/appcompat/widget/f0;->i:Landroidx/appcompat/widget/i0;

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

    :cond_19
    :goto_19
    return-void
.end method
