ContactUserCell.smali

.class public Lim/tpelyyftgw/ui/hcells/ContactUserCell;
.super Landroid/widget/FrameLayout;
.source "ContactUserCell.java"


# instance fields
.field private avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

.field private avatarImageView:Lim/tpelyyftgw/ui/components/BackupImageView;

.field private checkBox:Lim/tpelyyftgw/ui/components/CheckBox;

.field private checkBoxBig:Lim/tpelyyftgw/ui/components/CheckBoxSquare;

.field private currentAccount:I

.field private currentDrawable:I

.field private currentId:I

.field private currentName:Ljava/lang/CharSequence;

.field private currentObject:Lim/tpelyyftgw/tgnet/TLObject;

.field private currentStatus:Ljava/lang/CharSequence;

.field private encryptedChat:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;

.field private lastAvatar:Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;

.field private lastName:Ljava/lang/String;

.field private lastStatus:I

.field private nameTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

.field private needDivider:Z

.field private statusColor:I

.field private statusOnlineColor:I

.field private statusTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

.field private userFull:Lim/tpelyyftgw/tgnet/TLRPC$UserFull;


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

    return-void
.end method

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

    .line 66
    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    .line 67
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .registers 4
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "attrs"    # Landroid/util/AttributeSet;

    .line 70
    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 71
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .registers 11
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "attrs"    # Landroid/util/AttributeSet;
    .param p3, "defStyleAttr"    # I

    .line 74
    invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 56
    sget v0, Lim/tpelyyftgw/messenger/UserConfig;->selectedAccount:I

    iput v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentAccount:I

    .line 75
    const/4 v3, 0x6

    const/4 v4, 0x1

    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object v1, p0

    move-object v2, p1

    invoke-virtual/range {v1 .. v6}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->init(Landroid/content/Context;IIZZ)V

    .line 76
    return-void
.end method


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

    .line 420
    const/4 v0, 0x0

    return v0
.end method

.method public init(Landroid/content/Context;IIZ)V
    .registers 11
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "padding"    # I
    .param p3, "checkbox"    # I
    .param p4, "admin"    # Z

    .line 79
    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    move v2, p2

    move v3, p3

    move v4, p4

    invoke-virtual/range {v0 .. v5}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->init(Landroid/content/Context;IIZZ)V

    .line 80
    return-void
.end method

