BaseSmartHomeSkill$9.smali

.class Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill$9;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->initView(Landroid/app/Activity;)V
.end annotation

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


# instance fields
.field final synthetic this$0:Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;


# direct methods
.method constructor <init>(Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;)V
    .registers 2

    iput-object p1, p0, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill$9;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;

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

    return-void
.end method


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

    const/4 v1, 0x3

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill$9;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;

    # getter for: Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->mExpandable:Z
    invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->access$500(Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;)Z

    move-result v0

    if-eqz v0, :cond_a

    :cond_9
    :goto_9
    return-void

    :cond_a
    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill$9;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;

    # getter for: Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->mIntroTv:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->access$300(Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/TextView;->getTag()Ljava/lang/Object;

    move-result-object v0

    if-nez v0, :cond_9

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill$9;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;

    # getter for: Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->mIntroTv:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->access$300(Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;)Landroid/widget/TextView;

    move-result-object v0

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

    move-result v0

    if-le v0, v1, :cond_9

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill$9;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;

    # getter for: Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->mIntroTv:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->access$300(Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;)Landroid/widget/TextView;

    move-result-object v0

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

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill$9;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;

    const/4 v1, 0x1

    # setter for: Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->mExpandable:Z
    invoke-static {v0, v1}, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->access$502(Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;Z)Z

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill$9;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;

    # getter for: Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->mIntroMoreTv:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->access$400(Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;)Landroid/widget/TextView;

    move-result-object v0

    const/4 v1, 0x0

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

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill$9;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;

    # getter for: Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->mIntroTv:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;->access$300(Lcom/cmcm/xiaobao/phone/smarthome/base/BaseSmartHomeSkill;)Landroid/widget/TextView;

    move-result-object v0

    new-instance v1, Ljava/lang/Object;

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

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    goto :goto_9
.end method