b.smali

.class public final Lqj/b;
.super Landroid/widget/RelativeLayout;
.source "AmountEditTextLayout.kt"


# annotations
.annotation runtime Lkotlin/Metadata;
    bv = {
        0x1,
        0x0,
        0x3
    }
    d1 = {
        "\u0000N\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u000e\n\u0002\u0008\u0004\n\u0002\u0010\u0007\n\u0002\u0008\u0014\n\u0002\u0010\u000b\n\u0002\u0008\u000e\u0018\u00002\u00020\u0001B\u0011\u0008\u0016\u0012\u0008\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u00a2\u0006\u0002\u0010\u0004B\u001b\u0008\u0016\u0012\u0008\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u0008\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u00a2\u0006\u0002\u0010\u0007B#\u0008\u0016\u0012\u0008\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u0008\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u0012\u0006\u0010\u0008\u001a\u00020\t\u00a2\u0006\u0002\u0010\nJ\u0006\u0010\r\u001a\u00020\u000eJ\u0008\u0010\u000f\u001a\u00020\u0010H\u0002J\u0008\u0010\u0011\u001a\u00020\u0010H\u0016J\u000e\u0010\u0012\u001a\u00020\u00102\u0006\u0010\u0013\u001a\u00020\tJ\u0010\u0010\u0014\u001a\u00020\u00102\u0008\u0010\u0015\u001a\u0004\u0018\u00010\u0016J\u0010\u0010\u0017\u001a\u00020\u00102\u0008\u0010\u0018\u001a\u0004\u0018\u00010\u0016J\u000e\u0010\u0019\u001a\u00020\u00102\u0006\u0010\u001a\u001a\u00020\u001bJ\u000e\u0010\u001c\u001a\u00020\u00102\u0006\u0010\u001d\u001a\u00020\tJ\u000e\u0010\u001e\u001a\u00020\u00102\u0006\u0010\u001f\u001a\u00020\tJ\u000e\u0010 \u001a\u00020\u00102\u0006\u0010!\u001a\u00020\tJ\u000e\u0010\"\u001a\u00020\u00102\u0006\u0010#\u001a\u00020\u0016J\u000e\u0010$\u001a\u00020\u00102\u0006\u0010%\u001a\u00020\u0016J\u0010\u0010&\u001a\u00020\u00102\u0008\u0010\'\u001a\u0004\u0018\u00010\u0016J\u000e\u0010(\u001a\u00020\u00102\u0006\u0010)\u001a\u00020\u0016J\u000e\u0010*\u001a\u00020\u00102\u0006\u0010+\u001a\u00020\tJ\u0010\u0010,\u001a\u00020\u00102\u0008\u0010-\u001a\u0004\u0018\u00010\u0016J\u0018\u0010.\u001a\u00020\u00102\u0008\u0010\'\u001a\u0004\u0018\u00010\u00162\u0006\u0010/\u001a\u000200J\u0010\u00101\u001a\u00020\u00102\u0008\u00102\u001a\u0004\u0018\u00010\u0016J\u000e\u00103\u001a\u00020\u00102\u0006\u00104\u001a\u00020\tJ\u000e\u00105\u001a\u00020\u00102\u0006\u00106\u001a\u00020\tJ\u000e\u00107\u001a\u00020\u00102\u0006\u0010+\u001a\u00020\tJ&\u00108\u001a\u00020\u00102\u0006\u00109\u001a\u00020\t2\u0006\u0010:\u001a\u00020\t2\u0006\u0010;\u001a\u00020\t2\u0006\u0010<\u001a\u00020\tJ\u0006\u0010=\u001a\u00020\u0010R\u000e\u0010\u000b\u001a\u00020\u000cX\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006>"
    }
    d2 = {
        "Lcom/shopee/foody/driver/react/viewmanager/edittext/AmountEditTextLayout;",
        "Landroid/widget/RelativeLayout;",
        "context",
        "Landroid/content/Context;",
        "(Landroid/content/Context;)V",
        "attrs",
        "Landroid/util/AttributeSet;",
        "(Landroid/content/Context;Landroid/util/AttributeSet;)V",
        "defStyleAttr",
        "",
        "(Landroid/content/Context;Landroid/util/AttributeSet;I)V",
        "mTextAlign",
        "Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;",
        "getEditText",
        "Lcom/shopee/foody/driver/widgets/AmountEditText;",
        "init",
        "",
        "requestLayout",
        "setAutoFormat",
        "autoFormat",
        "setCountry",
        "country",
        "",
        "setFontFamily",
        "fontFamily",
        "setFontSize",
        "size",
        "",
        "setGroupCount",
        "groupCount",
        "setKeyboardType",
        "keyboardType",
        "setMaxLength",
        "maxLength",
        "setPlaceHolder",
        "placeHolder",
        "setPlaceHolderTextColor",
        "placeHolderTextColor",
        "setPrefixText",
        "text",
        "setPrefixTextColor",
        "prefixTextColor",
        "setPrefixTextTypeface",
        "typeface",
        "setSeparator",
        "separator",
        "setText",
        "triggerChange",
        "",
        "setTextAlign",
        "textAlign",
        "setTextBackgroundColor",
        "backgroundColor",
        "setTextColor",
        "color",
        "setTypeface",
        "setViewPadding",
        "left",
        "top",
        "right",
        "bottom",
        "showKeyboard",
        "driver_indonesiaRelease"
    }
    k = 0x1
    mv = {
        0x1,
        0x1,
        0x10
    }