.method public init(Landroid/content/Context;IIZZ)V
    .registers 25
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "padding"    # I
    .param p3, "checkbox"    # I
    .param p4, "admin"    # Z
    .param p5, "needAddButton"    # Z

    .line 84
    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move/from16 v2, p3

    const/4 v3, 0x0

    .line 86
    .local v3, "additionalPadding":I
    const-string v4, "windowBackgroundWhiteGrayText"

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

    move-result v4

    iput v4, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->statusColor:I

    .line 87
    const-string v4, "windowBackgroundWhiteBlueText"

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

    move-result v4

    iput v4, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->statusOnlineColor:I

    .line 89
    new-instance v4, Lim/tpelyyftgw/ui/components/AvatarDrawable;

    invoke-direct {v4}, Lim/tpelyyftgw/ui/components/AvatarDrawable;-><init>()V

    iput-object v4, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    .line 91
    new-instance v4, Lim/tpelyyftgw/ui/components/BackupImageView;

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

    iput-object v4, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarImageView:Lim/tpelyyftgw/ui/components/BackupImageView;

    .line 92
    const/high16 v5, 0x41c00000    # 24.0f

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

    move-result v5

    invoke-virtual {v4, v5}, Lim/tpelyyftgw/ui/components/BackupImageView;->setRoundRadius(I)V

    .line 93
    iget-object v4, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarImageView:Lim/tpelyyftgw/ui/components/BackupImageView;

    sget-boolean v5, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v5, :cond_36

    const/4 v5, 0x5

    goto :goto_37

    :cond_36
    const/4 v5, 0x3

    :goto_37
    or-int/lit8 v10, v5, 0x30

    sget-boolean v5, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    const/4 v15, 0x0

    if-eqz v5, :cond_40

    const/4 v11, 0x0

    goto :goto_44

    :cond_40
    add-int/lit8 v5, p2, 0x7

    int-to-float v5, v5

    move v11, v5

    :goto_44
    const/high16 v12, 0x41200000    # 10.0f

    sget-boolean v5, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v5, :cond_4f

    add-int/lit8 v5, p2, 0x7

    int-to-float v5, v5

    move v13, v5

    goto :goto_50

    :cond_4f
    const/4 v13, 0x0

    :goto_50
    const/4 v14, 0x0

    const/high16 v8, 0x42400000    # 48.0f

    const/high16 v9, 0x42400000    # 48.0f

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

    move-result-object v5

    invoke-virtual {v0, v4, v5}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 96
    new-instance v4, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    invoke-direct {v4, v1}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;-><init>(Landroid/content/Context;)V

    iput-object v4, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->nameTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    .line 97
    const-string v5, "windowBackgroundWhiteBlackText"

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

    move-result v5

    invoke-virtual {v4, v5}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;->setTextColor(I)V

    .line 98
    iget-object v4, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->nameTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    const/16 v5, 0x10

    invoke-virtual {v4, v5}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;->setTextSize(I)V

    .line 99
    iget-object v4, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->nameTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    sget-boolean v8, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v8, :cond_7b

    const/4 v8, 0x5

    goto :goto_7c

    :cond_7b
    const/4 v8, 0x3

    :goto_7c
    or-int/lit8 v8, v8, 0x30

    invoke-virtual {v4, v8}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;->setGravity(I)V

    .line 100
    iget-object v4, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->nameTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    const/high16 v8, -0x40800000    # -1.0f

    const/high16 v9, 0x41a00000    # 20.0f

    sget-boolean v10, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v10, :cond_8d

    const/4 v10, 0x5

    goto :goto_8e

    :cond_8d
    const/4 v10, 0x3

    :goto_8e
    or-int/lit8 v10, v10, 0x30

    sget-boolean v11, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    const/16 v12, 0x12

    const/4 v14, 0x0

    const/4 v13, 0x2

    if-eqz v11, :cond_a2

    if-ne v2, v13, :cond_9d

    const/16 v11, 0x12

    goto :goto_9e

    :cond_9d
    const/4 v11, 0x0

    :goto_9e
    add-int/lit8 v11, v11, 0x1c

    add-int/2addr v11, v3

    goto :goto_a4

    :cond_a2
    add-int/lit8 v11, p2, 0x40

    :goto_a4
    int-to-float v11, v11

    const/high16 v16, 0x41200000    # 10.0f

    sget-boolean v17, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v17, :cond_b1

    add-int/lit8 v12, p2, 0x40

    :goto_ad
    int-to-float v12, v12

    move/from16 v17, v12

    goto :goto_b9

    :cond_b1
    if-ne v2, v13, :cond_b4

    goto :goto_b5

    :cond_b4
    const/4 v12, 0x0

    :goto_b5
    add-int/lit8 v12, v12, 0x1c

    add-int/2addr v12, v3

    goto :goto_ad

    :goto_b9
    const/16 v18, 0x0

    move/from16 v12, v16

    const/4 v6, 0x2

    move/from16 v13, v17

    const/4 v7, 0x0

    move/from16 v14, v18

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

    move-result-object v8

    invoke-virtual {v0, v4, v8}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 104
    new-instance v4, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    invoke-direct {v4, v1}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;-><init>(Landroid/content/Context;)V

    iput-object v4, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->statusTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    .line 105
    const/16 v8, 0xd

    invoke-virtual {v4, v8}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;->setTextSize(I)V

    .line 106
    iget-object v4, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->statusTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    sget-boolean v8, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v8, :cond_de

    const/4 v8, 0x5

    goto :goto_df

    :cond_de
    const/4 v8, 0x3

    :goto_df
    or-int/lit8 v8, v8, 0x30

    invoke-virtual {v4, v8}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;->setGravity(I)V

    .line 107
    iget-object v4, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->statusTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    const/high16 v8, -0x40800000    # -1.0f

    const/high16 v9, 0x41a00000    # 20.0f

    sget-boolean v10, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v10, :cond_f0

    const/4 v10, 0x5

    goto :goto_f1

    :cond_f0
    const/4 v10, 0x3

    :goto_f1
    or-int/lit8 v10, v10, 0x30

    sget-boolean v11, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v11, :cond_fa

    add-int/lit8 v11, v3, 0x1c

    goto :goto_fc

    :cond_fa
    add-int/lit8 v11, p2, 0x40

    :goto_fc
    int-to-float v11, v11

    const/high16 v12, 0x421c0000    # 39.0f

    sget-boolean v13, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v13, :cond_106

    add-int/lit8 v13, p2, 0x40

    goto :goto_108

    :cond_106
    add-int/lit8 v13, v3, 0x1c

    :goto_108
    int-to-float v13, v13

    const/4 v14, 0x0

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

    move-result-object v8

    invoke-virtual {v0, v4, v8}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 110
    const/4 v4, 0x1

    if-ne v2, v6, :cond_146

    .line 111
    new-instance v6, Lim/tpelyyftgw/ui/components/CheckBoxSquare;

    invoke-direct {v6, v1, v7}, Lim/tpelyyftgw/ui/components/CheckBoxSquare;-><init>(Landroid/content/Context;Z)V

    iput-object v6, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBoxBig:Lim/tpelyyftgw/ui/components/CheckBoxSquare;

    .line 112
    const/high16 v8, 0x41900000    # 18.0f

    const/high16 v9, 0x41900000    # 18.0f

    sget-boolean v7, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v7, :cond_126

    const/16 v16, 0x3

    goto :goto_128

    :cond_126
    const/16 v16, 0x5

    :goto_128
    or-int/lit8 v10, v16, 0x10

    sget-boolean v5, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    const/high16 v7, 0x41980000    # 19.0f

    if-eqz v5, :cond_133

    const/high16 v11, 0x41980000    # 19.0f

    goto :goto_134

    :cond_133
    const/4 v11, 0x0

    :goto_134
    const/4 v12, 0x0

    sget-boolean v5, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v5, :cond_13b

    const/4 v13, 0x0

    goto :goto_13d

    :cond_13b
    const/high16 v13, 0x41980000    # 19.0f

    :goto_13d
    const/4 v14, 0x0

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

    move-result-object v5

    invoke-virtual {v0, v6, v5}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_195

    .line 114
    :cond_146
    if-ne v2, v4, :cond_195

    .line 115
    new-instance v5, Lim/tpelyyftgw/ui/components/CheckBox;

    const v6, 0x7f080302

    invoke-direct {v5, v1, v6}, Lim/tpelyyftgw/ui/components/CheckBox;-><init>(Landroid/content/Context;I)V

    iput-object v5, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBox;

    .line 116
    const/4 v6, 0x4

    invoke-virtual {v5, v6}, Lim/tpelyyftgw/ui/components/CheckBox;->setVisibility(I)V

    .line 117
    iget-object v5, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBox;

    const-string v6, "checkbox"

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

    move-result v6

    const-string v7, "checkboxCheck"

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

    move-result v7

    invoke-virtual {v5, v6, v7}, Lim/tpelyyftgw/ui/components/CheckBox;->setColor(II)V

    .line 118
    iget-object v5, v0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBox;

    const/high16 v6, 0x41b00000    # 22.0f

    const/high16 v7, 0x41b00000    # 22.0f

    sget-boolean v8, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v8, :cond_174

    const/16 v16, 0x5

    goto :goto_176

    :cond_174
    const/16 v16, 0x3

    :goto_176
    or-int/lit8 v8, v16, 0x30

    sget-boolean v9, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v9, :cond_17e

    const/4 v9, 0x0

    goto :goto_181

    :cond_17e
    add-int/lit8 v9, p2, 0x25

    int-to-float v9, v9

    :goto_181
    const/high16 v10, 0x422e0000    # 43.5f

    sget-boolean v11, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v11, :cond_18c

    add-int/lit8 v11, p2, 0x25

    int-to-float v15, v11

    move v11, v15

    goto :goto_18d

    :cond_18c
    const/4 v11, 0x0

    :goto_18d
    const/4 v12, 0x0

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

    move-result-object v6

    invoke-virtual {v0, v5, v6}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 122
    :cond_195
    :goto_195
    invoke-virtual {v0, v4}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->setFocusable(Z)V

    .line 123
    return-void
