b$a.smali

.class public final Lcom/imo/android/imoim/feeds/g/b$a;
.super Landroid/text/style/ClickableSpan;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/feeds/g/b;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "a"
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/imo/android/imoim/feeds/g/b$a$a;,
        Lcom/imo/android/imoim/feeds/g/b$a$b;
    }
.end annotation


# instance fields
.field a:Z

.field private b:I

.field private c:Landroid/content/Context;

.field private d:Lcom/imo/android/imoim/feeds/g/b$a$b;

.field private e:Lcom/imo/android/imoim/feeds/g/b$a$a;

.field private f:Z

.field private g:I

.field private h:I


# direct methods
.method public constructor <init>(ILandroid/content/Context;Lcom/imo/android/imoim/feeds/g/b$a$a;ZI)V
    .registers 7

    .line 48
    invoke-direct {p0}, Landroid/text/style/ClickableSpan;-><init>()V

    const/4 v0, 0x0

    .line 25
    iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/g/b$a;->f:Z

    const/4 v0, 0x1

    .line 28
    iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/g/b$a;->a:Z

    .line 49
    iput p1, p0, Lcom/imo/android/imoim/feeds/g/b$a;->b:I

    .line 50
    iput-object p2, p0, Lcom/imo/android/imoim/feeds/g/b$a;->c:Landroid/content/Context;

    .line 51
    iput-object p3, p0, Lcom/imo/android/imoim/feeds/g/b$a;->e:Lcom/imo/android/imoim/feeds/g/b$a$a;

    .line 52
    iput-boolean p4, p0, Lcom/imo/android/imoim/feeds/g/b$a;->f:Z

    .line 53
    iput p5, p0, Lcom/imo/android/imoim/feeds/g/b$a;->g:I

    return-void
.end method

.method public constructor <init>(ILandroid/content/Context;Lcom/imo/android/imoim/feeds/g/b$a$b;ZI)V
    .registers 7

    .line 40
    invoke-direct {p0}, Landroid/text/style/ClickableSpan;-><init>()V

    const/4 v0, 0x0

    .line 25
    iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/g/b$a;->f:Z

    const/4 v0, 0x1

    .line 28
    iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/g/b$a;->a:Z

    .line 41
    iput p1, p0, Lcom/imo/android/imoim/feeds/g/b$a;->b:I

    .line 42
    iput-object p2, p0, Lcom/imo/android/imoim/feeds/g/b$a;->c:Landroid/content/Context;

    .line 43
    iput-object p3, p0, Lcom/imo/android/imoim/feeds/g/b$a;->d:Lcom/imo/android/imoim/feeds/g/b$a$b;

    .line 44
    iput-boolean p4, p0, Lcom/imo/android/imoim/feeds/g/b$a;->f:Z

    .line 45
    iput p5, p0, Lcom/imo/android/imoim/feeds/g/b$a;->g:I

    return-void
.end method

.method public constructor <init>(ILandroid/content/Context;Lcom/imo/android/imoim/feeds/g/b$a$b;ZII)V
    .registers 7

    .line 57
    invoke-direct/range {p0 .. p5}, Lcom/imo/android/imoim/feeds/g/b$a;-><init>(ILandroid/content/Context;Lcom/imo/android/imoim/feeds/g/b$a$b;ZI)V

    .line 58
    iput p6, p0, Lcom/imo/android/imoim/feeds/g/b$a;->h:I

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .registers 4

    .line 67
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/g/b$a;->e:Lcom/imo/android/imoim/feeds/g/b$a$a;

    if-eqz p1, :cond_b

    .line 68
    iget v0, p0, Lcom/imo/android/imoim/feeds/g/b$a;->b:I

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/g/b$a;->c:Landroid/content/Context;

    invoke-interface {p1, v0, v1}, Lcom/imo/android/imoim/feeds/g/b$a$a;->onClickAtMsg(ILandroid/content/Context;)V

    :cond_b
    return-void
.end method

.method public final updateDrawState(Landroid/text/TextPaint;)V
    .registers 3

    .line 73
    iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/g/b$a;->f:Z

    if-eqz v0, :cond_9

    .line 74
    iget v0, p0, Lcom/imo/android/imoim/feeds/g/b$a;->g:I

    invoke-virtual {p1, v0}, Landroid/text/TextPaint;->setColor(I)V

    .line 76
    :cond_9
    iget v0, p0, Lcom/imo/android/imoim/feeds/g/b$a;->h:I

    if-lez v0, :cond_11

    int-to-float v0, v0

    .line 77
    invoke-virtual {p1, v0}, Landroid/text/TextPaint;->setTextSize(F)V

    .line 79
    :cond_11
    iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/g/b$a;->a:Z

    if-eqz v0, :cond_1a

    .line 80
    sget-object v0, Landroid/graphics/Typeface;->DEFAULT_BOLD:Landroid/graphics/Typeface;

    invoke-virtual {p1, v0}, Landroid/text/TextPaint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;

    :cond_1a
    return-void
.end method