FmtDialogCell.smali
.class public Lim/tpelyyftgw/ui/cell/FmtDialogCell;
.super Lim/tpelyyftgw/ui/cells/BaseCell;
.source "FmtDialogCell.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lim/tpelyyftgw/ui/cell/FmtDialogCell$BounceInterpolator;
}
.end annotation
# instance fields
.field private animatingArchiveAvatar:Z
.field private animatingArchiveAvatarProgress:F
.field private archiveBackgroundProgress:F
.field private archiveHidden:Z
.field private attachedToWindow:Z
.field private avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
.field private avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
.field private avatarLeft:I
.field private bottomClip:I
.field private chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
.field private checkBox:Lim/tpelyyftgw/ui/components/CheckBoxBase;
.field private checkBoxAnimationInProgress:Z
.field private checkBoxAnimationProgress:F
.field private checkBoxTranslation:I
.field private checkBoxVisible:Z
.field private clearingDialog:Z
.field private clipProgress:F
.field private clockDrawLeft:I
.field private clockDrawTop:I
.field private cornerProgress:F
.field private countIsBiggerThanTen:Z
.field private countLayout:Landroid/text/StaticLayout;
.field private countLeft:I
.field private countTop:I
.field private countWidth:I
.field private currentAccount:I
.field private currentDialogFolderDialogsCount:I
.field private currentDialogFolderId:I
.field private currentDialogId:J
.field private currentEditDate:I
.field private currentRevealBounceProgress:F
.field private currentRevealProgress:F
.field private dialogMuted:Z
.field private dialogsType:I
.field private draftMessage:Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
.field private drawBotIcon:Z
.field private drawBroadcastIcon:Z
.field private drawCheck1:Z
.field private drawCheck2:Z
.field private drawClockIcon:Z
.field private drawCount:Z
.field private drawErrorIcon:Z
.field private drawGroupIcon:Z
.field private drawMentionIcon:Z
.field private drawPinBackground:Z
.field private drawPinIcon:Z
.field private drawReorder:Z
.field private drawRevealBackground:Z
.field private drawScam:Z
.field private drawSecretLockIcon:Z
.field private drawVerifiedIcon:Z
.field private encryptedChat:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
.field private errorLeft:I
.field private errorTop:I
.field private folderId:I
.field public fullSeparator:Z
.field public fullSeparator2:Z
.field private index:I
.field private interpolator:Lim/tpelyyftgw/ui/cell/FmtDialogCell$BounceInterpolator;
.field private isDialogCell:Z
.field private isSelected:Z
.field private isSliding:Z
.field private lastCheckBoxAnimationTime:J
.field private lastMessageDate:I
.field private lastMessageString:Ljava/lang/CharSequence;
.field private lastPrintString:Ljava/lang/CharSequence;
.field private lastSendState:I
.field private lastUnreadState:Z
.field private lastUpdateTime:J
.field private final mDragHelper:Landroidx/customview/widget/ViewDragHelper;
.field private markUnread:Z
.field private mentionCount:I
.field private mentionLayout:Landroid/text/StaticLayout;
.field private mentionLeft:I
.field private mentionWidth:I
.field private message:Lim/tpelyyftgw/messenger/MessageObject;
.field private messageId:I
.field private messageLayout:Landroid/text/StaticLayout;
.field private messageLeft:I
.field private messageNameLayout:Landroid/text/StaticLayout;
.field private messageNameLeft:I
.field private messageNameTop: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 onlineProgress:F
.field private pinLeft:I
.field private pinTop:I
.field private position:I
.field private recorderLeft:I
.field private recorderTop:I
.field private rect:Landroid/graphics/RectF;
.field private reorderIconProgress:F
.field private timeLayout:Landroid/text/StaticLayout;
.field private timeLeft:I
.field private timeTop:I
.field private topClip:I
.field private topOffset:F
.field private translationAnimationStarted:Z
.field private translationDrawable:Lim/tpelyyftgw/ui/components/RLottieDrawable;
.field private translationX:F
.field private unreadCount:I
.field public useForceThreeLines:Z
.field public useSeparator:Z
.field private user:Lim/tpelyyftgw/tgnet/TLRPC$User;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Z)V
.registers 5
.param p1, "context" # Landroid/content/Context;
.param p2, "forceThreeLines" # Z
.line 338
invoke-direct {p0, p1}, Lim/tpelyyftgw/ui/cells/BaseCell;-><init>(Landroid/content/Context;)V
.line 82
sget v0, Lim/tpelyyftgw/messenger/UserConfig;->selectedAccount:I
iput v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
.line 155
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/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
.line 157
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/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
.line 165
new-instance v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell$BounceInterpolator;
invoke-direct {v0, p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell$BounceInterpolator;-><init>(Lim/tpelyyftgw/ui/cell/FmtDialogCell;)V
iput-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->interpolator:Lim/tpelyyftgw/ui/cell/FmtDialogCell$BounceInterpolator;
.line 305
new-instance v0, Landroid/graphics/RectF;
invoke-direct {v0}, Landroid/graphics/RectF;-><init>()V
iput-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->rect:Landroid/graphics/RectF;
.line 340
invoke-static {p1}, Lim/tpelyyftgw/ui/actionbar/Theme;->createDialogsResources(Landroid/content/Context;)V
.line 342
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
const/high16 v1, 0x41e00000 # 28.0f
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 344
iput-boolean p2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
.line 346
new-instance v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell$1;
invoke-direct {v0, p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell$1;-><init>(Lim/tpelyyftgw/ui/cell/FmtDialogCell;)V
.line 360
.local v0, "mCallback":Landroidx/customview/widget/ViewDragHelper$Callback;
invoke-static {p0, v0}, Landroidx/customview/widget/ViewDragHelper;->create(Landroid/view/ViewGroup;Landroidx/customview/widget/ViewDragHelper$Callback;)Landroidx/customview/widget/ViewDragHelper;
move-result-object v1
iput-object v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mDragHelper:Landroidx/customview/widget/ViewDragHelper;
.line 362
const/4 v1, 0x0
invoke-virtual {p0, v1}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setClipChildren(Z)V
.line 363
return-void
.end method
.method private checkOnline()V
.registers 3
.line 486
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
if-eqz v0, :cond_38
iget-boolean v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$User;->self:Z
if-nez v0, :cond_38
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget-object v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$User;->status:Lim/tpelyyftgw/tgnet/TLRPC$UserStatus;
if-eqz v0, :cond_20
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget-object v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$User;->status:Lim/tpelyyftgw/tgnet/TLRPC$UserStatus;
iget v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$UserStatus;->expires:I
iget v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
.line 487
invoke-static {v1}, Lim/tpelyyftgw/tgnet/ConnectionsManager;->getInstance(I)Lim/tpelyyftgw/tgnet/ConnectionsManager;
move-result-object v1
invoke-virtual {v1}, Lim/tpelyyftgw/tgnet/ConnectionsManager;->getCurrentTime()I
move-result v1
if-gt v0, v1, :cond_36
:cond_20
iget v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v0}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v0
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessagesController;->onlinePrivacy:Ljava/util/concurrent/ConcurrentHashMap;
iget-object v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$User;->id:I
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/util/concurrent/ConcurrentHashMap;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_38
:cond_36
const/4 v0, 0x1
goto :goto_39
:cond_38
const/4 v0, 0x0
.line 488
.local v0, "isOnline":Z
:goto_39
if-eqz v0, :cond_3e
const/high16 v1, 0x3f800000 # 1.0f
goto :goto_3f
:cond_3e
const/4 v1, 0x0
:goto_3f
iput v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->onlineProgress:F
.line 489
return-void
.end method
.method private findFolderTopMessage()Lim/tpelyyftgw/messenger/MessageObject;
.registers 9
.line 1626
iget v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
iget v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogsType:I
iget v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
const/4 v3, 0x0
invoke-static {v0, v1, v2, v3}, Lim/tpelyyftgw/ui/fragments/DialogsFragment;->getDialogsArray(IIIZ)Ljava/util/ArrayList;
move-result-object v0
.line 1627
.local v0, "dialogs":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Dialog;>;"
const/4 v1, 0x0
.line 1628
.local v1, "maxMessage":Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
move-result v2
if-nez v2, :cond_49
.line 1629
const/4 v2, 0x0
.local v2, "a":I
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v3
.local v3, "N":I
:goto_17
if-ge v2, v3, :cond_49
.line 1630
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
.line 1631
.local v4, "dialog":Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
iget v5, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v5}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v5
iget-object v5, v5, Lim/tpelyyftgw/messenger/MessagesController;->dialogMessage:Landroid/util/LongSparseArray;
iget-wide v6, v4, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->id:J
invoke-virtual {v5, v6, v7}, Landroid/util/LongSparseArray;->get(J)Ljava/lang/Object;
move-result-object v5
check-cast v5, Lim/tpelyyftgw/messenger/MessageObject;
.line 1632
.local v5, "object":Lim/tpelyyftgw/messenger/MessageObject;
if-eqz v5, :cond_41
if-eqz v1, :cond_3d
iget-object v6, v5, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget v6, v6, Lim/tpelyyftgw/tgnet/TLRPC$Message;->date:I
iget-object v7, v1, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget v7, v7, Lim/tpelyyftgw/tgnet/TLRPC$Message;->date:I
if-le v6, v7, :cond_41
.line 1633
:cond_3d
invoke-virtual {v5}, Lim/tpelyyftgw/messenger/MessageObject;->generateCaption()V
.line 1634
move-object v1, v5
.line 1636
:cond_41
iget v6, v4, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->pinnedNum:I
if-nez v6, :cond_46
.line 1637
goto :goto_49
.line 1629
.end local v4 # "dialog":Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
.end local v5 # "object":Lim/tpelyyftgw/messenger/MessageObject;
:cond_46
add-int/lit8 v2, v2, 0x1
goto :goto_17
.line 1641
.end local v2 # "a":I
.end local v3 # "N":I
:cond_49
:goto_49
return-object v1
.end method
.method private formatArchivedDialogNames()Ljava/lang/CharSequence;
.registers 15
.line 608
iget v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v0}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v0
iget v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
invoke-virtual {v0, v1}, Lim/tpelyyftgw/messenger/MessagesController;->getDialogs(I)Ljava/util/ArrayList;
move-result-object v0
.line 609
.local v0, "dialogs":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Dialog;>;"
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v1
iput v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderDialogsCount:I
.line 610
new-instance v1, Landroid/text/SpannableStringBuilder;
invoke-direct {v1}, Landroid/text/SpannableStringBuilder;-><init>()V
.line 611
.local v1, "builder":Landroid/text/SpannableStringBuilder;
const/4 v2, 0x0
.local v2, "a":I
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v3
.local v3, "N":I
:goto_1c
const/4 v4, 0x0
if-ge v2, v3, :cond_e0
.line 612
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v5
check-cast v5, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
.line 613
.local v5, "dialog":Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
const/4 v6, 0x0
.line 614
.local v6, "currentUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
const/4 v7, 0x0
.line 615
.local v7, "currentChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
iget-wide v8, v5, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->id:J
invoke-static {v8, v9}, Lim/tpelyyftgw/messenger/DialogObject;->isSecretDialogId(J)Z
move-result v8
const/16 v9, 0x20
if-eqz v8, :cond_56
.line 616
iget v8, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v8}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v8
iget-wide v10, v5, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->id:J
shr-long/2addr v10, v9
long-to-int v11, v10
invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v10
invoke-virtual {v8, v10}, Lim/tpelyyftgw/messenger/MessagesController;->getEncryptedChat(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
move-result-object v8
.line 617
.local v8, "encryptedChat":Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
if-eqz v8, :cond_55
.line 618
iget v10, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v10}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v10
iget v11, v8, Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;->user_id:I
invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v11
invoke-virtual {v10, v11}, Lim/tpelyyftgw/messenger/MessagesController;->getUser(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$User;
move-result-object v6
.line 620
.end local v8 # "encryptedChat":Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
:cond_55
goto :goto_79
.line 621
:cond_56
iget-wide v10, v5, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->id:J
long-to-int v8, v10
.line 622
.local v8, "lowerId":I
if-lez v8, :cond_6a
.line 623
iget v10, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v10}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v10
invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v11
invoke-virtual {v10, v11}, Lim/tpelyyftgw/messenger/MessagesController;->getUser(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$User;
move-result-object v6
goto :goto_79
.line 625
:cond_6a
iget v10, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v10}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v10
neg-int v11, v8
invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v11
invoke-virtual {v10, v11}, Lim/tpelyyftgw/messenger/MessagesController;->getChat(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$Chat;
move-result-object v7
.line 629
.end local v8 # "lowerId":I
:goto_79
const/16 v8, 0xa
if-eqz v7, :cond_84
.line 630
iget-object v10, v7, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->title:Ljava/lang/String;
invoke-virtual {v10, v8, v9}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
move-result-object v8
.local v8, "title":Ljava/lang/String;
goto :goto_a2
.line 631
.end local v8 # "title":Ljava/lang/String;
:cond_84
if-eqz v6, :cond_dc
.line 632
invoke-static {v6}, Lim/tpelyyftgw/messenger/UserObject;->isDeleted(Lim/tpelyyftgw/tgnet/TLRPC$User;)Z
move-result v10
if-eqz v10, :cond_96
.line 633
const v8, 0x7f0f0765
const-string v9, "HiddenName"
invoke-static {v9, v8}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v8
.restart local v8 # "title":Ljava/lang/String;
goto :goto_a2
.line 635
.end local v8 # "title":Ljava/lang/String;
:cond_96
iget-object v10, v6, Lim/tpelyyftgw/tgnet/TLRPC$User;->first_name:Ljava/lang/String;
iget-object v11, v6, Lim/tpelyyftgw/tgnet/TLRPC$User;->last_name:Ljava/lang/String;
invoke-static {v10, v11}, Lim/tpelyyftgw/messenger/ContactsController;->formatName(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v10
invoke-virtual {v10, v8, v9}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
move-result-object v8
.line 640
.restart local v8 # "title":Ljava/lang/String;
:goto_a2
invoke-virtual {v1}, Landroid/text/SpannableStringBuilder;->length()I
move-result v9
if-lez v9, :cond_ad
.line 641
const-string v9, ", "
invoke-virtual {v1, v9}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
.line 643
:cond_ad
invoke-virtual {v1}, Landroid/text/SpannableStringBuilder;->length()I
move-result v9
.line 644
.local v9, "boldStart":I
invoke-virtual {v8}, Ljava/lang/String;->length()I
move-result v10
add-int/2addr v10, v9
.line 645
.local v10, "boldEnd":I
invoke-virtual {v1, v8}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
.line 646
iget v11, v5, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->unread_count:I
if-lez v11, :cond_d3
.line 647
new-instance v11, Lim/tpelyyftgw/ui/components/TypefaceSpan;
const-string v12, "fonts/rmedium.ttf"
invoke-static {v12}, Lim/tpelyyftgw/messenger/AndroidUtilities;->getTypeface(Ljava/lang/String;)Landroid/graphics/Typeface;
move-result-object v12
const-string v13, "chats_nameArchived"
invoke-static {v13}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v13
invoke-direct {v11, v12, v4, v13}, Lim/tpelyyftgw/ui/components/TypefaceSpan;-><init>(Landroid/graphics/Typeface;II)V
const/16 v12, 0x21
invoke-virtual {v1, v11, v9, v10, v12}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
.line 650
:cond_d3
invoke-virtual {v1}, Landroid/text/SpannableStringBuilder;->length()I
move-result v11
const/16 v12, 0x96
if-le v11, v12, :cond_dc
.line 651
goto :goto_e0
.line 611
.end local v5 # "dialog":Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
.end local v6 # "currentUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
.end local v7 # "currentChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
.end local v8 # "title":Ljava/lang/String;
.end local v9 # "boldStart":I
.end local v10 # "boldEnd":I
:cond_dc
add-int/lit8 v2, v2, 0x1
goto/16 :goto_1c
.line 654
.end local v2 # "a":I
.end local v3 # "N":I
:cond_e0
:goto_e0
sget-object v2, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
invoke-virtual {v2}, Landroid/text/TextPaint;->getFontMetricsInt()Landroid/graphics/Paint$FontMetricsInt;
move-result-object v2
const/high16 v3, 0x41880000 # 17.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
invoke-static {v1, v2, v3, v4}, Lim/tpelyyftgw/messenger/Emoji;->replaceEmoji(Ljava/lang/CharSequence;Landroid/graphics/Paint$FontMetricsInt;IZ)Ljava/lang/CharSequence;
move-result-object v2
return-object v2
.end method
# virtual methods
.method public animateArchiveAvatar()V
.registers 3
.line 1615
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/AvatarDrawable;->getAvatarType()I
move-result v0
const/4 v1, 0x3
if-eq v0, v1, :cond_a
.line 1616
return-void
.line 1618
:cond_a
const/4 v0, 0x1
iput-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->animatingArchiveAvatar:Z
.line 1619
const/4 v0, 0x0
iput v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->animatingArchiveAvatarProgress:F
.line 1620
sget-object v1, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_archiveAvatarDrawable:Lim/tpelyyftgw/ui/components/RLottieDrawable;
invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->setProgress(F)V
.line 1621
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_archiveAvatarDrawable:Lim/tpelyyftgw/ui/components/RLottieDrawable;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->start()V
.line 1622
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->invalidate()V
.line 1623
return-void
.end method
.method public buildLayout()V
.registers 46
.line 662
move-object/from16 v1, p0
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
const/high16 v2, 0x41500000 # 13.0f
const/high16 v3, 0x41800000 # 16.0f
if-nez v0, :cond_47
sget-boolean v0, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v0, :cond_f
goto :goto_47
.line 672
:cond_f
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_namePaint:Landroid/text/TextPaint;
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v4
int-to-float v4, v4
invoke-virtual {v0, v4}, Landroid/text/TextPaint;->setTextSize(F)V
.line 673
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_nameEncryptedPaint:Landroid/text/TextPaint;
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v4
int-to-float v4, v4
invoke-virtual {v0, v4}, Landroid/text/TextPaint;->setTextSize(F)V
.line 674
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v4
int-to-float v4, v4
invoke-virtual {v0, v4}, Landroid/text/TextPaint;->setTextSize(F)V
.line 675
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePrintingPaint:Landroid/text/TextPaint;
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
int-to-float v2, v2
invoke-virtual {v0, v2}, Landroid/text/TextPaint;->setTextSize(F)V
.line 677
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
sget-object v2, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
const-string v4, "chats_message"
invoke-static {v4}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v4
iput v4, v2, Landroid/text/TextPaint;->linkColor:I
invoke-virtual {v0, v4}, Landroid/text/TextPaint;->setColor(I)V
goto :goto_7e
.line 664
:cond_47
:goto_47
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_namePaint:Landroid/text/TextPaint;
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v4
int-to-float v4, v4
invoke-virtual {v0, v4}, Landroid/text/TextPaint;->setTextSize(F)V
.line 665
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_nameEncryptedPaint:Landroid/text/TextPaint;
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v4
int-to-float v4, v4
invoke-virtual {v0, v4}, Landroid/text/TextPaint;->setTextSize(F)V
.line 666
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v4
int-to-float v4, v4
invoke-virtual {v0, v4}, Landroid/text/TextPaint;->setTextSize(F)V
.line 667
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePrintingPaint:Landroid/text/TextPaint;
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
int-to-float v2, v2
invoke-virtual {v0, v2}, Landroid/text/TextPaint;->setTextSize(F)V
.line 669
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
sget-object v2, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
const-string v4, "chats_message_threeLines"
invoke-static {v4}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v4
iput v4, v2, Landroid/text/TextPaint;->linkColor:I
invoke-virtual {v0, v4}, Landroid/text/TextPaint;->setColor(I)V
.line 680
:goto_7e
const/4 v2, 0x0
iput v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderDialogsCount:I
.line 693
const-string v4, ""
.line 694
.local v4, "nameString":Ljava/lang/String;
const-string v5, ""
.line 695
.local v5, "timeString":Ljava/lang/String;
const/4 v6, 0x0
.line 696
.local v6, "countString":Ljava/lang/String;
const/4 v7, 0x0
.line 697
.local v7, "mentionString":Ljava/lang/String;
const-string v8, ""
.line 698
.local v8, "messageString":Ljava/lang/CharSequence;
const/4 v0, 0x0
.line 699
.local v0, "messageNameString":Ljava/lang/CharSequence;
const/4 v9, 0x0
.line 701
.local v9, "printingString":Ljava/lang/CharSequence;
iget-boolean v10, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isDialogCell:Z
if-eqz v10, :cond_a0
.line 703
iget v10, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v10}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v10
iget-object v10, v10, Lim/tpelyyftgw/messenger/MessagesController;->printingStrings:Landroid/util/LongSparseArray;
iget-wide v11, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
invoke-virtual {v10, v11, v12}, Landroid/util/LongSparseArray;->get(J)Ljava/lang/Object;
move-result-object v10
move-object v9, v10
check-cast v9, Ljava/lang/CharSequence;
.line 705
:cond_a0
sget-object v10, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
.line 706
.local v10, "currentMessagePaint":Landroid/text/TextPaint;
const/4 v11, 0x1
.line 709
.local v11, "checkMessage":Z
iput-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawGroupIcon:Z
.line 710
iput-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawBroadcastIcon:Z
.line 711
iput-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawSecretLockIcon:Z
.line 712
iput-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawBotIcon:Z
.line 713
iput-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawVerifiedIcon:Z
.line 714
iput-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawScam:Z
.line 715
iput-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinBackground:Z
.line 717
iget-object v12, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
invoke-static {v12}, Lim/tpelyyftgw/messenger/UserObject;->isUserSelf(Lim/tpelyyftgw/tgnet/TLRPC$User;)Z
move-result v12
const/4 v13, 0x1
xor-int/2addr v12, v13
.line 718
.local v12, "showChecks":Z
const/4 v14, 0x1
.line 724
.local v14, "drawTime":Z
sget v15, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v3, 0x12
if-lt v15, v3, :cond_d7
.line 725
iget-boolean v15, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v15, :cond_c8
sget-boolean v15, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v15, :cond_cc
:cond_c8
iget v15, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v15, :cond_d1
.line 726
:cond_cc
const-string v15, "%2$s: \u2068%1$s\u2069"
.line 727
.local v15, "messageFormat":Ljava/lang/String;
const/16 v17, 0x1
.local v17, "hasNameInMessage":Z
goto :goto_ec
.line 729
.end local v15 # "messageFormat":Ljava/lang/String;
.end local v17 # "hasNameInMessage":Z
:cond_d1
const-string/jumbo v15, "\u2068%s\u2069"
.line 730
.restart local v15 # "messageFormat":Ljava/lang/String;
const/16 v17, 0x0
.restart local v17 # "hasNameInMessage":Z
goto :goto_ec
.line 733
.end local v15 # "messageFormat":Ljava/lang/String;
.end local v17 # "hasNameInMessage":Z
:cond_d7
iget-boolean v15, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v15, :cond_df
sget-boolean v15, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v15, :cond_e3
:cond_df
iget v15, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v15, :cond_e8
.line 734
:cond_e3
const-string v15, "%2$s: %1$s"
.line 735
.restart local v15 # "messageFormat":Ljava/lang/String;
const/16 v17, 0x1
.restart local v17 # "hasNameInMessage":Z
goto :goto_ec
.line 737
.end local v15 # "messageFormat":Ljava/lang/String;
.end local v17 # "hasNameInMessage":Z
:cond_e8
const-string v15, "%1$s"
.line 738
.restart local v15 # "messageFormat":Ljava/lang/String;
const/16 v17, 0x0
.line 742
.restart local v17 # "hasNameInMessage":Z
:goto_ec
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-eqz v3, :cond_f3
iget-object v3, v3, Lim/tpelyyftgw/messenger/MessageObject;->messageText:Ljava/lang/CharSequence;
goto :goto_f4
:cond_f3
const/4 v3, 0x0
:goto_f4
iput-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastMessageString:Ljava/lang/CharSequence;
.line 745
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
const/high16 v19, 0x41900000 # 18.0f
const/high16 v20, 0x42a80000 # 84.0f
if-nez v3, :cond_115
sget-boolean v3, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v3, :cond_103
goto :goto_115
.line 752
:cond_103
sget-boolean v3, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-nez v3, :cond_10e
.line 753
invoke-static/range {v20 .. v20}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
goto :goto_128
.line 755
:cond_10e
invoke-static/range {v19 .. v19}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
goto :goto_128
.line 746
:cond_115
:goto_115
sget-boolean v3, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-nez v3, :cond_120
.line 747
invoke-static/range {v20 .. v20}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
goto :goto_128
.line 749
:cond_120
const/high16 v3, 0x41b00000 # 22.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
.line 759
:goto_128
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->encryptedChat:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
const/high16 v21, 0x42600000 # 56.0f
if-eqz v3, :cond_156
.line 761
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-nez v3, :cond_1ef
.line 763
iput-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawSecretLockIcon:Z
.line 765
sget-boolean v3, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-nez v3, :cond_14e
.line 766
invoke-static/range {v21 .. v21}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLockLeft:I
.line 767
const/high16 v3, 0x42380000 # 46.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLockTop:I
.line 768
invoke-static/range {v20 .. v20}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
goto/16 :goto_1ef
.line 770
:cond_14e
invoke-static/range {v19 .. v19}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
goto/16 :goto_1ef
.line 774
:cond_156
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-nez v3, :cond_1ef
.line 775
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
if-eqz v3, :cond_1ae
.line 777
iget-boolean v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->scam:Z
if-eqz v3, :cond_16a
.line 778
iput-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawScam:Z
.line 779
sget-object v3, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_scamDrawable:Lim/tpelyyftgw/ui/components/ScamDrawable;
invoke-virtual {v3}, Lim/tpelyyftgw/ui/components/ScamDrawable;->checkText()V
goto :goto_170
.line 781
:cond_16a
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
iget-boolean v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->verified:Z
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawVerifiedIcon:Z
.line 783
:goto_170
sget-boolean v3, Lim/tpelyyftgw/messenger/SharedConfig;->drawDialogIcons:Z
if-eqz v3, :cond_1ef
.line 784
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
iget v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->id:I
if-ltz v3, :cond_18c
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
invoke-static {v3}, Lim/tpelyyftgw/messenger/ChatObject;->isChannel(Lim/tpelyyftgw/tgnet/TLRPC$Chat;)Z
move-result v3
if-eqz v3, :cond_189
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
iget-boolean v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->megagroup:Z
if-nez v3, :cond_189
goto :goto_18c
.line 787
:cond_189
iput-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawGroupIcon:Z
goto :goto_18e
.line 785
:cond_18c
:goto_18c
iput-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawBroadcastIcon:Z
.line 790
:goto_18e
sget-boolean v3, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-nez v3, :cond_1a7
.line 791
invoke-static/range {v21 .. v21}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLockLeft:I
.line 792
const/high16 v3, 0x42380000 # 46.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLockTop:I
.line 793
invoke-static/range {v20 .. v20}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
goto :goto_1ef
.line 795
:cond_1a7
invoke-static/range {v19 .. v19}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
goto :goto_1ef
.line 798
:cond_1ae
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
if-eqz v3, :cond_1ef
.line 800
iget-boolean v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$User;->scam:Z
if-eqz v3, :cond_1be
.line 801
iput-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawScam:Z
.line 802
sget-object v3, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_scamDrawable:Lim/tpelyyftgw/ui/components/ScamDrawable;
invoke-virtual {v3}, Lim/tpelyyftgw/ui/components/ScamDrawable;->checkText()V
goto :goto_1c4
.line 804
:cond_1be
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget-boolean v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$User;->verified:Z
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawVerifiedIcon:Z
.line 806
:goto_1c4
sget-boolean v3, Lim/tpelyyftgw/messenger/SharedConfig;->drawDialogIcons:Z
if-eqz v3, :cond_1ef
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget-boolean v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$User;->bot:Z
if-eqz v3, :cond_1ef
.line 807
iput-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawBotIcon:Z
.line 808
sget-boolean v3, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-nez v3, :cond_1e9
.line 809
invoke-static/range {v21 .. v21}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLockLeft:I
.line 810
const/high16 v3, 0x42380000 # 46.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLockTop:I
.line 811
invoke-static/range {v20 .. v20}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
goto :goto_1ef
.line 813
:cond_1e9
invoke-static/range {v19 .. v19}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
.line 821
:cond_1ef
:goto_1ef
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastMessageDate:I
.line 822
.local v3, "lastDate":I
iget v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastMessageDate:I
if-nez v13, :cond_1fd
iget-object v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-eqz v13, :cond_1fd
.line 823
iget-object v13, v13, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget v3, v13, Lim/tpelyyftgw/tgnet/TLRPC$Message;->date:I
.line 826
:cond_1fd
iget-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isDialogCell:Z
if-eqz v13, :cond_26a
.line 827
iget v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v13}, Lim/tpelyyftgw/messenger/MediaDataController;->getInstance(I)Lim/tpelyyftgw/messenger/MediaDataController;
move-result-object v13
move/from16 v23, v3
.end local v3 # "lastDate":I
.local v23, "lastDate":I
iget-wide v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
invoke-virtual {v13, v2, v3}, Lim/tpelyyftgw/messenger/MediaDataController;->getDraft(J)Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
move-result-object v2
iput-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->draftMessage:Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
.line 828
if-eqz v2, :cond_232
iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;->message:Ljava/lang/String;
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v2
if-eqz v2, :cond_225
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->draftMessage:Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
iget v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;->reply_to_msg_id:I
if-eqz v2, :cond_222
goto :goto_225
:cond_222
move/from16 v3, v23
goto :goto_264
:cond_225
:goto_225
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->draftMessage:Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
iget v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;->date:I
move/from16 v3, v23
.end local v23 # "lastDate":I
.restart local v3 # "lastDate":I
if-le v3, v2, :cond_234
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->unreadCount:I
if-nez v2, :cond_264
goto :goto_234
.end local v3 # "lastDate":I
.restart local v23 # "lastDate":I
:cond_232
move/from16 v3, v23
.end local v23 # "lastDate":I
.restart local v3 # "lastDate":I
:cond_234
:goto_234
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
.line 829
invoke-static {v2}, Lim/tpelyyftgw/messenger/ChatObject;->isChannel(Lim/tpelyyftgw/tgnet/TLRPC$Chat;)Z
move-result v2
if-eqz v2, :cond_256
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
iget-boolean v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->megagroup:Z
if-nez v2, :cond_256
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
iget-boolean v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->creator:Z
if-nez v2, :cond_256
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->admin_rights:Lim/tpelyyftgw/tgnet/TLRPC$TL_chatAdminRights;
if-eqz v2, :cond_264
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->admin_rights:Lim/tpelyyftgw/tgnet/TLRPC$TL_chatAdminRights;
iget-boolean v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$TL_chatAdminRights;->post_messages:Z
if-eqz v2, :cond_264
:cond_256
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
if-eqz v2, :cond_268
iget-boolean v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->left:Z
if-nez v2, :cond_264
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
iget-boolean v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->kicked:Z
if-eqz v2, :cond_26d
.line 831
:cond_264
:goto_264
const/4 v2, 0x0
iput-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->draftMessage:Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
goto :goto_26d
.line 829
:cond_268
const/4 v2, 0x0
goto :goto_26d
.line 834
:cond_26a
const/4 v2, 0x0
iput-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->draftMessage:Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
.line 837
:cond_26d
:goto_26d
const/high16 v23, 0x41a00000 # 20.0f
const-string v2, ""
if-eqz v9, :cond_286
.line 838
move-object v8, v9
iput-object v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastPrintString:Ljava/lang/CharSequence;
.line 839
sget-object v10, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePrintingPaint:Landroid/text/TextPaint;
move/from16 v24, v3
move-object/from16 v26, v4
move-object/from16 v27, v5
move-object/from16 v28, v6
move-object/from16 v29, v7
const/4 v3, 0x2
move-object v4, v0
goto/16 :goto_899
.line 841
:cond_286
const/4 v13, 0x0
iput-object v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastPrintString:Ljava/lang/CharSequence;
.line 842
iget-object v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->draftMessage:Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
move/from16 v24, v3
.end local v3 # "lastDate":I
.local v24, "lastDate":I
if-eqz v13, :cond_369
.line 844
const/4 v11, 0x0
.line 845
const v13, 0x7f0f0551
const-string v3, "Draft"
invoke-static {v3, v13}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v0
.line 846
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->draftMessage:Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;->message:Ljava/lang/String;
invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v3
if-eqz v3, :cond_2e7
.line 847
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v3, :cond_2d9
sget-boolean v3, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v3, :cond_2b2
move-object/from16 v26, v4
move-object/from16 v27, v5
move-object/from16 v28, v6
goto :goto_2df
.line 850
:cond_2b2
invoke-static {v0}, Landroid/text/SpannableStringBuilder;->valueOf(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
move-result-object v3
.line 853
.local v3, "stringBuilder":Landroid/text/SpannableStringBuilder;
new-instance v13, Landroid/text/style/ForegroundColorSpan;
const v18, 0x7f060160
move-object/from16 v26, v4
.end local v4 # "nameString":Ljava/lang/String;
.local v26, "nameString":Ljava/lang/String;
invoke-static/range {v18 .. v18}, Lcom/blankj/utilcode/util/ColorUtils;->getColor(I)I
move-result v4
invoke-direct {v13, v4}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
move-result v4
move-object/from16 v27, v5
move-object/from16 v28, v6
const/16 v5, 0x21
const/4 v6, 0x0
.end local v5 # "timeString":Ljava/lang/String;
.end local v6 # "countString":Ljava/lang/String;
.local v27, "timeString":Ljava/lang/String;
.local v28, "countString":Ljava/lang/String;
invoke-virtual {v3, v13, v6, v4, v5}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
.line 855
move-object v8, v3
.line 856
.end local v3 # "stringBuilder":Landroid/text/SpannableStringBuilder;
move-object v4, v0
move-object/from16 v29, v7
const/4 v3, 0x2
goto/16 :goto_899
.line 847
.end local v26 # "nameString":Ljava/lang/String;
.end local v27 # "timeString":Ljava/lang/String;
.end local v28 # "countString":Ljava/lang/String;
.restart local v4 # "nameString":Ljava/lang/String;
.restart local v5 # "timeString":Ljava/lang/String;
.restart local v6 # "countString":Ljava/lang/String;
:cond_2d9
move-object/from16 v26, v4
move-object/from16 v27, v5
move-object/from16 v28, v6
.line 848
.end local v4 # "nameString":Ljava/lang/String;
.end local v5 # "timeString":Ljava/lang/String;
.end local v6 # "countString":Ljava/lang/String;
.restart local v26 # "nameString":Ljava/lang/String;
.restart local v27 # "timeString":Ljava/lang/String;
.restart local v28 # "countString":Ljava/lang/String;
:goto_2df
const-string v8, ""
move-object v4, v0
move-object/from16 v29, v7
const/4 v3, 0x2
goto/16 :goto_899
.line 858
.end local v26 # "nameString":Ljava/lang/String;
.end local v27 # "timeString":Ljava/lang/String;
.end local v28 # "countString":Ljava/lang/String;
.restart local v4 # "nameString":Ljava/lang/String;
.restart local v5 # "timeString":Ljava/lang/String;
.restart local v6 # "countString":Ljava/lang/String;
:cond_2e7
move-object/from16 v26, v4
move-object/from16 v27, v5
move-object/from16 v28, v6
.end local v4 # "nameString":Ljava/lang/String;
.end local v5 # "timeString":Ljava/lang/String;
.end local v6 # "countString":Ljava/lang/String;
.restart local v26 # "nameString":Ljava/lang/String;
.restart local v27 # "timeString":Ljava/lang/String;
.restart local v28 # "countString":Ljava/lang/String;
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->draftMessage:Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;->message:Ljava/lang/String;
.line 859
.local v3, "mess":Ljava/lang/String;
invoke-virtual {v3}, Ljava/lang/String;->length()I
move-result v4
const/16 v5, 0x96
if-le v4, v5, :cond_2fe
.line 860
const/4 v4, 0x0
invoke-virtual {v3, v4, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v3
.line 863
:cond_2fe
iget-boolean v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v4, :cond_33c
sget-boolean v4, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v4, :cond_30a
move-object/from16 v29, v7
const/4 v7, 0x0
goto :goto_33f
.line 866
:cond_30a
const/4 v4, 0x2
new-array v5, v4, [Ljava/lang/Object;
const/16 v4, 0x20
const/16 v6, 0xa
invoke-virtual {v3, v6, v4}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
move-result-object v13
const/4 v4, 0x0
aput-object v13, v5, v4
const/4 v6, 0x1
aput-object v0, v5, v6
invoke-static {v15, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v5
invoke-static {v5}, Landroid/text/SpannableStringBuilder;->valueOf(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
move-result-object v5
.line 867
.local v5, "stringBuilder":Landroid/text/SpannableStringBuilder;
new-instance v13, Landroid/text/style/ForegroundColorSpan;
const-string v18, "chats_draft"
invoke-static/range {v18 .. v18}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v4
invoke-direct {v13, v4}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
move-result v4
add-int/2addr v4, v6
move-object/from16 v29, v7
const/16 v6, 0x21
const/4 v7, 0x0
.end local v7 # "mentionString":Ljava/lang/String;
.local v29, "mentionString":Ljava/lang/String;
invoke-virtual {v5, v13, v7, v4, v6}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
goto :goto_357
.line 863
.end local v5 # "stringBuilder":Landroid/text/SpannableStringBuilder;
.end local v29 # "mentionString":Ljava/lang/String;
.restart local v7 # "mentionString":Ljava/lang/String;
:cond_33c
move-object/from16 v29, v7
const/4 v7, 0x0
.line 864
.end local v7 # "mentionString":Ljava/lang/String;
.restart local v29 # "mentionString":Ljava/lang/String;
:goto_33f
const/4 v4, 0x2
new-array v5, v4, [Ljava/lang/Object;
const/16 v4, 0x20
const/16 v6, 0xa
invoke-virtual {v3, v6, v4}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
move-result-object v13
aput-object v13, v5, v7
const/4 v4, 0x1
aput-object v0, v5, v4
invoke-static {v15, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v4
invoke-static {v4}, Landroid/text/SpannableStringBuilder;->valueOf(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
move-result-object v5
.line 870
.restart local v5 # "stringBuilder":Landroid/text/SpannableStringBuilder;
:goto_357
sget-object v4, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
invoke-virtual {v4}, Landroid/text/TextPaint;->getFontMetricsInt()Landroid/graphics/Paint$FontMetricsInt;
move-result-object v4
invoke-static/range {v23 .. v23}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
invoke-static {v5, v4, v6, v7}, Lim/tpelyyftgw/messenger/Emoji;->replaceEmoji(Ljava/lang/CharSequence;Landroid/graphics/Paint$FontMetricsInt;IZ)Ljava/lang/CharSequence;
move-result-object v8
.line 871
.end local v3 # "mess":Ljava/lang/String;
.end local v5 # "stringBuilder":Landroid/text/SpannableStringBuilder;
move-object v4, v0
const/4 v3, 0x2
goto/16 :goto_899
.line 873
.end local v26 # "nameString":Ljava/lang/String;
.end local v27 # "timeString":Ljava/lang/String;
.end local v28 # "countString":Ljava/lang/String;
.end local v29 # "mentionString":Ljava/lang/String;
.restart local v4 # "nameString":Ljava/lang/String;
.local v5, "timeString":Ljava/lang/String;
.restart local v6 # "countString":Ljava/lang/String;
.restart local v7 # "mentionString":Ljava/lang/String;
:cond_369
move-object/from16 v26, v4
move-object/from16 v27, v5
move-object/from16 v28, v6
move-object/from16 v29, v7
.end local v4 # "nameString":Ljava/lang/String;
.end local v5 # "timeString":Ljava/lang/String;
.end local v6 # "countString":Ljava/lang/String;
.end local v7 # "mentionString":Ljava/lang/String;
.restart local v26 # "nameString":Ljava/lang/String;
.restart local v27 # "timeString":Ljava/lang/String;
.restart local v28 # "countString":Ljava/lang/String;
.restart local v29 # "mentionString":Ljava/lang/String;
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clearingDialog:Z
if-eqz v3, :cond_384
.line 874
sget-object v10, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePrintingPaint:Landroid/text/TextPaint;
.line 875
const v3, 0x7f0f0768
const-string v4, "HistoryCleared"
invoke-static {v4, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v8
move-object v4, v0
const/4 v3, 0x2
goto/16 :goto_899
.line 876
:cond_384
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-nez v3, :cond_443
.line 877
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->encryptedChat:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
if-eqz v3, :cond_43d
.line 879
sget-object v10, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePrintingPaint:Landroid/text/TextPaint;
.line 880
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->encryptedChat:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
instance-of v4, v3, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedChatRequested;
if-eqz v4, :cond_3a1
.line 881
const v3, 0x7f0f05cd
const-string v4, "EncryptionProcessing"
invoke-static {v4, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v8
move-object v4, v0
const/4 v3, 0x2
goto/16 :goto_899
.line 882
:cond_3a1
instance-of v4, v3, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedChatWaiting;
if-eqz v4, :cond_3d7
.line 883
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
if-eqz v3, :cond_3c4
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$User;->first_name:Ljava/lang/String;
if-eqz v3, :cond_3c4
.line 884
const v3, 0x7f0f0219
const/4 v4, 0x1
new-array v5, v4, [Ljava/lang/Object;
iget-object v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget-object v4, v4, Lim/tpelyyftgw/tgnet/TLRPC$User;->first_name:Ljava/lang/String;
const/4 v6, 0x0
aput-object v4, v5, v6
const-string v4, "AwaitingEncryption"
invoke-static {v4, v3, v5}, Lim/tpelyyftgw/messenger/LocaleController;->formatString(Ljava/lang/String;I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v8
move-object v4, v0
const/4 v3, 0x2
goto/16 :goto_899
.line 883
:cond_3c4
const/4 v6, 0x0
.line 886
const v3, 0x7f0f0219
const/4 v4, 0x1
new-array v5, v4, [Ljava/lang/Object;
aput-object v2, v5, v6
const-string v4, "AwaitingEncryption"
invoke-static {v4, v3, v5}, Lim/tpelyyftgw/messenger/LocaleController;->formatString(Ljava/lang/String;I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v8
move-object v4, v0
const/4 v3, 0x2
goto/16 :goto_899
.line 888
:cond_3d7
instance-of v4, v3, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedChatDiscarded;
if-eqz v4, :cond_3e8
.line 889
const v3, 0x7f0f05ce
const-string v4, "EncryptionRejected"
invoke-static {v4, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v8
move-object v4, v0
const/4 v3, 0x2
goto/16 :goto_899
.line 890
:cond_3e8
instance-of v4, v3, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedChat;
if-eqz v4, :cond_439
.line 891
iget v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;->admin_id:I
iget v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v4}, Lim/tpelyyftgw/messenger/UserConfig;->getInstance(I)Lim/tpelyyftgw/messenger/UserConfig;
move-result-object v4
invoke-virtual {v4}, Lim/tpelyyftgw/messenger/UserConfig;->getClientUserId()I
move-result v4
if-ne v3, v4, :cond_42c
.line 892
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
if-eqz v3, :cond_419
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$User;->first_name:Ljava/lang/String;
if-eqz v3, :cond_419
.line 893
const v3, 0x7f0f05c2
const/4 v4, 0x1
new-array v5, v4, [Ljava/lang/Object;
iget-object v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget-object v4, v4, Lim/tpelyyftgw/tgnet/TLRPC$User;->first_name:Ljava/lang/String;
const/4 v6, 0x0
aput-object v4, v5, v6
const-string v4, "EncryptedChatStartedOutgoing"
invoke-static {v4, v3, v5}, Lim/tpelyyftgw/messenger/LocaleController;->formatString(Ljava/lang/String;I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v8
move-object v4, v0
const/4 v3, 0x2
goto/16 :goto_899
.line 892
:cond_419
const/4 v6, 0x0
.line 896
const v3, 0x7f0f05c2
const/4 v4, 0x1
new-array v5, v4, [Ljava/lang/Object;
aput-object v2, v5, v6
const-string v4, "EncryptedChatStartedOutgoing"
invoke-static {v4, v3, v5}, Lim/tpelyyftgw/messenger/LocaleController;->formatString(Ljava/lang/String;I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v8
move-object v4, v0
const/4 v3, 0x2
goto/16 :goto_899
.line 899
:cond_42c
const v3, 0x7f0f05c1
const-string v4, "EncryptedChatStartedIncoming"
invoke-static {v4, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v8
move-object v4, v0
const/4 v3, 0x2
goto/16 :goto_899
.line 890
:cond_439
move-object v4, v0
const/4 v3, 0x2
goto/16 :goto_899
.line 903
:cond_43d
const-string v8, ""
move-object v4, v0
const/4 v3, 0x2
goto/16 :goto_899
.line 906
:cond_443
const/4 v4, 0x0
.line 907
.local v4, "fromUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
const/4 v5, 0x0
.line 908
.local v5, "fromChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
invoke-virtual {v3}, Lim/tpelyyftgw/messenger/MessageObject;->isFromUser()Z
move-result v3
if-eqz v3, :cond_460
.line 909
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v3}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v3
iget-object v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v6, v6, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget v6, v6, Lim/tpelyyftgw/tgnet/TLRPC$Message;->from_id:I
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v6
invoke-virtual {v3, v6}, Lim/tpelyyftgw/messenger/MessagesController;->getUser(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$User;
move-result-object v4
goto :goto_476
.line 911
:cond_460
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v3}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v3
iget-object v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v6, v6, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v6, v6, Lim/tpelyyftgw/tgnet/TLRPC$Message;->to_id:Lim/tpelyyftgw/tgnet/TLRPC$Peer;
iget v6, v6, Lim/tpelyyftgw/tgnet/TLRPC$Peer;->channel_id:I
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v6
invoke-virtual {v3, v6}, Lim/tpelyyftgw/messenger/MessagesController;->getChat(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$Chat;
move-result-object v5
.line 913
:goto_476
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogsType:I
const/4 v6, 0x3
if-ne v3, v6, :cond_498
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
invoke-static {v3}, Lim/tpelyyftgw/messenger/UserObject;->isUserSelf(Lim/tpelyyftgw/tgnet/TLRPC$User;)Z
move-result v3
if-eqz v3, :cond_498
.line 914
const v3, 0x7f0f0eb8
const-string v6, "SavedMessagesInfo"
invoke-static {v6, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v3
.line 915
.end local v8 # "messageString":Ljava/lang/CharSequence;
.local v3, "messageString":Ljava/lang/CharSequence;
const/4 v6, 0x0
.line 916
.end local v12 # "showChecks":Z
.local v6, "showChecks":Z
const/4 v7, 0x0
move-object v8, v3
move-object/from16 v30, v4
move-object/from16 v31, v5
move v12, v6
move v14, v7
const/4 v3, 0x2
.end local v14 # "drawTime":Z
.local v7, "drawTime":Z
goto/16 :goto_88e
.line 917
.end local v3 # "messageString":Ljava/lang/CharSequence;
.end local v6 # "showChecks":Z
.end local v7 # "drawTime":Z
.restart local v8 # "messageString":Ljava/lang/CharSequence;
.restart local v12 # "showChecks":Z
.restart local v14 # "drawTime":Z
:cond_498
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v3, :cond_4b1
sget-boolean v3, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-nez v3, :cond_4b1
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v3, :cond_4b1
.line 918
const/4 v11, 0x0
.line 919
invoke-direct/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->formatArchivedDialogNames()Ljava/lang/CharSequence;
move-result-object v3
move-object v8, v3
move-object/from16 v30, v4
move-object/from16 v31, v5
const/4 v3, 0x2
.end local v8 # "messageString":Ljava/lang/CharSequence;
.restart local v3 # "messageString":Ljava/lang/CharSequence;
goto/16 :goto_88e
.line 920
.end local v3 # "messageString":Ljava/lang/CharSequence;
.restart local v8 # "messageString":Ljava/lang/CharSequence;
:cond_4b1
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v3, v3, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
instance-of v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$TL_messageService;
if-eqz v3, :cond_4e7
.line 921
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
invoke-static {v3}, Lim/tpelyyftgw/messenger/ChatObject;->isChannel(Lim/tpelyyftgw/tgnet/TLRPC$Chat;)Z
move-result v3
if-eqz v3, :cond_4d9
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v3, v3, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Message;->action:Lim/tpelyyftgw/tgnet/TLRPC$MessageAction;
instance-of v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$TL_messageActionHistoryClear;
if-nez v3, :cond_4d5
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v3, v3, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Message;->action:Lim/tpelyyftgw/tgnet/TLRPC$MessageAction;
instance-of v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$TL_messageActionChannelMigrateFrom;
if-eqz v3, :cond_4d9
.line 923
:cond_4d5
const-string v3, ""
.line 924
.end local v8 # "messageString":Ljava/lang/CharSequence;
.restart local v3 # "messageString":Ljava/lang/CharSequence;
const/4 v12, 0x0
goto :goto_4dd
.line 926
.end local v3 # "messageString":Ljava/lang/CharSequence;
.restart local v8 # "messageString":Ljava/lang/CharSequence;
:cond_4d9
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v3, v3, Lim/tpelyyftgw/messenger/MessageObject;->messageText:Ljava/lang/CharSequence;
.line 928
.end local v8 # "messageString":Ljava/lang/CharSequence;
.restart local v3 # "messageString":Ljava/lang/CharSequence;
:goto_4dd
sget-object v10, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePrintingPaint:Landroid/text/TextPaint;
move-object v8, v3
move-object/from16 v30, v4
move-object/from16 v31, v5
const/4 v3, 0x2
goto/16 :goto_88e
.line 930
.end local v3 # "messageString":Ljava/lang/CharSequence;
.restart local v8 # "messageString":Ljava/lang/CharSequence;
:cond_4e7
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
if-eqz v3, :cond_779
iget v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->id:I
if-lez v3, :cond_779
if-nez v5, :cond_779
.line 931
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v3}, Lim/tpelyyftgw/messenger/MessageObject;->isOutOwner()Z
move-result v3
if-eqz v3, :cond_504
.line 932
const v3, 0x7f0f06ec
const-string v6, "FromYou"
invoke-static {v6, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v0
move-object v3, v0
goto :goto_54b
.line 933
:cond_504
if-eqz v4, :cond_53c
.line 934
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v3, :cond_51b
sget-boolean v3, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v3, :cond_50f
goto :goto_51b
.line 941
:cond_50f
invoke-static {v4}, Lim/tpelyyftgw/messenger/UserObject;->getFirstName(Lim/tpelyyftgw/tgnet/TLRPC$User;)Ljava/lang/String;
move-result-object v3
const-string v6, "\n"
invoke-virtual {v3, v6, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
move-result-object v0
move-object v3, v0
goto :goto_54b
.line 935
:cond_51b
:goto_51b
invoke-static {v4}, Lim/tpelyyftgw/messenger/UserObject;->isDeleted(Lim/tpelyyftgw/tgnet/TLRPC$User;)Z
move-result v3
if-eqz v3, :cond_52c
.line 936
const v3, 0x7f0f0765
const-string v6, "HiddenName"
invoke-static {v6, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v0
move-object v3, v0
goto :goto_54b
.line 938
:cond_52c
iget-object v3, v4, Lim/tpelyyftgw/tgnet/TLRPC$User;->first_name:Ljava/lang/String;
iget-object v6, v4, Lim/tpelyyftgw/tgnet/TLRPC$User;->last_name:Ljava/lang/String;
invoke-static {v3, v6}, Lim/tpelyyftgw/messenger/ContactsController;->formatName(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
const-string v6, "\n"
invoke-virtual {v3, v6, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
move-result-object v0
move-object v3, v0
goto :goto_54b
.line 943
:cond_53c
if-eqz v5, :cond_548
.line 944
iget-object v3, v5, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->title:Ljava/lang/String;
const-string v6, "\n"
invoke-virtual {v3, v6, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
move-result-object v0
move-object v3, v0
goto :goto_54b
.line 946
:cond_548
const-string v0, "DELETED"
move-object v3, v0
.line 948
.end local v0 # "messageNameString":Ljava/lang/CharSequence;
.local v3, "messageNameString":Ljava/lang/CharSequence;
:goto_54b
const/4 v11, 0x0
.line 950
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->caption:Ljava/lang/CharSequence;
if-eqz v0, :cond_5cb
.line 951
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->caption:Ljava/lang/CharSequence;
invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;
move-result-object v0
.line 952
.local v0, "mess":Ljava/lang/String;
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v6
const/16 v7, 0x96
if-le v6, v7, :cond_567
.line 953
const/4 v6, 0x0
invoke-virtual {v0, v6, v7}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
.line 956
:cond_567
iget-object v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v6}, Lim/tpelyyftgw/messenger/MessageObject;->isVideo()Z
move-result v6
if-eqz v6, :cond_573
.line 957
const-string/jumbo v6, "\ud83d\udcf9 "
.local v6, "emoji":Ljava/lang/String;
goto :goto_59a
.line 958
.end local v6 # "emoji":Ljava/lang/String;
:cond_573
iget-object v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v6}, Lim/tpelyyftgw/messenger/MessageObject;->isVoice()Z
move-result v6
if-eqz v6, :cond_57f
.line 959
const-string/jumbo v6, "\ud83c\udfa4 "
.restart local v6 # "emoji":Ljava/lang/String;
goto :goto_59a
.line 960
.end local v6 # "emoji":Ljava/lang/String;
:cond_57f
iget-object v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v6}, Lim/tpelyyftgw/messenger/MessageObject;->isMusic()Z
move-result v6
if-eqz v6, :cond_58b
.line 961
const-string/jumbo v6, "\ud83c\udfa7 "
.restart local v6 # "emoji":Ljava/lang/String;
goto :goto_59a
.line 962
.end local v6 # "emoji":Ljava/lang/String;
:cond_58b
iget-object v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v6}, Lim/tpelyyftgw/messenger/MessageObject;->isPhoto()Z
move-result v6
if-eqz v6, :cond_597
.line 963
const-string/jumbo v6, "\ud83d\uddbc "
.restart local v6 # "emoji":Ljava/lang/String;
goto :goto_59a
.line 965
.end local v6 # "emoji":Ljava/lang/String;
:cond_597
const-string/jumbo v6, "\ud83d\udcce "
.line 967
.restart local v6 # "emoji":Ljava/lang/String;
:goto_59a
const/4 v7, 0x2
new-array v13, v7, [Ljava/lang/Object;
new-instance v7, Ljava/lang/StringBuilder;
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-object/from16 v30, v4
move-object/from16 v31, v5
move-object/from16 v18, v6
const/16 v4, 0x20
const/16 v5, 0xa
.end local v4 # "fromUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
.end local v5 # "fromChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
.end local v6 # "emoji":Ljava/lang/String;
.local v18, "emoji":Ljava/lang/String;
.local v30, "fromUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
.local v31, "fromChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
invoke-virtual {v0, v5, v4}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
move-result-object v6
invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v4
const/4 v5, 0x0
aput-object v4, v13, v5
const/4 v4, 0x1
aput-object v3, v13, v4
invoke-static {v15, v13}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v4
invoke-static {v4}, Landroid/text/SpannableStringBuilder;->valueOf(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
move-result-object v0
.line 969
.end local v18 # "emoji":Ljava/lang/String;
.local v0, "stringBuilder":Landroid/text/SpannableStringBuilder;
move-object v5, v0
goto/16 :goto_736
.end local v0 # "stringBuilder":Landroid/text/SpannableStringBuilder;
.end local v30 # "fromUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
.end local v31 # "fromChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
.restart local v4 # "fromUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
.restart local v5 # "fromChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
:cond_5cb
move-object/from16 v30, v4
move-object/from16 v31, v5
.end local v4 # "fromUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
.end local v5 # "fromChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
.restart local v30 # "fromUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
.restart local v31 # "fromChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
if-eqz v0, :cond_6de
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v0}, Lim/tpelyyftgw/messenger/MessageObject;->isMediaEmpty()Z
move-result v0
if-nez v0, :cond_6de
.line 970
sget-object v10, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePrintingPaint:Landroid/text/TextPaint;
.line 972
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
instance-of v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_messageMediaGame;
if-eqz v0, :cond_625
.line 973
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v4, 0x12
if-lt v0, v4, :cond_60b
.line 974
const/4 v4, 0x1
new-array v0, v4, [Ljava/lang/Object;
iget-object v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v5, v5, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v5, v5, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
iget-object v5, v5, Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;->game:Lim/tpelyyftgw/tgnet/TLRPC$TL_game;
iget-object v5, v5, Lim/tpelyyftgw/tgnet/TLRPC$TL_game;->title:Ljava/lang/String;
const/4 v6, 0x0
aput-object v5, v0, v6
const-string/jumbo v5, "\ud83c\udfae \u2068%s\u2069"
invoke-static {v5, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
move-object v4, v0
const/4 v7, 0x1
.local v0, "innerMessage":Ljava/lang/CharSequence;
goto :goto_675
.line 976
.end local v0 # "innerMessage":Ljava/lang/CharSequence;
:cond_60b
const/4 v4, 0x1
const/4 v6, 0x0
new-array v0, v4, [Ljava/lang/Object;
iget-object v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v4, v4, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v4, v4, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
iget-object v4, v4, Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;->game:Lim/tpelyyftgw/tgnet/TLRPC$TL_game;
iget-object v4, v4, Lim/tpelyyftgw/tgnet/TLRPC$TL_game;->title:Ljava/lang/String;
aput-object v4, v0, v6
const-string/jumbo v4, "\ud83c\udfae %s"
invoke-static {v4, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
move-object v4, v0
const/4 v7, 0x1
.restart local v0 # "innerMessage":Ljava/lang/CharSequence;
goto :goto_675
.line 978
.end local v0 # "innerMessage":Ljava/lang/CharSequence;
:cond_625
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->type:I
const/16 v4, 0xe
if-ne v0, v4, :cond_66f
.line 979
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v4, 0x12
if-lt v0, v4, :cond_651
.line 980
const/4 v4, 0x2
new-array v0, v4, [Ljava/lang/Object;
iget-object v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v5}, Lim/tpelyyftgw/messenger/MessageObject;->getMusicAuthor()Ljava/lang/String;
move-result-object v5
const/4 v6, 0x0
aput-object v5, v0, v6
iget-object v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v5}, Lim/tpelyyftgw/messenger/MessageObject;->getMusicTitle()Ljava/lang/String;
move-result-object v5
const/4 v7, 0x1
aput-object v5, v0, v7
const-string/jumbo v5, "\ud83c\udfa7 \u2068%s - %s\u2069"
invoke-static {v5, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
move-object v4, v0
.restart local v0 # "innerMessage":Ljava/lang/CharSequence;
goto :goto_675
.line 982
.end local v0 # "innerMessage":Ljava/lang/CharSequence;
:cond_651
const/4 v4, 0x2
const/4 v6, 0x0
const/4 v7, 0x1
new-array v0, v4, [Ljava/lang/Object;
iget-object v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v4}, Lim/tpelyyftgw/messenger/MessageObject;->getMusicAuthor()Ljava/lang/String;
move-result-object v4
aput-object v4, v0, v6
iget-object v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v4}, Lim/tpelyyftgw/messenger/MessageObject;->getMusicTitle()Ljava/lang/String;
move-result-object v4
aput-object v4, v0, v7
const-string/jumbo v4, "\ud83c\udfa7 %s - %s"
invoke-static {v4, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
move-object v4, v0
.restart local v0 # "innerMessage":Ljava/lang/CharSequence;
goto :goto_675
.line 985
.end local v0 # "innerMessage":Ljava/lang/CharSequence;
:cond_66f
const/4 v7, 0x1
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->messageText:Ljava/lang/CharSequence;
move-object v4, v0
.line 987
.local v4, "innerMessage":Ljava/lang/CharSequence;
:goto_675
const/4 v5, 0x2
new-array v0, v5, [Ljava/lang/Object;
const/4 v5, 0x0
aput-object v4, v0, v5
aput-object v3, v0, v7
invoke-static {v15, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/text/SpannableStringBuilder;->valueOf(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
move-result-object v5
.line 989
.local v5, "stringBuilder":Landroid/text/SpannableStringBuilder;
:try_start_685
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
instance-of v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_messageMediaShareContact;
if-nez v0, :cond_6ba
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
instance-of v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_messageMediaShare;
if-eqz v0, :cond_69a
goto :goto_6ba
.line 995
:cond_69a
new-instance v0, Landroid/text/style/ForegroundColorSpan;
const v6, 0x7f0600b9
invoke-static {v6}, Lcom/blankj/utilcode/util/ColorUtils;->getColor(I)I
move-result v6
invoke-direct {v0, v6}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V
if-eqz v17, :cond_6af
.line 996
invoke-interface {v3}, Ljava/lang/CharSequence;->length()I
move-result v6
const/4 v7, 0x2
add-int/2addr v6, v7
goto :goto_6b0
:cond_6af
const/4 v6, 0x0
:goto_6b0
invoke-virtual {v5}, Landroid/text/SpannableStringBuilder;->length()I
move-result v7
.line 995
const/16 v13, 0x21
invoke-virtual {v5, v0, v6, v7, v13}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
goto :goto_6d8
.line 990
:cond_6ba
:goto_6ba
new-instance v0, Landroid/text/style/ForegroundColorSpan;
const-string v6, "#999999"
invoke-static {v6}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
move-result v6
invoke-direct {v0, v6}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V
if-eqz v17, :cond_6ce
.line 991
invoke-interface {v3}, Ljava/lang/CharSequence;->length()I
move-result v6
const/4 v7, 0x2
add-int/2addr v6, v7
goto :goto_6cf
:cond_6ce
const/4 v6, 0x0
:goto_6cf
invoke-virtual {v5}, Landroid/text/SpannableStringBuilder;->length()I
move-result v7
.line 990
const/16 v13, 0x21
invoke-virtual {v5, v0, v6, v7, v13}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
:try_end_6d8
.catch Ljava/lang/Exception; {:try_start_685 .. :try_end_6d8} :catch_6d9
.line 1000
:goto_6d8
goto :goto_6dd
.line 998
:catch_6d9
move-exception v0
.line 999
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 1001
.end local v0 # "e":Ljava/lang/Exception;
.end local v4 # "innerMessage":Ljava/lang/CharSequence;
:goto_6dd
goto :goto_736
.end local v5 # "stringBuilder":Landroid/text/SpannableStringBuilder;
:cond_6de
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$Message;->message:Ljava/lang/String;
if-eqz v0, :cond_731
.line 1002
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$Message;->message:Ljava/lang/String;
.line 1003
.local v0, "mess":Ljava/lang/String;
iget-object v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v4, v4, Lim/tpelyyftgw/messenger/MessageObject;->messageText:Ljava/lang/CharSequence;
invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v4
if-nez v4, :cond_708
iget-object v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v4, v4, Lim/tpelyyftgw/messenger/MessageObject;->messageText:Ljava/lang/CharSequence;
invoke-virtual {v4, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v4
if-nez v4, :cond_708
.line 1004
iget-object v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v4, v4, Lim/tpelyyftgw/messenger/MessageObject;->messageText:Ljava/lang/CharSequence;
invoke-interface {v4}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;
move-result-object v0
.line 1006
:cond_708
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v4
const/16 v5, 0x96
if-le v4, v5, :cond_716
.line 1007
const/4 v4, 0x0
invoke-virtual {v0, v4, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
goto :goto_717
.line 1006
:cond_716
const/4 v4, 0x0
.line 1009
:goto_717
const/4 v5, 0x2
new-array v6, v5, [Ljava/lang/Object;
const/16 v5, 0x20
const/16 v7, 0xa
invoke-virtual {v0, v7, v5}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
move-result-object v13
aput-object v13, v6, v4
const/4 v4, 0x1
aput-object v3, v6, v4
invoke-static {v15, v6}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v4
invoke-static {v4}, Landroid/text/SpannableStringBuilder;->valueOf(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
move-result-object v0
.line 1010
.local v0, "stringBuilder":Landroid/text/SpannableStringBuilder;
move-object v5, v0
goto :goto_736
.line 1011
.end local v0 # "stringBuilder":Landroid/text/SpannableStringBuilder;
:cond_731
invoke-static {v2}, Landroid/text/SpannableStringBuilder;->valueOf(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
move-result-object v0
move-object v5, v0
.line 1013
.restart local v5 # "stringBuilder":Landroid/text/SpannableStringBuilder;
:goto_736
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v0, :cond_73e
sget-boolean v0, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v0, :cond_748
:cond_73e
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v0, :cond_765
invoke-virtual {v5}, Landroid/text/SpannableStringBuilder;->length()I
move-result v0
if-lez v0, :cond_765
.line 1017
:cond_748
:try_start_748
new-instance v0, Landroid/text/style/ForegroundColorSpan;
const v4, 0x7f0600bb
invoke-static {v4}, Lcom/blankj/utilcode/util/ColorUtils;->getColor(I)I
move-result v4
invoke-direct {v0, v4}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V
.line 1018
invoke-interface {v3}, Ljava/lang/CharSequence;->length()I
move-result v4
const/4 v6, 0x1
add-int/2addr v4, v6
.line 1017
const/16 v6, 0x21
const/4 v7, 0x0
invoke-virtual {v5, v0, v7, v4, v6}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
:try_end_760
.catch Ljava/lang/Exception; {:try_start_748 .. :try_end_760} :catch_761
.line 1021
goto :goto_765
.line 1019
:catch_761
move-exception v0
.line 1020
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 1023
.end local v0 # "e":Ljava/lang/Exception;
:cond_765
:goto_765
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
invoke-virtual {v0}, Landroid/text/TextPaint;->getFontMetricsInt()Landroid/graphics/Paint$FontMetricsInt;
move-result-object v0
invoke-static/range {v23 .. v23}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v4
const/4 v6, 0x0
invoke-static {v5, v0, v4, v6}, Lim/tpelyyftgw/messenger/Emoji;->replaceEmoji(Ljava/lang/CharSequence;Landroid/graphics/Paint$FontMetricsInt;IZ)Ljava/lang/CharSequence;
move-result-object v0
.line 1024
.end local v5 # "stringBuilder":Landroid/text/SpannableStringBuilder;
.end local v8 # "messageString":Ljava/lang/CharSequence;
.local v0, "messageString":Ljava/lang/CharSequence;
move-object v8, v0
move-object v0, v3
const/4 v3, 0x2
goto/16 :goto_88e
.line 930
.end local v3 # "messageNameString":Ljava/lang/CharSequence;
.end local v30 # "fromUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
.end local v31 # "fromChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
.local v0, "messageNameString":Ljava/lang/CharSequence;
.local v4, "fromUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
.local v5, "fromChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
.restart local v8 # "messageString":Ljava/lang/CharSequence;
:cond_779
move-object/from16 v30, v4
move-object/from16 v31, v5
.line 1025
.end local v4 # "fromUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
.end local v5 # "fromChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
.restart local v30 # "fromUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
.restart local v31 # "fromChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v3, v3, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
instance-of v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$TL_messageMediaPhoto;
if-eqz v3, :cond_7aa
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v3, v3, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;->photo:Lim/tpelyyftgw/tgnet/TLRPC$Photo;
instance-of v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$TL_photoEmpty;
if-eqz v3, :cond_7aa
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v3, v3, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
iget v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;->ttl_seconds:I
if-eqz v3, :cond_7aa
.line 1026
const v3, 0x7f0f01bc
const-string v4, "AttachPhotoExpired"
invoke-static {v4, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v3
move-object v8, v3
const/4 v3, 0x2
.end local v8 # "messageString":Ljava/lang/CharSequence;
.local v3, "messageString":Ljava/lang/CharSequence;
goto/16 :goto_88e
.line 1027
.end local v3 # "messageString":Ljava/lang/CharSequence;
.restart local v8 # "messageString":Ljava/lang/CharSequence;
:cond_7aa
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v3, v3, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
instance-of v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$TL_messageMediaDocument;
if-eqz v3, :cond_7d7
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v3, v3, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;->document:Lim/tpelyyftgw/tgnet/TLRPC$Document;
instance-of v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$TL_documentEmpty;
if-eqz v3, :cond_7d7
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v3, v3, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
iget v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;->ttl_seconds:I
if-eqz v3, :cond_7d7
.line 1028
const v3, 0x7f0f01c2
const-string v4, "AttachVideoExpired"
invoke-static {v4, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v3
move-object v8, v3
const/4 v3, 0x2
.end local v8 # "messageString":Ljava/lang/CharSequence;
.restart local v3 # "messageString":Ljava/lang/CharSequence;
goto/16 :goto_88e
.line 1029
.end local v3 # "messageString":Ljava/lang/CharSequence;
.restart local v8 # "messageString":Ljava/lang/CharSequence;
:cond_7d7
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v3, v3, Lim/tpelyyftgw/messenger/MessageObject;->caption:Ljava/lang/CharSequence;
if-eqz v3, :cond_826
.line 1031
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v3}, Lim/tpelyyftgw/messenger/MessageObject;->isVideo()Z
move-result v3
if-eqz v3, :cond_7e9
.line 1032
const-string/jumbo v3, "\ud83d\udcf9 "
.local v3, "emoji":Ljava/lang/String;
goto :goto_810
.line 1033
.end local v3 # "emoji":Ljava/lang/String;
:cond_7e9
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v3}, Lim/tpelyyftgw/messenger/MessageObject;->isVoice()Z
move-result v3
if-eqz v3, :cond_7f5
.line 1034
const-string/jumbo v3, "\ud83c\udfa4 "
.restart local v3 # "emoji":Ljava/lang/String;
goto :goto_810
.line 1035
.end local v3 # "emoji":Ljava/lang/String;
:cond_7f5
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v3}, Lim/tpelyyftgw/messenger/MessageObject;->isMusic()Z
move-result v3
if-eqz v3, :cond_801
.line 1036
const-string/jumbo v3, "\ud83c\udfa7 "
.restart local v3 # "emoji":Ljava/lang/String;
goto :goto_810
.line 1037
.end local v3 # "emoji":Ljava/lang/String;
:cond_801
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v3}, Lim/tpelyyftgw/messenger/MessageObject;->isPhoto()Z
move-result v3
if-eqz v3, :cond_80d
.line 1038
const-string/jumbo v3, "\ud83d\uddbc "
.restart local v3 # "emoji":Ljava/lang/String;
goto :goto_810
.line 1040
.end local v3 # "emoji":Ljava/lang/String;
:cond_80d
const-string/jumbo v3, "\ud83d\udcce "
.line 1042
.restart local v3 # "emoji":Ljava/lang/String;
:goto_810
new-instance v4, Ljava/lang/StringBuilder;
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v5, v5, Lim/tpelyyftgw/messenger/MessageObject;->caption:Ljava/lang/CharSequence;
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
.line 1043
.end local v8 # "messageString":Ljava/lang/CharSequence;
.local v3, "messageString":Ljava/lang/CharSequence;
move-object v8, v3
const/4 v3, 0x2
goto :goto_88e
.line 1044
.end local v3 # "messageString":Ljava/lang/CharSequence;
.restart local v8 # "messageString":Ljava/lang/CharSequence;
:cond_826
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v3, v3, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
instance-of v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$TL_messageMediaGame;
if-eqz v3, :cond_84f
.line 1045
new-instance v3, Ljava/lang/StringBuilder;
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
const-string/jumbo v4, "\ud83c\udfae "
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v4, v4, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v4, v4, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
iget-object v4, v4, Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;->game:Lim/tpelyyftgw/tgnet/TLRPC$TL_game;
iget-object v4, v4, Lim/tpelyyftgw/tgnet/TLRPC$TL_game;->title:Ljava/lang/String;
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
move-object v4, v3
const/4 v3, 0x2
.end local v8 # "messageString":Ljava/lang/CharSequence;
.restart local v3 # "messageString":Ljava/lang/CharSequence;
goto :goto_879
.line 1046
.end local v3 # "messageString":Ljava/lang/CharSequence;
.restart local v8 # "messageString":Ljava/lang/CharSequence;
:cond_84f
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget v3, v3, Lim/tpelyyftgw/messenger/MessageObject;->type:I
const/16 v4, 0xe
if-ne v3, v4, :cond_874
.line 1047
const/4 v3, 0x2
new-array v4, v3, [Ljava/lang/Object;
iget-object v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v5}, Lim/tpelyyftgw/messenger/MessageObject;->getMusicAuthor()Ljava/lang/String;
move-result-object v5
const/4 v6, 0x0
aput-object v5, v4, v6
iget-object v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v5}, Lim/tpelyyftgw/messenger/MessageObject;->getMusicTitle()Ljava/lang/String;
move-result-object v5
const/4 v6, 0x1
aput-object v5, v4, v6
const-string/jumbo v5, "\ud83c\udfa7 %s - %s"
invoke-static {v5, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v4
.end local v8 # "messageString":Ljava/lang/CharSequence;
.local v4, "messageString":Ljava/lang/CharSequence;
goto :goto_879
.line 1049
.end local v4 # "messageString":Ljava/lang/CharSequence;
.restart local v8 # "messageString":Ljava/lang/CharSequence;
:cond_874
const/4 v3, 0x2
iget-object v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v4, v4, Lim/tpelyyftgw/messenger/MessageObject;->messageText:Ljava/lang/CharSequence;
.line 1051
.end local v8 # "messageString":Ljava/lang/CharSequence;
.restart local v4 # "messageString":Ljava/lang/CharSequence;
:goto_879
iget-object v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v5, v5, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v5, v5, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
if-eqz v5, :cond_88d
iget-object v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v5}, Lim/tpelyyftgw/messenger/MessageObject;->isMediaEmpty()Z
move-result v5
if-nez v5, :cond_88d
.line 1052
sget-object v10, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePrintingPaint:Landroid/text/TextPaint;
move-object v8, v4
goto :goto_88e
.line 1057
:cond_88d
move-object v8, v4
.end local v4 # "messageString":Ljava/lang/CharSequence;
.restart local v8 # "messageString":Ljava/lang/CharSequence;
:goto_88e
iget v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v4, :cond_898
.line 1058
invoke-direct/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->formatArchivedDialogNames()Ljava/lang/CharSequence;
move-result-object v0
move-object v4, v0
goto :goto_899
.line 1057
:cond_898
move-object v4, v0
.line 1065
.end local v0 # "messageNameString":Ljava/lang/CharSequence;
.end local v30 # "fromUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
.end local v31 # "fromChat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
.local v4, "messageNameString":Ljava/lang/CharSequence;
:goto_899
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->draftMessage:Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
if-eqz v0, :cond_8a5
.line 1066
iget v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;->date:I
int-to-long v5, v0
invoke-static {v5, v6}, Lim/tpelyyftgw/messenger/LocaleController;->stringForMessageListDate(J)Ljava/lang/String;
move-result-object v5
.end local v27 # "timeString":Ljava/lang/String;
.local v5, "timeString":Ljava/lang/String;
goto :goto_8bf
.line 1067
.end local v5 # "timeString":Ljava/lang/String;
.restart local v27 # "timeString":Ljava/lang/String;
:cond_8a5
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastMessageDate:I
if-eqz v0, :cond_8af
.line 1068
int-to-long v5, v0
invoke-static {v5, v6}, Lim/tpelyyftgw/messenger/LocaleController;->stringForMessageListDate(J)Ljava/lang/String;
move-result-object v5
.end local v27 # "timeString":Ljava/lang/String;
.restart local v5 # "timeString":Ljava/lang/String;
goto :goto_8bf
.line 1069
.end local v5 # "timeString":Ljava/lang/String;
.restart local v27 # "timeString":Ljava/lang/String;
:cond_8af
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-eqz v0, :cond_8bd
.line 1070
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$Message;->date:I
int-to-long v5, v0
invoke-static {v5, v6}, Lim/tpelyyftgw/messenger/LocaleController;->stringForMessageListDate(J)Ljava/lang/String;
move-result-object v5
.end local v27 # "timeString":Ljava/lang/String;
.restart local v5 # "timeString":Ljava/lang/String;
goto :goto_8bf
.line 1069
.end local v5 # "timeString":Ljava/lang/String;
.restart local v27 # "timeString":Ljava/lang/String;
:cond_8bd
move-object/from16 v5, v27
.line 1073
.end local v27 # "timeString":Ljava/lang/String;
.restart local v5 # "timeString":Ljava/lang/String;
:goto_8bf
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-nez v0, :cond_8d6
.line 1074
const/4 v6, 0x0
iput-boolean v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCheck1:Z
.line 1075
iput-boolean v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCheck2:Z
.line 1076
iput-boolean v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawClockIcon:Z
.line 1077
iput-boolean v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCount:Z
.line 1078
iput-boolean v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawMentionIcon:Z
.line 1079
iput-boolean v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawErrorIcon:Z
move-object/from16 v6, v28
move-object/from16 v7, v29
goto/16 :goto_9f2
.line 1081
:cond_8d6
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v6, :cond_920
.line 1082
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->unreadCount:I
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionCount:I
add-int v7, v0, v6
if-lez v7, :cond_916
.line 1083
if-le v0, v6, :cond_8fd
.line 1084
const/4 v7, 0x1
iput-boolean v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCount:Z
.line 1085
const/4 v13, 0x0
iput-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawMentionIcon:Z
.line 1086
new-array v3, v7, [Ljava/lang/Object;
add-int/2addr v0, v6
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
aput-object v0, v3, v13
const-string v0, "%d"
invoke-static {v0, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v6
move-object/from16 v7, v29
.end local v28 # "countString":Ljava/lang/String;
.local v6, "countString":Ljava/lang/String;
goto/16 :goto_97a
.line 1088
.end local v6 # "countString":Ljava/lang/String;
.restart local v28 # "countString":Ljava/lang/String;
:cond_8fd
const/4 v7, 0x1
const/4 v13, 0x0
iput-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCount:Z
.line 1089
iput-boolean v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawMentionIcon:Z
.line 1090
new-array v3, v7, [Ljava/lang/Object;
add-int/2addr v0, v6
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
aput-object v0, v3, v13
const-string v0, "%d"
invoke-static {v0, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v7
move-object/from16 v6, v28
.end local v29 # "mentionString":Ljava/lang/String;
.local v7, "mentionString":Ljava/lang/String;
goto/16 :goto_97a
.line 1093
.end local v7 # "mentionString":Ljava/lang/String;
.restart local v29 # "mentionString":Ljava/lang/String;
:cond_916
const/4 v13, 0x0
iput-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCount:Z
.line 1094
iput-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawMentionIcon:Z
move-object/from16 v6, v28
move-object/from16 v7, v29
goto :goto_97a
.line 1097
:cond_920
const/4 v13, 0x0
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clearingDialog:Z
if-eqz v3, :cond_92c
.line 1098
iput-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCount:Z
.line 1099
const/4 v0, 0x0
move v12, v0
const/4 v3, 0x1
const/4 v6, 0x0
.end local v12 # "showChecks":Z
.local v0, "showChecks":Z
goto :goto_969
.line 1100
.end local v0 # "showChecks":Z
.restart local v12 # "showChecks":Z
:cond_92c
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->unreadCount:I
if-eqz v3, :cond_958
const/4 v6, 0x1
if-ne v3, v6, :cond_93f
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionCount:I
if-ne v3, v6, :cond_93f
if-eqz v0, :cond_93f
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-boolean v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$Message;->mentioned:Z
if-nez v0, :cond_958
.line 1101
:cond_93f
const/4 v3, 0x1
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCount:Z
.line 1102
new-array v0, v3, [Ljava/lang/Object;
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->unreadCount:I
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
const/4 v6, 0x0
aput-object v3, v0, v6
const-string v3, "%d"
invoke-static {v3, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v6
move-object/from16 v28, v6
const/4 v3, 0x1
const/4 v6, 0x0
.end local v28 # "countString":Ljava/lang/String;
.restart local v6 # "countString":Ljava/lang/String;
goto :goto_969
.line 1103
.end local v6 # "countString":Ljava/lang/String;
.restart local v28 # "countString":Ljava/lang/String;
:cond_958
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->markUnread:Z
if-eqz v0, :cond_965
.line 1104
const/4 v3, 0x1
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCount:Z
.line 1105
const-string v6, ""
move-object/from16 v28, v6
const/4 v6, 0x0
.end local v28 # "countString":Ljava/lang/String;
.restart local v6 # "countString":Ljava/lang/String;
goto :goto_969
.line 1107
.end local v6 # "countString":Ljava/lang/String;
.restart local v28 # "countString":Ljava/lang/String;
:cond_965
const/4 v3, 0x1
const/4 v6, 0x0
iput-boolean v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCount:Z
.line 1109
:goto_969
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionCount:I
if-eqz v0, :cond_974
.line 1110
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawMentionIcon:Z
.line 1111
const-string v7, "@"
move-object/from16 v6, v28
.end local v29 # "mentionString":Ljava/lang/String;
.restart local v7 # "mentionString":Ljava/lang/String;
goto :goto_97a
.line 1113
.end local v7 # "mentionString":Ljava/lang/String;
.restart local v29 # "mentionString":Ljava/lang/String;
:cond_974
iput-boolean v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawMentionIcon:Z
move-object/from16 v6, v28
move-object/from16 v7, v29
.line 1117
.end local v28 # "countString":Ljava/lang/String;
.end local v29 # "mentionString":Ljava/lang/String;
.restart local v6 # "countString":Ljava/lang/String;
.restart local v7 # "mentionString":Ljava/lang/String;
:goto_97a
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v0}, Lim/tpelyyftgw/messenger/MessageObject;->isOut()Z
move-result v0
if-eqz v0, :cond_9e9
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->draftMessage:Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
if-nez v0, :cond_9e9
if-eqz v12, :cond_9e9
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$Message;->action:Lim/tpelyyftgw/tgnet/TLRPC$MessageAction;
instance-of v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_messageActionHistoryClear;
if-nez v0, :cond_9e9
.line 1118
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v0}, Lim/tpelyyftgw/messenger/MessageObject;->isSending()Z
move-result v0
if-eqz v0, :cond_9a5
.line 1119
const/4 v3, 0x0
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCheck1:Z
.line 1120
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCheck2:Z
.line 1121
const/4 v13, 0x1
iput-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawClockIcon:Z
.line 1122
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawErrorIcon:Z
goto :goto_9f2
.line 1123
:cond_9a5
const/4 v3, 0x0
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v0}, Lim/tpelyyftgw/messenger/MessageObject;->isSendError()Z
move-result v0
if-eqz v0, :cond_9bc
.line 1124
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCheck1:Z
.line 1125
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCheck2:Z
.line 1126
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawClockIcon:Z
.line 1127
const/4 v13, 0x1
iput-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawErrorIcon:Z
.line 1128
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCount:Z
.line 1129
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawMentionIcon:Z
goto :goto_9f2
.line 1130
:cond_9bc
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v0}, Lim/tpelyyftgw/messenger/MessageObject;->isSent()Z
move-result v0
if-eqz v0, :cond_9f2
.line 1131
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v0}, Lim/tpelyyftgw/messenger/MessageObject;->isUnread()Z
move-result v0
if-eqz v0, :cond_9dd
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
invoke-static {v0}, Lim/tpelyyftgw/messenger/ChatObject;->isChannel(Lim/tpelyyftgw/tgnet/TLRPC$Chat;)Z
move-result v0
if-eqz v0, :cond_9db
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
iget-boolean v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->megagroup:Z
if-nez v0, :cond_9db
goto :goto_9dd
:cond_9db
const/4 v0, 0x0
goto :goto_9de
:cond_9dd
:goto_9dd
const/4 v0, 0x1
:goto_9de
iput-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCheck1:Z
.line 1132
const/4 v3, 0x1
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCheck2:Z
.line 1133
const/4 v3, 0x0
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawClockIcon:Z
.line 1134
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawErrorIcon:Z
goto :goto_9f2
.line 1137
:cond_9e9
const/4 v3, 0x0
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCheck1:Z
.line 1138
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCheck2:Z
.line 1139
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawClockIcon:Z
.line 1140
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawErrorIcon:Z
.line 1144
:cond_9f2
:goto_9f2
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogsType:I
if-nez v0, :cond_a14
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v0}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v0
move v3, v12
.end local v12 # "showChecks":Z
.local v3, "showChecks":Z
iget-wide v12, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
move/from16 v18, v3
const/4 v3, 0x1
.end local v3 # "showChecks":Z
.local v18, "showChecks":Z
invoke-virtual {v0, v12, v13, v3}, Lim/tpelyyftgw/messenger/MessagesController;->isProxyDialog(JZ)Z
move-result v0
if-eqz v0, :cond_a16
.line 1145
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinBackground:Z
.line 1146
const v0, 0x7f0f11c3
const-string v3, "UseProxySponsor"
invoke-static {v3, v0}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v5
goto :goto_a16
.line 1144
.end local v18 # "showChecks":Z
.restart local v12 # "showChecks":Z
:cond_a14
move/from16 v18, v12
.line 1149
.end local v12 # "showChecks":Z
.restart local v18 # "showChecks":Z
:cond_a16
:goto_a16
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v0, :cond_a25
.line 1150
const v0, 0x7f0f0168
const-string v3, "ArchivedChats"
invoke-static {v3, v0}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v0
move-object v3, v0
.end local v26 # "nameString":Ljava/lang/String;
.local v0, "nameString":Ljava/lang/String;
goto :goto_a5c
.line 1152
.end local v0 # "nameString":Ljava/lang/String;
.restart local v26 # "nameString":Ljava/lang/String;
:cond_a25
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
if-eqz v0, :cond_a2c
.line 1153
iget-object v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->title:Ljava/lang/String;
.end local v26 # "nameString":Ljava/lang/String;
.restart local v0 # "nameString":Ljava/lang/String;
goto :goto_a4a
.line 1154
.end local v0 # "nameString":Ljava/lang/String;
.restart local v26 # "nameString":Ljava/lang/String;
:cond_a2c
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
if-eqz v0, :cond_a48
.line 1155
invoke-static {v0}, Lim/tpelyyftgw/messenger/UserObject;->isUserSelf(Lim/tpelyyftgw/tgnet/TLRPC$User;)Z
move-result v0
if-eqz v0, :cond_a41
.line 1156
nop
.line 1159
const v0, 0x7f0f0eb7
const-string v3, "SavedMessages"
invoke-static {v3, v0}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v0
.end local v26 # "nameString":Ljava/lang/String;
.restart local v0 # "nameString":Ljava/lang/String;
goto :goto_a4a
.line 1161
.end local v0 # "nameString":Ljava/lang/String;
.restart local v26 # "nameString":Ljava/lang/String;
:cond_a41
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
invoke-static {v0}, Lim/tpelyyftgw/messenger/UserObject;->getName(Lim/tpelyyftgw/tgnet/TLRPC$User;)Ljava/lang/String;
move-result-object v0
.end local v26 # "nameString":Ljava/lang/String;
.restart local v0 # "nameString":Ljava/lang/String;
goto :goto_a4a
.line 1154
.end local v0 # "nameString":Ljava/lang/String;
.restart local v26 # "nameString":Ljava/lang/String;
:cond_a48
move-object/from16 v0, v26
.line 1164
.end local v26 # "nameString":Ljava/lang/String;
.restart local v0 # "nameString":Ljava/lang/String;
:goto_a4a
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v3
if-nez v3, :cond_a5b
.line 1165
const v3, 0x7f0f0765
const-string v12, "HiddenName"
invoke-static {v12, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v0
move-object v3, v0
goto :goto_a5c
.line 1164
:cond_a5b
move-object v3, v0
.line 1171
.end local v0 # "nameString":Ljava/lang/String;
.local v3, "nameString":Ljava/lang/String;
:goto_a5c
if-eqz v14, :cond_a9e
.line 1172
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_timePaint:Landroid/text/TextPaint;
invoke-virtual {v0, v5}, Landroid/text/TextPaint;->measureText(Ljava/lang/String;)F
move-result v0
float-to-double v12, v0
invoke-static {v12, v13}, Ljava/lang/Math;->ceil(D)D
move-result-wide v12
double-to-int v0, v12
.line 1173
.local v0, "timeWidth":I
new-instance v12, Landroid/text/StaticLayout;
sget-object v29, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_timePaint:Landroid/text/TextPaint;
sget-object v31, Landroid/text/Layout$Alignment;->ALIGN_NORMAL:Landroid/text/Layout$Alignment;
const/high16 v32, 0x3f800000 # 1.0f
const/16 v33, 0x0
const/16 v34, 0x0
move-object/from16 v27, v12
move-object/from16 v28, v5
move/from16 v30, v0
invoke-direct/range {v27 .. v34}, Landroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/text/Layout$Alignment;FFZ)V
iput-object v12, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->timeLayout:Landroid/text/StaticLayout;
.line 1174
sget-boolean v12, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-nez v12, :cond_a94
.line 1175
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v12
const/high16 v13, 0x41700000 # 15.0f
invoke-static {v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
sub-int/2addr v12, v13
sub-int/2addr v12, v0
iput v12, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->timeLeft:I
goto :goto_a9c
.line 1177
:cond_a94
const/high16 v12, 0x41700000 # 15.0f
invoke-static {v12}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
iput v12, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->timeLeft:I
.line 1187
:goto_a9c
move v12, v0
goto :goto_aa6
.line 1180
.end local v0 # "timeWidth":I
:cond_a9e
const/4 v0, 0x0
.line 1181
.restart local v0 # "timeWidth":I
const/4 v12, 0x0
iput-object v12, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->timeLayout:Landroid/text/StaticLayout;
.line 1182
const/4 v12, 0x0
iput v12, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->timeLeft:I
move v12, v0
.line 1187
.end local v0 # "timeWidth":I
.local v12, "timeWidth":I
:goto_aa6
sget-boolean v0, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-nez v0, :cond_aba
.line 1188
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v0
iget v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
sub-int/2addr v0, v13
const/high16 v13, 0x41600000 # 14.0f
invoke-static {v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
sub-int/2addr v0, v13
sub-int/2addr v0, v12
.local v0, "nameWidth":I
goto :goto_ace
.line 1190
.end local v0 # "nameWidth":I
:cond_aba
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v0
iget v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
sub-int/2addr v0, v13
const/high16 v13, 0x429a0000 # 77.0f
invoke-static {v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
sub-int/2addr v0, v13
sub-int/2addr v0, v12
.line 1191
.restart local v0 # "nameWidth":I
iget v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
add-int/2addr v13, v12
iput v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
.line 1214
:goto_ace
iget-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogMuted:Z
const/high16 v25, 0x40c00000 # 6.0f
if-eqz v13, :cond_afa
iget-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawVerifiedIcon:Z
if-nez v13, :cond_afa
iget-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawScam:Z
if-nez v13, :cond_afa
.line 1215
invoke-static/range {v25 .. v25}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
sget-object v26, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_muteDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual/range {v26 .. v26}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I
move-result v26
add-int v13, v13, v26
.line 1216
.local v13, "w":I
sub-int/2addr v0, v13
.line 1217
sget-boolean v26, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-eqz v26, :cond_af5
.line 1218
move/from16 v26, v0
.end local v0 # "nameWidth":I
.local v26, "nameWidth":I
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
add-int/2addr v0, v13
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
goto :goto_af7
.line 1217
.end local v26 # "nameWidth":I
.restart local v0 # "nameWidth":I
:cond_af5
move/from16 v26, v0
.line 1220
.end local v0 # "nameWidth":I
.end local v13 # "w":I
.restart local v26 # "nameWidth":I
:goto_af7
move/from16 v0, v26
goto :goto_b3d
.end local v26 # "nameWidth":I
.restart local v0 # "nameWidth":I
:cond_afa
iget-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawVerifiedIcon:Z
if-eqz v13, :cond_b1c
.line 1221
invoke-static/range {v25 .. v25}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
sget-object v26, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_verifiedDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual/range {v26 .. v26}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I
move-result v26
add-int v13, v13, v26
.line 1222
.restart local v13 # "w":I
sub-int/2addr v0, v13
.line 1223
sget-boolean v26, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-eqz v26, :cond_b17
.line 1224
move/from16 v26, v0
.end local v0 # "nameWidth":I
.restart local v26 # "nameWidth":I
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
add-int/2addr v0, v13
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
goto :goto_b19
.line 1223
.end local v26 # "nameWidth":I
.restart local v0 # "nameWidth":I
:cond_b17
move/from16 v26, v0
.line 1226
.end local v0 # "nameWidth":I
.end local v13 # "w":I
.restart local v26 # "nameWidth":I
:goto_b19
move/from16 v0, v26
goto :goto_b3d
.end local v26 # "nameWidth":I
.restart local v0 # "nameWidth":I
:cond_b1c
iget-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawScam:Z
if-eqz v13, :cond_b3d
.line 1227
invoke-static/range {v25 .. v25}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
sget-object v26, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_scamDrawable:Lim/tpelyyftgw/ui/components/ScamDrawable;
invoke-virtual/range {v26 .. v26}, Lim/tpelyyftgw/ui/components/ScamDrawable;->getIntrinsicWidth()I
move-result v26
add-int v13, v13, v26
.line 1228
.restart local v13 # "w":I
sub-int/2addr v0, v13
.line 1229
sget-boolean v26, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-eqz v26, :cond_b39
.line 1230
move/from16 v26, v0
.end local v0 # "nameWidth":I
.restart local v26 # "nameWidth":I
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
add-int/2addr v0, v13
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
goto :goto_b3b
.line 1229
.end local v26 # "nameWidth":I
.restart local v0 # "nameWidth":I
:cond_b39
move/from16 v26, v0
.line 1234
.end local v0 # "nameWidth":I
.end local v13 # "w":I
.restart local v26 # "nameWidth":I
:goto_b3b
move/from16 v0, v26
.end local v26 # "nameWidth":I
.restart local v0 # "nameWidth":I
:cond_b3d
:goto_b3d
const/high16 v13, 0x41400000 # 12.0f
move-object/from16 v26, v5
.end local v5 # "timeString":Ljava/lang/String;
.local v26, "timeString":Ljava/lang/String;
invoke-static {v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v5
invoke-static {v5, v0}, Ljava/lang/Math;->max(II)I
move-result v5
.line 1236
.end local v0 # "nameWidth":I
.local v5, "nameWidth":I
move-object/from16 v42, v9
const/16 v9, 0xa
const/16 v13, 0x20
.end local v9 # "printingString":Ljava/lang/CharSequence;
.local v42, "printingString":Ljava/lang/CharSequence;
:try_start_b4f
invoke-virtual {v3, v9, v13}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
move-result-object v0
sget-object v9, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_namePaint:Landroid/text/TextPaint;
const/high16 v13, 0x41400000 # 12.0f
invoke-static {v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v27
:try_end_b5b
.catch Ljava/lang/Exception; {:try_start_b4f .. :try_end_b5b} :catch_b7e
sub-int v13, v5, v27
int-to-float v13, v13
move-object/from16 v43, v3
.end local v3 # "nameString":Ljava/lang/String;
.local v43, "nameString":Ljava/lang/String;
:try_start_b60
sget-object v3, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;
invoke-static {v0, v9, v13, v3}, Landroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/text/TextUtils$TruncateAt;)Ljava/lang/CharSequence;
move-result-object v28
.line 1238
.local v28, "nameStringFinal":Ljava/lang/CharSequence;
new-instance v0, Landroid/text/StaticLayout;
sget-object v29, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_namePaint:Landroid/text/TextPaint;
sget-object v31, Landroid/text/Layout$Alignment;->ALIGN_NORMAL:Landroid/text/Layout$Alignment;
const/high16 v32, 0x3f800000 # 1.0f
const/16 v33, 0x0
const/16 v34, 0x0
move-object/from16 v27, v0
move/from16 v30, v5
invoke-direct/range {v27 .. v34}, Landroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/text/Layout$Alignment;FFZ)V
iput-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLayout:Landroid/text/StaticLayout;
:try_end_b7b
.catch Ljava/lang/Exception; {:try_start_b60 .. :try_end_b7b} :catch_b7c
.line 1241
.end local v28 # "nameStringFinal":Ljava/lang/CharSequence;
goto :goto_b84
.line 1239
:catch_b7c
move-exception v0
goto :goto_b81
.end local v43 # "nameString":Ljava/lang/String;
.restart local v3 # "nameString":Ljava/lang/String;
:catch_b7e
move-exception v0
move-object/from16 v43, v3
.line 1240
.end local v3 # "nameString":Ljava/lang/String;
.local v0, "e":Ljava/lang/Exception;
.restart local v43 # "nameString":Ljava/lang/String;
:goto_b81
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 1244
.end local v0 # "e":Ljava/lang/Exception;
:goto_b84
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topOffset:F
const/4 v3, 0x0
cmpl-float v0, v0, v3
if-nez v0, :cond_b9a
.line 1245
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v0
invoke-static/range {v21 .. v21}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
sub-int/2addr v0, v9
int-to-float v0, v0
const/high16 v9, 0x40000000 # 2.0f
div-float/2addr v0, v9
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topOffset:F
.line 1247
:cond_b9a
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
const/high16 v9, 0x41e00000 # 28.0f
const/high16 v13, 0x41200000 # 10.0f
if-nez v0, :cond_c40
sget-boolean v0, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v0, :cond_baa
move/from16 v44, v12
goto/16 :goto_c42
.line 1277
:cond_baa
invoke-static {v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
int-to-float v0, v0
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topOffset:F
add-float/2addr v0, v3
float-to-int v0, v0
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameTop:I
.line 1278
float-to-int v0, v3
const/high16 v3, 0x41000000 # 8.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
add-int/2addr v0, v3
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->timeTop:I
.line 1279
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v0
const/high16 v3, 0x41c80000 # 25.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
sub-int/2addr v0, v3
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->errorTop:I
.line 1280
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v0
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
sub-int/2addr v0, v3
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->recorderTop:I
.line 1281
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v0
const/high16 v3, 0x41f80000 # 31.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
sub-int/2addr v0, v3
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countTop:I
.line 1282
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v0
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
sub-int/2addr v0, v3
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clockDrawTop:I
.line 1283
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v0
const/high16 v3, 0x42c80000 # 100.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
sub-int/2addr v0, v3
.line 1285
.local v0, "messageWidth":I
sget-boolean v3, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-nez v3, :cond_c0f
.line 1286
invoke-static/range {v20 .. v20}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
.line 1287
const/high16 v3, 0x41800000 # 16.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarLeft:I
goto :goto_c26
.line 1289
:cond_c0f
const/high16 v3, 0x41b00000 # 22.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
.line 1290
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v3
const/high16 v9, 0x42800000 # 64.0f
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
sub-int/2addr v3, v9
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarLeft:I
.line 1292
:goto_c26
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarLeft:I
iget v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topOffset:F
float-to-int v13, v13
move/from16 v16, v0
.end local v0 # "messageWidth":I
.local v16, "messageWidth":I
invoke-static/range {v21 .. v21}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
move/from16 v44, v12
.end local v12 # "timeWidth":I
.local v44, "timeWidth":I
invoke-static/range {v21 .. v21}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
invoke-virtual {v3, v9, v13, v0, v12}, Lim/tpelyyftgw/messenger/ImageReceiver;->setImageCoords(IIII)V
move/from16 v0, v16
goto/16 :goto_cd4
.line 1247
.end local v16 # "messageWidth":I
.end local v44 # "timeWidth":I
.restart local v12 # "timeWidth":I
:cond_c40
move/from16 v44, v12
.line 1254
.end local v12 # "timeWidth":I
.restart local v44 # "timeWidth":I
:goto_c42
invoke-static/range {v23 .. v23}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
int-to-float v0, v0
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topOffset:F
add-float/2addr v0, v3
float-to-int v0, v0
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameTop:I
.line 1255
float-to-int v0, v3
const/high16 v3, 0x41000000 # 8.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
add-int/2addr v0, v3
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->timeTop:I
.line 1256
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v0
const/high16 v3, 0x41f80000 # 31.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
sub-int/2addr v0, v3
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->errorTop:I
.line 1257
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topOffset:F
add-float/2addr v0, v9
invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->recorderTop:I
.line 1258
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v0
const/high16 v3, 0x41f80000 # 31.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
sub-int/2addr v0, v3
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countTop:I
.line 1259
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v0
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
sub-int/2addr v0, v3
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clockDrawTop:I
.line 1260
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v0
const/high16 v3, 0x42900000 # 72.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
sub-int/2addr v0, v3
.line 1262
.restart local v0 # "messageWidth":I
sget-boolean v3, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-nez v3, :cond_ca7
.line 1263
const/high16 v3, 0x42900000 # 72.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
.line 1264
const/high16 v3, 0x41800000 # 16.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarLeft:I
goto :goto_cbe
.line 1266
:cond_ca7
const/high16 v3, 0x41800000 # 16.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
.line 1267
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v3
const/high16 v9, 0x42840000 # 66.0f
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
sub-int/2addr v3, v9
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarLeft:I
.line 1269
:goto_cbe
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarLeft:I
iget v12, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topOffset:F
float-to-int v12, v12
invoke-static/range {v21 .. v21}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
move/from16 v16, v0
.end local v0 # "messageWidth":I
.restart local v16 # "messageWidth":I
invoke-static/range {v21 .. v21}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
invoke-virtual {v3, v9, v12, v13, v0}, Lim/tpelyyftgw/messenger/ImageReceiver;->setImageCoords(IIII)V
move/from16 v0, v16
.line 1296
.end local v16 # "messageWidth":I
.restart local v0 # "messageWidth":I
:goto_cd4
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinIcon:Z
if-eqz v3, :cond_d2c
.line 1297
sget-object v3, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v3}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I
move-result v3
invoke-static/range {v25 .. v25}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
add-int/2addr v3, v9
.line 1298
.local v3, "w":I
sub-int/2addr v0, v3
.line 1299
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v9
const/high16 v12, 0x41f00000 # 30.0f
invoke-static {v12}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
sub-int/2addr v9, v12
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->pinTop:I
.line 1300
sget-boolean v9, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-nez v9, :cond_d17
.line 1301
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v9
sget-object v12, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v12}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I
move-result v12
sub-int/2addr v9, v12
const/high16 v12, 0x41600000 # 14.0f
invoke-static {v12}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
sub-int/2addr v9, v12
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->recorderLeft:I
.line 1302
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v9
const/high16 v12, 0x41f00000 # 30.0f
invoke-static {v12}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
sub-int/2addr v9, v12
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->pinLeft:I
goto :goto_d2c
.line 1304
:cond_d17
const/high16 v9, 0x41600000 # 14.0f
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->recorderLeft:I
.line 1305
const/4 v9, 0x0
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->pinLeft:I
.line 1306
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
add-int/2addr v9, v3
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
.line 1307
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
add-int/2addr v9, v3
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
.line 1313
.end local v3 # "w":I
:cond_d2c
:goto_d2c
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawErrorIcon:Z
if-eqz v3, :cond_d56
.line 1314
invoke-static/range {v19 .. v19}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
.line 1315
.restart local v3 # "w":I
sub-int/2addr v0, v3
.line 1316
sget-boolean v9, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-nez v9, :cond_d42
.line 1317
const/high16 v9, 0x42900000 # 72.0f
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->errorLeft:I
goto :goto_d4a
.line 1319
:cond_d42
const/high16 v9, 0x41300000 # 11.0f
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->errorLeft:I
.line 1321
:goto_d4a
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
add-int/2addr v9, v3
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
.line 1322
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
add-int/2addr v9, v3
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
.line 1323
.end local v3 # "w":I
move v3, v0
goto :goto_d7f
.line 1325
:cond_d56
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawClockIcon:Z
if-eqz v3, :cond_d7e
.line 1326
invoke-static/range {v19 .. v19}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
.line 1327
.restart local v3 # "w":I
sub-int/2addr v0, v3
.line 1328
sget-boolean v9, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-nez v9, :cond_d6a
.line 1329
invoke-static/range {v20 .. v20}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clockDrawLeft:I
goto :goto_d72
.line 1331
:cond_d6a
const/high16 v9, 0x41300000 # 11.0f
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clockDrawLeft:I
.line 1333
:goto_d72
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
add-int/2addr v9, v3
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
.line 1334
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
add-int/2addr v9, v3
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
move v3, v0
goto :goto_d7f
.line 1325
.end local v3 # "w":I
:cond_d7e
move v3, v0
.line 1337
.end local v0 # "messageWidth":I
.local v3, "messageWidth":I
:goto_d7f
if-nez v6, :cond_d83
if-eqz v7, :cond_ec1
.line 1338
:cond_d83
if-eqz v6, :cond_e27
.line 1340
:try_start_d85
new-instance v0, Ljava/math/BigDecimal;
invoke-direct {v0, v6}, Ljava/math/BigDecimal;-><init>(Ljava/lang/String;)V
new-instance v9, Ljava/math/BigDecimal;
const-string v12, "10"
invoke-direct {v9, v12}, Ljava/math/BigDecimal;-><init>(Ljava/lang/String;)V
invoke-virtual {v0, v9}, Ljava/math/BigDecimal;->compareTo(Ljava/math/BigDecimal;)I
move-result v0
if-lez v0, :cond_d99
const/4 v0, 0x1
goto :goto_d9a
:cond_d99
const/4 v0, 0x0
:goto_d9a
iput-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countIsBiggerThanTen:Z
:try_end_d9c
.catch Ljava/lang/Exception; {:try_start_d85 .. :try_end_d9c} :catch_d9d
.line 1343
goto :goto_db6
.line 1341
:catch_d9d
move-exception v0
.line 1342
.local v0, "e":Ljava/lang/Exception;
new-instance v9, Ljava/lang/StringBuilder;
invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V
const-string v12, "FmtDialogCell ----> buildLayout countIsBiggerThanTen e: "
invoke-virtual {v9, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/Exception;->toString()Ljava/lang/String;
move-result-object v12
invoke-virtual {v9, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v9
invoke-static {v9}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/String;)V
.line 1344
.end local v0 # "e":Ljava/lang/Exception;
:goto_db6
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countTop:I
iget-boolean v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countIsBiggerThanTen:Z
if-eqz v9, :cond_dc3
const/high16 v9, 0x40400000 # 3.0f
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
goto :goto_dc4
:cond_dc3
const/4 v9, 0x0
:goto_dc4
add-int/2addr v0, v9
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countTop:I
.line 1345
const/high16 v9, 0x41200000 # 10.0f
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
sget-object v9, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_countTextPaint:Landroid/text/TextPaint;
invoke-virtual {v9, v6}, Landroid/text/TextPaint;->measureText(Ljava/lang/String;)F
move-result v9
float-to-double v12, v9
invoke-static {v12, v13}, Ljava/lang/Math;->ceil(D)D
move-result-wide v12
double-to-int v9, v12
invoke-static {v0, v9}, Ljava/lang/Math;->max(II)I
move-result v0
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countWidth:I
.line 1346
new-instance v0, Landroid/text/StaticLayout;
sget-object v29, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_countTextPaint:Landroid/text/TextPaint;
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countWidth:I
sget-object v31, Landroid/text/Layout$Alignment;->ALIGN_CENTER:Landroid/text/Layout$Alignment;
const/high16 v32, 0x3f800000 # 1.0f
const/16 v33, 0x0
const/16 v34, 0x0
move-object/from16 v27, v0
move-object/from16 v28, v6
move/from16 v30, v9
invoke-direct/range {v27 .. v34}, Landroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/text/Layout$Alignment;FFZ)V
iput-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countLayout:Landroid/text/StaticLayout;
.line 1347
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countWidth:I
invoke-static/range {v23 .. v23}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
add-int/2addr v0, v9
.line 1348
.local v0, "w":I
sub-int/2addr v3, v0
.line 1349
sget-boolean v9, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-nez v9, :cond_e13
.line 1350
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v9
iget v12, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countWidth:I
sub-int/2addr v9, v12
invoke-static/range {v23 .. v23}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
sub-int/2addr v9, v12
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countLeft:I
goto :goto_e23
.line 1352
:cond_e13
invoke-static/range {v23 .. v23}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countLeft:I
.line 1353
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
add-int/2addr v9, v0
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
.line 1354
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
add-int/2addr v9, v0
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
.line 1356
:goto_e23
const/4 v9, 0x1
iput-boolean v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCount:Z
.line 1357
.end local v0 # "w":I
goto :goto_e2a
.line 1358
:cond_e27
const/4 v9, 0x0
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countWidth:I
.line 1360
:goto_e2a
if-eqz v7, :cond_ec1
.line 1361
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v0, :cond_e62
.line 1362
const/high16 v0, 0x41180000 # 9.5f
invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
sget-object v9, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_countTextPaint:Landroid/text/TextPaint;
invoke-virtual {v9, v7}, Landroid/text/TextPaint;->measureText(Ljava/lang/String;)F
move-result v9
float-to-double v12, v9
invoke-static {v12, v13}, Ljava/lang/Math;->ceil(D)D
move-result-wide v12
double-to-int v9, v12
invoke-static {v0, v9}, Ljava/lang/Math;->max(II)I
move-result v0
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionWidth:I
.line 1363
new-instance v0, Landroid/text/StaticLayout;
sget-object v29, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_countTextPaint:Landroid/text/TextPaint;
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionWidth:I
sget-object v31, Landroid/text/Layout$Alignment;->ALIGN_CENTER:Landroid/text/Layout$Alignment;
const/high16 v32, 0x3f800000 # 1.0f
const/16 v33, 0x0
const/16 v34, 0x0
move-object/from16 v27, v0
move-object/from16 v28, v7
move/from16 v30, v9
invoke-direct/range {v27 .. v34}, Landroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/text/Layout$Alignment;FFZ)V
iput-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionLayout:Landroid/text/StaticLayout;
goto :goto_e6a
.line 1366
:cond_e62
const/high16 v0, 0x41180000 # 9.5f
invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionWidth:I
.line 1368
:goto_e6a
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionWidth:I
if-eqz v6, :cond_e75
const/high16 v9, 0x41200000 # 10.0f
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
goto :goto_e79
:cond_e75
invoke-static/range {v23 .. v23}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
:goto_e79
add-int/2addr v0, v12
.line 1369
.restart local v0 # "w":I
sub-int/2addr v3, v0
.line 1370
sget-boolean v9, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-nez v9, :cond_e9e
.line 1371
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v9
iget v12, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionWidth:I
sub-int/2addr v9, v12
const/high16 v12, 0x41200000 # 10.0f
invoke-static {v12}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
sub-int/2addr v9, v12
iget v12, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countWidth:I
if-eqz v12, :cond_e99
const/high16 v13, 0x41d00000 # 26.0f
invoke-static {v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
add-int/2addr v12, v13
goto :goto_e9a
:cond_e99
const/4 v12, 0x0
:goto_e9a
sub-int/2addr v9, v12
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionLeft:I
goto :goto_ebe
.line 1373
:cond_e9e
const/high16 v9, 0x41200000 # 10.0f
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
iget v12, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countWidth:I
if-eqz v12, :cond_eb0
const/high16 v13, 0x40a00000 # 5.0f
invoke-static {v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
add-int/2addr v12, v13
goto :goto_eb1
:cond_eb0
const/4 v12, 0x0
:goto_eb1
add-int/2addr v9, v12
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionLeft:I
.line 1374
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
add-int/2addr v9, v0
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
.line 1375
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
add-int/2addr v9, v0
iput v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
.line 1377
:goto_ebe
const/4 v9, 0x1
iput-boolean v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawMentionIcon:Z
.line 1381
.end local v0 # "w":I
:cond_ec1
if-eqz v11, :cond_efb
.line 1382
if-nez v8, :cond_ec7
.line 1383
const-string v8, ""
.line 1385
:cond_ec7
invoke-interface {v8}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;
move-result-object v0
.line 1386
.local v0, "mess":Ljava/lang/String;
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v9
const/16 v12, 0x96
if-le v9, v12, :cond_ed8
.line 1387
const/4 v9, 0x0
invoke-virtual {v0, v9, v12}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
.line 1389
:cond_ed8
iget-boolean v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v9, :cond_ee0
sget-boolean v9, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v9, :cond_ee2
:cond_ee0
if-eqz v4, :cond_eea
.line 1390
:cond_ee2
const/16 v9, 0x20
const/16 v12, 0xa
invoke-virtual {v0, v12, v9}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
move-result-object v0
.line 1392
:cond_eea
sget-object v9, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
invoke-virtual {v9}, Landroid/text/TextPaint;->getFontMetricsInt()Landroid/graphics/Paint$FontMetricsInt;
move-result-object v9
const/high16 v12, 0x41880000 # 17.0f
invoke-static {v12}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
const/4 v13, 0x0
invoke-static {v0, v9, v12, v13}, Lim/tpelyyftgw/messenger/Emoji;->replaceEmoji(Ljava/lang/CharSequence;Landroid/graphics/Paint$FontMetricsInt;IZ)Ljava/lang/CharSequence;
move-result-object v8
.line 1394
.end local v0 # "mess":Ljava/lang/String;
:cond_efb
const/high16 v9, 0x41400000 # 12.0f
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
invoke-static {v0, v3}, Ljava/lang/Math;->max(II)I
move-result v3
.line 1395
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v0, :cond_f0d
sget-boolean v0, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v0, :cond_f45
:cond_f0d
if-eqz v4, :cond_f45
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v0, :cond_f18
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderDialogsCount:I
const/4 v9, 0x1
if-ne v0, v9, :cond_f45
.line 1397
:cond_f18
:try_start_f18
sget-object v33, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messageNamePaint:Landroid/text/TextPaint;
sget-object v35, Landroid/text/Layout$Alignment;->ALIGN_NORMAL:Landroid/text/Layout$Alignment;
const/high16 v36, 0x3f800000 # 1.0f
const/16 v37, 0x0
const/16 v38, 0x0
sget-object v39, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;
const/16 v41, 0x1
move-object/from16 v32, v4
move/from16 v34, v3
move/from16 v40, v3
invoke-static/range {v32 .. v41}, Lim/tpelyyftgw/ui/components/StaticLayoutEx;->createStaticLayout(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/text/Layout$Alignment;FFZLandroid/text/TextUtils$TruncateAt;II)Landroid/text/StaticLayout;
move-result-object v0
iput-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLayout:Landroid/text/StaticLayout;
:try_end_f32
.catch Ljava/lang/Exception; {:try_start_f18 .. :try_end_f32} :catch_f33
.line 1401
goto :goto_f37
.line 1399
:catch_f33
move-exception v0
.line 1400
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 1402
.end local v0 # "e":Ljava/lang/Exception;
:goto_f37
const/high16 v0, 0x42100000 # 36.0f
invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
int-to-float v0, v0
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topOffset:F
add-float/2addr v0, v9
float-to-int v0, v0
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageTop:I
goto :goto_f6c
.line 1404
:cond_f45
const/4 v9, 0x0
iput-object v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLayout:Landroid/text/StaticLayout;
.line 1405
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v0, :cond_f5f
sget-boolean v0, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v0, :cond_f51
goto :goto_f5f
.line 1408
:cond_f51
const/high16 v0, 0x42080000 # 34.0f
invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
int-to-float v0, v0
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topOffset:F
add-float/2addr v0, v9
float-to-int v0, v0
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageTop:I
goto :goto_f6c
.line 1406
:cond_f5f
:goto_f5f
const/high16 v0, 0x42000000 # 32.0f
invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
int-to-float v0, v0
iget v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topOffset:F
add-float/2addr v0, v9
float-to-int v0, v0
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageTop:I
.line 1414
:goto_f6c
:try_start_f6c
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
:try_end_f6e
.catch Ljava/lang/Exception; {:try_start_f6c .. :try_end_f6e} :catch_1178
if-nez v0, :cond_f7c
:try_start_f70
sget-boolean v0, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
:try_end_f72
.catch Ljava/lang/Exception; {:try_start_f70 .. :try_end_f72} :catch_f75
if-eqz v0, :cond_f90
goto :goto_f7c
.line 1471
:catch_f75
move-exception v0
move-object/from16 v21, v6
move-object/from16 v22, v7
goto/16 :goto_117f
.line 1414
:cond_f7c
:goto_f7c
:try_start_f7c
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
:try_end_f7e
.catch Ljava/lang/Exception; {:try_start_f7c .. :try_end_f7e} :catch_1178
if-eqz v0, :cond_f90
:try_start_f80
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderDialogsCount:I
const/4 v9, 0x1
if-le v0, v9, :cond_f90
.line 1415
move-object v0, v4
.line 1416
.local v0, "messageStringFinal":Ljava/lang/CharSequence;
const/4 v4, 0x0
.line 1417
sget-object v2, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
:try_end_f89
.catch Ljava/lang/Exception; {:try_start_f80 .. :try_end_f89} :catch_f75
move-object v10, v2
move-object/from16 v21, v6
move-object/from16 v22, v7
goto/16 :goto_10f5
.line 1418
.end local v0 # "messageStringFinal":Ljava/lang/CharSequence;
:cond_f90
:try_start_f90
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
:try_end_f92
.catch Ljava/lang/Exception; {:try_start_f90 .. :try_end_f92} :catch_1178
if-nez v0, :cond_f98
:try_start_f94
sget-boolean v0, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
:try_end_f96
.catch Ljava/lang/Exception; {:try_start_f94 .. :try_end_f96} :catch_f75
if-eqz v0, :cond_f9a
:cond_f98
if-eqz v4, :cond_10ec
.line 1419
:cond_f9a
:try_start_f9a
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->type:I
const/16 v9, 0x69
if-ne v0, v9, :cond_10cf
.line 1420
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
check-cast v0, Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_messageMediaSysNotify;
.line 1421
.local v0, "sysNotify":Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_messageMediaSysNotify;
iget-object v9, v0, Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_messageMediaSysNotify;->data:Lim/tpelyyftgw/tgnet/TLRPC$TL_dataJSON;
invoke-static {v9}, Lim/tpelyyftgw/tgnet/TLJsonResolve;->getData(Lim/tpelyyftgw/tgnet/TLObject;)Ljava/lang/String;
move-result-object v9
.line 1422
.local v9, "data":Ljava/lang/String;
const-class v12, Lim/tpelyyftgw/javaBean/ChatFCAttentionBean;
invoke-static {v9, v12}, Lcom/blankj/utilcode/util/GsonUtils;->fromJson(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v12
check-cast v12, Lim/tpelyyftgw/javaBean/ChatFCAttentionBean;
.line 1423
.local v12, "bean":Lim/tpelyyftgw/javaBean/ChatFCAttentionBean;
move-object v13, v2
.line 1424
.local v13, "messageStringFinal":Ljava/lang/CharSequence;
nop
.line 1425
.local v2, "message":Ljava/lang/String;
sget v16, Lim/tpelyyftgw/messenger/UserConfig;->selectedAccount:I
move-object/from16 v19, v2
.end local v2 # "message":Ljava/lang/String;
.local v19, "message":Ljava/lang/String;
invoke-static/range {v16 .. v16}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v2
:try_end_fc2
.catch Ljava/lang/Exception; {:try_start_f9a .. :try_end_fc2} :catch_1178
move-object/from16 v16, v4
.end local v4 # "messageNameString":Ljava/lang/CharSequence;
.local v16, "messageNameString":Ljava/lang/CharSequence;
:try_start_fc4
iget-object v4, v12, Lim/tpelyyftgw/javaBean/ChatFCAttentionBean;->interact_msg:Lim/tpelyyftgw/javaBean/ChatFCAttentionBean$MsgDataBean;
iget v4, v4, Lim/tpelyyftgw/javaBean/ChatFCAttentionBean$MsgDataBean;->with_id:I
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
invoke-virtual {v2, v4}, Lim/tpelyyftgw/messenger/MessagesController;->getUser(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$User;
move-result-object v2
.line 1426
.local v2, "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
invoke-static {v2}, Lim/tpelyyftgw/messenger/UserObject;->getName(Lim/tpelyyftgw/tgnet/TLRPC$User;)Ljava/lang/String;
move-result-object v4
.line 1427
.local v4, "userName":Ljava/lang/String;
move-object/from16 v20, v2
.end local v2 # "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
.local v20, "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
invoke-virtual {v4}, Ljava/lang/String;->length()I
move-result v2
:try_end_fda
.catch Ljava/lang/Exception; {:try_start_fc4 .. :try_end_fda} :catch_10c6
move-object/from16 v21, v6
.end local v6 # "countString":Ljava/lang/String;
.local v21, "countString":Ljava/lang/String;
const/16 v6, 0xd
if-le v2, v6, :cond_1002
.line 1428
:try_start_fe0
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
:try_end_fe5
.catch Ljava/lang/Exception; {:try_start_fe0 .. :try_end_fe5} :catch_ffb
const/16 v6, 0xc
move-object/from16 v22, v7
const/4 v7, 0x0
.end local v7 # "mentionString":Ljava/lang/String;
.local v22, "mentionString":Ljava/lang/String;
:try_start_fea
invoke-virtual {v4, v7, v6}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v6
invoke-virtual {v2, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v6, "..."
invoke-virtual {v2, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
.end local v19 # "message":Ljava/lang/String;
.local v2, "message":Ljava/lang/String;
goto :goto_1005
.line 1471
.end local v0 # "sysNotify":Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_messageMediaSysNotify;
.end local v2 # "message":Ljava/lang/String;
.end local v4 # "userName":Ljava/lang/String;
.end local v9 # "data":Ljava/lang/String;
.end local v12 # "bean":Lim/tpelyyftgw/javaBean/ChatFCAttentionBean;
.end local v13 # "messageStringFinal":Ljava/lang/CharSequence;
.end local v20 # "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
.end local v22 # "mentionString":Ljava/lang/String;
.restart local v7 # "mentionString":Ljava/lang/String;
:catch_ffb
move-exception v0
move-object/from16 v22, v7
move-object/from16 v4, v16
.end local v7 # "mentionString":Ljava/lang/String;
.restart local v22 # "mentionString":Ljava/lang/String;
goto/16 :goto_117f
.line 1430
.end local v22 # "mentionString":Ljava/lang/String;
.restart local v0 # "sysNotify":Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_messageMediaSysNotify;
.restart local v4 # "userName":Ljava/lang/String;
.restart local v7 # "mentionString":Ljava/lang/String;
.restart local v9 # "data":Ljava/lang/String;
.restart local v12 # "bean":Lim/tpelyyftgw/javaBean/ChatFCAttentionBean;
.restart local v13 # "messageStringFinal":Ljava/lang/CharSequence;
.restart local v19 # "message":Ljava/lang/String;
.restart local v20 # "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
:cond_1002
move-object/from16 v22, v7
.end local v7 # "mentionString":Ljava/lang/String;
.restart local v22 # "mentionString":Ljava/lang/String;
move-object v2, v4
.line 1432
.end local v19 # "message":Ljava/lang/String;
.restart local v2 # "message":Ljava/lang/String;
:goto_1005
iget v6, v0, Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_messageMediaSysNotify;->business_code:I
:try_end_1007
.catch Ljava/lang/Exception; {:try_start_fea .. :try_end_1007} :catch_10e7
const-string v7, "#90C6FF"
packed-switch v6, :pswitch_data_1342
move-object v0, v13
goto/16 :goto_10c3
.line 1449
:pswitch_100f
:try_start_100f
new-instance v6, Lcom/blankj/utilcode/util/SpanUtils;
invoke-direct {v6}, Lcom/blankj/utilcode/util/SpanUtils;-><init>()V
invoke-virtual {v6, v2}, Lcom/blankj/utilcode/util/SpanUtils;->append(Ljava/lang/CharSequence;)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
invoke-static {v7}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
move-result v7
invoke-virtual {v6, v7}, Lcom/blankj/utilcode/util/SpanUtils;->setForegroundColor(I)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
const-string/jumbo v7, "\u63d0\u9192\u4e86\u4f60"
invoke-virtual {v6, v7}, Lcom/blankj/utilcode/util/SpanUtils;->append(Ljava/lang/CharSequence;)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
invoke-virtual {v6}, Lcom/blankj/utilcode/util/SpanUtils;->create()Landroid/text/SpannableStringBuilder;
move-result-object v6
move-object v0, v6
.end local v13 # "messageStringFinal":Ljava/lang/CharSequence;
.local v6, "messageStringFinal":Ljava/lang/CharSequence;
goto/16 :goto_10c3
.line 1446
.end local v6 # "messageStringFinal":Ljava/lang/CharSequence;
.restart local v13 # "messageStringFinal":Ljava/lang/CharSequence;
:pswitch_102e
new-instance v6, Lcom/blankj/utilcode/util/SpanUtils;
invoke-direct {v6}, Lcom/blankj/utilcode/util/SpanUtils;-><init>()V
invoke-virtual {v6, v2}, Lcom/blankj/utilcode/util/SpanUtils;->append(Ljava/lang/CharSequence;)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
invoke-static {v7}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
move-result v7
invoke-virtual {v6, v7}, Lcom/blankj/utilcode/util/SpanUtils;->setForegroundColor(I)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
const-string/jumbo v7, "\u5173\u6ce8\u4e86\u4f60"
invoke-virtual {v6, v7}, Lcom/blankj/utilcode/util/SpanUtils;->append(Ljava/lang/CharSequence;)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
invoke-virtual {v6}, Lcom/blankj/utilcode/util/SpanUtils;->create()Landroid/text/SpannableStringBuilder;
move-result-object v6
.line 1447
.end local v13 # "messageStringFinal":Ljava/lang/CharSequence;
.restart local v6 # "messageStringFinal":Ljava/lang/CharSequence;
move-object v0, v6
goto/16 :goto_10c3
.line 1443
.end local v6 # "messageStringFinal":Ljava/lang/CharSequence;
.restart local v13 # "messageStringFinal":Ljava/lang/CharSequence;
:pswitch_104d
new-instance v6, Lcom/blankj/utilcode/util/SpanUtils;
invoke-direct {v6}, Lcom/blankj/utilcode/util/SpanUtils;-><init>()V
invoke-virtual {v6, v2}, Lcom/blankj/utilcode/util/SpanUtils;->append(Ljava/lang/CharSequence;)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
invoke-static {v7}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
move-result v7
invoke-virtual {v6, v7}, Lcom/blankj/utilcode/util/SpanUtils;->setForegroundColor(I)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
const-string v7, "@\u4e86\u4f60"
invoke-virtual {v6, v7}, Lcom/blankj/utilcode/util/SpanUtils;->append(Ljava/lang/CharSequence;)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
invoke-virtual {v6}, Lcom/blankj/utilcode/util/SpanUtils;->create()Landroid/text/SpannableStringBuilder;
move-result-object v6
.line 1444
.end local v13 # "messageStringFinal":Ljava/lang/CharSequence;
.restart local v6 # "messageStringFinal":Ljava/lang/CharSequence;
move-object v0, v6
goto :goto_10c3
.line 1440
.end local v6 # "messageStringFinal":Ljava/lang/CharSequence;
.restart local v13 # "messageStringFinal":Ljava/lang/CharSequence;
:pswitch_106a
new-instance v6, Lcom/blankj/utilcode/util/SpanUtils;
invoke-direct {v6}, Lcom/blankj/utilcode/util/SpanUtils;-><init>()V
invoke-virtual {v6, v2}, Lcom/blankj/utilcode/util/SpanUtils;->append(Ljava/lang/CharSequence;)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
invoke-static {v7}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
move-result v7
invoke-virtual {v6, v7}, Lcom/blankj/utilcode/util/SpanUtils;->setForegroundColor(I)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
const-string/jumbo v7, "\u7ed9\u4f60\u70b9\u4e86\u4e2a\u8d5e"
invoke-virtual {v6, v7}, Lcom/blankj/utilcode/util/SpanUtils;->append(Ljava/lang/CharSequence;)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
invoke-virtual {v6}, Lcom/blankj/utilcode/util/SpanUtils;->create()Landroid/text/SpannableStringBuilder;
move-result-object v6
.line 1441
.end local v13 # "messageStringFinal":Ljava/lang/CharSequence;
.restart local v6 # "messageStringFinal":Ljava/lang/CharSequence;
move-object v0, v6
goto :goto_10c3
.line 1437
.end local v6 # "messageStringFinal":Ljava/lang/CharSequence;
.restart local v13 # "messageStringFinal":Ljava/lang/CharSequence;
:pswitch_1088
new-instance v6, Lcom/blankj/utilcode/util/SpanUtils;
invoke-direct {v6}, Lcom/blankj/utilcode/util/SpanUtils;-><init>()V
invoke-virtual {v6, v2}, Lcom/blankj/utilcode/util/SpanUtils;->append(Ljava/lang/CharSequence;)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
invoke-static {v7}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
move-result v7
invoke-virtual {v6, v7}, Lcom/blankj/utilcode/util/SpanUtils;->setForegroundColor(I)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
const-string/jumbo v7, "\u56de\u590d\u4e86\u4f60"
invoke-virtual {v6, v7}, Lcom/blankj/utilcode/util/SpanUtils;->append(Ljava/lang/CharSequence;)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
invoke-virtual {v6}, Lcom/blankj/utilcode/util/SpanUtils;->create()Landroid/text/SpannableStringBuilder;
move-result-object v6
.line 1438
.end local v13 # "messageStringFinal":Ljava/lang/CharSequence;
.restart local v6 # "messageStringFinal":Ljava/lang/CharSequence;
move-object v0, v6
goto :goto_10c3
.line 1434
.end local v6 # "messageStringFinal":Ljava/lang/CharSequence;
.restart local v13 # "messageStringFinal":Ljava/lang/CharSequence;
:pswitch_10a6
new-instance v6, Lcom/blankj/utilcode/util/SpanUtils;
invoke-direct {v6}, Lcom/blankj/utilcode/util/SpanUtils;-><init>()V
invoke-virtual {v6, v2}, Lcom/blankj/utilcode/util/SpanUtils;->append(Ljava/lang/CharSequence;)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
invoke-static {v7}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
move-result v7
invoke-virtual {v6, v7}, Lcom/blankj/utilcode/util/SpanUtils;->setForegroundColor(I)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
const-string/jumbo v7, "\u8bc4\u8bba\u4e86\u4f60"
invoke-virtual {v6, v7}, Lcom/blankj/utilcode/util/SpanUtils;->append(Ljava/lang/CharSequence;)Lcom/blankj/utilcode/util/SpanUtils;
move-result-object v6
invoke-virtual {v6}, Lcom/blankj/utilcode/util/SpanUtils;->create()Landroid/text/SpannableStringBuilder;
move-result-object v6
.line 1435
.end local v13 # "messageStringFinal":Ljava/lang/CharSequence;
.restart local v6 # "messageStringFinal":Ljava/lang/CharSequence;
move-object v0, v6
.line 1452
.end local v2 # "message":Ljava/lang/String;
.end local v4 # "userName":Ljava/lang/String;
.end local v6 # "messageStringFinal":Ljava/lang/CharSequence;
.end local v9 # "data":Ljava/lang/String;
.end local v12 # "bean":Lim/tpelyyftgw/javaBean/ChatFCAttentionBean;
.end local v20 # "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
.local v0, "messageStringFinal":Ljava/lang/CharSequence;
:goto_10c3
move-object/from16 v4, v16
goto :goto_10f5
.line 1471
.end local v0 # "messageStringFinal":Ljava/lang/CharSequence;
.end local v21 # "countString":Ljava/lang/String;
.end local v22 # "mentionString":Ljava/lang/String;
.local v6, "countString":Ljava/lang/String;
.restart local v7 # "mentionString":Ljava/lang/String;
:catch_10c6
move-exception v0
move-object/from16 v21, v6
move-object/from16 v22, v7
move-object/from16 v4, v16
.end local v6 # "countString":Ljava/lang/String;
.end local v7 # "mentionString":Ljava/lang/String;
.restart local v21 # "countString":Ljava/lang/String;
.restart local v22 # "mentionString":Ljava/lang/String;
goto/16 :goto_117f
.line 1453
.end local v16 # "messageNameString":Ljava/lang/CharSequence;
.end local v21 # "countString":Ljava/lang/String;
.end local v22 # "mentionString":Ljava/lang/String;
.local v4, "messageNameString":Ljava/lang/CharSequence;
.restart local v6 # "countString":Ljava/lang/String;
.restart local v7 # "mentionString":Ljava/lang/String;
:cond_10cf
move-object/from16 v16, v4
move-object/from16 v21, v6
move-object/from16 v22, v7
.end local v4 # "messageNameString":Ljava/lang/CharSequence;
.end local v6 # "countString":Ljava/lang/String;
.end local v7 # "mentionString":Ljava/lang/String;
.restart local v16 # "messageNameString":Ljava/lang/CharSequence;
.restart local v21 # "countString":Ljava/lang/String;
.restart local v22 # "mentionString":Ljava/lang/String;
const/high16 v2, 0x41400000 # 12.0f
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
sub-int v0, v3, v0
int-to-float v0, v0
sget-object v2, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;
invoke-static {v8, v10, v0, v2}, Landroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/text/TextUtils$TruncateAt;)Ljava/lang/CharSequence;
move-result-object v0
:try_end_10e4
.catch Ljava/lang/Exception; {:try_start_100f .. :try_end_10e4} :catch_10e7
move-object/from16 v4, v16
.restart local v0 # "messageStringFinal":Ljava/lang/CharSequence;
goto :goto_10f5
.line 1471
.end local v0 # "messageStringFinal":Ljava/lang/CharSequence;
:catch_10e7
move-exception v0
move-object/from16 v4, v16
goto/16 :goto_117f
.line 1457
.end local v16 # "messageNameString":Ljava/lang/CharSequence;
.end local v21 # "countString":Ljava/lang/String;
.end local v22 # "mentionString":Ljava/lang/String;
.restart local v4 # "messageNameString":Ljava/lang/CharSequence;
.restart local v6 # "countString":Ljava/lang/String;
.restart local v7 # "mentionString":Ljava/lang/String;
:cond_10ec
move-object/from16 v16, v4
move-object/from16 v21, v6
move-object/from16 v22, v7
.end local v4 # "messageNameString":Ljava/lang/CharSequence;
.end local v6 # "countString":Ljava/lang/String;
.end local v7 # "mentionString":Ljava/lang/String;
.restart local v16 # "messageNameString":Ljava/lang/CharSequence;
.restart local v21 # "countString":Ljava/lang/String;
.restart local v22 # "mentionString":Ljava/lang/String;
move-object v0, v8
move-object/from16 v4, v16
.line 1459
.end local v16 # "messageNameString":Ljava/lang/CharSequence;
.restart local v0 # "messageStringFinal":Ljava/lang/CharSequence;
.restart local v4 # "messageNameString":Ljava/lang/CharSequence;
:goto_10f5
:try_start_10f5
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v2, v2, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
instance-of v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$TL_messageMediaShareContact;
if-nez v2, :cond_1116
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v2, v2, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
instance-of v2, v2, Lim/tpelyyftgw/tgnet/TLRPCRedpacket$CL_messagesPayBillOverMedia;
if-nez v2, :cond_1116
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v2, v2, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$Message;->media:Lim/tpelyyftgw/tgnet/TLRPC$MessageMedia;
instance-of v2, v2, Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_messageMediaSysNotify;
if-eqz v2, :cond_1114
goto :goto_1116
:cond_1114
const/4 v6, 0x1
goto :goto_112e
.line 1460
:cond_1116
:goto_1116
new-instance v2, Landroid/text/TextPaint;
const/4 v6, 0x1
invoke-direct {v2, v6}, Landroid/text/TextPaint;-><init>(I)V
.line 1461
.local v2, "paint":Landroid/text/TextPaint;
invoke-virtual {v10}, Landroid/text/TextPaint;->getTextSize()F
move-result v7
invoke-virtual {v2, v7}, Landroid/text/TextPaint;->setTextSize(F)V
.line 1462
const-string v7, "#999999"
invoke-static {v7}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
move-result v7
invoke-virtual {v2, v7}, Landroid/text/TextPaint;->setColor(I)V
.line 1463
move-object v7, v2
.end local v10 # "currentMessagePaint":Landroid/text/TextPaint;
.local v7, "currentMessagePaint":Landroid/text/TextPaint;
move-object v10, v7
.line 1465
.end local v2 # "paint":Landroid/text/TextPaint;
.end local v7 # "currentMessagePaint":Landroid/text/TextPaint;
.restart local v10 # "currentMessagePaint":Landroid/text/TextPaint;
:goto_112e
iget-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v2, :cond_114f
sget-boolean v2, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v2, :cond_1137
goto :goto_114f
.line 1469
:cond_1137
new-instance v2, Landroid/text/StaticLayout;
sget-object v31, Landroid/text/Layout$Alignment;->ALIGN_NORMAL:Landroid/text/Layout$Alignment;
const/high16 v32, 0x3f800000 # 1.0f
const/16 v33, 0x0
const/16 v34, 0x0
move-object/from16 v27, v2
move-object/from16 v28, v0
move-object/from16 v29, v10
move/from16 v30, v3
invoke-direct/range {v27 .. v34}, Landroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/text/Layout$Alignment;FFZ)V
iput-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLayout:Landroid/text/StaticLayout;
goto :goto_1175
.line 1466
:cond_114f
:goto_114f
sget-object v30, Landroid/text/Layout$Alignment;->ALIGN_NORMAL:Landroid/text/Layout$Alignment;
const/high16 v31, 0x3f800000 # 1.0f
const/high16 v2, 0x3f800000 # 1.0f
.line 1467
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
int-to-float v2, v2
const/16 v33, 0x0
sget-object v34, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;
if-eqz v4, :cond_1163
const/16 v36, 0x1
goto :goto_1165
:cond_1163
const/16 v36, 0x2
.line 1466
:goto_1165
move-object/from16 v27, v0
move-object/from16 v28, v10
move/from16 v29, v3
move/from16 v32, v2
move/from16 v35, v3
invoke-static/range {v27 .. v36}, Lim/tpelyyftgw/ui/components/StaticLayoutEx;->createStaticLayout(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/text/Layout$Alignment;FFZLandroid/text/TextUtils$TruncateAt;II)Landroid/text/StaticLayout;
move-result-object v2
iput-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLayout:Landroid/text/StaticLayout;
:try_end_1175
.catch Ljava/lang/Exception; {:try_start_10f5 .. :try_end_1175} :catch_1176
.line 1473
.end local v0 # "messageStringFinal":Ljava/lang/CharSequence;
:goto_1175
goto :goto_1182
.line 1471
:catch_1176
move-exception v0
goto :goto_117f
.end local v21 # "countString":Ljava/lang/String;
.end local v22 # "mentionString":Ljava/lang/String;
.restart local v6 # "countString":Ljava/lang/String;
.local v7, "mentionString":Ljava/lang/String;
:catch_1178
move-exception v0
move-object/from16 v16, v4
move-object/from16 v21, v6
move-object/from16 v22, v7
.line 1472
.end local v6 # "countString":Ljava/lang/String;
.end local v7 # "mentionString":Ljava/lang/String;
.local v0, "e":Ljava/lang/Exception;
.restart local v21 # "countString":Ljava/lang/String;
.restart local v22 # "mentionString":Ljava/lang/String;
:goto_117f
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 1477
.end local v0 # "e":Ljava/lang/Exception;
:goto_1182
sget-boolean v0, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-eqz v0, :cond_12b7
.line 1478
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLayout:Landroid/text/StaticLayout;
if-eqz v0, :cond_123d
invoke-virtual {v0}, Landroid/text/StaticLayout;->getLineCount()I
move-result v0
if-lez v0, :cond_123d
.line 1479
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLayout:Landroid/text/StaticLayout;
const/4 v2, 0x0
invoke-virtual {v0, v2}, Landroid/text/StaticLayout;->getLineLeft(I)F
move-result v0
.line 1480
.local v0, "left":F
iget-object v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLayout:Landroid/text/StaticLayout;
invoke-virtual {v6, v2}, Landroid/text/StaticLayout;->getLineWidth(I)F
move-result v6
float-to-double v6, v6
invoke-static {v6, v7}, Ljava/lang/Math;->ceil(D)D
move-result-wide v6
.line 1481
.local v6, "widthpx":D
iget-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogMuted:Z
if-eqz v2, :cond_11d3
iget-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawVerifiedIcon:Z
if-nez v2, :cond_11d3
iget-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawScam:Z
if-nez v2, :cond_11d3
.line 1482
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
int-to-double v12, v2
move-object v2, v8
.end local v8 # "messageString":Ljava/lang/CharSequence;
.local v2, "messageString":Ljava/lang/CharSequence;
int-to-double v8, v5
invoke-static {v8, v9}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v8, v6
invoke-static {v12, v13}, Ljava/lang/Double;->isNaN(D)Z
add-double/2addr v12, v8
invoke-static/range {v25 .. v25}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v8
int-to-double v8, v8
invoke-static {v8, v9}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v12, v8
sget-object v8, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_muteDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v8}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I
move-result v8
int-to-double v8, v8
invoke-static {v8, v9}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v12, v8
double-to-int v8, v12
iput v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameMuteLeft:I
goto :goto_1223
.line 1481
.end local v2 # "messageString":Ljava/lang/CharSequence;
.restart local v8 # "messageString":Ljava/lang/CharSequence;
:cond_11d3
move-object v2, v8
.line 1483
.end local v8 # "messageString":Ljava/lang/CharSequence;
.restart local v2 # "messageString":Ljava/lang/CharSequence;
iget-boolean v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawVerifiedIcon:Z
if-eqz v8, :cond_11fc
.line 1484
iget v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
int-to-double v8, v8
int-to-double v12, v5
invoke-static {v12, v13}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v12, v6
invoke-static {v8, v9}, Ljava/lang/Double;->isNaN(D)Z
add-double/2addr v8, v12
invoke-static/range {v25 .. v25}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
int-to-double v12, v12
invoke-static {v12, v13}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v8, v12
sget-object v12, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_verifiedDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v12}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I
move-result v12
int-to-double v12, v12
invoke-static {v12, v13}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v8, v12
double-to-int v8, v8
iput v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameMuteLeft:I
goto :goto_1223
.line 1485
:cond_11fc
iget-boolean v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawScam:Z
if-eqz v8, :cond_1223
.line 1486
iget v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
int-to-double v8, v8
int-to-double v12, v5
invoke-static {v12, v13}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v12, v6
invoke-static {v8, v9}, Ljava/lang/Double;->isNaN(D)Z
add-double/2addr v8, v12
invoke-static/range {v25 .. v25}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
int-to-double v12, v12
invoke-static {v12, v13}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v8, v12
sget-object v12, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_scamDrawable:Lim/tpelyyftgw/ui/components/ScamDrawable;
invoke-virtual {v12}, Lim/tpelyyftgw/ui/components/ScamDrawable;->getIntrinsicWidth()I
move-result v12
int-to-double v12, v12
invoke-static {v12, v13}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v8, v12
double-to-int v8, v8
iput v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameMuteLeft:I
.line 1488
:cond_1223
:goto_1223
const/4 v8, 0x0
cmpl-float v9, v0, v8
if-nez v9, :cond_123e
.line 1489
int-to-double v8, v5
cmpg-double v12, v6, v8
if-gez v12, :cond_123e
.line 1490
iget v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
int-to-double v8, v8
int-to-double v12, v5
invoke-static {v12, v13}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v12, v6
invoke-static {v8, v9}, Ljava/lang/Double;->isNaN(D)Z
add-double/2addr v8, v12
double-to-int v8, v8
iput v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
goto :goto_123e
.line 1478
.end local v0 # "left":F
.end local v2 # "messageString":Ljava/lang/CharSequence;
.end local v6 # "widthpx":D
.restart local v8 # "messageString":Ljava/lang/CharSequence;
:cond_123d
move-object v2, v8
.line 1494
.end local v8 # "messageString":Ljava/lang/CharSequence;
.restart local v2 # "messageString":Ljava/lang/CharSequence;
:cond_123e
:goto_123e
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLayout:Landroid/text/StaticLayout;
if-eqz v0, :cond_1280
.line 1495
invoke-virtual {v0}, Landroid/text/StaticLayout;->getLineCount()I
move-result v0
.line 1496
.local v0, "lineCount":I
if-lez v0, :cond_1280
.line 1497
const v6, 0x7fffffff
.line 1498
.local v6, "w":I
const/4 v7, 0x0
.local v7, "a":I
:goto_124c
if-ge v7, v0, :cond_1276
.line 1499
iget-object v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLayout:Landroid/text/StaticLayout;
invoke-virtual {v8, v7}, Landroid/text/StaticLayout;->getLineLeft(I)F
move-result v8
.line 1500
.local v8, "left":F
const/4 v9, 0x0
cmpl-float v12, v8, v9
if-nez v12, :cond_1273
.line 1501
iget-object v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLayout:Landroid/text/StaticLayout;
invoke-virtual {v9, v7}, Landroid/text/StaticLayout;->getLineWidth(I)F
move-result v9
float-to-double v12, v9
invoke-static {v12, v13}, Ljava/lang/Math;->ceil(D)D
move-result-wide v12
.line 1502
.local v12, "widthpx":D
move/from16 v16, v8
.end local v8 # "left":F
.local v16, "left":F
int-to-double v8, v3
invoke-static {v8, v9}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v8, v12
double-to-int v8, v8
invoke-static {v6, v8}, Ljava/lang/Math;->min(II)I
move-result v6
.line 1498
add-int/lit8 v7, v7, 0x1
goto :goto_124c
.line 1504
.end local v12 # "widthpx":D
.end local v16 # "left":F
.restart local v8 # "left":F
:cond_1273
move/from16 v16, v8
.end local v8 # "left":F
.restart local v16 # "left":F
const/4 v6, 0x0
.line 1508
.end local v7 # "a":I
.end local v16 # "left":F
:cond_1276
const v7, 0x7fffffff
if-eq v6, v7, :cond_1280
.line 1509
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
add-int/2addr v7, v6
iput v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
.line 1513
.end local v0 # "lineCount":I
.end local v6 # "w":I
:cond_1280
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLayout:Landroid/text/StaticLayout;
if-eqz v0, :cond_1341
invoke-virtual {v0}, Landroid/text/StaticLayout;->getLineCount()I
move-result v0
if-lez v0, :cond_1341
.line 1514
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLayout:Landroid/text/StaticLayout;
const/4 v6, 0x0
invoke-virtual {v0, v6}, Landroid/text/StaticLayout;->getLineLeft(I)F
move-result v0
.line 1515
.local v0, "left":F
const/4 v7, 0x0
cmpl-float v7, v0, v7
if-nez v7, :cond_1341
.line 1516
iget-object v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLayout:Landroid/text/StaticLayout;
invoke-virtual {v7, v6}, Landroid/text/StaticLayout;->getLineWidth(I)F
move-result v6
float-to-double v6, v6
invoke-static {v6, v7}, Ljava/lang/Math;->ceil(D)D
move-result-wide v6
.line 1517
.local v6, "widthpx":D
int-to-double v8, v3
cmpg-double v12, v6, v8
if-gez v12, :cond_1341
.line 1518
iget v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
int-to-double v8, v8
int-to-double v12, v3
invoke-static {v12, v13}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v12, v6
invoke-static {v8, v9}, Ljava/lang/Double;->isNaN(D)Z
add-double/2addr v8, v12
double-to-int v8, v8
iput v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
goto/16 :goto_1341
.line 1523
.end local v0 # "left":F
.end local v2 # "messageString":Ljava/lang/CharSequence;
.end local v6 # "widthpx":D
.local v8, "messageString":Ljava/lang/CharSequence;
:cond_12b7
move-object v2, v8
.end local v8 # "messageString":Ljava/lang/CharSequence;
.restart local v2 # "messageString":Ljava/lang/CharSequence;
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLayout:Landroid/text/StaticLayout;
if-eqz v0, :cond_1306
invoke-virtual {v0}, Landroid/text/StaticLayout;->getLineCount()I
move-result v0
if-lez v0, :cond_1306
.line 1524
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLayout:Landroid/text/StaticLayout;
const/4 v6, 0x0
invoke-virtual {v0, v6}, Landroid/text/StaticLayout;->getLineRight(I)F
move-result v0
.line 1525
.restart local v0 # "left":F
int-to-float v7, v5
cmpl-float v7, v0, v7
if-nez v7, :cond_12ed
.line 1526
iget-object v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLayout:Landroid/text/StaticLayout;
invoke-virtual {v7, v6}, Landroid/text/StaticLayout;->getLineWidth(I)F
move-result v7
float-to-double v6, v7
invoke-static {v6, v7}, Ljava/lang/Math;->ceil(D)D
move-result-wide v6
.line 1527
.restart local v6 # "widthpx":D
int-to-double v8, v5
cmpg-double v12, v6, v8
if-gez v12, :cond_12ed
.line 1528
iget v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
int-to-double v8, v8
int-to-double v12, v5
invoke-static {v12, v13}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v12, v6
invoke-static {v8, v9}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v8, v12
double-to-int v8, v8
iput v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
.line 1531
.end local v6 # "widthpx":D
:cond_12ed
iget-boolean v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogMuted:Z
if-nez v6, :cond_12f9
iget-boolean v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawVerifiedIcon:Z
if-nez v6, :cond_12f9
iget-boolean v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawScam:Z
if-eqz v6, :cond_1306
.line 1532
:cond_12f9
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
int-to-float v6, v6
add-float/2addr v6, v0
invoke-static/range {v25 .. v25}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v7
int-to-float v7, v7
add-float/2addr v6, v7
float-to-int v6, v6
iput v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameMuteLeft:I
.line 1535
.end local v0 # "left":F
:cond_1306
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLayout:Landroid/text/StaticLayout;
if-eqz v0, :cond_1329
.line 1536
invoke-virtual {v0}, Landroid/text/StaticLayout;->getLineCount()I
move-result v0
.line 1537
.local v0, "lineCount":I
if-lez v0, :cond_1329
.line 1538
const/high16 v6, 0x4f000000
.line 1539
.local v6, "left":F
const/4 v7, 0x0
.restart local v7 # "a":I
:goto_1313
if-ge v7, v0, :cond_1322
.line 1540
iget-object v8, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLayout:Landroid/text/StaticLayout;
invoke-virtual {v8, v7}, Landroid/text/StaticLayout;->getLineLeft(I)F
move-result v8
invoke-static {v6, v8}, Ljava/lang/Math;->min(FF)F
move-result v6
.line 1539
add-int/lit8 v7, v7, 0x1
goto :goto_1313
.line 1542
.end local v7 # "a":I
:cond_1322
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
int-to-float v7, v7
sub-float/2addr v7, v6
float-to-int v7, v7
iput v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
.line 1545
.end local v0 # "lineCount":I
.end local v6 # "left":F
:cond_1329
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLayout:Landroid/text/StaticLayout;
if-eqz v0, :cond_1341
invoke-virtual {v0}, Landroid/text/StaticLayout;->getLineCount()I
move-result v0
if-lez v0, :cond_1341
.line 1546
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
int-to-float v0, v0
iget-object v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLayout:Landroid/text/StaticLayout;
const/4 v7, 0x0
invoke-virtual {v6, v7}, Landroid/text/StaticLayout;->getLineLeft(I)F
move-result v6
sub-float/2addr v0, v6
float-to-int v0, v0
iput v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
.line 1549
:cond_1341
:goto_1341
return-void
:pswitch_data_1342
.packed-switch 0x4
:pswitch_10a6
:pswitch_1088
:pswitch_106a
:pswitch_104d
:pswitch_102e
:pswitch_100f
.end packed-switch
.end method
.method public checkCurrentDialogIndex(Z)V
.registers 14
.param p1, "frozen" # Z
.line 1573
iget v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
iget v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogsType:I
iget v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->folderId:I
invoke-static {v0, v1, v2, p1}, Lim/tpelyyftgw/ui/fragments/DialogsFragment;->getDialogsArray(IIIZ)Ljava/util/ArrayList;
move-result-object v0
.line 1574
.local v0, "dialogsArray":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Dialog;>;"
iget v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->index:I
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v2
if-ge v1, v2, :cond_f2
.line 1575
iget v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->index:I
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
.line 1576
.local v1, "dialog":Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
iget v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->index:I
const/4 v3, 0x1
add-int/2addr v2, v3
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v4
if-ge v2, v4, :cond_2e
iget v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->index:I
add-int/2addr v2, v3
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
goto :goto_2f
:cond_2e
const/4 v2, 0x0
.line 1577
.local v2, "nextDialog":Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
:goto_2f
iget v4, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v4}, Lim/tpelyyftgw/messenger/MediaDataController;->getInstance(I)Lim/tpelyyftgw/messenger/MediaDataController;
move-result-object v4
iget-wide v5, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
invoke-virtual {v4, v5, v6}, Lim/tpelyyftgw/messenger/MediaDataController;->getDraft(J)Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
move-result-object v4
.line 1579
.local v4, "newDraftMessage":Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
iget v5, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v5, :cond_44
.line 1580
invoke-direct {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->findFolderTopMessage()Lim/tpelyyftgw/messenger/MessageObject;
move-result-object v5
.local v5, "newMessageObject":Lim/tpelyyftgw/messenger/MessageObject;
goto :goto_59
.line 1582
.end local v5 # "newMessageObject":Lim/tpelyyftgw/messenger/MessageObject;
:cond_44
iget v5, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v5}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v5
iget-object v5, v5, Lim/tpelyyftgw/messenger/MessagesController;->dialogMessage:Landroid/util/LongSparseArray;
iget-wide v6, v1, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->id:J
invoke-virtual {v5, v6, v7}, Landroid/util/LongSparseArray;->get(J)Ljava/lang/Object;
move-result-object v5
check-cast v5, Lim/tpelyyftgw/messenger/MessageObject;
.line 1583
.restart local v5 # "newMessageObject":Lim/tpelyyftgw/messenger/MessageObject;
if-eqz v5, :cond_59
.line 1584
invoke-virtual {v5}, Lim/tpelyyftgw/messenger/MessageObject;->generateCaption()V
.line 1587
:cond_59
:goto_59
iget-wide v6, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
iget-wide v8, v1, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->id:J
cmp-long v10, v6, v8
if-nez v10, :cond_9b
iget-object v6, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-eqz v6, :cond_6d
.line 1588
invoke-virtual {v6}, Lim/tpelyyftgw/messenger/MessageObject;->getId()I
move-result v6
iget v7, v1, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->top_message:I
if-ne v6, v7, :cond_9b
:cond_6d
if-eqz v5, :cond_77
iget-object v6, v5, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget v6, v6, Lim/tpelyyftgw/tgnet/TLRPC$Message;->edit_date:I
iget v7, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentEditDate:I
if-ne v6, v7, :cond_9b
:cond_77
iget v6, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->unreadCount:I
iget v7, v1, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->unread_count:I
if-ne v6, v7, :cond_9b
iget v6, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionCount:I
iget v7, v1, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->unread_mentions_count:I
if-ne v6, v7, :cond_9b
iget-boolean v6, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->markUnread:Z
iget-boolean v7, v1, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->unread_mark:Z
if-ne v6, v7, :cond_9b
iget-object v6, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-ne v6, v5, :cond_9b
if-nez v6, :cond_91
if-nez v5, :cond_9b
:cond_91
iget-object v6, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->draftMessage:Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
if-ne v4, v6, :cond_9b
iget-boolean v6, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinIcon:Z
iget-boolean v7, v1, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->pinned:Z
if-eq v6, v7, :cond_f2
.line 1595
:cond_9b
iget-wide v6, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
iget-wide v8, v1, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->id:J
const/4 v10, 0x0
cmp-long v11, v6, v8
if-eqz v11, :cond_a6
const/4 v6, 0x1
goto :goto_a7
:cond_a6
const/4 v6, 0x0
.line 1596
.local v6, "dialogChanged":Z
:goto_a7
iget-wide v7, v1, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->id:J
iput-wide v7, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
.line 1597
instance-of v7, v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_dialogFolder;
if-eqz v7, :cond_b9
.line 1598
move-object v7, v1
check-cast v7, Lim/tpelyyftgw/tgnet/TLRPC$TL_dialogFolder;
.line 1599
.local v7, "dialogFolder":Lim/tpelyyftgw/tgnet/TLRPC$TL_dialogFolder;
iget-object v8, v7, Lim/tpelyyftgw/tgnet/TLRPC$TL_dialogFolder;->folder:Lim/tpelyyftgw/tgnet/TLRPC$TL_folder;
iget v8, v8, Lim/tpelyyftgw/tgnet/TLRPC$TL_folder;->id:I
iput v8, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
.line 1600
.end local v7 # "dialogFolder":Lim/tpelyyftgw/tgnet/TLRPC$TL_dialogFolder;
goto :goto_bb
.line 1601
:cond_b9
iput v10, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
.line 1603
:goto_bb
instance-of v7, v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_dialog;
if-eqz v7, :cond_cb
iget-boolean v7, v1, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->pinned:Z
if-eqz v7, :cond_cb
if-eqz v2, :cond_cb
iget-boolean v7, v2, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->pinned:Z
if-nez v7, :cond_cb
const/4 v7, 0x1
goto :goto_cc
:cond_cb
const/4 v7, 0x0
:goto_cc
iput-boolean v7, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->fullSeparator:Z
.line 1604
instance-of v7, v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_dialogFolder;
if-eqz v7, :cond_d9
if-eqz v2, :cond_d9
iget-boolean v7, v2, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->pinned:Z
if-nez v7, :cond_d9
goto :goto_da
:cond_d9
const/4 v3, 0x0
:goto_da
iput-boolean v3, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->fullSeparator2:Z
.line 1605
invoke-virtual {p0, v10}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->update(I)V
.line 1606
if-eqz v6, :cond_ef
.line 1607
iget-boolean v3, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinIcon:Z
if-eqz v3, :cond_ec
iget-boolean v3, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawReorder:Z
if-eqz v3, :cond_ec
const/high16 v3, 0x3f800000 # 1.0f
goto :goto_ed
:cond_ec
const/4 v3, 0x0
:goto_ed
iput v3, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
.line 1609
:cond_ef
invoke-direct {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkOnline()V
.line 1612
.end local v1 # "dialog":Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
.end local v2 # "nextDialog":Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
.end local v4 # "newDraftMessage":Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
.end local v5 # "newMessageObject":Lim/tpelyyftgw/messenger/MessageObject;
.end local v6 # "dialogChanged":Z
:cond_f2
return-void
.end method
.method public close()V
.registers 3
.line 388
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mDragHelper:Landroidx/customview/widget/ViewDragHelper;
const/4 v1, 0x0
invoke-virtual {v0, p0, v1, v1}, Landroidx/customview/widget/ViewDragHelper;->smoothSlideViewTo(Landroid/view/View;II)Z
.line 389
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->invalidate()V
.line 390
return-void
.end method
.method public computeScroll()V
.registers 3
.line 367
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->invalidate()V
.line 368
invoke-super {p0}, Lim/tpelyyftgw/ui/cells/BaseCell;->computeScroll()V
.line 369
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mDragHelper:Landroidx/customview/widget/ViewDragHelper;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Landroidx/customview/widget/ViewDragHelper;->continueSettling(Z)Z
move-result v0
if-eqz v0, :cond_12
.line 370
invoke-static {p0}, Landroidx/core/view/ViewCompat;->postInvalidateOnAnimation(Landroid/view/View;)V
.line 372
:cond_12
return-void
.end method
.method public drawCheckBox(Landroid/graphics/Canvas;)V
.registers 4
.param p1, "canvas" # Landroid/graphics/Canvas;
.line 1813
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBoxBase;
if-eqz v0, :cond_20
iget-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxVisible:Z
if-nez v0, :cond_c
iget-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationInProgress:Z
if-eqz v0, :cond_20
.line 1814
:cond_c
invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I
.line 1815
const/4 v0, 0x0
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getTop()I
move-result v1
int-to-float v1, v1
invoke-virtual {p1, v0, v1}, Landroid/graphics/Canvas;->translate(FF)V
.line 1816
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBoxBase;
invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/components/CheckBoxBase;->draw(Landroid/graphics/Canvas;)V
.line 1817
invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V
.line 1819
:cond_20
return-void
.end method
.method public getClipProgress()F
.registers 2
.line 2416
iget v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clipProgress:F
return v0
.end method
.method public getDialogId()J
.registers 3
.line 503
iget-wide v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
return-wide v0
.end method
.method public getDialogIndex()I
.registers 2
.line 496
iget v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->index:I
return v0
.end method
.method public getMessageId()I
.registers 2
.line 510
iget v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageId:I
return v0
.end method
.method public hasOverlappingRendering()Z
.registers 2
.line 2328
const/4 v0, 0x0
return v0
.end method
.method public invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
.registers 3
.param p1, "who" # Landroid/graphics/drawable/Drawable;
.line 2319
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationDrawable:Lim/tpelyyftgw/ui/components/RLottieDrawable;
if-eq p1, v0, :cond_d
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_archiveAvatarDrawable:Lim/tpelyyftgw/ui/components/RLottieDrawable;
if-ne p1, v0, :cond_9
goto :goto_d
.line 2322
:cond_9
invoke-super {p0, p1}, Lim/tpelyyftgw/ui/cells/BaseCell;->invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
goto :goto_14
.line 2320
:cond_d
:goto_d
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getBounds()Landroid/graphics/Rect;
move-result-object v0
invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->invalidate(Landroid/graphics/Rect;)V
.line 2324
:goto_14
return-void
.end method
.method public isPinned()Z
.registers 2
.line 524
iget-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinIcon:Z
return v0
.end method
.method public isPointInsideAvatar(FF)Z
.registers 7
.param p1, "x" # F
.param p2, "y" # F
.line 1555
sget-boolean v0, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
const/4 v1, 0x1
const/4 v2, 0x0
const/high16 v3, 0x42700000 # 60.0f
if-nez v0, :cond_19
.line 1556
const/4 v0, 0x0
cmpl-float v0, p1, v0
if-ltz v0, :cond_17
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
int-to-float v0, v0
cmpg-float v0, p1, v0
if-gez v0, :cond_17
goto :goto_18
:cond_17
const/4 v1, 0x0
:goto_18
return v1
.line 1558
:cond_19
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v0
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
sub-int/2addr v0, v3
int-to-float v0, v0
cmpl-float v0, p1, v0
if-ltz v0, :cond_31
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v0
int-to-float v0, v0
cmpg-float v0, p1, v0
if-gez v0, :cond_31
goto :goto_32
:cond_31
const/4 v1, 0x0
:goto_32
return v1
.end method
.method public isUnread()Z
.registers 2
.line 517
iget v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->unreadCount:I
if-nez v0, :cond_8
iget-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->markUnread:Z
if-eqz v0, :cond_e
:cond_8
iget-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogMuted:Z
if-nez v0, :cond_e
const/4 v0, 0x1
goto :goto_f
:cond_e
const/4 v0, 0x0
:goto_f
return v0
.end method
.method protected onAttachedToWindow()V
.registers 5
.line 551
invoke-super {p0}, Lim/tpelyyftgw/ui/cells/BaseCell;->onAttachedToWindow()V
.line 552
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
invoke-virtual {v0}, Lim/tpelyyftgw/messenger/ImageReceiver;->onAttachedToWindow()Z
.line 553
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBoxBase;
if-eqz v0, :cond_f
.line 554
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/CheckBoxBase;->onAttachedToWindow()V
.line 556
:cond_f
sget-boolean v0, Lim/tpelyyftgw/messenger/SharedConfig;->archiveHidden:Z
iput-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->archiveHidden:Z
.line 557
const/high16 v1, 0x3f800000 # 1.0f
const/4 v2, 0x0
if-eqz v0, :cond_1a
const/4 v0, 0x0
goto :goto_1c
:cond_1a
const/high16 v0, 0x3f800000 # 1.0f
:goto_1c
iput v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->archiveBackgroundProgress:F
.line 558
iget-object v3, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
invoke-virtual {v3, v0}, Lim/tpelyyftgw/ui/components/AvatarDrawable;->setArchivedAvatarHiddenProgress(F)V
.line 559
iput v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clipProgress:F
.line 560
const/4 v0, 0x0
iput-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isSliding:Z
.line 561
iget-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinIcon:Z
if-eqz v0, :cond_31
iget-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawReorder:Z
if-eqz v0, :cond_31
goto :goto_32
:cond_31
const/4 v1, 0x0
:goto_32
iput v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
.line 562
const/4 v0, 0x1
iput-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->attachedToWindow:Z
.line 563
iput v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->cornerProgress:F
.line 564
invoke-virtual {p0, v2}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setTranslationX(F)V
.line 565
invoke-virtual {p0, v2}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setTranslationY(F)V
.line 566
return-void
.end method
.method protected onDetachedFromWindow()V
.registers 4
.line 530
invoke-super {p0}, Lim/tpelyyftgw/ui/cells/BaseCell;->onDetachedFromWindow()V
.line 531
const/4 v0, 0x0
iput-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isSliding:Z
.line 532
iput-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawRevealBackground:Z
.line 533
const/4 v1, 0x0
iput v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealProgress:F
.line 534
iput-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->attachedToWindow:Z
.line 535
iget-boolean v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinIcon:Z
if-eqz v2, :cond_18
iget-boolean v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawReorder:Z
if-eqz v2, :cond_18
const/high16 v2, 0x3f800000 # 1.0f
goto :goto_19
:cond_18
const/4 v2, 0x0
:goto_19
iput v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
.line 536
iget-object v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
invoke-virtual {v2}, Lim/tpelyyftgw/messenger/ImageReceiver;->onDetachedFromWindow()V
.line 537
iget-object v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationDrawable:Lim/tpelyyftgw/ui/components/RLottieDrawable;
if-eqz v2, :cond_36
.line 538
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->stop()V
.line 539
iget-object v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationDrawable:Lim/tpelyyftgw/ui/components/RLottieDrawable;
invoke-virtual {v2, v1}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->setProgress(F)V
.line 540
iget-object v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationDrawable:Lim/tpelyyftgw/ui/components/RLottieDrawable;
const/4 v2, 0x0
invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
.line 541
iput-object v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationDrawable:Lim/tpelyyftgw/ui/components/RLottieDrawable;
.line 542
iput-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationAnimationStarted:Z
.line 544
:cond_36
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBoxBase;
if-eqz v0, :cond_3d
.line 545
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/CheckBoxBase;->onDetachedFromWindow()V
.line 547
:cond_3d
return-void
.end method
.method protected onDraw(Landroid/graphics/Canvas;)V
.registers 25
.param p1, "canvas" # Landroid/graphics/Canvas;
.line 1826
move-object/from16 v1, p0
move-object/from16 v8, p1
iget-wide v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
const-wide/16 v4, 0x0
cmp-long v0, v2, v4
if-nez v0, :cond_d
.line 1827
return-void
.line 1830
:cond_d
const/4 v0, 0x0
.line 1832
.local v0, "needInvalidate":Z
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v9
.line 1833
.local v9, "newTime":J
iget-wide v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastUpdateTime:J
sub-long v2, v9, v2
.line 1834
.local v2, "dt":J
const-wide/16 v4, 0x11
cmp-long v6, v2, v4
if-lez v6, :cond_20
.line 1835
const-wide/16 v2, 0x11
move-wide v11, v2
goto :goto_21
.line 1834
:cond_20
move-wide v11, v2
.line 1837
.end local v2 # "dt":J
.local v11, "dt":J
:goto_21
iput-wide v9, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastUpdateTime:J
.line 1839
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clipProgress:F
const/16 v13, 0x18
const/4 v14, 0x0
cmpl-float v2, v2, v14
if-eqz v2, :cond_50
sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
if-eq v2, v13, :cond_50
.line 1840
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->save()I
.line 1841
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topClip:I
int-to-float v2, v2
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clipProgress:F
mul-float v2, v2, v3
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v3
int-to-float v3, v3
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v4
iget v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->bottomClip:I
int-to-float v5, v5
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clipProgress:F
mul-float v5, v5, v6
float-to-int v5, v5
sub-int/2addr v4, v5
int-to-float v4, v4
invoke-virtual {v8, v14, v2, v3, v4}, Landroid/graphics/Canvas;->clipRect(FFFF)Z
.line 1844
:cond_50
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationDrawable:Lim/tpelyyftgw/ui/components/RLottieDrawable;
const/4 v15, 0x0
if-eqz v2, :cond_67
.line 1845
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->stop()V
.line 1846
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationDrawable:Lim/tpelyyftgw/ui/components/RLottieDrawable;
invoke-virtual {v2, v14}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->setProgress(F)V
.line 1847
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationDrawable:Lim/tpelyyftgw/ui/components/RLottieDrawable;
const/4 v3, 0x0
invoke-virtual {v2, v3}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
.line 1848
iput-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationDrawable:Lim/tpelyyftgw/ui/components/RLottieDrawable;
.line 1849
iput-boolean v15, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationAnimationStarted:Z
.line 1852
:cond_67
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationX:F
cmpl-float v2, v2, v14
if-eqz v2, :cond_75
.line 1853
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->save()I
.line 1854
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationX:F
invoke-virtual {v8, v2, v14}, Landroid/graphics/Canvas;->translate(FF)V
.line 1857
:cond_75
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBoxBase;
const/high16 v7, 0x3f800000 # 1.0f
if-eqz v2, :cond_15a
iget-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxVisible:Z
if-nez v2, :cond_83
iget-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationInProgress:Z
if-eqz v2, :cond_15a
.line 1858
:cond_83
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->save()I
.line 1859
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getTop()I
move-result v2
int-to-float v2, v2
invoke-virtual {v8, v14, v2}, Landroid/graphics/Canvas;->translate(FF)V
.line 1860
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBoxBase;
invoke-virtual {v2, v8}, Lim/tpelyyftgw/ui/components/CheckBoxBase;->draw(Landroid/graphics/Canvas;)V
.line 1861
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->restore()V
.line 1862
const/high16 v2, 0x41a00000 # 20.0f
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
.line 1864
.local v2, "size":I
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxVisible:Z
if-eqz v3, :cond_a6
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationProgress:F
cmpl-float v3, v3, v7
if-eqz v3, :cond_b0
:cond_a6
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxVisible:Z
if-nez v3, :cond_b2
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationProgress:F
cmpl-float v3, v3, v14
if-nez v3, :cond_b2
.line 1865
:cond_b0
iput-boolean v15, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationInProgress:Z
.line 1867
:cond_b2
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxVisible:Z
if-eqz v3, :cond_b9
sget-object v3, Lim/tpelyyftgw/ui/components/CubicBezierInterpolator;->EASE_OUT:Lim/tpelyyftgw/ui/components/CubicBezierInterpolator;
goto :goto_bb
:cond_b9
sget-object v3, Lim/tpelyyftgw/ui/components/CubicBezierInterpolator;->EASE_IN:Lim/tpelyyftgw/ui/components/CubicBezierInterpolator;
.line 1868
.local v3, "interpolator":Landroid/view/animation/Interpolator;
:goto_bb
iget v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationProgress:F
invoke-interface {v3, v4}, Landroid/view/animation/Interpolator;->getInterpolation(F)F
move-result v4
const/high16 v5, 0x41c80000 # 25.0f
invoke-static {v5}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v5
int-to-float v5, v5
mul-float v4, v4, v5
float-to-double v4, v4
invoke-static {v4, v5}, Ljava/lang/Math;->ceil(D)D
move-result-wide v4
double-to-int v4, v4
iput v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxTranslation:I
.line 1869
int-to-float v4, v4
invoke-virtual {v1, v4}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setTranslationX(F)V
.line 1870
const/high16 v4, -0x3e100000 # -30.0f
invoke-static {v4}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v4
iget v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxTranslation:I
add-int/2addr v4, v5
.line 1871
.local v4, "x":I
iget v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->position:I
const/4 v6, 0x2
if-ne v5, v6, :cond_10e
.line 1872
new-instance v5, Ljava/lang/StringBuilder;
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
const-string v13, "checkBoxAnimationProgress = "
invoke-virtual {v5, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationProgress:F
invoke-virtual {v5, v13}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;
const-string v13, " , checkBoxTranslation = "
invoke-virtual {v5, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxTranslation:I
invoke-virtual {v5, v13}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v13, " , x = "
invoke-virtual {v5, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
const-string v13, "mmm"
invoke-static {v13, v5}, Lcom/google/android/exoplayer2/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)V
.line 1874
:cond_10e
iget-object v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBoxBase;
const/high16 v13, -0x3de00000 # -40.0f
invoke-static {v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
iget v15, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxTranslation:I
add-int/2addr v13, v15
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v15
div-int/2addr v15, v6
div-int/lit8 v6, v2, 0x2
sub-int/2addr v15, v6
invoke-virtual {v5, v13, v15, v2, v2}, Lim/tpelyyftgw/ui/components/CheckBoxBase;->setBounds(IIII)V
.line 1876
iget-boolean v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationInProgress:Z
if-eqz v5, :cond_15a
.line 1877
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v5
.line 1878
.local v5, "newTime1":J
iget-wide v14, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastCheckBoxAnimationTime:J
sub-long v14, v5, v14
.line 1879
.local v14, "dt1":J
iput-wide v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastCheckBoxAnimationTime:J
.line 1881
iget-boolean v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxVisible:Z
const/high16 v17, 0x43480000 # 200.0f
if-eqz v13, :cond_14a
.line 1882
iget v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationProgress:F
long-to-float v7, v14
div-float v7, v7, v17
add-float/2addr v13, v7
iput v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationProgress:F
.line 1883
const/high16 v7, 0x3f800000 # 1.0f
cmpl-float v13, v13, v7
if-lez v13, :cond_148
.line 1884
iput v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationProgress:F
.line 1886
:cond_148
const/4 v0, 0x1
goto :goto_15a
.line 1888
:cond_14a
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationProgress:F
long-to-float v13, v11
div-float v13, v13, v17
sub-float/2addr v7, v13
iput v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationProgress:F
.line 1889
const/4 v13, 0x0
cmpg-float v7, v7, v13
if-gtz v7, :cond_159
.line 1890
iput v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationProgress:F
.line 1892
:cond_159
const/4 v0, 0x1
.line 1897
.end local v2 # "size":I
.end local v3 # "interpolator":Landroid/view/animation/Interpolator;
.end local v4 # "x":I
.end local v5 # "newTime1":J
.end local v14 # "dt1":J
:cond_15a
:goto_15a
nop
.line 1901
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
const-string v14, "chats_pinnedOverlay"
if-eqz v2, :cond_199
sget-boolean v2, Lim/tpelyyftgw/messenger/SharedConfig;->archiveHidden:Z
if-eqz v2, :cond_170
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->archiveBackgroundProgress:F
const/4 v3, 0x0
cmpl-float v2, v2, v3
if-eqz v2, :cond_16d
goto :goto_170
:cond_16d
const/high16 v13, 0x3f800000 # 1.0f
goto :goto_19b
.line 1902
:cond_170
:goto_170
sget-object v2, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedPaint:Landroid/graphics/Paint;
invoke-static {v14}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v3
iget v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->archiveBackgroundProgress:F
const/4 v5, 0x0
const/high16 v7, 0x3f800000 # 1.0f
invoke-static {v5, v3, v4, v7}, Lim/tpelyyftgw/messenger/AndroidUtilities;->getOffsetColor(IIFF)I
move-result v3
invoke-virtual {v2, v3}, Landroid/graphics/Paint;->setColor(I)V
.line 1904
const/4 v3, 0x0
const/4 v4, 0x0
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v2
int-to-float v5, v2
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v2
int-to-float v6, v2
sget-object v15, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedPaint:Landroid/graphics/Paint;
move-object/from16 v2, p1
const/high16 v13, 0x3f800000 # 1.0f
move-object v7, v15
invoke-virtual/range {v2 .. v7}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
goto :goto_19d
.line 1901
:cond_199
const/high16 v13, 0x3f800000 # 1.0f
.line 1905
:goto_19b
iget-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinIcon:Z
.line 1910
:goto_19d
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationX:F
const-string/jumbo v15, "windowBackgroundWhite"
const/high16 v3, 0x41000000 # 8.0f
const/4 v4, 0x0
cmpl-float v2, v2, v4
if-nez v2, :cond_1af
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->cornerProgress:F
cmpl-float v2, v2, v4
if-eqz v2, :cond_256
.line 1911
:cond_1af
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->save()I
.line 1913
sget-object v2, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedPaint:Landroid/graphics/Paint;
invoke-static {v15}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v5
invoke-virtual {v2, v5}, Landroid/graphics/Paint;->setColor(I)V
.line 1914
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->rect:Landroid/graphics/RectF;
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v5
const/high16 v6, 0x42800000 # 64.0f
invoke-static {v6}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
sub-int/2addr v5, v6
int-to-float v5, v5
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v6
int-to-float v6, v6
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v7
int-to-float v7, v7
const/4 v4, 0x0
invoke-virtual {v2, v5, v4, v6, v7}, Landroid/graphics/RectF;->set(FFFF)V
.line 1915
iget-object v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->rect:Landroid/graphics/RectF;
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v5
int-to-float v5, v5
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->cornerProgress:F
mul-float v5, v5, v6
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
int-to-float v6, v6
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->cornerProgress:F
mul-float v6, v6, v7
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedPaint:Landroid/graphics/Paint;
invoke-virtual {v8, v4, v5, v6, v7}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V
.line 1917
iget v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v4, :cond_229
sget-boolean v4, Lim/tpelyyftgw/messenger/SharedConfig;->archiveHidden:Z
if-eqz v4, :cond_1ff
iget v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->archiveBackgroundProgress:F
const/4 v2, 0x0
cmpl-float v4, v4, v2
if-eqz v4, :cond_229
.line 1918
:cond_1ff
sget-object v4, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedPaint:Landroid/graphics/Paint;
invoke-static {v14}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v5
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->archiveBackgroundProgress:F
const/4 v7, 0x0
invoke-static {v7, v5, v6, v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->getOffsetColor(IIFF)I
move-result v5
invoke-virtual {v4, v5}, Landroid/graphics/Paint;->setColor(I)V
.line 1920
iget-object v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->rect:Landroid/graphics/RectF;
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v5
int-to-float v5, v5
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->cornerProgress:F
mul-float v5, v5, v6
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
int-to-float v6, v6
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->cornerProgress:F
mul-float v6, v6, v7
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedPaint:Landroid/graphics/Paint;
invoke-virtual {v8, v4, v5, v6, v7}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V
goto :goto_253
.line 1921
:cond_229
iget-boolean v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinIcon:Z
if-nez v4, :cond_231
iget-boolean v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinBackground:Z
if-eqz v4, :cond_253
.line 1922
:cond_231
sget-object v4, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedPaint:Landroid/graphics/Paint;
invoke-static {v14}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v5
invoke-virtual {v4, v5}, Landroid/graphics/Paint;->setColor(I)V
.line 1923
iget-object v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->rect:Landroid/graphics/RectF;
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v5
int-to-float v5, v5
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->cornerProgress:F
mul-float v5, v5, v6
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
int-to-float v6, v6
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->cornerProgress:F
mul-float v6, v6, v7
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedPaint:Landroid/graphics/Paint;
invoke-virtual {v8, v4, v5, v6, v7}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V
.line 1925
:cond_253
:goto_253
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->restore()V
.line 1928
:cond_256
iget v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationX:F
const/high16 v5, 0x43160000 # 150.0f
const/4 v2, 0x0
cmpl-float v4, v4, v2
if-eqz v4, :cond_273
.line 1929
iget v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->cornerProgress:F
cmpg-float v6, v4, v13
if-gez v6, :cond_288
.line 1930
long-to-float v6, v11
div-float/2addr v6, v5
add-float/2addr v4, v6
iput v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->cornerProgress:F
.line 1931
cmpl-float v4, v4, v13
if-lez v4, :cond_270
.line 1932
iput v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->cornerProgress:F
.line 1934
:cond_270
const/4 v0, 0x1
move v4, v0
goto :goto_289
.line 1936
:cond_273
iget v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->cornerProgress:F
const/4 v2, 0x0
cmpl-float v6, v4, v2
if-lez v6, :cond_288
.line 1937
long-to-float v6, v11
div-float/2addr v6, v5
sub-float/2addr v4, v6
iput v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->cornerProgress:F
.line 1938
cmpg-float v4, v4, v2
if-gez v4, :cond_285
.line 1939
iput v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->cornerProgress:F
.line 1941
:cond_285
const/4 v0, 0x1
move v4, v0
goto :goto_289
.line 1944
:cond_288
move v4, v0
.end local v0 # "needInvalidate":Z
.local v4, "needInvalidate":Z
:goto_289
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLayout:Landroid/text/StaticLayout;
const/high16 v6, 0x40c00000 # 6.0f
if-eqz v0, :cond_2df
.line 1945
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v0, :cond_2a3
.line 1946
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_namePaint:Landroid/text/TextPaint;
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_namePaint:Landroid/text/TextPaint;
const-string v14, "chats_nameArchived"
invoke-static {v14}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v14
iput v14, v7, Landroid/text/TextPaint;->linkColor:I
invoke-virtual {v0, v14}, Landroid/text/TextPaint;->setColor(I)V
goto :goto_2c6
.line 1947
:cond_2a3
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->encryptedChat:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
if-eqz v0, :cond_2b7
.line 1948
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_namePaint:Landroid/text/TextPaint;
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_namePaint:Landroid/text/TextPaint;
const-string v14, "chats_secretName"
invoke-static {v14}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v14
iput v14, v7, Landroid/text/TextPaint;->linkColor:I
invoke-virtual {v0, v14}, Landroid/text/TextPaint;->setColor(I)V
goto :goto_2c6
.line 1950
:cond_2b7
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_namePaint:Landroid/text/TextPaint;
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_namePaint:Landroid/text/TextPaint;
const-string v14, "chats_name"
invoke-static {v14}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v14
iput v14, v7, Landroid/text/TextPaint;->linkColor:I
invoke-virtual {v0, v14}, Landroid/text/TextPaint;->setColor(I)V
.line 1952
:goto_2c6
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->save()I
.line 1953
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLeft:I
int-to-float v0, v0
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topOffset:F
invoke-static {v6}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v14
int-to-float v14, v14
add-float/2addr v7, v14
invoke-virtual {v8, v0, v7}, Landroid/graphics/Canvas;->translate(FF)V
.line 1954
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLayout:Landroid/text/StaticLayout;
invoke-virtual {v0, v8}, Landroid/text/StaticLayout;->draw(Landroid/graphics/Canvas;)V
.line 1955
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->restore()V
.line 1958
:cond_2df
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->timeLayout:Landroid/text/StaticLayout;
if-eqz v0, :cond_2fb
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-nez v0, :cond_2fb
.line 1959
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->save()I
.line 1960
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->timeLeft:I
int-to-float v0, v0
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->timeTop:I
int-to-float v7, v7
invoke-virtual {v8, v0, v7}, Landroid/graphics/Canvas;->translate(FF)V
.line 1961
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->timeLayout:Landroid/text/StaticLayout;
invoke-virtual {v0, v8}, Landroid/text/StaticLayout;->draw(Landroid/graphics/Canvas;)V
.line 1962
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->restore()V
.line 1965
:cond_2fb
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLayout:Landroid/text/StaticLayout;
if-eqz v0, :cond_34f
.line 1966
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v0, :cond_313
.line 1967
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messageNamePaint:Landroid/text/TextPaint;
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messageNamePaint:Landroid/text/TextPaint;
.line 1968
const-string v14, "chats_nameMessageArchived_threeLines"
invoke-static {v14}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v14
iput v14, v7, Landroid/text/TextPaint;->linkColor:I
.line 1967
invoke-virtual {v0, v14}, Landroid/text/TextPaint;->setColor(I)V
goto :goto_336
.line 1969
:cond_313
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->draftMessage:Lim/tpelyyftgw/tgnet/TLRPC$DraftMessage;
if-eqz v0, :cond_327
.line 1970
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messageNamePaint:Landroid/text/TextPaint;
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messageNamePaint:Landroid/text/TextPaint;
const-string v14, "chats_draft"
invoke-static {v14}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v14
iput v14, v7, Landroid/text/TextPaint;->linkColor:I
invoke-virtual {v0, v14}, Landroid/text/TextPaint;->setColor(I)V
goto :goto_336
.line 1972
:cond_327
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messageNamePaint:Landroid/text/TextPaint;
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messageNamePaint:Landroid/text/TextPaint;
const-string v14, "chats_nameMessage_threeLines"
invoke-static {v14}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v14
iput v14, v7, Landroid/text/TextPaint;->linkColor:I
invoke-virtual {v0, v14}, Landroid/text/TextPaint;->setColor(I)V
.line 1974
:goto_336
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->save()I
.line 1975
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLeft:I
int-to-float v0, v0
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameTop:I
int-to-float v7, v7
invoke-virtual {v8, v0, v7}, Landroid/graphics/Canvas;->translate(FF)V
.line 1977
:try_start_342
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageNameLayout:Landroid/text/StaticLayout;
invoke-virtual {v0, v8}, Landroid/text/StaticLayout;->draw(Landroid/graphics/Canvas;)V
:try_end_347
.catch Ljava/lang/Exception; {:try_start_342 .. :try_end_347} :catch_348
.line 1980
goto :goto_34c
.line 1978
:catch_348
move-exception v0
.line 1979
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 1981
.end local v0 # "e":Ljava/lang/Exception;
:goto_34c
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->restore()V
.line 1984
:cond_34f
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLayout:Landroid/text/StaticLayout;
if-eqz v0, :cond_3a3
.line 1985
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v0, :cond_37b
.line 1986
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
if-eqz v0, :cond_36b
.line 1987
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
const-string v14, "chats_nameMessageArchived"
invoke-static {v14}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v14
iput v14, v7, Landroid/text/TextPaint;->linkColor:I
invoke-virtual {v0, v14}, Landroid/text/TextPaint;->setColor(I)V
goto :goto_38a
.line 1989
:cond_36b
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
const-string v14, "chats_messageArchived"
invoke-static {v14}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v14
iput v14, v7, Landroid/text/TextPaint;->linkColor:I
invoke-virtual {v0, v14}, Landroid/text/TextPaint;->setColor(I)V
goto :goto_38a
.line 1992
:cond_37b
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_messagePaint:Landroid/text/TextPaint;
const-string v14, "chats_message"
invoke-static {v14}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v14
iput v14, v7, Landroid/text/TextPaint;->linkColor:I
invoke-virtual {v0, v14}, Landroid/text/TextPaint;->setColor(I)V
.line 1994
:goto_38a
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->save()I
.line 1995
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLeft:I
int-to-float v0, v0
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageTop:I
int-to-float v7, v7
invoke-virtual {v8, v0, v7}, Landroid/graphics/Canvas;->translate(FF)V
.line 1997
:try_start_396
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageLayout:Landroid/text/StaticLayout;
invoke-virtual {v0, v8}, Landroid/text/StaticLayout;->draw(Landroid/graphics/Canvas;)V
:try_end_39b
.catch Ljava/lang/Exception; {:try_start_396 .. :try_end_39b} :catch_39c
.line 2000
goto :goto_3a0
.line 1998
:catch_39c
move-exception v0
.line 1999
.restart local v0 # "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 2001
.end local v0 # "e":Ljava/lang/Exception;
:goto_3a0
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->restore()V
.line 2004
:cond_3a3
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
const/high16 v7, 0x40600000 # 3.5f
const/high16 v14, 0x41500000 # 13.0f
if-nez v0, :cond_410
.line 2006
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawClockIcon:Z
if-eqz v0, :cond_3c1
.line 2007
invoke-static {v14}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
.line 2008
.local v0, "w":I
sget-object v2, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_clockDrawable:Landroid/graphics/drawable/Drawable;
iget v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clockDrawLeft:I
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clockDrawTop:I
invoke-static {v2, v5, v3, v0, v0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;IIII)V
.line 2009
sget-object v2, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_clockDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v2, v8}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
.line 2012
.end local v0 # "w":I
:cond_3c1
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCheck2:Z
if-eqz v0, :cond_410
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogMuted:Z
if-nez v0, :cond_410
.line 2014
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCheck1:Z
const/high16 v2, 0x41600000 # 14.0f
const/high16 v3, 0x41280000 # 10.5f
if-eqz v0, :cond_3f1
.line 2015
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_checkReadDrawable1:Landroid/graphics/drawable/Drawable;
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v5
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
sub-int/2addr v5, v2
invoke-static {v7}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
.line 2016
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
.line 2015
invoke-static {v0, v5, v2, v6, v3}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;IIII)V
.line 2017
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_checkReadDrawable1:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0, v8}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
goto :goto_410
.line 2021
:cond_3f1
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_halfCheckDrawable1:Landroid/graphics/drawable/Drawable;
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v5
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
sub-int/2addr v5, v2
invoke-static {v7}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
.line 2022
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
.line 2021
invoke-static {v0, v5, v2, v6, v3}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;IIII)V
.line 2023
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_halfCheckDrawable1:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0, v8}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
.line 2029
:cond_410
:goto_410
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogMuted:Z
const/high16 v2, 0x41200000 # 10.0f
const/high16 v3, 0x40000000 # 2.0f
if-eqz v0, :cond_442
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawVerifiedIcon:Z
if-nez v0, :cond_442
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawScam:Z
if-nez v0, :cond_442
.line 2030
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_muteDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v5
const/high16 v6, 0x41580000 # 13.5f
invoke-static {v6}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
sub-int/2addr v5, v6
invoke-static {v7}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v7
.line 2031
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v14
.line 2030
invoke-static {v0, v5, v6, v7, v14}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;IIII)V
.line 2032
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_muteDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0, v8}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
goto :goto_47b
.line 2035
:cond_442
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawVerifiedIcon:Z
if-eqz v0, :cond_467
.line 2036
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_verifiedDrawable:Landroid/graphics/drawable/Drawable;
iget v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameMuteLeft:I
int-to-float v5, v5
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topOffset:F
add-float/2addr v6, v3
invoke-static {v0, v5, v6}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;FF)V
.line 2037
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_verifiedCheckDrawable:Landroid/graphics/drawable/Drawable;
iget v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameMuteLeft:I
int-to-float v5, v5
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topOffset:F
add-float/2addr v6, v3
invoke-static {v0, v5, v6}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;FF)V
.line 2038
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_verifiedDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0, v8}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
.line 2039
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_verifiedCheckDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0, v8}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
goto :goto_47b
.line 2042
:cond_467
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawScam:Z
if-eqz v0, :cond_47b
.line 2043
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_scamDrawable:Lim/tpelyyftgw/ui/components/ScamDrawable;
iget v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameMuteLeft:I
int-to-float v5, v5
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topOffset:F
add-float/2addr v6, v3
invoke-static {v0, v5, v6}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;FF)V
.line 2044
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_scamDrawable:Lim/tpelyyftgw/ui/components/ScamDrawable;
invoke-virtual {v0, v8}, Lim/tpelyyftgw/ui/components/ScamDrawable;->draw(Landroid/graphics/Canvas;)V
.line 2047
:cond_47b
:goto_47b
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawReorder:Z
const/high16 v5, 0x437f0000 # 255.0f
if-nez v0, :cond_488
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
const/4 v6, 0x0
cmpl-float v0, v0, v6
if-eqz v0, :cond_4a0
.line 2048
:cond_488
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_reorderDrawable:Landroid/graphics/drawable/Drawable;
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
mul-float v7, v7, v5
float-to-int v7, v7
invoke-virtual {v0, v7}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V
.line 2049
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_reorderDrawable:Landroid/graphics/drawable/Drawable;
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->recorderLeft:I
iget v14, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->recorderTop:I
invoke-static {v0, v7, v14}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;II)V
.line 2050
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_reorderDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0, v8}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
.line 2054
:cond_4a0
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinIcon:Z
if-eqz v0, :cond_4c8
.line 2055
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedDrawable:Landroid/graphics/drawable/Drawable;
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
sub-float v7, v13, v7
mul-float v7, v7, v5
float-to-int v7, v7
invoke-virtual {v0, v7}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V
.line 2056
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedDrawable:Landroid/graphics/drawable/Drawable;
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->pinLeft:I
iget v14, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->pinTop:I
const/high16 v16, 0x41f00000 # 30.0f
invoke-static/range {v16 .. v16}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
invoke-static/range {v16 .. v16}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
invoke-static {v0, v7, v14, v6, v2}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;IIII)V
.line 2057
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0, v8}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
.line 2061
:cond_4c8
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawErrorIcon:Z
if-eqz v0, :cond_530
.line 2062
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_errorDrawable:Landroid/graphics/drawable/Drawable;
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
sub-float v7, v13, v2
mul-float v7, v7, v5
float-to-int v2, v7
invoke-virtual {v0, v2}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V
.line 2063
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->rect:Landroid/graphics/RectF;
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->errorLeft:I
int-to-float v5, v2
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->errorTop:I
int-to-float v6, v6
const/high16 v7, 0x41500000 # 13.0f
invoke-static {v7}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v14
add-int/2addr v2, v14
int-to-float v2, v2
iget v14, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->errorTop:I
invoke-static {v7}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v7
add-int/2addr v14, v7
int-to-float v7, v14
invoke-virtual {v0, v5, v6, v2, v7}, Landroid/graphics/RectF;->set(FFFF)V
.line 2064
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->rect:Landroid/graphics/RectF;
const/high16 v2, 0x40d00000 # 6.5f
sget v5, Lim/tpelyyftgw/messenger/AndroidUtilities;->density:F
mul-float v5, v5, v2
sget v6, Lim/tpelyyftgw/messenger/AndroidUtilities;->density:F
mul-float v6, v6, v2
sget-object v2, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_errorPaint:Landroid/graphics/Paint;
invoke-virtual {v8, v0, v5, v6, v2}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V
.line 2065
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_errorDrawable:Landroid/graphics/drawable/Drawable;
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->errorLeft:I
const v5, 0x40a66666 # 5.2f
invoke-static {v5}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v5
add-int/2addr v2, v5
iget v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->errorTop:I
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
add-int/2addr v5, v3
const v3, 0x40266666 # 2.6f
.line 2066
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
const/high16 v6, 0x41100000 # 9.0f
invoke-static {v6}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
.line 2065
invoke-static {v0, v2, v5, v3, v6}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;IIII)V
.line 2067
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_errorDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0, v8}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
const/high16 v20, 0x41200000 # 10.0f
goto/16 :goto_6b8
.line 2070
:cond_530
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCount:Z
if-nez v0, :cond_53d
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawMentionIcon:Z
if-eqz v0, :cond_539
goto :goto_53d
:cond_539
const/high16 v20, 0x41200000 # 10.0f
goto/16 :goto_6b8
.line 2072
:cond_53d
:goto_53d
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawCount:Z
if-eqz v0, :cond_601
.line 2073
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogMuted:Z
if-nez v0, :cond_54d
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v0, :cond_54a
goto :goto_54d
:cond_54a
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_countPaint:Landroid/graphics/Paint;
goto :goto_54f
:cond_54d
:goto_54d
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_countGrayPaint:Landroid/graphics/Paint;
.line 2074
.local v0, "paint":Landroid/graphics/Paint;
:goto_54f
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
sub-float v7, v13, v2
mul-float v7, v7, v5
float-to-int v2, v7
invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setAlpha(I)V
.line 2075
sget-object v2, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_countTextPaint:Landroid/text/TextPaint;
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
sub-float v7, v13, v6
mul-float v7, v7, v5
float-to-int v6, v7
invoke-virtual {v2, v6}, Landroid/text/TextPaint;->setAlpha(I)V
.line 2078
iget-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countIsBiggerThanTen:Z
if-eqz v2, :cond_59f
.line 2079
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countLeft:I
const/high16 v6, 0x40c00000 # 6.0f
invoke-static {v6}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v7
sub-int/2addr v2, v7
.line 2080
.local v2, "x":I
const/high16 v7, 0x41000000 # 8.0f
invoke-static {v7}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v14
int-to-float v7, v14
.line 2081
.local v7, "radius":F
iget-object v14, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->rect:Landroid/graphics/RectF;
int-to-float v6, v2
iget v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countTop:I
int-to-float v5, v5
iget v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countWidth:I
add-int/2addr v13, v2
const/high16 v20, 0x41200000 # 10.0f
invoke-static/range {v20 .. v20}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v21
add-int v13, v13, v21
int-to-float v13, v13
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countTop:I
const/high16 v22, 0x41800000 # 16.0f
invoke-static/range {v22 .. v22}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v22
add-int v3, v3, v22
int-to-float v3, v3
invoke-virtual {v14, v6, v5, v13, v3}, Landroid/graphics/RectF;->set(FFFF)V
.line 2082
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->rect:Landroid/graphics/RectF;
invoke-virtual {v8, v3, v7, v7, v0}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V
.line 2083
.end local v7 # "radius":F
goto :goto_5cc
.line 2084
.end local v2 # "x":I
:cond_59f
const/high16 v20, 0x41200000 # 10.0f
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countLeft:I
const/high16 v3, 0x40800000 # 4.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
sub-int/2addr v2, v3
.line 2085
.restart local v2 # "x":I
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countWidth:I
const/high16 v5, 0x41000000 # 8.0f
invoke-static {v5}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
add-int/2addr v3, v6
int-to-float v3, v3
.line 2086
.local v3, "w":F
iget-object v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->rect:Landroid/graphics/RectF;
int-to-float v6, v2
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countTop:I
int-to-float v13, v7
int-to-float v14, v2
add-float/2addr v14, v3
int-to-float v7, v7
add-float/2addr v7, v3
invoke-virtual {v5, v6, v13, v14, v7}, Landroid/graphics/RectF;->set(FFFF)V
.line 2087
iget-object v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->rect:Landroid/graphics/RectF;
const/high16 v6, 0x40000000 # 2.0f
div-float v7, v3, v6
div-float v13, v3, v6
invoke-virtual {v8, v5, v7, v13, v0}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V
.line 2089
.end local v3 # "w":F
:goto_5cc
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countLayout:Landroid/text/StaticLayout;
if-eqz v3, :cond_603
.line 2090
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->save()I
.line 2091
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countLeft:I
iget-boolean v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countIsBiggerThanTen:Z
if-eqz v5, :cond_5dc
const/high16 v7, 0x3f800000 # 1.0f
goto :goto_5de
:cond_5dc
const/high16 v7, 0x3f000000 # 0.5f
:goto_5de
invoke-static {v7}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v5
sub-int/2addr v3, v5
int-to-float v3, v3
iget v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countTop:I
iget-boolean v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countIsBiggerThanTen:Z
if-eqz v6, :cond_5ed
const/high16 v6, 0x40000000 # 2.0f
goto :goto_5ef
:cond_5ed
const/high16 v6, 0x40400000 # 3.0f
:goto_5ef
invoke-static {v6}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
add-int/2addr v5, v6
int-to-float v5, v5
invoke-virtual {v8, v3, v5}, Landroid/graphics/Canvas;->translate(FF)V
.line 2093
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countLayout:Landroid/text/StaticLayout;
invoke-virtual {v3, v8}, Landroid/text/StaticLayout;->draw(Landroid/graphics/Canvas;)V
.line 2094
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->restore()V
goto :goto_603
.line 2072
.end local v0 # "paint":Landroid/graphics/Paint;
.end local v2 # "x":I
:cond_601
const/high16 v20, 0x41200000 # 10.0f
.line 2098
:cond_603
:goto_603
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawMentionIcon:Z
if-eqz v0, :cond_6b8
.line 2099
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_countPaint:Landroid/graphics/Paint;
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
const/high16 v3, 0x3f800000 # 1.0f
sub-float v7, v3, v2
const/high16 v2, 0x437f0000 # 255.0f
mul-float v7, v7, v2
float-to-int v2, v7
invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setAlpha(I)V
.line 2101
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionLeft:I
const/high16 v2, 0x40b00000 # 5.5f
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
sub-int/2addr v0, v2
.line 2102
.local v0, "x":I
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionWidth:I
const/high16 v3, 0x41000000 # 8.0f
invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v5
add-int/2addr v2, v5
int-to-float v2, v2
.line 2103
.local v2, "w":F
iget-object v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->rect:Landroid/graphics/RectF;
int-to-float v6, v0
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countTop:I
int-to-float v13, v7
int-to-float v14, v0
add-float/2addr v14, v2
int-to-float v7, v7
add-float/2addr v7, v2
invoke-virtual {v5, v6, v13, v14, v7}, Landroid/graphics/RectF;->set(FFFF)V
.line 2104
iget-boolean v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogMuted:Z
if-eqz v5, :cond_642
iget v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->folderId:I
if-eqz v5, :cond_642
sget-object v5, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_countGrayPaint:Landroid/graphics/Paint;
goto :goto_644
:cond_642
sget-object v5, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_countPaint:Landroid/graphics/Paint;
.line 2105
.local v5, "paint":Landroid/graphics/Paint;
:goto_644
iget-object v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->rect:Landroid/graphics/RectF;
const/high16 v7, 0x40000000 # 2.0f
div-float v13, v2, v7
div-float v14, v2, v7
invoke-virtual {v8, v6, v13, v14, v5}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V
.line 2106
iget-object v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionLayout:Landroid/text/StaticLayout;
if-eqz v6, :cond_67f
.line 2107
sget-object v6, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_countTextPaint:Landroid/text/TextPaint;
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
const/high16 v13, 0x3f800000 # 1.0f
sub-float v7, v13, v7
const/high16 v13, 0x437f0000 # 255.0f
mul-float v7, v7, v13
float-to-int v7, v7
invoke-virtual {v6, v7}, Landroid/text/TextPaint;->setAlpha(I)V
.line 2109
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->save()I
.line 2110
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionLeft:I
int-to-float v6, v6
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countTop:I
const/high16 v13, 0x40800000 # 4.0f
invoke-static {v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
add-int/2addr v7, v13
int-to-float v7, v7
invoke-virtual {v8, v6, v7}, Landroid/graphics/Canvas;->translate(FF)V
.line 2111
iget-object v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionLayout:Landroid/text/StaticLayout;
invoke-virtual {v6, v8}, Landroid/text/StaticLayout;->draw(Landroid/graphics/Canvas;)V
.line 2112
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->restore()V
goto :goto_6b8
.line 2114
:cond_67f
sget-object v6, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_mentionDrawable:Landroid/graphics/drawable/Drawable;
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
const/high16 v13, 0x3f800000 # 1.0f
sub-float v7, v13, v7
const/high16 v13, 0x437f0000 # 255.0f
mul-float v7, v7, v13
float-to-int v7, v7
invoke-virtual {v6, v7}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V
.line 2116
sget-object v6, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_mentionDrawable:Landroid/graphics/drawable/Drawable;
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionLeft:I
const/high16 v13, 0x40000000 # 2.0f
invoke-static {v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
sub-int/2addr v7, v13
iget v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->countTop:I
const v14, 0x404ccccd # 3.2f
invoke-static {v14}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v14
add-int/2addr v13, v14
const/high16 v14, 0x41300000 # 11.0f
.line 2117
invoke-static {v14}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v14
const/high16 v16, 0x41300000 # 11.0f
invoke-static/range {v16 .. v16}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
.line 2116
invoke-static {v6, v7, v13, v14, v3}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;IIII)V
.line 2118
sget-object v3, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_mentionDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v3, v8}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
.line 2123
.end local v0 # "x":I
.end local v2 # "w":F
.end local v5 # "paint":Landroid/graphics/Paint;
:cond_6b8
:goto_6b8
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->animatingArchiveAvatar:Z
const/high16 v13, 0x432a0000 # 170.0f
if-eqz v0, :cond_6dc
.line 2124
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->save()I
.line 2125
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->interpolator:Lim/tpelyyftgw/ui/cell/FmtDialogCell$BounceInterpolator;
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->animatingArchiveAvatarProgress:F
div-float/2addr v2, v13
invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/cell/FmtDialogCell$BounceInterpolator;->getInterpolation(F)F
move-result v0
const/high16 v2, 0x3f800000 # 1.0f
add-float/2addr v0, v2
.line 2126
.local v0, "scale":F
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
invoke-virtual {v2}, Lim/tpelyyftgw/messenger/ImageReceiver;->getCenterX()F
move-result v2
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
invoke-virtual {v3}, Lim/tpelyyftgw/messenger/ImageReceiver;->getCenterY()F
move-result v3
invoke-virtual {v8, v0, v0, v2, v3}, Landroid/graphics/Canvas;->scale(FFFF)V
.line 2128
.end local v0 # "scale":F
:cond_6dc
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
invoke-virtual {v0, v8}, Lim/tpelyyftgw/messenger/ImageReceiver;->draw(Landroid/graphics/Canvas;)Z
.line 2129
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->animatingArchiveAvatar:Z
if-eqz v0, :cond_6e8
.line 2130
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->restore()V
.line 2134
:cond_6e8
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawSecretLockIcon:Z
if-eqz v0, :cond_6fb
.line 2135
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_lockDrawable:Landroid/graphics/drawable/Drawable;
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLockLeft:I
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLockTop:I
invoke-static {v0, v2, v3}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;II)V
.line 2136
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_lockDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0, v8}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
goto :goto_733
.line 2137
:cond_6fb
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawGroupIcon:Z
if-eqz v0, :cond_70e
.line 2139
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_groupDrawable:Landroid/graphics/drawable/Drawable;
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLockLeft:I
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLockTop:I
invoke-static {v0, v2, v3}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;II)V
.line 2140
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_groupDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0, v8}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
goto :goto_733
.line 2141
:cond_70e
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawBroadcastIcon:Z
if-eqz v0, :cond_721
.line 2143
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_broadcastDrawable:Landroid/graphics/drawable/Drawable;
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLockLeft:I
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLockTop:I
invoke-static {v0, v2, v3}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;II)V
.line 2144
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_broadcastDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0, v8}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
goto :goto_733
.line 2145
:cond_721
iget-boolean v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawBotIcon:Z
if-eqz v0, :cond_733
.line 2147
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_botDrawable:Landroid/graphics/drawable/Drawable;
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLockLeft:I
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->nameLockTop:I
invoke-static {v0, v2, v3}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setDrawableBounds(Landroid/graphics/drawable/Drawable;II)V
.line 2148
sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_botDrawable:Landroid/graphics/drawable/Drawable;
invoke-virtual {v0, v8}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
.line 2151
:cond_733
:goto_733
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
const/4 v5, 0x1
if-eqz v0, :cond_823
iget-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isDialogCell:Z
if-eqz v2, :cond_823
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-nez v2, :cond_823
invoke-static {v0}, Lim/tpelyyftgw/messenger/MessagesController;->isSupportUser(Lim/tpelyyftgw/tgnet/TLRPC$User;)Z
move-result v0
if-nez v0, :cond_823
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget-boolean v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$User;->bot:Z
if-nez v0, :cond_823
.line 2152
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget-boolean v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$User;->self:Z
if-nez v0, :cond_782
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget-object v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$User;->status:Lim/tpelyyftgw/tgnet/TLRPC$UserStatus;
if-eqz v0, :cond_76a
iget-object v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget-object v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$User;->status:Lim/tpelyyftgw/tgnet/TLRPC$UserStatus;
iget v0, v0, Lim/tpelyyftgw/tgnet/TLRPC$UserStatus;->expires:I
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
.line 2153
invoke-static {v2}, Lim/tpelyyftgw/tgnet/ConnectionsManager;->getInstance(I)Lim/tpelyyftgw/tgnet/ConnectionsManager;
move-result-object v2
invoke-virtual {v2}, Lim/tpelyyftgw/tgnet/ConnectionsManager;->getCurrentTime()I
move-result v2
if-gt v0, v2, :cond_780
:cond_76a
iget v0, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v0}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v0
iget-object v0, v0, Lim/tpelyyftgw/messenger/MessagesController;->onlinePrivacy:Ljava/util/concurrent/ConcurrentHashMap;
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$User;->id:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-virtual {v0, v2}, Ljava/util/concurrent/ConcurrentHashMap;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_782
:cond_780
const/4 v0, 0x1
goto :goto_783
:cond_782
const/4 v0, 0x0
.line 2154
.local v0, "isOnline":Z
:goto_783
if-nez v0, :cond_78c
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->onlineProgress:F
const/4 v3, 0x0
cmpl-float v2, v2, v3
if-eqz v2, :cond_823
.line 2155
:cond_78c
iget-object v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
invoke-virtual {v2}, Lim/tpelyyftgw/messenger/ImageReceiver;->getImageY2()I
move-result v2
iget-boolean v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v6, :cond_79e
sget-boolean v6, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v6, :cond_79b
goto :goto_79e
:cond_79b
const/high16 v18, 0x41000000 # 8.0f
goto :goto_7a0
:cond_79e
:goto_79e
const/high16 v18, 0x40c00000 # 6.0f
:goto_7a0
invoke-static/range {v18 .. v18}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v6
sub-int/2addr v2, v6
.line 2157
.local v2, "top":I
sget-boolean v6, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-eqz v6, :cond_7c3
.line 2158
iget-object v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
invoke-virtual {v6}, Lim/tpelyyftgw/messenger/ImageReceiver;->getImageX()I
move-result v6
iget-boolean v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v7, :cond_7bb
sget-boolean v7, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v7, :cond_7b8
goto :goto_7bb
:cond_7b8
const/high16 v19, 0x40c00000 # 6.0f
goto :goto_7bd
:cond_7bb
:goto_7bb
const/high16 v19, 0x41200000 # 10.0f
:goto_7bd
invoke-static/range {v19 .. v19}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v7
add-int/2addr v6, v7
.local v6, "left":I
goto :goto_7dc
.line 2160
.end local v6 # "left":I
:cond_7c3
iget-object v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
invoke-virtual {v6}, Lim/tpelyyftgw/messenger/ImageReceiver;->getImageX2()I
move-result v6
iget-boolean v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v7, :cond_7d5
sget-boolean v7, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v7, :cond_7d2
goto :goto_7d5
:cond_7d2
const/high16 v19, 0x40c00000 # 6.0f
goto :goto_7d7
:cond_7d5
:goto_7d5
const/high16 v19, 0x41200000 # 10.0f
:goto_7d7
invoke-static/range {v19 .. v19}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v7
sub-int/2addr v6, v7
.line 2163
.restart local v6 # "left":I
:goto_7dc
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_onlineCirclePaint:Landroid/graphics/Paint;
invoke-static {v15}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v14
invoke-virtual {v7, v14}, Landroid/graphics/Paint;->setColor(I)V
.line 2165
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_onlineCirclePaint:Landroid/graphics/Paint;
const-string v14, "chats_onlineCircle"
invoke-static {v14}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v14
invoke-virtual {v7, v14}, Landroid/graphics/Paint;->setColor(I)V
.line 2167
if-eqz v0, :cond_80b
.line 2168
iget v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->onlineProgress:F
const/high16 v14, 0x3f800000 # 1.0f
cmpg-float v16, v7, v14
if-gez v16, :cond_823
.line 2169
long-to-float v3, v11
const/high16 v17, 0x43160000 # 150.0f
div-float v3, v3, v17
add-float/2addr v7, v3
iput v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->onlineProgress:F
.line 2170
cmpl-float v3, v7, v14
if-lez v3, :cond_808
.line 2171
iput v14, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->onlineProgress:F
.line 2173
:cond_808
const/4 v4, 0x1
move v0, v4
goto :goto_824
.line 2176
:cond_80b
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->onlineProgress:F
const/4 v7, 0x0
cmpl-float v14, v3, v7
if-lez v14, :cond_823
.line 2177
long-to-float v14, v11
const/high16 v16, 0x43160000 # 150.0f
div-float v14, v14, v16
sub-float/2addr v3, v14
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->onlineProgress:F
.line 2178
cmpg-float v3, v3, v7
if-gez v3, :cond_820
.line 2179
iput v7, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->onlineProgress:F
.line 2181
:cond_820
const/4 v4, 0x1
move v0, v4
goto :goto_824
.line 2187
.end local v0 # "isOnline":Z
.end local v2 # "top":I
.end local v6 # "left":I
:cond_823
move v0, v4
.end local v4 # "needInvalidate":Z
.local v0, "needInvalidate":Z
:goto_824
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->translationX:F
const/4 v3, 0x0
cmpl-float v2, v2, v3
if-eqz v2, :cond_82e
.line 2188
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->restore()V
.line 2192
:cond_82e
iget-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useSeparator:Z
if-eqz v2, :cond_87d
.line 2193
const/high16 v2, 0x42900000 # 72.0f
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v7
.line 2194
.local v7, "left":I
sget-boolean v2, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-eqz v2, :cond_85f
.line 2195
const/4 v3, 0x0
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v2
sub-int/2addr v2, v5
int-to-float v4, v2
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v2
sub-int/2addr v2, v7
int-to-float v6, v2
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v2
sub-int/2addr v2, v5
int-to-float v5, v2
sget-object v16, Lim/tpelyyftgw/ui/actionbar/Theme;->dividerPaint:Landroid/graphics/Paint;
move-object/from16 v2, p1
move/from16 v17, v5
move v5, v6
move/from16 v6, v17
move v14, v7
.end local v7 # "left":I
.local v14, "left":I
move-object/from16 v7, v16
invoke-virtual/range {v2 .. v7}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
goto :goto_87d
.line 2197
.end local v14 # "left":I
.restart local v7 # "left":I
:cond_85f
move v14, v7
.end local v7 # "left":I
.restart local v14 # "left":I
int-to-float v3, v14
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v2
sub-int/2addr v2, v5
int-to-float v4, v2
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v2
int-to-float v6, v2
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v2
sub-int/2addr v2, v5
int-to-float v7, v2
sget-object v16, Lim/tpelyyftgw/ui/actionbar/Theme;->dividerPaint:Landroid/graphics/Paint;
move-object/from16 v2, p1
move v5, v6
move v6, v7
move-object/from16 v7, v16
invoke-virtual/range {v2 .. v7}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V
.line 2201
.end local v14 # "left":I
:cond_87d
:goto_87d
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clipProgress:F
const/4 v3, 0x0
cmpl-float v2, v2, v3
if-eqz v2, :cond_8cb
.line 2202
sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v3, 0x18
if-eq v2, v3, :cond_88e
.line 2203
invoke-virtual/range {p1 .. p1}, Landroid/graphics/Canvas;->restore()V
goto :goto_8cb
.line 2205
:cond_88e
sget-object v2, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedPaint:Landroid/graphics/Paint;
invoke-static {v15}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v3
invoke-virtual {v2, v3}, Landroid/graphics/Paint;->setColor(I)V
.line 2206
const/4 v3, 0x0
const/4 v4, 0x0
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v2
int-to-float v5, v2
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topClip:I
int-to-float v2, v2
iget v6, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clipProgress:F
mul-float v6, v6, v2
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedPaint:Landroid/graphics/Paint;
move-object/from16 v2, p1
invoke-virtual/range {v2 .. v7}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
.line 2207
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v2
iget v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->bottomClip:I
int-to-float v4, v4
iget v5, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clipProgress:F
mul-float v4, v4, v5
float-to-int v4, v4
sub-int/2addr v2, v4
int-to-float v4, v2
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v2
int-to-float v5, v2
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v2
int-to-float v6, v2
sget-object v7, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_pinnedPaint:Landroid/graphics/Paint;
move-object/from16 v2, p1
invoke-virtual/range {v2 .. v7}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
.line 2211
:cond_8cb
:goto_8cb
iget-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawReorder:Z
if-nez v2, :cond_8d6
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
const/4 v3, 0x0
cmpl-float v2, v2, v3
if-eqz v2, :cond_902
.line 2212
:cond_8d6
iget-boolean v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawReorder:Z
if-eqz v2, :cond_8ef
.line 2213
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
const/high16 v4, 0x3f800000 # 1.0f
cmpg-float v5, v2, v4
if-gez v5, :cond_902
.line 2214
long-to-float v5, v11
div-float/2addr v5, v13
add-float/2addr v2, v5
iput v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
.line 2215
cmpl-float v2, v2, v4
if-lez v2, :cond_8ed
.line 2216
iput v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
.line 2218
:cond_8ed
const/4 v0, 0x1
goto :goto_902
.line 2221
:cond_8ef
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
const/4 v3, 0x0
cmpl-float v4, v2, v3
if-lez v4, :cond_902
.line 2222
long-to-float v4, v11
div-float/2addr v4, v13
sub-float/2addr v2, v4
iput v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
.line 2223
cmpg-float v2, v2, v3
if-gez v2, :cond_901
.line 2224
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
.line 2226
:cond_901
const/4 v0, 0x1
.line 2231
:cond_902
:goto_902
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->archiveHidden:Z
if-eqz v3, :cond_92c
.line 2232
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->archiveBackgroundProgress:F
const/4 v2, 0x0
cmpl-float v4, v3, v2
if-lez v4, :cond_952
.line 2233
long-to-float v4, v11
div-float/2addr v4, v13
sub-float/2addr v3, v4
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->archiveBackgroundProgress:F
.line 2234
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealBounceProgress:F
cmpg-float v3, v3, v2
if-gez v3, :cond_91a
.line 2235
iput v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealBounceProgress:F
.line 2237
:cond_91a
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
invoke-virtual {v3}, Lim/tpelyyftgw/ui/components/AvatarDrawable;->getAvatarType()I
move-result v3
const/4 v4, 0x3
if-ne v3, v4, :cond_92a
.line 2238
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
iget v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->archiveBackgroundProgress:F
invoke-virtual {v3, v4}, Lim/tpelyyftgw/ui/components/AvatarDrawable;->setArchivedAvatarHiddenProgress(F)V
.line 2240
:cond_92a
const/4 v0, 0x1
goto :goto_952
.line 2243
:cond_92c
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->archiveBackgroundProgress:F
const/high16 v4, 0x3f800000 # 1.0f
cmpg-float v5, v3, v4
if-gez v5, :cond_952
.line 2244
long-to-float v5, v11
div-float/2addr v5, v13
add-float/2addr v3, v5
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->archiveBackgroundProgress:F
.line 2245
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealBounceProgress:F
cmpl-float v3, v3, v4
if-lez v3, :cond_941
.line 2246
iput v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealBounceProgress:F
.line 2248
:cond_941
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
invoke-virtual {v3}, Lim/tpelyyftgw/ui/components/AvatarDrawable;->getAvatarType()I
move-result v3
const/4 v4, 0x3
if-ne v3, v4, :cond_951
.line 2249
iget-object v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
iget v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->archiveBackgroundProgress:F
invoke-virtual {v3, v4}, Lim/tpelyyftgw/ui/components/AvatarDrawable;->setArchivedAvatarHiddenProgress(F)V
.line 2251
:cond_951
const/4 v0, 0x1
.line 2255
:cond_952
:goto_952
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->animatingArchiveAvatar:Z
if-eqz v3, :cond_966
.line 2256
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->animatingArchiveAvatarProgress:F
long-to-float v4, v11
add-float/2addr v3, v4
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->animatingArchiveAvatarProgress:F
.line 2257
cmpl-float v3, v3, v13
if-ltz v3, :cond_965
.line 2258
iput v13, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->animatingArchiveAvatarProgress:F
.line 2259
const/4 v3, 0x0
iput-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->animatingArchiveAvatar:Z
.line 2261
:cond_965
const/4 v0, 0x1
.line 2263
:cond_966
iget-boolean v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawRevealBackground:Z
if-eqz v3, :cond_993
.line 2264
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealBounceProgress:F
const/high16 v3, 0x3f800000 # 1.0f
cmpg-float v4, v2, v3
if-gez v4, :cond_97e
.line 2265
long-to-float v4, v11
div-float/2addr v4, v13
add-float/2addr v2, v4
iput v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealBounceProgress:F
.line 2266
cmpl-float v2, v2, v3
if-lez v2, :cond_97e
.line 2267
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealBounceProgress:F
.line 2268
const/4 v0, 0x1
.line 2271
:cond_97e
iget v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealProgress:F
cmpg-float v4, v2, v3
if-gez v4, :cond_9b5
.line 2272
long-to-float v4, v11
const/high16 v5, 0x43960000 # 300.0f
div-float/2addr v4, v5
add-float/2addr v2, v4
iput v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealProgress:F
.line 2273
cmpl-float v2, v2, v3
if-lez v2, :cond_991
.line 2274
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealProgress:F
.line 2276
:cond_991
const/4 v0, 0x1
goto :goto_9b5
.line 2279
:cond_993
const/high16 v3, 0x3f800000 # 1.0f
iget v4, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealBounceProgress:F
cmpl-float v3, v4, v3
if-nez v3, :cond_9a0
.line 2280
const/4 v2, 0x0
iput v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealBounceProgress:F
.line 2281
const/4 v0, 0x1
goto :goto_9a1
.line 2279
:cond_9a0
const/4 v2, 0x0
.line 2283
:goto_9a1
iget v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealProgress:F
cmpl-float v4, v3, v2
if-lez v4, :cond_9b5
.line 2284
long-to-float v4, v11
const/high16 v5, 0x43960000 # 300.0f
div-float/2addr v4, v5
sub-float/2addr v3, v4
iput v3, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealProgress:F
.line 2285
cmpg-float v3, v3, v2
if-gez v3, :cond_9b4
.line 2286
iput v2, v1, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentRevealProgress:F
.line 2288
:cond_9b4
const/4 v0, 0x1
.line 2292
:cond_9b5
:goto_9b5
if-eqz v0, :cond_9ba
.line 2293
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->invalidate()V
.line 2295
:cond_9ba
return-void
.end method
.method public onInitializeAccessibilityNodeInfo(Landroid/view/accessibility/AccessibilityNodeInfo;)V
.registers 3
.param p1, "info" # Landroid/view/accessibility/AccessibilityNodeInfo;
.line 2333
invoke-super {p0, p1}, Lim/tpelyyftgw/ui/cells/BaseCell;->onInitializeAccessibilityNodeInfo(Landroid/view/accessibility/AccessibilityNodeInfo;)V
.line 2334
const/16 v0, 0x10
invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityNodeInfo;->addAction(I)V
.line 2335
const/16 v0, 0x20
invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityNodeInfo;->addAction(I)V
.line 2336
return-void
.end method
.method protected onLayout(ZIIII)V
.registers 11
.param p1, "changed" # Z
.param p2, "left" # I
.param p3, "top" # I
.param p4, "right" # I
.param p5, "bottom" # I
.line 586
iget-wide v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-nez v4, :cond_9
.line 587
return-void
.line 589
:cond_9
if-eqz p1, :cond_13
.line 591
:try_start_b
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->buildLayout()V
:try_end_e
.catch Ljava/lang/Exception; {:try_start_b .. :try_end_e} :catch_f
.line 594
goto :goto_13
.line 592
:catch_f
move-exception v0
.line 593
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 601
.end local v0 # "e":Ljava/lang/Exception;
:cond_13
:goto_13
return-void
.end method
.method protected onMeasure(II)V
.registers 6
.param p1, "widthMeasureSpec" # I
.param p2, "heightMeasureSpec" # I
.line 578
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result v0
iget-boolean v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useForceThreeLines:Z
if-nez v1, :cond_10
sget-boolean v1, Lim/tpelyyftgw/messenger/SharedConfig;->useThreeLinesLayout:Z
if-eqz v1, :cond_d
goto :goto_10
:cond_d
const/high16 v1, 0x42900000 # 72.0f
goto :goto_12
:cond_10
:goto_10
const/high16 v1, 0x429a0000 # 77.0f
.line 579
:goto_12
invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v1
iget-boolean v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->useSeparator:Z
add-int/2addr v1, v2
.line 578
invoke-virtual {p0, v0, v1}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->setMeasuredDimension(II)V
.line 580
const/4 v0, 0x0
iput v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topClip:I
.line 581
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v0
iput v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->bottomClip:I
.line 582
return-void
.end method
.method public onPopulateAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V
.registers 9
.param p1, "event" # Landroid/view/accessibility/AccessibilityEvent;
.line 2340
invoke-super {p0, p1}, Lim/tpelyyftgw/ui/cells/BaseCell;->onPopulateAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V
.line 2341
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
.line 2342
.local v0, "sb":Ljava/lang/StringBuilder;
iget v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
const/4 v2, 0x1
const-string v3, ". "
if-ne v1, v2, :cond_20
.line 2343
const v1, 0x7f0f0168
const-string v4, "ArchivedChats"
invoke-static {v4, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2344
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto/16 :goto_9e
.line 2346
:cond_20
iget-object v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->encryptedChat:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
if-eqz v1, :cond_33
.line 2347
const v1, 0x7f0f0049
const-string v4, "AccDescrSecretChat"
invoke-static {v4, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2348
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2350
:cond_33
iget-object v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
if-eqz v1, :cond_70
.line 2351
iget-boolean v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$User;->bot:Z
if-eqz v1, :cond_4a
.line 2352
const v1, 0x7f0f027f
const-string v4, "Bot"
invoke-static {v4, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2353
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2355
:cond_4a
iget-object v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget-boolean v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$User;->self:Z
if-eqz v1, :cond_5d
.line 2356
const v1, 0x7f0f0eb7
const-string v4, "SavedMessages"
invoke-static {v4, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_6c
.line 2358
:cond_5d
iget-object v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget-object v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$User;->first_name:Ljava/lang/String;
iget-object v4, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget-object v4, v4, Lim/tpelyyftgw/tgnet/TLRPC$User;->last_name:Ljava/lang/String;
invoke-static {v1, v4}, Lim/tpelyyftgw/messenger/ContactsController;->formatName(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2360
:goto_6c
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_9e
.line 2361
:cond_70
iget-object v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
if-eqz v1, :cond_9e
.line 2362
iget-boolean v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->broadcast:Z
if-eqz v1, :cond_85
.line 2363
const v1, 0x7f0f001c
const-string v4, "AccDescrChannel"
invoke-static {v4, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_91
.line 2365
:cond_85
const v1, 0x7f0f0027
const-string v4, "AccDescrGroup"
invoke-static {v4, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2367
:goto_91
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2368
iget-object v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
iget-object v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->title:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2369
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2372
:cond_9e
:goto_9e
iget v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->unreadCount:I
if-lez v1, :cond_ae
.line 2373
const-string v4, "NewMessages"
invoke-static {v4, v1}, Lim/tpelyyftgw/messenger/LocaleController;->formatPluralString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2374
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2376
:cond_ae
iget-object v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-eqz v1, :cond_165
iget v4, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v4, :cond_b8
goto/16 :goto_165
.line 2380
:cond_b8
iget v4, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastMessageDate:I
.line 2381
.local v4, "lastDate":I
iget v5, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastMessageDate:I
if-nez v5, :cond_c4
if-eqz v1, :cond_c4
.line 2382
iget-object v1, v1, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget v4, v1, Lim/tpelyyftgw/tgnet/TLRPC$Message;->date:I
.line 2384
:cond_c4
int-to-long v5, v4
invoke-static {v5, v6}, Lim/tpelyyftgw/messenger/LocaleController;->formatDateAudio(J)Ljava/lang/String;
move-result-object v1
.line 2385
.local v1, "date":Ljava/lang/String;
iget-object v5, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v5}, Lim/tpelyyftgw/messenger/MessageObject;->isOut()Z
move-result v5
const/4 v6, 0x0
if-eqz v5, :cond_e3
.line 2386
const v5, 0x7f0f004a
new-array v2, v2, [Ljava/lang/Object;
aput-object v1, v2, v6
const-string v6, "AccDescrSentDate"
invoke-static {v6, v5, v2}, Lim/tpelyyftgw/messenger/LocaleController;->formatString(Ljava/lang/String;I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_f3
.line 2388
:cond_e3
const v5, 0x7f0f0040
new-array v2, v2, [Ljava/lang/Object;
aput-object v1, v2, v6
const-string v6, "AccDescrReceivedDate"
invoke-static {v6, v5, v2}, Lim/tpelyyftgw/messenger/LocaleController;->formatString(Ljava/lang/String;I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2390
:goto_f3
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2391
iget-object v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
if-eqz v2, :cond_136
iget-object v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v2}, Lim/tpelyyftgw/messenger/MessageObject;->isOut()Z
move-result v2
if-nez v2, :cond_136
iget-object v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v2}, Lim/tpelyyftgw/messenger/MessageObject;->isFromUser()Z
move-result v2
if-eqz v2, :cond_136
iget-object v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v2, v2, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$Message;->action:Lim/tpelyyftgw/tgnet/TLRPC$MessageAction;
if-nez v2, :cond_136
.line 2392
iget v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v2}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v2
iget-object v5, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v5, v5, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget v5, v5, Lim/tpelyyftgw/tgnet/TLRPC$Message;->from_id:I
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v5
invoke-virtual {v2, v5}, Lim/tpelyyftgw/messenger/MessagesController;->getUser(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$User;
move-result-object v2
.line 2393
.local v2, "fromUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
if-eqz v2, :cond_136
.line 2394
iget-object v5, v2, Lim/tpelyyftgw/tgnet/TLRPC$User;->first_name:Ljava/lang/String;
iget-object v6, v2, Lim/tpelyyftgw/tgnet/TLRPC$User;->last_name:Ljava/lang/String;
invoke-static {v5, v6}, Lim/tpelyyftgw/messenger/ContactsController;->formatName(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v5
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2395
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2398
.end local v2 # "fromUser":Lim/tpelyyftgw/tgnet/TLRPC$User;
:cond_136
iget-object v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->encryptedChat:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
if-nez v2, :cond_15d
.line 2399
iget-object v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v2, v2, Lim/tpelyyftgw/messenger/MessageObject;->messageText:Ljava/lang/CharSequence;
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
.line 2400
iget-object v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v2}, Lim/tpelyyftgw/messenger/MessageObject;->isMediaEmpty()Z
move-result v2
if-nez v2, :cond_15d
.line 2401
iget-object v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v2, v2, Lim/tpelyyftgw/messenger/MessageObject;->caption:Ljava/lang/CharSequence;
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v2
if-nez v2, :cond_15d
.line 2402
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2403
iget-object v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v2, v2, Lim/tpelyyftgw/messenger/MessageObject;->caption:Ljava/lang/CharSequence;
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
.line 2407
:cond_15d
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-virtual {p1, v2}, Landroid/view/accessibility/AccessibilityEvent;->setContentDescription(Ljava/lang/CharSequence;)V
.line 2408
return-void
.line 2377
.end local v1 # "date":Ljava/lang/String;
.end local v4 # "lastDate":I
:cond_165
:goto_165
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {p1, v1}, Landroid/view/accessibility/AccessibilityEvent;->setContentDescription(Ljava/lang/CharSequence;)V
.line 2378
return-void
.end method
.method public onReorderStateChanged(ZZ)V
.registers 5
.param p1, "reordering" # Z
.param p2, "animated" # Z
.line 2298
iget-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinIcon:Z
if-nez v0, :cond_6
if-nez p1, :cond_a
:cond_6
iget-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawReorder:Z
if-ne v0, p1, :cond_12
.line 2299
:cond_a
iget-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinIcon:Z
if-nez v0, :cond_11
.line 2300
const/4 v0, 0x0
iput-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawReorder:Z
.line 2302
:cond_11
return-void
.line 2304
:cond_12
iput-boolean p1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawReorder:Z
.line 2305
const/high16 v0, 0x3f800000 # 1.0f
const/4 v1, 0x0
if-eqz p2, :cond_1f
.line 2306
if-eqz p1, :cond_1c
const/4 v0, 0x0
:cond_1c
iput v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
goto :goto_25
.line 2308
:cond_1f
if-eqz p1, :cond_22
goto :goto_23
:cond_22
const/4 v0, 0x0
:goto_23
iput v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->reorderIconProgress:F
.line 2310
:goto_25
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->invalidate()V
.line 2311
return-void
.end method
.method public openLeft()V
.registers 4
.line 379
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mDragHelper:Landroidx/customview/widget/ViewDragHelper;
const/high16 v1, 0x42480000 # 50.0f
invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v1
const/4 v2, 0x0
invoke-virtual {v0, p0, v1, v2}, Landroidx/customview/widget/ViewDragHelper;->smoothSlideViewTo(Landroid/view/View;II)Z
.line 380
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->invalidate()V
.line 381
return-void
.end method
.method public setBottomClip(I)V
.registers 2
.param p1, "value" # I
.line 2424
iput p1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->bottomClip:I
.line 2425
return-void
.end method
.method public setCheckBoxVisible(ZZI)V
.registers 6
.param p1, "visible" # Z
.param p2, "animated" # Z
.param p3, "position" # I
.line 447
iput p3, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->position:I
.line 448
if-eqz p1, :cond_18
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBoxBase;
if-nez v0, :cond_18
.line 449
new-instance v0, Lim/tpelyyftgw/ui/components/CheckBoxBase;
const/16 v1, 0x15
invoke-direct {v0, p0, v1}, Lim/tpelyyftgw/ui/components/CheckBoxBase;-><init>(Landroid/view/View;I)V
iput-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBoxBase;
.line 450
iget-boolean v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->attachedToWindow:Z
if-eqz v1, :cond_18
.line 451
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/CheckBoxBase;->onAttachedToWindow()V
.line 454
:cond_18
iput-boolean p1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxVisible:Z
.line 455
iput-boolean p2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationInProgress:Z
.line 456
if-eqz p2, :cond_25
.line 457
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v0
iput-wide v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastCheckBoxAnimationTime:J
goto :goto_2d
.line 459
:cond_25
if-eqz p1, :cond_2a
const/high16 v0, 0x3f800000 # 1.0f
goto :goto_2b
:cond_2a
const/4 v0, 0x0
:goto_2b
iput v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBoxAnimationProgress:F
.line 461
:goto_2d
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->invalidate()V
.line 462
return-void
.end method
.method public setChecked(ZZ)V
.registers 4
.param p1, "checked" # Z
.param p2, "animated" # Z
.line 471
iget-object v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkBox:Lim/tpelyyftgw/ui/components/CheckBoxBase;
if-nez v0, :cond_5
.line 472
return-void
.line 474
:cond_5
invoke-virtual {v0, p1, p2}, Lim/tpelyyftgw/ui/components/CheckBoxBase;->setChecked(ZZ)V
.line 475
return-void
.end method
.method public setClipProgress(F)V
.registers 2
.param p1, "value" # F
.line 2411
iput p1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clipProgress:F
.line 2412
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->invalidate()V
.line 2413
return-void
.end method
.method public setDialog(JLim/tpelyyftgw/messenger/MessageObject;I)V
.registers 7
.param p1, "dialog_id" # J
.param p3, "messageObject" # Lim/tpelyyftgw/messenger/MessageObject;
.param p4, "date" # I
.line 424
iput-wide p1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
.line 425
iput-object p3, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
.line 426
const/4 v0, 0x0
iput-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isDialogCell:Z
.line 427
iput p4, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastMessageDate:I
.line 428
if-eqz p3, :cond_10
iget-object v1, p3, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$Message;->edit_date:I
goto :goto_11
:cond_10
const/4 v1, 0x0
:goto_11
iput v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentEditDate:I
.line 429
iput v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->unreadCount:I
.line 430
iput-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->markUnread:Z
.line 431
if-eqz p3, :cond_1e
invoke-virtual {p3}, Lim/tpelyyftgw/messenger/MessageObject;->getId()I
move-result v1
goto :goto_1f
:cond_1e
const/4 v1, 0x0
:goto_1f
iput v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageId:I
.line 432
iput v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionCount:I
.line 433
if-eqz p3, :cond_2d
invoke-virtual {p3}, Lim/tpelyyftgw/messenger/MessageObject;->isUnread()Z
move-result v1
if-eqz v1, :cond_2d
const/4 v1, 0x1
goto :goto_2e
:cond_2d
const/4 v1, 0x0
:goto_2e
iput-boolean v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastUnreadState:Z
.line 434
iget-object v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-eqz v1, :cond_3a
.line 435
iget-object v1, v1, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget v1, v1, Lim/tpelyyftgw/tgnet/TLRPC$Message;->send_state:I
iput v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastSendState:I
.line 437
:cond_3a
invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->update(I)V
.line 438
return-void
.end method
.method public setDialog(Lim/tpelyyftgw/tgnet/TLRPC$Dialog;II)V
.registers 7
.param p1, "dialog" # Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
.param p2, "type" # I
.param p3, "folder" # I
.line 400
iget-wide v0, p1, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->id:J
iput-wide v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
.line 401
const/4 v0, 0x1
iput-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isDialogCell:Z
.line 402
instance-of v0, p1, Lim/tpelyyftgw/tgnet/TLRPC$TL_dialogFolder;
const/4 v1, 0x0
if-eqz v0, :cond_16
.line 404
move-object v0, p1
check-cast v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_dialogFolder;
.line 405
.local v0, "dialogFolder":Lim/tpelyyftgw/tgnet/TLRPC$TL_dialogFolder;
iget-object v2, v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_dialogFolder;->folder:Lim/tpelyyftgw/tgnet/TLRPC$TL_folder;
iget v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$TL_folder;->id:I
iput v2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
.line 406
.end local v0 # "dialogFolder":Lim/tpelyyftgw/tgnet/TLRPC$TL_dialogFolder;
goto :goto_18
.line 407
:cond_16
iput v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
.line 409
:goto_18
iput p2, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogsType:I
.line 410
iput p3, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->folderId:I
.line 411
iput v1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->messageId:I
.line 412
invoke-virtual {p0, v1}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->update(I)V
.line 413
invoke-direct {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->checkOnline()V
.line 414
return-void
.end method
.method public setDialogIndex(I)V
.registers 2
.param p1, "i" # I
.line 492
iput p1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->index:I
.line 493
return-void
.end method
.method public setDialogSelected(Z)V
.registers 3
.param p1, "value" # Z
.line 1566
iget-boolean v0, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isSelected:Z
if-eq v0, p1, :cond_7
.line 1567
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->invalidate()V
.line 1569
:cond_7
iput-boolean p1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isSelected:Z
.line 1570
return-void
.end method
.method public setScrollX(I)V
.registers 2
.param p1, "value" # I
.line 479
invoke-super {p0, p1}, Lim/tpelyyftgw/ui/cells/BaseCell;->setScrollX(I)V
.line 480
return-void
.end method
.method public setSliding(Z)V
.registers 2
.param p1, "value" # Z
.line 2314
iput-boolean p1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isSliding:Z
.line 2315
return-void
.end method
.method public setTopClip(I)V
.registers 2
.param p1, "value" # I
.line 2420
iput p1, p0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->topClip:I
.line 2421
return-void
.end method
.method public update(I)V
.registers 23
.param p1, "mask" # I
.line 1646
move-object/from16 v0, p0
move/from16 v1, p1
iget-boolean v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isDialogCell:Z
const/4 v3, 0x1
const/4 v4, 0x0
if-eqz v2, :cond_91
.line 1647
iget v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v2}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v2
iget-object v2, v2, Lim/tpelyyftgw/messenger/MessagesController;->dialogs_dict:Landroid/util/LongSparseArray;
iget-wide v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
invoke-virtual {v2, v5, v6}, Landroid/util/LongSparseArray;->get(J)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
.line 1648
.local v2, "dialog":Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
if-eqz v2, :cond_86
.line 1649
if-nez v1, :cond_90
.line 1650
iget v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v5}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v5
iget-wide v6, v2, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->id:J
invoke-virtual {v5, v6, v7}, Lim/tpelyyftgw/messenger/MessagesController;->isClearingDialog(J)Z
move-result v5
iput-boolean v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clearingDialog:Z
.line 1651
iget v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v5}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v5
iget-object v5, v5, Lim/tpelyyftgw/messenger/MessagesController;->dialogMessage:Landroid/util/LongSparseArray;
iget-wide v6, v2, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->id:J
invoke-virtual {v5, v6, v7}, Landroid/util/LongSparseArray;->get(J)Ljava/lang/Object;
move-result-object v5
check-cast v5, Lim/tpelyyftgw/messenger/MessageObject;
iput-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
.line 1652
if-eqz v5, :cond_43
.line 1653
invoke-virtual {v5}, Lim/tpelyyftgw/messenger/MessageObject;->generateCaption()V
.line 1655
:cond_43
iget-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-eqz v5, :cond_4f
invoke-virtual {v5}, Lim/tpelyyftgw/messenger/MessageObject;->isUnread()Z
move-result v5
if-eqz v5, :cond_4f
const/4 v5, 0x1
goto :goto_50
:cond_4f
const/4 v5, 0x0
:goto_50
iput-boolean v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastUnreadState:Z
.line 1656
iget v5, v2, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->unread_count:I
iput v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->unreadCount:I
.line 1657
iget-boolean v5, v2, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->unread_mark:Z
iput-boolean v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->markUnread:Z
.line 1658
iget v5, v2, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->unread_mentions_count:I
iput v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionCount:I
.line 1659
iget-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-eqz v5, :cond_67
iget-object v5, v5, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget v5, v5, Lim/tpelyyftgw/tgnet/TLRPC$Message;->edit_date:I
goto :goto_68
:cond_67
const/4 v5, 0x0
:goto_68
iput v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentEditDate:I
.line 1660
iget v5, v2, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->last_message_date:I
iput v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastMessageDate:I
.line 1661
iget v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-nez v5, :cond_78
iget-boolean v5, v2, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->pinned:Z
if-eqz v5, :cond_78
const/4 v5, 0x1
goto :goto_79
:cond_78
const/4 v5, 0x0
:goto_79
iput-boolean v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinIcon:Z
.line 1662
iget-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-eqz v5, :cond_90
.line 1663
iget-object v5, v5, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget v5, v5, Lim/tpelyyftgw/tgnet/TLRPC$Message;->send_state:I
iput v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastSendState:I
goto :goto_90
.line 1667
:cond_86
iput v4, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->unreadCount:I
.line 1668
iput v4, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionCount:I
.line 1669
iput v4, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentEditDate:I
.line 1670
iput v4, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastMessageDate:I
.line 1671
iput-boolean v4, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->clearingDialog:Z
.line 1673
.end local v2 # "dialog":Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
:cond_90
:goto_90
goto :goto_93
.line 1674
:cond_91
iput-boolean v4, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->drawPinIcon:Z
.line 1677
:goto_93
if-eqz v1, :cond_197
.line 1678
const/4 v2, 0x0
.line 1679
.local v2, "continueUpdate":Z
iget-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
if-eqz v5, :cond_b5
and-int/lit8 v5, v1, 0x4
if-eqz v5, :cond_b5
.line 1680
iget v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v5}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v5
iget-object v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
iget v6, v6, Lim/tpelyyftgw/tgnet/TLRPC$User;->id:I
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v6
invoke-virtual {v5, v6}, Lim/tpelyyftgw/messenger/MessagesController;->getUser(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$User;
move-result-object v5
iput-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
.line 1681
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->invalidate()V
.line 1683
:cond_b5
iget-boolean v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isDialogCell:Z
if-eqz v5, :cond_e6
.line 1684
and-int/lit8 v5, v1, 0x40
if-eqz v5, :cond_e6
.line 1685
iget v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v5}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v5
iget-object v5, v5, Lim/tpelyyftgw/messenger/MessagesController;->printingStrings:Landroid/util/LongSparseArray;
iget-wide v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
invoke-virtual {v5, v6, v7}, Landroid/util/LongSparseArray;->get(J)Ljava/lang/Object;
move-result-object v5
check-cast v5, Ljava/lang/CharSequence;
.line 1686
.local v5, "printString":Ljava/lang/CharSequence;
iget-object v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastPrintString:Ljava/lang/CharSequence;
if-eqz v6, :cond_d3
if-eqz v5, :cond_e5
:cond_d3
iget-object v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastPrintString:Ljava/lang/CharSequence;
if-nez v6, :cond_d9
if-nez v5, :cond_e5
:cond_d9
iget-object v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastPrintString:Ljava/lang/CharSequence;
if-eqz v6, :cond_e6
if-eqz v5, :cond_e6
invoke-virtual {v6, v5}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v6
if-nez v6, :cond_e6
.line 1687
:cond_e5
const/4 v2, 0x1
.line 1691
.end local v5 # "printString":Ljava/lang/CharSequence;
:cond_e6
if-nez v2, :cond_f9
const v5, 0x8000
and-int/2addr v5, v1
if-eqz v5, :cond_f9
.line 1692
iget-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-eqz v5, :cond_f9
iget-object v5, v5, Lim/tpelyyftgw/messenger/MessageObject;->messageText:Ljava/lang/CharSequence;
iget-object v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastMessageString:Ljava/lang/CharSequence;
if-eq v5, v6, :cond_f9
.line 1693
const/4 v2, 0x1
.line 1696
:cond_f9
if-nez v2, :cond_104
and-int/lit8 v5, v1, 0x2
if-eqz v5, :cond_104
.line 1697
iget-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
if-nez v5, :cond_104
.line 1698
const/4 v2, 0x1
.line 1701
:cond_104
if-nez v2, :cond_10f
and-int/lit8 v5, v1, 0x1
if-eqz v5, :cond_10f
.line 1702
iget-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
if-nez v5, :cond_10f
.line 1703
const/4 v2, 0x1
.line 1706
:cond_10f
if-nez v2, :cond_11a
and-int/lit8 v5, v1, 0x8
if-eqz v5, :cond_11a
.line 1707
iget-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
if-nez v5, :cond_11a
.line 1708
const/4 v2, 0x1
.line 1711
:cond_11a
if-nez v2, :cond_125
and-int/lit8 v5, v1, 0x10
if-eqz v5, :cond_125
.line 1712
iget-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
if-nez v5, :cond_125
.line 1713
const/4 v2, 0x1
.line 1716
:cond_125
if-nez v2, :cond_176
and-int/lit16 v5, v1, 0x100
if-eqz v5, :cond_176
.line 1717
iget-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-eqz v5, :cond_141
iget-boolean v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastUnreadState:Z
invoke-virtual {v5}, Lim/tpelyyftgw/messenger/MessageObject;->isUnread()Z
move-result v5
if-eq v6, v5, :cond_141
.line 1718
iget-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
invoke-virtual {v5}, Lim/tpelyyftgw/messenger/MessageObject;->isUnread()Z
move-result v5
iput-boolean v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastUnreadState:Z
.line 1719
const/4 v2, 0x1
goto :goto_176
.line 1720
:cond_141
iget-boolean v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isDialogCell:Z
if-eqz v5, :cond_176
.line 1721
iget v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v5}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v5
iget-object v5, v5, Lim/tpelyyftgw/messenger/MessagesController;->dialogs_dict:Landroid/util/LongSparseArray;
iget-wide v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
invoke-virtual {v5, v6, v7}, Landroid/util/LongSparseArray;->get(J)Ljava/lang/Object;
move-result-object v5
check-cast v5, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
.line 1722
.local v5, "dialog":Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
if-eqz v5, :cond_176
iget v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->unreadCount:I
iget v7, v5, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->unread_count:I
if-ne v6, v7, :cond_169
iget-boolean v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->markUnread:Z
iget-boolean v7, v5, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->unread_mark:Z
if-ne v6, v7, :cond_169
iget v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionCount:I
iget v7, v5, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->unread_mentions_count:I
if-eq v6, v7, :cond_176
.line 1723
:cond_169
iget v6, v5, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->unread_count:I
iput v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->unreadCount:I
.line 1724
iget v6, v5, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->unread_mentions_count:I
iput v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->mentionCount:I
.line 1725
iget-boolean v6, v5, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->unread_mark:Z
iput-boolean v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->markUnread:Z
.line 1726
const/4 v2, 0x1
.line 1730
.end local v5 # "dialog":Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
:cond_176
:goto_176
if-nez v2, :cond_191
and-int/lit16 v5, v1, 0x1000
if-eqz v5, :cond_191
.line 1731
iget-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
if-eqz v5, :cond_191
iget v6, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastSendState:I
iget-object v5, v5, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget v5, v5, Lim/tpelyyftgw/tgnet/TLRPC$Message;->send_state:I
if-eq v6, v5, :cond_191
.line 1732
iget-object v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
iget-object v5, v5, Lim/tpelyyftgw/messenger/MessageObject;->messageOwner:Lim/tpelyyftgw/tgnet/TLRPC$Message;
iget v5, v5, Lim/tpelyyftgw/tgnet/TLRPC$Message;->send_state:I
iput v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->lastSendState:I
.line 1733
const/4 v2, 0x1
.line 1737
:cond_191
if-nez v2, :cond_197
.line 1738
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->invalidate()V
.line 1739
return-void
.line 1743
.end local v2 # "continueUpdate":Z
:cond_197
const/4 v2, 0x0
iput-object v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
.line 1744
iput-object v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
.line 1745
iput-object v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->encryptedChat:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
.line 1748
iget v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v2, :cond_1b4
.line 1749
iput-boolean v4, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogMuted:Z
.line 1750
invoke-direct/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->findFolderTopMessage()Lim/tpelyyftgw/messenger/MessageObject;
move-result-object v2
iput-object v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->message:Lim/tpelyyftgw/messenger/MessageObject;
.line 1751
if-eqz v2, :cond_1b1
.line 1752
invoke-virtual {v2}, Lim/tpelyyftgw/messenger/MessageObject;->getDialogId()J
move-result-wide v5
.local v5, "dialogId":J
goto :goto_1cd
.line 1754
.end local v5 # "dialogId":J
:cond_1b1
const-wide/16 v5, 0x0
.restart local v5 # "dialogId":J
goto :goto_1cd
.line 1757
.end local v5 # "dialogId":J
:cond_1b4
iget-boolean v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isDialogCell:Z
if-eqz v2, :cond_1c8
iget v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v2}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v2
iget-wide v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
invoke-virtual {v2, v5, v6}, Lim/tpelyyftgw/messenger/MessagesController;->isDialogMuted(J)Z
move-result v2
if-eqz v2, :cond_1c8
const/4 v2, 0x1
goto :goto_1c9
:cond_1c8
const/4 v2, 0x0
:goto_1c9
iput-boolean v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->dialogMuted:Z
.line 1758
iget-wide v5, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogId:J
.line 1761
.restart local v5 # "dialogId":J
:goto_1cd
const-wide/16 v7, 0x0
cmp-long v2, v5, v7
if-eqz v2, :cond_248
.line 1762
long-to-int v2, v5
.line 1763
.local v2, "lower_id":I
const/16 v7, 0x20
shr-long v7, v5, v7
long-to-int v8, v7
.line 1764
.local v8, "high_id":I
if-eqz v2, :cond_222
.line 1765
if-gez v2, :cond_211
.line 1766
iget v7, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v7}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v7
neg-int v9, v2
invoke-static {v9}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v9
invoke-virtual {v7, v9}, Lim/tpelyyftgw/messenger/MessagesController;->getChat(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$Chat;
move-result-object v7
iput-object v7, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
.line 1767
iget-boolean v9, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->isDialogCell:Z
if-nez v9, :cond_248
if-eqz v7, :cond_248
iget-object v7, v7, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->migrated_to:Lim/tpelyyftgw/tgnet/TLRPC$InputChannel;
if-eqz v7, :cond_248
.line 1768
iget v7, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v7}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v7
iget-object v9, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
iget-object v9, v9, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->migrated_to:Lim/tpelyyftgw/tgnet/TLRPC$InputChannel;
iget v9, v9, Lim/tpelyyftgw/tgnet/TLRPC$InputChannel;->channel_id:I
invoke-static {v9}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v9
invoke-virtual {v7, v9}, Lim/tpelyyftgw/messenger/MessagesController;->getChat(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$Chat;
move-result-object v7
.line 1769
.local v7, "chat2":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
if-eqz v7, :cond_210
.line 1770
iput-object v7, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
.line 1772
.end local v7 # "chat2":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
:cond_210
goto :goto_248
.line 1774
:cond_211
iget v7, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v7}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v7
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v9
invoke-virtual {v7, v9}, Lim/tpelyyftgw/messenger/MessagesController;->getUser(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$User;
move-result-object v7
iput-object v7, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
goto :goto_248
.line 1777
:cond_222
iget v7, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v7}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v7
invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v9
invoke-virtual {v7, v9}, Lim/tpelyyftgw/messenger/MessagesController;->getEncryptedChat(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
move-result-object v7
iput-object v7, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->encryptedChat:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
.line 1778
if-eqz v7, :cond_248
.line 1779
iget v7, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentAccount:I
invoke-static {v7}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v7
iget-object v9, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->encryptedChat:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
iget v9, v9, Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;->user_id:I
invoke-static {v9}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v9
invoke-virtual {v7, v9}, Lim/tpelyyftgw/messenger/MessagesController;->getUser(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$User;
move-result-object v7
iput-object v7, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
.line 1784
.end local v2 # "lower_id":I
.end local v8 # "high_id":I
:cond_248
:goto_248
iget v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->currentDialogFolderId:I
if-eqz v2, :cond_265
.line 1785
sget-object v2, Lim/tpelyyftgw/ui/actionbar/Theme;->dialogs_archiveAvatarDrawable:Lim/tpelyyftgw/ui/components/RLottieDrawable;
invoke-virtual {v2, v0}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
.line 1786
iget-object v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
const/4 v3, 0x3
invoke-virtual {v2, v3}, Lim/tpelyyftgw/ui/components/AvatarDrawable;->setAvatarType(I)V
.line 1787
iget-object v7, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
const/4 v8, 0x0
const/4 v9, 0x0
iget-object v10, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
const/4 v11, 0x0
iget-object v12, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
const/4 v13, 0x0
invoke-virtual/range {v7 .. v13}, 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_2bf
.line 1789
:cond_265
iget-object v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
if-eqz v2, :cond_2a3
.line 1790
iget-object v7, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
invoke-virtual {v7, v2}, Lim/tpelyyftgw/ui/components/AvatarDrawable;->setInfo(Lim/tpelyyftgw/tgnet/TLRPC$User;)V
.line 1791
iget-object v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
invoke-static {v2}, Lim/tpelyyftgw/messenger/UserObject;->isUserSelf(Lim/tpelyyftgw/tgnet/TLRPC$User;)Z
move-result v2
if-eqz v2, :cond_289
.line 1792
iget-object v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
invoke-virtual {v2, v3}, Lim/tpelyyftgw/ui/components/AvatarDrawable;->setAvatarType(I)V
.line 1793
iget-object v7, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
const/4 v8, 0x0
const/4 v9, 0x0
iget-object v10, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
const/4 v11, 0x0
iget-object v12, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
const/4 v13, 0x0
invoke-virtual/range {v7 .. v13}, 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_2bf
.line 1795
:cond_289
iget-object v14, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
iget-object v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
invoke-static {v2, v4}, Lim/tpelyyftgw/messenger/ImageLocation;->getForUser(Lim/tpelyyftgw/tgnet/TLRPC$User;Z)Lim/tpelyyftgw/messenger/ImageLocation;
move-result-object v15
iget-object v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
const/16 v18, 0x0
iget-object v3, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->user:Lim/tpelyyftgw/tgnet/TLRPC$User;
const/16 v20, 0x0
const-string v16, "50_50"
move-object/from16 v17, v2
move-object/from16 v19, v3
invoke-virtual/range {v14 .. v20}, 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_2bf
.line 1797
:cond_2a3
iget-object v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
if-eqz v2, :cond_2bf
.line 1798
iget-object v3, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
invoke-virtual {v3, v2}, Lim/tpelyyftgw/ui/components/AvatarDrawable;->setInfo(Lim/tpelyyftgw/tgnet/TLRPC$Chat;)V
.line 1799
iget-object v7, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarImage:Lim/tpelyyftgw/messenger/ImageReceiver;
iget-object v2, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
invoke-static {v2, v4}, Lim/tpelyyftgw/messenger/ImageLocation;->getForChat(Lim/tpelyyftgw/tgnet/TLRPC$Chat;Z)Lim/tpelyyftgw/messenger/ImageLocation;
move-result-object v8
iget-object v10, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->avatarDrawable:Lim/tpelyyftgw/ui/components/AvatarDrawable;
const/4 v11, 0x0
iget-object v12, v0, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->chat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
const/4 v13, 0x0
const-string v9, "50_50"
invoke-virtual/range {v7 .. v13}, 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 1803
:cond_2bf
:goto_2bf
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredWidth()I
move-result v2
if-nez v2, :cond_2d0
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->getMeasuredHeight()I
move-result v2
if-eqz v2, :cond_2cc
goto :goto_2d0
.line 1806
:cond_2cc
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->requestLayout()V
goto :goto_2d3
.line 1804
:cond_2d0
:goto_2d0
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->buildLayout()V
.line 1809
:goto_2d3
invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/cell/FmtDialogCell;->invalidate()V
.line 1810
return-void
.end method