.end method

.method public invalidate()V
    .registers 2

    .line 287
    invoke-super {p0}, Landroid/widget/FrameLayout;->invalidate()V

    .line 288
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBoxBig:Lim/tpelyyftgw/ui/components/CheckBoxSquare;

    if-eqz v0, :cond_a

    .line 289
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/CheckBoxSquare;->invalidate()V

    .line 291
    :cond_a
    return-void
.end method

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

    .line 425
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->needDivider:Z

    if-eqz v0, :cond_37

    .line 426
    sget-boolean v0, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    const/high16 v1, 0x42880000    # 68.0f

    if-eqz v0, :cond_d

    const/4 v0, 0x0

    const/4 v3, 0x0

    goto :goto_13

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

    move-result v0

    int-to-float v0, v0

    move v3, v0

    :goto_13
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->getMeasuredHeight()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    int-to-float v4, v0

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

    move-result v0

    sget-boolean v2, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v2, :cond_27

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

    move-result v1

    goto :goto_28

    :cond_27
    const/4 v1, 0x0

    :goto_28
    sub-int/2addr v0, v1

    int-to-float v5, v0

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

    move-result v0

    add-int/lit8 v0, v0, -0x1

    int-to-float v6, v0

    sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dividerPaint:Landroid/graphics/Paint;

    .line 426
    move-object v2, p1

    invoke-virtual/range {v2 .. v7}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V

    .line 429
    :cond_37
    return-void
.end method

.method public onInitializeAccessibilityNodeInfo(Landroid/view/accessibility/AccessibilityNodeInfo;)V
    .registers 5
    .param p1, "info"    # Landroid/view/accessibility/AccessibilityNodeInfo;

    .line 433
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInitializeAccessibilityNodeInfo(Landroid/view/accessibility/AccessibilityNodeInfo;)V

    .line 434
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBoxBig:Lim/tpelyyftgw/ui/components/CheckBoxSquare;

    const-string v1, "android.widget.CheckBox"

    const/4 v2, 0x1

    if-eqz v0, :cond_20

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

    move-result v0

    if-nez v0, :cond_20

    .line 435
    invoke-virtual {p1, v2}, Landroid/view/accessibility/AccessibilityNodeInfo;->setCheckable(Z)V

    .line 436
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBoxBig:Lim/tpelyyftgw/ui/components/CheckBoxSquare;

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

    move-result v0

    invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityNodeInfo;->setChecked(Z)V

    .line 437
    invoke-virtual {p1, v1}, Landroid/view/accessibility/AccessibilityNodeInfo;->setClassName(Ljava/lang/CharSequence;)V

    goto :goto_39

    .line 438
    :cond_20
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBox;

    if-eqz v0, :cond_39

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

    move-result v0

    if-nez v0, :cond_39

    .line 439
    invoke-virtual {p1, v2}, Landroid/view/accessibility/AccessibilityNodeInfo;->setCheckable(Z)V

    .line 440
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBox;

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

    move-result v0

    invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityNodeInfo;->setChecked(Z)V

    .line 441
    invoke-virtual {p1, v1}, Landroid/view/accessibility/AccessibilityNodeInfo;->setClassName(Ljava/lang/CharSequence;)V

    .line 443
    :cond_39
    :goto_39
    return-void
.end method

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

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

    move-result v0

    const/high16 v1, 0x40000000    # 2.0f

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

    move-result v0

    .line 277
    const/high16 v2, 0x42840000    # 66.0f

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

    move-result v2

    iget-boolean v3, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->needDivider:Z

    add-int/2addr v2, v3

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

    move-result v1

    .line 276
    invoke-super {p0, v0, v1}, Landroid/widget/FrameLayout;->onMeasure(II)V

    .line 278
    return-void
.end method

