ChatActivityEnterView$11.smali

.class Lim/tpelyyftgw/ui/components/ChatActivityEnterView$11;
.super Ljava/lang/Object;
.source "ChatActivityEnterView.java"

# interfaces
.implements Landroid/widget/TextView$OnEditorActionListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/ChatActivityEnterView;-><init>(Landroid/app/Activity;Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;Lim/tpelyyftgw/ui/ChatActivity;Z)V
.end annotation

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


# instance fields
.field ctrlPressed:Z

.field final synthetic this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)V
    .registers 3
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    .line 1074
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$11;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

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

    .line 1076
    const/4 v0, 0x0

    iput-boolean v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$11;->ctrlPressed:Z

    return-void
.end method


# virtual methods
.method public onEditorAction(Landroid/widget/TextView;ILandroid/view/KeyEvent;)Z
    .registers 7
    .param p1, "textView"    # Landroid/widget/TextView;
    .param p2, "i"    # I
    .param p3, "keyEvent"    # Landroid/view/KeyEvent;

    .line 1080
    const/4 v0, 0x1

    const/4 v1, 0x4

    if-ne p2, v1, :cond_a

    .line 1081
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$11;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$5400(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)V

    .line 1082
    return v0

    .line 1083
    :cond_a
    const/4 v1, 0x0

    if-eqz p3, :cond_41

    if-nez p2, :cond_41

    .line 1084
    iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$11;->ctrlPressed:Z

    if-nez v2, :cond_1b

    iget-object v2, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$11;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$5100(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Z

    move-result v2

    if-eqz v2, :cond_2f

    :cond_1b
    invoke-virtual {p3}, Landroid/view/KeyEvent;->getAction()I

    move-result v2

    if-nez v2, :cond_2f

    iget-object v2, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$11;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$5200(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Lim/tpelyyftgw/messenger/MessageObject;

    move-result-object v2

    if-nez v2, :cond_2f

    .line 1085
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$11;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$5400(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)V

    .line 1086
    return v0

    .line 1087
    :cond_2f
    const/16 v2, 0x71

    if-eq p2, v2, :cond_37

    const/16 v2, 0x72

    if-ne p2, v2, :cond_41

    .line 1088
    :cond_37
    invoke-virtual {p3}, Landroid/view/KeyEvent;->getAction()I

    move-result v2

    if-nez v2, :cond_3e

    const/4 v1, 0x1

    :cond_3e
    iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$11;->ctrlPressed:Z

    .line 1089
    return v0

    .line 1092
    :cond_41
    return v1
.end method