.end annotation


# instance fields
.field public a:Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;

.field public b:Ljava/util/HashMap;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .registers 2

    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    sget-object p1, Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;->LEFT:Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;

    iput-object p1, p0, Lqj/b;->a:Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;

    invoke-virtual {p0}, Lqj/b;->a()V

    return-void
.end method

.method public static final synthetic a(Lqj/b;)Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;
    .registers 1

    iget-object p0, p0, Lqj/b;->a:Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;

    return-object p0
.end method


# virtual methods
.method public a(I)Landroid/view/View;
    .registers 4

    iget-object v0, p0, Lqj/b;->b:Ljava/util/HashMap;

    if-nez v0, :cond_b

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lqj/b;->b:Ljava/util/HashMap;

    :cond_b
    iget-object v0, p0, Lqj/b;->b:Ljava/util/HashMap;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/View;

    if-nez v0, :cond_26

    invoke-virtual {p0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lqj/b;->b:Ljava/util/HashMap;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-virtual {v1, p1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_26
    return-object v0
.end method

.method public final a()V
    .registers 3

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

    move-result-object v0

    const v1, 0x7f0c0053

    invoke-static {v0, v1, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_1c

    new-instance v1, Lqj/b$a;

    invoke-direct {v1, p0}, Lqj/b$a;-><init>(Lqj/b;)V

    invoke-virtual {v0, v1}, Lcom/shopee/foody/driver/widgets/AmountEditText;->setInnerTextChangedListener(Lbl/f;)V

    :cond_1c
    return-void
.end method

.method public final a(IIII)V
    .registers 6

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_d

    invoke-virtual {v0, p1, p2, p3, p4}, Landroid/widget/EditText;->setPadding(IIII)V

    :cond_d
    return-void
.end method

.method public final a(Ljava/lang/String;Z)V
    .registers 4

    if-eqz p1, :cond_f

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_f

    invoke-virtual {v0, p1, p2}, Lcom/shopee/foody/driver/widgets/AmountEditText;->a(Ljava/lang/String;Z)V

    :cond_f
    return-void
.end method

.method public final b()V
    .registers 3

    invoke-virtual {p0}, Landroid/widget/RelativeLayout;->requestFocus()Z

    sget-object v0, Lxg/a;->a:Lxg/a;

    invoke-virtual {p0}, Lqj/b;->getEditText()Lcom/shopee/foody/driver/widgets/AmountEditText;

    move-result-object v1

    invoke-virtual {v0, v1}, Lxg/a;->a(Landroid/view/View;)V

    return-void
.end method

.method public final getEditText()Lcom/shopee/foody/driver/widgets/AmountEditText;
    .registers 3

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    const-string v1, "et_amount"

    invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    return-object v0
.end method

.method public requestLayout()V
    .registers 2

    invoke-super {p0}, Landroid/widget/RelativeLayout;->requestLayout()V

    new-instance v0, Lqj/b$b;

    invoke-direct {v0, p0}, Lqj/b$b;-><init>(Lqj/b;)V

    invoke-virtual {p0, v0}, Landroid/widget/RelativeLayout;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method public final setAutoFormat(I)V
    .registers 4

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_12

    const/4 v1, 0x1

    if-ne p1, v1, :cond_e

    goto :goto_f

    :cond_e
    const/4 v1, 0x0

    :goto_f
    invoke-virtual {v0, v1}, Lcom/shopee/foody/driver/widgets/AmountEditText;->setAutoFormat(Z)V

    :cond_12
    return-void
.end method

.method public final setCountry(Ljava/lang/String;)V
    .registers 3

    if-eqz p1, :cond_f

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_f

    invoke-virtual {v0, p1}, Lcom/shopee/foody/driver/widgets/AmountEditText;->setCountry(Ljava/lang/String;)V

    :cond_f
    return-void
.end method

.method public final setFontFamily(Ljava/lang/String;)V
    .registers 3

    sget-object v0, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->LIGHT:Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;

    invoke-virtual {v0}, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->getValue()Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_13

    sget-object p1, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->LIGHT:Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;

    invoke-virtual {p1}, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->getTypeface()I

    move-result p1

    goto :goto_52

    :cond_13
    sget-object v0, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->REGULAR:Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;

    invoke-virtual {v0}, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->getValue()Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_26

    sget-object p1, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->REGULAR:Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;

    invoke-virtual {p1}, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->getTypeface()I

    move-result p1

    goto :goto_52

    :cond_26
    sget-object v0, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->MEDIUM:Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;

    invoke-virtual {v0}, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->getValue()Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_39

    sget-object p1, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->MEDIUM:Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;

    invoke-virtual {p1}, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->getTypeface()I

    move-result p1

    goto :goto_52

    :cond_39
    sget-object v0, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->BOLD:Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;

    invoke-virtual {v0}, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->getValue()Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_4c

    sget-object p1, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->BOLD:Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;

    invoke-virtual {p1}, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->getTypeface()I

    move-result p1

    goto :goto_52

    :cond_4c
    sget-object p1, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->UNKNOWN:Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;

    invoke-virtual {p1}, Lcom/shopee/foody/driver/react/viewmanager/edittext/FontFamily;->getTypeface()I

    move-result p1

    :goto_52
    const/4 v0, -0x1

    if-eq p1, v0, :cond_58

    invoke-virtual {p0, p1}, Lqj/b;->setTypeface(I)V

    :cond_58
    return-void
.end method

.method public final setFontSize(F)V
    .registers 3

    sget v0, Lnd/c;->tv_edit_prefix:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/android/base/roboto/widget/RobotoTextView;

    if-eqz v0, :cond_d

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

    :cond_d
    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_1a

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setTextSize(F)V

    :cond_1a
    return-void
.end method

.method public final setGroupCount(I)V
    .registers 3

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_d

    invoke-virtual {v0, p1}, Lcom/shopee/foody/driver/widgets/AmountEditText;->setGroupCount(I)V

    :cond_d
    return-void
.end method

.method public final setKeyboardType(I)V
    .registers 3

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_d

    invoke-virtual {v0, p1}, Lcom/shopee/foody/driver/widgets/AmountEditText;->setInputType(I)V

    :cond_d
    return-void
.end method

.method public final setMaxLength(I)V
    .registers 3

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_d

    invoke-virtual {v0, p1}, Lcom/shopee/foody/driver/widgets/AmountEditText;->setMaxLength(I)V

    :cond_d
    return-void
.end method

.method public final setPlaceHolder(Ljava/lang/String;)V
    .registers 3

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_d

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    :cond_d
    return-void
.end method

.method public final setPlaceHolderTextColor(Ljava/lang/String;)V
    .registers 3

    invoke-static {p1}, Lc9/i;->a(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object p1

    if-eqz p1, :cond_17

    invoke-virtual {p1}, Ljava/lang/Number;->intValue()I

    move-result p1

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_17

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setHintTextColor(I)V

    :cond_17
    return-void
.end method

.method public final setPrefixText(Ljava/lang/String;)V
    .registers 3

    if-eqz p1, :cond_f

    sget v0, Lnd/c;->tv_edit_prefix:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/android/base/roboto/widget/RobotoTextView;

    if-eqz v0, :cond_f

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_f
    return-void
.end method

.method public final setPrefixTextColor(Ljava/lang/String;)V
    .registers 3

    invoke-static {p1}, Lc9/i;->a(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object p1

    if-eqz p1, :cond_17

    invoke-virtual {p1}, Ljava/lang/Number;->intValue()I

    move-result p1

    sget v0, Lnd/c;->tv_edit_prefix:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/android/base/roboto/widget/RobotoTextView;

    if-eqz v0, :cond_17

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

    :cond_17
    return-void
.end method

.method public final setPrefixTextTypeface(I)V
    .registers 3

    sget v0, Lnd/c;->tv_edit_prefix:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/android/base/roboto/widget/RobotoTextView;

    if-eqz v0, :cond_d

    invoke-virtual {v0, p1}, Lcom/shopee/android/base/roboto/widget/RobotoTextView;->a(I)Z

    :cond_d
    invoke-virtual {p0}, Lqj/b;->requestLayout()V

    return-void
.end method

.method public final setSeparator(Ljava/lang/String;)V
    .registers 4

    if-eqz p1, :cond_1f

    invoke-interface {p1}, Ljava/lang/CharSequence;->length()I

    move-result v0

    const/4 v1, 0x0

    if-lez v0, :cond_b

    const/4 v0, 0x1

    goto :goto_c

    :cond_b
    const/4 v0, 0x0

    :goto_c
    if-eqz v0, :cond_1f

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_1f

    invoke-virtual {p1, v1}, Ljava/lang/String;->charAt(I)C

    move-result p1

    invoke-virtual {v0, p1}, Lcom/shopee/foody/driver/widgets/AmountEditText;->setSeparator(C)V

    :cond_1f
    return-void
.end method

.method public final setTextAlign(Ljava/lang/String;)V
    .registers 3

    sget-object v0, Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;->RIGHT:Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;

    invoke-virtual {v0}, Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;->getValue()Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_f

    sget-object p1, Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;->RIGHT:Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;

    goto :goto_11

    :cond_f
    sget-object p1, Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;->LEFT:Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;

    :goto_11
    iput-object p1, p0, Lqj/b;->a:Lcom/shopee/foody/driver/react/viewmanager/edittext/TextAlign;

    return-void
.end method

.method public final setTextBackgroundColor(I)V
    .registers 3

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_d

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setBackgroundColor(I)V

    :cond_d
    return-void
.end method

.method public final setTextColor(I)V
    .registers 3

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_d

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setTextColor(I)V

    :cond_d
    return-void
.end method

.method public final setTypeface(I)V
    .registers 3

    sget v0, Lnd/c;->et_amount:I

    invoke-virtual {p0, v0}, Lqj/b;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/shopee/foody/driver/widgets/AmountEditText;

    if-eqz v0, :cond_d

    invoke-virtual {v0, p1}, Lcom/shopee/foody/driver/widgets/AmountEditText;->setTypeface(I)V

    :cond_d
    invoke-virtual {p0}, Lqj/b;->requestLayout()V

    return-void
.end method