DialogMeUrlCell.smali

.class public Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;
.super Lim/tpelyyftgw/ui/cells/BaseCell;
.source "DialogMeUrlCell.java"


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

.field private avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;

.field private avatarTop:I

.field private currentAccount:I

.field private drawNameBot:Z

.field private drawNameBroadcast:Z

.field private drawNameGroup:Z

.field private drawNameLock:Z

.field private drawVerified:Z

.field private isSelected:Z

.field private messageLayout:Landroid/text/StaticLayout;

.field private messageLeft:I

.field private messageTop:I

.field private nameLayout:Landroid/text/StaticLayout;

.field private nameLeft:I

.field private nameLockLeft:I

.field private nameLockTop:I

.field private nameMuteLeft:I

.field private recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

.field public useSeparator:Z


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

    return-void
.end method

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

    .line 58
    invoke-direct {p0, p1}, Lim/tpelyyftgw/ui/cells/BaseCell;-><init>(Landroid/content/Context;)V

    .line 30
    new-instance v0, Lim/tpelyyftgw/messenger/ImageReceiver;

    invoke-direct {v0, p0}, Lim/tpelyyftgw/messenger/ImageReceiver;-><init>(Landroid/view/View;)V

    iput-object v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;

    .line 31
    new-instance v0, Lim/tpelyyftgw/ui/components/AvatarDrawable;

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

    iput-object v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    .line 45
    const/high16 v0, 0x42200000    # 40.0f

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

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageTop:I

    .line 51
    const/high16 v0, 0x41200000    # 10.0f

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

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarTop:I

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

    iput v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->currentAccount:I

    .line 60
    invoke-static {p1}, Lim/tpelyyftgw/ui/actionbar/Theme;->createDialogsResources(Landroid/content/Context;)V

    .line 61
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;

    const/high16 v1, 0x40f00000    # 7.5f

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

    move-result v1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/messenger/ImageReceiver;->setRoundRadius(I)V

    .line 62
    return-void
.end method


