114 lines
3.0 KiB
Smali
114 lines
3.0 KiB
Smali
.class Lcom/moji/newliveview/base/NeedShowInputBoxActivity$2;
|
|
.super Ljava/lang/Object;
|
|
.source "NeedShowInputBoxActivity.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/newliveview/base/NeedShowInputBoxActivity;->l()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/newliveview/base/NeedShowInputBoxActivity;
|
|
|
|
.field private b:Z
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/newliveview/base/NeedShowInputBoxActivity;)V
|
|
.locals 0
|
|
|
|
.line 48
|
|
iput-object p1, p0, Lcom/moji/newliveview/base/NeedShowInputBoxActivity$2;->a:Lcom/moji/newliveview/base/NeedShowInputBoxActivity;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onGlobalLayout()V
|
|
.locals 3
|
|
|
|
.line 54
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 55
|
|
iget-object v1, p0, Lcom/moji/newliveview/base/NeedShowInputBoxActivity$2;->a:Lcom/moji/newliveview/base/NeedShowInputBoxActivity;
|
|
|
|
iget-object v1, v1, Lcom/moji/newliveview/base/NeedShowInputBoxActivity;->b:Lcom/moji/mjweather/ipc/view/ActionDownListenerLinearLayout;
|
|
|
|
invoke-virtual {v1, v0}, Lcom/moji/mjweather/ipc/view/ActionDownListenerLinearLayout;->getWindowVisibleDisplayFrame(Landroid/graphics/Rect;)V
|
|
|
|
.line 56
|
|
iget-object v1, p0, Lcom/moji/newliveview/base/NeedShowInputBoxActivity$2;->a:Lcom/moji/newliveview/base/NeedShowInputBoxActivity;
|
|
|
|
iget-object v1, v1, Lcom/moji/newliveview/base/NeedShowInputBoxActivity;->b:Lcom/moji/mjweather/ipc/view/ActionDownListenerLinearLayout;
|
|
|
|
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 57
|
|
iget-boolean v0, p0, Lcom/moji/newliveview/base/NeedShowInputBoxActivity$2;->b:Z
|
|
|
|
const/16 v2, 0x12c
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
if-le v1, v2, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 58
|
|
iput-boolean v0, p0, Lcom/moji/newliveview/base/NeedShowInputBoxActivity$2;->b:Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 59
|
|
:cond_0
|
|
iget-boolean v0, p0, Lcom/moji/newliveview/base/NeedShowInputBoxActivity$2;->b:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
if-ge v1, v2, :cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 60
|
|
iput-boolean v0, p0, Lcom/moji/newliveview/base/NeedShowInputBoxActivity$2;->b:Z
|
|
|
|
.line 61
|
|
iget-object v0, p0, Lcom/moji/newliveview/base/NeedShowInputBoxActivity$2;->a:Lcom/moji/newliveview/base/NeedShowInputBoxActivity;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/newliveview/base/NeedShowInputBoxActivity;->j()V
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|