PasscodeView.smali

.class public Lim/tpelyyftgw/ui/components/PasscodeView;
.super Landroid/widget/FrameLayout;
.source "PasscodeView.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;,
        Lim/tpelyyftgw/ui/components/PasscodeView$PasscodeViewDelegate;
    }
.end annotation


# static fields
.field private static final id_fingerprint_imageview:I = 0x3e9

.field private static final id_fingerprint_textview:I = 0x3e8

.field private static final ids:[I


# instance fields
.field private backgroundDrawable:Landroid/graphics/drawable/Drawable;

.field private backgroundFrameLayout:Landroid/widget/FrameLayout;

.field private cancellationSignal:Landroidx/core/os/CancellationSignal;

.field private checkImage:Landroid/widget/ImageView;

.field private checkRunnable:Ljava/lang/Runnable;

.field private delegate:Lim/tpelyyftgw/ui/components/PasscodeView$PasscodeViewDelegate;

.field private eraseView:Landroid/widget/ImageView;

.field private fingerprintDialog:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

.field private fingerprintImageView:Landroid/widget/ImageView;

.field private fingerprintStatusTextView:Landroid/widget/TextView;

.field private keyboardHeight:I

.field private lastValue:I

.field private lettersTextViews:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Landroid/widget/TextView;",
            ">;"
        }
    .end annotation
.end field

.field private numberFrameLayouts:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Landroid/widget/FrameLayout;",
            ">;"
        }
    .end annotation
.end field

.field private numberTextViews:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Landroid/widget/TextView;",
            ">;"
        }
    .end annotation
.end field

.field private numbersFrameLayout:Landroid/widget/FrameLayout;

.field private passcodeTextView:Landroid/widget/TextView;

.field private passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

.field private passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

.field private passwordFrameLayout:Landroid/widget/FrameLayout;

.field private rect:Landroid/graphics/Rect;

.field private retryTextView:Landroid/widget/TextView;

