PopupNotificationActivity$2.smali

.class Lim/tpelyyftgw/ui/PopupNotificationActivity$2;
.super Landroid/widget/RelativeLayout;
.source "PopupNotificationActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/PopupNotificationActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

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


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


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

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/PopupNotificationActivity;Landroid/content/Context;)V
    .registers 3
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/PopupNotificationActivity;
    .param p2, "x0"    # Landroid/content/Context;

    .line 280
    iput-object p1, p0, Lim/tpelyyftgw/ui/PopupNotificationActivity$2;->this$0:Lim/tpelyyftgw/ui/PopupNotificationActivity;

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

    return-void
.end method


# virtual methods
.method protected onLayout(ZIIII)V
    .registers 12
    .param p1, "changed"    # Z
    .param p2, "l"    # I
    .param p3, "t"    # I
    .param p4, "r"    # I
    .param p5, "b"    # I

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

    .line 297
    const/4 v0, 0x0

    .local v0, "a":I
    :goto_4
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/PopupNotificationActivity$2;->getChildCount()I

    move-result v1

    if-ge v0, v1, :cond_3f

    .line 298
    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/PopupNotificationActivity$2;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    .line 299
    .local v1, "v":Landroid/view/View;
    invoke-virtual {v1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v2

    instance-of v2, v2, Ljava/lang/String;

    if-eqz v2, :cond_3c

    .line 300
    invoke-virtual {v1}, Landroid/view/View;->getLeft()I

    move-result v2

    iget-object v3, p0, Lim/tpelyyftgw/ui/PopupNotificationActivity$2;->this$0:Lim/tpelyyftgw/ui/PopupNotificationActivity;

    invoke-static {v3}, Lim/tpelyyftgw/ui/PopupNotificationActivity;->access$000(Lim/tpelyyftgw/ui/PopupNotificationActivity;)Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    move-result-object v3

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

    move-result v3

    const/high16 v4, 0x40400000    # 3.0f

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

    move-result v4

    add-int/2addr v3, v4

    invoke-virtual {v1}, Landroid/view/View;->getRight()I

    move-result v4

    iget-object v5, p0, Lim/tpelyyftgw/ui/PopupNotificationActivity$2;->this$0:Lim/tpelyyftgw/ui/PopupNotificationActivity;

    invoke-static {v5}, Lim/tpelyyftgw/ui/PopupNotificationActivity;->access$000(Lim/tpelyyftgw/ui/PopupNotificationActivity;)Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    move-result-object v5

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

    move-result v5

    invoke-virtual {v1, v2, v3, v4, v5}, Landroid/view/View;->layout(IIII)V

    .line 297
    .end local v1    # "v":Landroid/view/View;
    :cond_3c
    add-int/lit8 v0, v0, 0x1

    goto :goto_4

    .line 303
    .end local v0    # "a":I
    :cond_3f
    return-void
.end method

.method protected onMeasure(II)V
    .registers 10
    .param p1, "widthMeasureSpec"    # I
    .param p2, "heightMeasureSpec"    # I

    .line 283
    invoke-super {p0, p1, p2}, Landroid/widget/RelativeLayout;->onMeasure(II)V

    .line 284
    iget-object v0, p0, Lim/tpelyyftgw/ui/PopupNotificationActivity$2;->this$0:Lim/tpelyyftgw/ui/PopupNotificationActivity;

    invoke-static {v0}, Lim/tpelyyftgw/ui/PopupNotificationActivity;->access$000(Lim/tpelyyftgw/ui/PopupNotificationActivity;)Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    move-result-object v0

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

    move-result v0

    .line 285
    .local v0, "w":I
    iget-object v1, p0, Lim/tpelyyftgw/ui/PopupNotificationActivity$2;->this$0:Lim/tpelyyftgw/ui/PopupNotificationActivity;

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

    move-result-object v1

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

    move-result v1

    .line 286
    .local v1, "h":I
    const/4 v2, 0x0

    .local v2, "a":I
    :goto_18
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/PopupNotificationActivity$2;->getChildCount()I

    move-result v3

    if-ge v2, v3, :cond_42

    .line 287
    invoke-virtual {p0, v2}, Lim/tpelyyftgw/ui/PopupNotificationActivity$2;->getChildAt(I)Landroid/view/View;

    move-result-object v3

    .line 288
    .local v3, "v":Landroid/view/View;
    invoke-virtual {v3}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v4

    instance-of v4, v4, Ljava/lang/String;

    if-eqz v4, :cond_3f

    .line 289
    const/high16 v4, 0x40000000    # 2.0f

    invoke-static {v0, v4}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v5

    const/high16 v6, 0x40400000    # 3.0f

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

    move-result v6

    sub-int v6, v1, v6

    invoke-static {v6, v4}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v4

    invoke-virtual {v3, v5, v4}, Landroid/view/View;->measure(II)V

    .line 286
    .end local v3    # "v":Landroid/view/View;
    :cond_3f
    add-int/lit8 v2, v2, 0x1

    goto :goto_18

    .line 292
    .end local v2    # "a":I
    :cond_42
    return-void
.end method