ChatActivityEnterView$36.smali

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

# interfaces
.implements Lim/tpelyyftgw/ui/components/EmojiView$DragListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->createEmojiView()V
.end annotation

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


# instance fields
.field initialOffset:I

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

.field wasExpanded:Z


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

    return-void
.end method

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

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

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

    return-void
.end method

.method private allowDragging()Z
    .registers 2

    .line 4533
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersTabOpen:Z
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$800(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Z

    move-result v0

    if-eqz v0, :cond_2a

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

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersExpanded:Z
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$1000(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Z

    move-result v0

    if-nez v0, :cond_1c

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

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$300(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Lim/tpelyyftgw/ui/components/EditTextCaption;

    move-result-object v0

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EditTextCaption;->length()I

    move-result v0

    if-gtz v0, :cond_2a

    :cond_1c
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$700(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Lim/tpelyyftgw/ui/components/EmojiView;

    move-result-object v0

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->areThereAnyStickers()Z

    move-result v0

    if-eqz v0, :cond_2a

    const/4 v0, 0x1

    goto :goto_2b

    :cond_2a
    const/4 v0, 0x0

    :goto_2b
    return v0
.end method


# virtual methods
.method public onDrag(I)V
    .registers 6
    .param p1, "offset"    # I

    .line 4520
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->allowDragging()Z

    move-result v0

    if-nez v0, :cond_7

    .line 4521
    return-void

    .line 4523
    :cond_7
    sget-object v0, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;

    iget v0, v0, Landroid/graphics/Point;->x:I

    sget-object v1, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->y:I

    if-le v0, v1, :cond_18

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

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->keyboardHeightLand:I
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9400(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)I

    move-result v0

    goto :goto_1e

    :cond_18
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->keyboardHeight:I
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9500(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)I

    move-result v0

    .line 4524
    .local v0, "origHeight":I
    :goto_1e
    iget v1, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->initialOffset:I

    add-int/2addr p1, v1

    .line 4525
    const/4 v1, 0x0

    invoke-static {p1, v1}, Ljava/lang/Math;->min(II)I

    move-result v1

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

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersExpandedHeight:I
    invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9200(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)I

    move-result v2

    sub-int/2addr v2, v0

    neg-int v2, v2

    invoke-static {v1, v2}, Ljava/lang/Math;->max(II)I

    move-result p1

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

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$700(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Lim/tpelyyftgw/ui/components/EmojiView;

    move-result-object v1

    int-to-float v2, p1

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/EmojiView;->setTranslationY(F)V

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

    int-to-float v2, p1

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->setTranslationY(F)V

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

    int-to-float v2, p1

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersExpandedHeight:I
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9200(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)I

    move-result v3

    sub-int/2addr v3, v0

    neg-int v3, v3

    int-to-float v3, v3

    div-float/2addr v2, v3

    # setter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersExpansionProgress:F
    invoke-static {v1, v2}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9602(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;F)F

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

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9300(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;

    move-result-object v1

    invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;->invalidate()V

    .line 4530
    return-void
.end method

.method public onDragCancel()V
    .registers 5

    .line 4511
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersTabOpen:Z
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$800(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Z

    move-result v0

    if-nez v0, :cond_9

    .line 4512
    return-void

    .line 4514
    :cond_9
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    const/4 v1, 0x0

    # setter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersDragging:Z
    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9102(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;Z)Z

    .line 4515
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->wasExpanded:Z

    const/4 v3, 0x1

    # invokes: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->setStickersExpanded(ZZZ)V
    invoke-static {v0, v2, v3, v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$1200(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;ZZZ)V

    .line 4516
    return-void
.end method

.method public onDragEnd(F)V
    .registers 5
    .param p1, "velocity"    # F

    .line 4498
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->allowDragging()Z

    move-result v0

    if-nez v0, :cond_7

    .line 4499
    return-void

    .line 4501
    :cond_7
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    const/4 v1, 0x0

    # setter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersDragging:Z
    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9102(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;Z)Z

    .line 4502
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->wasExpanded:Z

    const/4 v1, 0x1

    if-eqz v0, :cond_1d

    const/high16 v0, 0x43480000    # 200.0f

    invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v0

    int-to-float v0, v0

    cmpl-float v0, p1, v0

    if-gez v0, :cond_4e

    :cond_1d
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->wasExpanded:Z

    if-nez v0, :cond_2c

    const/high16 v0, -0x3cb80000    # -200.0f

    invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v0

    int-to-float v0, v0

    cmpg-float v0, p1, v0

    if-lez v0, :cond_4e

    :cond_2c
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->wasExpanded:Z

    if-eqz v0, :cond_3d

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

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersExpansionProgress:F
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9600(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)F

    move-result v0

    const v2, 0x3f19999a    # 0.6f

    cmpg-float v0, v0, v2

    if-lez v0, :cond_4e

    :cond_3d
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->wasExpanded:Z

    if-nez v0, :cond_57

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

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersExpansionProgress:F
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9600(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)F

    move-result v0

    const v2, 0x3ecccccd    # 0.4f

    cmpl-float v0, v0, v2

    if-ltz v0, :cond_57

    .line 4503
    :cond_4e
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->wasExpanded:Z

    xor-int/2addr v2, v1

    # invokes: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->setStickersExpanded(ZZZ)V
    invoke-static {v0, v2, v1, v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$1200(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;ZZZ)V

    goto :goto_5e

    .line 4505
    :cond_57
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->wasExpanded:Z

    # invokes: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->setStickersExpanded(ZZZ)V
    invoke-static {v0, v2, v1, v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$1200(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;ZZZ)V

    .line 4507
    :goto_5e
    return-void
.end method

.method public onDragStart()V
    .registers 7

    .line 4472
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->allowDragging()Z

    move-result v0

    if-nez v0, :cond_7

    .line 4473
    return-void

    .line 4475
    :cond_7
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersExpansionAnim:Landroid/animation/Animator;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9000(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Landroid/animation/Animator;

    move-result-object v0

    if-eqz v0, :cond_18

    .line 4476
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersExpansionAnim:Landroid/animation/Animator;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9000(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Landroid/animation/Animator;

    move-result-object v0

    invoke-virtual {v0}, Landroid/animation/Animator;->cancel()V

    .line 4478
    :cond_18
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    const/4 v1, 0x1

    # setter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersDragging:Z
    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9102(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;Z)Z

    .line 4479
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersExpanded:Z
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$1000(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Z

    move-result v0

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

    .line 4480
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # setter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersExpanded:Z
    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$1002(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;Z)Z

    .line 4481
    invoke-static {}, Lim/tpelyyftgw/messenger/NotificationCenter;->getGlobalInstance()Lim/tpelyyftgw/messenger/NotificationCenter;

    move-result-object v0

    sget v2, Lim/tpelyyftgw/messenger/NotificationCenter;->stopAllHeavyOperations:I

    new-array v3, v1, [Ljava/lang/Object;

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    const/4 v4, 0x0

    aput-object v1, v3, v4

    invoke-virtual {v0, v2, v3}, Lim/tpelyyftgw/messenger/NotificationCenter;->postNotificationName(I[Ljava/lang/Object;)V

    .line 4482
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9300(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;

    move-result-object v1

    invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;->getHeight()I

    move-result v1

    sget v2, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x15

    if-lt v2, v3, :cond_4f

    sget v4, Lim/tpelyyftgw/messenger/AndroidUtilities;->statusBarHeight:I

    :cond_4f
    sub-int/2addr v1, v4

    invoke-static {}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->getCurrentActionBarHeight()I

    move-result v2

    sub-int/2addr v1, v2

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

    invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->getHeight()I

    move-result v2

    sub-int/2addr v1, v2

    sget-object v2, Lim/tpelyyftgw/ui/actionbar/Theme;->chat_composeShadowDrawable:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v2}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I

    move-result v2

    add-int/2addr v1, v2

    # setter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersExpandedHeight:I
    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9202(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;I)I

    .line 4483
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->searchingType:I
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$1100(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)I

    move-result v0

    const/4 v1, 0x2

    if-ne v0, v1, :cond_9a

    .line 4484
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersExpandedHeight:I
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9200(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)I

    move-result v2

    const/high16 v3, 0x42f00000    # 120.0f

    invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v3

    sget-object v4, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;

    iget v4, v4, Landroid/graphics/Point;->x:I

    sget-object v5, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;

    iget v5, v5, Landroid/graphics/Point;->y:I

    if-le v4, v5, :cond_8c

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

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->keyboardHeightLand:I
    invoke-static {v4}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9400(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)I

    move-result v4

    goto :goto_92

    :cond_8c
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->keyboardHeight:I
    invoke-static {v4}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9500(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)I

    move-result v4

    :goto_92
    add-int/2addr v3, v4

    invoke-static {v2, v3}, Ljava/lang/Math;->min(II)I

    move-result v2

    # setter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersExpandedHeight:I
    invoke-static {v0, v2}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9202(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;I)I

    .line 4486
    :cond_9a
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$700(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Lim/tpelyyftgw/ui/components/EmojiView;

    move-result-object v0

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

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

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->stickersExpandedHeight:I
    invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9200(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)I

    move-result v2

    iput v2, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 4487
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$700(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Lim/tpelyyftgw/ui/components/EmojiView;

    move-result-object v0

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lim/tpelyyftgw/ui/components/EmojiView;->setLayerType(ILandroid/graphics/Paint;)V

    .line 4488
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9300(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;

    move-result-object v0

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;->requestLayout()V

    .line 4489
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$9300(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;

    move-result-object v0

    new-instance v1, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$ScrimDrawable;

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

    invoke-direct {v1, v2}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$ScrimDrawable;-><init>(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)V

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;->setForeground(Landroid/graphics/drawable/Drawable;)V

    .line 4490
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->getTranslationY()F

    move-result v0

    float-to-int v0, v0

    iput v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->initialOffset:I

    .line 4491
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->delegate:Lim/tpelyyftgw/ui/components/ChatActivityEnterView$ChatActivityEnterViewDelegate;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$1500(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Lim/tpelyyftgw/ui/components/ChatActivityEnterView$ChatActivityEnterViewDelegate;

    move-result-object v0

    if-eqz v0, :cond_e9

    .line 4492
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$36;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    # getter for: Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->delegate:Lim/tpelyyftgw/ui/components/ChatActivityEnterView$ChatActivityEnterViewDelegate;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$1500(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Lim/tpelyyftgw/ui/components/ChatActivityEnterView$ChatActivityEnterViewDelegate;

    move-result-object v0

    invoke-interface {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$ChatActivityEnterViewDelegate;->onStickersExpandedChange()V

    .line 4494
    :cond_e9
    return-void
.end method