120 lines
3.0 KiB
Smali
120 lines
3.0 KiB
Smali
.class Lcom/moji/mjweather/feed/AbsDetailsActivity$1;
|
|
.super Ljava/lang/Object;
|
|
.source "AbsDetailsActivity.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/mjweather/feed/AbsDetailsActivity;->z()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/mjweather/feed/AbsDetailsActivity;
|
|
|
|
.field private b:Z
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/mjweather/feed/AbsDetailsActivity;)V
|
|
.locals 0
|
|
|
|
.line 253
|
|
iput-object p1, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$1;->a:Lcom/moji/mjweather/feed/AbsDetailsActivity;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onGlobalLayout()V
|
|
.locals 3
|
|
|
|
.line 259
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 260
|
|
iget-object v1, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$1;->a:Lcom/moji/mjweather/feed/AbsDetailsActivity;
|
|
|
|
invoke-static {v1}, Lcom/moji/mjweather/feed/AbsDetailsActivity;->a(Lcom/moji/mjweather/feed/AbsDetailsActivity;)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1, v0}, Landroid/view/View;->getWindowVisibleDisplayFrame(Landroid/graphics/Rect;)V
|
|
|
|
.line 261
|
|
iget-object v1, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$1;->a:Lcom/moji/mjweather/feed/AbsDetailsActivity;
|
|
|
|
invoke-static {v1}, Lcom/moji/mjweather/feed/AbsDetailsActivity;->a(Lcom/moji/mjweather/feed/AbsDetailsActivity;)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Landroid/view/View;->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 262
|
|
iget-boolean v0, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$1;->b:Z
|
|
|
|
const/16 v2, 0x12c
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
if-le v1, v2, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 263
|
|
iput-boolean v0, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$1;->b:Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 264
|
|
:cond_0
|
|
iget-boolean v0, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$1;->b:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
if-ge v1, v2, :cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 265
|
|
iput-boolean v0, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$1;->b:Z
|
|
|
|
.line 266
|
|
iget-object v0, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$1;->a:Lcom/moji/mjweather/feed/AbsDetailsActivity;
|
|
|
|
iget-object v0, v0, Lcom/moji/mjweather/feed/AbsDetailsActivity;->C:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->a()V
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|