EmojiView$SearchField$1.smali
.class Lim/tpelyyftgw/ui/components/EmojiView$SearchField$1;
.super Lim/tpelyyftgw/ui/components/EditTextBoldCursor;
.source "EmojiView.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/ui/components/EmojiView$SearchField;-><init>(Lim/tpelyyftgw/ui/components/EmojiView;Landroid/content/Context;I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$1:Lim/tpelyyftgw/ui/components/EmojiView$SearchField;
.field final synthetic val$this$0:Lim/tpelyyftgw/ui/components/EmojiView;
.field final synthetic val$type:I
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/components/EmojiView$SearchField;Landroid/content/Context;Lim/tpelyyftgw/ui/components/EmojiView;I)V
.registers 5
.param p1, "this$1" # Lim/tpelyyftgw/ui/components/EmojiView$SearchField;
.param p2, "context" # Landroid/content/Context;
.line 405
iput-object p1, p0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField$1;->this$1:Lim/tpelyyftgw/ui/components/EmojiView$SearchField;
iput-object p3, p0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField$1;->val$this$0:Lim/tpelyyftgw/ui/components/EmojiView;
iput p4, p0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField$1;->val$type:I
invoke-direct {p0, p2}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;-><init>(Landroid/content/Context;)V
return-void
.end method
# virtual methods
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
.registers 5
.param p1, "event" # Landroid/view/MotionEvent;
.line 408
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
move-result v0
if-nez v0, :cond_60
.line 409
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField$1;->this$1:Lim/tpelyyftgw/ui/components/EmojiView$SearchField;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->access$000(Lim/tpelyyftgw/ui/components/EmojiView;)Lim/tpelyyftgw/ui/components/EmojiView$EmojiViewDelegate;
move-result-object v0
invoke-interface {v0}, Lim/tpelyyftgw/ui/components/EmojiView$EmojiViewDelegate;->isSearchOpened()Z
move-result v0
if-nez v0, :cond_1d
.line 410
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField$1;->this$1:Lim/tpelyyftgw/ui/components/EmojiView$SearchField;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField$1;->this$1:Lim/tpelyyftgw/ui/components/EmojiView$SearchField;
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/EmojiView;->access$800(Lim/tpelyyftgw/ui/components/EmojiView;Lim/tpelyyftgw/ui/components/EmojiView$SearchField;)V
.line 412
:cond_1d
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField$1;->this$1:Lim/tpelyyftgw/ui/components/EmojiView$SearchField;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->access$000(Lim/tpelyyftgw/ui/components/EmojiView;)Lim/tpelyyftgw/ui/components/EmojiView$EmojiViewDelegate;
move-result-object v0
iget v1, p0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField$1;->val$type:I
const/4 v2, 0x1
if-ne v1, v2, :cond_2b
const/4 v2, 0x2
:cond_2b
invoke-interface {v0, v2}, Lim/tpelyyftgw/ui/components/EmojiView$EmojiViewDelegate;->onSearchOpenClose(I)V
.line 413
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField$1;->this$1:Lim/tpelyyftgw/ui/components/EmojiView$SearchField;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiView$SearchField;->access$900(Lim/tpelyyftgw/ui/components/EmojiView$SearchField;)Lim/tpelyyftgw/ui/components/EditTextBoldCursor;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->requestFocus()Z
.line 414
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField$1;->this$1:Lim/tpelyyftgw/ui/components/EmojiView$SearchField;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiView$SearchField;->access$900(Lim/tpelyyftgw/ui/components/EmojiView$SearchField;)Lim/tpelyyftgw/ui/components/EditTextBoldCursor;
move-result-object v0
invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->showKeyboard(Landroid/view/View;)Z
.line 415
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField$1;->this$1:Lim/tpelyyftgw/ui/components/EmojiView$SearchField;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->access$1000(Lim/tpelyyftgw/ui/components/EmojiView;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v0
if-eqz v0, :cond_60
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField$1;->this$1:Lim/tpelyyftgw/ui/components/EmojiView$SearchField;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->access$1000(Lim/tpelyyftgw/ui/components/EmojiView;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getVisibility()I
move-result v0
if-nez v0, :cond_60
.line 416
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField$1;->this$1:Lim/tpelyyftgw/ui/components/EmojiView$SearchField;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/EmojiView$SearchField;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
const/4 v1, 0x0
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/EmojiView;->access$1100(Lim/tpelyyftgw/ui/components/EmojiView;Z)V
.line 419
:cond_60
invoke-super {p0, p1}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->onTouchEvent(Landroid/view/MotionEvent;)Z
move-result v0
return v0
.end method