.class Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$3;
.super Ljava/lang/Object;
.source "FeedSubjectDetailActivity.java"

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;->j()V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;

.field private b:Z


# direct methods
.method constructor <init>(Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;)V
    .locals 0

    .line 229
    iput-object p1, p0, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$3;->a:Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;

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

    return-void
.end method


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

    .line 235
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    .line 236
    iget-object v1, p0, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$3;->a:Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;

    invoke-static {v1}, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;->h(Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;)Lcom/moji/mjweather/ipc/view/ActionDownListenerLinearLayout;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/moji/mjweather/ipc/view/ActionDownListenerLinearLayout;->getWindowVisibleDisplayFrame(Landroid/graphics/Rect;)V

    .line 237
    iget-object v1, p0, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$3;->a:Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;

    invoke-static {v1}, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;->h(Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;)Lcom/moji/mjweather/ipc/view/ActionDownListenerLinearLayout;

    move-result-object v1

    invoke-virtual {v1}, Lcom/moji/mjweather/ipc/view/ActionDownListenerLinearLayout;->getRootView()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/View;->getHeight()I

    move-result v1

    iget v2, v0, Landroid/graphics/Rect;->bottom:I

    iget v0, v0, Landroid/graphics/Rect;->top:I

    sub-int/2addr v2, v0

    sub-int/2addr v1, v2

    .line 238
    iget-boolean v0, p0, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$3;->b:Z

    const/16 v2, 0x12c

    if-nez v0, :cond_0

    if-le v1, v2, :cond_0

    const/4 v0, 0x1

    .line 239
    iput-boolean v0, p0, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$3;->b:Z

    goto :goto_0

    .line 240
    :cond_0
    iget-boolean v0, p0, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$3;->b:Z

    if-eqz v0, :cond_1

    if-ge v1, v2, :cond_1

    const/4 v0, 0x0

    .line 241
    iput-boolean v0, p0, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$3;->b:Z

    .line 242
    iget-object v0, p0, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$3;->a:Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;

    invoke-static {v0}, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;->i(Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;)Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->a()V

    :cond_1
    :goto_0
    return-void
.end method
