ChatActivityEnterView$8.smali

.class Lim/tpelyyftgw/ui/components/ChatActivityEnterView$8;
.super Landroid/widget/FrameLayout;
.source "ChatActivityEnterView.java"


# 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 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;Landroid/content/Context;)V
    .registers 3
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/components/ChatActivityEnterView;
    .param p2, "arg0"    # Landroid/content/Context;

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

    invoke-direct {p0, p2}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    return-void
.end method


# virtual methods
.method protected onLayout(ZIIII)V
    .registers 11
    .param p1, "changed"    # Z
    .param p2, "left"    # I
    .param p3, "top"    # I
    .param p4, "right"    # I
    .param p5, "bottom"    # I

    .line 912
    invoke-super/range {p0 .. p5}, Landroid/widget/FrameLayout;->onLayout(ZIIII)V

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

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$4400(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Landroid/widget/ImageView;

    move-result-object v0

    if-eqz v0, :cond_5c

    .line 914
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$8;->getMeasuredWidth()I

    move-result v0

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

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$4500(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Landroid/widget/ImageView;

    move-result-object v1

    const/high16 v2, 0x42400000    # 48.0f

    if-eqz v1, :cond_28

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

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$4500(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Landroid/widget/ImageView;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/ImageView;->getVisibility()I

    move-result v1

    if-nez v1, :cond_28

    const/high16 v1, 0x42c00000    # 96.0f

    goto :goto_2a

    :cond_28
    const/high16 v1, 0x42400000    # 48.0f

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

    move-result v1

    sub-int/2addr v0, v1

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

    move-result v1

    sub-int/2addr v0, v1

    .line 915
    .local v0, "x":I
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$8;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$4400(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Landroid/widget/ImageView;

    move-result-object v1

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

    invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$4400(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Landroid/widget/ImageView;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/ImageView;->getTop()I

    move-result v2

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

    invoke-static {v3}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$4400(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Landroid/widget/ImageView;

    move-result-object v3

    invoke-virtual {v3}, Landroid/widget/ImageView;->getMeasuredWidth()I

    move-result v3

    add-int/2addr v3, v0

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

    invoke-static {v4}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$4400(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Landroid/widget/ImageView;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/ImageView;->getBottom()I

    move-result v4

    invoke-virtual {v1, v0, v2, v3, v4}, Landroid/widget/ImageView;->layout(IIII)V

    .line 917
    .end local v0    # "x":I
    :cond_5c
    return-void
.end method