CommunityReportWriteDescFragment$b.smali

.class public final Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment$b;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/text/TextWatcher;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    .line 148
    iput-object p1, p0, Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment$b;->a:Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final afterTextChanged(Landroid/text/Editable;)V
    .registers 5

    if-eqz p1, :cond_7

    .line 150
    invoke-interface {p1}, Landroid/text/Editable;->length()I

    move-result v0

    goto :goto_8

    :cond_7
    const/4 v0, 0x0

    .line 151
    :goto_8
    iget-object v1, p0, Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment$b;->a:Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment;

    invoke-static {v1}, Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment;->c(Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment;)Landroid/widget/FrameLayout;

    move-result-object v1

    if-gtz v0, :cond_14

    const v2, 0x3e99999a    # 0.3f

    goto :goto_16

    :cond_14
    const/high16 v2, 0x3f800000    # 1.0f

    :goto_16
    invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->setAlpha(F)V

    const/16 v1, 0x12c

    if-le v0, v1, :cond_30

    if-eqz p1, :cond_22

    .line 153
    invoke-interface {p1, v1, v0}, Landroid/text/Editable;->delete(II)Landroid/text/Editable;

    .line 154
    :cond_22
    iget-object p1, p0, Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment$b;->a:Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment;->d(Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment;)Landroid/widget/TextView;

    move-result-object p1

    const-string v0, "300/300"

    check-cast v0, Ljava/lang/CharSequence;

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

    return-void

    .line 156
    :cond_30
    iget-object p1, p0, Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment$b;->a:Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment;->d(Lcom/imo/android/imoim/community/report/fragment/CommunityReportWriteDescFragment;)Landroid/widget/TextView;

    move-result-object p1

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v0, "/300"

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

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

    return-void
.end method

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

    return-void
.end method

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

    return-void
.end method