KPSwitchConflictUtil$4.smali
.class final Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;
.super Ljava/lang/Object;
.source "KPSwitchConflictUtil.java"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil;->bindSubPanel(Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SubPanelAndTrigger;[Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SubPanelAndTrigger;Landroid/view/View;Landroid/view/View;Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SwitchClickListener;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# instance fields
.field final synthetic val$boundTriggerSubPanelView:Landroid/view/View;
.field final synthetic val$focusView:Landroid/view/View;
.field final synthetic val$panelLayout:Landroid/view/View;
.field final synthetic val$subPanelAndTriggers:[Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SubPanelAndTrigger;
.field final synthetic val$switchClickListener:Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SwitchClickListener;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Landroid/view/View;Landroid/view/View;Landroid/view/View;[Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SubPanelAndTrigger;Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SwitchClickListener;)V
.registers 6
.line 290
iput-object p1, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$panelLayout:Landroid/view/View;
iput-object p2, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$boundTriggerSubPanelView:Landroid/view/View;
iput-object p3, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$focusView:Landroid/view/View;
iput-object p4, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$subPanelAndTriggers:[Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SubPanelAndTrigger;
iput-object p5, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$switchClickListener:Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SwitchClickListener;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onClick(Landroid/view/View;)V
.registers 5
.param p1, "v" # Landroid/view/View;
.line 293
const/4 v0, 0x0
.line 294
.local v0, "switchToPanel":Ljava/lang/Boolean;
iget-object v1, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$panelLayout:Landroid/view/View;
invoke-virtual {v1}, Landroid/view/View;->getVisibility()I
move-result v1
if-nez v1, :cond_26
.line 297
iget-object v1, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$boundTriggerSubPanelView:Landroid/view/View;
invoke-virtual {v1}, Landroid/view/View;->getVisibility()I
move-result v1
if-nez v1, :cond_1e
.line 301
iget-object v1, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$panelLayout:Landroid/view/View;
iget-object v2, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$focusView:Landroid/view/View;
invoke-static {v1, v2}, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil;->showKeyboard(Landroid/view/View;Landroid/view/View;)V
.line 302
const/4 v1, 0x0
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
goto :goto_37
.line 307
:cond_1e
iget-object v1, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$boundTriggerSubPanelView:Landroid/view/View;
iget-object v2, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$subPanelAndTriggers:[Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SubPanelAndTrigger;
# invokes: Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil;->showBoundTriggerSubPanel(Landroid/view/View;[Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SubPanelAndTrigger;)V
invoke-static {v1, v2}, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil;->access$000(Landroid/view/View;[Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SubPanelAndTrigger;)V
goto :goto_37
.line 312
:cond_26
iget-object v1, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$panelLayout:Landroid/view/View;
invoke-static {v1}, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil;->showPanel(Landroid/view/View;)V
.line 313
const/4 v1, 0x1
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
.line 316
iget-object v1, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$boundTriggerSubPanelView:Landroid/view/View;
iget-object v2, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$subPanelAndTriggers:[Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SubPanelAndTrigger;
# invokes: Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil;->showBoundTriggerSubPanel(Landroid/view/View;[Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SubPanelAndTrigger;)V
invoke-static {v1, v2}, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil;->access$000(Landroid/view/View;[Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SubPanelAndTrigger;)V
.line 319
:goto_37
iget-object v1, p0, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$4;->val$switchClickListener:Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SwitchClickListener;
if-eqz v1, :cond_44
if-eqz v0, :cond_44
.line 320
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
move-result v2
invoke-interface {v1, v2}, Lcn/dreamtobe/kpswitch/util/KPSwitchConflictUtil$SwitchClickListener;->onClickSwitch(Z)V
.line 322
:cond_44
return-void
.end method