.method public setAvatarPadding(I)V
    .registers 7
    .param p1, "padding"    # I

    .line 126
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarImageView:Lim/tpelyyftgw/ui/components/BackupImageView;

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

    move-result-object v0

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

    .line 127
    .local v0, "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    sget-boolean v1, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    const/4 v2, 0x0

    if-eqz v1, :cond_f

    const/4 v1, 0x0

    goto :goto_12

    :cond_f
    add-int/lit8 v1, p1, 0x7

    int-to-float v1, v1

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

    move-result v1

    iput v1, v0, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

    .line 128
    sget-boolean v1, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v1, :cond_20

    add-int/lit8 v1, p1, 0x7

    int-to-float v1, v1

    goto :goto_21

    :cond_20
    const/4 v1, 0x0

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

    move-result v1

    iput v1, v0, Landroid/widget/FrameLayout$LayoutParams;->rightMargin:I

    .line 129
    iget-object v1, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarImageView:Lim/tpelyyftgw/ui/components/BackupImageView;

    invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/components/BackupImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 131
    iget-object v1, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->nameTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

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

    move-result-object v1

    move-object v0, v1

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

    .line 132
    sget-boolean v1, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    const/16 v3, 0x12

    const/4 v4, 0x0

    if-eqz v1, :cond_47

    iget-object v1, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBoxBig:Lim/tpelyyftgw/ui/components/CheckBoxSquare;

    if-eqz v1, :cond_43

    const/16 v1, 0x12

    goto :goto_44

    :cond_43
    const/4 v1, 0x0

    :goto_44
    add-int/lit8 v1, v1, 0x1c

    goto :goto_49

    :cond_47
    add-int/lit8 v1, p1, 0x40

    :goto_49
    int-to-float v1, v1

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

    move-result v1

    iput v1, v0, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

    .line 133
    sget-boolean v1, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v1, :cond_58

    add-int/lit8 v1, p1, 0x40

    int-to-float v1, v1

    goto :goto_61

    :cond_58
    iget-object v1, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBoxBig:Lim/tpelyyftgw/ui/components/CheckBoxSquare;

    if-eqz v1, :cond_5d

    goto :goto_5e

    :cond_5d
    const/4 v3, 0x0

    :goto_5e
    add-int/lit8 v3, v3, 0x1c

    int-to-float v1, v3

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

    move-result v1

    iput v1, v0, Landroid/widget/FrameLayout$LayoutParams;->rightMargin:I

    .line 135
    iget-object v1, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->statusTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

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

    move-result-object v1

    move-object v0, v1

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

    .line 136
    sget-boolean v1, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    const/high16 v3, 0x41e00000    # 28.0f

    if-eqz v1, :cond_79

    const/high16 v1, 0x41e00000    # 28.0f

    goto :goto_7c

    :cond_79
    add-int/lit8 v1, p1, 0x40

    int-to-float v1, v1

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

    move-result v1

    iput v1, v0, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

    .line 137
    sget-boolean v1, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v1, :cond_89

    add-int/lit8 v1, p1, 0x40

    int-to-float v3, v1

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

    move-result v1

    iput v1, v0, Landroid/widget/FrameLayout$LayoutParams;->rightMargin:I

    .line 139
    iget-object v1, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBox;

    if-eqz v1, :cond_b6

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

    move-result-object v1

    move-object v0, v1

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

    .line 141
    sget-boolean v1, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v1, :cond_a0

    const/4 v1, 0x0

    goto :goto_a3

    :cond_a0
    add-int/lit8 v1, p1, 0x25

    int-to-float v1, v1

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

    move-result v1

    iput v1, v0, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

    .line 142
    sget-boolean v1, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v1, :cond_b0

    add-int/lit8 v1, p1, 0x25

    int-to-float v2, v1

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

    move-result v1

    iput v1, v0, Landroid/widget/FrameLayout$LayoutParams;->rightMargin:I

    .line 144
    :cond_b6
    return-void
.end method

.method public setCheckDisabled(Z)V
    .registers 3
    .param p1, "disabled"    # Z

    .line 269
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBoxBig:Lim/tpelyyftgw/ui/components/CheckBoxSquare;

    if-eqz v0, :cond_7

    .line 270
    invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/components/CheckBoxSquare;->setDisabled(Z)V

    .line 272
    :cond_7
    return-void
.end method

.method public setChecked(ZZ)V
    .registers 5
    .param p1, "checked"    # Z
    .param p2, "animated"    # Z

    .line 255
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBox;

    const/4 v1, 0x0

    if-eqz v0, :cond_16

    .line 256
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/CheckBox;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_10

    .line 257
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBox;

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

    .line 259
    :cond_10
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBox;

    invoke-virtual {v0, p1, p2}, Lim/tpelyyftgw/ui/components/CheckBox;->setChecked(ZZ)V

    goto :goto_2a

    .line 260
    :cond_16
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBoxBig:Lim/tpelyyftgw/ui/components/CheckBoxSquare;

    if-eqz v0, :cond_2a

    .line 261
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/CheckBoxSquare;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_25

    .line 262
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBoxBig:Lim/tpelyyftgw/ui/components/CheckBoxSquare;

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

    .line 264
    :cond_25
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->checkBoxBig:Lim/tpelyyftgw/ui/components/CheckBoxSquare;

    invoke-virtual {v0, p1, p2}, Lim/tpelyyftgw/ui/components/CheckBoxSquare;->setChecked(ZZ)V

    .line 266
    :cond_2a
    :goto_2a
    return-void
.end method

.method public setCurrentId(I)V
    .registers 2
    .param p1, "id"    # I

    .line 251
    iput p1, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentId:I

    .line 252
    return-void
.end method

.method public setData(Lim/tpelyyftgw/tgnet/TLObject;Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;Ljava/lang/CharSequence;Ljava/lang/CharSequence;IZ)V
    .registers 10
    .param p1, "object"    # Lim/tpelyyftgw/tgnet/TLObject;
    .param p2, "ec"    # Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
    .param p3, "name"    # Ljava/lang/CharSequence;
    .param p4, "status"    # Ljava/lang/CharSequence;
    .param p5, "resId"    # I
    .param p6, "divider"    # Z

    .line 156
    if-nez p1, :cond_1f

    if-nez p3, :cond_1f

    if-nez p4, :cond_1f

    .line 157
    const/4 v0, 0x0

    iput-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentStatus:Ljava/lang/CharSequence;

    .line 158
    iput-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentName:Ljava/lang/CharSequence;

    .line 159
    iput-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentObject:Lim/tpelyyftgw/tgnet/TLObject;

    .line 160
    iget-object v1, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->nameTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    const-string v2, ""

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;->setText(Ljava/lang/CharSequence;)Z

    .line 161
    iget-object v1, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->statusTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;->setText(Ljava/lang/CharSequence;)Z

    .line 162
    iget-object v1, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarImageView:Lim/tpelyyftgw/ui/components/BackupImageView;

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

    .line 163
    return-void

    .line 165
    :cond_1f
    iput-object p2, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->encryptedChat:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;

    .line 166
    iput-object p4, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentStatus:Ljava/lang/CharSequence;

    .line 167
    iput-object p3, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentName:Ljava/lang/CharSequence;

    .line 168
    iput-object p1, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentObject:Lim/tpelyyftgw/tgnet/TLObject;

    .line 169
    iput p5, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentDrawable:I

    .line 170
    iput-boolean p6, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->needDivider:Z

    .line 171
    xor-int/lit8 v0, p6, 0x1

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->setWillNotDraw(Z)V

    .line 172
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->update(I)V

    .line 173
    return-void
.end method

