ModifyAlphaTextView.smali

.class public Lcom/imo/android/imoim/feeds/ui/views/alpha/ModifyAlphaTextView;
.super Landroidx/appcompat/widget/AppCompatTextView;
.source "SourceFile"


# instance fields
.field private a:Lcom/imo/android/imoim/feeds/ui/views/alpha/a;


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

    const/4 v0, 0x0

    .line 22
    invoke-direct {p0, p1, v0}, Lcom/imo/android/imoim/feeds/ui/views/alpha/ModifyAlphaTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

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

    const/4 v0, 0x0

    .line 26
    invoke-direct {p0, p1, p2, v0}, Lcom/imo/android/imoim/feeds/ui/views/alpha/ModifyAlphaTextView;-><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

    .line 36
    invoke-direct {p0, p1, p2, p3}, Landroidx/appcompat/widget/AppCompatTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 37
    invoke-static {p1, p2}, Lcom/imo/android/imoim/feeds/ui/views/alpha/a;->a(Landroid/content/Context;Landroid/util/AttributeSet;)Lcom/imo/android/imoim/feeds/ui/views/alpha/a;

    move-result-object p1

    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/views/alpha/ModifyAlphaTextView;->a:Lcom/imo/android/imoim/feeds/ui/views/alpha/a;

    return-void
.end method


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

    .line 42
    invoke-super {p0}, Landroidx/appcompat/widget/AppCompatTextView;->drawableStateChanged()V

    .line 43
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/views/alpha/ModifyAlphaTextView;->a:Lcom/imo/android/imoim/feeds/ui/views/alpha/a;

    invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/views/alpha/ModifyAlphaTextView;->isPressed()Z

    move-result v1

    invoke-virtual {v0, p0, v1}, Lcom/imo/android/imoim/feeds/ui/views/alpha/a;->a(Landroid/view/View;Z)V

    return-void
.end method

.method public setEnabled(Z)V
    .registers 3

    .line 31
    invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatTextView;->setEnabled(Z)V

    .line 32
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/views/alpha/ModifyAlphaTextView;->a:Lcom/imo/android/imoim/feeds/ui/views/alpha/a;

    xor-int/lit8 p1, p1, 0x1

    invoke-virtual {v0, p0, p1}, Lcom/imo/android/imoim/feeds/ui/views/alpha/a;->a(Landroid/view/View;Z)V

    return-void
.end method

.method public setNormalAlpha(F)V
    .registers 3

    .line 52
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/views/alpha/ModifyAlphaTextView;->a:Lcom/imo/android/imoim/feeds/ui/views/alpha/a;

    invoke-virtual {v0, p1}, Lcom/imo/android/imoim/feeds/ui/views/alpha/a;->a(F)V

    return-void
.end method

.method public setPressAlpha(F)V
    .registers 3

    .line 57
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/views/alpha/ModifyAlphaTextView;->a:Lcom/imo/android/imoim/feeds/ui/views/alpha/a;

    invoke-virtual {v0, p1}, Lcom/imo/android/imoim/feeds/ui/views/alpha/a;->b(F)V

    return-void
.end method