.field private selfCancelled:Z


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

    .line 419
    const/16 v0, 0xb

    new-array v0, v0, [I

    fill-array-data v0, :array_a

    sput-object v0, Lim/tpelyyftgw/ui/components/PasscodeView;->ids:[I

    return-void

    :array_a
    .array-data 4
        0x7f09033f
        0x7f090340
        0x7f090341
        0x7f090342
        0x7f090343
        0x7f090344
        0x7f090345
        0x7f090346
        0x7f090347
        0x7f090348
        0x7f090349
    .end array-data
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .registers 23
    .param p1, "context"    # Landroid/content/Context;

    .line 434
    move-object/from16 v0, p0

    move-object/from16 v1, p1

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

    .line 403
    const/4 v2, 0x0

    iput v2, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->keyboardHeight:I

    .line 411
    new-instance v3, Landroid/graphics/Rect;

    invoke-direct {v3}, Landroid/graphics/Rect;-><init>()V

    iput-object v3, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->rect:Landroid/graphics/Rect;

    .line 823
    new-instance v3, Lim/tpelyyftgw/ui/components/PasscodeView$6;

    invoke-direct {v3, v0}, Lim/tpelyyftgw/ui/components/PasscodeView$6;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView;)V

    iput-object v3, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkRunnable:Ljava/lang/Runnable;

    .line 436
    invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/components/PasscodeView;->setWillNotDraw(Z)V

    .line 437
    const/16 v3, 0x8

    invoke-virtual {v0, v3}, Lim/tpelyyftgw/ui/components/PasscodeView;->setVisibility(I)V

    .line 439
    new-instance v3, Landroid/widget/FrameLayout;

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

    iput-object v3, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundFrameLayout:Landroid/widget/FrameLayout;

    .line 440
    invoke-virtual {v0, v3}, Lim/tpelyyftgw/ui/components/PasscodeView;->addView(Landroid/view/View;)V

    .line 441
    iget-object v3, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundFrameLayout:Landroid/widget/FrameLayout;

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

    move-result-object v3

    check-cast v3, Landroid/widget/FrameLayout$LayoutParams;

    .line 442
    .local v3, "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    const/4 v4, -0x1

    iput v4, v3, Landroid/widget/FrameLayout$LayoutParams;->width:I

    .line 443
    iput v4, v3, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 444
    iget-object v5, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v5, v3}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 446
    new-instance v5, Landroid/widget/FrameLayout;

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

    iput-object v5, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

    .line 447
    invoke-virtual {v0, v5}, Lim/tpelyyftgw/ui/components/PasscodeView;->addView(Landroid/view/View;)V

    .line 448
    iget-object v5, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

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

    move-result-object v5

    move-object v3, v5

    check-cast v3, Landroid/widget/FrameLayout$LayoutParams;

    .line 449
    iput v4, v3, Landroid/widget/FrameLayout$LayoutParams;->width:I

    .line 450
    iput v4, v3, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 451
    const/16 v5, 0x33

    iput v5, v3, Landroid/widget/FrameLayout$LayoutParams;->gravity:I

    .line 452
    iget-object v6, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v6, v3}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 454
    new-instance v6, Landroid/widget/ImageView;

    invoke-direct {v6, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    .line 455
    .local v6, "imageView":Landroid/widget/ImageView;
    sget-object v7, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v6, v7}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    .line 456
    const v7, 0x7f0802b8

    invoke-virtual {v6, v7}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 457
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v7, v6}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 458
    invoke-virtual {v6}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v7

    move-object v3, v7

    check-cast v3, Landroid/widget/FrameLayout$LayoutParams;

    .line 459
    sget v7, Lim/tpelyyftgw/messenger/AndroidUtilities;->density:F

    const/high16 v8, 0x3f800000    # 1.0f

    cmpg-float v7, v7, v8

    if-gez v7, :cond_8f

    .line 460
    const/high16 v7, 0x41f00000    # 30.0f

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

    move-result v9

    iput v9, v3, Landroid/widget/FrameLayout$LayoutParams;->width:I

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

    move-result v7

    iput v7, v3, Landroid/widget/FrameLayout$LayoutParams;->height:I

    goto :goto_9d

    .line 463
    :cond_8f
    const/high16 v7, 0x42200000    # 40.0f

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

    move-result v9

    iput v9, v3, Landroid/widget/FrameLayout$LayoutParams;->width:I

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

    move-result v7

    iput v7, v3, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 466
    :goto_9d
    const/16 v7, 0x51

    iput v7, v3, Landroid/widget/FrameLayout$LayoutParams;->gravity:I

    .line 467
    const/high16 v9, 0x42c80000    # 100.0f

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

    move-result v10

    iput v10, v3, Landroid/widget/FrameLayout$LayoutParams;->bottomMargin:I

    .line 468
    invoke-virtual {v6, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 470
    new-instance v10, Landroid/widget/TextView;

    invoke-direct {v10, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passcodeTextView:Landroid/widget/TextView;

    .line 471
    invoke-virtual {v10, v4}, Landroid/widget/TextView;->setTextColor(I)V

    .line 472
    iget-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passcodeTextView:Landroid/widget/TextView;

    const/high16 v11, 0x41600000    # 14.0f

    const/4 v12, 0x1

    invoke-virtual {v10, v12, v11}, Landroid/widget/TextView;->setTextSize(IF)V

    .line 473
    iget-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passcodeTextView:Landroid/widget/TextView;

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

    .line 474
    iget-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

    iget-object v11, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passcodeTextView:Landroid/widget/TextView;

    const/high16 v13, -0x40000000    # -2.0f

    const/high16 v14, -0x40000000    # -2.0f

    const/16 v15, 0x51

    const/16 v16, 0x0

    const/16 v17, 0x0

    const/16 v18, 0x0

    const/high16 v19, 0x42780000    # 62.0f

    invoke-static/range {v13 .. v19}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(FFIFFFF)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v13

    invoke-virtual {v10, v11, v13}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 476
    new-instance v10, Landroid/widget/TextView;

    invoke-direct {v10, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->retryTextView:Landroid/widget/TextView;

    .line 477
    invoke-virtual {v10, v4}, Landroid/widget/TextView;->setTextColor(I)V

    .line 478
    iget-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->retryTextView:Landroid/widget/TextView;

    const/high16 v11, 0x41700000    # 15.0f

    invoke-virtual {v10, v12, v11}, Landroid/widget/TextView;->setTextSize(IF)V

    .line 479
    iget-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->retryTextView:Landroid/widget/TextView;

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

    .line 480
    iget-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->retryTextView:Landroid/widget/TextView;

    const/4 v11, 0x4

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

    .line 481
    iget-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->retryTextView:Landroid/widget/TextView;

    const/16 v11, 0x11

    const/4 v13, -0x2

    invoke-static {v13, v13, v11}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v14

    invoke-virtual {v0, v10, v14}, Lim/tpelyyftgw/ui/components/PasscodeView;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 483
    new-instance v10, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    invoke-direct {v10, v0, v1}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView;Landroid/content/Context;)V

    iput-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    .line 484
    iget-object v14, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v14, v10}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 485
    iget-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

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

    move-result-object v10

    move-object v3, v10

    check-cast v3, Landroid/widget/FrameLayout$LayoutParams;

    .line 486
    iput v13, v3, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 487
    iput v4, v3, Landroid/widget/FrameLayout$LayoutParams;->width:I

    .line 488
    const/high16 v10, 0x428c0000    # 70.0f

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

    move-result v14

    iput v14, v3, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

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

    move-result v14

    iput v14, v3, Landroid/widget/FrameLayout$LayoutParams;->rightMargin:I

    .line 490
    const/high16 v14, 0x40c00000    # 6.0f

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

    move-result v14

    iput v14, v3, Landroid/widget/FrameLayout$LayoutParams;->bottomMargin:I

    .line 491
    iput v7, v3, Landroid/widget/FrameLayout$LayoutParams;->gravity:I

    .line 492
    iget-object v14, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    invoke-virtual {v14, v3}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 494
    new-instance v14, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-direct {v14, v1}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;-><init>(Landroid/content/Context;)V

    iput-object v14, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    .line 495
    const/high16 v15, 0x42100000    # 36.0f

    invoke-virtual {v14, v12, v15}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setTextSize(IF)V

    .line 496
    iget-object v14, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-virtual {v14, v4}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setTextColor(I)V

    .line 497
    iget-object v14, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-virtual {v14, v12}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setMaxLines(I)V

    .line 498
    iget-object v14, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-virtual {v14, v12}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setLines(I)V

    .line 499
    iget-object v14, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-virtual {v14, v12}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setGravity(I)V

    .line 500
    iget-object v14, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-virtual {v14, v12}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setSingleLine(Z)V

    .line 501
    iget-object v14, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    const/4 v9, 0x6

    invoke-virtual {v14, v9}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setImeOptions(I)V

    .line 502
    iget-object v9, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    sget-object v14, Landroid/graphics/Typeface;->DEFAULT:Landroid/graphics/Typeface;

    invoke-virtual {v9, v14}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setTypeface(Landroid/graphics/Typeface;)V

    .line 503
    iget-object v9, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    const/4 v14, 0x0

    invoke-virtual {v9, v14}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 504
    iget-object v9, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-virtual {v9, v4}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setCursorColor(I)V

    .line 505
    iget-object v9, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    const/high16 v14, 0x42000000    # 32.0f

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

    move-result v14

    invoke-virtual {v9, v14}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setCursorSize(I)V

    .line 506
    iget-object v9, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

    iget-object v14, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-virtual {v9, v14}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 507
    iget-object v9, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

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

    move-result-object v9

    move-object v3, v9

    check-cast v3, Landroid/widget/FrameLayout$LayoutParams;

    .line 508
    iput v13, v3, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 509
    iput v4, v3, Landroid/widget/FrameLayout$LayoutParams;->width:I

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

    move-result v9

    iput v9, v3, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

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

    move-result v9

    iput v9, v3, Landroid/widget/FrameLayout$LayoutParams;->rightMargin:I

    .line 512
    iput v7, v3, Landroid/widget/FrameLayout$LayoutParams;->gravity:I

    .line 513
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-virtual {v7, v3}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 514
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    new-instance v9, Lim/tpelyyftgw/ui/components/-$$Lambda$PasscodeView$XVJfX4IM78-ElGZkI2r_P8QC9Fg;

    invoke-direct {v9, v0}, Lim/tpelyyftgw/ui/components/-$$Lambda$PasscodeView$XVJfX4IM78-ElGZkI2r_P8QC9Fg;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView;)V

    invoke-virtual {v7, v9}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setOnEditorActionListener(Landroid/widget/TextView$OnEditorActionListener;)V

    .line 521
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    new-instance v9, Lim/tpelyyftgw/ui/components/PasscodeView$1;

    invoke-direct {v9, v0}, Lim/tpelyyftgw/ui/components/PasscodeView$1;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView;)V

    invoke-virtual {v7, v9}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 539
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    new-instance v9, Lim/tpelyyftgw/ui/components/PasscodeView$2;

    invoke-direct {v9, v0}, Lim/tpelyyftgw/ui/components/PasscodeView$2;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView;)V

    invoke-virtual {v7, v9}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setCustomSelectionActionModeCallback(Landroid/view/ActionMode$Callback;)V

    .line 556
    new-instance v7, Landroid/widget/ImageView;

    invoke-direct {v7, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkImage:Landroid/widget/ImageView;

    .line 557
    const v9, 0x7f0802b6

    invoke-virtual {v7, v9}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 558
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkImage:Landroid/widget/ImageView;

    sget-object v9, Landroid/widget/ImageView$ScaleType;->CENTER:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v7, v9}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    .line 559
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkImage:Landroid/widget/ImageView;

    const v9, 0x7f080082

    invoke-virtual {v7, v9}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 560
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

    iget-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkImage:Landroid/widget/ImageView;

    invoke-virtual {v7, v10}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 561
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkImage:Landroid/widget/ImageView;

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

    move-result-object v7

    move-object v3, v7

    check-cast v3, Landroid/widget/FrameLayout$LayoutParams;

    .line 562
    const/high16 v7, 0x42700000    # 60.0f

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

    move-result v10

    iput v10, v3, Landroid/widget/FrameLayout$LayoutParams;->width:I

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

    move-result v7

    iput v7, v3, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 564
    const/high16 v7, 0x40800000    # 4.0f

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

    move-result v7

    iput v7, v3, Landroid/widget/FrameLayout$LayoutParams;->bottomMargin:I

    .line 565
    const/high16 v7, 0x41200000    # 10.0f

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

    move-result v7

    iput v7, v3, Landroid/widget/FrameLayout$LayoutParams;->rightMargin:I

    .line 566
    const/16 v7, 0x55

    iput v7, v3, Landroid/widget/FrameLayout$LayoutParams;->gravity:I

    .line 567
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkImage:Landroid/widget/ImageView;

    invoke-virtual {v7, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 568
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkImage:Landroid/widget/ImageView;

    const v10, 0x7f0f054f

    const-string v13, "Done"

    invoke-static {v13, v10}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v7, v10}, Landroid/widget/ImageView;->setContentDescription(Ljava/lang/CharSequence;)V

    .line 569
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkImage:Landroid/widget/ImageView;

    new-instance v10, Lim/tpelyyftgw/ui/components/-$$Lambda$PasscodeView$5TLxV4GpZmh7uhFyN6zcLz5jdmc;

    invoke-direct {v10, v0}, Lim/tpelyyftgw/ui/components/-$$Lambda$PasscodeView$5TLxV4GpZmh7uhFyN6zcLz5jdmc;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView;)V

    invoke-virtual {v7, v10}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 571
    new-instance v7, Landroid/widget/FrameLayout;

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

    .line 572
    .local v7, "lineFrameLayout":Landroid/widget/FrameLayout;
    const v10, 0x26ffffff

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

    .line 573
    iget-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v10, v7}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 574
    invoke-virtual {v7}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v10

    move-object v3, v10

    check-cast v3, Landroid/widget/FrameLayout$LayoutParams;

    .line 575
    iput v4, v3, Landroid/widget/FrameLayout$LayoutParams;->width:I

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

    move-result v8

    iput v8, v3, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 577
    const/16 v8, 0x53

    iput v8, v3, Landroid/widget/FrameLayout$LayoutParams;->gravity:I

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

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

    move-result v10

    iput v10, v3, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

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

    move-result v10

    iput v10, v3, Landroid/widget/FrameLayout$LayoutParams;->rightMargin:I

    .line 580
    invoke-virtual {v7, v3}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 582
    new-instance v10, Landroid/widget/FrameLayout;

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

    iput-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

    .line 583
    invoke-virtual {v0, v10}, Lim/tpelyyftgw/ui/components/PasscodeView;->addView(Landroid/view/View;)V

    .line 584
    iget-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

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

    move-result-object v10

    move-object v3, v10

    check-cast v3, Landroid/widget/FrameLayout$LayoutParams;

    .line 585
    iput v4, v3, Landroid/widget/FrameLayout$LayoutParams;->width:I

    .line 586
    iput v4, v3, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 587
    iput v5, v3, Landroid/widget/FrameLayout$LayoutParams;->gravity:I

    .line 588
    iget-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v10, v3}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 590
    new-instance v10, Ljava/util/ArrayList;

    const/16 v13, 0xa

    invoke-direct {v10, v13}, Ljava/util/ArrayList;-><init>(I)V

    iput-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->lettersTextViews:Ljava/util/ArrayList;

    .line 591
    new-instance v10, Ljava/util/ArrayList;

    invoke-direct {v10, v13}, Ljava/util/ArrayList;-><init>(I)V

    iput-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numberTextViews:Ljava/util/ArrayList;

    .line 592
    new-instance v10, Ljava/util/ArrayList;

    invoke-direct {v10, v13}, Ljava/util/ArrayList;-><init>(I)V

    iput-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numberFrameLayouts:Ljava/util/ArrayList;

    .line 593
    const/4 v10, 0x0

    .local v10, "a":I
    :goto_29c
    const/high16 v14, 0x42480000    # 50.0f

    if-ge v10, v13, :cond_365

    .line 594
    new-instance v13, Landroid/widget/TextView;

    invoke-direct {v13, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 595
    .local v13, "textView":Landroid/widget/TextView;
    invoke-virtual {v13, v4}, Landroid/widget/TextView;->setTextColor(I)V

    .line 596
    invoke-virtual {v13, v12, v15}, Landroid/widget/TextView;->setTextSize(IF)V

    .line 597
    invoke-virtual {v13, v11}, Landroid/widget/TextView;->setGravity(I)V

    .line 598
    sget-object v4, Ljava/util/Locale;->US:Ljava/util/Locale;

    new-array v15, v12, [Ljava/lang/Object;

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

    move-result-object v20

    aput-object v20, v15, v2

    const-string v2, "%d"

    invoke-static {v4, v2, v15}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v13, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 599
    iget-object v2, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v2, v13}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 600
    invoke-virtual {v13}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v2

    check-cast v2, Landroid/widget/FrameLayout$LayoutParams;

    .line 601
    .end local v3    # "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    .local v2, "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    invoke-static {v14}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v3

    iput v3, v2, Landroid/widget/FrameLayout$LayoutParams;->width:I

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

    move-result v3

    iput v3, v2, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 603
    iput v5, v2, Landroid/widget/FrameLayout$LayoutParams;->gravity:I

    .line 604
    invoke-virtual {v13, v2}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 605
    const/4 v3, 0x2

    invoke-virtual {v13, v3}, Landroid/widget/TextView;->setImportantForAccessibility(I)V

    .line 606
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numberTextViews:Ljava/util/ArrayList;

    invoke-virtual {v4, v13}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 608
    new-instance v4, Landroid/widget/TextView;

    invoke-direct {v4, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 609
    .end local v13    # "textView":Landroid/widget/TextView;
    .local v4, "textView":Landroid/widget/TextView;
    const/high16 v13, 0x41400000    # 12.0f

    invoke-virtual {v4, v12, v13}, Landroid/widget/TextView;->setTextSize(IF)V

    .line 610
    const v13, 0x7fffffff

    invoke-virtual {v4, v13}, Landroid/widget/TextView;->setTextColor(I)V

    .line 611
    invoke-virtual {v4, v11}, Landroid/widget/TextView;->setGravity(I)V

    .line 612
    iget-object v13, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v13, v4}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 613
    invoke-virtual {v4}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v13

    move-object v2, v13

    check-cast v2, Landroid/widget/FrameLayout$LayoutParams;

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

    move-result v13

    iput v13, v2, Landroid/widget/FrameLayout$LayoutParams;->width:I

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

    move-result v13

    iput v13, v2, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 616
    iput v5, v2, Landroid/widget/FrameLayout$LayoutParams;->gravity:I

    .line 617
    invoke-virtual {v4, v2}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 618
    invoke-virtual {v4, v3}, Landroid/widget/TextView;->setImportantForAccessibility(I)V

    .line 619
    if-eqz v10, :cond_34f

    packed-switch v10, :pswitch_data_446

    goto :goto_355

    .line 645
    :pswitch_31f
    const-string v3, "WXYZ"

    invoke-virtual {v4, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 646
    goto :goto_355

    .line 642
    :pswitch_325
    const-string v3, "TUV"

    invoke-virtual {v4, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 643
    goto :goto_355

    .line 639
    :pswitch_32b
    const-string v3, "PQRS"

    invoke-virtual {v4, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 640
    goto :goto_355

    .line 636
    :pswitch_331
    const-string v3, "MNO"

    invoke-virtual {v4, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 637
    goto :goto_355

    .line 633
    :pswitch_337
    const-string v3, "JKL"

    invoke-virtual {v4, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 634
    goto :goto_355

    .line 630
    :pswitch_33d
    const-string v3, "GHI"

    invoke-virtual {v4, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 631
    goto :goto_355

    .line 627
    :pswitch_343
    const-string v3, "DEF"

    invoke-virtual {v4, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 628
    goto :goto_355

    .line 624
    :pswitch_349
    const-string v3, "ABC"

    invoke-virtual {v4, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 625
    goto :goto_355

    .line 621
    :cond_34f
    const-string v3, "+"

    invoke-virtual {v4, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 622
    nop

    .line 650
    :goto_355
    iget-object v3, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->lettersTextViews:Ljava/util/ArrayList;

    invoke-virtual {v3, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 593
    .end local v4    # "textView":Landroid/widget/TextView;
    add-int/lit8 v10, v10, 0x1

    move-object v3, v2

    const/4 v2, 0x0

    const/4 v4, -0x1

    const/16 v13, 0xa

    const/high16 v15, 0x42100000    # 36.0f

    goto/16 :goto_29c

    .line 652
    .end local v2    # "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    .end local v10    # "a":I
    .restart local v3    # "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    :cond_365
    new-instance v2, Landroid/widget/ImageView;

    invoke-direct {v2, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v2, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->eraseView:Landroid/widget/ImageView;

    .line 653
    sget-object v4, Landroid/widget/ImageView$ScaleType;->CENTER:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v2, v4}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    .line 654
    iget-object v2, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->eraseView:Landroid/widget/ImageView;

    const v4, 0x7f0802b7

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

    .line 655
    iget-object v2, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

    iget-object v4, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->eraseView:Landroid/widget/ImageView;

    invoke-virtual {v2, v4}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 656
    iget-object v2, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->eraseView:Landroid/widget/ImageView;

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

    move-result-object v2

    check-cast v2, Landroid/widget/FrameLayout$LayoutParams;

    .line 657
    .end local v3    # "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    .restart local v2    # "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    invoke-static {v14}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v3

    iput v3, v2, Landroid/widget/FrameLayout$LayoutParams;->width:I

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

    move-result v3

    iput v3, v2, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 659
    iput v5, v2, Landroid/widget/FrameLayout$LayoutParams;->gravity:I

    .line 660
    iget-object v3, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->eraseView:Landroid/widget/ImageView;

    invoke-virtual {v3, v2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 661
    const/4 v3, 0x0

    .local v3, "a":I
    :goto_39c
    const/16 v4, 0xb

    if-ge v3, v4, :cond_416

    .line 662
    new-instance v4, Lim/tpelyyftgw/ui/components/PasscodeView$3;

    invoke-direct {v4, v0, v1}, Lim/tpelyyftgw/ui/components/PasscodeView$3;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView;Landroid/content/Context;)V

    .line 669
    .local v4, "frameLayout":Landroid/widget/FrameLayout;
    invoke-virtual {v4, v9}, Landroid/widget/FrameLayout;->setBackgroundResource(I)V

    .line 670
    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v8

    invoke-virtual {v4, v8}, Landroid/widget/FrameLayout;->setTag(Ljava/lang/Object;)V

    .line 671
    const/16 v8, 0xa

    if-ne v3, v8, :cond_3ce

    .line 672
    new-instance v10, Lim/tpelyyftgw/ui/components/-$$Lambda$PasscodeView$tbvRXJoL2mmaWEiRHpi3phuzBdw;

    invoke-direct {v10, v0}, Lim/tpelyyftgw/ui/components/-$$Lambda$PasscodeView$tbvRXJoL2mmaWEiRHpi3phuzBdw;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView;)V

    invoke-virtual {v4, v10}, Landroid/widget/FrameLayout;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V

    .line 677
    const v10, 0x7f0f0010

    const-string v11, "AccDescrBackspace"

    invoke-static {v11, v10}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v4, v10}, Landroid/widget/FrameLayout;->setContentDescription(Ljava/lang/CharSequence;)V

    .line 678
    const v10, 0x7f090340

    invoke-direct {v0, v4, v10}, Lim/tpelyyftgw/ui/components/PasscodeView;->setNextFocus(Landroid/view/View;I)V

    goto :goto_3ff

    .line 680
    :cond_3ce
    new-instance v10, Ljava/lang/StringBuilder;

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

    invoke-virtual {v10, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v11, ""

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v4, v10}, Landroid/widget/FrameLayout;->setContentDescription(Ljava/lang/CharSequence;)V

    .line 681
    if-nez v3, :cond_3eb

    .line 682
    const v10, 0x7f090349

    invoke-direct {v0, v4, v10}, Lim/tpelyyftgw/ui/components/PasscodeView;->setNextFocus(Landroid/view/View;I)V

    goto :goto_3ff

    .line 683
    :cond_3eb
    const/16 v10, 0x9

    if-ne v3, v10, :cond_3f6

    .line 684
    const v10, 0x7f09033f

    invoke-direct {v0, v4, v10}, Lim/tpelyyftgw/ui/components/PasscodeView;->setNextFocus(Landroid/view/View;I)V

    goto :goto_3ff

    .line 686
    :cond_3f6
    sget-object v10, Lim/tpelyyftgw/ui/components/PasscodeView;->ids:[I

    add-int/lit8 v11, v3, 0x1

    aget v10, v10, v11

    invoke-direct {v0, v4, v10}, Lim/tpelyyftgw/ui/components/PasscodeView;->setNextFocus(Landroid/view/View;I)V

    .line 689
    :goto_3ff
    sget-object v10, Lim/tpelyyftgw/ui/components/PasscodeView;->ids:[I

    aget v10, v10, v3

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

    .line 690
    new-instance v10, Lim/tpelyyftgw/ui/components/-$$Lambda$PasscodeView$t-T0HTYfX3yDQ1sehxqahdEYpsA;

    invoke-direct {v10, v0}, Lim/tpelyyftgw/ui/components/-$$Lambda$PasscodeView$t-T0HTYfX3yDQ1sehxqahdEYpsA;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView;)V

    invoke-virtual {v4, v10}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 731
    iget-object v10, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numberFrameLayouts:Ljava/util/ArrayList;

    invoke-virtual {v10, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 661
    .end local v4    # "frameLayout":Landroid/widget/FrameLayout;
    add-int/lit8 v3, v3, 0x1

    goto :goto_39c

    .line 733
    .end local v3    # "a":I
    :cond_416
    const/16 v3, 0xa

    .restart local v3    # "a":I
    :goto_418
    if-ltz v3, :cond_444

    .line 734
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numberFrameLayouts:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Landroid/widget/FrameLayout;

    .line 735
    .restart local v4    # "frameLayout":Landroid/widget/FrameLayout;
    iget-object v8, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v8, v4}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 736
    invoke-virtual {v4}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v8

    move-object v2, v8

    check-cast v2, Landroid/widget/FrameLayout$LayoutParams;

    .line 737
    const/high16 v8, 0x42c80000    # 100.0f

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

    move-result v9

    iput v9, v2, Landroid/widget/FrameLayout$LayoutParams;->width:I

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

    move-result v9

    iput v9, v2, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 739
    iput v5, v2, Landroid/widget/FrameLayout$LayoutParams;->gravity:I

    .line 740
    invoke-virtual {v4, v2}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 733
    .end local v4    # "frameLayout":Landroid/widget/FrameLayout;
    add-int/lit8 v3, v3, -0x1

    goto :goto_418

    .line 742
    .end local v3    # "a":I
    :cond_444
    return-void

    nop

    :pswitch_data_446
    .packed-switch 0x2
        :pswitch_349
        :pswitch_343
        :pswitch_33d
        :pswitch_337
        :pswitch_331
        :pswitch_32b
        :pswitch_325
        :pswitch_31f
    .end packed-switch
.end method

.method static synthetic access$1000(Lim/tpelyyftgw/ui/components/PasscodeView;)Z
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/PasscodeView;

    .line 54
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->selfCancelled:Z

    return v0
.end method

.method static synthetic access$1100(Lim/tpelyyftgw/ui/components/PasscodeView;Ljava/lang/CharSequence;)V
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/PasscodeView;
    .param p1, "x1"    # Ljava/lang/CharSequence;

    .line 54
    invoke-direct {p0, p1}, Lim/tpelyyftgw/ui/components/PasscodeView;->showFingerprintError(Ljava/lang/CharSequence;)V

    return-void
.end method

.method static synthetic access$1200(Lim/tpelyyftgw/ui/components/PasscodeView;)Lim/tpelyyftgw/ui/actionbar/AlertDialog;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/PasscodeView;

    .line 54
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintDialog:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    return-object v0
.end method

.method static synthetic access$1202(Lim/tpelyyftgw/ui/components/PasscodeView;Lim/tpelyyftgw/ui/actionbar/AlertDialog;)Lim/tpelyyftgw/ui/actionbar/AlertDialog;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/PasscodeView;
    .param p1, "x1"    # Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    .line 54
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintDialog:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    return-object p1
.end method

.method static synthetic access$400(Lim/tpelyyftgw/ui/components/PasscodeView;)Lim/tpelyyftgw/ui/components/EditTextBoldCursor;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/PasscodeView;

    .line 54
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    return-object v0
.end method

.method static synthetic access$500(Lim/tpelyyftgw/ui/components/PasscodeView;Z)V
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/PasscodeView;
    .param p1, "x1"    # Z

    .line 54
    invoke-direct {p0, p1}, Lim/tpelyyftgw/ui/components/PasscodeView;->processDone(Z)V

    return-void
.end method

.method static synthetic access$700(Lim/tpelyyftgw/ui/components/PasscodeView;FI)V
    .registers 3
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/PasscodeView;
    .param p1, "x1"    # F
    .param p2, "x2"    # I

    .line 54
    invoke-direct {p0, p1, p2}, Lim/tpelyyftgw/ui/components/PasscodeView;->shakeTextView(FI)V

    return-void
.end method

.method static synthetic access$800(Lim/tpelyyftgw/ui/components/PasscodeView;)V
    .registers 1
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/PasscodeView;

    .line 54
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->checkRetryTextView()V

    return-void
.end method

.method static synthetic access$900(Lim/tpelyyftgw/ui/components/PasscodeView;)Ljava/lang/Runnable;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/PasscodeView;

    .line 54
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkRunnable:Ljava/lang/Runnable;

    return-object v0
.end method

.method private checkFingerprint()V
    .registers 22

    .line 922
    move-object/from16 v1, p0

    const-string v2, "dialogTextBlack"

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getContext()Landroid/content/Context;

    move-result-object v0

    move-object v3, v0

    check-cast v3, Landroid/app/Activity;

    .line 923
    .local v3, "parentActivity":Landroid/app/Activity;
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v4, 0x17

    if-lt v0, v4, :cond_17f

    if-eqz v3, :cond_17f

    sget-boolean v0, Lim/tpelyyftgw/messenger/SharedConfig;->useFingerprint:Z

    if-eqz v0, :cond_17f

    sget-boolean v0, Lim/tpelyyftgw/messenger/ApplicationLoader;->mainInterfacePaused:Z

    if-nez v0, :cond_17f

    .line 925
    :try_start_1b
    iget-object v0, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintDialog:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    if-eqz v0, :cond_28

    iget-object v0, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintDialog:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->isShowing()Z

    move-result v0
    :try_end_25
    .catch Ljava/lang/Exception; {:try_start_1b .. :try_end_25} :catch_29

    if-eqz v0, :cond_28

    .line 926
    return-void

    .line 930
    :cond_28
    goto :goto_2d

    .line 928
    :catch_29
    move-exception v0

    .line 929
    .local v0, "e":Ljava/lang/Exception;
    invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V

    .line 932
    .end local v0    # "e":Ljava/lang/Exception;
    :goto_2d
    :try_start_2d
    sget-object v0, Lim/tpelyyftgw/messenger/ApplicationLoader;->applicationContext:Landroid/content/Context;

    invoke-static {v0}, Lim/tpelyyftgw/messenger/support/fingerprint/FingerprintManagerCompat;->from(Landroid/content/Context;)Lim/tpelyyftgw/messenger/support/fingerprint/FingerprintManagerCompat;

    move-result-object v4

    .line 933
    .local v4, "fingerprintManager":Lim/tpelyyftgw/messenger/support/fingerprint/FingerprintManagerCompat;
    invoke-virtual {v4}, Lim/tpelyyftgw/messenger/support/fingerprint/FingerprintManagerCompat;->isHardwareDetected()Z

    move-result v0

    if-eqz v0, :cond_17d

    invoke-virtual {v4}, Lim/tpelyyftgw/messenger/support/fingerprint/FingerprintManagerCompat;->hasEnrolledFingerprints()Z

    move-result v0

    if-eqz v0, :cond_17d

    .line 934
    new-instance v0, Landroid/widget/RelativeLayout;

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getContext()Landroid/content/Context;

    move-result-object v5

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

    move-object v10, v0

    .line 935
    .local v10, "relativeLayout":Landroid/widget/RelativeLayout;
    const/high16 v0, 0x41c00000    # 24.0f

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

    move-result v5

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

    move-result v0

    const/4 v6, 0x0

    invoke-virtual {v10, v5, v6, v0, v6}, Landroid/widget/RelativeLayout;->setPadding(IIII)V

    .line 937
    new-instance v0, Landroid/widget/TextView;

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getContext()Landroid/content/Context;

    move-result-object v5

    invoke-direct {v0, v5}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    move-object v11, v0

    .line 938
    .local v11, "fingerprintTextView":Landroid/widget/TextView;
    const/16 v0, 0x3e8

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

    .line 939
    const v0, 0x1030208

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

    .line 940
    invoke-static {v2}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I

    move-result v0

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

    .line 941
    const-string v0, "FingerprintInfo"

    const v5, 0x7f0f067a

    invoke-static {v0, v5}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v11, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 942
    invoke-virtual {v10, v11}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    .line 943
    const/4 v0, -0x2

    invoke-static {v0, v0}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createRelative(II)Landroid/widget/RelativeLayout$LayoutParams;

    move-result-object v5

    .line 944
    .local v5, "layoutParams":Landroid/widget/RelativeLayout$LayoutParams;
    const/16 v7, 0xa

    invoke-virtual {v5, v7}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    .line 945
    const/16 v7, 0x14

    invoke-virtual {v5, v7}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    .line 946
    invoke-virtual {v11, v5}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 948
    new-instance v7, Landroid/widget/ImageView;

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getContext()Landroid/content/Context;

    move-result-object v8

    invoke-direct {v7, v8}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v7, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintImageView:Landroid/widget/ImageView;

    .line 949
    const v8, 0x7f080190

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

    .line 950
    iget-object v7, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintImageView:Landroid/widget/ImageView;

    const/16 v8, 0x3e9

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

    .line 951
    iget-object v7, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintImageView:Landroid/widget/ImageView;

    const/high16 v12, -0x40000000    # -2.0f

    const/high16 v13, -0x40000000    # -2.0f

    const/4 v14, 0x0

    const/16 v15, 0x14

    const/16 v16, 0x0

    const/16 v17, 0x0

    const/16 v18, 0x14

    const/16 v19, 0x3

    const/16 v20, 0x3e8

    invoke-static/range {v12 .. v20}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createRelative(FFIIIIIII)Landroid/widget/RelativeLayout$LayoutParams;

    move-result-object v9

    invoke-virtual {v10, v7, v9}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 953
    new-instance v7, Landroid/widget/TextView;

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getContext()Landroid/content/Context;

    move-result-object v9

    invoke-direct {v7, v9}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v7, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintStatusTextView:Landroid/widget/TextView;

    .line 954
    const/16 v9, 0x10

    invoke-virtual {v7, v9}, Landroid/widget/TextView;->setGravity(I)V

    .line 955
    iget-object v7, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintStatusTextView:Landroid/widget/TextView;

    const-string v9, "FingerprintHelp"

    const v12, 0x7f0f0679

    invoke-static {v9, v12}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v7, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 956
    iget-object v7, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintStatusTextView:Landroid/widget/TextView;

    const v9, 0x10301f0

    invoke-virtual {v7, v9}, Landroid/widget/TextView;->setTextAppearance(I)V

    .line 957
    iget-object v7, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintStatusTextView:Landroid/widget/TextView;

    invoke-static {v2}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I

    move-result v2

    const v9, 0x42ffffff    # 127.99999f

    and-int/2addr v2, v9

    invoke-virtual {v7, v2}, Landroid/widget/TextView;->setTextColor(I)V

    .line 958
    iget-object v2, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintStatusTextView:Landroid/widget/TextView;

    invoke-virtual {v10, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    .line 959
    invoke-static {v0, v0}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createRelative(II)Landroid/widget/RelativeLayout$LayoutParams;

    move-result-object v0

    move-object v2, v0

    .line 960
    .end local v5    # "layoutParams":Landroid/widget/RelativeLayout$LayoutParams;
    .local v2, "layoutParams":Landroid/widget/RelativeLayout$LayoutParams;
    const/high16 v0, 0x41800000    # 16.0f

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

    move-result v0

    invoke-virtual {v2, v0}, Landroid/widget/RelativeLayout$LayoutParams;->setMarginStart(I)V

    .line 961
    const/16 v0, 0x8

    invoke-virtual {v2, v0, v8}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    .line 962
    const/4 v0, 0x6

    invoke-virtual {v2, v0, v8}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    .line 963
    const/16 v0, 0x11

    invoke-virtual {v2, v0, v8}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    .line 964
    iget-object v0, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintStatusTextView:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 966
    new-instance v0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getContext()Landroid/content/Context;

    move-result-object v5

    invoke-direct {v0, v5}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    move-object v12, v0

    .line 967
    .local v12, "builder":Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
    const-string v0, "AppName"

    const v5, 0x7f0f0141

    invoke-static {v0, v5}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v12, v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 968
    invoke-virtual {v12, v10}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setView(Landroid/view/View;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 969
    const-string v0, "Cancel"

    const v5, 0x7f0f02f7

    invoke-static {v0, v5}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v0

    const/4 v5, 0x0

    invoke-virtual {v12, v0, v5}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 970
    new-instance v0, Lim/tpelyyftgw/ui/components/-$$Lambda$PasscodeView$_k0hXATu8q2wXZLss6jQ_BkGpJY;

    invoke-direct {v0, v1}, Lim/tpelyyftgw/ui/components/-$$Lambda$PasscodeView$_k0hXATu8q2wXZLss6jQ_BkGpJY;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView;)V

    invoke-virtual {v12, v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 981
    iget-object v0, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintDialog:Lim/tpelyyftgw/ui/actionbar/AlertDialog;
    :try_end_14f
    .catchall {:try_start_2d .. :try_end_14f} :catchall_17e

    if-eqz v0, :cond_163

    .line 983
    :try_start_151
    iget-object v0, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintDialog:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_15e

    .line 984
    iget-object v0, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintDialog:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->dismiss()V
    :try_end_15e
    .catch Ljava/lang/Exception; {:try_start_151 .. :try_end_15e} :catch_15f
    .catchall {:try_start_151 .. :try_end_15e} :catchall_17e

    .line 988
    :cond_15e
    goto :goto_163

    .line 986
    :catch_15f
    move-exception v0

    .line 987
    .restart local v0    # "e":Ljava/lang/Exception;
    :try_start_160
    invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V

    .line 990
    .end local v0    # "e":Ljava/lang/Exception;
    :cond_163
    :goto_163
    invoke-virtual {v12}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->show()Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    move-result-object v0

    iput-object v0, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintDialog:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    .line 992
    new-instance v7, Landroidx/core/os/CancellationSignal;

    invoke-direct {v7}, Landroidx/core/os/CancellationSignal;-><init>()V

    iput-object v7, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->cancellationSignal:Landroidx/core/os/CancellationSignal;

    .line 993
    iput-boolean v6, v1, Lim/tpelyyftgw/ui/components/PasscodeView;->selfCancelled:Z

    .line 994
    const/4 v5, 0x0

    const/4 v6, 0x0

    new-instance v8, Lim/tpelyyftgw/ui/components/PasscodeView$7;

    invoke-direct {v8, v1}, Lim/tpelyyftgw/ui/components/PasscodeView$7;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView;)V

    const/4 v9, 0x0

    invoke-virtual/range {v4 .. v9}, Lim/tpelyyftgw/messenger/support/fingerprint/FingerprintManagerCompat;->authenticate(Lim/tpelyyftgw/messenger/support/fingerprint/FingerprintManagerCompat$CryptoObject;ILandroidx/core/os/CancellationSignal;Lim/tpelyyftgw/messenger/support/fingerprint/FingerprintManagerCompat$AuthenticationCallback;Landroid/os/Handler;)V
    :try_end_17d
    .catchall {:try_start_160 .. :try_end_17d} :catchall_17e

    .line 1028
    .end local v2    # "layoutParams":Landroid/widget/RelativeLayout$LayoutParams;
    .end local v4    # "fingerprintManager":Lim/tpelyyftgw/messenger/support/fingerprint/FingerprintManagerCompat;
    .end local v10    # "relativeLayout":Landroid/widget/RelativeLayout;
    .end local v11    # "fingerprintTextView":Landroid/widget/TextView;
    .end local v12    # "builder":Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
    :cond_17d
    goto :goto_17f

    .line 1026
    :catchall_17e
    move-exception v0

    .line 1030
    :cond_17f
    :goto_17f
    return-void
.end method

.method private checkRetryTextView()V
    .registers 11

    .line 833
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v0

    .line 834
    .local v0, "currentTime":J
    sget-wide v2, Lim/tpelyyftgw/messenger/SharedConfig;->lastUptimeMillis:J

    const-wide/16 v4, 0x0

    cmp-long v6, v0, v2

    if-lez v6, :cond_1d

    .line 835
    sget-wide v2, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeRetryInMs:J

    sget-wide v6, Lim/tpelyyftgw/messenger/SharedConfig;->lastUptimeMillis:J

    sub-long v6, v0, v6

    sub-long/2addr v2, v6

    sput-wide v2, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeRetryInMs:J

    .line 836
    sget-wide v2, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeRetryInMs:J

    cmp-long v6, v2, v4

    if-gez v6, :cond_1d

    .line 837
    sput-wide v4, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeRetryInMs:J

    .line 840
    :cond_1d
    sput-wide v0, Lim/tpelyyftgw/messenger/SharedConfig;->lastUptimeMillis:J

    .line 841
    invoke-static {}, Lim/tpelyyftgw/messenger/SharedConfig;->saveConfig()V

    .line 842
    sget-wide v2, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeRetryInMs:J

    const/4 v6, 0x4

    const/4 v7, 0x1

    const/4 v8, 0x0

    cmp-long v9, v2, v4

    if-lez v9, :cond_8f

    .line 843
    sget-wide v2, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeRetryInMs:J

    long-to-double v2, v2

    const-wide v4, 0x408f400000000000L    # 1000.0

    invoke-static {v2, v3}, Ljava/lang/Double;->isNaN(D)Z

    div-double/2addr v2, v4

    invoke-static {v2, v3}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v2

    double-to-int v2, v2

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

    move-result v2

    .line 844
    .local v2, "value":I
    iget v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->lastValue:I

    if-eq v2, v3, :cond_5e

    .line 845
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->retryTextView:Landroid/widget/TextView;

    const v4, 0x7f0f10cb

    new-array v5, v7, [Ljava/lang/Object;

    const-string v7, "Seconds"

    invoke-static {v7, v2}, Lim/tpelyyftgw/messenger/LocaleController;->formatPluralString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v7

    aput-object v7, v5, v8

    const-string v7, "TooManyTries"

    invoke-static {v7, v4, v5}, Lim/tpelyyftgw/messenger/LocaleController;->formatString(Ljava/lang/String;I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 846
    iput v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->lastValue:I

    .line 848
    :cond_5e
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->retryTextView:Landroid/widget/TextView;

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

    move-result v3

    if-eqz v3, :cond_8e

    .line 849
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->retryTextView:Landroid/widget/TextView;

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

    .line 850
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

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

    .line 851
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

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

    move-result v3

    if-nez v3, :cond_7d

    .line 852
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

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

    .line 854
    :cond_7d
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->hideKeyboard(Landroid/view/View;)V

    .line 855
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkRunnable:Ljava/lang/Runnable;

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

    .line 856
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkRunnable:Ljava/lang/Runnable;

    const-wide/16 v4, 0x64

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

    .line 858
    .end local v2    # "value":I
    :cond_8e
    goto :goto_b9

    .line 859
    :cond_8f
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkRunnable:Ljava/lang/Runnable;

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

    .line 860
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

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

    move-result v2

    if-eqz v2, :cond_b9

    .line 861
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->retryTextView:Landroid/widget/TextView;

    invoke-virtual {v2, v6}, Landroid/widget/TextView;->setVisibility(I)V

    .line 862
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

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

    .line 863
    sget v2, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeType:I

    if-nez v2, :cond_b0

    .line 864
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

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

    goto :goto_b9

    .line 865
    :cond_b0
    sget v2, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeType:I

    if-ne v2, v7, :cond_b9

    .line 866
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->showKeyboard(Landroid/view/View;)Z

    .line 870
    :cond_b9
    :goto_b9
    return-void
.end method

.method static synthetic lambda$onShow$6(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .registers 3
    .param p0, "v"    # Landroid/view/View;
    .param p1, "event"    # Landroid/view/MotionEvent;

    .line 1099
    const/4 v0, 0x1

    return v0
.end method

.method private onPasscodeError()V
    .registers 4

    .line 873
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "vibrator"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/os/Vibrator;

    .line 874
    .local v0, "v":Landroid/os/Vibrator;
    if-eqz v0, :cond_13

    .line 875
    const-wide/16 v1, 0xc8

    invoke-virtual {v0, v1, v2}, Landroid/os/Vibrator;->vibrate(J)V

    .line 877
    :cond_13
    const/high16 v1, 0x40000000    # 2.0f

    const/4 v2, 0x0

    invoke-direct {p0, v1, v2}, Lim/tpelyyftgw/ui/components/PasscodeView;->shakeTextView(FI)V

    .line 878
    return-void
.end method

.method private processDone(Z)V
    .registers 9
    .param p1, "fingerprint"    # Z

    .line 756
    const/4 v0, 0x1

    if-nez p1, :cond_53

    .line 757
    sget-wide v1, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeRetryInMs:J

    const-wide/16 v3, 0x0

    cmp-long v5, v1, v3

    if-lez v5, :cond_c

    .line 758
    return-void

    .line 760
    :cond_c
    const-string v1, ""

    .line 761
    .local v1, "password":Ljava/lang/String;
    sget v2, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeType:I

    if-nez v2, :cond_19

    .line 762
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->getString()Ljava/lang/String;

    move-result-object v1

    goto :goto_27

    .line 763
    :cond_19
    sget v2, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeType:I

    if-ne v2, v0, :cond_27

    .line 764
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    .line 766
    :cond_27
    :goto_27
    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v2

    if-nez v2, :cond_31

    .line 767
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->onPasscodeError()V

    .line 768
    return-void

    .line 770
    :cond_31
    invoke-static {v1}, Lim/tpelyyftgw/messenger/SharedConfig;->checkPasscode(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_53

    .line 771
    invoke-static {}, Lim/tpelyyftgw/messenger/SharedConfig;->increaseBadPasscodeTries()V

    .line 772
    sget-wide v5, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeRetryInMs:J

    cmp-long v2, v5, v3

    if-lez v2, :cond_43

    .line 773
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->checkRetryTextView()V

    .line 775
    :cond_43
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    const-string v3, ""

    invoke-virtual {v2, v3}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setText(Ljava/lang/CharSequence;)V

    .line 776
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    # invokes: Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->eraseAllCharacters(Z)V
    invoke-static {v2, v0}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->access$600(Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;Z)V

    .line 777
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->onPasscodeError()V

    .line 778
    return-void

    .line 781
    .end local v1    # "password":Ljava/lang/String;
    :cond_53
    const/4 v1, 0x0

    sput v1, Lim/tpelyyftgw/messenger/SharedConfig;->badPasscodeTries:I

    .line 782
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

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

    .line 783
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->hideKeyboard(Landroid/view/View;)V

    .line 785
    new-instance v2, Landroid/animation/AnimatorSet;

    invoke-direct {v2}, Landroid/animation/AnimatorSet;-><init>()V

    .line 786
    .local v2, "AnimatorSet":Landroid/animation/AnimatorSet;
    const-wide/16 v3, 0xc8

    invoke-virtual {v2, v3, v4}, Landroid/animation/AnimatorSet;->setDuration(J)Landroid/animation/AnimatorSet;

    .line 787
    const/4 v3, 0x2

    new-array v3, v3, [Landroid/animation/Animator;

    new-array v4, v0, [F

    const/high16 v5, 0x41a00000    # 20.0f

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

    move-result v5

    int-to-float v5, v5

    aput v5, v4, v1

    const-string v5, "translationY"

    invoke-static {p0, v5, v4}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v4

    aput-object v4, v3, v1

    new-array v4, v0, [F

    const/4 v5, 0x0

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

    move-result v5

    int-to-float v5, v5

    aput v5, v4, v1

    const-string v5, "alpha"

    invoke-static {p0, v5, v4}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v4

    aput-object v4, v3, v0

    .line 787
    invoke-virtual {v2, v3}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V

    .line 790
    new-instance v0, Lim/tpelyyftgw/ui/components/PasscodeView$4;

    invoke-direct {v0, p0}, Lim/tpelyyftgw/ui/components/PasscodeView$4;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView;)V

    invoke-virtual {v2, v0}, Landroid/animation/AnimatorSet;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 796
    invoke-virtual {v2}, Landroid/animation/AnimatorSet;->start()V

    .line 798
    sput-boolean v1, Lim/tpelyyftgw/messenger/SharedConfig;->appLocked:Z

    .line 799
    invoke-static {}, Lim/tpelyyftgw/messenger/SharedConfig;->saveConfig()V

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

    move-result-object v0

    sget v3, Lim/tpelyyftgw/messenger/NotificationCenter;->didSetPasscode:I

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

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

    .line 801
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/PasscodeView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 802
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->delegate:Lim/tpelyyftgw/ui/components/PasscodeView$PasscodeViewDelegate;

    if-eqz v0, :cond_bb

    .line 803
    invoke-interface {v0}, Lim/tpelyyftgw/ui/components/PasscodeView$PasscodeViewDelegate;->didAcceptedPassword()V

    .line 805
    :cond_bb
    return-void
.end method

.method private setNextFocus(Landroid/view/View;I)V
    .registers 5
    .param p1, "view"    # Landroid/view/View;
    .param p2, "nextId"    # I

    .line 745
    invoke-virtual {p1, p2}, Landroid/view/View;->setNextFocusForwardId(I)V

    .line 746
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x16

    if-lt v0, v1, :cond_c

    .line 747
    invoke-virtual {p1, p2}, Landroid/view/View;->setAccessibilityTraversalBefore(I)V

    .line 749
    :cond_c
    return-void
.end method

.method private shakeTextView(FI)V
    .registers 9
    .param p1, "x"    # F
    .param p2, "num"    # I

    .line 808
    const/4 v0, 0x6

    if-ne p2, v0, :cond_4

    .line 809
    return-void

    .line 811
    :cond_4
    new-instance v0, Landroid/animation/AnimatorSet;

    invoke-direct {v0}, Landroid/animation/AnimatorSet;-><init>()V

    .line 812
    .local v0, "AnimatorSet":Landroid/animation/AnimatorSet;
    const/4 v1, 0x1

    new-array v2, v1, [Landroid/animation/Animator;

    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passcodeTextView:Landroid/widget/TextView;

    new-array v1, v1, [F

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

    move-result v4

    int-to-float v4, v4

    const/4 v5, 0x0

    aput v4, v1, v5

    const-string v4, "translationX"

    invoke-static {v3, v4, v1}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v1

    aput-object v1, v2, v5

    invoke-virtual {v0, v2}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V

    .line 813
    const-wide/16 v1, 0x32

    invoke-virtual {v0, v1, v2}, Landroid/animation/AnimatorSet;->setDuration(J)Landroid/animation/AnimatorSet;

    .line 814
    new-instance v1, Lim/tpelyyftgw/ui/components/PasscodeView$5;

    invoke-direct {v1, p0, p2, p1}, Lim/tpelyyftgw/ui/components/PasscodeView$5;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView;IF)V

    invoke-virtual {v0, v1}, Landroid/animation/AnimatorSet;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 820
    invoke-virtual {v0}, Landroid/animation/AnimatorSet;->start()V

    .line 821
    return-void
.end method

.method private showFingerprintError(Ljava/lang/CharSequence;)V
    .registers 6
    .param p1, "error"    # Ljava/lang/CharSequence;

    .line 1103
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintImageView:Landroid/widget/ImageView;

    const v1, 0x7f08018f

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

    .line 1104
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintStatusTextView:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1105
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintStatusTextView:Landroid/widget/TextView;

    const v1, -0xbaee2

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 1106
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "vibrator"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/os/Vibrator;

    .line 1107
    .local v0, "v":Landroid/os/Vibrator;
    if-eqz v0, :cond_28

    .line 1108
    const-wide/16 v1, 0xc8

    invoke-virtual {v0, v1, v2}, Landroid/os/Vibrator;->vibrate(J)V

    .line 1110
    :cond_28
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintStatusTextView:Landroid/widget/TextView;

    const/high16 v2, 0x40000000    # 2.0f

    const/4 v3, 0x0

    invoke-static {v1, v2, v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->shakeView(Landroid/view/View;FI)V

    .line 1111
    return-void
.end method


# virtual methods
.method public synthetic lambda$checkFingerprint$5$PasscodeView(Landroid/content/DialogInterface;)V
    .registers 4
    .param p1, "dialog"    # Landroid/content/DialogInterface;

    .line 971
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->cancellationSignal:Landroidx/core/os/CancellationSignal;

    if-eqz v0, :cond_12

    .line 972
    const/4 v1, 0x1

    iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->selfCancelled:Z

    .line 974
    :try_start_7
    invoke-virtual {v0}, Landroidx/core/os/CancellationSignal;->cancel()V
    :try_end_a
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_a} :catch_b

    .line 977
    goto :goto_f

    .line 975
    :catch_b
    move-exception v0

    .line 976
    .local v0, "e":Ljava/lang/Exception;
    invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V

    .line 978
    .end local v0    # "e":Ljava/lang/Exception;
    :goto_f
    const/4 v0, 0x0

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->cancellationSignal:Landroidx/core/os/CancellationSignal;

    .line 980
    :cond_12
    return-void
.end method

.method public synthetic lambda$new$0$PasscodeView(Landroid/widget/TextView;ILandroid/view/KeyEvent;)Z
    .registers 6
    .param p1, "textView"    # Landroid/widget/TextView;
    .param p2, "i"    # I
    .param p3, "keyEvent"    # Landroid/view/KeyEvent;

    .line 515
    const/4 v0, 0x0

    const/4 v1, 0x6

    if-ne p2, v1, :cond_9

    .line 516
    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/PasscodeView;->processDone(Z)V

    .line 517
    const/4 v0, 0x1

    return v0

    .line 519
    :cond_9
    return v0
.end method

.method public synthetic lambda$new$1$PasscodeView(Landroid/view/View;)V
    .registers 3
    .param p1, "v"    # Landroid/view/View;

    .line 569
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/PasscodeView;->processDone(Z)V

    return-void
.end method

.method public synthetic lambda$new$2$PasscodeView(Landroid/view/View;)Z
    .registers 4
    .param p1, "v"    # Landroid/view/View;

    .line 673
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    const-string v1, ""

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setText(Ljava/lang/CharSequence;)V

    .line 674
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    const/4 v1, 0x1

    # invokes: Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->eraseAllCharacters(Z)V
    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->access$600(Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;Z)V

    .line 675
    return v1
.end method

.method public synthetic lambda$new$3$PasscodeView(Landroid/view/View;)V
    .registers 5
    .param p1, "v"    # Landroid/view/View;

    .line 691
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    .line 692
    .local v0, "tag":I
    packed-switch v0, :pswitch_data_72

    goto :goto_64

    .line 724
    :pswitch_e
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->eraseLastCharacter()V

    goto :goto_64

    .line 721
    :pswitch_14
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    const-string v2, "9"

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->appendCharacter(Ljava/lang/String;)V

    .line 722
    goto :goto_64

    .line 718
    :pswitch_1c
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    const-string v2, "8"

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->appendCharacter(Ljava/lang/String;)V

    .line 719
    goto :goto_64

    .line 715
    :pswitch_24
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    const-string v2, "7"

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->appendCharacter(Ljava/lang/String;)V

    .line 716
    goto :goto_64

    .line 712
    :pswitch_2c
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    const-string v2, "6"

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->appendCharacter(Ljava/lang/String;)V

    .line 713
    goto :goto_64

    .line 709
    :pswitch_34
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    const-string v2, "5"

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->appendCharacter(Ljava/lang/String;)V

    .line 710
    goto :goto_64

    .line 706
    :pswitch_3c
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    const-string v2, "4"

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->appendCharacter(Ljava/lang/String;)V

    .line 707
    goto :goto_64

    .line 703
    :pswitch_44
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    const-string v2, "3"

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->appendCharacter(Ljava/lang/String;)V

    .line 704
    goto :goto_64

    .line 700
    :pswitch_4c
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    const-string v2, "2"

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->appendCharacter(Ljava/lang/String;)V

    .line 701
    goto :goto_64

    .line 697
    :pswitch_54
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    const-string v2, "1"

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->appendCharacter(Ljava/lang/String;)V

    .line 698
    goto :goto_64

    .line 694
    :pswitch_5c
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    const-string v2, "0"

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->appendCharacter(Ljava/lang/String;)V

    .line 695
    nop

    .line 727
    :goto_64
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->length()I

    move-result v1

    const/4 v2, 0x4

    if-ne v1, v2, :cond_71

    .line 728
    const/4 v1, 0x0

    invoke-direct {p0, v1}, Lim/tpelyyftgw/ui/components/PasscodeView;->processDone(Z)V

    .line 730
    :cond_71
    return-void

    :pswitch_data_72
    .packed-switch 0x0
        :pswitch_5c
        :pswitch_54
        :pswitch_4c
        :pswitch_44
        :pswitch_3c
        :pswitch_34
        :pswitch_2c
        :pswitch_24
        :pswitch_1c
        :pswitch_14
        :pswitch_e
    .end packed-switch
.end method

.method public synthetic lambda$onResume$4$PasscodeView()V
    .registers 2

    .line 889
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->retryTextView:Landroid/widget/TextView;

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

    move-result v0

    if-eqz v0, :cond_14

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    if-eqz v0, :cond_14

    .line 890
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->requestFocus()Z

    .line 891
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->showKeyboard(Landroid/view/View;)Z

    .line 893
    :cond_14
    return-void
.end method

.method protected onDraw(Landroid/graphics/Canvas;)V
    .registers 12
    .param p1, "canvas"    # Landroid/graphics/Canvas;

    .line 1228
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_7

    .line 1229
    return-void

    .line 1231
    :cond_7
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundDrawable:Landroid/graphics/drawable/Drawable;

    if-eqz v0, :cond_8a

    .line 1232
    instance-of v1, v0, Landroid/graphics/drawable/ColorDrawable;

    if-nez v1, :cond_76

    instance-of v0, v0, Landroid/graphics/drawable/GradientDrawable;

    if-eqz v0, :cond_14

    goto :goto_76

    .line 1236
    :cond_14
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getMeasuredWidth()I

    move-result v0

    int-to-float v0, v0

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v1

    int-to-float v1, v1

    div-float/2addr v0, v1

    .line 1237
    .local v0, "scaleX":F
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getMeasuredHeight()I

    move-result v1

    iget v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->keyboardHeight:I

    add-int/2addr v1, v2

    int-to-float v1, v1

    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v2

    int-to-float v2, v2

    div-float/2addr v1, v2

    .line 1238
    .local v1, "scaleY":F
    cmpg-float v2, v0, v1

    if-gez v2, :cond_37

    move v2, v1

    goto :goto_38

    :cond_37
    move v2, v0

    .line 1239
    .local v2, "scale":F
    :goto_38
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v3

    int-to-float v3, v3

    mul-float v3, v3, v2

    float-to-double v3, v3

    invoke-static {v3, v4}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v3

    double-to-int v3, v3

    .line 1240
    .local v3, "width":I
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v4

    int-to-float v4, v4

    mul-float v4, v4, v2

    float-to-double v4, v4

    invoke-static {v4, v5}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v4

    double-to-int v4, v4

    .line 1241
    .local v4, "height":I
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getMeasuredWidth()I

    move-result v5

    sub-int/2addr v5, v3

    div-int/lit8 v5, v5, 0x2

    .line 1242
    .local v5, "x":I
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getMeasuredHeight()I

    move-result v6

    sub-int/2addr v6, v4

    iget v7, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->keyboardHeight:I

    add-int/2addr v6, v7

    div-int/lit8 v6, v6, 0x2

    .line 1243
    .local v6, "y":I
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundDrawable:Landroid/graphics/drawable/Drawable;

    add-int v8, v5, v3

    add-int v9, v6, v4

    invoke-virtual {v7, v5, v6, v8, v9}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 1244
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundDrawable:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v7, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V

    .line 1245
    .end local v0    # "scaleX":F
    .end local v1    # "scaleY":F
    .end local v2    # "scale":F
    .end local v3    # "width":I
    .end local v4    # "height":I
    .end local v5    # "x":I
    .end local v6    # "y":I
    goto :goto_8d

    .line 1233
    :cond_76
    :goto_76
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v1

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

    move-result v2

    const/4 v3, 0x0

    invoke-virtual {v0, v3, v3, v1, v2}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 1234
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundDrawable:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V

    goto :goto_8d

    .line 1247
    :cond_8a
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onDraw(Landroid/graphics/Canvas;)V

    .line 1249
    :goto_8d
    return-void
.end method

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

    .line 1208
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getRootView()Landroid/view/View;

    move-result-object v0

    .line 1209
    .local v0, "rootView":Landroid/view/View;
    invoke-virtual {v0}, Landroid/view/View;->getHeight()I

    move-result v1

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

    sub-int/2addr v1, v2

    invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->getViewInset(Landroid/view/View;)I

    move-result v2

    sub-int/2addr v1, v2

    .line 1210
    .local v1, "usableViewHeight":I
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->rect:Landroid/graphics/Rect;

    invoke-virtual {p0, v2}, Lim/tpelyyftgw/ui/components/PasscodeView;->getWindowVisibleDisplayFrame(Landroid/graphics/Rect;)V

    .line 1211
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->rect:Landroid/graphics/Rect;

    iget v2, v2, Landroid/graphics/Rect;->bottom:I

    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->rect:Landroid/graphics/Rect;

    iget v3, v3, Landroid/graphics/Rect;->top:I

    sub-int/2addr v2, v3

    sub-int v2, v1, v2

    iput v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->keyboardHeight:I

    .line 1213
    sget v2, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeType:I

    const/4 v3, 0x1

    if-ne v2, v3, :cond_74

    invoke-static {}, Lim/tpelyyftgw/messenger/AndroidUtilities;->isTablet()Z

    move-result v2

    const/4 v3, 0x2

    if-nez v2, :cond_3e

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v2

    iget v2, v2, Landroid/content/res/Configuration;->orientation:I

    if-eq v2, v3, :cond_74

    .line 1214
    :cond_3e
    const/4 v2, 0x0

    .line 1215
    .local v2, "t":I
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v4}, Landroid/widget/FrameLayout;->getTag()Ljava/lang/Object;

    move-result-object v4

    if-eqz v4, :cond_53

    .line 1216
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v4}, Landroid/widget/FrameLayout;->getTag()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/Integer;

    invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I

    move-result v2

    .line 1218
    :cond_53
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

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

    move-result-object v4

    check-cast v4, Landroid/widget/FrameLayout$LayoutParams;

    .line 1219
    .local v4, "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    iget v5, v4, Landroid/widget/FrameLayout$LayoutParams;->height:I

    add-int/2addr v5, v2

    iget v6, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->keyboardHeight:I

    div-int/2addr v6, v3

    sub-int/2addr v5, v6

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

    const/16 v6, 0x15

    if-lt v3, v6, :cond_6b

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

    goto :goto_6c

    :cond_6b
    const/4 v3, 0x0

    :goto_6c
    sub-int/2addr v5, v3

    iput v5, v4, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I

    .line 1220
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v3, v4}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 1223
    .end local v2    # "t":I
    .end local v4    # "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    :cond_74
    invoke-super/range {p0 .. p5}, Landroid/widget/FrameLayout;->onLayout(ZIIII)V

    .line 1224
    return-void
.end method

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

    .line 1115
    move-object/from16 v0, p0

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

    move-result v1

    .line 1116
    .local v1, "width":I
    sget-object v2, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;

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

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

    const/16 v4, 0x15

    if-lt v3, v4, :cond_12

    const/4 v3, 0x0

    goto :goto_14

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

    :goto_14
    sub-int/2addr v2, v3

    .line 1120
    .local v2, "height":I
    invoke-static {}, Lim/tpelyyftgw/messenger/AndroidUtilities;->isTablet()Z

    move-result v3

    const/4 v4, 0x2

    if-nez v3, :cond_73

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    invoke-virtual {v3}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v3

    iget v3, v3, Landroid/content/res/Configuration;->orientation:I

    if-ne v3, v4, :cond_73

    .line 1121
    iget-object v3, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

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

    move-result-object v3

    check-cast v3, Landroid/widget/FrameLayout$LayoutParams;

    .line 1122
    .local v3, "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    sget v5, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeType:I

    if-nez v5, :cond_3b

    div-int/lit8 v5, v1, 0x2

    goto :goto_3c

    :cond_3b
    move v5, v1

    :goto_3c
    iput v5, v3, Landroid/widget/FrameLayout$LayoutParams;->width:I

    .line 1123
    const/high16 v5, 0x430c0000    # 140.0f

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

    move-result v6

    iput v6, v3, Landroid/widget/FrameLayout$LayoutParams;->height:I

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

    move-result v5

    sub-int v5, v2, v5

    div-int/2addr v5, v4

    iput v5, v3, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I

    .line 1125
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v4, v3}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 1127
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

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

    move-result-object v4

    move-object v3, v4

    check-cast v3, Landroid/widget/FrameLayout$LayoutParams;

    .line 1128
    iput v2, v3, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 1129
    div-int/lit8 v4, v1, 0x2

    iput v4, v3, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

    .line 1130
    iget v4, v3, Landroid/widget/FrameLayout$LayoutParams;->height:I

    sub-int v4, v2, v4

    iput v4, v3, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I

    .line 1131
    div-int/lit8 v4, v1, 0x2

    iput v4, v3, Landroid/widget/FrameLayout$LayoutParams;->width:I

    .line 1132
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v4, v3}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_e3

    .line 1134
    .end local v3    # "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    :cond_73
    const/4 v3, 0x0

    .line 1135
    .local v3, "top":I
    const/4 v5, 0x0

    .line 1136
    .local v5, "left":I
    invoke-static {}, Lim/tpelyyftgw/messenger/AndroidUtilities;->isTablet()Z

    move-result v6

    if-eqz v6, :cond_a3

    .line 1137
    const/high16 v6, 0x43f90000    # 498.0f

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

    move-result v7

    if-le v1, v7, :cond_8f

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

    move-result v7

    sub-int v7, v1, v7

    div-int/lit8 v5, v7, 0x2

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

    move-result v1

    .line 1141
    :cond_8f
    const/high16 v6, 0x44040000    # 528.0f

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

    move-result v7

    if-le v2, v7, :cond_a3

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

    move-result v7

    sub-int v7, v2, v7

    div-int/lit8 v3, v7, 0x2

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

    move-result v2

    .line 1146
    :cond_a3
    iget-object v6, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

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

    move-result-object v6

    check-cast v6, Landroid/widget/FrameLayout$LayoutParams;

    .line 1147
    .local v6, "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    div-int/lit8 v7, v2, 0x3

    iput v7, v6, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 1148
    iput v1, v6, Landroid/widget/FrameLayout$LayoutParams;->width:I

    .line 1149
    iput v3, v6, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I

    .line 1150
    iput v5, v6, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

    .line 1151
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

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

    move-result-object v8

    invoke-virtual {v7, v8}, Landroid/widget/FrameLayout;->setTag(Ljava/lang/Object;)V

    .line 1152
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v7, v6}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 1154
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

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

    move-result-object v7

    move-object v6, v7

    check-cast v6, Landroid/widget/FrameLayout$LayoutParams;

    .line 1155
    div-int/lit8 v7, v2, 0x3

    mul-int/lit8 v7, v7, 0x2

    iput v7, v6, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 1156
    iput v5, v6, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

    .line 1157
    iget v4, v6, Landroid/widget/FrameLayout$LayoutParams;->height:I

    sub-int v4, v2, v4

    add-int/2addr v4, v3

    iput v4, v6, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I

    .line 1158
    iput v1, v6, Landroid/widget/FrameLayout$LayoutParams;->width:I

    .line 1159
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v4, v6}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    move-object v3, v6

    .line 1162
    .end local v5    # "left":I
    .end local v6    # "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    .local v3, "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    :goto_e3
    iget v4, v3, Landroid/widget/FrameLayout$LayoutParams;->width:I

    const/high16 v5, 0x42480000    # 50.0f

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

    move-result v6

    mul-int/lit8 v6, v6, 0x3

    sub-int/2addr v4, v6

    div-int/lit8 v4, v4, 0x4

    .line 1163
    .local v4, "sizeBetweenNumbersX":I
    iget v6, v3, Landroid/widget/FrameLayout$LayoutParams;->height:I

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

    move-result v7

    mul-int/lit8 v7, v7, 0x4

    sub-int/2addr v6, v7

    div-int/lit8 v6, v6, 0x5

    .line 1165
    .local v6, "sizeBetweenNumbersY":I
    const/4 v7, 0x0

    .local v7, "a":I
    :goto_fc
    const/16 v8, 0xb

    if-ge v7, v8, :cond_1b5

    .line 1168
    const/16 v8, 0xa

    if-nez v7, :cond_107

    .line 1169
    const/16 v9, 0xa

    .local v9, "num":I
    goto :goto_10e

    .line 1170
    .end local v9    # "num":I
    :cond_107
    if-ne v7, v8, :cond_10c

    .line 1171
    const/16 v9, 0xb

    .restart local v9    # "num":I
    goto :goto_10e

    .line 1173
    .end local v9    # "num":I
    :cond_10c
    add-int/lit8 v9, v7, -0x1

    .line 1175
    .restart local v9    # "num":I
    :goto_10e
    div-int/lit8 v10, v9, 0x3

    .line 1176
    .local v10, "row":I
    rem-int/lit8 v11, v9, 0x3

    .line 1178
    .local v11, "col":I
    if-ge v7, v8, :cond_15c

    .line 1179
    iget-object v8, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numberTextViews:Ljava/util/ArrayList;

    invoke-virtual {v8, v7}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    .line 1180
    .local v8, "textView":Landroid/widget/TextView;
    iget-object v12, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->lettersTextViews:Ljava/util/ArrayList;

    invoke-virtual {v12, v7}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Landroid/widget/TextView;

    .line 1181
    .local v12, "textView1":Landroid/widget/TextView;
    invoke-virtual {v8}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v13

    move-object v3, v13

    check-cast v3, Landroid/widget/FrameLayout$LayoutParams;

    .line 1182
    invoke-virtual {v12}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v13

    check-cast v13, Landroid/widget/FrameLayout$LayoutParams;

    .line 1183
    .local v13, "layoutParams1":Landroid/widget/FrameLayout$LayoutParams;
    invoke-static {v5}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v14

    add-int/2addr v14, v6

    mul-int v14, v14, v10

    add-int/2addr v14, v6

    iput v14, v3, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I

    iput v14, v13, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I

    .line 1184
    .local v14, "top":I
    invoke-static {v5}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v15

    add-int/2addr v15, v4

    mul-int v15, v15, v11

    add-int/2addr v15, v4

    iput v15, v3, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

    iput v15, v13, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

    .line 1185
    iget v15, v13, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I

    const/high16 v16, 0x42200000    # 40.0f

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

    move-result v16

    add-int v15, v15, v16

    iput v15, v13, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I

    .line 1186
    invoke-virtual {v8, v3}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 1187
    invoke-virtual {v12, v13}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 1188
    .end local v8    # "textView":Landroid/widget/TextView;
    .end local v12    # "textView1":Landroid/widget/TextView;
    goto :goto_18b

    .line 1189
    .end local v13    # "layoutParams1":Landroid/widget/FrameLayout$LayoutParams;
    .end local v14    # "top":I
    :cond_15c
    iget-object v8, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->eraseView:Landroid/widget/ImageView;

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

    move-result-object v8

    move-object v3, v8

    check-cast v3, Landroid/widget/FrameLayout$LayoutParams;

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

    move-result v8

    add-int/2addr v8, v6

    mul-int v8, v8, v10

    add-int/2addr v8, v6

    const/high16 v12, 0x41000000    # 8.0f

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

    move-result v13

    add-int/2addr v8, v13

    iput v8, v3, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I

    .line 1191
    .local v8, "top":I
    invoke-static {v5}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v13

    add-int/2addr v13, v4

    mul-int v13, v13, v11

    add-int/2addr v13, v4

    iput v13, v3, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

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

    move-result v12

    sub-int v14, v8, v12

    .line 1193
    .end local v8    # "top":I
    .restart local v14    # "top":I
    iget-object v8, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->eraseView:Landroid/widget/ImageView;

    invoke-virtual {v8, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 1196
    :goto_18b
    iget-object v8, v0, Lim/tpelyyftgw/ui/components/PasscodeView;->numberFrameLayouts:Ljava/util/ArrayList;

    invoke-virtual {v8, v7}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Landroid/widget/FrameLayout;

    .line 1197
    .local v8, "frameLayout":Landroid/widget/FrameLayout;
    invoke-virtual {v8}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v12

    check-cast v12, Landroid/widget/FrameLayout$LayoutParams;

    .line 1198
    .local v12, "layoutParams1":Landroid/widget/FrameLayout$LayoutParams;
    const/high16 v13, 0x41880000    # 17.0f

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

    move-result v13

    sub-int v13, v14, v13

    iput v13, v12, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I

    .line 1199
    iget v13, v3, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

    const/high16 v15, 0x41c80000    # 25.0f

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

    move-result v15

    sub-int/2addr v13, v15

    iput v13, v12, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

    .line 1200
    invoke-virtual {v8, v12}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 1165
    .end local v8    # "frameLayout":Landroid/widget/FrameLayout;
    .end local v9    # "num":I
    .end local v10    # "row":I
    .end local v11    # "col":I
    .end local v12    # "layoutParams1":Landroid/widget/FrameLayout$LayoutParams;
    .end local v14    # "top":I
    add-int/lit8 v7, v7, 0x1

    goto/16 :goto_fc

    .line 1203
    .end local v7    # "a":I
    :cond_1b5
    invoke-super/range {p0 .. p2}, Landroid/widget/FrameLayout;->onMeasure(II)V

    .line 1204
    return-void
.end method

.method public onPause()V
    .registers 4

    .line 900
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkRunnable:Ljava/lang/Runnable;

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

    .line 901
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintDialog:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    const/4 v1, 0x0

    if-eqz v0, :cond_1c

    .line 903
    :try_start_a
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_15

    .line 904
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintDialog:Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->dismiss()V

    .line 906
    :cond_15
    iput-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->fingerprintDialog:Lim/tpelyyftgw/ui/actionbar/AlertDialog;
    :try_end_17
    .catch Ljava/lang/Exception; {:try_start_a .. :try_end_17} :catch_18

    .line 909
    goto :goto_1c

    .line 907
    :catch_18
    move-exception v0

    .line 908
    .local v0, "e":Ljava/lang/Exception;
    invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V

    .line 912
    .end local v0    # "e":Ljava/lang/Exception;
    :cond_1c
    :goto_1c
    :try_start_1c
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0x17

    if-lt v0, v2, :cond_2d

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->cancellationSignal:Landroidx/core/os/CancellationSignal;

    if-eqz v0, :cond_2d

    .line 913
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->cancellationSignal:Landroidx/core/os/CancellationSignal;

    invoke-virtual {v0}, Landroidx/core/os/CancellationSignal;->cancel()V

    .line 914
    iput-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->cancellationSignal:Landroidx/core/os/CancellationSignal;
    :try_end_2d
    .catch Ljava/lang/Exception; {:try_start_1c .. :try_end_2d} :catch_2e

    .line 918
    :cond_2d
    goto :goto_32

    .line 916
    :catch_2e
    move-exception v0

    .line 917
    .restart local v0    # "e":Ljava/lang/Exception;
    invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V

    .line 919
    .end local v0    # "e":Ljava/lang/Exception;
    :goto_32
    return-void
.end method

.method public onResume()V
    .registers 4

    .line 881
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->checkRetryTextView()V

    .line 882
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->retryTextView:Landroid/widget/TextView;

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

    move-result v0

    if-eqz v0, :cond_29

    .line 883
    sget v0, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeType:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_26

    .line 884
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    if-eqz v0, :cond_1c

    .line 885
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->requestFocus()Z

    .line 886
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->showKeyboard(Landroid/view/View;)Z

    .line 888
    :cond_1c
    new-instance v0, Lim/tpelyyftgw/ui/components/-$$Lambda$PasscodeView$R1-ZJRaQhNyNqlnepOSSyDKpSjE;

    invoke-direct {v0, p0}, Lim/tpelyyftgw/ui/components/-$$Lambda$PasscodeView$R1-ZJRaQhNyNqlnepOSSyDKpSjE;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView;)V

    const-wide/16 v1, 0xc8

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

    .line 895
    :cond_26
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->checkFingerprint()V

    .line 897
    :cond_29
    return-void
.end method

.method public onShow()V
    .registers 10

    .line 1033
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->checkRetryTextView()V

    .line 1034
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    .line 1035
    .local v0, "parentActivity":Landroid/app/Activity;
    sget v1, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeType:I

    const/4 v2, 0x1

    if-ne v1, v2, :cond_23

    .line 1036
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->retryTextView:Landroid/widget/TextView;

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

    move-result v1

    if-eqz v1, :cond_3b

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    if-eqz v1, :cond_3b

    .line 1037
    invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->requestFocus()Z

    .line 1038
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->showKeyboard(Landroid/view/View;)Z

    goto :goto_3b

    .line 1041
    :cond_23
    if-eqz v0, :cond_3b

    .line 1042
    invoke-virtual {v0}, Landroid/app/Activity;->getCurrentFocus()Landroid/view/View;

    move-result-object v1

    .line 1043
    .local v1, "currentFocus":Landroid/view/View;
    if-eqz v1, :cond_3b

    .line 1044
    invoke-virtual {v1}, Landroid/view/View;->clearFocus()V

    .line 1045
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getContext()Landroid/content/Context;

    move-result-object v3

    check-cast v3, Landroid/app/Activity;

    invoke-virtual {v3}, Landroid/app/Activity;->getCurrentFocus()Landroid/view/View;

    move-result-object v3

    invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->hideKeyboard(Landroid/view/View;)V

    .line 1049
    .end local v1    # "currentFocus":Landroid/view/View;
    :cond_3b
    :goto_3b
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->retryTextView:Landroid/widget/TextView;

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

    move-result v1

    if-eqz v1, :cond_46

    .line 1050
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->checkFingerprint()V

    .line 1052
    :cond_46
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PasscodeView;->getVisibility()I

    move-result v1

    if-nez v1, :cond_4d

    .line 1053
    return-void

    .line 1055
    :cond_4d
    const/high16 v1, 0x3f800000    # 1.0f

    invoke-virtual {p0, v1}, Lim/tpelyyftgw/ui/components/PasscodeView;->setAlpha(F)V

    .line 1056
    const/4 v1, 0x0

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

    .line 1057
    invoke-static {}, Lim/tpelyyftgw/ui/actionbar/Theme;->isCustomTheme()Z

    move-result v1

    const/high16 v3, -0x41000000    # -0.5f

    if-eqz v1, :cond_6a

    .line 1058
    invoke-static {}, Lim/tpelyyftgw/ui/actionbar/Theme;->getCachedWallpaper()Landroid/graphics/drawable/Drawable;

    move-result-object v1

    iput-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundDrawable:Landroid/graphics/drawable/Drawable;

    .line 1059
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundFrameLayout:Landroid/widget/FrameLayout;

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

    goto :goto_91

    .line 1061
    :cond_6a
    invoke-static {}, Lim/tpelyyftgw/ui/actionbar/Theme;->getSelectedBackgroundId()J

    move-result-wide v4

    .line 1062
    .local v4, "selectedBackground":J
    const-wide/32 v6, 0xf4241

    const v1, -0xae8362

    cmp-long v8, v4, v6

    if-nez v8, :cond_7e

    .line 1063
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundFrameLayout:Landroid/widget/FrameLayout;

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

    goto :goto_91

    .line 1065
    :cond_7e
    invoke-static {}, Lim/tpelyyftgw/ui/actionbar/Theme;->getCachedWallpaper()Landroid/graphics/drawable/Drawable;

    move-result-object v6

    iput-object v6, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundDrawable:Landroid/graphics/drawable/Drawable;

    .line 1066
    if-eqz v6, :cond_8c

    .line 1067
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundFrameLayout:Landroid/widget/FrameLayout;

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

    goto :goto_91

    .line 1069
    :cond_8c
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->backgroundFrameLayout:Landroid/widget/FrameLayout;

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

    .line 1074
    .end local v4    # "selectedBackground":J
    :goto_91
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passcodeTextView:Landroid/widget/TextView;

    const v3, 0x7f0f05df

    const-string v4, "EnterYourPasscode"

    invoke-static {v4, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1077
    sget v1, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeType:I

    const/16 v3, 0x8

    const/4 v4, 0x0

    if-nez v1, :cond_c3

    .line 1078
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->retryTextView:Landroid/widget/TextView;

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

    move-result v1

    if-eqz v1, :cond_b3

    .line 1079
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

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

    .line 1081
    :cond_b3
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-virtual {v1, v3}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setVisibility(I)V

    .line 1082
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    invoke-virtual {v1, v4}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->setVisibility(I)V

    .line 1083
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkImage:Landroid/widget/ImageView;

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

    goto :goto_f3

    .line 1084
    :cond_c3
    sget v1, Lim/tpelyyftgw/messenger/SharedConfig;->passcodeType:I

    if-ne v1, v2, :cond_f3

    .line 1085
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    new-array v5, v4, [Landroid/text/InputFilter;

    invoke-virtual {v1, v5}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setFilters([Landroid/text/InputFilter;)V

    .line 1086
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    const/16 v5, 0x81

    invoke-virtual {v1, v5}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setInputType(I)V

    .line 1087
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->numbersFrameLayout:Landroid/widget/FrameLayout;

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

    .line 1088
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

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

    .line 1089
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

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

    .line 1090
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-virtual {v1, v4}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setVisibility(I)V

    .line 1091
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    invoke-virtual {v1, v3}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->setVisibility(I)V

    .line 1092
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->checkImage:Landroid/widget/ImageView;

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

    .line 1094
    :cond_f3
    :goto_f3
    invoke-virtual {p0, v4}, Lim/tpelyyftgw/ui/components/PasscodeView;->setVisibility(I)V

    .line 1095
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    invoke-static {}, Landroid/text/method/PasswordTransformationMethod;->getInstance()Landroid/text/method/PasswordTransformationMethod;

    move-result-object v2

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setTransformationMethod(Landroid/text/method/TransformationMethod;)V

    .line 1096
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText:Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    const-string v2, ""

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->setText(Ljava/lang/CharSequence;)V

    .line 1097
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->passwordEditText2:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    # invokes: Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->eraseAllCharacters(Z)V
    invoke-static {v1, v4}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->access$600(Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;Z)V

    .line 1099
    sget-object v1, Lim/tpelyyftgw/ui/components/-$$Lambda$PasscodeView$EF2Y9xJnAfGx10eivVMFAcg_Ias;->INSTANCE:Lim/tpelyyftgw/ui/components/-$$Lambda$PasscodeView$EF2Y9xJnAfGx10eivVMFAcg_Ias;

    invoke-virtual {p0, v1}, Lim/tpelyyftgw/ui/components/PasscodeView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 1100
    return-void
.end method

.method public setDelegate(Lim/tpelyyftgw/ui/components/PasscodeView$PasscodeViewDelegate;)V
    .registers 2
    .param p1, "delegate"    # Lim/tpelyyftgw/ui/components/PasscodeView$PasscodeViewDelegate;

    .line 752
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/PasscodeView;->delegate:Lim/tpelyyftgw/ui/components/PasscodeView$PasscodeViewDelegate;

    .line 753
    return-void
.end method