.method public setData(Lim/tpelyyftgw/tgnet/TLObject;Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)V
    .registers 12
    .param p1, "object"    # Lim/tpelyyftgw/tgnet/TLObject;
    .param p2, "name"    # Ljava/lang/CharSequence;
    .param p3, "status"    # Ljava/lang/CharSequence;
    .param p4, "resId"    # I

    .line 148
    const/4 v2, 0x0

    const/4 v6, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v3, p2

    move-object v4, p3

    move v5, p4

    invoke-virtual/range {v0 .. v6}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->setData(Lim/tpelyyftgw/tgnet/TLObject;Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;Ljava/lang/CharSequence;Ljava/lang/CharSequence;IZ)V

    .line 149
    return-void
.end method

.method public setData(Lim/tpelyyftgw/tgnet/TLObject;Ljava/lang/CharSequence;Ljava/lang/CharSequence;IZ)V
    .registers 13
    .param p1, "object"    # Lim/tpelyyftgw/tgnet/TLObject;
    .param p2, "name"    # Ljava/lang/CharSequence;
    .param p3, "status"    # Ljava/lang/CharSequence;
    .param p4, "resId"    # I
    .param p5, "divider"    # Z

    .line 152
    const/4 v2, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v3, p2

    move-object v4, p3

    move v5, p4

    move v6, p5

    invoke-virtual/range {v0 .. v6}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->setData(Lim/tpelyyftgw/tgnet/TLObject;Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;Ljava/lang/CharSequence;Ljava/lang/CharSequence;IZ)V

    .line 153
    return-void
.end method

