KeyboardPatch$1.smali
.class Lcom/gyf/barlibrary/KeyboardPatch$1;
.super Ljava/lang/Object;
.source "KeyboardPatch.java"
# interfaces
.implements Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/gyf/barlibrary/KeyboardPatch;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lcom/gyf/barlibrary/KeyboardPatch;)V
.registers 2
.param p1, "this$0" # Lcom/gyf/barlibrary/KeyboardPatch;
.line 137
iput-object p1, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onGlobalLayout()V
.registers 10
.line 141
iget-object v0, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->navigationAtBottom:Z
invoke-static {v0}, Lcom/gyf/barlibrary/KeyboardPatch;->access$000(Lcom/gyf/barlibrary/KeyboardPatch;)Z
move-result v0
if-nez v0, :cond_9
.line 142
return-void
.line 143
:cond_9
new-instance v0, Landroid/graphics/Rect;
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
.line 144
.local v0, "r":Landroid/graphics/Rect;
iget-object v1, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mDecorView:Landroid/view/View;
invoke-static {v1}, Lcom/gyf/barlibrary/KeyboardPatch;->access$100(Lcom/gyf/barlibrary/KeyboardPatch;)Landroid/view/View;
move-result-object v1
invoke-virtual {v1, v0}, Landroid/view/View;->getWindowVisibleDisplayFrame(Landroid/graphics/Rect;)V
.line 147
const/4 v1, 0x0
.line 148
.local v1, "isPopup":Z
iget-object v2, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v2}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v2
iget-boolean v2, v2, Lcom/gyf/barlibrary/BarParams;->systemWindows:Z
if-eqz v2, :cond_55
.line 149
iget-object v2, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mContentView:Landroid/view/View;
invoke-static {v2}, Lcom/gyf/barlibrary/KeyboardPatch;->access$300(Lcom/gyf/barlibrary/KeyboardPatch;)Landroid/view/View;
move-result-object v2
invoke-virtual {v2}, Landroid/view/View;->getHeight()I
move-result v2
iget v3, v0, Landroid/graphics/Rect;->bottom:I
sub-int/2addr v2, v3
iget-object v3, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->navigationBarHeight:I
invoke-static {v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$400(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v3
sub-int/2addr v2, v3
.line 150
.local v2, "keyboardHeight":I
iget-object v3, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v3
iget-object v3, v3, Lcom/gyf/barlibrary/BarParams;->onKeyboardListener:Lcom/gyf/barlibrary/OnKeyboardListener;
if-eqz v3, :cond_54
.line 151
iget-object v3, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->navigationBarHeight:I
invoke-static {v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$400(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v3
if-le v2, v3, :cond_49
.line 152
const/4 v1, 0x1
.line 153
:cond_49
iget-object v3, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v3
iget-object v3, v3, Lcom/gyf/barlibrary/BarParams;->onKeyboardListener:Lcom/gyf/barlibrary/OnKeyboardListener;
invoke-interface {v3, v1, v2}, Lcom/gyf/barlibrary/OnKeyboardListener;->onKeyboardChange(ZI)V
.line 155
:cond_54
return-void
.line 157
.end local v2 # "keyboardHeight":I
:cond_55
iget-object v2, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mChildView:Landroid/view/View;
invoke-static {v2}, Lcom/gyf/barlibrary/KeyboardPatch;->access$500(Lcom/gyf/barlibrary/KeyboardPatch;)Landroid/view/View;
move-result-object v2
if-eqz v2, :cond_12b
.line 158
iget-object v2, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v2}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v2
iget-boolean v2, v2, Lcom/gyf/barlibrary/BarParams;->isSupportActionBar:Z
if-eqz v2, :cond_83
.line 159
iget-object v2, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mContentView:Landroid/view/View;
invoke-static {v2}, Lcom/gyf/barlibrary/KeyboardPatch;->access$300(Lcom/gyf/barlibrary/KeyboardPatch;)Landroid/view/View;
move-result-object v2
invoke-virtual {v2}, Landroid/view/View;->getHeight()I
move-result v2
iget-object v3, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->statusBarHeight:I
invoke-static {v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$600(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v3
add-int/2addr v2, v3
iget-object v3, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->actionBarHeight:I
invoke-static {v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$700(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v3
add-int/2addr v2, v3
iget v3, v0, Landroid/graphics/Rect;->bottom:I
sub-int/2addr v2, v3
.local v2, "diff":I
goto :goto_af
.line 160
.end local v2 # "diff":I
:cond_83
iget-object v2, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v2}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v2
iget-boolean v2, v2, Lcom/gyf/barlibrary/BarParams;->fits:Z
if-eqz v2, :cond_a2
.line 161
iget-object v2, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mContentView:Landroid/view/View;
invoke-static {v2}, Lcom/gyf/barlibrary/KeyboardPatch;->access$300(Lcom/gyf/barlibrary/KeyboardPatch;)Landroid/view/View;
move-result-object v2
invoke-virtual {v2}, Landroid/view/View;->getHeight()I
move-result v2
iget-object v3, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->statusBarHeight:I
invoke-static {v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$600(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v3
add-int/2addr v2, v3
iget v3, v0, Landroid/graphics/Rect;->bottom:I
sub-int/2addr v2, v3
.restart local v2 # "diff":I
goto :goto_af
.line 163
.end local v2 # "diff":I
:cond_a2
iget-object v2, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mContentView:Landroid/view/View;
invoke-static {v2}, Lcom/gyf/barlibrary/KeyboardPatch;->access$300(Lcom/gyf/barlibrary/KeyboardPatch;)Landroid/view/View;
move-result-object v2
invoke-virtual {v2}, Landroid/view/View;->getHeight()I
move-result v2
iget v3, v0, Landroid/graphics/Rect;->bottom:I
sub-int/2addr v2, v3
.line 164
.restart local v2 # "diff":I
:goto_af
iget-object v3, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v3
iget-boolean v3, v3, Lcom/gyf/barlibrary/BarParams;->fullScreen:Z
if-eqz v3, :cond_c2
.line 165
iget-object v3, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->navigationBarHeight:I
invoke-static {v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$400(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v3
sub-int v3, v2, v3
.local v3, "keyboardHeight":I
goto :goto_c3
.line 167
.end local v3 # "keyboardHeight":I
:cond_c2
move v3, v2
.line 168
.restart local v3 # "keyboardHeight":I
:goto_c3
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v4
iget-boolean v4, v4, Lcom/gyf/barlibrary/BarParams;->fullScreen:Z
if-eqz v4, :cond_dc
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->navigationBarHeight:I
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$400(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v4
if-ne v2, v4, :cond_dc
.line 169
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->navigationBarHeight:I
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$400(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v4
sub-int/2addr v2, v4
.line 171
:cond_dc
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->keyboardHeightPrevious:I
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$800(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v4
if-eq v3, v4, :cond_201
.line 172
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mContentView:Landroid/view/View;
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$300(Lcom/gyf/barlibrary/KeyboardPatch;)Landroid/view/View;
move-result-object v4
iget-object v5, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->paddingLeft:I
invoke-static {v5}, Lcom/gyf/barlibrary/KeyboardPatch;->access$900(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v5
iget-object v6, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->paddingTop:I
invoke-static {v6}, Lcom/gyf/barlibrary/KeyboardPatch;->access$1000(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v6
iget-object v7, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->paddingRight:I
invoke-static {v7}, Lcom/gyf/barlibrary/KeyboardPatch;->access$1100(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v7
iget-object v8, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->paddingBottom:I
invoke-static {v8}, Lcom/gyf/barlibrary/KeyboardPatch;->access$1200(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v8
add-int/2addr v8, v2
invoke-virtual {v4, v5, v6, v7, v8}, Landroid/view/View;->setPadding(IIII)V
.line 173
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# setter for: Lcom/gyf/barlibrary/KeyboardPatch;->keyboardHeightPrevious:I
invoke-static {v4, v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$802(Lcom/gyf/barlibrary/KeyboardPatch;I)I
.line 174
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v4
iget-object v4, v4, Lcom/gyf/barlibrary/BarParams;->onKeyboardListener:Lcom/gyf/barlibrary/OnKeyboardListener;
if-eqz v4, :cond_201
.line 175
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->navigationBarHeight:I
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$400(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v4
if-le v3, v4, :cond_11e
.line 176
const/4 v1, 0x1
.line 177
:cond_11e
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v4
iget-object v4, v4, Lcom/gyf/barlibrary/BarParams;->onKeyboardListener:Lcom/gyf/barlibrary/OnKeyboardListener;
invoke-interface {v4, v1, v3}, Lcom/gyf/barlibrary/OnKeyboardListener;->onKeyboardChange(ZI)V
goto/16 :goto_201
.line 181
.end local v2 # "diff":I
.end local v3 # "keyboardHeight":I
:cond_12b
iget-object v2, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mContentView:Landroid/view/View;
invoke-static {v2}, Lcom/gyf/barlibrary/KeyboardPatch;->access$300(Lcom/gyf/barlibrary/KeyboardPatch;)Landroid/view/View;
move-result-object v2
invoke-virtual {v2}, Landroid/view/View;->getHeight()I
move-result v2
iget v3, v0, Landroid/graphics/Rect;->bottom:I
sub-int/2addr v2, v3
.line 183
.restart local v2 # "diff":I
iget-object v3, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v3
iget-boolean v3, v3, Lcom/gyf/barlibrary/BarParams;->navigationBarEnable:Z
if-eqz v3, :cond_190
iget-object v3, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v3
iget-boolean v3, v3, Lcom/gyf/barlibrary/BarParams;->navigationBarWithKitkatEnable:Z
if-eqz v3, :cond_190
.line 184
sget v3, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v4, 0x13
if-eq v3, v4, :cond_16e
invoke-static {}, Lcom/gyf/barlibrary/OSUtils;->isEMUI3_1()Z
move-result v3
if-eqz v3, :cond_159
goto :goto_16e
.line 187
:cond_159
iget-object v3, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v3
iget-boolean v3, v3, Lcom/gyf/barlibrary/BarParams;->fullScreen:Z
if-nez v3, :cond_165
.line 188
move v3, v2
.restart local v3 # "keyboardHeight":I
goto :goto_176
.line 190
.end local v3 # "keyboardHeight":I
:cond_165
iget-object v3, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->navigationBarHeight:I
invoke-static {v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$400(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v3
sub-int v3, v2, v3
.restart local v3 # "keyboardHeight":I
goto :goto_176
.line 185
.end local v3 # "keyboardHeight":I
:cond_16e
:goto_16e
iget-object v3, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->navigationBarHeight:I
invoke-static {v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$400(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v3
sub-int v3, v2, v3
.line 192
.restart local v3 # "keyboardHeight":I
:goto_176
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v4
iget-boolean v4, v4, Lcom/gyf/barlibrary/BarParams;->fullScreen:Z
if-eqz v4, :cond_191
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->navigationBarHeight:I
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$400(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v4
if-ne v2, v4, :cond_191
.line 193
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->navigationBarHeight:I
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$400(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v4
sub-int/2addr v2, v4
goto :goto_191
.line 195
.end local v3 # "keyboardHeight":I
:cond_190
move v3, v2
.line 196
.restart local v3 # "keyboardHeight":I
:cond_191
:goto_191
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->keyboardHeightPrevious:I
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$800(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v4
if-eq v3, v4, :cond_201
.line 197
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v4
iget-boolean v4, v4, Lcom/gyf/barlibrary/BarParams;->isSupportActionBar:Z
const/4 v5, 0x0
if-eqz v4, :cond_1bb
.line 198
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mContentView:Landroid/view/View;
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$300(Lcom/gyf/barlibrary/KeyboardPatch;)Landroid/view/View;
move-result-object v4
iget-object v6, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->statusBarHeight:I
invoke-static {v6}, Lcom/gyf/barlibrary/KeyboardPatch;->access$600(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v6
iget-object v7, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->actionBarHeight:I
invoke-static {v7}, Lcom/gyf/barlibrary/KeyboardPatch;->access$700(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v7
add-int/2addr v6, v7
invoke-virtual {v4, v5, v6, v5, v2}, Landroid/view/View;->setPadding(IIII)V
goto :goto_1de
.line 199
:cond_1bb
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v4
iget-boolean v4, v4, Lcom/gyf/barlibrary/BarParams;->fits:Z
if-eqz v4, :cond_1d5
.line 200
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mContentView:Landroid/view/View;
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$300(Lcom/gyf/barlibrary/KeyboardPatch;)Landroid/view/View;
move-result-object v4
iget-object v6, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->statusBarHeight:I
invoke-static {v6}, Lcom/gyf/barlibrary/KeyboardPatch;->access$600(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v6
invoke-virtual {v4, v5, v6, v5, v2}, Landroid/view/View;->setPadding(IIII)V
goto :goto_1de
.line 202
:cond_1d5
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mContentView:Landroid/view/View;
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$300(Lcom/gyf/barlibrary/KeyboardPatch;)Landroid/view/View;
move-result-object v4
invoke-virtual {v4, v5, v5, v5, v2}, Landroid/view/View;->setPadding(IIII)V
.line 203
:goto_1de
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# setter for: Lcom/gyf/barlibrary/KeyboardPatch;->keyboardHeightPrevious:I
invoke-static {v4, v3}, Lcom/gyf/barlibrary/KeyboardPatch;->access$802(Lcom/gyf/barlibrary/KeyboardPatch;I)I
.line 204
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v4
iget-object v4, v4, Lcom/gyf/barlibrary/BarParams;->onKeyboardListener:Lcom/gyf/barlibrary/OnKeyboardListener;
if-eqz v4, :cond_201
.line 205
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->navigationBarHeight:I
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$400(Lcom/gyf/barlibrary/KeyboardPatch;)I
move-result v4
if-le v3, v4, :cond_1f6
.line 206
const/4 v1, 0x1
.line 207
:cond_1f6
iget-object v4, p0, Lcom/gyf/barlibrary/KeyboardPatch$1;->this$0:Lcom/gyf/barlibrary/KeyboardPatch;
# getter for: Lcom/gyf/barlibrary/KeyboardPatch;->mBarParams:Lcom/gyf/barlibrary/BarParams;
invoke-static {v4}, Lcom/gyf/barlibrary/KeyboardPatch;->access$200(Lcom/gyf/barlibrary/KeyboardPatch;)Lcom/gyf/barlibrary/BarParams;
move-result-object v4
iget-object v4, v4, Lcom/gyf/barlibrary/BarParams;->onKeyboardListener:Lcom/gyf/barlibrary/OnKeyboardListener;
invoke-interface {v4, v1, v3}, Lcom/gyf/barlibrary/OnKeyboardListener;->onKeyboardChange(ZI)V
.line 211
:cond_201
:goto_201
return-void
.end method