AlertDialog$1.smali

.class Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;
.super Landroid/widget/LinearLayout;
.source "AlertDialog.java"


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

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


# instance fields
.field private inLayout:Z

.field final synthetic this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;


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

    return-void
.end method

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

    .line 183
    iput-object p1, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

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

    return-void
.end method


# virtual methods
.method public hasOverlappingRendering()Z
    .registers 2

    .line 357
    const/4 v0, 0x0

    return v0
.end method

.method public synthetic lambda$onLayout$1$AlertDialog$1()V
    .registers 6

    .line 337
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->titleTextView:Landroid/widget/TextView;
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$400(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v1

    const/4 v2, 0x1

    const/4 v3, 0x0

    if-eqz v1, :cond_22

    iget-object v1, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->contentScrollView:Landroid/widget/ScrollView;
    invoke-static {v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$900(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/ScrollView;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/ScrollView;->getScrollY()I

    move-result v1

    iget-object v4, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->scrollContainer:Landroid/widget/LinearLayout;
    invoke-static {v4}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1700(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/LinearLayout;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/LinearLayout;->getTop()I

    move-result v4

    if-le v1, v4, :cond_22

    const/4 v1, 0x1

    goto :goto_23

    :cond_22
    const/4 v1, 0x0

    :goto_23
    # invokes: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->runShadowAnimation(IZ)V
    invoke-static {v0, v3, v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1800(Lim/tpelyyftgw/ui/actionbar/AlertDialog;IZ)V

    .line 338
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    iget-object v1, v0, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->buttonsLayout:Landroid/widget/FrameLayout;

    if-eqz v1, :cond_4e

    iget-object v1, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->contentScrollView:Landroid/widget/ScrollView;
    invoke-static {v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$900(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/ScrollView;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/ScrollView;->getScrollY()I

    move-result v1

    iget-object v4, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->contentScrollView:Landroid/widget/ScrollView;
    invoke-static {v4}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$900(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/ScrollView;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/ScrollView;->getHeight()I

    move-result v4

    add-int/2addr v1, v4

    iget-object v4, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->scrollContainer:Landroid/widget/LinearLayout;
    invoke-static {v4}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1700(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/LinearLayout;

    move-result-object v4

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

    move-result v4

    if-ge v1, v4, :cond_4e

    const/4 v3, 0x1

    :cond_4e
    # invokes: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->runShadowAnimation(IZ)V
    invoke-static {v0, v2, v3}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1800(Lim/tpelyyftgw/ui/actionbar/AlertDialog;IZ)V

    .line 339
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->contentScrollView:Landroid/widget/ScrollView;
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$900(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/ScrollView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ScrollView;->invalidate()V

    .line 340
    return-void
.end method

.method public synthetic lambda$onMeasure$0$AlertDialog$1()V
    .registers 7

    .line 304
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

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

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

    # setter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->lastScreenWidth:I
    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1502(Lim/tpelyyftgw/ui/actionbar/AlertDialog;I)I

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

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

    const/high16 v1, 0x42600000    # 56.0f

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

    move-result v1

    sub-int/2addr v0, v1

    .line 307
    .local v0, "calculatedWidth":I
    invoke-static {}, Lim/tpelyyftgw/messenger/AndroidUtilities;->isTablet()Z

    move-result v1

    if-eqz v1, :cond_2e

    .line 308
    invoke-static {}, Lim/tpelyyftgw/messenger/AndroidUtilities;->isSmallTablet()Z

    move-result v1

    if-eqz v1, :cond_27

    .line 309
    const/high16 v1, 0x43df0000    # 446.0f

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

    move-result v1

    .local v1, "maxWidth":I
    goto :goto_34

    .line 311
    .end local v1    # "maxWidth":I
    :cond_27
    const/high16 v1, 0x43f80000    # 496.0f

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

    move-result v1

    .restart local v1    # "maxWidth":I
    goto :goto_34

    .line 314
    .end local v1    # "maxWidth":I
    :cond_2e
    const/high16 v1, 0x43b20000    # 356.0f

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

    move-result v1

    .line 317
    .restart local v1    # "maxWidth":I
    :goto_34
    iget-object v2, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    invoke-virtual {v2}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->getWindow()Landroid/view/Window;

    move-result-object v2

    .line 318
    .local v2, "window":Landroid/view/Window;
    new-instance v3, Landroid/view/WindowManager$LayoutParams;

    invoke-direct {v3}, Landroid/view/WindowManager$LayoutParams;-><init>()V

    .line 319
    .local v3, "params":Landroid/view/WindowManager$LayoutParams;
    invoke-virtual {v2}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/view/WindowManager$LayoutParams;->copyFrom(Landroid/view/WindowManager$LayoutParams;)I

    .line 320
    invoke-static {v1, v0}, Ljava/lang/Math;->min(II)I

    move-result v4

    iget-object v5, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->backgroundPaddings:Landroid/graphics/Rect;
    invoke-static {v5}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1900(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/graphics/Rect;

    move-result-object v5

    iget v5, v5, Landroid/graphics/Rect;->left:I

    add-int/2addr v4, v5

    iget-object v5, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->backgroundPaddings:Landroid/graphics/Rect;
    invoke-static {v5}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1900(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/graphics/Rect;

    move-result-object v5

    iget v5, v5, Landroid/graphics/Rect;->right:I

    add-int/2addr v4, v5

    iput v4, v3, Landroid/view/WindowManager$LayoutParams;->width:I

    .line 321
    invoke-virtual {v2, v3}, Landroid/view/Window;->setAttributes(Landroid/view/WindowManager$LayoutParams;)V

    .line 322
    return-void
.end method

.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    .registers 4
    .param p1, "ev"    # Landroid/view/MotionEvent;

    .line 198
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewStyle:I
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$000(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)I

    move-result v0

    const/4 v1, 0x3

    if-eq v0, v1, :cond_18

    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewStyle:I
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$000(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_13

    goto :goto_18

    .line 202
    :cond_13
    invoke-super {p0, p1}, Landroid/widget/LinearLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0

    .line 199
    :cond_18
    :goto_18
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # invokes: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->showCancelAlert()V
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$100(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)V

    .line 200
    const/4 v0, 0x0

    return v0
.end method

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

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

    .line 330
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewStyle:I
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$000(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)I

    move-result v0

    const/4 v1, 0x3

    if-eq v0, v1, :cond_4d

    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewStyle:I
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$000(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_16

    goto :goto_4d

    .line 334
    :cond_16
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->contentScrollView:Landroid/widget/ScrollView;
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$900(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/ScrollView;

    move-result-object v0

    if-eqz v0, :cond_8a

    .line 335
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->onScrollChangedListener:Landroid/view/ViewTreeObserver$OnScrollChangedListener;
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1600(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/view/ViewTreeObserver$OnScrollChangedListener;

    move-result-object v0

    if-nez v0, :cond_43

    .line 336
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    new-instance v1, Lim/tpelyyftgw/ui/actionbar/-$$Lambda$AlertDialog$1$ZBbeY830Q9gRzzZRZOc9IzGBAs8;

    invoke-direct {v1, p0}, Lim/tpelyyftgw/ui/actionbar/-$$Lambda$AlertDialog$1$ZBbeY830Q9gRzzZRZOc9IzGBAs8;-><init>(Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;)V

    # setter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->onScrollChangedListener:Landroid/view/ViewTreeObserver$OnScrollChangedListener;
    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1602(Lim/tpelyyftgw/ui/actionbar/AlertDialog;Landroid/view/ViewTreeObserver$OnScrollChangedListener;)Landroid/view/ViewTreeObserver$OnScrollChangedListener;

    .line 341
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->contentScrollView:Landroid/widget/ScrollView;
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$900(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/ScrollView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ScrollView;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v0

    iget-object v1, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->onScrollChangedListener:Landroid/view/ViewTreeObserver$OnScrollChangedListener;
    invoke-static {v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1600(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/view/ViewTreeObserver$OnScrollChangedListener;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/view/ViewTreeObserver;->addOnScrollChangedListener(Landroid/view/ViewTreeObserver$OnScrollChangedListener;)V

    .line 343
    :cond_43
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->onScrollChangedListener:Landroid/view/ViewTreeObserver$OnScrollChangedListener;
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1600(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/view/ViewTreeObserver$OnScrollChangedListener;

    move-result-object v0

    invoke-interface {v0}, Landroid/view/ViewTreeObserver$OnScrollChangedListener;->onScrollChanged()V

    goto :goto_8b

    .line 331
    :cond_4d
    :goto_4d
    sub-int v0, p4, p2

    iget-object v1, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewContainer:Landroid/widget/FrameLayout;
    invoke-static {v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$200(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/FrameLayout;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/FrameLayout;->getMeasuredWidth()I

    move-result v1

    sub-int/2addr v0, v1

    div-int/lit8 v0, v0, 0x2

    .line 332
    .local v0, "x":I
    sub-int v1, p5, p3

    iget-object v2, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewContainer:Landroid/widget/FrameLayout;
    invoke-static {v2}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$200(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/FrameLayout;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/FrameLayout;->getMeasuredHeight()I

    move-result v2

    sub-int/2addr v1, v2

    div-int/lit8 v1, v1, 0x2

    .line 333
    .local v1, "y":I
    iget-object v2, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewContainer:Landroid/widget/FrameLayout;
    invoke-static {v2}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$200(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/FrameLayout;

    move-result-object v2

    iget-object v3, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewContainer:Landroid/widget/FrameLayout;
    invoke-static {v3}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$200(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/FrameLayout;

    move-result-object v3

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

    move-result v3

    add-int/2addr v3, v0

    iget-object v4, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewContainer:Landroid/widget/FrameLayout;
    invoke-static {v4}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$200(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/FrameLayout;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/FrameLayout;->getMeasuredHeight()I

    move-result v4

    add-int/2addr v4, v1

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

    .line 334
    .end local v0    # "x":I
    .end local v1    # "y":I
    :cond_8a
    nop

    .line 345
    :goto_8b
    return-void
.end method

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

    .line 207
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewStyle:I
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$000(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)I

    move-result v0

    const/high16 v1, 0x40000000    # 2.0f

    const/4 v2, 0x3

    if-eq v0, v2, :cond_344

    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewStyle:I
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$000(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)I

    move-result v0

    const/4 v2, 0x4

    if-ne v0, v2, :cond_16

    goto/16 :goto_344

    .line 211
    :cond_16
    const/4 v0, 0x1

    iput-boolean v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->inLayout:Z

    .line 212
    invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v0

    .line 213
    .local v0, "width":I
    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v2

    .line 215
    .local v2, "height":I
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->getPaddingTop()I

    move-result v3

    sub-int v3, v2, v3

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->getPaddingBottom()I

    move-result v4

    sub-int/2addr v3, v4

    move v4, v3

    .line 216
    .local v3, "availableHeight":I
    .local v4, "maxContentHeight":I
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->getPaddingLeft()I

    move-result v5

    sub-int v5, v0, v5

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->getPaddingRight()I

    move-result v6

    sub-int/2addr v5, v6

    .line 218
    .local v5, "availableWidth":I
    const/high16 v6, 0x42400000    # 48.0f

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

    move-result v6

    sub-int v6, v5, v6

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

    move-result v6

    .line 219
    .local v6, "childWidthMeasureSpec":I
    invoke-static {v5, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v7

    .line 222
    .local v7, "childFullWidthMeasureSpec":I
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    iget-object v8, v8, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->buttonsLayout:Landroid/widget/FrameLayout;

    if-eqz v8, :cond_9d

    .line 223
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    iget-object v8, v8, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->buttonsLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v8}, Landroid/widget/FrameLayout;->getChildCount()I

    move-result v8

    .line 224
    .local v8, "count":I
    const/4 v9, 0x0

    .local v9, "a":I
    :goto_57
    if-ge v9, v8, :cond_7d

    .line 225
    iget-object v10, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    iget-object v10, v10, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->buttonsLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v10, v9}, Landroid/widget/FrameLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v10

    .line 226
    .local v10, "child":Landroid/view/View;
    instance-of v11, v10, Landroid/widget/TextView;

    if-eqz v11, :cond_7a

    .line 227
    move-object v11, v10

    check-cast v11, Landroid/widget/TextView;

    .line 228
    .local v11, "button":Landroid/widget/TextView;
    const/high16 v12, 0x41c00000    # 24.0f

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

    move-result v12

    sub-int v12, v5, v12

    div-int/lit8 v12, v12, 0x2

    int-to-float v12, v12

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

    move-result v12

    invoke-virtual {v11, v12}, Landroid/widget/TextView;->setMaxWidth(I)V

    .line 224
    .end local v10    # "child":Landroid/view/View;
    .end local v11    # "button":Landroid/widget/TextView;
    :cond_7a
    add-int/lit8 v9, v9, 0x1

    goto :goto_57

    .line 231
    .end local v9    # "a":I
    :cond_7d
    iget-object v9, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    iget-object v9, v9, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->buttonsLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v9, v7, p2}, Landroid/widget/FrameLayout;->measure(II)V

    .line 232
    iget-object v9, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    iget-object v9, v9, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->buttonsLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v9}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v9

    check-cast v9, Landroid/widget/LinearLayout$LayoutParams;

    .line 233
    .local v9, "layoutParams":Landroid/widget/LinearLayout$LayoutParams;
    iget-object v10, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    iget-object v10, v10, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->buttonsLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v10}, Landroid/widget/FrameLayout;->getMeasuredHeight()I

    move-result v10

    iget v11, v9, Landroid/widget/LinearLayout$LayoutParams;->bottomMargin:I

    add-int/2addr v10, v11

    iget v11, v9, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    add-int/2addr v10, v11

    sub-int/2addr v3, v10

    .line 235
    .end local v8    # "count":I
    .end local v9    # "layoutParams":Landroid/widget/LinearLayout$LayoutParams;
    :cond_9d
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->secondTitleTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$300(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    const/high16 v9, -0x80000000

    if-eqz v8, :cond_b8

    .line 236
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->secondTitleTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$300(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

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

    move-result v10

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

    move-result v10

    invoke-virtual {v8, v10, p2}, Landroid/widget/TextView;->measure(II)V

    .line 238
    :cond_b8
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->titleTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$400(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    const/high16 v10, 0x41000000    # 8.0f

    if-eqz v8, :cond_f5

    .line 239
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->secondTitleTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$300(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    if-eqz v8, :cond_ec

    .line 240
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->titleTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$400(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

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

    move-result v11

    iget-object v12, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->secondTitleTextView:Landroid/widget/TextView;
    invoke-static {v12}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$300(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v12

    invoke-virtual {v12}, Landroid/widget/TextView;->getMeasuredWidth()I

    move-result v12

    sub-int/2addr v11, v12

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

    move-result v12

    sub-int/2addr v11, v12

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

    move-result v11

    invoke-virtual {v8, v11, p2}, Landroid/widget/TextView;->measure(II)V

    goto :goto_f5

    .line 242
    :cond_ec
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->titleTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$400(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    invoke-virtual {v8, v6, p2}, Landroid/widget/TextView;->measure(II)V

    .line 245
    :cond_f5
    :goto_f5
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->titleContainer:Landroid/widget/FrameLayout;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$500(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/FrameLayout;

    move-result-object v8

    if-eqz v8, :cond_123

    .line 246
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->titleContainer:Landroid/widget/FrameLayout;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$500(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/FrameLayout;

    move-result-object v8

    invoke-virtual {v8, v6, p2}, Landroid/widget/FrameLayout;->measure(II)V

    .line 247
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->titleContainer:Landroid/widget/FrameLayout;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$500(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/FrameLayout;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v8

    check-cast v8, Landroid/widget/LinearLayout$LayoutParams;

    .line 248
    .local v8, "layoutParams":Landroid/widget/LinearLayout$LayoutParams;
    iget-object v11, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->titleContainer:Landroid/widget/FrameLayout;
    invoke-static {v11}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$500(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/FrameLayout;

    move-result-object v11

    invoke-virtual {v11}, Landroid/widget/FrameLayout;->getMeasuredHeight()I

    move-result v11

    iget v12, v8, Landroid/widget/LinearLayout$LayoutParams;->bottomMargin:I

    add-int/2addr v11, v12

    iget v12, v8, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    add-int/2addr v11, v12

    sub-int/2addr v3, v11

    .line 250
    .end local v8    # "layoutParams":Landroid/widget/LinearLayout$LayoutParams;
    :cond_123
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->subtitleTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$600(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    if-eqz v8, :cond_151

    .line 251
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->subtitleTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$600(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    invoke-virtual {v8, v6, p2}, Landroid/widget/TextView;->measure(II)V

    .line 252
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->subtitleTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$600(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v8

    check-cast v8, Landroid/widget/LinearLayout$LayoutParams;

    .line 253
    .restart local v8    # "layoutParams":Landroid/widget/LinearLayout$LayoutParams;
    iget-object v11, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->subtitleTextView:Landroid/widget/TextView;
    invoke-static {v11}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$600(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v11

    invoke-virtual {v11}, Landroid/widget/TextView;->getMeasuredHeight()I

    move-result v11

    iget v12, v8, Landroid/widget/LinearLayout$LayoutParams;->bottomMargin:I

    add-int/2addr v11, v12

    iget v12, v8, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    add-int/2addr v11, v12

    sub-int/2addr v3, v11

    .line 255
    .end local v8    # "layoutParams":Landroid/widget/LinearLayout$LayoutParams;
    :cond_151
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->topImageView:Landroid/widget/ImageView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$700(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/ImageView;

    move-result-object v8

    if-eqz v8, :cond_185

    .line 256
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->topImageView:Landroid/widget/ImageView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$700(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/ImageView;

    move-result-object v8

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

    move-result v11

    iget-object v12, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->topHeight:I
    invoke-static {v12}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$800(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)I

    move-result v12

    int-to-float v12, v12

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

    move-result v12

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

    move-result v12

    invoke-virtual {v8, v11, v12}, Landroid/widget/ImageView;->measure(II)V

    .line 257
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->topImageView:Landroid/widget/ImageView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$700(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/ImageView;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/ImageView;->getMeasuredHeight()I

    move-result v8

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

    move-result v11

    sub-int/2addr v8, v11

    sub-int/2addr v3, v8

    .line 259
    :cond_185
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewStyle:I
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$000(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)I

    move-result v8

    const/16 v11, 0x8

    const/4 v12, 0x0

    if-nez v8, :cond_24a

    .line 260
    iget-object v1, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->contentScrollView:Landroid/widget/ScrollView;
    invoke-static {v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$900(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/ScrollView;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/ScrollView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout$LayoutParams;

    .line 262
    .local v1, "layoutParams":Landroid/widget/LinearLayout$LayoutParams;
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->customView:Landroid/view/View;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1000(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/view/View;

    move-result-object v8

    if-eqz v8, :cond_1d9

    .line 263
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->titleTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$400(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    if-nez v8, :cond_1c7

    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->messageTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1100(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/TextView;->getVisibility()I

    move-result v8

    if-ne v8, v11, :cond_1c7

    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->items:[Ljava/lang/CharSequence;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1200(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)[Ljava/lang/CharSequence;

    move-result-object v8

    if-nez v8, :cond_1c7

    const/high16 v8, 0x41800000    # 16.0f

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

    move-result v8

    goto :goto_1c8

    :cond_1c7
    const/4 v8, 0x0

    :goto_1c8
    iput v8, v1, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    .line 264
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    iget-object v8, v8, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->buttonsLayout:Landroid/widget/FrameLayout;

    if-nez v8, :cond_1d5

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

    move-result v8

    goto :goto_1d6

    :cond_1d5
    const/4 v8, 0x0

    :goto_1d6
    iput v8, v1, Landroid/widget/LinearLayout$LayoutParams;->bottomMargin:I

    goto :goto_22a

    .line 265
    :cond_1d9
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->items:[Ljava/lang/CharSequence;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1200(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)[Ljava/lang/CharSequence;

    move-result-object v8

    if-eqz v8, :cond_204

    .line 266
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->titleTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$400(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    if-nez v8, :cond_1fa

    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->messageTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1100(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/TextView;->getVisibility()I

    move-result v8

    if-ne v8, v11, :cond_1fa

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

    move-result v8

    goto :goto_1fb

    :cond_1fa
    const/4 v8, 0x0

    :goto_1fb
    iput v8, v1, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    .line 267
    invoke-static {v10}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v8

    iput v8, v1, Landroid/widget/LinearLayout$LayoutParams;->bottomMargin:I

    goto :goto_22a

    .line 268
    :cond_204
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->messageTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1100(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/TextView;->getVisibility()I

    move-result v8

    if-nez v8, :cond_22a

    .line 269
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->titleTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$400(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    if-nez v8, :cond_21f

    const/high16 v8, 0x41980000    # 19.0f

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

    move-result v8

    goto :goto_220

    :cond_21f
    const/4 v8, 0x0

    :goto_220
    iput v8, v1, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    .line 270
    const/high16 v8, 0x41a00000    # 20.0f

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

    move-result v8

    iput v8, v1, Landroid/widget/LinearLayout$LayoutParams;->bottomMargin:I

    .line 273
    :cond_22a
    :goto_22a
    iget v8, v1, Landroid/widget/LinearLayout$LayoutParams;->bottomMargin:I

    iget v10, v1, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    add-int/2addr v8, v10

    sub-int/2addr v3, v8

    .line 274
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->contentScrollView:Landroid/widget/ScrollView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$900(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/ScrollView;

    move-result-object v8

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

    move-result v9

    invoke-virtual {v8, v7, v9}, Landroid/widget/ScrollView;->measure(II)V

    .line 275
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->contentScrollView:Landroid/widget/ScrollView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$900(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/ScrollView;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/ScrollView;->getMeasuredHeight()I

    move-result v8

    sub-int/2addr v3, v8

    goto/16 :goto_31e

    .line 277
    .end local v1    # "layoutParams":Landroid/widget/LinearLayout$LayoutParams;
    :cond_24a
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewContainer:Landroid/widget/FrameLayout;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$200(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/FrameLayout;

    move-result-object v8

    if-eqz v8, :cond_27d

    .line 278
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewContainer:Landroid/widget/FrameLayout;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$200(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/FrameLayout;

    move-result-object v8

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

    move-result v10

    invoke-virtual {v8, v6, v10}, Landroid/widget/FrameLayout;->measure(II)V

    .line 279
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewContainer:Landroid/widget/FrameLayout;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$200(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/FrameLayout;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v8

    check-cast v8, Landroid/widget/LinearLayout$LayoutParams;

    .line 280
    .restart local v8    # "layoutParams":Landroid/widget/LinearLayout$LayoutParams;
    iget-object v10, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewContainer:Landroid/widget/FrameLayout;
    invoke-static {v10}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$200(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/FrameLayout;

    move-result-object v10

    invoke-virtual {v10}, Landroid/widget/FrameLayout;->getMeasuredHeight()I

    move-result v10

    iget v11, v8, Landroid/widget/LinearLayout$LayoutParams;->bottomMargin:I

    add-int/2addr v10, v11

    iget v11, v8, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    add-int/2addr v10, v11

    sub-int/2addr v3, v10

    goto :goto_2bb

    .line 281
    .end local v8    # "layoutParams":Landroid/widget/LinearLayout$LayoutParams;
    :cond_27d
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->messageTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1100(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    if-eqz v8, :cond_2bb

    .line 282
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->messageTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1100(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

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

    move-result v10

    invoke-virtual {v8, v6, v10}, Landroid/widget/TextView;->measure(II)V

    .line 283
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->messageTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1100(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/TextView;->getVisibility()I

    move-result v8

    if-eq v8, v11, :cond_2bb

    .line 284
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->messageTextView:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1100(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v8

    check-cast v8, Landroid/widget/LinearLayout$LayoutParams;

    .line 285
    .restart local v8    # "layoutParams":Landroid/widget/LinearLayout$LayoutParams;
    iget-object v10, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->messageTextView:Landroid/widget/TextView;
    invoke-static {v10}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1100(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v10

    invoke-virtual {v10}, Landroid/widget/TextView;->getMeasuredHeight()I

    move-result v10

    iget v11, v8, Landroid/widget/LinearLayout$LayoutParams;->bottomMargin:I

    add-int/2addr v10, v11

    iget v11, v8, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    add-int/2addr v10, v11

    sub-int/2addr v3, v10

    .line 288
    .end local v8    # "layoutParams":Landroid/widget/LinearLayout$LayoutParams;
    :cond_2bb
    :goto_2bb
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->lineProgressView:Lim/tpelyyftgw/ui/components/LineProgressView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1300(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Lim/tpelyyftgw/ui/components/LineProgressView;

    move-result-object v8

    if-eqz v8, :cond_31e

    .line 289
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->lineProgressView:Lim/tpelyyftgw/ui/components/LineProgressView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1300(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Lim/tpelyyftgw/ui/components/LineProgressView;

    move-result-object v8

    const/high16 v10, 0x40800000    # 4.0f

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

    move-result v10

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

    move-result v1

    invoke-virtual {v8, v6, v1}, Lim/tpelyyftgw/ui/components/LineProgressView;->measure(II)V

    .line 290
    iget-object v1, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->lineProgressView:Lim/tpelyyftgw/ui/components/LineProgressView;
    invoke-static {v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1300(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Lim/tpelyyftgw/ui/components/LineProgressView;

    move-result-object v1

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

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout$LayoutParams;

    .line 291
    .restart local v1    # "layoutParams":Landroid/widget/LinearLayout$LayoutParams;
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->lineProgressView:Lim/tpelyyftgw/ui/components/LineProgressView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1300(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Lim/tpelyyftgw/ui/components/LineProgressView;

    move-result-object v8

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

    move-result v8

    iget v10, v1, Landroid/widget/LinearLayout$LayoutParams;->bottomMargin:I

    add-int/2addr v8, v10

    iget v10, v1, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    add-int/2addr v8, v10

    sub-int/2addr v3, v8

    .line 293
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->lineProgressViewPercent:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1400(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

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

    move-result v9

    invoke-virtual {v8, v6, v9}, Landroid/widget/TextView;->measure(II)V

    .line 294
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->lineProgressViewPercent:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1400(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v8

    move-object v1, v8

    check-cast v1, Landroid/widget/LinearLayout$LayoutParams;

    .line 295
    iget-object v8, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->lineProgressViewPercent:Landroid/widget/TextView;
    invoke-static {v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1400(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/TextView;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/TextView;->getMeasuredHeight()I

    move-result v8

    iget v9, v1, Landroid/widget/LinearLayout$LayoutParams;->bottomMargin:I

    add-int/2addr v8, v9

    iget v9, v1, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    add-int/2addr v8, v9

    sub-int/2addr v3, v8

    .line 299
    .end local v1    # "layoutParams":Landroid/widget/LinearLayout$LayoutParams;
    :cond_31e
    :goto_31e
    sub-int v1, v4, v3

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->getPaddingTop()I

    move-result v8

    add-int/2addr v1, v8

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->getPaddingBottom()I

    move-result v8

    add-int/2addr v1, v8

    invoke-virtual {p0, v0, v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->setMeasuredDimension(II)V

    .line 300
    iput-boolean v12, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->inLayout:Z

    .line 302
    iget-object v1, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->lastScreenWidth:I
    invoke-static {v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$1500(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)I

    move-result v1

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

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

    if-eq v1, v8, :cond_36a

    .line 303
    new-instance v1, Lim/tpelyyftgw/ui/actionbar/-$$Lambda$AlertDialog$1$BLRg2G0mTr0pvWtJUXeCpMeTzFw;

    invoke-direct {v1, p0}, Lim/tpelyyftgw/ui/actionbar/-$$Lambda$AlertDialog$1$BLRg2G0mTr0pvWtJUXeCpMeTzFw;-><init>(Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;)V

    invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->runOnUIThread(Ljava/lang/Runnable;)V

    goto :goto_36a

    .line 208
    .end local v0    # "width":I
    .end local v2    # "height":I
    .end local v3    # "availableHeight":I
    .end local v4    # "maxContentHeight":I
    .end local v5    # "availableWidth":I
    .end local v6    # "childWidthMeasureSpec":I
    .end local v7    # "childFullWidthMeasureSpec":I
    :cond_344
    :goto_344
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewContainer:Landroid/widget/FrameLayout;
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$200(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Landroid/widget/FrameLayout;

    move-result-object v0

    const/high16 v2, 0x42ac0000    # 86.0f

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

    move-result v3

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

    move-result v3

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

    move-result v2

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

    move-result v1

    invoke-virtual {v0, v3, v1}, Landroid/widget/FrameLayout;->measure(II)V

    .line 209
    invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v0

    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v1

    invoke-virtual {p0, v0, v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->setMeasuredDimension(II)V

    .line 325
    :cond_36a
    :goto_36a
    return-void
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .registers 4
    .param p1, "event"    # Landroid/view/MotionEvent;

    .line 189
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewStyle:I
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$000(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)I

    move-result v0

    const/4 v1, 0x3

    if-eq v0, v1, :cond_18

    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # getter for: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->progressViewStyle:I
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$000(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_13

    goto :goto_18

    .line 193
    :cond_13
    invoke-super {p0, p1}, Landroid/widget/LinearLayout;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0

    .line 190
    :cond_18
    :goto_18
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->this$0:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    # invokes: Lim/tpelyyftgw/ui/actionbar/AlertDialog;->showCancelAlert()V
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->access$100(Lim/tpelyyftgw/ui/actionbar/AlertDialog;)V

    .line 191
    const/4 v0, 0x0

    return v0
.end method

.method public requestLayout()V
    .registers 2

    .line 349
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$1;->inLayout:Z

    if-eqz v0, :cond_5

    .line 350
    return-void

    .line 352
    :cond_5
    invoke-super {p0}, Landroid/widget/LinearLayout;->requestLayout()V

    .line 353
    return-void
.end method