.method public setException(Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;Ljava/lang/CharSequence;Z)V
    .registers 21
    .param p1, "exception"    # Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    .param p2, "name"    # Ljava/lang/CharSequence;
    .param p3, "divider"    # Z

    .line 178
    move-object/from16 v7, p0

    move-object/from16 v8, p1

    iget-boolean v9, v8, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->hasCustom:Z

    .line 179
    .local v9, "custom":Z
    iget v10, v8, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->notify:I

    .line 180
    .local v10, "value":I
    iget v0, v8, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->muteUntil:I

    .line 181
    .local v0, "delta":I
    const v1, 0x7f0f0a21

    const-string v2, "NotificationsCustom"

    const v3, 0x7f0f0a52

    const-string v4, "NotificationsUnmuted"

    const/4 v5, 0x1

    const/4 v6, 0x3

    if-ne v10, v6, :cond_9b

    const v6, 0x7fffffff

    if-eq v0, v6, :cond_9b

    .line 182
    iget v6, v7, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentAccount:I

    invoke-static {v6}, Lim/tpelyyftgw/tgnet/ConnectionsManager;->getInstance(I)Lim/tpelyyftgw/tgnet/ConnectionsManager;

    move-result-object v6

    invoke-virtual {v6}, Lim/tpelyyftgw/tgnet/ConnectionsManager;->getCurrentTime()I

    move-result v6

    sub-int/2addr v0, v6

    .line 183
    if-gtz v0, :cond_3a

    .line 184
    if-eqz v9, :cond_33

    .line 185
    invoke-static {v2, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    move v11, v0

    .local v1, "text":Ljava/lang/String;
    goto/16 :goto_c4

    .line 187
    .end local v1    # "text":Ljava/lang/String;
    :cond_33
    invoke-static {v4, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    move v11, v0

    .restart local v1    # "text":Ljava/lang/String;
    goto/16 :goto_c4

    .line 189
    .end local v1    # "text":Ljava/lang/String;
    :cond_3a
    const/16 v1, 0xe10

    const/4 v2, 0x0

    const v3, 0x7f0f128f

    const-string v4, "WillUnmuteIn"

    if-ge v0, v1, :cond_57

    .line 190
    new-array v1, v5, [Ljava/lang/Object;

    div-int/lit8 v5, v0, 0x3c

    const-string v6, "Minutes"

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

    move-result-object v5

    aput-object v5, v1, v2

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

    move-result-object v1

    move v11, v0

    .restart local v1    # "text":Ljava/lang/String;
    goto/16 :goto_c4

    .line 191
    .end local v1    # "text":Ljava/lang/String;
    :cond_57
    const v1, 0x15180

    const/high16 v6, 0x42700000    # 60.0f

    if-ge v0, v1, :cond_77

    .line 192
    new-array v1, v5, [Ljava/lang/Object;

    int-to-float v5, v0

    div-float/2addr v5, v6

    div-float/2addr v5, v6

    float-to-double v5, v5

    .line 193
    invoke-static {v5, v6}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v5

    double-to-int v5, v5

    .line 192
    const-string v6, "Hours"

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

    move-result-object v5

    aput-object v5, v1, v2

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

    move-result-object v1

    move v11, v0

    .restart local v1    # "text":Ljava/lang/String;
    goto :goto_c4

    .line 194
    .end local v1    # "text":Ljava/lang/String;
    :cond_77
    const v1, 0x1e13380

    if-ge v0, v1, :cond_98

    .line 195
    new-array v1, v5, [Ljava/lang/Object;

    int-to-float v5, v0

    div-float/2addr v5, v6

    div-float/2addr v5, v6

    const/high16 v6, 0x41c00000    # 24.0f

    div-float/2addr v5, v6

    float-to-double v5, v5

    .line 196
    invoke-static {v5, v6}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v5

    double-to-int v5, v5

    .line 195
    const-string v6, "Days"

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

    move-result-object v5

    aput-object v5, v1, v2

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

    move-result-object v1

    move v11, v0

    .restart local v1    # "text":Ljava/lang/String;
    goto :goto_c4

    .line 198
    .end local v1    # "text":Ljava/lang/String;
    :cond_98
    const/4 v1, 0x0

    move v11, v0

    .restart local v1    # "text":Ljava/lang/String;
    goto :goto_c4

    .line 201
    .end local v1    # "text":Ljava/lang/String;
    :cond_9b
    if-nez v10, :cond_9f

    .line 202
    const/4 v5, 0x1

    .local v5, "enabled":Z
    goto :goto_a9

    .line 203
    .end local v5    # "enabled":Z
    :cond_9f
    if-ne v10, v5, :cond_a3

    .line 204
    const/4 v5, 0x1

    .restart local v5    # "enabled":Z
    goto :goto_a9

    .line 205
    .end local v5    # "enabled":Z
    :cond_a3
    const/4 v5, 0x2

    if-ne v10, v5, :cond_a8

    .line 206
    const/4 v5, 0x0

    .restart local v5    # "enabled":Z
    goto :goto_a9

    .line 208
    .end local v5    # "enabled":Z
    :cond_a8
    const/4 v5, 0x0

    .line 210
    .restart local v5    # "enabled":Z
    :goto_a9
    if-eqz v5, :cond_b3

    if-eqz v9, :cond_b3

    .line 211
    invoke-static {v2, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    move v11, v0

    .restart local v1    # "text":Ljava/lang/String;
    goto :goto_c4

    .line 213
    .end local v1    # "text":Ljava/lang/String;
    :cond_b3
    if-eqz v5, :cond_ba

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

    move-result-object v1

    goto :goto_c3

    :cond_ba
    const v1, 0x7f0f0a35

    const-string v2, "NotificationsMuted"

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

    move-result-object v1

    :goto_c3
    move v11, v0

    .line 217
    .end local v0    # "delta":I
    .end local v5    # "enabled":Z
    .restart local v1    # "text":Ljava/lang/String;
    .local v11, "delta":I
    :goto_c4
    if-nez v1, :cond_d1

    .line 218
    const v0, 0x7f0f0a37

    const-string v2, "NotificationsOff"

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

    move-result-object v1

    move-object v12, v1

    goto :goto_d2

    .line 217
    :cond_d1
    move-object v12, v1

    .line 221
    .end local v1    # "text":Ljava/lang/String;
    .local v12, "text":Ljava/lang/String;
    :goto_d2
    iget-wide v0, v8, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    long-to-int v13, v0

    .line 222
    .local v13, "lower_id":I
    iget-wide v0, v8, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    const/16 v2, 0x20

    shr-long/2addr v0, v2

    long-to-int v14, v0

    .line 223
    .local v14, "high_id":I
    if-eqz v13, :cond_11c

    .line 224
    if-lez v13, :cond_fd

    .line 225
    iget v0, v7, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentAccount:I

    invoke-static {v0}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

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

    move-result-object v1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/messenger/MessagesController;->getUser(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$User;

    move-result-object v15

    .line 226
    .local v15, "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    if-eqz v15, :cond_fc

    .line 227
    const/4 v2, 0x0

    const/4 v5, 0x0

    move-object/from16 v0, p0

    move-object v1, v15

    move-object/from16 v3, p2

    move-object v4, v12

    move/from16 v6, p3

    invoke-virtual/range {v0 .. v6}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->setData(Lim/tpelyyftgw/tgnet/TLObject;Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;Ljava/lang/CharSequence;Ljava/lang/CharSequence;IZ)V

    .line 229
    .end local v15    # "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    :cond_fc
    goto :goto_14b

    .line 230
    :cond_fd
    iget v0, v7, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentAccount:I

    invoke-static {v0}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

    neg-int v1, v13

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

    move-result-object v1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/messenger/MessagesController;->getChat(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$Chat;

    move-result-object v15

    .line 231
    .local v15, "chat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    if-eqz v15, :cond_11b

    .line 232
    const/4 v2, 0x0

    const/4 v5, 0x0

    move-object/from16 v0, p0

    move-object v1, v15

    move-object/from16 v3, p2

    move-object v4, v12

    move/from16 v6, p3

    invoke-virtual/range {v0 .. v6}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->setData(Lim/tpelyyftgw/tgnet/TLObject;Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;Ljava/lang/CharSequence;Ljava/lang/CharSequence;IZ)V

    .line 234
    .end local v15    # "chat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    :cond_11b
    goto :goto_14b

    .line 236
    :cond_11c
    iget v0, v7, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentAccount:I

    invoke-static {v0}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

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

    move-result-object v1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/messenger/MessagesController;->getEncryptedChat(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;

    move-result-object v15

    .line 237
    .local v15, "encryptedChat":Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
    if-eqz v15, :cond_14b

    .line 238
    iget v0, v7, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentAccount:I

    invoke-static {v0}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

    iget v1, v15, Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;->user_id:I

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

    move-result-object v1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/messenger/MessagesController;->getUser(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$User;

    move-result-object v16

    .line 239
    .local v16, "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    if-eqz v16, :cond_14b

    .line 240
    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object/from16 v0, p0

    move-object/from16 v1, v16

    move-object v2, v15

    move-object/from16 v3, p2

    move-object v4, v12

    invoke-virtual/range {v0 .. v6}, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->setData(Lim/tpelyyftgw/tgnet/TLObject;Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;Ljava/lang/CharSequence;Ljava/lang/CharSequence;IZ)V

    .line 244
    .end local v15    # "encryptedChat":Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
    .end local v16    # "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    :cond_14b
    :goto_14b
    return-void
.end method

.method public setNameTypeface(Landroid/graphics/Typeface;)V
    .registers 3
    .param p1, "typeface"    # Landroid/graphics/Typeface;

    .line 247
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->nameTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;->setTypeface(Landroid/graphics/Typeface;)V

    .line 248
    return-void
.end method

.method public setStatusColors(II)V
    .registers 3
    .param p1, "color"    # I
    .param p2, "onlineColor"    # I

    .line 281
    iput p1, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->statusColor:I

    .line 282
    iput p2, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->statusOnlineColor:I

    .line 283
    return-void
.end method

.method public setUserFull(Lim/tpelyyftgw/tgnet/TLRPC$UserFull;)V
    .registers 4
    .param p1, "userFull"    # Lim/tpelyyftgw/tgnet/TLRPC$UserFull;

    .line 412
    iput-object p1, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->userFull:Lim/tpelyyftgw/tgnet/TLRPC$UserFull;

    .line 413
    if-eqz p1, :cond_b

    .line 414
    iget-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->statusTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    iget-object v1, p1, Lim/tpelyyftgw/tgnet/TLRPC$UserFull;->about:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;->setText(Ljava/lang/CharSequence;)Z

    .line 416
    :cond_b
    return-void
.end method

.method public update(I)V
    .registers 12
    .param p1, "mask"    # I

    .line 294
    const/4 v0, 0x0

    .line 295
    .local v0, "photo":Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;
    const/4 v1, 0x0

    .line 296
    .local v1, "newName":Ljava/lang/String;
    const/4 v2, 0x0

    .line 297
    .local v2, "currentUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
    const/4 v3, 0x0

    .line 298
    .local v3, "currentChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    iget-object v4, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentObject:Lim/tpelyyftgw/tgnet/TLObject;

    instance-of v5, v4, Lim/tpelyyftgw/tgnet/TLRPC$User;

    if-eqz v5, :cond_16

    .line 299
    move-object v2, v4

    check-cast v2, Lim/tpelyyftgw/tgnet/TLRPC$User;

    .line 300
    iget-object v4, v2, Lim/tpelyyftgw/tgnet/TLRPC$User;->photo:Lim/tpelyyftgw/tgnet/TLRPC$UserProfilePhoto;

    if-eqz v4, :cond_25

    .line 301
    iget-object v4, v2, Lim/tpelyyftgw/tgnet/TLRPC$User;->photo:Lim/tpelyyftgw/tgnet/TLRPC$UserProfilePhoto;

    iget-object v0, v4, Lim/tpelyyftgw/tgnet/TLRPC$UserProfilePhoto;->photo_small:Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;

    goto :goto_25

    .line 315
    :cond_16
    instance-of v5, v4, Lim/tpelyyftgw/tgnet/TLRPC$Chat;

    if-eqz v5, :cond_25

    .line 316
    move-object v3, v4

    check-cast v3, Lim/tpelyyftgw/tgnet/TLRPC$Chat;

    .line 317
    iget-object v4, v3, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->photo:Lim/tpelyyftgw/tgnet/TLRPC$ChatPhoto;

    if-eqz v4, :cond_25

    .line 318
    iget-object v4, v3, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->photo:Lim/tpelyyftgw/tgnet/TLRPC$ChatPhoto;

    iget-object v0, v4, Lim/tpelyyftgw/tgnet/TLRPC$ChatPhoto;->photo_small:Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;

    .line 322
    :cond_25
    :goto_25
    if-eqz p1, :cond_88

    .line 323
    const/4 v4, 0x0

    .line 324
    .local v4, "continueUpdate":Z
    and-int/lit8 v5, p1, 0x2

    if-eqz v5, :cond_4f

    .line 325
    iget-object v5, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastAvatar:Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;

    if-eqz v5, :cond_32

    if-eqz v0, :cond_4e

    :cond_32
    iget-object v5, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastAvatar:Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;

    if-nez v5, :cond_38

    if-nez v0, :cond_4e

    :cond_38
    iget-object v5, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastAvatar:Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;

    if-eqz v5, :cond_4f

    if-eqz v0, :cond_4f

    iget-wide v5, v5, Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;->volume_id:J

    iget-wide v7, v0, Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;->volume_id:J

    cmp-long v9, v5, v7

    if-nez v9, :cond_4e

    iget-object v5, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastAvatar:Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;

    iget v5, v5, Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;->local_id:I

    iget v6, v0, Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;->local_id:I

    if-eq v5, v6, :cond_4f

    .line 326
    :cond_4e
    const/4 v4, 0x1

    .line 329
    :cond_4f
    if-eqz v2, :cond_65

    if-nez v4, :cond_65

    and-int/lit8 v5, p1, 0x4

    if-eqz v5, :cond_65

    .line 330
    const/4 v5, 0x0

    .line 331
    .local v5, "newStatus":I
    iget-object v6, v2, Lim/tpelyyftgw/tgnet/TLRPC$User;->status:Lim/tpelyyftgw/tgnet/TLRPC$UserStatus;

    if-eqz v6, :cond_60

    .line 332
    iget-object v6, v2, Lim/tpelyyftgw/tgnet/TLRPC$User;->status:Lim/tpelyyftgw/tgnet/TLRPC$UserStatus;

    iget v5, v6, Lim/tpelyyftgw/tgnet/TLRPC$UserStatus;->expires:I

    .line 334
    :cond_60
    iget v6, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastStatus:I

    if-eq v5, v6, :cond_65

    .line 335
    const/4 v4, 0x1

    .line 338
    .end local v5    # "newStatus":I
    :cond_65
    if-nez v4, :cond_85

    iget-object v5, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentName:Ljava/lang/CharSequence;

    if-nez v5, :cond_85

    iget-object v5, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastName:Ljava/lang/String;

    if-eqz v5, :cond_85

    and-int/lit8 v5, p1, 0x1

    if-eqz v5, :cond_85

    .line 339
    if-eqz v2, :cond_7a

    .line 340
    invoke-static {v2}, Lim/tpelyyftgw/messenger/UserObject;->getName(Lim/tpelyyftgw/tgnet/TLRPC$User;)Ljava/lang/String;

    move-result-object v1

    goto :goto_7c

    .line 342
    :cond_7a
    iget-object v1, v3, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->title:Ljava/lang/String;

    .line 344
    :goto_7c
    iget-object v5, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastName:Ljava/lang/String;

    invoke-virtual {v1, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_85

    .line 345
    const/4 v4, 0x1

    .line 348
    :cond_85
    if-nez v4, :cond_88

    .line 349
    return-void

    .line 353
    .end local v4    # "continueUpdate":Z
    :cond_88
    const/4 v4, 0x0

    const/4 v5, 0x0

    if-eqz v2, :cond_9f

    .line 354
    iget-object v6, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    invoke-virtual {v6, v2}, Lim/tpelyyftgw/ui/components/AvatarDrawable;->setInfo(Lim/tpelyyftgw/tgnet/TLRPC$User;)V

    .line 355
    iget-object v6, v2, Lim/tpelyyftgw/tgnet/TLRPC$User;->status:Lim/tpelyyftgw/tgnet/TLRPC$UserStatus;

    if-eqz v6, :cond_9c

    .line 356
    iget-object v6, v2, Lim/tpelyyftgw/tgnet/TLRPC$User;->status:Lim/tpelyyftgw/tgnet/TLRPC$UserStatus;

    iget v6, v6, Lim/tpelyyftgw/tgnet/TLRPC$UserStatus;->expires:I

    iput v6, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastStatus:I

    goto :goto_c0

    .line 358
    :cond_9c
    iput v5, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastStatus:I

    goto :goto_c0

    .line 360
    :cond_9f
    if-eqz v3, :cond_a7

    .line 361
    iget-object v6, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    invoke-virtual {v6, v3}, Lim/tpelyyftgw/ui/components/AvatarDrawable;->setInfo(Lim/tpelyyftgw/tgnet/TLRPC$Chat;)V

    goto :goto_c0

    .line 362
    :cond_a7
    iget-object v6, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentName:Ljava/lang/CharSequence;

    if-eqz v6, :cond_b7

    .line 363
    iget-object v7, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    iget v8, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentId:I

    invoke-interface {v6}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v7, v8, v6, v4}, Lim/tpelyyftgw/ui/components/AvatarDrawable;->setInfo(ILjava/lang/String;Ljava/lang/String;)V

    goto :goto_c0

    .line 365
    :cond_b7
    iget-object v6, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    iget v7, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentId:I

    const-string v8, "#"

    invoke-virtual {v6, v7, v8, v4}, Lim/tpelyyftgw/ui/components/AvatarDrawable;->setInfo(ILjava/lang/String;Ljava/lang/String;)V

    .line 368
    :goto_c0
    iget-object v6, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->currentName:Ljava/lang/CharSequence;

    if-eqz v6, :cond_cc

    .line 369
    iput-object v4, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastName:Ljava/lang/String;

    .line 370
    iget-object v4, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->nameTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    invoke-virtual {v4, v6}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;->setText(Ljava/lang/CharSequence;)Z

    goto :goto_ef

    .line 372
    :cond_cc
    if-eqz v2, :cond_d9

    .line 373
    if-nez v1, :cond_d5

    invoke-static {v2}, Lim/tpelyyftgw/messenger/UserObject;->getName(Lim/tpelyyftgw/tgnet/TLRPC$User;)Ljava/lang/String;

    move-result-object v4

    goto :goto_d6

    :cond_d5
    move-object v4, v1

    :goto_d6
    iput-object v4, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastName:Ljava/lang/String;

    goto :goto_e8

    .line 374
    :cond_d9
    if-eqz v3, :cond_e4

    .line 375
    if-nez v1, :cond_e0

    iget-object v4, v3, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->title:Ljava/lang/String;

    goto :goto_e1

    :cond_e0
    move-object v4, v1

    :goto_e1
    iput-object v4, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastName:Ljava/lang/String;

    goto :goto_e8

    .line 377
    :cond_e4
    const-string v4, ""

    iput-object v4, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastName:Ljava/lang/String;

    .line 379
    :goto_e8
    iget-object v4, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->nameTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    iget-object v6, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastName:Ljava/lang/String;

    invoke-virtual {v4, v6}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;->setText(Ljava/lang/CharSequence;)Z

    .line 381
    :goto_ef
    iget-object v4, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->statusTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    iget v6, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->statusColor:I

    invoke-virtual {v4, v6}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;->setTextColor(I)V

    .line 382
    iget-object v4, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->userFull:Lim/tpelyyftgw/tgnet/TLRPC$UserFull;

    if-eqz v4, :cond_101

    .line 383
    iget-object v6, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->statusTextView:Lim/tpelyyftgw/ui/actionbar/SimpleTextView;

    iget-object v4, v4, Lim/tpelyyftgw/tgnet/TLRPC$UserFull;->about:Ljava/lang/String;

    invoke-virtual {v6, v4}, Lim/tpelyyftgw/ui/actionbar/SimpleTextView;->setText(Ljava/lang/CharSequence;)Z

    .line 401
    :cond_101
    iput-object v0, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->lastAvatar:Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;

    .line 402
    const-string v4, "50_50"

    if-eqz v2, :cond_113

    .line 403
    iget-object v6, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarImageView:Lim/tpelyyftgw/ui/components/BackupImageView;

    invoke-static {v2, v5}, Lim/tpelyyftgw/messenger/ImageLocation;->getForUser(Lim/tpelyyftgw/tgnet/TLRPC$User;Z)Lim/tpelyyftgw/messenger/ImageLocation;

    move-result-object v5

    iget-object v7, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    invoke-virtual {v6, v5, v4, v7, v2}, Lim/tpelyyftgw/ui/components/BackupImageView;->setImage(Lim/tpelyyftgw/messenger/ImageLocation;Ljava/lang/String;Landroid/graphics/drawable/Drawable;Ljava/lang/Object;)V

    goto :goto_128

    .line 404
    :cond_113
    if-eqz v3, :cond_121

    .line 405
    iget-object v6, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarImageView:Lim/tpelyyftgw/ui/components/BackupImageView;

    invoke-static {v3, v5}, Lim/tpelyyftgw/messenger/ImageLocation;->getForChat(Lim/tpelyyftgw/tgnet/TLRPC$Chat;Z)Lim/tpelyyftgw/messenger/ImageLocation;

    move-result-object v5

    iget-object v7, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    invoke-virtual {v6, v5, v4, v7, v3}, Lim/tpelyyftgw/ui/components/BackupImageView;->setImage(Lim/tpelyyftgw/messenger/ImageLocation;Ljava/lang/String;Landroid/graphics/drawable/Drawable;Ljava/lang/Object;)V

    goto :goto_128

    .line 407
    :cond_121
    iget-object v4, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarImageView:Lim/tpelyyftgw/ui/components/BackupImageView;

    iget-object v5, p0, Lim/tpelyyftgw/ui/hcells/ContactUserCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    invoke-virtual {v4, v5}, Lim/tpelyyftgw/ui/components/BackupImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 409
    :goto_128
    return-void
.end method