EmojiViewV2$27.smali

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

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/EmojiViewV2;-><init>(ZZLandroid/content/Context;ZLim/tpelyyftgw/tgnet/TLRPC$ChatFull;)V
.end annotation

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


# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;


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

    return-void
.end method

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

    .line 1821
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$27;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;

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

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 14
    .param p1, "v"    # Landroid/view/View;

    .line 1825
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$27;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$4800(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Landroidx/viewpager/widget/ViewPager;

    move-result-object v0

    invoke-virtual {v0}, Landroidx/viewpager/widget/ViewPager;->getCurrentItem()I

    move-result v0

    .line 1826
    .local v0, "currentItem":I
    if-nez v0, :cond_13

    .line 1827
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$27;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$4200(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;

    move-result-object v1

    .local v1, "currentField":Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;
    goto :goto_23

    .line 1828
    .end local v1    # "currentField":Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;
    :cond_13
    const/4 v1, 0x1

    if-ne v0, v1, :cond_1d

    .line 1829
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$27;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$5600(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;

    move-result-object v1

    .restart local v1    # "currentField":Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;
    goto :goto_23

    .line 1831
    .end local v1    # "currentField":Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;
    :cond_1d
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$27;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$7400(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;

    move-result-object v1

    .line 1833
    .restart local v1    # "currentField":Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;
    :goto_23
    if-nez v1, :cond_26

    .line 1834
    return-void

    .line 1836
    :cond_26
    # getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;->searchEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;->access$900(Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;)Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    move-result-object v2

    invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->requestFocus()Z

    .line 1837
    const-wide/16 v3, 0x0

    const-wide/16 v5, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    const/4 v9, 0x0

    const/4 v10, 0x0

    invoke-static/range {v3 .. v10}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;

    move-result-object v2

    .line 1838
    .local v2, "event":Landroid/view/MotionEvent;
    # getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;->searchEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;->access$900(Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;)Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    move-result-object v3

    invoke-virtual {v3, v2}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->onTouchEvent(Landroid/view/MotionEvent;)Z

    .line 1839
    invoke-virtual {v2}, Landroid/view/MotionEvent;->recycle()V

    .line 1840
    const-wide/16 v4, 0x0

    const-wide/16 v6, 0x0

    const/4 v8, 0x1

    const/4 v10, 0x0

    const/4 v11, 0x0

    invoke-static/range {v4 .. v11}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;

    move-result-object v2

    .line 1841
    # getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;->searchEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;->access$900(Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;)Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    move-result-object v3

    invoke-virtual {v3, v2}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->onTouchEvent(Landroid/view/MotionEvent;)Z

    .line 1842
    invoke-virtual {v2}, Landroid/view/MotionEvent;->recycle()V

    .line 1843
    return-void
.end method