# virtual methods
.method public buildLayout()V
    .registers 22

    .line 94
    move-object/from16 v1, p0

    const-string v0, ""

    .line 96
    .local v0, "nameString":Ljava/lang/String;
    sget-object v10, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_namePaint:Landroid/text/TextPaint;

    .line 97
    .local v10, "currentNamePaint":Landroid/text/TextPaint;
    sget-object v11, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;

    .line 99
    .local v11, "currentMessagePaint":Landroid/text/TextPaint;
    const/4 v12, 0x0

    iput-boolean v12, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameGroup:Z

    .line 100
    iput-boolean v12, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameBroadcast:Z

    .line 101
    iput-boolean v12, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameLock:Z

    .line 102
    iput-boolean v12, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameBot:Z

    .line 103
    iput-boolean v12, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawVerified:Z

    .line 105
    iget-object v7, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    instance-of v2, v7, Lim/tpelyyftgw/tgnet/TLRPC$TL_recentMeUrlChat;

    const/high16 v3, 0x418c0000    # 17.5f

    const/high16 v4, 0x41840000    # 16.5f

    const/4 v5, 0x1

    const/high16 v9, 0x41600000    # 14.0f

    if-eqz v2, :cond_bf

    .line 106
    iget v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->currentAccount:I

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

    move-result-object v2

    iget-object v6, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget v6, v6, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_id:I

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

    move-result-object v6

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

    move-result-object v2

    .line 107
    .local v2, "chat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    iget v6, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->id:I

    if-ltz v6, :cond_4a

    invoke-static {v2}, Lim/tpelyyftgw/messenger/ChatObject;->isChannel(Lim/tpelyyftgw/tgnet/TLRPC$Chat;)Z

    move-result v6

    if-eqz v6, :cond_41

    iget-boolean v6, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->megagroup:Z

    if-nez v6, :cond_41

    goto :goto_4a

    .line 111
    :cond_41
    iput-boolean v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameGroup:Z

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

    move-result v3

    iput v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockTop:I

    goto :goto_52

    .line 108
    :cond_4a
    :goto_4a
    iput-boolean v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameBroadcast:Z

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

    move-result v3

    iput v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockTop:I

    .line 114
    :goto_52
    iget-boolean v3, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->verified:Z

    iput-boolean v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawVerified:Z

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

    if-nez v3, :cond_7d

    .line 117
    sget v3, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    int-to-float v3, v3

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

    move-result v3

    iput v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockLeft:I

    .line 118
    sget v3, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    add-int/lit8 v3, v3, 0x4

    int-to-float v3, v3

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

    move-result v3

    iget-boolean v4, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameGroup:Z

    if-eqz v4, :cond_73

    sget-object v4, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_groupDrawable:Landroid/graphics/drawable/Drawable;

    goto :goto_75

    :cond_73
    sget-object v4, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_broadcastDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v4

    add-int/2addr v3, v4

    iput v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    goto :goto_9f

    .line 120
    :cond_7d
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->getMeasuredWidth()I

    move-result v3

    sget v4, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    int-to-float v4, v4

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

    move-result v4

    sub-int/2addr v3, v4

    iget-boolean v4, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameGroup:Z

    if-eqz v4, :cond_90

    sget-object v4, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_groupDrawable:Landroid/graphics/drawable/Drawable;

    goto :goto_92

    :cond_90
    sget-object v4, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_broadcastDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v4

    sub-int/2addr v3, v4

    iput v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockLeft:I

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

    move-result v3

    iput v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    .line 123
    :goto_9f
    iget-object v0, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->title:Ljava/lang/String;

    .line 124
    iget-object v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

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

    .line 125
    iget-object v13, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;

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

    move-result-object v14

    iget-object v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    const/16 v17, 0x0

    iget-object v4, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    const/16 v19, 0x0

    const-string v15, "50_50"

    move-object/from16 v16, v3

    move-object/from16 v18, v4

    invoke-virtual/range {v13 .. v19}, Lim/tpelyyftgw/messenger/ImageReceiver;->setImage(Lim/tpelyyftgw/messenger/ImageLocation;Ljava/lang/String;Landroid/graphics/drawable/Drawable;Ljava/lang/String;Ljava/lang/Object;I)V

    .line 126
    .end local v2    # "chat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    goto/16 :goto_30d

    :cond_bf
    instance-of v2, v7, Lim/tpelyyftgw/tgnet/TLRPC$TL_recentMeUrlUser;

    if-eqz v2, :cond_158

    .line 127
    iget v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->currentAccount:I

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

    move-result-object v2

    iget-object v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->user_id:I

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

    move-result-object v3

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

    move-result-object v2

    .line 128
    .local v2, "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    sget-boolean v3, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-nez v3, :cond_e3

    .line 129
    sget v3, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    int-to-float v3, v3

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

    move-result v3

    iput v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    goto :goto_e9

    .line 131
    :cond_e3
    invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v3

    iput v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    .line 133
    :goto_e9
    if-eqz v2, :cond_136

    .line 134
    iget-boolean v3, v2, Lim/tpelyyftgw/tgnet/TLRPC$User;->bot:Z

    if-eqz v3, :cond_132

    .line 135
    iput-boolean v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameBot:Z

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

    move-result v3

    iput v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockTop:I

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

    if-nez v3, :cond_117

    .line 138
    sget v3, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    int-to-float v3, v3

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

    move-result v3

    iput v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockLeft:I

    .line 139
    sget v3, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    add-int/lit8 v3, v3, 0x4

    int-to-float v3, v3

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

    move-result v3

    sget-object v4, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_botDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v4

    add-int/2addr v3, v4

    iput v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    goto :goto_132

    .line 141
    :cond_117
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->getMeasuredWidth()I

    move-result v3

    sget v4, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    int-to-float v4, v4

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

    move-result v4

    sub-int/2addr v3, v4

    sget-object v4, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_botDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v4

    sub-int/2addr v3, v4

    iput v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockLeft:I

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

    move-result v3

    iput v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    .line 145
    :cond_132
    :goto_132
    iget-boolean v3, v2, Lim/tpelyyftgw/tgnet/TLRPC$User;->verified:Z

    iput-boolean v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawVerified:Z

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

    move-result-object v0

    .line 148
    iget-object v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

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

    .line 149
    iget-object v13, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;

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

    move-result-object v14

    iget-object v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    const/16 v17, 0x0

    iget-object v4, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    const/16 v19, 0x0

    const-string v15, "50_50"

    move-object/from16 v16, v3

    move-object/from16 v18, v4

    invoke-virtual/range {v13 .. v19}, Lim/tpelyyftgw/messenger/ImageReceiver;->setImage(Lim/tpelyyftgw/messenger/ImageLocation;Ljava/lang/String;Landroid/graphics/drawable/Drawable;Ljava/lang/String;Ljava/lang/Object;I)V

    .line 150
    .end local v2    # "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    goto/16 :goto_30d

    :cond_158
    instance-of v2, v7, Lim/tpelyyftgw/tgnet/TLRPC$TL_recentMeUrlStickerSet;

    const/4 v6, 0x0

    const/4 v8, 0x5

    if-eqz v2, :cond_1a5

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

    if-nez v2, :cond_16c

    .line 152
    sget v2, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    int-to-float v2, v2

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

    move-result v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    goto :goto_172

    .line 154
    :cond_16c
    invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    .line 156
    :goto_172
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->set:Lim/tpelyyftgw/tgnet/TLRPC$StickerSetCovered;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$StickerSetCovered;->set:Lim/tpelyyftgw/tgnet/TLRPC$StickerSet;

    iget-object v0, v2, Lim/tpelyyftgw/tgnet/TLRPC$StickerSet;->title:Ljava/lang/String;

    .line 157
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    iget-object v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->set:Lim/tpelyyftgw/tgnet/TLRPC$StickerSetCovered;

    iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$StickerSetCovered;->set:Lim/tpelyyftgw/tgnet/TLRPC$StickerSet;

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

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

    .line 158
    iget-object v13, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;

    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->set:Lim/tpelyyftgw/tgnet/TLRPC$StickerSetCovered;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$StickerSetCovered;->cover:Lim/tpelyyftgw/tgnet/TLRPC$Document;

    invoke-static {v2}, Lim/tpelyyftgw/messenger/ImageLocation;->getForDocument(Lim/tpelyyftgw/tgnet/TLRPC$Document;)Lim/tpelyyftgw/messenger/ImageLocation;

    move-result-object v14

    const/4 v15, 0x0

    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    const/16 v17, 0x0

    iget-object v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    const/16 v19, 0x0

    move-object/from16 v16, v2

    move-object/from16 v18, v3

    invoke-virtual/range {v13 .. v19}, Lim/tpelyyftgw/messenger/ImageReceiver;->setImage(Lim/tpelyyftgw/messenger/ImageLocation;Ljava/lang/String;Landroid/graphics/drawable/Drawable;Ljava/lang/String;Ljava/lang/Object;I)V

    goto/16 :goto_30d

    .line 159
    :cond_1a5
    instance-of v2, v7, Lim/tpelyyftgw/tgnet/TLRPC$TL_recentMeUrlChatInvite;

    if-eqz v2, :cond_2da

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

    if-nez v2, :cond_1b7

    .line 161
    sget v2, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    int-to-float v2, v2

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

    move-result v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    goto :goto_1bd

    .line 163
    :cond_1b7
    invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    .line 165
    :goto_1bd
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_invite:Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;

    if-eqz v2, :cond_232

    .line 166
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    iget-object v6, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v6, v6, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_invite:Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;

    iget-object v6, v6, Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;

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

    .line 167
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_invite:Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;

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

    .line 168
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_invite:Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;

    iget v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->id:I

    if-ltz v2, :cond_202

    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_invite:Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;

    invoke-static {v2}, Lim/tpelyyftgw/messenger/ChatObject;->isChannel(Lim/tpelyyftgw/tgnet/TLRPC$Chat;)Z

    move-result v2

    if-eqz v2, :cond_1f9

    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_invite:Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;

    iget-boolean v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->megagroup:Z

    if-nez v2, :cond_1f9

    goto :goto_202

    .line 172
    :cond_1f9
    iput-boolean v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameGroup:Z

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

    move-result v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockTop:I

    goto :goto_20a

    .line 169
    :cond_202
    :goto_202
    iput-boolean v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameBroadcast:Z

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

    move-result v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockTop:I

    .line 175
    :goto_20a
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_invite:Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;

    iget-boolean v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->verified:Z

    iput-boolean v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawVerified:Z

    .line 176
    iget-object v13, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;

    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_invite:Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;

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

    move-result-object v14

    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    const/16 v17, 0x0

    iget-object v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    const/16 v19, 0x0

    const-string v15, "50_50"

    move-object/from16 v16, v2

    move-object/from16 v18, v3

    invoke-virtual/range {v13 .. v19}, Lim/tpelyyftgw/messenger/ImageReceiver;->setImage(Lim/tpelyyftgw/messenger/ImageLocation;Ljava/lang/String;Landroid/graphics/drawable/Drawable;Ljava/lang/String;Ljava/lang/Object;I)V

    goto :goto_290

    .line 178
    :cond_232
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_invite:Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;

    iget-object v0, v2, Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;->title:Ljava/lang/String;

    .line 179
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    iget-object v7, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v7, v7, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_invite:Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;

    iget-object v7, v7, Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;->title:Ljava/lang/String;

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

    .line 180
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_invite:Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;

    iget-boolean v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;->broadcast:Z

    if-nez v2, :cond_25d

    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_invite:Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;

    iget-boolean v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;->channel:Z

    if-eqz v2, :cond_254

    goto :goto_25d

    .line 184
    :cond_254
    iput-boolean v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameGroup:Z

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

    move-result v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockTop:I

    goto :goto_265

    .line 181
    :cond_25d
    :goto_25d
    iput-boolean v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameBroadcast:Z

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

    move-result v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockTop:I

    .line 187
    :goto_265
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_invite:Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;->photo:Lim/tpelyyftgw/tgnet/TLRPC$Photo;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$Photo;->sizes:Ljava/util/ArrayList;

    const/16 v3, 0x32

    invoke-static {v2, v3}, Lim/tpelyyftgw/messenger/FileLoader;->getClosestPhotoSizeWithSize(Ljava/util/ArrayList;I)Lim/tpelyyftgw/tgnet/TLRPC$PhotoSize;

    move-result-object v2

    .line 188
    .local v2, "size":Lim/tpelyyftgw/tgnet/TLRPC$PhotoSize;
    iget-object v13, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;

    iget-object v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->chat_invite:Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;

    iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$ChatInvite;->photo:Lim/tpelyyftgw/tgnet/TLRPC$Photo;

    invoke-static {v2, v3}, Lim/tpelyyftgw/messenger/ImageLocation;->getForPhoto(Lim/tpelyyftgw/tgnet/TLRPC$PhotoSize;Lim/tpelyyftgw/tgnet/TLRPC$Photo;)Lim/tpelyyftgw/messenger/ImageLocation;

    move-result-object v14

    iget-object v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    const/16 v17, 0x0

    iget-object v4, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    const/16 v19, 0x0

    const-string v15, "50_50"

    move-object/from16 v16, v3

    move-object/from16 v18, v4

    invoke-virtual/range {v13 .. v19}, Lim/tpelyyftgw/messenger/ImageReceiver;->setImage(Lim/tpelyyftgw/messenger/ImageLocation;Ljava/lang/String;Landroid/graphics/drawable/Drawable;Ljava/lang/String;Ljava/lang/Object;I)V

    .line 190
    .end local v2    # "size":Lim/tpelyyftgw/tgnet/TLRPC$PhotoSize;
    :goto_290
    sget-boolean v2, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-nez v2, :cond_2b7

    .line 191
    sget v2, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    int-to-float v2, v2

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

    move-result v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockLeft:I

    .line 192
    sget v2, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    add-int/lit8 v2, v2, 0x4

    int-to-float v2, v2

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

    move-result v2

    iget-boolean v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameGroup:Z

    if-eqz v3, :cond_2ad

    sget-object v3, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_groupDrawable:Landroid/graphics/drawable/Drawable;

    goto :goto_2af

    :cond_2ad
    sget-object v3, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_broadcastDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v3

    add-int/2addr v2, v3

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    goto :goto_30d

    .line 194
    :cond_2b7
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->getMeasuredWidth()I

    move-result v2

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

    int-to-float v3, v3

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

    move-result v3

    sub-int/2addr v2, v3

    iget-boolean v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameGroup:Z

    if-eqz v3, :cond_2ca

    sget-object v3, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_groupDrawable:Landroid/graphics/drawable/Drawable;

    goto :goto_2cc

    :cond_2ca
    sget-object v3, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_broadcastDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v3

    sub-int/2addr v2, v3

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockLeft:I

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

    move-result v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    goto :goto_30d

    .line 197
    :cond_2da
    instance-of v2, v7, Lim/tpelyyftgw/tgnet/TLRPC$TL_recentMeUrlUnknown;

    if-eqz v2, :cond_302

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

    if-nez v2, :cond_2ec

    .line 199
    sget v2, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    int-to-float v2, v2

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

    move-result v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    goto :goto_2f2

    .line 201
    :cond_2ec
    invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    .line 203
    :goto_2f2
    const-string v0, "Url"

    .line 204
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;

    const/4 v3, 0x0

    const/4 v4, 0x0

    iget-object v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    const/4 v6, 0x0

    iget-object v7, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    const/4 v8, 0x0

    invoke-virtual/range {v2 .. v8}, Lim/tpelyyftgw/messenger/ImageReceiver;->setImage(Lim/tpelyyftgw/messenger/ImageLocation;Ljava/lang/String;Landroid/graphics/drawable/Drawable;Ljava/lang/String;Ljava/lang/Object;I)V

    goto :goto_30d

    .line 206
    :cond_302
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;

    const/4 v3, 0x0

    const/4 v4, 0x0

    iget-object v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;

    const/4 v6, 0x0

    const/4 v8, 0x0

    invoke-virtual/range {v2 .. v8}, Lim/tpelyyftgw/messenger/ImageReceiver;->setImage(Lim/tpelyyftgw/messenger/ImageLocation;Ljava/lang/String;Landroid/graphics/drawable/Drawable;Ljava/lang/String;Ljava/lang/Object;I)V

    .line 208
    :goto_30d
    new-instance v2, Ljava/lang/StringBuilder;

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

    iget v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->currentAccount:I

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

    move-result-object v3

    iget-object v3, v3, Lim/tpelyyftgw/messenger/MessagesController;->linkPrefix:Ljava/lang/String;

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

    const-string v3, "/"

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

    iget-object v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;->url:Ljava/lang/String;

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

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

    move-result-object v13

    .line 210
    .local v13, "messageString":Ljava/lang/CharSequence;
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_33e

    .line 211
    const v2, 0x7f0f0765

    const-string v3, "HiddenName"

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

    move-result-object v0

    move-object v14, v0

    goto :goto_33f

    .line 210
    :cond_33e
    move-object v14, v0

    .line 216
    .end local v0    # "nameString":Ljava/lang/String;
    .local v14, "nameString":Ljava/lang/String;
    :goto_33f
    sget-boolean v0, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-nez v0, :cond_350

    .line 217
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->getMeasuredWidth()I

    move-result v0

    iget v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    sub-int/2addr v0, v2

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

    move-result v2

    sub-int/2addr v0, v2

    .local v0, "nameWidth":I
    goto :goto_35f

    .line 219
    .end local v0    # "nameWidth":I
    :cond_350
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->getMeasuredWidth()I

    move-result v0

    iget v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    sub-int/2addr v0, v2

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

    int-to-float v2, v2

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

    move-result v2

    sub-int/2addr v0, v2

    .line 221
    .restart local v0    # "nameWidth":I
    :goto_35f
    iget-boolean v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameLock:Z

    const/high16 v3, 0x40800000    # 4.0f

    if-eqz v2, :cond_372

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

    move-result v2

    sget-object v3, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_lockDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v3

    add-int/2addr v2, v3

    sub-int/2addr v0, v2

    goto :goto_3a4

    .line 223
    :cond_372
    iget-boolean v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameGroup:Z

    if-eqz v2, :cond_383

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

    move-result v2

    sget-object v3, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_groupDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v3

    add-int/2addr v2, v3

    sub-int/2addr v0, v2

    goto :goto_3a4

    .line 225
    :cond_383
    iget-boolean v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameBroadcast:Z

    if-eqz v2, :cond_394

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

    move-result v2

    sget-object v3, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_broadcastDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v3

    add-int/2addr v2, v3

    sub-int/2addr v0, v2

    goto :goto_3a4

    .line 227
    :cond_394
    iget-boolean v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameBot:Z

    if-eqz v2, :cond_3a4

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

    move-result v2

    sget-object v3, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_botDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v3

    add-int/2addr v2, v3

    sub-int/2addr v0, v2

    .line 231
    :cond_3a4
    :goto_3a4
    iget-boolean v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawVerified:Z

    const/high16 v15, 0x40c00000    # 6.0f

    if-eqz v2, :cond_3bf

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

    move-result v2

    sget-object v3, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_verifiedDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v3

    add-int/2addr v2, v3

    .line 233
    .local v2, "w":I
    sub-int/2addr v0, v2

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

    if-eqz v3, :cond_3bf

    .line 235
    iget v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    add-int/2addr v3, v2

    iput v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    .line 239
    .end local v2    # "w":I
    :cond_3bf
    const/high16 v16, 0x41400000    # 12.0f

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

    move-result v2

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

    move-result v9

    .line 241
    .end local v0    # "nameWidth":I
    .local v9, "nameWidth":I
    const/16 v0, 0xa

    const/16 v2, 0x20

    :try_start_3cd
    invoke-virtual {v14, v0, v2}, Ljava/lang/String;->replace(CC)Ljava/lang/String;

    move-result-object v0

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

    move-result v2

    sub-int v2, v9, v2

    int-to-float v2, v2

    sget-object v3, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;

    invoke-static {v0, v10, v2, v3}, Landroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/text/TextUtils$TruncateAt;)Ljava/lang/CharSequence;

    move-result-object v3

    .line 242
    .local v3, "nameStringFinal":Ljava/lang/CharSequence;
    new-instance v0, Landroid/text/StaticLayout;

    sget-object v6, Landroid/text/Layout$Alignment;->ALIGN_NORMAL:Landroid/text/Layout$Alignment;
    :try_end_3e2
    .catch Ljava/lang/Exception; {:try_start_3cd .. :try_end_3e2} :catch_3f5

    const/high16 v7, 0x3f800000    # 1.0f

    const/4 v8, 0x0

    const/16 v17, 0x0

    move-object v2, v0

    move-object v4, v10

    move v5, v9

    move v15, v9

    .end local v9    # "nameWidth":I
    .local v15, "nameWidth":I
    move/from16 v9, v17

    :try_start_3ed
    invoke-direct/range {v2 .. v9}, Landroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/text/Layout$Alignment;FFZ)V

    iput-object v0, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLayout:Landroid/text/StaticLayout;
    :try_end_3f2
    .catch Ljava/lang/Exception; {:try_start_3ed .. :try_end_3f2} :catch_3f3

    .line 245
    .end local v3    # "nameStringFinal":Ljava/lang/CharSequence;
    goto :goto_3fa

    .line 243
    :catch_3f3
    move-exception v0

    goto :goto_3f7

    .end local v15    # "nameWidth":I
    .restart local v9    # "nameWidth":I
    :catch_3f5
    move-exception v0

    move v15, v9

    .line 244
    .end local v9    # "nameWidth":I
    .local v0, "e":Ljava/lang/Exception;
    .restart local v15    # "nameWidth":I
    :goto_3f7
    invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V

    .line 247
    .end local v0    # "e":Ljava/lang/Exception;
    :goto_3fa
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->getMeasuredWidth()I

    move-result v0

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

    add-int/lit8 v2, v2, 0x10

    int-to-float v2, v2

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

    move-result v2

    sub-int/2addr v0, v2

    .line 249
    .local v0, "messageWidth":I
    sget-boolean v2, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-nez v2, :cond_426

    .line 250
    sget v2, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    int-to-float v2, v2

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

    move-result v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLeft:I

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

    move-result v2

    if-eqz v2, :cond_41e

    const/high16 v2, 0x41500000    # 13.0f

    goto :goto_420

    :cond_41e
    const/high16 v2, 0x41100000    # 9.0f

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

    move-result v2

    move v9, v2

    .local v2, "avatarLeft":I
    goto :goto_443

    .line 253
    .end local v2    # "avatarLeft":I
    :cond_426
    const/high16 v2, 0x41800000    # 16.0f

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

    move-result v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLeft:I

    .line 254
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->getMeasuredWidth()I

    move-result v2

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

    move-result v3

    if-eqz v3, :cond_43b

    const/high16 v3, 0x42820000    # 65.0f

    goto :goto_43d

    :cond_43b
    const/high16 v3, 0x42740000    # 61.0f

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

    move-result v3

    sub-int/2addr v2, v3

    move v9, v2

    .line 256
    .local v9, "avatarLeft":I
    :goto_443
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;

    iget v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarTop:I

    const/high16 v4, 0x42500000    # 52.0f

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

    move-result v5

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

    move-result v4

    invoke-virtual {v2, v9, v3, v5, v4}, Lim/tpelyyftgw/messenger/ImageReceiver;->setImageCoords(IIII)V

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

    move-result v2

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

    move-result v8

    .line 259
    .end local v0    # "messageWidth":I
    .local v8, "messageWidth":I
    invoke-static/range {v16 .. v16}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v0

    sub-int v0, v8, v0

    int-to-float v0, v0

    sget-object v2, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;

    invoke-static {v13, v11, v0, v2}, Landroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/text/TextUtils$TruncateAt;)Ljava/lang/CharSequence;

    move-result-object v16

    .line 261
    .local v16, "messageStringFinal":Ljava/lang/CharSequence;
    :try_start_469
    new-instance v0, Landroid/text/StaticLayout;

    sget-object v6, Landroid/text/Layout$Alignment;->ALIGN_NORMAL:Landroid/text/Layout$Alignment;
    :try_end_46d
    .catch Ljava/lang/Exception; {:try_start_469 .. :try_end_46d} :catch_488

    const/high16 v7, 0x3f800000    # 1.0f

    const/16 v17, 0x0

    const/16 v19, 0x0

    move-object v2, v0

    move-object/from16 v3, v16

    move-object v4, v11

    move v5, v8

    move/from16 v20, v8

    .end local v8    # "messageWidth":I
    .local v20, "messageWidth":I
    move/from16 v8, v17

    move/from16 v17, v9

    .end local v9    # "avatarLeft":I
    .local v17, "avatarLeft":I
    move/from16 v9, v19

    :try_start_480
    invoke-direct/range {v2 .. v9}, Landroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/text/Layout$Alignment;FFZ)V

    iput-object v0, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLayout:Landroid/text/StaticLayout;
    :try_end_485
    .catch Ljava/lang/Exception; {:try_start_480 .. :try_end_485} :catch_486

    .line 264
    goto :goto_490

    .line 262
    :catch_486
    move-exception v0

    goto :goto_48d

    .end local v17    # "avatarLeft":I
    .end local v20    # "messageWidth":I
    .restart local v8    # "messageWidth":I
    .restart local v9    # "avatarLeft":I
    :catch_488
    move-exception v0

    move/from16 v20, v8

    move/from16 v17, v9

    .line 263
    .end local v8    # "messageWidth":I
    .end local v9    # "avatarLeft":I
    .local v0, "e":Ljava/lang/Exception;
    .restart local v17    # "avatarLeft":I
    .restart local v20    # "messageWidth":I
    :goto_48d
    invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V

    .line 268
    .end local v0    # "e":Ljava/lang/Exception;
    :goto_490
    sget-boolean v0, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z

    if-eqz v0, :cond_530

    .line 269
    iget-object v0, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLayout:Landroid/text/StaticLayout;

    const/4 v2, 0x0

    if-eqz v0, :cond_4f1

    invoke-virtual {v0}, Landroid/text/StaticLayout;->getLineCount()I

    move-result v0

    if-lez v0, :cond_4f1

    .line 270
    iget-object v0, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLayout:Landroid/text/StaticLayout;

    invoke-virtual {v0, v12}, Landroid/text/StaticLayout;->getLineLeft(I)F

    move-result v0

    .line 271
    .local v0, "left":F
    iget-object v3, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLayout:Landroid/text/StaticLayout;

    invoke-virtual {v3, v12}, Landroid/text/StaticLayout;->getLineWidth(I)F

    move-result v3

    float-to-double v3, v3

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

    move-result-wide v3

    .line 272
    .local v3, "widthpx":D
    iget-boolean v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawVerified:Z

    if-eqz v5, :cond_4d9

    .line 273
    iget v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    int-to-double v5, v5

    int-to-double v7, v15

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

    sub-double/2addr v7, v3

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

    add-double/2addr v5, v7

    const/high16 v7, 0x40c00000    # 6.0f

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

    move-result v7

    int-to-double v7, v7

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

    sub-double/2addr v5, v7

    sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_verifiedDrawable:Landroid/graphics/drawable/Drawable;

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

    move-result v7

    int-to-double v7, v7

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

    sub-double/2addr v5, v7

    double-to-int v5, v5

    iput v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameMuteLeft:I

    .line 275
    :cond_4d9
    cmpl-float v5, v0, v2

    if-nez v5, :cond_4f1

    .line 276
    int-to-double v5, v15

    cmpg-double v7, v3, v5

    if-gez v7, :cond_4f1

    .line 277
    iget v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    int-to-double v5, v5

    int-to-double v7, v15

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

    sub-double/2addr v7, v3

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

    add-double/2addr v5, v7

    double-to-int v5, v5

    iput v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    .line 281
    .end local v0    # "left":F
    .end local v3    # "widthpx":D
    :cond_4f1
    iget-object v0, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLayout:Landroid/text/StaticLayout;

    if-eqz v0, :cond_52c

    invoke-virtual {v0}, Landroid/text/StaticLayout;->getLineCount()I

    move-result v0

    if-lez v0, :cond_52c

    .line 282
    iget-object v0, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLayout:Landroid/text/StaticLayout;

    invoke-virtual {v0, v12}, Landroid/text/StaticLayout;->getLineLeft(I)F

    move-result v0

    .line 283
    .restart local v0    # "left":F
    cmpl-float v2, v0, v2

    if-nez v2, :cond_528

    .line 284
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLayout:Landroid/text/StaticLayout;

    invoke-virtual {v2, v12}, Landroid/text/StaticLayout;->getLineWidth(I)F

    move-result v2

    float-to-double v2, v2

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

    move-result-wide v2

    .line 285
    .local v2, "widthpx":D
    move/from16 v4, v20

    .end local v20    # "messageWidth":I
    .local v4, "messageWidth":I
    int-to-double v5, v4

    cmpg-double v7, v2, v5

    if-gez v7, :cond_5ad

    .line 286
    iget v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLeft:I

    int-to-double v5, v5

    int-to-double v7, v4

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

    sub-double/2addr v7, v2

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

    add-double/2addr v5, v7

    double-to-int v5, v5

    iput v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLeft:I

    goto/16 :goto_5ad

    .line 283
    .end local v2    # "widthpx":D
    .end local v4    # "messageWidth":I
    .restart local v20    # "messageWidth":I
    :cond_528
    move/from16 v4, v20

    .end local v20    # "messageWidth":I
    .restart local v4    # "messageWidth":I
    goto/16 :goto_5ad

    .line 281
    .end local v0    # "left":F
    .end local v4    # "messageWidth":I
    .restart local v20    # "messageWidth":I
    :cond_52c
    move/from16 v4, v20

    .end local v20    # "messageWidth":I
    .restart local v4    # "messageWidth":I
    goto/16 :goto_5ad

    .line 291
    .end local v4    # "messageWidth":I
    .restart local v20    # "messageWidth":I
    :cond_530
    move/from16 v4, v20

    .end local v20    # "messageWidth":I
    .restart local v4    # "messageWidth":I
    iget-object v0, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLayout:Landroid/text/StaticLayout;

    if-eqz v0, :cond_579

    invoke-virtual {v0}, Landroid/text/StaticLayout;->getLineCount()I

    move-result v0

    if-lez v0, :cond_579

    .line 292
    iget-object v0, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLayout:Landroid/text/StaticLayout;

    invoke-virtual {v0, v12}, Landroid/text/StaticLayout;->getLineRight(I)F

    move-result v0

    .line 293
    .restart local v0    # "left":F
    int-to-float v2, v15

    cmpl-float v2, v0, v2

    if-nez v2, :cond_566

    .line 294
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLayout:Landroid/text/StaticLayout;

    invoke-virtual {v2, v12}, Landroid/text/StaticLayout;->getLineWidth(I)F

    move-result v2

    float-to-double v2, v2

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

    move-result-wide v2

    .line 295
    .restart local v2    # "widthpx":D
    int-to-double v5, v15

    cmpg-double v7, v2, v5

    if-gez v7, :cond_566

    .line 296
    iget v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    int-to-double v5, v5

    int-to-double v7, v15

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

    sub-double/2addr v7, v2

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

    sub-double/2addr v5, v7

    double-to-int v5, v5

    iput v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    .line 299
    .end local v2    # "widthpx":D
    :cond_566
    iget-boolean v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawVerified:Z

    if-eqz v2, :cond_579

    .line 300
    iget v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    int-to-float v2, v2

    add-float/2addr v2, v0

    const/high16 v3, 0x40c00000    # 6.0f

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

    move-result v3

    int-to-float v3, v3

    add-float/2addr v2, v3

    float-to-int v2, v2

    iput v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameMuteLeft:I

    .line 303
    .end local v0    # "left":F
    :cond_579
    iget-object v0, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLayout:Landroid/text/StaticLayout;

    if-eqz v0, :cond_5ad

    invoke-virtual {v0}, Landroid/text/StaticLayout;->getLineCount()I

    move-result v0

    if-lez v0, :cond_5ad

    .line 304
    iget-object v0, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLayout:Landroid/text/StaticLayout;

    invoke-virtual {v0, v12}, Landroid/text/StaticLayout;->getLineRight(I)F

    move-result v0

    .line 305
    .restart local v0    # "left":F
    int-to-float v2, v4

    cmpl-float v2, v0, v2

    if-nez v2, :cond_5ad

    .line 306
    iget-object v2, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLayout:Landroid/text/StaticLayout;

    invoke-virtual {v2, v12}, Landroid/text/StaticLayout;->getLineWidth(I)F

    move-result v2

    float-to-double v2, v2

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

    move-result-wide v2

    .line 307
    .restart local v2    # "widthpx":D
    int-to-double v5, v4

    cmpg-double v7, v2, v5

    if-gez v7, :cond_5ad

    .line 308
    iget v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLeft:I

    int-to-double v5, v5

    int-to-double v7, v4

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

    sub-double/2addr v7, v2

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

    sub-double/2addr v5, v7

    double-to-int v5, v5

    iput v5, v1, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLeft:I

    .line 313
    .end local v0    # "left":F
    .end local v2    # "widthpx":D
    :cond_5ad
    :goto_5ad
    return-void
