a.smali

.class Lcom/sandboxol/gamedetail/view/widget/a;
.super Ljava/lang/Object;
.source "ExpandableTextView.java"

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;->init()V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;


# direct methods
.method constructor <init>(Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;)V
    .registers 2

    .line 1
    iput-object p1, p0, Lcom/sandboxol/gamedetail/view/widget/a;->a:Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;

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

    return-void
.end method


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

    .line 1
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/widget/a;->a:Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v0

    .line 2
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0x10

    if-lt v1, v2, :cond_10

    .line 3
    invoke-virtual {v0, p0}, Landroid/view/ViewTreeObserver;->removeOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V

    goto :goto_13

    .line 4
    :cond_10
    invoke-virtual {v0, p0}, Landroid/view/ViewTreeObserver;->removeGlobalOnLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V

    .line 5
    :goto_13
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/widget/a;->a:Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;

    # invokes: Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;->getNewTextByConfig()Ljava/lang/CharSequence;
    invoke-static {v0}, Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;->access$200(Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;)Ljava/lang/CharSequence;

    move-result-object v1

    iget-object v2, p0, Lcom/sandboxol/gamedetail/view/widget/a;->a:Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;

    # getter for: Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;->mBufferType:Landroid/widget/TextView$BufferType;
    invoke-static {v2}, Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;->access$300(Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;)Landroid/widget/TextView$BufferType;

    move-result-object v2

    # invokes: Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;->setTextInternal(Ljava/lang/CharSequence;Landroid/widget/TextView$BufferType;)V
    invoke-static {v0, v1, v2}, Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;->access$400(Lcom/sandboxol/gamedetail/view/widget/ExpandableTextView;Ljava/lang/CharSequence;Landroid/widget/TextView$BufferType;)V

    return-void
.end method