.end method

.method public hasOverlappingRendering()Z
    .registers 2

    .line 380
    const/4 v0, 0x0

    return v0
.end method

.method protected onAttachedToWindow()V
    .registers 2

    .line 77
    invoke-super {p0}, Lim/tpelyyftgw/ui/cells/BaseCell;->onAttachedToWindow()V

    .line 78
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;

    invoke-virtual {v0}, Lim/tpelyyftgw/messenger/ImageReceiver;->onAttachedToWindow()Z

    .line 79
    return-void
.end method

.method protected onDetachedFromWindow()V
    .registers 2

    .line 71
    invoke-super {p0}, Lim/tpelyyftgw/ui/cells/BaseCell;->onDetachedFromWindow()V

    .line 72
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;

    invoke-virtual {v0}, Lim/tpelyyftgw/messenger/ImageReceiver;->onDetachedFromWindow()V

    .line 73
    return-void
.end method

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

    .line 324
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->isSelected:Z

    if-eqz v0, :cond_16

    .line 325
    const/4 v2, 0x0

    const/4 v3, 0x0

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

    move-result v0

    int-to-float v4, v0

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

    move-result v0

    int-to-float v5, v0

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

    move-object v1, p1

    invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V

    .line 328
    :cond_16
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameLock:Z

    if-eqz v0, :cond_29

    .line 329
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_lockDrawable:Landroid/graphics/drawable/Drawable;

    iget v1, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockLeft:I

    iget v2, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockTop:I

    invoke-static {v0, v1, v2}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;II)V

    .line 330
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_lockDrawable:Landroid/graphics/drawable/Drawable;

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

    goto :goto_61

    .line 331
    :cond_29
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameGroup:Z

    if-eqz v0, :cond_3c

    .line 332
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_groupDrawable:Landroid/graphics/drawable/Drawable;

    iget v1, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockLeft:I

    iget v2, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockTop:I

    invoke-static {v0, v1, v2}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;II)V

    .line 333
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_groupDrawable:Landroid/graphics/drawable/Drawable;

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

    goto :goto_61

    .line 334
    :cond_3c
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameBroadcast:Z

    if-eqz v0, :cond_4f

    .line 335
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_broadcastDrawable:Landroid/graphics/drawable/Drawable;

    iget v1, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockLeft:I

    iget v2, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockTop:I

    invoke-static {v0, v1, v2}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;II)V

    .line 336
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_broadcastDrawable:Landroid/graphics/drawable/Drawable;

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

    goto :goto_61

    .line 337
    :cond_4f
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawNameBot:Z

    if-eqz v0, :cond_61

    .line 338
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_botDrawable:Landroid/graphics/drawable/Drawable;

    iget v1, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockLeft:I

    iget v2, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLockTop:I

    invoke-static {v0, v1, v2}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;II)V

    .line 339
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_botDrawable:Landroid/graphics/drawable/Drawable;

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

    .line 342
    :cond_61
    :goto_61
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLayout:Landroid/text/StaticLayout;

    if-eqz v0, :cond_7d

    .line 343
    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    .line 344
    iget v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLeft:I

    int-to-float v0, v0

    const/high16 v1, 0x41500000    # 13.0f

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

    move-result v1

    int-to-float v1, v1

    invoke-virtual {p1, v0, v1}, Landroid/graphics/Canvas;->translate(FF)V

    .line 345
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameLayout:Landroid/text/StaticLayout;

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

    .line 346
    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    .line 349
    :cond_7d
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLayout:Landroid/text/StaticLayout;

    if-eqz v0, :cond_9a

    .line 350
    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    .line 351
    iget v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLeft:I

    int-to-float v0, v0

    iget v1, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageTop:I

    int-to-float v1, v1

    invoke-virtual {p1, v0, v1}, Landroid/graphics/Canvas;->translate(FF)V

    .line 353
    :try_start_8d
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->messageLayout:Landroid/text/StaticLayout;

    invoke-virtual {v0, p1}, Landroid/text/StaticLayout;->draw(Landroid/graphics/Canvas;)V
    :try_end_92
    .catch Ljava/lang/Exception; {:try_start_8d .. :try_end_92} :catch_93

    .line 356
    goto :goto_97

    .line 354
    :catch_93
    move-exception v0

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

    .line 357
    .end local v0    # "e":Ljava/lang/Exception;
    :goto_97
    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    .line 360
    :cond_9a
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->drawVerified:Z

    if-eqz v0, :cond_c0

    .line 361
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_verifiedDrawable:Landroid/graphics/drawable/Drawable;

    iget v1, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameMuteLeft:I

    const/high16 v2, 0x41840000    # 16.5f

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

    move-result v3

    invoke-static {v0, v1, v3}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;II)V

    .line 362
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_verifiedCheckDrawable:Landroid/graphics/drawable/Drawable;

    iget v1, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->nameMuteLeft:I

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

    move-result v2

    invoke-static {v0, v1, v2}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;II)V

    .line 363
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_verifiedDrawable:Landroid/graphics/drawable/Drawable;

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

    .line 364
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_verifiedCheckDrawable:Landroid/graphics/drawable/Drawable;

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

    .line 367
    :cond_c0
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->useSeparator:Z

    if-eqz v0, :cond_10c

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

    if-eqz v0, :cond_eb

    .line 369
    const/4 v2, 0x0

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

    move-result v0

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

    int-to-float v3, v0

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

    move-result v0

    sget v1, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    int-to-float v1, v1

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

    move-result v1

    sub-int/2addr v0, v1

    int-to-float v4, v0

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

    move-result v0

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

    int-to-float v5, v0

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

    move-object v1, p1

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

    goto :goto_10c

    .line 371
    :cond_eb
    sget v0, Lim/tpelyyftgw/messenger/AndroidUtilities;->leftBaseline:I

    int-to-float v0, v0

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

    move-result v0

    int-to-float v2, v0

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

    move-result v0

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

    int-to-float v3, v0

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

    move-result v0

    int-to-float v4, v0

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

    move-result v0

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

    int-to-float v5, v0

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

    move-object v1, p1

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

    .line 375
    :cond_10c
    :goto_10c
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;

    invoke-virtual {v0, p1}, Lim/tpelyyftgw/messenger/ImageReceiver;->draw(Landroid/graphics/Canvas;)Z

    .line 376
    return-void
.end method

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

    .line 88
    if-eqz p1, :cond_5

    .line 89
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->buildLayout()V

    .line 91
    :cond_5
    return-void
.end method

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

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

    move-result v0

    const/high16 v1, 0x42900000    # 72.0f

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

    move-result v1

    iget-boolean v2, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->useSeparator:Z

    add-int/2addr v1, v2

    invoke-virtual {p0, v0, v1}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->setMeasuredDimension(II)V

    .line 84
    return-void
.end method

.method public setDialogSelected(Z)V
    .registers 3
    .param p1, "value"    # Z

    .line 316
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->isSelected:Z

    if-eq v0, p1, :cond_7

    .line 317
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->invalidate()V

    .line 319
    :cond_7
    iput-boolean p1, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->isSelected:Z

    .line 320
    return-void
.end method

.method public setRecentMeUrl(Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;)V
    .registers 2
    .param p1, "url"    # Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    .line 65
    iput-object p1, p0, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->recentMeUrl:Lim/tpelyyftgw/tgnet/TLRPC$RecentMeUrl;

    .line 66
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/cells/DialogMeUrlCell;->requestLayout()V

    .line 67
    return-void
.end method