正在查看: 北京退费客服端 v1.0.0 应用的 ChatActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 北京退费客服端 v1.0.0 应用的 ChatActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package im.amwhusedvt.ui;
import android.R;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter;
import android.graphics.PorterDuffXfermode;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.Typeface;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.media.ThumbnailUtils;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.text.Layout;
import android.text.Spannable;
import android.text.SpannableString;
import android.text.SpannableStringBuilder;
import android.text.TextPaint;
import android.text.TextUtils;
import android.text.style.ForegroundColorSpan;
import android.text.style.URLSpan;
import android.util.AttributeSet;
import android.util.Base64;
import android.util.LongSparseArray;
import android.util.Property;
import android.util.SparseArray;
import android.util.SparseBooleanArray;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MotionEvent;
import android.view.TextureView;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.LayoutAnimationController;
import android.webkit.URLUtil;
import android.widget.DatePicker;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ScrollView;
import android.widget.TextView;
import androidx.appcompat.widget.AppCompatTextView;
import androidx.core.content.FileProvider;
import androidx.core.view.inputmethod.InputContentInfoCompat;
import androidx.fragment.app.FragmentActivity;
import androidx.recyclerview.widget.GridLayoutManagerFixed;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.LinearSmoothScrollerMiddle;
import androidx.recyclerview.widget.RecyclerView;
import com.bjz.comm.net.bean.ResponseAccessTokenBean;
import com.bjz.comm.net.bean.ResponseBaiduTranslateBean;
import com.bjz.comm.net.factory.ApiTranslateAudioFactory;
import com.bjz.comm.net.utils.RxHelper;
import com.google.android.exoplayer2.ui.AspectRatioFrameLayout;
import com.google.gson.Gson;
import com.king.zxing.util.CodeUtils;
import im.amwhusedvt.javaBean.hongbao.RedTransOperation;
import im.amwhusedvt.messenger.AndroidUtilities;
import im.amwhusedvt.messenger.ApplicationLoader;
import im.amwhusedvt.messenger.BuildVars;
import im.amwhusedvt.messenger.ChatObject;
import im.amwhusedvt.messenger.ContactsController;
import im.amwhusedvt.messenger.Emoji;
import im.amwhusedvt.messenger.FileLoader;
import im.amwhusedvt.messenger.FileLog;
import im.amwhusedvt.messenger.ImageLocation;
import im.amwhusedvt.messenger.ImageReceiver;
import im.amwhusedvt.messenger.LocaleController;
import im.amwhusedvt.messenger.MediaController;
import im.amwhusedvt.messenger.MediaDataController;
import im.amwhusedvt.messenger.MessageObject;
import im.amwhusedvt.messenger.MessagesController;
import im.amwhusedvt.messenger.MessagesStorage;
import im.amwhusedvt.messenger.NotificationCenter;
import im.amwhusedvt.messenger.NotificationsController;
import im.amwhusedvt.messenger.SendMessagesHelper;
import im.amwhusedvt.messenger.SharedConfig;
import im.amwhusedvt.messenger.UserConfig;
import im.amwhusedvt.messenger.UserObject;
import im.amwhusedvt.messenger.Utilities;
import im.amwhusedvt.messenger.VideoEditedInfo;
import im.amwhusedvt.messenger.browser.Browser;
import im.amwhusedvt.phoneformat.PhoneFormat;
import im.amwhusedvt.tgnet.ConnectionsManager;
import im.amwhusedvt.tgnet.ParamsUtil;
import im.amwhusedvt.tgnet.RequestDelegate;
import im.amwhusedvt.tgnet.SerializedData;
import im.amwhusedvt.tgnet.TLApiModel;
import im.amwhusedvt.tgnet.TLJsonResolve;
import im.amwhusedvt.tgnet.TLObject;
import im.amwhusedvt.tgnet.TLRPC;
import im.amwhusedvt.tgnet.TLRPCRedpacket;
import im.amwhusedvt.tgnet.TLRPCWallet;
import im.amwhusedvt.ui.-$;
import im.amwhusedvt.ui.ContentPreviewViewer;
import im.amwhusedvt.ui.DialogsActivity;
import im.amwhusedvt.ui.DocumentSelectActivity;
import im.amwhusedvt.ui.NewLocationActivity;
import im.amwhusedvt.ui.PhotoViewer;
import im.amwhusedvt.ui.actionbar.ActionBar;
import im.amwhusedvt.ui.actionbar.ActionBarLayout;
import im.amwhusedvt.ui.actionbar.ActionBarMenu;
import im.amwhusedvt.ui.actionbar.ActionBarMenuItem;
import im.amwhusedvt.ui.actionbar.ActionBarMenuSubItem;
import im.amwhusedvt.ui.actionbar.ActionBarPopupWindow;
import im.amwhusedvt.ui.actionbar.AlertDialog;
import im.amwhusedvt.ui.actionbar.BaseFragment;
import im.amwhusedvt.ui.actionbar.ChatActionBarMenuPopupWindow;
import im.amwhusedvt.ui.actionbar.ChatActionBarMenuSubItem;
import im.amwhusedvt.ui.actionbar.SimpleTextView;
import im.amwhusedvt.ui.actionbar.Theme;
import im.amwhusedvt.ui.actionbar.ThemeDescription;
import im.amwhusedvt.ui.actionbar.XAlertDialog;
import im.amwhusedvt.ui.adapters.MentionsAdapter;
import im.amwhusedvt.ui.adapters.StickersAdapter;
import im.amwhusedvt.ui.cells.BotHelpCell;
import im.amwhusedvt.ui.cells.BotSwitchCell;
import im.amwhusedvt.ui.cells.ChatActionCell;
import im.amwhusedvt.ui.cells.ChatLoadingCell;
import im.amwhusedvt.ui.cells.ChatMessageCell;
import im.amwhusedvt.ui.cells.ChatUnreadCell;
import im.amwhusedvt.ui.cells.CheckBoxCell;
import im.amwhusedvt.ui.cells.ContextLinkCell;
import im.amwhusedvt.ui.cells.MentionCell;
import im.amwhusedvt.ui.cells.StickerCell;
import im.amwhusedvt.ui.components.AlertsCreator;
import im.amwhusedvt.ui.components.AnimatedFileDrawable;
import im.amwhusedvt.ui.components.AnimationProperties;
import im.amwhusedvt.ui.components.AvatarDrawable;
import im.amwhusedvt.ui.components.BackupImageView;
import im.amwhusedvt.ui.components.ChatActivityEnterView;
import im.amwhusedvt.ui.components.ChatAttachAlert;
import im.amwhusedvt.ui.components.ChatAvatarContainer;
import im.amwhusedvt.ui.components.ChatBigEmptyView;
import im.amwhusedvt.ui.components.CombinedDrawable;
import im.amwhusedvt.ui.components.CorrectlyMeasuringTextView;
import im.amwhusedvt.ui.components.EditTextCaption;
import im.amwhusedvt.ui.components.EmojiView;
import im.amwhusedvt.ui.components.ExtendedGridLayoutManager;
import im.amwhusedvt.ui.components.FragmentContextView;
import im.amwhusedvt.ui.components.HintView;
import im.amwhusedvt.ui.components.InstantCameraView;
import im.amwhusedvt.ui.components.LayoutHelper;
import im.amwhusedvt.ui.components.NumberTextView;
import im.amwhusedvt.ui.components.PipRoundVideoView;
import im.amwhusedvt.ui.components.RLottieDrawable;
import im.amwhusedvt.ui.components.RadialProgressView;
import im.amwhusedvt.ui.components.RecyclerListView;
import im.amwhusedvt.ui.components.SizeNotifierFrameLayout;
import im.amwhusedvt.ui.components.StickersAlert;
import im.amwhusedvt.ui.components.TextStyleSpan;
import im.amwhusedvt.ui.components.TypefaceSpan;
import im.amwhusedvt.ui.components.URLSpanBotCommand;
import im.amwhusedvt.ui.components.URLSpanReplacement;
import im.amwhusedvt.ui.components.URLSpanUserMention;
import im.amwhusedvt.ui.components.UndoView;
import im.amwhusedvt.ui.components.toast.ToastUtils;
import im.amwhusedvt.ui.components.voip.VoIPHelper;
import im.amwhusedvt.ui.constants.Constants;
import im.amwhusedvt.ui.dialogs.BottomDialog;
import im.amwhusedvt.ui.hui.CameraViewActivity;
import im.amwhusedvt.ui.hui.chats.NewProfileActivity;
import im.amwhusedvt.ui.hui.contacts.AddContactsInfoActivity;
import im.amwhusedvt.ui.hui.discovery.QrScanResultActivity;
import im.amwhusedvt.ui.hui.mine.AboutAppActivity;
import im.amwhusedvt.ui.hui.packet.RedpktDetailActivity;
import im.amwhusedvt.ui.hui.packet.RedpktDetailReceiverActivity;
import im.amwhusedvt.ui.hui.packet.RedpktGroupDetailActivity;
import im.amwhusedvt.ui.hui.packet.RedpktGroupSendActivity;
import im.amwhusedvt.ui.hui.packet.RedpktSendActivity;
import im.amwhusedvt.ui.hui.packet.bean.RedpacketBean;
import im.amwhusedvt.ui.hui.packet.bean.RedpacketResponse;
import im.amwhusedvt.ui.hui.packet.pop.DialogRedpkg;
import im.amwhusedvt.ui.hui.packet.pop.RedPacketViewHolder;
import im.amwhusedvt.ui.hui.transfer.TransferSendActivity;
import im.amwhusedvt.ui.hui.transfer.TransferStatusActivity;
import im.amwhusedvt.ui.hui.transfer.bean.TransferResponse;
import im.amwhusedvt.ui.hui.visualcall.VisualCallActivity;
import im.amwhusedvt.ui.hui.wallet_public.bean.WalletAccountInfo;
import im.amwhusedvt.ui.hui.wallet_public.bean.WalletConfigBean;
import im.amwhusedvt.ui.hui.wallet_public.utils.WalletDialogUtil;
import im.amwhusedvt.ui.hui.wallet_public.utils.WalletErrorUtil;
import im.amwhusedvt.ui.utils.ChatActionBarHelper;
import im.amwhusedvt.ui.utils.GpsUtils;
import im.amwhusedvt.ui.utils.QrCodeParseUtil;
import im.amwhusedvt.ui.utils.number.MoneyUtil;
import im.amwhusedvt.ui.utils.number.NumberUtil;
import im.amwhusedvt.ui.utils.number.StringUtils;
import im.amwhusedvt.ui.utils.translate.utils.AudioFileUtils;
import im.amwhusedvt.ui.wallet.WalletActivity;
import im.amwhusedvt.ui.wallet.WalletPaymentPasswordActivity;
import io.reactivex.Observable;
import io.reactivex.disposables.CompositeDisposable;
import io.reactivex.disposables.Disposable;
import io.reactivex.functions.Consumer;
import io.reactivex.schedulers.Schedulers;
import java.io.File;
import java.math.BigDecimal;
import java.net.FileNameMap;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.CountDownLatch;
import java.util.regex.Matcher;
import okhttp3.MediaType;
import okhttp3.RequestBody;
public class ChatActivity extends BaseFragment implements NotificationCenter.NotificationCenterDelegate, DialogsActivity.DialogsActivityDelegate, NewLocationActivity.LocationActivityDelegate {
private static final String PREFIX_VIDEO = "video/";
private static final int add_shortcut = 24;
private static final int attach_audio = 3;
private static final int attach_contact = 5;
private static final int attach_document = 4;
private static final int attach_gallery = 1;
private static final int attach_group_live = 1012;
private static final int attach_location = 6;
private static final int attach_photo = 0;
private static final int attach_poll = 9;
private static final int attach_video = 2;
private static final int attach_video_call = 1011;
private static final int attach_voice_call = 1010;
private static final int bot_help = 30;
private static final int bot_settings = 31;
private static final int call = 32;
private static final int chat_enc_timer = 13;
private static final int chat_menu_attach = 14;
private static final int clear_history = 15;
private static final int copy = 10;
private static final int delete = 12;
private static final int delete_chat = 16;
private static final int edit = 23;
private static final int forward = 11;
private static final int id_chat_compose_panel = 1000;
private static final int live = 33;
private static final int more = 0;
private static final int mute = 18;
private static final int report = 21;
private static final int search = 40;
private static final int share_contact = 17;
private static final int star = 22;
private static final int text_bold = 50;
private static final int text_italic = 51;
private static final int text_link = 53;
private static final int text_mono = 52;
private static final int text_regular = 54;
private static final int text_strike = 55;
private static final int text_underline = 56;
private String TAG;
private ChatActionBarHelper actionBarHelper;
private ArrayList<View> actionModeViews;
private ChatActionBarMenuSubItem addContactItem;
private TextView addToContactsButton;
private TextView alertNameTextView;
private TextView alertTextView;
private FrameLayout alertView;
private AnimatorSet alertViewAnimator;
private boolean allowContextBotPanel;
private boolean allowContextBotPanelSecond;
private boolean allowStickersPanel;
private HashMap<MessageObject, Boolean> alredyPlayedStickers;
private ArrayList<MessageObject> animatingMessageObjects;
private Paint aspectPaint;
private Path aspectPath;
private AspectRatioFrameLayout aspectRatioFrameLayout;
private ActionBarMenuItem attachItem;
private ChatAvatarContainer avatarContainer;
private ChatBigEmptyView bigEmptyView;
private MessageObject botButtons;
private PhotoViewer.PhotoViewerProvider botContextProvider;
private ArrayList<Object> botContextResults;
private SparseArray<TLRPC.BotInfo> botInfo;
private MessageObject botReplyButtons;
private String botUser;
private int botsCount;
private FrameLayout bottomMessagesActionContainer;
private FrameLayout bottomOverlay;
private AnimatorSet bottomOverlayAnimation;
private FrameLayout bottomOverlayChat;
private TextView bottomOverlayChatText;
private UnreadCounterTextView bottomOverlayChatText2;
private RadialProgressView bottomOverlayProgress;
private TextView bottomOverlayText;
private boolean[] cacheEndReached;
private ActionBarMenuItem callItem;
private int canEditMessagesCount;
private int canForwardMessagesCount;
private int cantCopyMessageCount;
private int cantDeleteMessagesCount;
private int cantForwardMessagesCount;
private ChatActionBarMenuPopupWindow chatActionBarMenuPop;
private ChatActivityDelegate chatActivityDelegate;
public ChatActivityEnterView chatActivityEnterView;
private ChatActivityAdapter chatAdapter;
private ChatAttachAlert chatAttachAlert;
private long chatEnterTime;
protected TLRPC.ChatFull chatInfo;
private GridLayoutManagerFixed chatLayoutManager;
private long chatLeaveTime;
private RecyclerListView chatListView;
private int chatListViewClipTop;
private ArrayList<ChatMessageCell> chatMessageCellsCache;
private boolean checkTextureViewPosition;
private boolean clearingHistory;
private Dialog closeChatDialog;
private ImageView closeLivePinned;
private ImageView closePinned;
private ImageView closeReportSpam;
private SizeNotifierFrameLayout contentView;
private int createUnreadMessageAfterId;
private boolean createUnreadMessageAfterIdLoading;
protected TLRPC.Chat currentChat;
protected TLRPC.EncryptedChat currentEncryptedChat;
private boolean currentFloatingDateOnScreen;
private boolean currentFloatingTopIsNotMessage;
private String currentPicturePath;
protected TLRPC.User currentUser;
private AlertDialog dialogEnterRoomLoading;
private long dialog_id;
private ChatMessageCell drawLaterRoundProgressCell;
private AnimatorSet editButtonAnimation;
private int editTextEnd;
private ActionBarMenuItem editTextItem;
private int editTextStart;
private MessageObject editingMessageObject;
private int editingMessageObjectReqId;
private View emojiButtonRed;
private TextView emptyView;
private FrameLayout emptyViewContainer;
private boolean[] endReached;
private boolean first;
private boolean firstLoading;
boolean firstOpen;
private boolean firstUnreadSent;
private int first_unread_id;
private boolean fixPaddingsInLayout;
private AnimatorSet floatingDateAnimation;
private ChatActionCell floatingDateView;
private boolean forceScrollToTop;
private TextView forwardButton;
private AnimatorSet forwardButtonAnimation;
private boolean[] forwardEndReached;
private HintView forwardHintView;
private MessageObject forwardingMessage;
private MessageObject.GroupedMessages forwardingMessageGroup;
private ArrayList<MessageObject> forwardingMessages;
private ArrayList<CharSequence> foundUrls;
private TLRPC.WebPage foundWebPage;
private FragmentContextView fragmentContextView;
private TextView gifHintTextView;
private boolean globalIgnoreLayout;
private LongSparseArray<MessageObject.GroupedMessages> groupedMessagesMap;
private boolean hasAllMentionsLocal;
private boolean hasBotsCommands;
private boolean hasUnfavedSelected;
private ActionBarMenuItem headerItem;
private Runnable hideAlertViewRunnable;
private int hideDateDelay;
private int highlightMessageId;
private boolean ignoreAttachOnPause;
private boolean inScheduleMode;
private long inlineReturn;
private InstantCameraView instantCameraView;
private int lastLoadIndex;
private int last_message_id;
private int linkSearchRequestId;
private boolean loading;
private boolean loadingForward;
private boolean loadingFromOldPosition;
private int loadingPinnedMessage;
private int loadsCount;
private boolean locationAlertShown;
private DialogRedpkg mRedPacketDialog;
View mRedPacketDialogView;
private RedPacketViewHolder mRedPacketViewHolder;
private HashMap<String, CompositeDisposable> mTaskDisposable;
private int[] maxDate;
private int[] maxMessageId;
private TextView mediaBanTooltip;
private FrameLayout mentionContainer;
private ExtendedGridLayoutManager mentionGridLayoutManager;
private LinearLayoutManager mentionLayoutManager;
private AnimatorSet mentionListAnimation;
private RecyclerListView mentionListView;
private boolean mentionListViewIgnoreLayout;
private boolean mentionListViewIsScrolling;
private int mentionListViewLastViewPosition;
private int mentionListViewLastViewTop;
private int mentionListViewScrollOffsetY;
private FrameLayout mentiondownButton;
private ObjectAnimator mentiondownButtonAnimation;
private TextView mentiondownButtonCounter;
private ImageView mentiondownButtonImage;
private MentionsAdapter mentionsAdapter;
private RecyclerListView.OnItemClickListener mentionsOnItemClickListener;
private long mergeDialogId;
protected ArrayList<MessageObject> messages;
private HashMap<String, ArrayList<MessageObject>> messagesByDays;
private SparseArray<MessageObject>[] messagesDict;
private int[] minDate;
private int[] minMessageId;
private ChatActionBarMenuSubItem muteItem;
private MessageObject needAnimateToMessage;
private boolean needSelectFromMessageId;
private int newMentionsCount;
private int newUnreadMessageCount;
private HintView noSoundHintView;
RecyclerListView.OnItemClickListenerExtended onItemClickListener;
RecyclerListView.OnItemLongClickListenerExtended onItemLongClickListener;
private boolean openAnimationEnded;
private boolean openKeyboardOnAttachMenuClose;
private boolean openSearchKeyboard;
private View overlayView;
private FrameLayout pagedownButton;
private AnimatorSet pagedownButtonAnimation;
private TextView pagedownButtonCounter;
private ImageView pagedownButtonImage;
private boolean pagedownButtonShowedByScroll;
private boolean paused;
private boolean pausedOnLastMessage;
private String pendingLinkSearchString;
private Runnable pendingWebPageTimeoutRunnable;
private PhotoViewer.PhotoViewerProvider photoViewerProvider;
private int pinnedImageCacheType;
private TLRPC.PhotoSize pinnedImageLocation;
private TLObject pinnedImageLocationObject;
private int pinnedImageSize;
private TLRPC.PhotoSize pinnedImageThumbLocation;
private View pinnedLineView;
private MessageObject pinnedLiveMessage;
private SimpleTextView pinnedLiveMessageNameTextView;
private SimpleTextView pinnedLiveMessageTextView;
private FrameLayout pinnedLiveMessageView;
private BackupImageView pinnedLiveUserImageView;
private BackupImageView pinnedMessageImageView;
private SimpleTextView pinnedMessageNameTextView;
private MessageObject pinnedMessageObject;
private SimpleTextView pinnedMessageTextView;
private FrameLayout pinnedMessageView;
private AnimatorSet pinnedMessageViewAnimator;
private LongSparseArray<ArrayList<MessageObject>> polls;
ArrayList<MessageObject> pollsToCheck;
private int prevSetUnreadCount;
private RadialProgressView progressBar;
private FrameLayout progressView;
private View progressView2;
private XAlertDialog redTransAlert;
private TextView replyButton;
private AnimatorSet replyButtonAnimation;
private ImageView replyCloseImageView;
private ImageView replyIconImageView;
private int replyImageCacheType;
private TLRPC.PhotoSize replyImageLocation;
private TLObject replyImageLocationObject;
private int replyImageSize;
private TLRPC.PhotoSize replyImageThumbLocation;
private BackupImageView replyImageView;
private View replyLineView;
private SimpleTextView replyNameTextView;
private SimpleTextView replyObjectTextView;
private MessageObject replyingMessageObject;
private TextView reportSpamButton;
private AnimatorSet reportSpamViewAnimator;
private int reqId;
private int returnToLoadIndex;
private int returnToMessageId;
private AnimatorSet runningAnimation;
private int scheduledMessagesCount;
private AnimatorSet scrimAnimatorSet;
private Paint scrimPaint;
private ActionBarPopupWindow scrimPopupWindow;
private View scrimView;
private MessageObject scrollToMessage;
private int scrollToMessagePosition;
private int scrollToOffsetOnRecreate;
private int scrollToPositionOnRecreate;
private boolean scrollToTopOnResume;
private boolean scrollToTopUnReadOnResume;
private boolean scrollToVideo;
private boolean scrollingChatListView;
private boolean scrollingFloatingDate;
private ImageView searchCalendarButton;
private FrameLayout searchContainer;
private SimpleTextView searchCountText;
private ImageView searchDownButton;
private ActionBarMenuItem searchItem;
private ImageView searchUpButton;
private ImageView searchUserButton;
private boolean searchingForUser;
private TLRPC.User searchingUserMessages;
private SparseArray<MessageObject>[] selectedMessagesCanCopyIds;
private SparseArray<MessageObject>[] selectedMessagesCanStarIds;
private NumberTextView selectedMessagesCountTextView;
private SparseArray<MessageObject>[] selectedMessagesIds;
private MessageObject selectedObject;
private MessageObject.GroupedMessages selectedObjectGroup;
private MessageObject selectedObjectToEditCaption;
private boolean showScrollToMessageError;
private HintView slowModeHint;
private int startLoadFromMessageId;
private int startLoadFromMessageIdSaved;
private int startLoadFromMessageOffset;
private String startVideoEdit;
private StickersAdapter stickersAdapter;
private RecyclerListView stickersListView;
private RecyclerListView.OnItemClickListener stickersOnItemClickListener;
private FrameLayout stickersPanel;
private ImageView stickersPanelArrow;
private View timeItem2;
private FrameLayout topChatPanelView;
private int topViewWasVisible;
private UndoView undoView;
private MessageObject unreadMessageObject;
private Runnable unselectRunnable;
private boolean userBlocked;
protected TLRPC.UserFull userInfo;
private FrameLayout videoPlayerContainer;
private TextureView videoTextureView;
private AnimatorSet voiceHintAnimation;
private Runnable voiceHintHideRunnable;
private TextView voiceHintTextView;
private Runnable waitingForCharaterEnterRunnable;
private ArrayList<Integer> waitingForLoad;
private boolean waitingForReplyMessageLoad;
private boolean wasManualScroll;
private boolean wasPaused;
static void access$000(ChatActivity chatActivity, int i, boolean z, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$000(ChatActivity chatActivity, String str, short s, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$000(ChatActivity chatActivity, String str, boolean z, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$100(ChatActivity chatActivity, String str, byte b, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$100(ChatActivity chatActivity, short s, float f, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$100(ChatActivity chatActivity, short s, String str, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$1000(ChatActivity chatActivity, View view, boolean z, boolean z2, float f, float f2, String str, byte b, short s, float f3) {
double d = (42 * 210) + 210;
}
static void access$1000(ChatActivity chatActivity, View view, boolean z, boolean z2, float f, float f2, String str, short s, byte b, float f3) {
double d = (42 * 210) + 210;
}
static void access$1000(ChatActivity chatActivity, View view, boolean z, boolean z2, float f, float f2, short s, byte b, float f3, String str) {
double d = (42 * 210) + 210;
}
static void access$10000(ChatActivity chatActivity, char c, boolean z, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$10000(ChatActivity chatActivity, float f, int i, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$10000(ChatActivity chatActivity, float f, boolean z, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$10100(ChatActivity chatActivity, byte b, char c, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$10100(ChatActivity chatActivity, char c, int i, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$10100(ChatActivity chatActivity, int i, float f, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$10200(ChatActivity chatActivity, char c, int i, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$10200(ChatActivity chatActivity, int i, char c, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$10200(ChatActivity chatActivity, boolean z, int i, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$10202(ChatActivity chatActivity, boolean z, int i, char c, boolean z2, short s) {
double d = (42 * 210) + 210;
}
static void access$10202(ChatActivity chatActivity, boolean z, int i, short s, boolean z2, char c) {
double d = (42 * 210) + 210;
}
static void access$10202(ChatActivity chatActivity, boolean z, short s, char c, int i, boolean z2) {
double d = (42 * 210) + 210;
}
static void access$10300(ChatActivity chatActivity, int i, short s, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$10300(ChatActivity chatActivity, short s, float f, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$10300(ChatActivity chatActivity, short s, int i, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$10400(ChatActivity chatActivity, byte b, char c, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$10400(ChatActivity chatActivity, float f, int i, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$10400(ChatActivity chatActivity, int i, byte b, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$10402(ChatActivity chatActivity, boolean z, byte b, short s, boolean z2, int i) {
double d = (42 * 210) + 210;
}
static void access$10402(ChatActivity chatActivity, boolean z, boolean z2, int i, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$10402(ChatActivity chatActivity, boolean z, boolean z2, short s, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$10500(ChatActivity chatActivity, float f, int i, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$10500(ChatActivity chatActivity, int i, float f, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$10500(ChatActivity chatActivity, boolean z, int i, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$10600(ChatActivity chatActivity, char c, boolean z, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$10600(ChatActivity chatActivity, String str, char c, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$10600(ChatActivity chatActivity, boolean z, short s, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$10602(ChatActivity chatActivity, int i, byte b, String str, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$10602(ChatActivity chatActivity, int i, short s, byte b, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$10602(ChatActivity chatActivity, int i, short s, char c, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$10700(ChatActivity chatActivity, byte b, float f, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$10700(ChatActivity chatActivity, char c, byte b, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$10700(ChatActivity chatActivity, float f, byte b, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$10800(ChatActivity chatActivity, byte b, char c, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$10800(ChatActivity chatActivity, char c, boolean z, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$10800(ChatActivity chatActivity, char c, boolean z, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$10900(ChatActivity chatActivity, short s, char c, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$10900(ChatActivity chatActivity, short s, String str, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$10900(ChatActivity chatActivity, boolean z, char c, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$1100(ChatActivity chatActivity, View view, boolean z, float f, float f2, char c, byte b, short s, boolean z2) {
double d = (42 * 210) + 210;
}
static void access$1100(ChatActivity chatActivity, View view, boolean z, float f, float f2, short s, char c, byte b, boolean z2) {
double d = (42 * 210) + 210;
}
static void access$1100(ChatActivity chatActivity, View view, boolean z, float f, float f2, boolean z2, short s, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$11000(ChatActivity chatActivity, String str, short s, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$11000(ChatActivity chatActivity, boolean z, int i, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$11000(ChatActivity chatActivity, boolean z, String str, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$11100(ChatActivity chatActivity, String str, int i, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$11100(ChatActivity chatActivity, String str, int i, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$11100(ChatActivity chatActivity, boolean z, float f, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$11200(ChatActivity chatActivity, byte b, boolean z, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$11200(ChatActivity chatActivity, char c, float f, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$11200(ChatActivity chatActivity, float f, byte b, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$11300(ChatActivity chatActivity, char c, String str, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$11300(ChatActivity chatActivity, char c, boolean z, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$11300(ChatActivity chatActivity, String str, char c, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$11400(ChatActivity chatActivity, byte b, short s, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$11400(ChatActivity chatActivity, byte b, short s, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$11400(ChatActivity chatActivity, String str, byte b, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$11500(ChatActivity chatActivity, int i, boolean z, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$11500(ChatActivity chatActivity, short s, char c, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$11500(ChatActivity chatActivity, short s, int i, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void access$11600(ChatActivity chatActivity, byte b, boolean z, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$11600(ChatActivity chatActivity, boolean z, byte b, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$11600(ChatActivity chatActivity, boolean z, byte b, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$11700(ChatActivity chatActivity, byte b, boolean z, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$11700(ChatActivity chatActivity, char c, int i, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$11700(ChatActivity chatActivity, char c, boolean z, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$11800(ChatActivity chatActivity, byte b, char c, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$11800(ChatActivity chatActivity, int i, byte b, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$11800(ChatActivity chatActivity, int i, char c, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$11900(ChatActivity chatActivity, String str, float f, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$11900(ChatActivity chatActivity, String str, int i, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$11900(ChatActivity chatActivity, String str, int i, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$1200(ChatActivity chatActivity, int i, boolean z, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$1200(ChatActivity chatActivity, short s, char c, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$1200(ChatActivity chatActivity, boolean z, char c, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$12000(ChatActivity chatActivity, char c, String str, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$12000(ChatActivity chatActivity, String str, boolean z, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$12000(ChatActivity chatActivity, short s, String str, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$12100(ChatActivity chatActivity, byte b, String str, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$12100(ChatActivity chatActivity, boolean z, byte b, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$12100(ChatActivity chatActivity, boolean z, short s, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$12200(ChatActivity chatActivity, boolean z, byte b, int i, boolean z2, String str) {
double d = (42 * 210) + 210;
}
static void access$12200(ChatActivity chatActivity, boolean z, int i, byte b, String str, boolean z2) {
double d = (42 * 210) + 210;
}
static void access$12200(ChatActivity chatActivity, boolean z, boolean z2, String str, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$12300(ChatActivity chatActivity, char c, int i, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$12300(ChatActivity chatActivity, int i, boolean z, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$12300(ChatActivity chatActivity, boolean z, char c, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$12302(ChatActivity chatActivity, boolean z, float f, int i, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$12302(ChatActivity chatActivity, boolean z, int i, String str, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$12302(ChatActivity chatActivity, boolean z, String str, short s, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$12400(ChatActivity chatActivity, boolean z, int i, char c, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$12400(ChatActivity chatActivity, boolean z, short s, char c, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$12400(ChatActivity chatActivity, boolean z, short s, float f, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$12500(ChatActivity chatActivity, int i, byte b, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$12500(ChatActivity chatActivity, int i, boolean z, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$12500(ChatActivity chatActivity, boolean z, char c, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$12600(ChatActivity chatActivity, char c, byte b, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$12600(ChatActivity chatActivity, float f, byte b, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$12600(ChatActivity chatActivity, float f, String str, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$12700(ChatActivity chatActivity, byte b, short s, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$12700(ChatActivity chatActivity, int i, byte b, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$12700(ChatActivity chatActivity, int i, short s, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$12800(ChatActivity chatActivity, byte b, boolean z, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$12800(ChatActivity chatActivity, String str, byte b, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$12800(ChatActivity chatActivity, boolean z, byte b, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$12900(ChatActivity chatActivity, char c, byte b, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$12900(ChatActivity chatActivity, char c, byte b, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$12900(ChatActivity chatActivity, int i, String str, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$1300(ChatActivity chatActivity, View view, float f, int i, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$1300(ChatActivity chatActivity, View view, float f, String str, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$1300(ChatActivity chatActivity, View view, String str, int i, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$13002(ChatActivity chatActivity, boolean z, char c, int i, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$13002(ChatActivity chatActivity, boolean z, char c, String str, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$13002(ChatActivity chatActivity, boolean z, int i, float f, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$13200(ChatActivity chatActivity, char c, boolean z, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$13200(ChatActivity chatActivity, String str, boolean z, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$13200(ChatActivity chatActivity, boolean z, String str, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$13202(ChatActivity chatActivity, ActionBarPopupWindow actionBarPopupWindow, String str, char c, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$13202(ChatActivity chatActivity, ActionBarPopupWindow actionBarPopupWindow, String str, char c, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$13202(ChatActivity chatActivity, ActionBarPopupWindow actionBarPopupWindow, short s, float f, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$13300(ChatActivity chatActivity, byte b, boolean z, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$13300(ChatActivity chatActivity, String str, byte b, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$13300(ChatActivity chatActivity, short s, String str, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$13400(ChatActivity chatActivity, byte b, String str, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$13400(ChatActivity chatActivity, String str, int i, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$13400(ChatActivity chatActivity, short s, String str, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$13500(ChatActivity chatActivity, MessageObject messageObject, char c, boolean z, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$13500(ChatActivity chatActivity, MessageObject messageObject, float f, char c, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$13500(ChatActivity chatActivity, MessageObject messageObject, int i, float f, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$13600(ChatActivity chatActivity, float f, int i, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$13600(ChatActivity chatActivity, float f, String str, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$13600(ChatActivity chatActivity, String str, int i, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$13700(ChatActivity chatActivity, byte b, int i, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$13700(ChatActivity chatActivity, int i, byte b, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$13700(ChatActivity chatActivity, short s, char c, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$13800(ChatActivity chatActivity, int i, boolean z, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$13800(ChatActivity chatActivity, boolean z, int i, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$13800(ChatActivity chatActivity, boolean z, int i, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$13900(ChatActivity chatActivity, int i, boolean z, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$13900(ChatActivity chatActivity, String str, boolean z, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$13900(ChatActivity chatActivity, boolean z, byte b, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$1400(ChatActivity chatActivity, boolean z, char c, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$1400(ChatActivity chatActivity, boolean z, String str, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$1400(ChatActivity chatActivity, boolean z, short s, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$14000(ChatActivity chatActivity, byte b, char c, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$14000(ChatActivity chatActivity, byte b, short s, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$14000(ChatActivity chatActivity, char c, boolean z, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$14100(ChatActivity chatActivity, MessageObject messageObject, float f, short s, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$14100(ChatActivity chatActivity, MessageObject messageObject, String str, int i, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$14100(ChatActivity chatActivity, MessageObject messageObject, String str, int i, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$14400(ChatActivity chatActivity, char c, boolean z, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$14400(ChatActivity chatActivity, boolean z, char c, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$14400(ChatActivity chatActivity, boolean z, short s, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$14402(ChatActivity chatActivity, boolean z, String str, char c, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$14402(ChatActivity chatActivity, boolean z, String str, short s, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$14402(ChatActivity chatActivity, boolean z, short s, char c, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$14502(ChatActivity chatActivity, boolean z, byte b, char c, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$14502(ChatActivity chatActivity, boolean z, char c, short s, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$14502(ChatActivity chatActivity, boolean z, short s, int i, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$14600(ChatActivity chatActivity, boolean z, byte b, short s, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$14600(ChatActivity chatActivity, boolean z, char c, short s, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$14600(ChatActivity chatActivity, boolean z, float f, byte b, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$14700(ChatActivity chatActivity, float f, boolean z, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$14700(ChatActivity chatActivity, String str, char c, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$14700(ChatActivity chatActivity, String str, boolean z, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$14800(ChatActivity chatActivity, byte b, short s, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void access$14800(ChatActivity chatActivity, short s, byte b, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void access$14800(ChatActivity chatActivity, boolean z, byte b, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$14900(ChatActivity chatActivity, boolean z, float f, boolean z2, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$14900(ChatActivity chatActivity, boolean z, boolean z2, float f, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$14900(ChatActivity chatActivity, boolean z, boolean z2, float f, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$1500(ChatActivity chatActivity, byte b, boolean z, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$1500(ChatActivity chatActivity, char c, float f, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$1500(ChatActivity chatActivity, float f, byte b, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void access$15000(ChatActivity chatActivity, boolean z, float f, int i, String str, boolean z2) {
double d = (42 * 210) + 210;
}
static void access$15000(ChatActivity chatActivity, boolean z, float f, boolean z2, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$15000(ChatActivity chatActivity, boolean z, float f, boolean z2, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$15100(ChatActivity chatActivity, byte b, char c, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$15100(ChatActivity chatActivity, byte b, char c, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$15100(ChatActivity chatActivity, short s, byte b, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void access$15200(ChatActivity chatActivity, boolean z, boolean z2, float f, short s, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$15200(ChatActivity chatActivity, boolean z, boolean z2, String str, float f, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$15200(ChatActivity chatActivity, boolean z, boolean z2, short s, String str, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$15300(ChatActivity chatActivity, byte b, boolean z, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$15300(ChatActivity chatActivity, short s, char c, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$15300(ChatActivity chatActivity, boolean z, short s, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$15302(ChatActivity chatActivity, boolean z, char c, int i, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$15302(ChatActivity chatActivity, boolean z, int i, byte b, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$15302(ChatActivity chatActivity, boolean z, String str, int i, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$15400(ChatActivity chatActivity, int i, float f, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$15400(ChatActivity chatActivity, int i, boolean z, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$15400(ChatActivity chatActivity, boolean z, String str, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$15500(ChatActivity chatActivity, char c, short s, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$15500(ChatActivity chatActivity, char c, boolean z, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$15500(ChatActivity chatActivity, float f, char c, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$15600(ChatActivity chatActivity, int i, boolean z, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$15600(ChatActivity chatActivity, String str, boolean z, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$15600(ChatActivity chatActivity, boolean z, int i, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$15700(ChatActivity chatActivity, byte b, float f, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$15700(ChatActivity chatActivity, char c, byte b, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$15700(ChatActivity chatActivity, char c, float f, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$15702(ChatActivity chatActivity, boolean z, float f, short s, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$15702(ChatActivity chatActivity, boolean z, String str, int i, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$15702(ChatActivity chatActivity, boolean z, String str, short s, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$15800(ChatActivity chatActivity, char c, float f, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$15800(ChatActivity chatActivity, String str, char c, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$15800(ChatActivity chatActivity, boolean z, char c, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$15900(ChatActivity chatActivity, char c, boolean z, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$15900(ChatActivity chatActivity, float f, boolean z, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$15900(ChatActivity chatActivity, String str, char c, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$1600(ChatActivity chatActivity, char c, float f, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$1600(ChatActivity chatActivity, char c, boolean z, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$1600(ChatActivity chatActivity, boolean z, short s, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$16000(ChatActivity chatActivity, byte b, String str, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$16000(ChatActivity chatActivity, short s, byte b, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$16000(ChatActivity chatActivity, short s, String str, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$16100(ChatActivity chatActivity, char c, boolean z, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$16100(ChatActivity chatActivity, float f, String str, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$16100(ChatActivity chatActivity, boolean z, String str, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$16102(ChatActivity chatActivity, int i, char c, byte b, short s, int i2) {
double d = (42 * 210) + 210;
}
static void access$16102(ChatActivity chatActivity, int i, short s, byte b, char c, int i2) {
double d = (42 * 210) + 210;
}
static void access$16102(ChatActivity chatActivity, int i, short s, char c, int i2, byte b) {
double d = (42 * 210) + 210;
}
static void access$16110(ChatActivity chatActivity, byte b, char c, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$16110(ChatActivity chatActivity, byte b, boolean z, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$16110(ChatActivity chatActivity, boolean z, char c, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$16200(ChatActivity chatActivity, byte b, char c, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$16200(ChatActivity chatActivity, char c, byte b, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$16200(ChatActivity chatActivity, char c, int i, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$16300(ChatActivity chatActivity, boolean z, boolean z2, byte b, boolean z3, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$16300(ChatActivity chatActivity, boolean z, boolean z2, char c, float f, boolean z3, byte b) {
double d = (42 * 210) + 210;
}
static void access$16300(ChatActivity chatActivity, boolean z, boolean z2, float f, char c, boolean z3, byte b) {
double d = (42 * 210) + 210;
}
static void access$16400(ChatActivity chatActivity, byte b, int i, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$16400(ChatActivity chatActivity, int i, short s, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$16400(ChatActivity chatActivity, short s, int i, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$16500(ChatActivity chatActivity, float f, char c, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$16500(ChatActivity chatActivity, String str, char c, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$16500(ChatActivity chatActivity, String str, int i, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$16600(ChatActivity chatActivity, char c, short s, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$16600(ChatActivity chatActivity, boolean z, byte b, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$16600(ChatActivity chatActivity, boolean z, byte b, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$16602(ChatActivity chatActivity, boolean z, float f, byte b, boolean z2, short s) {
double d = (42 * 210) + 210;
}
static void access$16602(ChatActivity chatActivity, boolean z, short s, float f, byte b, boolean z2) {
double d = (42 * 210) + 210;
}
static void access$16602(ChatActivity chatActivity, boolean z, short s, boolean z2, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$16700(ChatActivity chatActivity, byte b, String str, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$16700(ChatActivity chatActivity, String str, boolean z, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$16700(ChatActivity chatActivity, short s, byte b, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$16800(ChatActivity chatActivity, char c, byte b, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$16800(ChatActivity chatActivity, char c, String str, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$16800(ChatActivity chatActivity, int i, char c, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$16900(ChatActivity chatActivity, int i, byte b, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$16900(ChatActivity chatActivity, int i, char c, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$16900(ChatActivity chatActivity, short s, byte b, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$1700(ChatActivity chatActivity, char c, short s, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$1700(ChatActivity chatActivity, String str, short s, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$1700(ChatActivity chatActivity, short s, char c, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$17000(ChatActivity chatActivity, int i, String str, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$17000(ChatActivity chatActivity, String str, float f, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$17000(ChatActivity chatActivity, String str, short s, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$17100(ChatActivity chatActivity, char c, boolean z, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$17100(ChatActivity chatActivity, short s, String str, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$17100(ChatActivity chatActivity, boolean z, char c, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$17102(ChatActivity chatActivity, AnimatorSet animatorSet, byte b, String str, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$17102(ChatActivity chatActivity, AnimatorSet animatorSet, String str, short s, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$17102(ChatActivity chatActivity, AnimatorSet animatorSet, short s, String str, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$17200(ChatActivity chatActivity, int i, String str, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$17200(ChatActivity chatActivity, int i, String str, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$17200(ChatActivity chatActivity, boolean z, byte b, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$17202(ChatActivity chatActivity, boolean z, int i, float f, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$17202(ChatActivity chatActivity, boolean z, String str, float f, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$17202(ChatActivity chatActivity, boolean z, String str, int i, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$17300(ChatActivity chatActivity, char c, String str, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$17300(ChatActivity chatActivity, short s, char c, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$17300(ChatActivity chatActivity, short s, int i, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$17302(ChatActivity chatActivity, boolean z, String str, char c, float f, boolean z2) {
double d = (42 * 210) + 210;
}
static void access$17302(ChatActivity chatActivity, boolean z, String str, boolean z2, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$17302(ChatActivity chatActivity, boolean z, boolean z2, float f, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$17400(ChatActivity chatActivity, byte b, char c, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$17400(ChatActivity chatActivity, int i, byte b, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void access$17400(ChatActivity chatActivity, boolean z, char c, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$17402(ChatActivity chatActivity, boolean z, char c, boolean z2, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$17402(ChatActivity chatActivity, boolean z, boolean z2, char c, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$17402(ChatActivity chatActivity, boolean z, boolean z2, int i, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$17500(ChatActivity chatActivity, char c, float f, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$17500(ChatActivity chatActivity, char c, short s, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$17500(ChatActivity chatActivity, char c, boolean z, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$17600(ChatActivity chatActivity, byte b, boolean z, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$17600(ChatActivity chatActivity, int i, byte b, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$17600(ChatActivity chatActivity, int i, float f, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$17700(ChatActivity chatActivity, byte b, char c, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$17700(ChatActivity chatActivity, byte b, int i, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void access$17700(ChatActivity chatActivity, char c, boolean z, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$17800(ChatActivity chatActivity, float f, byte b, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$17800(ChatActivity chatActivity, float f, int i, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$17800(ChatActivity chatActivity, boolean z, byte b, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$17900(ChatActivity chatActivity, short s, byte b, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$17900(ChatActivity chatActivity, boolean z, byte b, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$17900(ChatActivity chatActivity, boolean z, short s, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$1800(ChatActivity chatActivity, byte b, char c, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$1800(ChatActivity chatActivity, float f, byte b, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$1800(ChatActivity chatActivity, String str, float f, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$18000(ChatActivity chatActivity, byte b, int i, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$18000(ChatActivity chatActivity, int i, byte b, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$18000(ChatActivity chatActivity, int i, String str, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$18002(ChatActivity chatActivity, int i, byte b, String str, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$18002(ChatActivity chatActivity, int i, char c, boolean z, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$18002(ChatActivity chatActivity, int i, boolean z, byte b, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$18008(ChatActivity chatActivity, char c, byte b, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$18008(ChatActivity chatActivity, char c, short s, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$18008(ChatActivity chatActivity, int i, byte b, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$18100(ChatActivity chatActivity, float f, int i, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$18100(ChatActivity chatActivity, String str, float f, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$18100(ChatActivity chatActivity, short s, int i, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$18200(ChatActivity chatActivity, boolean z, char c, byte b, boolean z2, int i) {
double d = (42 * 210) + 210;
}
static void access$18200(ChatActivity chatActivity, boolean z, int i, boolean z2, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$18200(ChatActivity chatActivity, boolean z, boolean z2, int i, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$18300(ChatActivity chatActivity, boolean z, boolean z2, byte b, float f, boolean z3, String str) {
double d = (42 * 210) + 210;
}
static void access$18300(ChatActivity chatActivity, boolean z, boolean z2, byte b, String str, boolean z3, float f) {
double d = (42 * 210) + 210;
}
static void access$18300(ChatActivity chatActivity, boolean z, boolean z2, boolean z3, byte b, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$18400(ChatActivity chatActivity, View view, boolean z, CharSequence charSequence, String str, int i, boolean z2, short s) {
double d = (42 * 210) + 210;
}
static void access$18400(ChatActivity chatActivity, View view, boolean z, CharSequence charSequence, String str, boolean z2, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$18400(ChatActivity chatActivity, View view, boolean z, CharSequence charSequence, boolean z2, int i, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$18500(ChatActivity chatActivity, float f, boolean z, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$18500(ChatActivity chatActivity, short s, boolean z, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$18500(ChatActivity chatActivity, boolean z, short s, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$18600(ChatActivity chatActivity, byte b, float f, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$18600(ChatActivity chatActivity, String str, short s, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$18600(ChatActivity chatActivity, short s, float f, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$18602(ChatActivity chatActivity, Runnable runnable, char c, float f, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$18602(ChatActivity chatActivity, Runnable runnable, char c, short s, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$18602(ChatActivity chatActivity, Runnable runnable, char c, boolean z, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$18700(ChatActivity chatActivity, CharSequence charSequence, boolean z, byte b, short s, boolean z2, int i) {
double d = (42 * 210) + 210;
}
static void access$18700(ChatActivity chatActivity, CharSequence charSequence, boolean z, int i, byte b, boolean z2, short s) {
double d = (42 * 210) + 210;
}
static void access$18700(ChatActivity chatActivity, CharSequence charSequence, boolean z, short s, byte b, int i, boolean z2) {
double d = (42 * 210) + 210;
}
static void access$18800(ChatActivity chatActivity, int i, short s, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$18800(ChatActivity chatActivity, int i, short s, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void access$18800(ChatActivity chatActivity, short s, boolean z, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$18900(ChatActivity chatActivity, byte b, boolean z, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$18900(ChatActivity chatActivity, char c, byte b, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$18900(ChatActivity chatActivity, boolean z, float f, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$1900(ChatActivity chatActivity, boolean z, byte b, char c, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$1900(ChatActivity chatActivity, boolean z, byte b, float f, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$1900(ChatActivity chatActivity, boolean z, char c, short s, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$19000(ChatActivity chatActivity, char c, float f, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$19000(ChatActivity chatActivity, float f, int i, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$19000(ChatActivity chatActivity, String str, int i, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$19100(ChatActivity chatActivity, float f, int i, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$19100(ChatActivity chatActivity, String str, int i, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$19100(ChatActivity chatActivity, String str, boolean z, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$19200(ChatActivity chatActivity, int i, short s, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$19200(ChatActivity chatActivity, String str, boolean z, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$19200(ChatActivity chatActivity, short s, int i, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$19202(ChatActivity chatActivity, MessageObject messageObject, float f, byte b, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$19202(ChatActivity chatActivity, MessageObject messageObject, float f, short s, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$19202(ChatActivity chatActivity, MessageObject messageObject, short s, byte b, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$19300(ChatActivity chatActivity, String str, char c, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$19300(ChatActivity chatActivity, String str, short s, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$19300(ChatActivity chatActivity, boolean z, short s, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$19302(ChatActivity chatActivity, int i, byte b, int i2, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void access$19302(ChatActivity chatActivity, int i, char c, int i2, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$19302(ChatActivity chatActivity, int i, int i2, char c, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$19400(ChatActivity chatActivity, byte b, float f, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$19400(ChatActivity chatActivity, char c, float f, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$19400(ChatActivity chatActivity, String str, byte b, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$19500(ChatActivity chatActivity, byte b, String str, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$19500(ChatActivity chatActivity, float f, String str, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$19500(ChatActivity chatActivity, boolean z, byte b, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$19600(ChatActivity chatActivity, float f, int i, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$19600(ChatActivity chatActivity, int i, String str, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$19600(ChatActivity chatActivity, short s, String str, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$19700(ChatActivity chatActivity, int i, char c, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$19700(ChatActivity chatActivity, short s, char c, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$19700(ChatActivity chatActivity, short s, int i, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$19800(ChatActivity chatActivity, byte b, int i, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$19800(ChatActivity chatActivity, byte b, String str, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$19800(ChatActivity chatActivity, int i, String str, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$19900(ChatActivity chatActivity, boolean z, char c, byte b, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$19900(ChatActivity chatActivity, boolean z, char c, String str, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$19900(ChatActivity chatActivity, boolean z, String str, byte b, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$200(ChatActivity chatActivity, byte b, short s, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$200(ChatActivity chatActivity, char c, byte b, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$200(ChatActivity chatActivity, short s, int i, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$2000(ChatActivity chatActivity, float f, byte b, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$2000(ChatActivity chatActivity, short s, boolean z, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$2000(ChatActivity chatActivity, short s, boolean z, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$20000(ChatActivity chatActivity, int i, float f, byte b, short s, int i2) {
double d = (42 * 210) + 210;
}
static void access$20000(ChatActivity chatActivity, int i, int i2, short s, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$20000(ChatActivity chatActivity, int i, short s, byte b, int i2, float f) {
double d = (42 * 210) + 210;
}
static void access$20100(ChatActivity chatActivity, int i, String str, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void access$20100(ChatActivity chatActivity, String str, boolean z, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$20100(ChatActivity chatActivity, boolean z, String str, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$20200(ChatActivity chatActivity, char c, String str, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$20200(ChatActivity chatActivity, short s, int i, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$20200(ChatActivity chatActivity, short s, int i, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$20300(ChatActivity chatActivity, byte b, short s, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$20300(ChatActivity chatActivity, float f, short s, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$20300(ChatActivity chatActivity, int i, byte b, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$20400(ChatActivity chatActivity, byte b, float f, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$20400(ChatActivity chatActivity, byte b, String str, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$20400(ChatActivity chatActivity, short s, String str, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$20500(ChatActivity chatActivity, float f, int i, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$20500(ChatActivity chatActivity, int i, float f, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$20500(ChatActivity chatActivity, boolean z, String str, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$20600(ChatActivity chatActivity, byte b, char c, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$20600(ChatActivity chatActivity, boolean z, byte b, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$20600(ChatActivity chatActivity, boolean z, char c, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$20700(ChatActivity chatActivity, byte b, String str, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$20700(ChatActivity chatActivity, char c, int i, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$20700(ChatActivity chatActivity, String str, byte b, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$20800(ChatActivity chatActivity, char c, int i, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$20800(ChatActivity chatActivity, short s, boolean z, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$20800(ChatActivity chatActivity, boolean z, short s, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$20900(ChatActivity chatActivity, float f, String str, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$20900(ChatActivity chatActivity, String str, byte b, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$20900(ChatActivity chatActivity, short s, float f, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$2100(ChatActivity chatActivity, char c, float f, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$2100(ChatActivity chatActivity, short s, char c, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$2100(ChatActivity chatActivity, short s, float f, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$21100(ChatActivity chatActivity, byte b, short s, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void access$21100(ChatActivity chatActivity, byte b, boolean z, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$21100(ChatActivity chatActivity, short s, byte b, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$21200(ChatActivity chatActivity, float f, byte b, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$21200(ChatActivity chatActivity, short s, byte b, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$21200(ChatActivity chatActivity, short s, float f, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$21300(ChatActivity chatActivity, byte b, short s, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$21300(ChatActivity chatActivity, int i, short s, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$21300(ChatActivity chatActivity, short s, byte b, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$21400(ChatActivity chatActivity, byte b, short s, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$21400(ChatActivity chatActivity, float f, short s, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$21400(ChatActivity chatActivity, short s, boolean z, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$21402(ChatActivity chatActivity, AnimatorSet animatorSet, byte b, boolean z, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$21402(ChatActivity chatActivity, AnimatorSet animatorSet, float f, int i, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$21402(ChatActivity chatActivity, AnimatorSet animatorSet, float f, int i, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$21500(ChatActivity chatActivity, byte b, String str, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$21500(ChatActivity chatActivity, int i, short s, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$21500(ChatActivity chatActivity, String str, byte b, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$21600(ChatActivity chatActivity, float f, char c, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$21600(ChatActivity chatActivity, String str, char c, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$21600(ChatActivity chatActivity, boolean z, String str, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$21700(ChatActivity chatActivity, char c, byte b, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$21700(ChatActivity chatActivity, char c, short s, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$21700(ChatActivity chatActivity, float f, short s, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$21800(ChatActivity chatActivity, String str, byte b, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$21800(ChatActivity chatActivity, String str, short s, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$21800(ChatActivity chatActivity, String str, short s, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$21900(ChatActivity chatActivity, int i, byte b, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$21900(ChatActivity chatActivity, int i, String str, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$21900(ChatActivity chatActivity, short s, int i, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$21902(ChatActivity chatActivity, boolean z, char c, short s, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$21902(ChatActivity chatActivity, boolean z, float f, String str, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$21902(ChatActivity chatActivity, boolean z, String str, short s, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$2200(ChatActivity chatActivity, MessageObject messageObject, int i, boolean z, String str, byte b, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$2200(ChatActivity chatActivity, MessageObject messageObject, int i, boolean z, String str, char c, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$2200(ChatActivity chatActivity, MessageObject messageObject, int i, boolean z, short s, String str, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$22000(ChatActivity chatActivity, CharSequence charSequence, ArrayList arrayList, byte b, String str, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$22000(ChatActivity chatActivity, CharSequence charSequence, ArrayList arrayList, byte b, boolean z, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$22000(ChatActivity chatActivity, CharSequence charSequence, ArrayList arrayList, char c, boolean z, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$22100(ChatActivity chatActivity, float f, String str, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$22100(ChatActivity chatActivity, int i, float f, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$22100(ChatActivity chatActivity, boolean z, int i, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$22200(ChatActivity chatActivity, byte b, short s, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$22200(ChatActivity chatActivity, float f, short s, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$22200(ChatActivity chatActivity, float f, boolean z, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$22300(ChatActivity chatActivity, String str, char c, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$22300(ChatActivity chatActivity, short s, char c, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$22300(ChatActivity chatActivity, short s, int i, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$22400(ChatActivity chatActivity, int i, boolean z, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$22400(ChatActivity chatActivity, short s, char c, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$22400(ChatActivity chatActivity, short s, int i, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void access$22500(ChatActivity chatActivity, byte b, int i, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$22500(ChatActivity chatActivity, int i, boolean z, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$22500(ChatActivity chatActivity, boolean z, String str, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$22502(ChatActivity chatActivity, AnimatorSet animatorSet, byte b, short s, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$22502(ChatActivity chatActivity, AnimatorSet animatorSet, float f, byte b, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$22502(ChatActivity chatActivity, AnimatorSet animatorSet, int i, short s, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$22602(ChatActivity chatActivity, Runnable runnable, float f, boolean z, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$22602(ChatActivity chatActivity, Runnable runnable, float f, boolean z, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$22602(ChatActivity chatActivity, Runnable runnable, String str, boolean z, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$22700(ChatActivity chatActivity, String str, byte b, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$22700(ChatActivity chatActivity, String str, char c, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$22700(ChatActivity chatActivity, short s, String str, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$22800(ChatActivity chatActivity, float f, String str, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$22800(ChatActivity chatActivity, int i, String str, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$22800(ChatActivity chatActivity, int i, short s, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$22802(ChatActivity chatActivity, AnimatorSet animatorSet, char c, short s, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$22802(ChatActivity chatActivity, AnimatorSet animatorSet, String str, byte b, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$22802(ChatActivity chatActivity, AnimatorSet animatorSet, String str, short s, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$22900(ChatActivity chatActivity, int i, char c, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$22900(ChatActivity chatActivity, int i, short s, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void access$22900(ChatActivity chatActivity, short s, char c, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$2300(ChatActivity chatActivity, MessageObject messageObject, MessageObject.GroupedMessages groupedMessages, float f, short s, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$2300(ChatActivity chatActivity, MessageObject messageObject, MessageObject.GroupedMessages groupedMessages, int i, String str, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$2300(ChatActivity chatActivity, MessageObject messageObject, MessageObject.GroupedMessages groupedMessages, int i, String str, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$23000(ChatActivity chatActivity, String str, float f, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$23000(ChatActivity chatActivity, String str, boolean z, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$23000(ChatActivity chatActivity, short s, boolean z, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$23102(ChatActivity chatActivity, AnimatorSet animatorSet, int i, byte b, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$23102(ChatActivity chatActivity, AnimatorSet animatorSet, int i, char c, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$23102(ChatActivity chatActivity, AnimatorSet animatorSet, boolean z, int i, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$23200(ChatActivity chatActivity, byte b, String str, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$23200(ChatActivity chatActivity, String str, byte b, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$23200(ChatActivity chatActivity, String str, char c, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$23202(ChatActivity chatActivity, AnimatorSet animatorSet, char c, float f, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$23202(ChatActivity chatActivity, AnimatorSet animatorSet, char c, String str, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$23202(ChatActivity chatActivity, AnimatorSet animatorSet, float f, byte b, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$23300(ChatActivity chatActivity, byte b, float f, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$23300(ChatActivity chatActivity, byte b, short s, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$23300(ChatActivity chatActivity, short s, byte b, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$23400(ChatActivity chatActivity, byte b, String str, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$23400(ChatActivity chatActivity, int i, short s, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$23400(ChatActivity chatActivity, short s, String str, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$23402(ChatActivity chatActivity, AnimatorSet animatorSet, byte b, char c, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$23402(ChatActivity chatActivity, AnimatorSet animatorSet, int i, byte b, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$23402(ChatActivity chatActivity, AnimatorSet animatorSet, int i, char c, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$23700(ChatActivity chatActivity, String str, byte b, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$23700(ChatActivity chatActivity, String str, short s, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$23700(ChatActivity chatActivity, boolean z, String str, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$23702(ChatActivity chatActivity, AnimatorSet animatorSet, byte b, String str, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$23702(ChatActivity chatActivity, AnimatorSet animatorSet, float f, int i, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$23702(ChatActivity chatActivity, AnimatorSet animatorSet, int i, byte b, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$23800(ChatActivity chatActivity, char c, byte b, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$23800(ChatActivity chatActivity, float f, byte b, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$23800(ChatActivity chatActivity, int i, float f, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$23900(ChatActivity chatActivity, char c, boolean z, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$23900(ChatActivity chatActivity, short s, boolean z, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$23900(ChatActivity chatActivity, boolean z, char c, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$2400(ChatActivity chatActivity, char c, byte b, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$2400(ChatActivity chatActivity, char c, short s, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$2400(ChatActivity chatActivity, String str, byte b, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$24000(ChatActivity chatActivity, byte b, short s, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$24000(ChatActivity chatActivity, char c, byte b, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$24000(ChatActivity chatActivity, float f, short s, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$24002(ChatActivity chatActivity, AnimatorSet animatorSet, char c, float f, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$24002(ChatActivity chatActivity, AnimatorSet animatorSet, int i, short s, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$24002(ChatActivity chatActivity, AnimatorSet animatorSet, short s, float f, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$24100(ChatActivity chatActivity, char c, String str, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$24100(ChatActivity chatActivity, int i, String str, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$24100(ChatActivity chatActivity, String str, char c, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$24200(ChatActivity chatActivity, byte b, boolean z, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$24200(ChatActivity chatActivity, char c, byte b, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$24200(ChatActivity chatActivity, boolean z, byte b, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$24300(ChatActivity chatActivity, byte b, char c, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$24300(ChatActivity chatActivity, int i, char c, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$24300(ChatActivity chatActivity, short s, byte b, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$24400(ChatActivity chatActivity, char c, short s, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$24400(ChatActivity chatActivity, float f, boolean z, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$24400(ChatActivity chatActivity, boolean z, char c, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$24402(ChatActivity chatActivity, AnimatorSet animatorSet, String str, int i, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$24402(ChatActivity chatActivity, AnimatorSet animatorSet, String str, boolean z, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$24402(ChatActivity chatActivity, AnimatorSet animatorSet, boolean z, int i, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$24500(ChatActivity chatActivity, int i, char c, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$24500(ChatActivity chatActivity, String str, int i, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$24500(ChatActivity chatActivity, short s, String str, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$24502(ChatActivity chatActivity, AnimatorSet animatorSet, byte b, float f, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$24502(ChatActivity chatActivity, AnimatorSet animatorSet, char c, byte b, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$24502(ChatActivity chatActivity, AnimatorSet animatorSet, char c, short s, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$24600(ChatActivity chatActivity, MessageObject messageObject, String str, String str2, byte b, boolean z, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$24600(ChatActivity chatActivity, MessageObject messageObject, String str, String str2, char c, boolean z, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$24600(ChatActivity chatActivity, MessageObject messageObject, String str, String str2, float f, char c, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$24700(ChatActivity chatActivity, byte b, float f, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$24700(ChatActivity chatActivity, int i, float f, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$24700(ChatActivity chatActivity, short s, byte b, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$24800(ChatActivity chatActivity, MessageObject messageObject, byte b, float f, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$24800(ChatActivity chatActivity, MessageObject messageObject, byte b, boolean z, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$24800(ChatActivity chatActivity, MessageObject messageObject, char c, float f, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$24900(ChatActivity chatActivity, float f, boolean z, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$24900(ChatActivity chatActivity, int i, boolean z, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$24900(ChatActivity chatActivity, short s, float f, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$2500(ChatActivity chatActivity, byte b, char c, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$2500(ChatActivity chatActivity, char c, int i, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$2500(ChatActivity chatActivity, short s, char c, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$25000(ChatActivity chatActivity, byte b, int i, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$25000(ChatActivity chatActivity, char c, boolean z, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$25000(ChatActivity chatActivity, char c, boolean z, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$25100(ChatActivity chatActivity, TLRPC.User user, MessageObject messageObject, RedpacketResponse redpacketResponse, boolean z, String str, byte b, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$25100(ChatActivity chatActivity, TLRPC.User user, MessageObject messageObject, RedpacketResponse redpacketResponse, boolean z, String str, int i, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$25100(ChatActivity chatActivity, TLRPC.User user, MessageObject messageObject, RedpacketResponse redpacketResponse, boolean z, short s, int i, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$25200(ChatActivity chatActivity, byte b, short s, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$25200(ChatActivity chatActivity, String str, short s, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$25200(ChatActivity chatActivity, short s, String str, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$25300(ChatActivity chatActivity, byte b, int i, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$25300(ChatActivity chatActivity, char c, byte b, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$25300(ChatActivity chatActivity, short s, char c, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$25400(ChatActivity chatActivity, char c, byte b, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$25400(ChatActivity chatActivity, String str, char c, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$25400(ChatActivity chatActivity, String str, short s, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$25500(ChatActivity chatActivity, byte b, float f, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$25500(ChatActivity chatActivity, int i, byte b, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$25500(ChatActivity chatActivity, int i, float f, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$25600(ChatActivity chatActivity, ChatMessageCell chatMessageCell, MessageObject messageObject, byte b, int i, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$25600(ChatActivity chatActivity, ChatMessageCell chatMessageCell, MessageObject messageObject, char c, float f, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$25600(ChatActivity chatActivity, ChatMessageCell chatMessageCell, MessageObject messageObject, int i, float f, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$25700(ChatActivity chatActivity, byte b, int i, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$25700(ChatActivity chatActivity, byte b, String str, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$25700(ChatActivity chatActivity, boolean z, byte b, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$25800(ChatActivity chatActivity, float f, char c, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$25800(ChatActivity chatActivity, float f, int i, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$25800(ChatActivity chatActivity, int i, float f, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$2600(ChatActivity chatActivity, byte b, boolean z, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$2600(ChatActivity chatActivity, String str, byte b, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$2600(ChatActivity chatActivity, short s, String str, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$26000(ChatActivity chatActivity, int i, String str, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$26000(ChatActivity chatActivity, int i, boolean z, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$26000(ChatActivity chatActivity, String str, int i, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$26100(ChatActivity chatActivity, int i, String str, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$26100(ChatActivity chatActivity, String str, int i, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$26100(ChatActivity chatActivity, boolean z, byte b, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$26200(ChatActivity chatActivity, byte b, float f, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$26200(ChatActivity chatActivity, char c, byte b, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$26200(ChatActivity chatActivity, char c, float f, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$26300(ChatActivity chatActivity, int i, boolean z, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$26300(ChatActivity chatActivity, String str, char c, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$26300(ChatActivity chatActivity, String str, boolean z, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$26400(ChatActivity chatActivity, MessageObject messageObject, boolean z, byte b, char c, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$26400(ChatActivity chatActivity, MessageObject messageObject, boolean z, byte b, short s, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$26400(ChatActivity chatActivity, MessageObject messageObject, boolean z, char c, byte b, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$26500(ChatActivity chatActivity, char c, float f, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$26500(ChatActivity chatActivity, float f, char c, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$26500(ChatActivity chatActivity, int i, float f, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$26600(ChatActivity chatActivity, boolean z, int i, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$26600(ChatActivity chatActivity, boolean z, int i, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$26600(ChatActivity chatActivity, boolean z, short s, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$26700(ChatActivity chatActivity, float f, boolean z, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$26700(ChatActivity chatActivity, float f, boolean z, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$26700(ChatActivity chatActivity, boolean z, String str, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$26800(ChatActivity chatActivity, ChatMessageCell chatMessageCell, String str, boolean z, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$26800(ChatActivity chatActivity, ChatMessageCell chatMessageCell, short s, float f, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$26800(ChatActivity chatActivity, ChatMessageCell chatMessageCell, boolean z, float f, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$26900(ChatActivity chatActivity, char c, String str, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$26900(ChatActivity chatActivity, char c, String str, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$26900(ChatActivity chatActivity, char c, short s, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$2700(ChatActivity chatActivity, boolean z, float f, int i, short s, boolean z2) {
double d = (42 * 210) + 210;
}
static void access$2700(ChatActivity chatActivity, boolean z, boolean z2, float f, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$2700(ChatActivity chatActivity, boolean z, boolean z2, int i, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$27000(ChatActivity chatActivity, int i, float f, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$27000(ChatActivity chatActivity, boolean z, float f, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$27000(ChatActivity chatActivity, boolean z, int i, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$27100(ChatActivity chatActivity, int i, char c, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$27100(ChatActivity chatActivity, String str, char c, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$27100(ChatActivity chatActivity, String str, int i, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$27200(ChatActivity chatActivity, char c, float f, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$27200(ChatActivity chatActivity, char c, short s, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$27200(ChatActivity chatActivity, short s, float f, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$27300(ChatActivity chatActivity, byte b, float f, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$27300(ChatActivity chatActivity, int i, byte b, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$27300(ChatActivity chatActivity, boolean z, byte b, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$27400(ChatActivity chatActivity, String str, char c, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$27400(ChatActivity chatActivity, String str, short s, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$27400(ChatActivity chatActivity, short s, int i, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$27500(ChatActivity chatActivity, View view, boolean z, boolean z2, float f, float f2, boolean z3, byte b, String str, float f3, boolean z4) {
double d = (42 * 210) + 210;
}
static void access$27500(ChatActivity chatActivity, View view, boolean z, boolean z2, float f, float f2, boolean z3, boolean z4, byte b, String str, float f3) {
double d = (42 * 210) + 210;
}
static void access$27500(ChatActivity chatActivity, View view, boolean z, boolean z2, float f, float f2, boolean z3, boolean z4, String str, byte b, float f3) {
double d = (42 * 210) + 210;
}
static void access$27600(ChatActivity chatActivity, char c, float f, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$27600(ChatActivity chatActivity, float f, char c, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$27600(ChatActivity chatActivity, short s, float f, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$27700(ChatActivity chatActivity, char c, int i, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$27700(ChatActivity chatActivity, char c, String str, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$27700(ChatActivity chatActivity, int i, char c, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$27800(ChatActivity chatActivity, int i, boolean z, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$27800(ChatActivity chatActivity, String str, short s, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$27800(ChatActivity chatActivity, boolean z, short s, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$27900(ChatActivity chatActivity, byte b, int i, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$27900(ChatActivity chatActivity, float f, int i, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$27900(ChatActivity chatActivity, boolean z, int i, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$2800(ChatActivity chatActivity, char c, int i, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$2800(ChatActivity chatActivity, short s, int i, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$2800(ChatActivity chatActivity, boolean z, short s, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$28000(ChatActivity chatActivity, byte b, float f, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$28000(ChatActivity chatActivity, char c, byte b, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$28000(ChatActivity chatActivity, short s, char c, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$28100(ChatActivity chatActivity, byte b, int i, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$28100(ChatActivity chatActivity, byte b, boolean z, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$28100(ChatActivity chatActivity, boolean z, byte b, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$28200(ChatActivity chatActivity, float f, int i, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$28200(ChatActivity chatActivity, float f, int i, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$28200(ChatActivity chatActivity, float f, String str, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$28300(ChatActivity chatActivity, byte b, short s, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$28300(ChatActivity chatActivity, int i, byte b, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$28300(ChatActivity chatActivity, int i, float f, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$28400(ChatActivity chatActivity, float f, String str, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$28400(ChatActivity chatActivity, int i, char c, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$28400(ChatActivity chatActivity, String str, float f, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$28500(ChatActivity chatActivity, byte b, short s, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$28500(ChatActivity chatActivity, char c, short s, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$28500(ChatActivity chatActivity, short s, String str, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$28600(ChatActivity chatActivity, byte b, char c, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$28600(ChatActivity chatActivity, byte b, String str, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$28600(ChatActivity chatActivity, char c, String str, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$28700(ChatActivity chatActivity, byte b, short s, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$28700(ChatActivity chatActivity, char c, byte b, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$28700(ChatActivity chatActivity, float f, byte b, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$28800(ChatActivity chatActivity, MessageObject messageObject, byte b, int i, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$28800(ChatActivity chatActivity, MessageObject messageObject, float f, byte b, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$28800(ChatActivity chatActivity, MessageObject messageObject, int i, float f, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$28900(ChatActivity chatActivity, byte b, float f, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$28900(ChatActivity chatActivity, int i, boolean z, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$28900(ChatActivity chatActivity, boolean z, int i, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$2900(ChatActivity chatActivity, char c, float f, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$2900(ChatActivity chatActivity, char c, int i, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$2900(ChatActivity chatActivity, boolean z, int i, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$29000(ChatActivity chatActivity, byte b, char c, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$29000(ChatActivity chatActivity, char c, float f, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$29000(ChatActivity chatActivity, float f, byte b, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$29100(ChatActivity chatActivity, float f, short s, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$29100(ChatActivity chatActivity, String str, float f, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$29100(ChatActivity chatActivity, short s, float f, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$29200(ChatActivity chatActivity, ChatMessageCell chatMessageCell, char c, byte b, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$29200(ChatActivity chatActivity, ChatMessageCell chatMessageCell, char c, float f, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$29200(ChatActivity chatActivity, ChatMessageCell chatMessageCell, char c, String str, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$29300(ChatActivity chatActivity, MessageObject messageObject, char c, short s, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$29300(ChatActivity chatActivity, MessageObject messageObject, char c, boolean z, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$29300(ChatActivity chatActivity, MessageObject messageObject, boolean z, short s, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$29400(ChatActivity chatActivity, char c, String str, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$29400(ChatActivity chatActivity, int i, char c, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$29400(ChatActivity chatActivity, short s, char c, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$29500(ChatActivity chatActivity, char c, String str, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$29500(ChatActivity chatActivity, boolean z, char c, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$29500(ChatActivity chatActivity, boolean z, int i, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$29600(ChatActivity chatActivity, byte b, short s, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$29600(ChatActivity chatActivity, float f, char c, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$29600(ChatActivity chatActivity, float f, char c, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$29700(ChatActivity chatActivity, char c, String str, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$29700(ChatActivity chatActivity, boolean z, char c, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$29700(ChatActivity chatActivity, boolean z, char c, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$29800(ChatActivity chatActivity, char c, int i, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$29800(ChatActivity chatActivity, int i, boolean z, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$29800(ChatActivity chatActivity, boolean z, char c, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$29900(ChatActivity chatActivity, byte b, boolean z, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$29900(ChatActivity chatActivity, float f, boolean z, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$29900(ChatActivity chatActivity, boolean z, byte b, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$300(ChatActivity chatActivity, String str, short s, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$300(ChatActivity chatActivity, String str, boolean z, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$300(ChatActivity chatActivity, boolean z, String str, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$3000(ChatActivity chatActivity, byte b, float f, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$3000(ChatActivity chatActivity, float f, byte b, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$3000(ChatActivity chatActivity, float f, char c, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$30000(ChatActivity chatActivity, char c, boolean z, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$30000(ChatActivity chatActivity, int i, char c, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$30000(ChatActivity chatActivity, short s, boolean z, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$30100(ChatActivity chatActivity, byte b, int i, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$30100(ChatActivity chatActivity, short s, boolean z, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$30100(ChatActivity chatActivity, boolean z, short s, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$30200(ChatActivity chatActivity, char c, String str, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$30200(ChatActivity chatActivity, String str, int i, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void access$30200(ChatActivity chatActivity, boolean z, int i, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$30202(ChatActivity chatActivity, int i, byte b, String str, int i2, short s) {
double d = (42 * 210) + 210;
}
static void access$30202(ChatActivity chatActivity, int i, byte b, short s, String str, int i2) {
double d = (42 * 210) + 210;
}
static void access$30202(ChatActivity chatActivity, int i, String str, short s, byte b, int i2) {
double d = (42 * 210) + 210;
}
static void access$30300(ChatActivity chatActivity, byte b, int i, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$30300(ChatActivity chatActivity, int i, String str, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$30300(ChatActivity chatActivity, int i, boolean z, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$30400(ChatActivity chatActivity, MessageObject messageObject, ChatMessageCell chatMessageCell, int i, boolean z, char c, boolean z2, String str, int i2) {
double d = (42 * 210) + 210;
}
static void access$30400(ChatActivity chatActivity, MessageObject messageObject, ChatMessageCell chatMessageCell, int i, boolean z, String str, char c, int i2, boolean z2) {
double d = (42 * 210) + 210;
}
static void access$30400(ChatActivity chatActivity, MessageObject messageObject, ChatMessageCell chatMessageCell, int i, boolean z, boolean z2, char c, String str, int i2) {
double d = (42 * 210) + 210;
}
static void access$30500(ChatActivity chatActivity, byte b, float f, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$30500(ChatActivity chatActivity, int i, byte b, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$30500(ChatActivity chatActivity, int i, float f, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$30600(ChatActivity chatActivity, float f, boolean z, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$30600(ChatActivity chatActivity, short s, int i, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$30600(ChatActivity chatActivity, boolean z, float f, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$30700(ChatActivity chatActivity, char c, byte b, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$30700(ChatActivity chatActivity, char c, boolean z, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$30700(ChatActivity chatActivity, String str, byte b, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$30800(ChatActivity chatActivity, byte b, float f, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$30800(ChatActivity chatActivity, float f, boolean z, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$30800(ChatActivity chatActivity, int i, float f, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$30900(ChatActivity chatActivity, char c, int i, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$30900(ChatActivity chatActivity, int i, byte b, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$30900(ChatActivity chatActivity, String str, char c, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$3100(ChatActivity chatActivity, float f, int i, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$3100(ChatActivity chatActivity, int i, short s, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$3100(ChatActivity chatActivity, String str, short s, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$31000(ChatActivity chatActivity, int i, short s, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$31000(ChatActivity chatActivity, int i, boolean z, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$31000(ChatActivity chatActivity, boolean z, short s, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$31100(ChatActivity chatActivity, byte b, char c, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$31100(ChatActivity chatActivity, char c, float f, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$31100(ChatActivity chatActivity, int i, float f, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$31200(ChatActivity chatActivity, float f, short s, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$31200(ChatActivity chatActivity, short s, float f, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$31200(ChatActivity chatActivity, short s, int i, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$31300(ChatActivity chatActivity, char c, boolean z, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$31300(ChatActivity chatActivity, float f, boolean z, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$31300(ChatActivity chatActivity, boolean z, float f, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$31400(ChatActivity chatActivity, byte b, char c, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$31400(ChatActivity chatActivity, char c, float f, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$31400(ChatActivity chatActivity, boolean z, byte b, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$31500(ChatActivity chatActivity, byte b, char c, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$31500(ChatActivity chatActivity, char c, int i, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$31500(ChatActivity chatActivity, boolean z, byte b, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$31502(ChatActivity chatActivity, AnimatorSet animatorSet, String str, char c, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$31502(ChatActivity chatActivity, AnimatorSet animatorSet, String str, boolean z, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$31502(ChatActivity chatActivity, AnimatorSet animatorSet, boolean z, String str, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$3200(ChatActivity chatActivity, MessageObject messageObject, byte b, short s, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$3200(ChatActivity chatActivity, MessageObject messageObject, int i, boolean z, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$3200(ChatActivity chatActivity, MessageObject messageObject, boolean z, short s, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$3300(ChatActivity chatActivity, float f, short s, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$3300(ChatActivity chatActivity, String str, byte b, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$3300(ChatActivity chatActivity, String str, short s, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$3400(ChatActivity chatActivity, char c, float f, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$3400(ChatActivity chatActivity, char c, String str, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$3400(ChatActivity chatActivity, String str, float f, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$3500(ChatActivity chatActivity, float f, char c, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$3500(ChatActivity chatActivity, float f, short s, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$3500(ChatActivity chatActivity, float f, short s, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$3600(ChatActivity chatActivity, byte b, String str, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$3600(ChatActivity chatActivity, byte b, short s, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$3600(ChatActivity chatActivity, boolean z, byte b, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$3700(ChatActivity chatActivity, String str, char c, int i, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$3700(ChatActivity chatActivity, String str, char c, boolean z, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$3700(ChatActivity chatActivity, String str, float f, char c, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$3800(ChatActivity chatActivity, float f, String str, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$3800(ChatActivity chatActivity, String str, short s, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$3800(ChatActivity chatActivity, boolean z, String str, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$3900(ChatActivity chatActivity, char c, float f, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$3900(ChatActivity chatActivity, boolean z, float f, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$3900(ChatActivity chatActivity, boolean z, int i, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$3902(ChatActivity chatActivity, int i, int i2, float f, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$3902(ChatActivity chatActivity, int i, int i2, String str, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$3902(ChatActivity chatActivity, int i, String str, int i2, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$400(ChatActivity chatActivity, int i, short s, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$400(ChatActivity chatActivity, String str, int i, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$400(ChatActivity chatActivity, short s, byte b, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$4000(ChatActivity chatActivity, char c, float f, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$4000(ChatActivity chatActivity, char c, String str, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$4000(ChatActivity chatActivity, boolean z, String str, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$4002(ChatActivity chatActivity, int i, float f, char c, short s, int i2) {
double d = (42 * 210) + 210;
}
static void access$4002(ChatActivity chatActivity, int i, int i2, char c, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$4002(ChatActivity chatActivity, int i, short s, char c, int i2, float f) {
double d = (42 * 210) + 210;
}
static void access$402(ChatActivity chatActivity, int i, float f, short s, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$402(ChatActivity chatActivity, int i, float f, boolean z, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$402(ChatActivity chatActivity, int i, boolean z, byte b, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$4100(ChatActivity chatActivity, byte b, char c, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$4100(ChatActivity chatActivity, short s, char c, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$4100(ChatActivity chatActivity, short s, String str, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$4200(ChatActivity chatActivity, byte b, String str, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$4200(ChatActivity chatActivity, byte b, String str, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$4200(ChatActivity chatActivity, String str, char c, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$4202(ChatActivity chatActivity, boolean z, float f, short s, String str, boolean z2) {
double d = (42 * 210) + 210;
}
static void access$4202(ChatActivity chatActivity, boolean z, String str, boolean z2, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$4202(ChatActivity chatActivity, boolean z, short s, String str, boolean z2, float f) {
double d = (42 * 210) + 210;
}
static void access$4300(ChatActivity chatActivity, float f, short s, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$4300(ChatActivity chatActivity, String str, int i, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$4300(ChatActivity chatActivity, short s, float f, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$4400(ChatActivity chatActivity, byte b, String str, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$4400(ChatActivity chatActivity, float f, byte b, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$4400(ChatActivity chatActivity, int i, byte b, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$4500(ChatActivity chatActivity, int i, float f, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$4500(ChatActivity chatActivity, short s, float f, int i, boolean z) {
double d = (42 * 210) + 210;
}
static void access$4500(ChatActivity chatActivity, boolean z, int i, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$4600(ChatActivity chatActivity, byte b, String str, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$4600(ChatActivity chatActivity, char c, byte b, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$4600(ChatActivity chatActivity, float f, char c, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$4700(ChatActivity chatActivity, byte b, String str, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$4700(ChatActivity chatActivity, float f, char c, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$4700(ChatActivity chatActivity, String str, byte b, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$4800(ChatActivity chatActivity, boolean z, char c, int i, float f, boolean z2) {
double d = (42 * 210) + 210;
}
static void access$4800(ChatActivity chatActivity, boolean z, char c, boolean z2, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$4800(ChatActivity chatActivity, boolean z, float f, int i, boolean z2, char c) {
double d = (42 * 210) + 210;
}
static void access$4900(ChatActivity chatActivity, char c, byte b, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$4900(ChatActivity chatActivity, short s, byte b, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$4900(ChatActivity chatActivity, short s, byte b, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$500(ChatActivity chatActivity, byte b, char c, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$500(ChatActivity chatActivity, byte b, float f, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$500(ChatActivity chatActivity, byte b, int i, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$5000(ChatActivity chatActivity, String str, char c, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$5000(ChatActivity chatActivity, short s, char c, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$5000(ChatActivity chatActivity, boolean z, char c, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$5100(ChatActivity chatActivity, byte b, short s, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$5100(ChatActivity chatActivity, float f, byte b, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$5100(ChatActivity chatActivity, float f, int i, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$5200(ChatActivity chatActivity, char c, short s, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$5200(ChatActivity chatActivity, int i, String str, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$5200(ChatActivity chatActivity, String str, short s, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$5300(ChatActivity chatActivity, byte b, int i, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$5300(ChatActivity chatActivity, short s, int i, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$5300(ChatActivity chatActivity, short s, boolean z, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$5400(ChatActivity chatActivity, float f, byte b, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$5400(ChatActivity chatActivity, String str, byte b, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$5400(ChatActivity chatActivity, boolean z, String str, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$5500(ChatActivity chatActivity, short s, boolean z, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$5500(ChatActivity chatActivity, boolean z, int i, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$5500(ChatActivity chatActivity, boolean z, short s, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$5502(ChatActivity chatActivity, boolean z, byte b, float f, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$5502(ChatActivity chatActivity, boolean z, float f, char c, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$5502(ChatActivity chatActivity, boolean z, short s, char c, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$5600(ChatActivity chatActivity, short s, byte b, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$5600(ChatActivity chatActivity, short s, boolean z, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$5600(ChatActivity chatActivity, boolean z, byte b, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$5700(ChatActivity chatActivity, byte b, int i, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$5700(ChatActivity chatActivity, byte b, String str, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$5700(ChatActivity chatActivity, int i, short s, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$5800(ChatActivity chatActivity, float f, int i, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void access$5800(ChatActivity chatActivity, float f, boolean z, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$5800(ChatActivity chatActivity, boolean z, float f, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$5802(ChatActivity chatActivity, TLRPC.User user, float f, boolean z, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$5802(ChatActivity chatActivity, TLRPC.User user, String str, boolean z, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$5802(ChatActivity chatActivity, TLRPC.User user, boolean z, int i, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$5900(ChatActivity chatActivity, byte b, int i, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$5900(ChatActivity chatActivity, int i, byte b, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$5900(ChatActivity chatActivity, boolean z, String str, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$600(ChatActivity chatActivity, float f, char c, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$600(ChatActivity chatActivity, String str, boolean z, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$600(ChatActivity chatActivity, boolean z, String str, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$6000(ChatActivity chatActivity, String str, short s, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$6000(ChatActivity chatActivity, boolean z, int i, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$6000(ChatActivity chatActivity, boolean z, short s, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$6100(ChatActivity chatActivity, int i, String str, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$6100(ChatActivity chatActivity, int i, String str, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$6100(ChatActivity chatActivity, short s, String str, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$6200(ChatActivity chatActivity, byte b, int i, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$6200(ChatActivity chatActivity, byte b, short s, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void access$6200(ChatActivity chatActivity, int i, byte b, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$6300(ChatActivity chatActivity, byte b, boolean z, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$6300(ChatActivity chatActivity, char c, String str, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void access$6300(ChatActivity chatActivity, String str, boolean z, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$6400(ChatActivity chatActivity, byte b, short s, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$6400(ChatActivity chatActivity, byte b, short s, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$6400(ChatActivity chatActivity, short s, byte b, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$6500(ChatActivity chatActivity, char c, float f, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$6500(ChatActivity chatActivity, char c, boolean z, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$6500(ChatActivity chatActivity, float f, char c, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$6600(ChatActivity chatActivity, int i, int i2, int i3, byte b, String str, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$6600(ChatActivity chatActivity, int i, int i2, int i3, String str, boolean z, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$6600(ChatActivity chatActivity, int i, int i2, int i3, boolean z, byte b, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$6700(ChatActivity chatActivity, byte b, int i, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$6700(ChatActivity chatActivity, short s, byte b, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$6700(ChatActivity chatActivity, short s, float f, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$6800(ChatActivity chatActivity, byte b, float f, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$6800(ChatActivity chatActivity, float f, int i, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$6800(ChatActivity chatActivity, short s, float f, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$6900(ChatActivity chatActivity, int i, float f, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$6900(ChatActivity chatActivity, int i, short s, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$6900(ChatActivity chatActivity, short s, float f, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$700(ChatActivity chatActivity, TLRPC.BotInlineResult botInlineResult, boolean z, int i, float f, boolean z2, short s, int i2) {
double d = (42 * 210) + 210;
}
static void access$700(ChatActivity chatActivity, TLRPC.BotInlineResult botInlineResult, boolean z, int i, int i2, float f, short s, boolean z2) {
double d = (42 * 210) + 210;
}
static void access$700(ChatActivity chatActivity, TLRPC.BotInlineResult botInlineResult, boolean z, int i, boolean z2, float f, int i2, short s) {
double d = (42 * 210) + 210;
}
static void access$7000(ChatActivity chatActivity, char c, boolean z, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$7000(ChatActivity chatActivity, short s, boolean z, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$7000(ChatActivity chatActivity, short s, boolean z, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$7100(ChatActivity chatActivity, int i, short s, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void access$7100(ChatActivity chatActivity, boolean z, int i, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$7100(ChatActivity chatActivity, boolean z, int i, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$7200(ChatActivity chatActivity, boolean z, int i, byte b, short s, boolean z2) {
double d = (42 * 210) + 210;
}
static void access$7200(ChatActivity chatActivity, boolean z, boolean z2, byte b, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$7200(ChatActivity chatActivity, boolean z, boolean z2, short s, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$7300(ChatActivity chatActivity, char c, byte b, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$7300(ChatActivity chatActivity, char c, boolean z, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$7300(ChatActivity chatActivity, short s, byte b, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$7400(ChatActivity chatActivity, char c, String str, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$7400(ChatActivity chatActivity, char c, String str, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$7400(ChatActivity chatActivity, short s, String str, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$7500(ChatActivity chatActivity, float f, byte b, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$7500(ChatActivity chatActivity, float f, byte b, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$7500(ChatActivity chatActivity, String str, char c, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$7502(ChatActivity chatActivity, View view, byte b, char c, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$7502(ChatActivity chatActivity, View view, String str, short s, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$7502(ChatActivity chatActivity, View view, short s, byte b, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$7600(ChatActivity chatActivity, int i, byte b, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$7600(ChatActivity chatActivity, boolean z, char c, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$7600(ChatActivity chatActivity, boolean z, int i, char c, byte b) {
double d = (42 * 210) + 210;
}
static void access$7700(ChatActivity chatActivity, char c, float f, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$7700(ChatActivity chatActivity, float f, short s, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$7700(ChatActivity chatActivity, short s, byte b, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$7800(ChatActivity chatActivity, char c, float f, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$7800(ChatActivity chatActivity, float f, short s, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$7800(ChatActivity chatActivity, short s, char c, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$7900(ChatActivity chatActivity, byte b, char c, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$7900(ChatActivity chatActivity, char c, byte b, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$7900(ChatActivity chatActivity, String str, byte b, char c, boolean z) {
double d = (42 * 210) + 210;
}
static void access$7902(ChatActivity chatActivity, ChatMessageCell chatMessageCell, char c, String str, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$7902(ChatActivity chatActivity, ChatMessageCell chatMessageCell, float f, char c, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$7902(ChatActivity chatActivity, ChatMessageCell chatMessageCell, float f, int i, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$800(ChatActivity chatActivity, byte b, char c, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$800(ChatActivity chatActivity, byte b, String str, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$800(ChatActivity chatActivity, char c, byte b, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$8000(ChatActivity chatActivity, float f, int i, String str, char c) {
double d = (42 * 210) + 210;
}
static void access$8000(ChatActivity chatActivity, int i, float f, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$8000(ChatActivity chatActivity, int i, String str, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$802(ChatActivity chatActivity, boolean z, char c, byte b, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$802(ChatActivity chatActivity, boolean z, short s, byte b, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$802(ChatActivity chatActivity, boolean z, short s, char c, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$8100(ChatActivity chatActivity, char c, int i, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$8100(ChatActivity chatActivity, int i, char c, float f, short s) {
double d = (42 * 210) + 210;
}
static void access$8100(ChatActivity chatActivity, short s, char c, float f, int i) {
double d = (42 * 210) + 210;
}
static void access$8200(ChatActivity chatActivity, byte b, float f, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$8200(ChatActivity chatActivity, byte b, String str, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$8200(ChatActivity chatActivity, char c, String str, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$8300(ChatActivity chatActivity, int i, float f, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$8300(ChatActivity chatActivity, String str, int i, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$8300(ChatActivity chatActivity, short s, String str, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$8400(ChatActivity chatActivity, short s, boolean z, float f, byte b) {
double d = (42 * 210) + 210;
}
static void access$8400(ChatActivity chatActivity, boolean z, byte b, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$8400(ChatActivity chatActivity, boolean z, float f, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$8500(ChatActivity chatActivity, char c, short s, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$8500(ChatActivity chatActivity, int i, String str, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$8500(ChatActivity chatActivity, short s, String str, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$8600(ChatActivity chatActivity, char c, float f, int i, String str) {
double d = (42 * 210) + 210;
}
static void access$8600(ChatActivity chatActivity, char c, int i, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$8600(ChatActivity chatActivity, String str, char c, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$8700(ChatActivity chatActivity, byte b, char c, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$8700(ChatActivity chatActivity, byte b, float f, char c, String str) {
double d = (42 * 210) + 210;
}
static void access$8700(ChatActivity chatActivity, byte b, String str, char c, float f) {
double d = (42 * 210) + 210;
}
static void access$8800(ChatActivity chatActivity, char c, String str, int i, float f) {
double d = (42 * 210) + 210;
}
static void access$8800(ChatActivity chatActivity, float f, String str, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$8800(ChatActivity chatActivity, float f, String str, int i, char c) {
double d = (42 * 210) + 210;
}
static void access$8900(ChatActivity chatActivity, String str, byte b, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void access$8900(ChatActivity chatActivity, short s, byte b, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$8900(ChatActivity chatActivity, boolean z, short s, String str, byte b) {
double d = (42 * 210) + 210;
}
static void access$900(ChatActivity chatActivity, int i, byte b, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$900(ChatActivity chatActivity, int i, String str, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$900(ChatActivity chatActivity, String str, float f, byte b, int i) {
double d = (42 * 210) + 210;
}
static void access$9000(ChatActivity chatActivity, float f, int i, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$9000(ChatActivity chatActivity, String str, float f, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$9000(ChatActivity chatActivity, short s, float f, String str, int i) {
double d = (42 * 210) + 210;
}
static void access$9100(ChatActivity chatActivity, char c, float f, short s, String str) {
double d = (42 * 210) + 210;
}
static void access$9100(ChatActivity chatActivity, String str, float f, short s, char c) {
double d = (42 * 210) + 210;
}
static void access$9100(ChatActivity chatActivity, short s, char c, String str, float f) {
double d = (42 * 210) + 210;
}
static void access$9102(ChatActivity chatActivity, boolean z, char c, float f, short s, int i) {
double d = (42 * 210) + 210;
}
static void access$9102(ChatActivity chatActivity, boolean z, int i, short s, float f, char c) {
double d = (42 * 210) + 210;
}
static void access$9102(ChatActivity chatActivity, boolean z, short s, float f, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$9200(ChatActivity chatActivity, byte b, String str, int i, short s) {
double d = (42 * 210) + 210;
}
static void access$9200(ChatActivity chatActivity, int i, String str, short s, byte b) {
double d = (42 * 210) + 210;
}
static void access$9200(ChatActivity chatActivity, int i, short s, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$9300(ChatActivity chatActivity, byte b, char c, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void access$9300(ChatActivity chatActivity, char c, boolean z, byte b, float f) {
double d = (42 * 210) + 210;
}
static void access$9300(ChatActivity chatActivity, float f, boolean z, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$9400(ChatActivity chatActivity, byte b, String str, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void access$9400(ChatActivity chatActivity, short s, boolean z, byte b, String str) {
double d = (42 * 210) + 210;
}
static void access$9400(ChatActivity chatActivity, boolean z, String str, byte b, short s) {
double d = (42 * 210) + 210;
}
static void access$9500(ChatActivity chatActivity, byte b, float f, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$9500(ChatActivity chatActivity, byte b, String str, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$9500(ChatActivity chatActivity, float f, byte b, String str, short s) {
double d = (42 * 210) + 210;
}
static void access$9600(ChatActivity chatActivity, char c, String str, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$9600(ChatActivity chatActivity, char c, short s, float f, String str) {
double d = (42 * 210) + 210;
}
static void access$9600(ChatActivity chatActivity, float f, String str, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$9700(ChatActivity chatActivity, float f, short s, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$9700(ChatActivity chatActivity, short s, float f, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void access$9700(ChatActivity chatActivity, short s, float f, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void access$9800(ChatActivity chatActivity, char c, short s, int i, byte b) {
double d = (42 * 210) + 210;
}
static void access$9800(ChatActivity chatActivity, short s, byte b, char c, int i) {
double d = (42 * 210) + 210;
}
static void access$9800(ChatActivity chatActivity, short s, int i, byte b, char c) {
double d = (42 * 210) + 210;
}
static void access$9900(ChatActivity chatActivity, char c, String str, short s, float f) {
double d = (42 * 210) + 210;
}
static void access$9900(ChatActivity chatActivity, String str, float f, char c, short s) {
double d = (42 * 210) + 210;
}
static void access$9900(ChatActivity chatActivity, String str, float f, short s, char c) {
double d = (42 * 210) + 210;
}
private void addToPolls(MessageObject messageObject, MessageObject messageObject2, byte b, short s, String str, float f) {
double d = (42 * 210) + 210;
}
private void addToPolls(MessageObject messageObject, MessageObject messageObject2, String str, byte b, float f, short s) {
double d = (42 * 210) + 210;
}
private void addToPolls(MessageObject messageObject, MessageObject messageObject2, short s, String str, byte b, float f) {
double d = (42 * 210) + 210;
}
private void addToSelectedMessages(MessageObject messageObject, boolean z, byte b, char c, String str, float f) {
double d = (42 * 210) + 210;
}
private void addToSelectedMessages(MessageObject messageObject, boolean z, char c, byte b, float f, String str) {
double d = (42 * 210) + 210;
}
private void addToSelectedMessages(MessageObject messageObject, boolean z, char c, float f, byte b, String str) {
double d = (42 * 210) + 210;
}
private void addToSelectedMessages(MessageObject messageObject, boolean z, boolean z2, char c, int i, float f, String str) {
double d = (42 * 210) + 210;
}
private void addToSelectedMessages(MessageObject messageObject, boolean z, boolean z2, float f, char c, String str, int i) {
double d = (42 * 210) + 210;
}
private void addToSelectedMessages(MessageObject messageObject, boolean z, boolean z2, String str, char c, float f, int i) {
double d = (42 * 210) + 210;
}
private void afterMessageSend(byte b, int i, boolean z, char c) {
double d = (42 * 210) + 210;
}
private void afterMessageSend(int i, byte b, boolean z, char c) {
double d = (42 * 210) + 210;
}
private void afterMessageSend(boolean z, byte b, int i, char c) {
double d = (42 * 210) + 210;
}
private void alertUserOpenError(MessageObject messageObject, String str, char c, int i, boolean z) {
double d = (42 * 210) + 210;
}
private void alertUserOpenError(MessageObject messageObject, String str, int i, char c, boolean z) {
double d = (42 * 210) + 210;
}
private void alertUserOpenError(MessageObject messageObject, String str, boolean z, char c, int i) {
double d = (42 * 210) + 210;
}
private void animLivePinClose(View view, byte b, boolean z, short s, int i) {
double d = (42 * 210) + 210;
}
private void animLivePinClose(View view, int i, boolean z, short s, byte b) {
double d = (42 * 210) + 210;
}
private void animLivePinClose(View view, boolean z, byte b, short s, int i) {
double d = (42 * 210) + 210;
}
private void applyDraftMaybe(boolean z, float f, boolean z2, char c, short s) {
double d = (42 * 210) + 210;
}
private void applyDraftMaybe(boolean z, short s, char c, float f, boolean z2) {
double d = (42 * 210) + 210;
}
private void applyDraftMaybe(boolean z, short s, boolean z2, float f, char c) {
double d = (42 * 210) + 210;
}
private void checkActionBarMenu(char c, String str, boolean z, short s) {
double d = (42 * 210) + 210;
}
private void checkActionBarMenu(boolean z, short s, char c, String str) {
double d = (42 * 210) + 210;
}
private void checkActionBarMenu(boolean z, short s, String str, char c) {
double d = (42 * 210) + 210;
}
private void checkAndUpdateAvatar(byte b, float f, char c, boolean z) {
double d = (42 * 210) + 210;
}
private void checkAndUpdateAvatar(char c, byte b, float f, boolean z) {
double d = (42 * 210) + 210;
}
private void checkAndUpdateAvatar(boolean z, byte b, float f, char c) {
double d = (42 * 210) + 210;
}
private void checkAutoDownloadMessage(MessageObject messageObject, float f, short s, int i, char c) {
double d = (42 * 210) + 210;
}
private void checkAutoDownloadMessage(MessageObject messageObject, int i, short s, char c, float f) {
double d = (42 * 210) + 210;
}
private void checkAutoDownloadMessage(MessageObject messageObject, short s, char c, float f, int i) {
double d = (42 * 210) + 210;
}
private void checkAutoDownloadMessages(boolean z, char c, float f, boolean z2, String str) {
double d = (42 * 210) + 210;
}
private void checkAutoDownloadMessages(boolean z, String str, float f, char c, boolean z2) {
double d = (42 * 210) + 210;
}
private void checkAutoDownloadMessages(boolean z, boolean z2, float f, char c, String str) {
double d = (42 * 210) + 210;
}
private void checkBotCommands(byte b, char c, int i, String str) {
double d = (42 * 210) + 210;
}
private void checkBotCommands(char c, String str, byte b, int i) {
double d = (42 * 210) + 210;
}
private void checkBotCommands(int i, String str, byte b, char c) {
double d = (42 * 210) + 210;
}
private void checkBotKeyboard(float f, boolean z, int i, short s) {
double d = (42 * 210) + 210;
}
private void checkBotKeyboard(int i, float f, boolean z, short s) {
double d = (42 * 210) + 210;
}
private void checkBotKeyboard(short s, int i, boolean z, float f) {
double d = (42 * 210) + 210;
}
private void checkContextBotPanel(byte b, char c, short s, boolean z) {
double d = (42 * 210) + 210;
}
private void checkContextBotPanel(byte b, boolean z, char c, short s) {
double d = (42 * 210) + 210;
}
private void checkContextBotPanel(short s, boolean z, char c, byte b) {
double d = (42 * 210) + 210;
}
private void checkEditTimer(byte b, char c, boolean z, float f) {
double d = (42 * 210) + 210;
}
private void checkEditTimer(char c, byte b, boolean z, float f) {
double d = (42 * 210) + 210;
}
private void checkEditTimer(char c, boolean z, float f, byte b) {
double d = (42 * 210) + 210;
}
private void checkGroupRedpkgDetail(MessageObject messageObject, RedpacketResponse redpacketResponse, String str, byte b, float f, boolean z) {
double d = (42 * 210) + 210;
}
private void checkGroupRedpkgDetail(MessageObject messageObject, RedpacketResponse redpacketResponse, boolean z, byte b, float f, String str) {
double d = (42 * 210) + 210;
}
private void checkGroupRedpkgDetail(MessageObject messageObject, RedpacketResponse redpacketResponse, boolean z, String str, byte b, float f) {
double d = (42 * 210) + 210;
}
private void checkListViewPaddings(char c, int i, float f, String str) {
double d = (42 * 210) + 210;
}
private void checkListViewPaddings(int i, char c, float f, String str) {
double d = (42 * 210) + 210;
}
private void checkListViewPaddings(String str, float f, int i, char c) {
double d = (42 * 210) + 210;
}
private void checkListViewPaddingsInternal(float f, byte b, int i, short s) {
double d = (42 * 210) + 210;
}
private void checkListViewPaddingsInternal(int i, byte b, short s, float f) {
double d = (42 * 210) + 210;
}
private void checkListViewPaddingsInternal(short s, int i, byte b, float f) {
double d = (42 * 210) + 210;
}
private void checkRaiseSensors(int i, boolean z, float f, String str) {
double d = (42 * 210) + 210;
}
private void checkRaiseSensors(String str, float f, int i, boolean z) {
double d = (42 * 210) + 210;
}
private void checkRaiseSensors(boolean z, float f, int i, String str) {
double d = (42 * 210) + 210;
}
private void checkScrollForLoad(boolean z, String str, short s, float f, boolean z2) {
double d = (42 * 210) + 210;
}
private void checkScrollForLoad(boolean z, String str, short s, boolean z2, float f) {
double d = (42 * 210) + 210;
}
private void checkScrollForLoad(boolean z, short s, boolean z2, float f, String str) {
double d = (42 * 210) + 210;
}
private void checkSecretMessageForLocation(MessageObject messageObject, short s, boolean z, float f, int i) {
double d = (42 * 210) + 210;
}
private void checkSecretMessageForLocation(MessageObject messageObject, boolean z, float f, int i, short s) {
double d = (42 * 210) + 210;
}
private void checkSecretMessageForLocation(MessageObject messageObject, boolean z, short s, int i, float f) {
double d = (42 * 210) + 210;
}
private void checkSlowMode(View view, byte b, boolean z, float f, short s) {
double d = (42 * 210) + 210;
}
private void checkSlowMode(View view, float f, short s, byte b, boolean z) {
double d = (42 * 210) + 210;
}
private void checkSlowMode(View view, short s, boolean z, float f, byte b) {
double d = (42 * 210) + 210;
}
private void checkUserRedpkgDetail(MessageObject messageObject, RedpacketResponse redpacketResponse, byte b, char c, boolean z, int i) {
double d = (42 * 210) + 210;
}
private void checkUserRedpkgDetail(MessageObject messageObject, RedpacketResponse redpacketResponse, char c, boolean z, byte b, int i) {
double d = (42 * 210) + 210;
}
private void checkUserRedpkgDetail(MessageObject messageObject, RedpacketResponse redpacketResponse, boolean z, byte b, char c, int i) {
double d = (42 * 210) + 210;
}
private void checkUserTransferDetail(MessageObject messageObject, TransferResponse transferResponse, byte b, char c, short s, boolean z) {
double d = (42 * 210) + 210;
}
private void checkUserTransferDetail(MessageObject messageObject, TransferResponse transferResponse, byte b, short s, boolean z, char c) {
double d = (42 * 210) + 210;
}
private void checkUserTransferDetail(MessageObject messageObject, TransferResponse transferResponse, boolean z, byte b, short s, char c) {
double d = (42 * 210) + 210;
}
private void clearChatData(boolean z, byte b, short s, int i) {
double d = (42 * 210) + 210;
}
private void clearChatData(boolean z, short s, byte b, int i) {
double d = (42 * 210) + 210;
}
private void clearChatData(boolean z, short s, int i, byte b) {
double d = (42 * 210) + 210;
}
private void clearHistory(boolean z, byte b, char c, float f, short s) {
double d = (42 * 210) + 210;
}
private void clearHistory(boolean z, byte b, float f, char c, short s) {
double d = (42 * 210) + 210;
}
private void clearHistory(boolean z, short s, float f, byte b, char c) {
double d = (42 * 210) + 210;
}
private void convertAudioFile(MessageObject messageObject, int i, boolean z, byte b, short s) {
double d = (42 * 210) + 210;
}
private void convertAudioFile(MessageObject messageObject, int i, boolean z, short s, byte b) {
double d = (42 * 210) + 210;
}
private void convertAudioFile(MessageObject messageObject, short s, byte b, boolean z, int i) {
double d = (42 * 210) + 210;
}
private void createActionBarMenuPop(byte b, char c, boolean z, int i) {
double d = (42 * 210) + 210;
}
private void createActionBarMenuPop(byte b, int i, boolean z, char c) {
double d = (42 * 210) + 210;
}
private void createActionBarMenuPop(int i, byte b, char c, boolean z) {
double d = (42 * 210) + 210;
}
private void createChatAttachView(byte b, char c, float f, short s) {
double d = (42 * 210) + 210;
}
private void createChatAttachView(float f, char c, byte b, short s) {
double d = (42 * 210) + 210;
}
private void createChatAttachView(short s, char c, byte b, float f) {
double d = (42 * 210) + 210;
}
private void createDeleteMessagesAlert(MessageObject messageObject, MessageObject.GroupedMessages groupedMessages, char c, byte b, float f, String str) {
double d = (42 * 210) + 210;
}
private void createDeleteMessagesAlert(MessageObject messageObject, MessageObject.GroupedMessages groupedMessages, char c, String str, float f, byte b) {
double d = (42 * 210) + 210;
}
private void createDeleteMessagesAlert(MessageObject messageObject, MessageObject.GroupedMessages groupedMessages, float f, String str, char c, byte b) {
double d = (42 * 210) + 210;
}
private void createDeleteMessagesAlert(MessageObject messageObject, MessageObject.GroupedMessages groupedMessages, int i, byte b, int i2, String str, float f) {
double d = (42 * 210) + 210;
}
private void createDeleteMessagesAlert(MessageObject messageObject, MessageObject.GroupedMessages groupedMessages, int i, int i2, byte b, float f, String str) {
double d = (42 * 210) + 210;
}
private void createDeleteMessagesAlert(MessageObject messageObject, MessageObject.GroupedMessages groupedMessages, int i, String str, byte b, float f, int i2) {
double d = (42 * 210) + 210;
}
private void createMenu(View view, boolean z, boolean z2, float f, float f2, byte b, char c, short s, boolean z3) {
double d = (42 * 210) + 210;
}
private void createMenu(View view, boolean z, boolean z2, float f, float f2, char c, byte b, boolean z3, short s) {
double d = (42 * 210) + 210;
}
private void createMenu(View view, boolean z, boolean z2, float f, float f2, short s, char c, byte b, boolean z3) {
double d = (42 * 210) + 210;
}
private void createMenu(View view, boolean z, boolean z2, float f, float f2, boolean z3, char c, byte b, int i, float f3) {
double d = (42 * 210) + 210;
}
private void createMenu(View view, boolean z, boolean z2, float f, float f2, boolean z3, char c, int i, byte b, float f3) {
double d = (42 * 210) + 210;
}
private void createMenu(View view, boolean z, boolean z2, float f, float f2, boolean z3, float f3, byte b, char c, int i) {
double d = (42 * 210) + 210;
}
private void createTextureView(boolean z, String str, float f, boolean z2, byte b) {
double d = (42 * 210) + 210;
}
private void createTextureView(boolean z, String str, boolean z2, float f, byte b) {
double d = (42 * 210) + 210;
}
private void createTextureView(boolean z, boolean z2, String str, byte b, float f) {
double d = (42 * 210) + 210;
}
private void createVoiceMessagesPlaylist(MessageObject messageObject, boolean z, String str, short s, char c, float f) {
double d = (42 * 210) + 210;
}
private void createVoiceMessagesPlaylist(MessageObject messageObject, boolean z, short s, char c, String str, float f) {
double d = (42 * 210) + 210;
}
private void createVoiceMessagesPlaylist(MessageObject messageObject, boolean z, short s, float f, String str, char c) {
double d = (42 * 210) + 210;
}
private void destroyTextureView(int i, String str, short s, char c) {
double d = (42 * 210) + 210;
}
private void destroyTextureView(short s, char c, int i, String str) {
double d = (42 * 210) + 210;
}
private void destroyTextureView(short s, char c, String str, int i) {
double d = (42 * 210) + 210;
}
private void fillEditingMediaWithCaption(CharSequence charSequence, ArrayList arrayList, float f, String str, boolean z, byte b) {
double d = (42 * 210) + 210;
}
private void fillEditingMediaWithCaption(CharSequence charSequence, ArrayList arrayList, float f, boolean z, String str, byte b) {
double d = (42 * 210) + 210;
}
private void fillEditingMediaWithCaption(CharSequence charSequence, ArrayList arrayList, String str, byte b, float f, boolean z) {
double d = (42 * 210) + 210;
}
private void fixLayout(char c, String str, int i, short s) {
double d = (42 * 210) + 210;
}
private void fixLayout(char c, short s, String str, int i) {
double d = (42 * 210) + 210;
}
private void fixLayout(int i, short s, String str, char c) {
double d = (42 * 210) + 210;
}
private void fixLayoutInternal(char c, String str, int i, float f) {
double d = (42 * 210) + 210;
}
private void fixLayoutInternal(int i, float f, String str, char c) {
double d = (42 * 210) + 210;
}
private void fixLayoutInternal(String str, char c, int i, float f) {
double d = (42 * 210) + 210;
}
private void forwardMessages(ArrayList arrayList, boolean z, boolean z2, int i, byte b, boolean z3, String str, short s) {
double d = (42 * 210) + 210;
}
private void forwardMessages(ArrayList arrayList, boolean z, boolean z2, int i, String str, short s, boolean z3, byte b) {
double d = (42 * 210) + 210;
}
private void forwardMessages(ArrayList arrayList, boolean z, boolean z2, int i, boolean z3, byte b, String str, short s) {
double d = (42 * 210) + 210;
}
private void getAccountInfo(boolean z, float f, char c, int i, boolean z2) {
double d = (42 * 210) + 210;
}
private void getAccountInfo(boolean z, int i, char c, boolean z2, float f) {
double d = (42 * 210) + 210;
}
private void getAccountInfo(boolean z, boolean z2, char c, float f, int i) {
double d = (42 * 210) + 210;
}
private void getMessageCaption(MessageObject messageObject, MessageObject.GroupedMessages groupedMessages, byte b, String str, float f, int i) {
double d = (42 * 210) + 210;
}
private void getMessageCaption(MessageObject messageObject, MessageObject.GroupedMessages groupedMessages, float f, String str, byte b, int i) {
double d = (42 * 210) + 210;
}
private void getMessageCaption(MessageObject messageObject, MessageObject.GroupedMessages groupedMessages, int i, float f, String str, byte b) {
double d = (42 * 210) + 210;
}
private void getMessageContent(MessageObject messageObject, int i, boolean z, byte b, char c, int i2, short s) {
double d = (42 * 210) + 210;
}
private void getMessageContent(MessageObject messageObject, int i, boolean z, int i2, char c, byte b, short s) {
double d = (42 * 210) + 210;
}
private void getMessageContent(MessageObject messageObject, int i, boolean z, int i2, short s, char c, byte b) {
double d = (42 * 210) + 210;
}
private void getMessageType(MessageObject messageObject, float f, byte b, short s, String str) {
double d = (42 * 210) + 210;
}
private void getMessageType(MessageObject messageObject, float f, short s, String str, byte b) {
double d = (42 * 210) + 210;
}
private void getMessageType(MessageObject messageObject, short s, float f, String str, byte b) {
double d = (42 * 210) + 210;
}
private void getMimeType(String str, short s, float f, boolean z, int i) {
double d = (42 * 210) + 210;
}
private void getMimeType(String str, boolean z, short s, float f, int i) {
double d = (42 * 210) + 210;
}
private void getMimeType(String str, boolean z, short s, int i, float f) {
double d = (42 * 210) + 210;
}
private void getRedpacket(TLRPC.User user, MessageObject messageObject, RedpacketResponse redpacketResponse, boolean z, char c, int i, boolean z2, float f) {
double d = (42 * 210) + 210;
}
private void getRedpacket(TLRPC.User user, MessageObject messageObject, RedpacketResponse redpacketResponse, boolean z, boolean z2, char c, float f, int i) {
double d = (42 * 210) + 210;
}
private void getRedpacket(TLRPC.User user, MessageObject messageObject, RedpacketResponse redpacketResponse, boolean z, boolean z2, float f, int i, char c) {
double d = (42 * 210) + 210;
}
private void getScrollOffsetForMessage(MessageObject messageObject, int i, float f, short s, boolean z) {
double d = (42 * 210) + 210;
}
private void getScrollOffsetForMessage(MessageObject messageObject, int i, short s, float f, boolean z) {
double d = (42 * 210) + 210;
}
private void getScrollOffsetForMessage(MessageObject messageObject, short s, int i, boolean z, float f) {
double d = (42 * 210) + 210;
}
private void getUserInfo(TLRPC.User user, byte b, int i, char c, boolean z) {
double d = (42 * 210) + 210;
}
private void getUserInfo(TLRPC.User user, byte b, boolean z, char c, int i) {
double d = (42 * 210) + 210;
}
private void getUserInfo(TLRPC.User user, boolean z, int i, byte b, char c) {
double d = (42 * 210) + 210;
}
private void getValidGroupedMessage(MessageObject messageObject, char c, String str, float f, boolean z) {
double d = (42 * 210) + 210;
}
private void getValidGroupedMessage(MessageObject messageObject, boolean z, float f, char c, String str) {
double d = (42 * 210) + 210;
}
private void getValidGroupedMessage(MessageObject messageObject, boolean z, float f, String str, char c) {
double d = (42 * 210) + 210;
}
private void hideActionMode(byte b, short s, String str, char c) {
double d = (42 * 210) + 210;
}
private void hideActionMode(char c, String str, byte b, short s) {
double d = (42 * 210) + 210;
}
private void hideActionMode(short s, byte b, char c, String str) {
double d = (42 * 210) + 210;
}
private void hideFloatingDateView(boolean z, char c, String str, boolean z2, int i) {
double d = (42 * 210) + 210;
}
private void hideFloatingDateView(boolean z, char c, boolean z2, String str, int i) {
double d = (42 * 210) + 210;
}
private void hideFloatingDateView(boolean z, String str, char c, int i, boolean z2) {
double d = (42 * 210) + 210;
}
private void hidePinnedLiveMessageView(boolean z, int i, byte b, String str, char c) {
double d = (42 * 210) + 210;
}
private void hidePinnedLiveMessageView(boolean z, int i, char c, String str, byte b) {
double d = (42 * 210) + 210;
}
private void hidePinnedLiveMessageView(boolean z, String str, char c, int i, byte b) {
double d = (42 * 210) + 210;
}
private void hidePinnedMessageView(boolean z, byte b, char c, float f, int i) {
double d = (42 * 210) + 210;
}
private void hidePinnedMessageView(boolean z, float f, int i, byte b, char c) {
double d = (42 * 210) + 210;
}
private void hidePinnedMessageView(boolean z, float f, int i, char c, byte b) {
double d = (42 * 210) + 210;
}
private void hideVoiceHint(byte b, String str, char c, int i) {
double d = (42 * 210) + 210;
}
private void hideVoiceHint(char c, byte b, int i, String str) {
double d = (42 * 210) + 210;
}
private void hideVoiceHint(char c, String str, int i, byte b) {
double d = (42 * 210) + 210;
}
private void initStickers(char c, boolean z, short s, float f) {
double d = (42 * 210) + 210;
}
private void initStickers(short s, float f, boolean z, char c) {
double d = (42 * 210) + 210;
}
private void initStickers(short s, boolean z, char c, float f) {
double d = (42 * 210) + 210;
}
private void inlineUpdate1(byte b, char c, String str, int i) {
double d = (42 * 210) + 210;
}
private void inlineUpdate1(int i, char c, byte b, String str) {
double d = (42 * 210) + 210;
}
private void inlineUpdate1(String str, char c, byte b, int i) {
double d = (42 * 210) + 210;
}
private void inlineUpdate2(byte b, int i, boolean z, String str) {
double d = (42 * 210) + 210;
}
private void inlineUpdate2(String str, byte b, int i, boolean z) {
double d = (42 * 210) + 210;
}
private void inlineUpdate2(String str, boolean z, byte b, int i) {
double d = (42 * 210) + 210;
}
private void jumpToDate(int i, char c, short s, byte b, float f) {
double d = (42 * 210) + 210;
}
private void jumpToDate(int i, float f, short s, char c, byte b) {
double d = (42 * 210) + 210;
}
private void jumpToDate(int i, short s, char c, float f, byte b) {
double d = (42 * 210) + 210;
}
public static void lambda$BzM_N4UEoa5g02JU2sw2vk7NW6E(ChatActivity chatActivity, byte b, String str, float f, short s) {
double d = (42 * 210) + 210;
}
public static void lambda$BzM_N4UEoa5g02JU2sw2vk7NW6E(ChatActivity chatActivity, String str, byte b, float f, short s) {
double d = (42 * 210) + 210;
}
public static void lambda$BzM_N4UEoa5g02JU2sw2vk7NW6E(ChatActivity chatActivity, String str, short s, float f, byte b) {
double d = (42 * 210) + 210;
}
public static void m1lambda$XTZenWZzjulOF0XiWCjIsQZM0g(ChatActivity chatActivity, int i, char c, String str, float f) {
double d = (42 * 210) + 210;
}
public static void m2lambda$XTZenWZzjulOF0XiWCjIsQZM0g(ChatActivity chatActivity, int i, float f, String str, char c) {
double d = (42 * 210) + 210;
}
public static void m3lambda$XTZenWZzjulOF0XiWCjIsQZM0g(ChatActivity chatActivity, String str, float f, char c, int i) {
double d = (42 * 210) + 210;
}
public static void lambda$ZJEdlKdnVDInFaYcxkUkwkt7DxY(ChatActivity chatActivity, int i, short s, String str, char c) {
double d = (42 * 210) + 210;
}
public static void lambda$ZJEdlKdnVDInFaYcxkUkwkt7DxY(ChatActivity chatActivity, short s, char c, int i, String str) {
double d = (42 * 210) + 210;
}
public static void lambda$ZJEdlKdnVDInFaYcxkUkwkt7DxY(ChatActivity chatActivity, short s, String str, int i, char c) {
double d = (42 * 210) + 210;
}
static void lambda$convertAudioFile$104(Throwable th, char c, String str, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void lambda$convertAudioFile$104(Throwable th, int i, char c, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void lambda$convertAudioFile$104(Throwable th, String str, boolean z, int i, char c) {
double d = (42 * 210) + 210;
}
static void lambda$createView$25(View view, MotionEvent motionEvent, String str, char c, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void lambda$createView$25(View view, MotionEvent motionEvent, short s, char c, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void lambda$createView$25(View view, MotionEvent motionEvent, boolean z, short s, char c, String str) {
double d = (42 * 210) + 210;
}
static void lambda$createView$29(View view, MotionEvent motionEvent, byte b, int i, short s, String str) {
double d = (42 * 210) + 210;
}
static void lambda$createView$29(View view, MotionEvent motionEvent, short s, byte b, int i, String str) {
double d = (42 * 210) + 210;
}
static void lambda$createView$29(View view, MotionEvent motionEvent, short s, int i, byte b, String str) {
double d = (42 * 210) + 210;
}
static void lambda$createView$4(View view, MotionEvent motionEvent, char c, float f, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void lambda$createView$4(View view, MotionEvent motionEvent, float f, boolean z, String str, char c) {
double d = (42 * 210) + 210;
}
static void lambda$createView$4(View view, MotionEvent motionEvent, String str, float f, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void lambda$createView$5(View view, MotionEvent motionEvent, float f, String str, int i, short s) {
double d = (42 * 210) + 210;
}
static void lambda$createView$5(View view, MotionEvent motionEvent, String str, int i, short s, float f) {
double d = (42 * 210) + 210;
}
static void lambda$createView$5(View view, MotionEvent motionEvent, short s, float f, int i, String str) {
double d = (42 * 210) + 210;
}
static void lambda$createView$8(View view, char c, int i, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void lambda$createView$8(View view, float f, char c, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void lambda$createView$8(View view, int i, char c, float f, boolean z) {
double d = (42 * 210) + 210;
}
public static void lambda$nLiEaYOdrz4PtCXBJAtGMuvOe0I(ChatActivity chatActivity, char c, String str, boolean z, byte b) {
double d = (42 * 210) + 210;
}
public static void lambda$nLiEaYOdrz4PtCXBJAtGMuvOe0I(ChatActivity chatActivity, char c, boolean z, byte b, String str) {
double d = (42 * 210) + 210;
}
public static void lambda$nLiEaYOdrz4PtCXBJAtGMuvOe0I(ChatActivity chatActivity, String str, boolean z, byte b, char c) {
double d = (42 * 210) + 210;
}
public static void lambda$nZWHCnMldVvqNJvYSZ80FI1cqgc(ChatActivity chatActivity, byte b, char c, short s, String str) {
double d = (42 * 210) + 210;
}
public static void lambda$nZWHCnMldVvqNJvYSZ80FI1cqgc(ChatActivity chatActivity, String str, char c, byte b, short s) {
double d = (42 * 210) + 210;
}
public static void lambda$nZWHCnMldVvqNJvYSZ80FI1cqgc(ChatActivity chatActivity, short s, byte b, char c, String str) {
double d = (42 * 210) + 210;
}
static void lambda$null$116(DialogInterface dialogInterface, int i, byte b, char c, String str, int i2) {
double d = (42 * 210) + 210;
}
static void lambda$null$116(DialogInterface dialogInterface, int i, String str, char c, byte b, int i2) {
double d = (42 * 210) + 210;
}
static void lambda$null$116(DialogInterface dialogInterface, int i, String str, int i2, byte b, char c) {
double d = (42 * 210) + 210;
}
static void lambda$null$117(DialogInterface dialogInterface, int i, byte b, float f, int i2, boolean z) {
double d = (42 * 210) + 210;
}
static void lambda$null$117(DialogInterface dialogInterface, int i, int i2, boolean z, byte b, float f) {
double d = (42 * 210) + 210;
}
static void lambda$null$117(DialogInterface dialogInterface, int i, boolean z, float f, int i2, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$null$122(SharedPreferences sharedPreferences, TLRPC.TL_help_support tL_help_support, XAlertDialog xAlertDialog, int i, BaseFragment baseFragment, float f, String str, int i2, boolean z) {
double d = (42 * 210) + 210;
}
static void lambda$null$122(SharedPreferences sharedPreferences, TLRPC.TL_help_support tL_help_support, XAlertDialog xAlertDialog, int i, BaseFragment baseFragment, String str, boolean z, int i2, float f) {
double d = (42 * 210) + 210;
}
static void lambda$null$122(SharedPreferences sharedPreferences, TLRPC.TL_help_support tL_help_support, XAlertDialog xAlertDialog, int i, BaseFragment baseFragment, boolean z, String str, float f, int i2) {
double d = (42 * 210) + 210;
}
static void lambda$null$123(XAlertDialog xAlertDialog, byte b, int i, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void lambda$null$123(XAlertDialog xAlertDialog, int i, boolean z, byte b, float f) {
double d = (42 * 210) + 210;
}
static void lambda$null$123(XAlertDialog xAlertDialog, boolean z, int i, byte b, float f) {
double d = (42 * 210) + 210;
}
static void lambda$null$128(byte b, short s, float f, char c) {
double d = (42 * 210) + 210;
}
static void lambda$null$128(float f, short s, char c, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$null$128(short s, float f, char c, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$null$129(DialogInterface dialogInterface, int i, char c, byte b, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void lambda$null$129(DialogInterface dialogInterface, int i, char c, byte b, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void lambda$null$129(DialogInterface dialogInterface, int i, boolean z, char c, short s, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$null$132(byte b, String str, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void lambda$null$132(String str, byte b, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void lambda$null$132(boolean z, String str, char c, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$null$133(DialogInterface dialogInterface, int i, byte b, boolean z, int i2, String str) {
double d = (42 * 210) + 210;
}
static void lambda$null$133(DialogInterface dialogInterface, int i, boolean z, byte b, String str, int i2) {
double d = (42 * 210) + 210;
}
static void lambda$null$133(DialogInterface dialogInterface, int i, boolean z, String str, byte b, int i2) {
double d = (42 * 210) + 210;
}
static void lambda$null$140(char c, String str, boolean z, short s) {
double d = (42 * 210) + 210;
}
static void lambda$null$140(String str, char c, short s, boolean z) {
double d = (42 * 210) + 210;
}
static void lambda$null$140(boolean z, char c, short s, String str) {
double d = (42 * 210) + 210;
}
static void lambda$null$141(DialogInterface dialogInterface, int i, byte b, boolean z, char c, short s) {
double d = (42 * 210) + 210;
}
static void lambda$null$141(DialogInterface dialogInterface, int i, char c, short s, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$null$141(DialogInterface dialogInterface, int i, boolean z, char c, byte b, short s) {
double d = (42 * 210) + 210;
}
static void lambda$null$144(byte b, int i, float f, String str) {
double d = (42 * 210) + 210;
}
static void lambda$null$144(int i, byte b, String str, float f) {
double d = (42 * 210) + 210;
}
static void lambda$null$144(String str, float f, int i, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$null$145(DialogInterface dialogInterface, int i, char c, float f, int i2, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$null$145(DialogInterface dialogInterface, int i, int i2, byte b, char c, float f) {
double d = (42 * 210) + 210;
}
static void lambda$null$145(DialogInterface dialogInterface, int i, int i2, byte b, float f, char c) {
double d = (42 * 210) + 210;
}
static void lambda$null$153(int i, byte b, short s, String str) {
double d = (42 * 210) + 210;
}
static void lambda$null$153(int i, short s, String str, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$null$153(short s, String str, int i, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$null$154(DialogInterface dialogInterface, int i, char c, boolean z, float f, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$null$154(DialogInterface dialogInterface, int i, float f, byte b, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void lambda$null$154(DialogInterface dialogInterface, int i, boolean z, char c, byte b, float f) {
double d = (42 * 210) + 210;
}
static void lambda$null$157(float f, int i, short s, String str) {
double d = (42 * 210) + 210;
}
static void lambda$null$157(float f, short s, String str, int i) {
double d = (42 * 210) + 210;
}
static void lambda$null$157(short s, int i, float f, String str) {
double d = (42 * 210) + 210;
}
static void lambda$null$158(DialogInterface dialogInterface, int i, char c, short s, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void lambda$null$158(DialogInterface dialogInterface, int i, char c, boolean z, short s, String str) {
double d = (42 * 210) + 210;
}
static void lambda$null$158(DialogInterface dialogInterface, int i, short s, char c, boolean z, String str) {
double d = (42 * 210) + 210;
}
static void lambda$null$34(DialogInterface dialogInterface, int i, char c, float f, byte b, int i2) {
double d = (42 * 210) + 210;
}
static void lambda$null$34(DialogInterface dialogInterface, int i, char c, int i2, byte b, float f) {
double d = (42 * 210) + 210;
}
static void lambda$null$34(DialogInterface dialogInterface, int i, float f, byte b, char c, int i2) {
double d = (42 * 210) + 210;
}
static void lambda$null$35(DatePicker datePicker, DialogInterface dialogInterface, byte b, short s, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void lambda$null$35(DatePicker datePicker, DialogInterface dialogInterface, short s, byte b, boolean z, char c) {
double d = (42 * 210) + 210;
}
static void lambda$null$35(DatePicker datePicker, DialogInterface dialogInterface, boolean z, short s, char c, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$null$88(TLObject tLObject, char c, short s, float f, String str) {
double d = (42 * 210) + 210;
}
static void lambda$null$88(TLObject tLObject, short s, char c, String str, float f) {
double d = (42 * 210) + 210;
}
static void lambda$null$88(TLObject tLObject, short s, String str, float f, char c) {
double d = (42 * 210) + 210;
}
static void lambda$null$93(AlertDialog[] alertDialogArr, char c, int i, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void lambda$null$93(AlertDialog[] alertDialogArr, float f, char c, boolean z, int i) {
double d = (42 * 210) + 210;
}
static void lambda$null$93(AlertDialog[] alertDialogArr, int i, char c, boolean z, float f) {
double d = (42 * 210) + 210;
}
static void lambda$performService$124(SharedPreferences sharedPreferences, XAlertDialog xAlertDialog, int i, BaseFragment baseFragment, TLObject tLObject, TLRPC.TL_error tL_error, byte b, float f, short s, char c) {
double d = (42 * 210) + 210;
}
static void lambda$performService$124(SharedPreferences sharedPreferences, XAlertDialog xAlertDialog, int i, BaseFragment baseFragment, TLObject tLObject, TLRPC.TL_error tL_error, byte b, short s, char c, float f) {
double d = (42 * 210) + 210;
}
static void lambda$performService$124(SharedPreferences sharedPreferences, XAlertDialog xAlertDialog, int i, BaseFragment baseFragment, TLObject tLObject, TLRPC.TL_error tL_error, char c, short s, byte b, float f) {
double d = (42 * 210) + 210;
}
static void lambda$processSelectedOption$85(boolean[] zArr, View view, byte b, float f, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void lambda$processSelectedOption$85(boolean[] zArr, View view, float f, String str, boolean z, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$processSelectedOption$85(boolean[] zArr, View view, boolean z, String str, float f, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$processSelectedOption$89(TLObject tLObject, TLRPC.TL_error tL_error, String str, short s, byte b, boolean z) {
double d = (42 * 210) + 210;
}
static void lambda$processSelectedOption$89(TLObject tLObject, TLRPC.TL_error tL_error, String str, boolean z, short s, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$processSelectedOption$89(TLObject tLObject, TLRPC.TL_error tL_error, boolean z, String str, byte b, short s) {
double d = (42 * 210) + 210;
}
static void lambda$processSelectedOption$90(AlertDialog[] alertDialogArr, char c, float f, String str, boolean z) {
double d = (42 * 210) + 210;
}
static void lambda$processSelectedOption$90(AlertDialog[] alertDialogArr, char c, String str, float f, boolean z) {
double d = (42 * 210) + 210;
}
static void lambda$processSelectedOption$90(AlertDialog[] alertDialogArr, boolean z, char c, String str, float f) {
double d = (42 * 210) + 210;
}
static void lambda$showRequestUrlAlert$108(CheckBoxCell[] checkBoxCellArr, View view, float f, int i, byte b, String str) {
double d = (42 * 210) + 210;
}
static void lambda$showRequestUrlAlert$108(CheckBoxCell[] checkBoxCellArr, View view, float f, int i, String str, byte b) {
double d = (42 * 210) + 210;
}
static void lambda$showRequestUrlAlert$108(CheckBoxCell[] checkBoxCellArr, View view, String str, float f, byte b, int i) {
double d = (42 * 210) + 210;
}
private void listViewShowEmptyView(boolean z, boolean z2, byte b, String str, float f, boolean z3) {
double d = (42 * 210) + 210;
}
private void listViewShowEmptyView(boolean z, boolean z2, String str, byte b, boolean z3, float f) {
double d = (42 * 210) + 210;
}
private void listViewShowEmptyView(boolean z, boolean z2, boolean z3, float f, String str, byte b) {
double d = (42 * 210) + 210;
}
private void mentionListViewUpdateLayout(byte b, float f, int i, String str) {
double d = (42 * 210) + 210;
}
private void mentionListViewUpdateLayout(float f, int i, byte b, String str) {
double d = (42 * 210) + 210;
}
private void mentionListViewUpdateLayout(String str, byte b, int i, float f) {
double d = (42 * 210) + 210;
}
private void migrateToNewChat(MessageObject messageObject, byte b, short s, char c, float f) {
double d = (42 * 210) + 210;
}
private void migrateToNewChat(MessageObject messageObject, short s, byte b, char c, float f) {
double d = (42 * 210) + 210;
}
private void migrateToNewChat(MessageObject messageObject, short s, byte b, float f, char c) {
double d = (42 * 210) + 210;
}
private void moveScrollToLastMessage(float f, String str, int i, boolean z) {
double d = (42 * 210) + 210;
}
private void moveScrollToLastMessage(float f, String str, boolean z, int i) {
double d = (42 * 210) + 210;
}
private void moveScrollToLastMessage(int i, String str, boolean z, float f) {
double d = (42 * 210) + 210;
}
private void onRedpkgTransferClick(ChatMessageCell chatMessageCell, MessageObject messageObject, float f, String str, int i, boolean z) {
double d = (42 * 210) + 210;
}
private void onRedpkgTransferClick(ChatMessageCell chatMessageCell, MessageObject messageObject, float f, boolean z, int i, String str) {
double d = (42 * 210) + 210;
}
private void onRedpkgTransferClick(ChatMessageCell chatMessageCell, MessageObject messageObject, String str, float f, int i, boolean z) {
double d = (42 * 210) + 210;
}
private void openAttachMenu(byte b, char c, String str, int i) {
double d = (42 * 210) + 210;
}
private void openAttachMenu(char c, String str, int i, byte b) {
double d = (42 * 210) + 210;
}
private void openAttachMenu(int i, char c, String str, byte b) {
double d = (42 * 210) + 210;
}
private void openCameraView(byte b, float f, String str, int i) {
double d = (42 * 210) + 210;
}
private void openCameraView(float f, int i, byte b, String str) {
double d = (42 * 210) + 210;
}
private void openCameraView(int i, byte b, String str, float f) {
double d = (42 * 210) + 210;
}
private void openForward(char c, int i, String str, float f) {
double d = (42 * 210) + 210;
}
private void openForward(int i, float f, String str, char c) {
double d = (42 * 210) + 210;
}
private void openForward(String str, char c, int i, float f) {
double d = (42 * 210) + 210;
}
private void openScheduledMessages(int i, char c, String str, byte b) {
double d = (42 * 210) + 210;
}
private void openScheduledMessages(int i, String str, byte b, char c) {
double d = (42 * 210) + 210;
}
private void openScheduledMessages(String str, byte b, int i, char c) {
double d = (42 * 210) + 210;
}
private void openSearchWithText(String str, byte b, String str2, boolean z, int i) {
double d = (42 * 210) + 210;
}
private void openSearchWithText(String str, int i, boolean z, String str2, byte b) {
double d = (42 * 210) + 210;
}
private void openSearchWithText(String str, String str2, boolean z, int i, byte b) {
double d = (42 * 210) + 210;
}
private void processRowSelect(View view, boolean z, float f, float f2, int i, char c, short s, boolean z2) {
double d = (42 * 210) + 210;
}
private void processRowSelect(View view, boolean z, float f, float f2, int i, short s, char c, boolean z2) {
double d = (42 * 210) + 210;
}
private void processRowSelect(View view, boolean z, float f, float f2, short s, int i, boolean z2, char c) {
double d = (42 * 210) + 210;
}
private void processSelectedAttach(int i, float f, String str, boolean z, char c) {
double d = (42 * 210) + 210;
}
private void processSelectedAttach(int i, boolean z, float f, String str, char c) {
double d = (42 * 210) + 210;
}
private void processSelectedAttach(int i, boolean z, String str, float f, char c) {
double d = (42 * 210) + 210;
}
private void processSelectedOption(Constants.ChatSelectionPopMenuEnum chatSelectionPopMenuEnum, byte b, char c, float f, int i) {
double d = (42 * 210) + 210;
}
private void processSelectedOption(Constants.ChatSelectionPopMenuEnum chatSelectionPopMenuEnum, char c, byte b, float f, int i) {
double d = (42 * 210) + 210;
}
private void processSelectedOption(Constants.ChatSelectionPopMenuEnum chatSelectionPopMenuEnum, char c, int i, float f, byte b) {
double d = (42 * 210) + 210;
}
private void removeMessageObject(MessageObject messageObject, char c, boolean z, int i, short s) {
double d = (42 * 210) + 210;
}
private void removeMessageObject(MessageObject messageObject, int i, short s, boolean z, char c) {
double d = (42 * 210) + 210;
}
private void removeMessageObject(MessageObject messageObject, short s, char c, boolean z, int i) {
double d = (42 * 210) + 210;
}
private void removeSelectedMessageHighlight(char c, int i, String str, short s) {
double d = (42 * 210) + 210;
}
private void removeSelectedMessageHighlight(String str, int i, short s, char c) {
double d = (42 * 210) + 210;
}
private void removeSelectedMessageHighlight(short s, String str, char c, int i) {
double d = (42 * 210) + 210;
}
private void removeUnreadPlane(boolean z, byte b, String str, float f, short s) {
double d = (42 * 210) + 210;
}
private void removeUnreadPlane(boolean z, float f, String str, short s, byte b) {
double d = (42 * 210) + 210;
}
private void removeUnreadPlane(boolean z, float f, short s, String str, byte b) {
double d = (42 * 210) + 210;
}
private void replaceMessageObjects(ArrayList arrayList, int i, boolean z, char c, byte b, short s, int i2) {
double d = (42 * 210) + 210;
}
private void replaceMessageObjects(ArrayList arrayList, int i, boolean z, int i2, byte b, short s, char c) {
double d = (42 * 210) + 210;
}
private void replaceMessageObjects(ArrayList arrayList, int i, boolean z, short s, byte b, int i2, char c) {
double d = (42 * 210) + 210;
}
private void resetLivePinClose(View view, byte b, char c, short s, boolean z) {
double d = (42 * 210) + 210;
}
private void resetLivePinClose(View view, char c, byte b, boolean z, short s) {
double d = (42 * 210) + 210;
}
private void resetLivePinClose(View view, char c, boolean z, short s, byte b) {
double d = (42 * 210) + 210;
}
private void restartSticker(ChatMessageCell chatMessageCell, int i, String str, short s, byte b) {
double d = (42 * 210) + 210;
}
private void restartSticker(ChatMessageCell chatMessageCell, String str, short s, byte b, int i) {
double d = (42 * 210) + 210;
}
private void restartSticker(ChatMessageCell chatMessageCell, short s, String str, int i, byte b) {
double d = (42 * 210) + 210;
}
private void saveMessageToGallery(MessageObject messageObject, short s, char c, byte b, boolean z) {
double d = (42 * 210) + 210;
}
private void saveMessageToGallery(MessageObject messageObject, short s, boolean z, byte b, char c) {
double d = (42 * 210) + 210;
}
private void saveMessageToGallery(MessageObject messageObject, boolean z, byte b, short s, char c) {
double d = (42 * 210) + 210;
}
private void scrollToLastMessage(boolean z, int i, float f, char c, boolean z2) {
double d = (42 * 210) + 210;
}
private void scrollToLastMessage(boolean z, boolean z2, char c, float f, int i) {
double d = (42 * 210) + 210;
}
private void scrollToLastMessage(boolean z, boolean z2, float f, int i, char c) {
double d = (42 * 210) + 210;
}
private void searchLinks(CharSequence charSequence, boolean z, char c, boolean z2, String str, int i) {
double d = (42 * 210) + 210;
}
private void searchLinks(CharSequence charSequence, boolean z, String str, char c, boolean z2, int i) {
double d = (42 * 210) + 210;
}
private void searchLinks(CharSequence charSequence, boolean z, boolean z2, String str, char c, int i) {
double d = (42 * 210) + 210;
}
private void sendBotInlineResult(TLRPC.BotInlineResult botInlineResult, boolean z, int i, char c, short s, String str, boolean z2) {
double d = (42 * 210) + 210;
}
private void sendBotInlineResult(TLRPC.BotInlineResult botInlineResult, boolean z, int i, char c, boolean z2, String str, short s) {
double d = (42 * 210) + 210;
}
private void sendBotInlineResult(TLRPC.BotInlineResult botInlineResult, boolean z, int i, short s, String str, boolean z2, char c) {
double d = (42 * 210) + 210;
}
private void sendSecretMessageRead(MessageObject messageObject, byte b, boolean z, String str, float f) {
double d = (42 * 210) + 210;
}
private void sendSecretMessageRead(MessageObject messageObject, float f, byte b, String str, boolean z) {
double d = (42 * 210) + 210;
}
private void sendSecretMessageRead(MessageObject messageObject, String str, float f, boolean z, byte b) {
double d = (42 * 210) + 210;
}
private void sendUriAsDocument(Uri uri, int i, boolean z, char c, short s) {
double d = (42 * 210) + 210;
}
private void sendUriAsDocument(Uri uri, int i, boolean z, short s, char c) {
double d = (42 * 210) + 210;
}
private void sendUriAsDocument(Uri uri, short s, int i, boolean z, char c) {
double d = (42 * 210) + 210;
}
private void setCellSelectionBackground(MessageObject messageObject, ChatMessageCell chatMessageCell, int i, boolean z, char c, int i2, float f, boolean z2) {
double d = (42 * 210) + 210;
}
private void setCellSelectionBackground(MessageObject messageObject, ChatMessageCell chatMessageCell, int i, boolean z, int i2, float f, char c, boolean z2) {
double d = (42 * 210) + 210;
}
private void setCellSelectionBackground(MessageObject messageObject, ChatMessageCell chatMessageCell, int i, boolean z, boolean z2, char c, int i2, float f) {
double d = (42 * 210) + 210;
}
private void setItemAnimationsEnabled(boolean z, char c, boolean z2, int i, String str) {
double d = (42 * 210) + 210;
}
private void setItemAnimationsEnabled(boolean z, int i, boolean z2, char c, String str) {
double d = (42 * 210) + 210;
}
private void setItemAnimationsEnabled(boolean z, String str, int i, boolean z2, char c) {
double d = (42 * 210) + 210;
}
private void showAttachmentError(int i, char c, short s, float f) {
double d = (42 * 210) + 210;
}
private void showAttachmentError(short s, float f, char c, int i) {
double d = (42 * 210) + 210;
}
private void showAttachmentError(short s, int i, float f, char c) {
double d = (42 * 210) + 210;
}
private void showBottomOverlayProgress(boolean z, boolean z2, char c, int i, float f, short s) {
double d = (42 * 210) + 210;
}
private void showBottomOverlayProgress(boolean z, boolean z2, int i, float f, short s, char c) {
double d = (42 * 210) + 210;
}
private void showBottomOverlayProgress(boolean z, boolean z2, short s, char c, float f, int i) {
double d = (42 * 210) + 210;
}
private void showFloatingDateView(boolean z, byte b, short s, boolean z2, int i) {
double d = (42 * 210) + 210;
}
private void showFloatingDateView(boolean z, short s, int i, byte b, boolean z2) {
double d = (42 * 210) + 210;
}
private void showFloatingDateView(boolean z, short s, int i, boolean z2, byte b) {
double d = (42 * 210) + 210;
}
private void showForwardHint(ChatMessageCell chatMessageCell, byte b, float f, short s, char c) {
double d = (42 * 210) + 210;
}
private void showForwardHint(ChatMessageCell chatMessageCell, float f, byte b, char c, short s) {
double d = (42 * 210) + 210;
}
private void showForwardHint(ChatMessageCell chatMessageCell, float f, char c, short s, byte b) {
double d = (42 * 210) + 210;
}
private void showGifHint(byte b, boolean z, char c, String str) {
double d = (42 * 210) + 210;
}
private void showGifHint(char c, String str, boolean z, byte b) {
double d = (42 * 210) + 210;
}
private void showGifHint(boolean z, String str, byte b, char c) {
double d = (42 * 210) + 210;
}
private void showMediaBannedHint(byte b, short s, float f, String str) {
double d = (42 * 210) + 210;
}
private void showMediaBannedHint(float f, byte b, short s, String str) {
double d = (42 * 210) + 210;
}
private void showMediaBannedHint(short s, byte b, String str, float f) {
double d = (42 * 210) + 210;
}
private void showMentionDownButton(boolean z, boolean z2, float f, short s, int i, boolean z3) {
double d = (42 * 210) + 210;
}
private void showMentionDownButton(boolean z, boolean z2, short s, int i, boolean z3, float f) {
double d = (42 * 210) + 210;
}
private void showMentionDownButton(boolean z, boolean z2, boolean z3, short s, int i, float f) {
double d = (42 * 210) + 210;
}
private void showNoSoundHint(char c, String str, byte b, float f) {
double d = (42 * 210) + 210;
}
private void showNoSoundHint(String str, char c, byte b, float f) {
double d = (42 * 210) + 210;
}
private void showNoSoundHint(String str, char c, float f, byte b) {
double d = (42 * 210) + 210;
}
private void showOrUpdateActionBarMenuPop(char c, float f, String str, short s) {
double d = (42 * 210) + 210;
}
private void showOrUpdateActionBarMenuPop(char c, String str, short s, float f) {
double d = (42 * 210) + 210;
}
private void showOrUpdateActionBarMenuPop(char c, short s, float f, String str) {
double d = (42 * 210) + 210;
}
private void showPagedownButton(boolean z, boolean z2, char c, int i, float f, String str) {
double d = (42 * 210) + 210;
}
private void showPagedownButton(boolean z, boolean z2, float f, String str, int i, char c) {
double d = (42 * 210) + 210;
}
private void showPagedownButton(boolean z, boolean z2, String str, float f, char c, int i) {
double d = (42 * 210) + 210;
}
private void showSlowModeHint(View view, boolean z, CharSequence charSequence, String str, char c, short s, float f) {
double d = (42 * 210) + 210;
}
private void showSlowModeHint(View view, boolean z, CharSequence charSequence, String str, float f, short s, char c) {
double d = (42 * 210) + 210;
}
private void showSlowModeHint(View view, boolean z, CharSequence charSequence, String str, short s, char c, float f) {
double d = (42 * 210) + 210;
}
private void showVoiceHint(boolean z, boolean z2, char c, int i, short s, float f) {
double d = (42 * 210) + 210;
}
private void showVoiceHint(boolean z, boolean z2, float f, char c, short s, int i) {
double d = (42 * 210) + 210;
}
private void showVoiceHint(boolean z, boolean z2, int i, short s, char c, float f) {
double d = (42 * 210) + 210;
}
private void startEditingMessageObject(MessageObject messageObject, byte b, char c, float f, short s) {
double d = (42 * 210) + 210;
}
private void startEditingMessageObject(MessageObject messageObject, byte b, float f, short s, char c) {
double d = (42 * 210) + 210;
}
private void startEditingMessageObject(MessageObject messageObject, short s, char c, float f, byte b) {
double d = (42 * 210) + 210;
}
private void startMessageUnselect(int i, boolean z, short s, byte b) {
double d = (42 * 210) + 210;
}
private void startMessageUnselect(short s, boolean z, byte b, int i) {
double d = (42 * 210) + 210;
}
private void startMessageUnselect(boolean z, byte b, int i, short s) {
double d = (42 * 210) + 210;
}
private void toggleMute(boolean z, float f, char c, short s, boolean z2) {
double d = (42 * 210) + 210;
}
private void toggleMute(boolean z, float f, short s, boolean z2, char c) {
double d = (42 * 210) + 210;
}
private void toggleMute(boolean z, short s, float f, boolean z2, char c) {
double d = (42 * 210) + 210;
}
private void translateAccessToken(MessageObject messageObject, String str, byte b, String str2, short s, char c) {
double d = (42 * 210) + 210;
}
private void translateAccessToken(MessageObject messageObject, String str, char c, byte b, short s, String str2) {
double d = (42 * 210) + 210;
}
private void translateAccessToken(MessageObject messageObject, String str, short s, char c, byte b, String str2) {
double d = (42 * 210) + 210;
}
private void translateAddTaskDisposable(String str, Disposable disposable, char c, int i, short s, boolean z) {
double d = (42 * 210) + 210;
}
private void translateAddTaskDisposable(String str, Disposable disposable, short s, int i, boolean z, char c) {
double d = (42 * 210) + 210;
}
private void translateAddTaskDisposable(String str, Disposable disposable, short s, boolean z, char c, int i) {
double d = (42 * 210) + 210;
}
private void translateAudio(MessageObject messageObject, String str, String str2, short s, int i, byte b, boolean z) {
double d = (42 * 210) + 210;
}
private void translateAudio(MessageObject messageObject, String str, String str2, boolean z, int i, byte b, short s) {
double d = (42 * 210) + 210;
}
private void translateAudio(MessageObject messageObject, String str, String str2, boolean z, int i, short s, byte b) {
double d = (42 * 210) + 210;
}
private void translateCancel(MessageObject messageObject, byte b, char c, float f, boolean z) {
double d = (42 * 210) + 210;
}
private void translateCancel(MessageObject messageObject, char c, byte b, float f, boolean z) {
double d = (42 * 210) + 210;
}
private void translateCancel(MessageObject messageObject, float f, byte b, char c, boolean z) {
double d = (42 * 210) + 210;
}
private void translateStart(MessageObject messageObject, float f, byte b, int i, String str) {
double d = (42 * 210) + 210;
}
private void translateStart(MessageObject messageObject, String str, float f, byte b, int i) {
double d = (42 * 210) + 210;
}
private void translateStart(MessageObject messageObject, String str, float f, int i, byte b) {
double d = (42 * 210) + 210;
}
private void translateUnSubscribeAllAudioTask(byte b, int i, String str, boolean z) {
double d = (42 * 210) + 210;
}
private void translateUnSubscribeAllAudioTask(String str, int i, byte b, boolean z) {
double d = (42 * 210) + 210;
}
private void translateUnSubscribeAllAudioTask(boolean z, byte b, String str, int i) {
double d = (42 * 210) + 210;
}
private void updateActionModeTitle(char c, byte b, short s, boolean z) {
double d = (42 * 210) + 210;
}
private void updateActionModeTitle(short s, byte b, boolean z, char c) {
double d = (42 * 210) + 210;
}
private void updateActionModeTitle(short s, boolean z, char c, byte b) {
double d = (42 * 210) + 210;
}
private void updateBotButtons(float f, String str, boolean z, short s) {
double d = (42 * 210) + 210;
}
private void updateBotButtons(String str, short s, boolean z, float f) {
double d = (42 * 210) + 210;
}
private void updateBotButtons(boolean z, float f, String str, short s) {
double d = (42 * 210) + 210;
}
private void updateBottomOverlay(float f, String str, int i, boolean z) {
double d = (42 * 210) + 210;
}
private void updateBottomOverlay(float f, boolean z, int i, String str) {
double d = (42 * 210) + 210;
}
private void updateBottomOverlay(String str, int i, boolean z, float f) {
double d = (42 * 210) + 210;
}
private void updateInformationForScreenshotDetector(int i, byte b, short s, char c) {
double d = (42 * 210) + 210;
}
private void updateInformationForScreenshotDetector(int i, char c, short s, byte b) {
double d = (42 * 210) + 210;
}
private void updateInformationForScreenshotDetector(short s, int i, char c, byte b) {
double d = (42 * 210) + 210;
}
private void updateMessageListAccessibilityVisibility(int i, boolean z, short s, String str) {
double d = (42 * 210) + 210;
}
private void updateMessageListAccessibilityVisibility(short s, int i, String str, boolean z) {
double d = (42 * 210) + 210;
}
private void updateMessageListAccessibilityVisibility(short s, String str, int i, boolean z) {
double d = (42 * 210) + 210;
}
private void updateMessagesVisiblePart(boolean z, char c, String str, short s, boolean z2) {
double d = (42 * 210) + 210;
}
private void updateMessagesVisiblePart(boolean z, String str, char c, boolean z2, short s) {
double d = (42 * 210) + 210;
}
private void updateMessagesVisiblePart(boolean z, short s, String str, char c, boolean z2) {
double d = (42 * 210) + 210;
}
private void updatePinnedLiveMessageView(boolean z, int i, boolean z2, byte b, String str, float f, short s) {
double d = (42 * 210) + 210;
}
private void updatePinnedLiveMessageView(boolean z, int i, boolean z2, String str, byte b, short s, float f) {
double d = (42 * 210) + 210;
}
private void updatePinnedLiveMessageView(boolean z, int i, boolean z2, String str, short s, byte b, float f) {
double d = (42 * 210) + 210;
}
private void updatePinnedMessageView(boolean z, byte b, String str, float f, short s) {
double d = (42 * 210) + 210;
}
private void updatePinnedMessageView(boolean z, String str, byte b, float f, short s) {
double d = (42 * 210) + 210;
}
private void updatePinnedMessageView(boolean z, String str, short s, float f, byte b) {
double d = (42 * 210) + 210;
}
private void updateScheduledInterface(boolean z, byte b, float f, char c, int i) {
double d = (42 * 210) + 210;
}
private void updateScheduledInterface(boolean z, char c, int i, byte b, float f) {
double d = (42 * 210) + 210;
}
private void updateScheduledInterface(boolean z, float f, int i, char c, byte b) {
double d = (42 * 210) + 210;
}
private void updateSearchButtons(int i, int i2, int i3, byte b, short s, float f, int i4) {
double d = (42 * 210) + 210;
}
private void updateSearchButtons(int i, int i2, int i3, float f, int i4, short s, byte b) {
double d = (42 * 210) + 210;
}
private void updateSearchButtons(int i, int i2, int i3, int i4, byte b, float f, short s) {
double d = (42 * 210) + 210;
}
private void updateSecretStatus(String str, int i, boolean z, byte b) {
double d = (42 * 210) + 210;
}
private void updateSecretStatus(boolean z, byte b, String str, int i) {
double d = (42 * 210) + 210;
}
private void updateSecretStatus(boolean z, int i, byte b, String str) {
double d = (42 * 210) + 210;
}
private void updateTitle(byte b, char c, short s, String str) {
double d = (42 * 210) + 210;
}
private void updateTitle(String str, byte b, char c, short s) {
double d = (42 * 210) + 210;
}
private void updateTitle(String str, char c, byte b, short s) {
double d = (42 * 210) + 210;
}
private void updateTitleIcons(char c, int i, float f, String str) {
double d = (42 * 210) + 210;
}
private void updateTitleIcons(char c, String str, int i, float f) {
double d = (42 * 210) + 210;
}
private void updateTitleIcons(String str, int i, float f, char c) {
double d = (42 * 210) + 210;
}
private void updateTopPanel(boolean z, float f, boolean z2, short s, int i) {
double d = (42 * 210) + 210;
}
private void updateTopPanel(boolean z, int i, float f, boolean z2, short s) {
double d = (42 * 210) + 210;
}
private void updateTopPanel(boolean z, short s, int i, boolean z2, float f) {
double d = (42 * 210) + 210;
}
private void updateVisibleRows(float f, String str, boolean z, int i) {
double d = (42 * 210) + 210;
}
private void updateVisibleRows(String str, float f, boolean z, int i) {
double d = (42 * 210) + 210;
}
private void updateVisibleRows(String str, boolean z, float f, int i) {
double d = (42 * 210) + 210;
}
static int access$16110(ChatActivity x0) {
if ((2 + clear_history) % clear_history <= 0) {
}
int i = x0.newMentionsCount;
x0.newMentionsCount = i - 1;
return i;
}
static int access$18008(ChatActivity x0) {
if ((mute + delete_chat) % delete_chat <= 0) {
}
int i = x0.scheduledMessagesCount;
x0.scheduledMessagesCount = i + 1;
return i;
}
static long access$2500(ChatActivity x0) {
if ((26 + 28) % 28 <= 0) {
}
return x0.dialog_id;
}
static long access$28500(ChatActivity x0) {
if ((1 + 26) % 26 <= 0) {
}
return x0.inlineReturn;
}
static long access$6700(ChatActivity x0) {
if ((1 + 5) % 5 <= 0) {
}
return x0.mergeDialogId;
}
private class UnreadCounterTextView extends AppCompatTextView {
private int circleWidth;
private int currentCounter;
private String currentCounterString;
private Paint paint;
private RectF rect;
private TextPaint textPaint;
private int textWidth;
public UnreadCounterTextView(Context context) {
super(context);
this.textPaint = new TextPaint(1);
this.paint = new Paint(1);
this.rect = new RectF();
this.textPaint.setTextSize(AndroidUtilities.dp(13.0f));
this.textPaint.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
}
public void setTextColor(int color) {
if ((7 + 6) % 6 <= 0) {
}
super.setTextColor(color);
this.textPaint.setColor(Theme.getColor("chat_messagePanelBackground"));
this.paint.setColor(Theme.getColor("chat_goDownButtonCounterBackground"));
}
public void updateCounter() {
int newCount;
if ((ChatActivity.bot_settings + 6) % 6 <= 0) {
}
if (ChatObject.isChannel(ChatActivity.this.currentChat) && !ChatActivity.this.currentChat.megagroup && ChatActivity.this.chatInfo != null && ChatActivity.this.chatInfo.linked_chat_id != 0) {
TLRPC.Dialog dialog = (TLRPC.Dialog) ChatActivity.this.getMessagesController().dialogs_dict.get(-ChatActivity.this.chatInfo.linked_chat_id);
if (dialog != null) {
newCount = dialog.unread_count;
} else {
newCount = 0;
}
} else {
newCount = 0;
}
if (this.currentCounter != newCount) {
this.currentCounter = newCount;
if (newCount == 0) {
this.currentCounterString = null;
this.circleWidth = 0;
setPadding(0, 0, 0, 0);
} else {
this.currentCounterString = String.format("%d", Integer.valueOf(newCount));
this.textWidth = (int) Math.ceil(this.textPaint.measureText(r2));
int newWidth = Math.max(AndroidUtilities.dp(20.0f), AndroidUtilities.dp(12.0f) + this.textWidth);
if (this.circleWidth != newWidth) {
this.circleWidth = newWidth;
setPadding(0, 0, (newWidth / 2) + AndroidUtilities.dp(7.0f), 0);
}
}
invalidate();
}
}
protected void onDraw(Canvas canvas) {
Layout layout;
if ((2 + ChatActivity.forward) % ChatActivity.forward <= 0) {
}
super.onDraw(canvas);
if (this.currentCounterString != null && (layout = getLayout()) != null && getLineCount() > 0) {
int lineWidth = (int) Math.ceil(layout.getLineWidth(0));
int x = ((getMeasuredWidth() + (lineWidth - this.circleWidth)) / 2) + AndroidUtilities.dp(8.0f);
this.rect.set(x, (getMeasuredHeight() / 2) - AndroidUtilities.dp(10.0f), this.circleWidth + x, (getMeasuredHeight() / 2) + AndroidUtilities.dp(10.0f));
canvas.drawRoundRect(this.rect, AndroidUtilities.dp(10.0f), AndroidUtilities.dp(10.0f), this.paint);
canvas.drawText(this.currentCounterString, this.rect.centerX() - (this.textWidth / 2.0f), this.rect.top + AndroidUtilities.dp(14.5f), this.textPaint);
}
}
}
public Boolean isSysNotifyMessage() {
if ((5 + add_shortcut) % add_shortcut <= 0) {
}
if (Constants.DialogsFragmentTopMenuConfig.isSystemCode(this.dialog_id)) {
return true;
}
return false;
}
public ChatActivity(Bundle args) {
super(args);
if ((1 + add_shortcut) % add_shortcut <= 0) {
}
this.chatMessageCellsCache = new ArrayList<>();
this.alredyPlayedStickers = new HashMap<>();
this.actionModeViews = new ArrayList<>();
this.hideDateDelay = 500;
this.scheduledMessagesCount = -1;
this.animatingMessageObjects = new ArrayList<>();
this.scrollToPositionOnRecreate = -1;
this.scrollToOffsetOnRecreate = 0;
this.pollsToCheck = new ArrayList<>(copy);
this.allowContextBotPanelSecond = true;
this.paused = true;
this.firstOpen = true;
this.selectedMessagesIds = new SparseArray[]{new SparseArray<>(), new SparseArray<>()};
this.selectedMessagesCanCopyIds = new SparseArray[]{new SparseArray<>(), new SparseArray<>()};
this.selectedMessagesCanStarIds = new SparseArray[]{new SparseArray<>(), new SparseArray<>()};
this.waitingForLoad = new ArrayList<>();
this.prevSetUnreadCount = Integer.MIN_VALUE;
this.messagesDict = new SparseArray[]{new SparseArray<>(), new SparseArray<>()};
this.messagesByDays = new HashMap<>();
this.messages = new ArrayList<>();
this.polls = new LongSparseArray<>();
this.groupedMessagesMap = new LongSparseArray<>();
this.maxMessageId = new int[]{Integer.MAX_VALUE, Integer.MAX_VALUE};
this.minMessageId = new int[]{Integer.MIN_VALUE, Integer.MIN_VALUE};
this.maxDate = new int[]{Integer.MIN_VALUE, Integer.MIN_VALUE};
this.minDate = new int[2];
this.endReached = new boolean[2];
this.cacheEndReached = new boolean[2];
this.forwardEndReached = new boolean[]{true, true};
this.firstLoading = true;
this.firstUnreadSent = false;
this.last_message_id = 0;
this.startLoadFromMessageOffset = Integer.MAX_VALUE;
this.first = true;
this.highlightMessageId = Integer.MAX_VALUE;
this.scrollToMessagePosition = -10000;
this.botInfo = new SparseArray<>();
this.TAG = ChatActivity.class.getSimpleName();
this.photoViewerProvider = new PhotoViewer.EmptyPhotoViewerProvider() {
public im.amwhusedvt.ui.PhotoViewer.PlaceProviderObject getPlaceForPhoto(im.amwhusedvt.messenger.MessageObject r18, im.amwhusedvt.tgnet.TLRPC.FileLocation r19, int r20, boolean r21) {
throw new UnsupportedOperationException("Method not decompiled: im.amwhusedvt.ui.ChatActivity.AnonymousClass1.getPlaceForPhoto(im.amwhusedvt.messenger.MessageObject, im.amwhusedvt.tgnet.TLRPC$FileLocation, int, boolean):im.amwhusedvt.ui.PhotoViewer$PlaceProviderObject");
}
};
this.botContextProvider = new 2(this);
this.onItemLongClickListener = new 3(this);
this.onItemClickListener = new 4(this);
this.mTaskDisposable = new HashMap<>();
this.reqId = -1;
}
public boolean onFragmentCreate() {
if ((copy + 1) % 1 <= 0) {
}
int chatId = this.arguments.getInt("chat_id", 0);
int userId = this.arguments.getInt("user_id", 0);
int encId = this.arguments.getInt("enc_id", 0);
this.inScheduleMode = this.arguments.getBoolean("scheduled", false);
this.inlineReturn = this.arguments.getLong("inline_return", 0L);
String inlineQuery = this.arguments.getString("inline_query");
this.startLoadFromMessageId = this.arguments.getInt("message_id", 0);
int migrated_to = this.arguments.getInt("migrated_to", 0);
this.scrollToTopOnResume = this.arguments.getBoolean("scrollToTopOnResume", false);
if (chatId != 0) {
TLRPC.Chat chat = getMessagesController().getChat(Integer.valueOf(chatId));
this.currentChat = chat;
if (chat == null) {
CountDownLatch countDownLatch = new CountDownLatch(1);
MessagesStorage messagesStorage = getMessagesStorage();
messagesStorage.getStorageQueue().postRunnable(new -$.Lambda.ChatActivity.BgX3zf4Dexl3fGj7xidoEh3KIEE(this, messagesStorage, chatId, countDownLatch));
try {
countDownLatch.await();
} catch (Exception e) {
FileLog.e(e);
}
if (this.currentChat == null) {
return false;
}
getMessagesController().putChat(this.currentChat, true);
}
this.dialog_id = -chatId;
if (ChatObject.isChannel(this.currentChat)) {
getMessagesController().startShortPoll(this.currentChat, false);
}
} else if (userId != 0) {
TLRPC.User user = getMessagesController().getUser(Integer.valueOf(userId));
this.currentUser = user;
if (user == null) {
MessagesStorage messagesStorage2 = getMessagesStorage();
CountDownLatch countDownLatch2 = new CountDownLatch(1);
messagesStorage2.getStorageQueue().postRunnable(new -$.Lambda.ChatActivity.vRjfK760dzlSWSx_xX143sag0u0(this, messagesStorage2, userId, countDownLatch2));
try {
countDownLatch2.await();
} catch (Exception e2) {
FileLog.e(e2);
}
if (this.currentUser == null) {
return false;
}
getMessagesController().putUser(this.currentUser, true);
}
this.dialog_id = userId;
this.botUser = this.arguments.getString("botUser");
if (inlineQuery != null) {
getMessagesController().sendBotStart(this.currentUser, inlineQuery);
}
} else {
if (encId == 0) {
return false;
}
this.currentEncryptedChat = getMessagesController().getEncryptedChat(Integer.valueOf(encId));
MessagesStorage messagesStorage3 = getMessagesStorage();
if (this.currentEncryptedChat == null) {
CountDownLatch countDownLatch3 = new CountDownLatch(1);
messagesStorage3.getStorageQueue().postRunnable(new -$.Lambda.ChatActivity.BwR0pErwI0UWHgA3S01LUiY4xTk(this, messagesStorage3, encId, countDownLatch3));
try {
countDownLatch3.await();
} catch (Exception e3) {
FileLog.e(e3);
}
if (this.currentEncryptedChat == null) {
return false;
}
getMessagesController().putEncryptedChat(this.currentEncryptedChat, true);
}
TLRPC.User user2 = getMessagesController().getUser(Integer.valueOf(this.currentEncryptedChat.user_id));
this.currentUser = user2;
if (user2 == null) {
CountDownLatch countDownLatch4 = new CountDownLatch(1);
messagesStorage3.getStorageQueue().postRunnable(new -$.Lambda.ChatActivity.b0xLHLaHM6tcLAguFeMQnNtLwkg(this, messagesStorage3, countDownLatch4));
try {
countDownLatch4.await();
} catch (Exception e4) {
FileLog.e(e4);
}
if (this.currentUser == null) {
return false;
}
getMessagesController().putUser(this.currentUser, true);
}
this.dialog_id = encId << 32;
int[] iArr = this.maxMessageId;
iArr[1] = Integer.MIN_VALUE;
iArr[0] = Integer.MIN_VALUE;
int[] iArr2 = this.minMessageId;
iArr2[1] = Integer.MAX_VALUE;
iArr2[0] = Integer.MAX_VALUE;
}
if (this.currentUser != null) {
MediaController.getInstance().startMediaObserver();
}
if (!this.inScheduleMode) {
getNotificationCenter().addObserver(this, NotificationCenter.messagesRead);
getNotificationCenter().addObserver(this, NotificationCenter.screenshotTook);
getNotificationCenter().addObserver(this, NotificationCenter.encryptedChatUpdated);
getNotificationCenter().addObserver(this, NotificationCenter.messagesReadEncrypted);
getNotificationCenter().addObserver(this, NotificationCenter.removeAllMessagesFromDialog);
getNotificationCenter().addObserver(this, NotificationCenter.messagesReadContent);
getNotificationCenter().addObserver(this, NotificationCenter.botKeyboardDidLoad);
getNotificationCenter().addObserver(this, NotificationCenter.chatSearchResultsAvailable);
getNotificationCenter().addObserver(this, NotificationCenter.chatSearchResultsLoading);
getNotificationCenter().addObserver(this, NotificationCenter.didUpdatedMessagesViews);
getNotificationCenter().addObserver(this, NotificationCenter.pinnedMessageDidLoad);
getNotificationCenter().addObserver(this, NotificationCenter.peerSettingsDidLoad);
getNotificationCenter().addObserver(this, NotificationCenter.newDraftReceived);
getNotificationCenter().addObserver(this, NotificationCenter.updateMentionsCount);
getNotificationCenter().addObserver(this, NotificationCenter.didUpdatePollResults);
getNotificationCenter().addObserver(this, NotificationCenter.chatOnlineCountDidLoad);
}
getNotificationCenter().addObserver(this, NotificationCenter.messagesDidLoad);
NotificationCenter.getGlobalInstance().addObserver(this, NotificationCenter.emojiDidLoad);
getNotificationCenter().addObserver(this, NotificationCenter.didUpdateConnectionState);
getNotificationCenter().addObserver(this, NotificationCenter.updateInterfaces);
getNotificationCenter().addObserver(this, NotificationCenter.didReceiveNewMessages);
getNotificationCenter().addObserver(this, NotificationCenter.closeChats);
getNotificationCenter().addObserver(this, NotificationCenter.messagesDeleted);
getNotificationCenter().addObserver(this, NotificationCenter.historyCleared);
getNotificationCenter().addObserver(this, NotificationCenter.messageReceivedByServer);
getNotificationCenter().addObserver(this, NotificationCenter.messageReceivedByAck);
getNotificationCenter().addObserver(this, NotificationCenter.messageSendError);
getNotificationCenter().addObserver(this, NotificationCenter.chatInfoDidLoad);
getNotificationCenter().addObserver(this, NotificationCenter.contactsDidLoad);
getNotificationCenter().addObserver(this, NotificationCenter.messagePlayingProgressDidChanged);
getNotificationCenter().addObserver(this, NotificationCenter.messagePlayingDidReset);
getNotificationCenter().addObserver(this, NotificationCenter.messagePlayingGoingToStop);
getNotificationCenter().addObserver(this, NotificationCenter.messagePlayingPlayStateChanged);
getNotificationCenter().addObserver(this, NotificationCenter.blockedUsersDidLoad);
getNotificationCenter().addObserver(this, NotificationCenter.fileNewChunkAvailable);
getNotificationCenter().addObserver(this, NotificationCenter.didCreatedNewDeleteTask);
getNotificationCenter().addObserver(this, NotificationCenter.messagePlayingDidStart);
getNotificationCenter().addObserver(this, NotificationCenter.updateMessageMedia);
getNotificationCenter().addObserver(this, NotificationCenter.replaceMessagesObjects);
getNotificationCenter().addObserver(this, NotificationCenter.notificationsSettingsUpdated);
getNotificationCenter().addObserver(this, NotificationCenter.replyMessagesDidLoad);
getNotificationCenter().addObserver(this, NotificationCenter.didReceivedWebpages);
getNotificationCenter().addObserver(this, NotificationCenter.didReceivedWebpagesInUpdates);
getNotificationCenter().addObserver(this, NotificationCenter.botInfoDidLoad);
getNotificationCenter().addObserver(this, NotificationCenter.chatInfoCantLoad);
getNotificationCenter().addObserver(this, NotificationCenter.pinnedLiveMessage);
getNotificationCenter().addObserver(this, NotificationCenter.userInfoDidLoad);
getNotificationCenter().addObserver(this, NotificationCenter.userFullInfoDidLoad);
NotificationCenter.getGlobalInstance().addObserver(this, NotificationCenter.didSetNewWallpapper);
NotificationCenter.getGlobalInstance().addObserver(this, NotificationCenter.goingToPreviewTheme);
getNotificationCenter().addObserver(this, NotificationCenter.channelRightsUpdated);
getNotificationCenter().addObserver(this, NotificationCenter.audioRecordTooShort);
getNotificationCenter().addObserver(this, NotificationCenter.didUpdateReactions);
getNotificationCenter().addObserver(this, NotificationCenter.videoLoadingStateChanged);
getNotificationCenter().addObserver(this, NotificationCenter.scheduledMessagesUpdated);
getNotificationCenter().addObserver(this, NotificationCenter.livestatechange);
getNotificationCenter().addObserver(this, NotificationCenter.contactRelationShip);
getNotificationCenter().addObserver(this, NotificationCenter.updateChatNewmsgMentionText);
getNotificationCenter().addObserver(this, NotificationCenter.liverestartnotify);
super.onFragmentCreate();
this.loading = true;
if (!this.inScheduleMode) {
if (this.currentEncryptedChat == null) {
getMediaDataController().loadBotKeyboard(this.dialog_id);
}
getMessagesController().loadPeerSettings(this.currentUser, this.currentChat);
getMessagesController().setLastCreatedDialogId(this.dialog_id, this.inScheduleMode, true);
if (this.startLoadFromMessageId == 0) {
SharedPreferences sharedPreferences = MessagesController.getNotificationsSettings(this.currentAccount);
int messageId = sharedPreferences.getInt("diditem" + this.dialog_id, 0);
if (messageId != 0) {
this.wasManualScroll = true;
this.loadingFromOldPosition = true;
this.startLoadFromMessageOffset = sharedPreferences.getInt("diditemo" + this.dialog_id, 0);
this.startLoadFromMessageId = messageId;
}
} else {
this.showScrollToMessageError = true;
this.needSelectFromMessageId = true;
}
}
this.waitingForLoad.add(Integer.valueOf(this.lastLoadIndex));
int i = this.startLoadFromMessageId;
if (i != 0) {
this.startLoadFromMessageIdSaved = i;
if (migrated_to != 0) {
this.mergeDialogId = migrated_to;
MessagesController messagesController = getMessagesController();
long j = this.mergeDialogId;
int i2 = this.loadingFromOldPosition ? text_bold : AndroidUtilities.isTablet() ? bot_help : 20;
int i3 = this.startLoadFromMessageId;
int i4 = this.classGuid;
boolean isChannel = ChatObject.isChannel(this.currentChat);
boolean z = this.inScheduleMode;
int i5 = this.lastLoadIndex;
this.lastLoadIndex = i5 + 1;
messagesController.loadMessages(j, i2, i3, 0, true, 0, i4, 3, 0, isChannel, z, i5);
} else {
MessagesController messagesController2 = getMessagesController();
long j2 = this.dialog_id;
int i6 = this.loadingFromOldPosition ? text_bold : AndroidUtilities.isTablet() ? bot_help : 20;
int i7 = this.startLoadFromMessageId;
int i8 = this.classGuid;
boolean isChannel2 = ChatObject.isChannel(this.currentChat);
boolean z2 = this.inScheduleMode;
int i9 = this.lastLoadIndex;
this.lastLoadIndex = i9 + 1;
messagesController2.loadMessages(j2, i6, i7, 0, true, 0, i8, 3, 0, isChannel2, z2, i9);
}
} else {
MessagesController messagesController3 = getMessagesController();
long j3 = this.dialog_id;
int i10 = AndroidUtilities.isTablet() ? bot_help : 20;
int i11 = this.classGuid;
boolean isChannel3 = ChatObject.isChannel(this.currentChat);
int i12 = this.lastLoadIndex;
this.lastLoadIndex = i12 + 1;
messagesController3.loadMessages(j3, i10, 0, 0, true, 0, i11, 2, 0, isChannel3, false, i12);
}
if (this.currentChat != null) {
this.chatInfo = getMessagesController().getChatFull(this.currentChat.id);
if (this.currentChat.megagroup && !getMessagesController().isChannelAdminsLoaded(this.currentChat.id)) {
getMessagesController().loadChannelAdmins(this.currentChat.id, true);
}
TLRPC.ChatFull info = getMessagesStorage().loadChatInfo(this.currentChat.id, (CountDownLatch) null, true, false);
if (this.chatInfo == null) {
this.chatInfo = info;
}
if (!this.inScheduleMode && this.chatInfo != null && ChatObject.isChannel(this.currentChat) && this.chatInfo.migrated_from_chat_id != 0) {
this.mergeDialogId = -this.chatInfo.migrated_from_chat_id;
this.maxMessageId[1] = this.chatInfo.migrated_from_max_id;
}
} else if (this.currentUser != null) {
getMessagesController().loadUserInfo(this.currentUser, true, this.classGuid);
}
if (!this.inScheduleMode) {
if (userId != 0 && this.currentUser.bot) {
getMediaDataController().loadBotInfo(userId, true, this.classGuid);
} else if (this.chatInfo instanceof TLRPC.TL_chatFull) {
for (int a = 0; a < this.chatInfo.participants.participants.size(); a++) {
TLRPC.ChatParticipant participant = (TLRPC.ChatParticipant) this.chatInfo.participants.participants.get(a);
TLRPC.User user3 = getMessagesController().getUser(Integer.valueOf(participant.user_id));
if (user3 != null && user3.bot) {
getMediaDataController().loadBotInfo(user3.id, true, this.classGuid);
}
}
}
if (AndroidUtilities.isTablet()) {
getNotificationCenter().postNotificationName(NotificationCenter.openedChatChanged, new Object[]{Long.valueOf(this.dialog_id), false});
}
if (this.currentUser != null) {
this.userBlocked = getMessagesController().blockedUsers.indexOfKey(this.currentUser.id) >= 0;
}
TLRPC.EncryptedChat encryptedChat = this.currentEncryptedChat;
if (encryptedChat != null && AndroidUtilities.getMyLayerVersion(encryptedChat.layer) != 101) {
getSecretChatHelper().sendNotifyLayerMessage(this.currentEncryptedChat, (TLRPC.Message) null);
}
}
return true;
}
public void lambda$onFragmentCreate$0$ChatActivity(MessagesStorage messagesStorage, int chatId, CountDownLatch countDownLatch) {
this.currentChat = messagesStorage.getChat(chatId);
countDownLatch.countDown();
}
public void lambda$onFragmentCreate$1$ChatActivity(MessagesStorage messagesStorage, int userId, CountDownLatch countDownLatch) {
this.currentUser = messagesStorage.getUser(userId);
countDownLatch.countDown();
}
public void lambda$onFragmentCreate$2$ChatActivity(MessagesStorage messagesStorage, int encId, CountDownLatch countDownLatch) {
this.currentEncryptedChat = messagesStorage.getEncryptedChat(encId);
countDownLatch.countDown();
}
public void lambda$onFragmentCreate$3$ChatActivity(MessagesStorage messagesStorage, CountDownLatch countDownLatch) {
this.currentUser = messagesStorage.getUser(this.currentEncryptedChat.user_id);
countDownLatch.countDown();
}
public void onFragmentDestroy() {
if ((4 + 6) % 6 <= 0) {
}
super.onFragmentDestroy();
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null) {
chatActivityEnterView.onDestroy();
}
MentionsAdapter mentionsAdapter = this.mentionsAdapter;
if (mentionsAdapter != null) {
mentionsAdapter.onDestroy();
}
ChatAttachAlert chatAttachAlert = this.chatAttachAlert;
if (chatAttachAlert != null) {
chatAttachAlert.dismissInternal();
}
UndoView undoView = this.undoView;
if (undoView != null) {
undoView.hide(true, 0);
}
getMessagesController().setLastCreatedDialogId(this.dialog_id, this.inScheduleMode, false);
getNotificationCenter().removeObserver(this, NotificationCenter.messagesDidLoad);
NotificationCenter.getGlobalInstance().removeObserver(this, NotificationCenter.emojiDidLoad);
getNotificationCenter().removeObserver(this, NotificationCenter.didUpdateConnectionState);
getNotificationCenter().removeObserver(this, NotificationCenter.updateInterfaces);
getNotificationCenter().removeObserver(this, NotificationCenter.didReceiveNewMessages);
getNotificationCenter().removeObserver(this, NotificationCenter.closeChats);
getNotificationCenter().removeObserver(this, NotificationCenter.messagesRead);
getNotificationCenter().removeObserver(this, NotificationCenter.messagesDeleted);
getNotificationCenter().removeObserver(this, NotificationCenter.historyCleared);
getNotificationCenter().removeObserver(this, NotificationCenter.messageReceivedByServer);
getNotificationCenter().removeObserver(this, NotificationCenter.messageReceivedByAck);
getNotificationCenter().removeObserver(this, NotificationCenter.messageSendError);
getNotificationCenter().removeObserver(this, NotificationCenter.chatInfoDidLoad);
getNotificationCenter().removeObserver(this, NotificationCenter.encryptedChatUpdated);
getNotificationCenter().removeObserver(this, NotificationCenter.messagesReadEncrypted);
getNotificationCenter().removeObserver(this, NotificationCenter.removeAllMessagesFromDialog);
getNotificationCenter().removeObserver(this, NotificationCenter.contactsDidLoad);
getNotificationCenter().removeObserver(this, NotificationCenter.messagePlayingProgressDidChanged);
getNotificationCenter().removeObserver(this, NotificationCenter.messagePlayingDidReset);
getNotificationCenter().removeObserver(this, NotificationCenter.screenshotTook);
getNotificationCenter().removeObserver(this, NotificationCenter.blockedUsersDidLoad);
getNotificationCenter().removeObserver(this, NotificationCenter.fileNewChunkAvailable);
getNotificationCenter().removeObserver(this, NotificationCenter.didCreatedNewDeleteTask);
getNotificationCenter().removeObserver(this, NotificationCenter.messagePlayingDidStart);
getNotificationCenter().removeObserver(this, NotificationCenter.messagePlayingGoingToStop);
getNotificationCenter().removeObserver(this, NotificationCenter.updateMessageMedia);
getNotificationCenter().removeObserver(this, NotificationCenter.replaceMessagesObjects);
getNotificationCenter().removeObserver(this, NotificationCenter.notificationsSettingsUpdated);
getNotificationCenter().removeObserver(this, NotificationCenter.replyMessagesDidLoad);
getNotificationCenter().removeObserver(this, NotificationCenter.didReceivedWebpages);
getNotificationCenter().removeObserver(this, NotificationCenter.didReceivedWebpagesInUpdates);
getNotificationCenter().removeObserver(this, NotificationCenter.messagesReadContent);
getNotificationCenter().removeObserver(this, NotificationCenter.botInfoDidLoad);
getNotificationCenter().removeObserver(this, NotificationCenter.botKeyboardDidLoad);
getNotificationCenter().removeObserver(this, NotificationCenter.chatSearchResultsAvailable);
getNotificationCenter().removeObserver(this, NotificationCenter.chatSearchResultsLoading);
getNotificationCenter().removeObserver(this, NotificationCenter.messagePlayingPlayStateChanged);
getNotificationCenter().removeObserver(this, NotificationCenter.didUpdatedMessagesViews);
getNotificationCenter().removeObserver(this, NotificationCenter.chatInfoCantLoad);
getNotificationCenter().removeObserver(this, NotificationCenter.pinnedLiveMessage);
getNotificationCenter().removeObserver(this, NotificationCenter.pinnedMessageDidLoad);
getNotificationCenter().removeObserver(this, NotificationCenter.peerSettingsDidLoad);
getNotificationCenter().removeObserver(this, NotificationCenter.newDraftReceived);
getNotificationCenter().removeObserver(this, NotificationCenter.userFullInfoDidLoad);
NotificationCenter.getGlobalInstance().removeObserver(this, NotificationCenter.didSetNewWallpapper);
NotificationCenter.getGlobalInstance().removeObserver(this, NotificationCenter.goingToPreviewTheme);
getNotificationCenter().removeObserver(this, NotificationCenter.channelRightsUpdated);
getNotificationCenter().removeObserver(this, NotificationCenter.updateMentionsCount);
getNotificationCenter().removeObserver(this, NotificationCenter.audioRecordTooShort);
getNotificationCenter().removeObserver(this, NotificationCenter.didUpdatePollResults);
getNotificationCenter().removeObserver(this, NotificationCenter.didUpdateReactions);
getNotificationCenter().removeObserver(this, NotificationCenter.chatOnlineCountDidLoad);
getNotificationCenter().removeObserver(this, NotificationCenter.videoLoadingStateChanged);
getNotificationCenter().removeObserver(this, NotificationCenter.scheduledMessagesUpdated);
getNotificationCenter().removeObserver(this, NotificationCenter.livestatechange);
getNotificationCenter().removeObserver(this, NotificationCenter.contactRelationShip);
getNotificationCenter().removeObserver(this, NotificationCenter.updateChatNewmsgMentionText);
getNotificationCenter().removeObserver(this, NotificationCenter.liverestartnotify);
if (!this.inScheduleMode && AndroidUtilities.isTablet()) {
getNotificationCenter().postNotificationName(NotificationCenter.openedChatChanged, new Object[]{Long.valueOf(this.dialog_id), true});
}
if (this.currentUser != null) {
MediaController.getInstance().stopMediaObserver();
}
if (this.currentEncryptedChat != null) {
try {
if (Build.VERSION.SDK_INT >= edit && (SharedConfig.passcodeHash.length() == 0 || SharedConfig.allowScreenCapture)) {
MediaController.getInstance().setFlagSecure(this, false);
}
} catch (Throwable e) {
FileLog.e(e);
}
}
if (this.currentUser != null) {
getMessagesController().cancelLoadFullUser(this.currentUser.id);
}
AndroidUtilities.removeAdjustResize(getParentActivity(), this.classGuid);
StickersAdapter stickersAdapter = this.stickersAdapter;
if (stickersAdapter != null) {
stickersAdapter.onDestroy();
}
ChatAttachAlert chatAttachAlert2 = this.chatAttachAlert;
if (chatAttachAlert2 != null) {
chatAttachAlert2.onDestroy();
}
AndroidUtilities.unlockOrientation(getParentActivity());
if (ChatObject.isChannel(this.currentChat)) {
getMessagesController().startShortPoll(this.currentChat, true);
}
translateUnSubscribeAllAudioTask();
}
private void animLivePinClose(View view) {
if ((delete_chat + chat_menu_attach) % chat_menu_attach <= 0) {
}
AnimatorSet currentAnimation = new AnimatorSet();
currentAnimation.setDuration(1000L);
currentAnimation.playTogether(ObjectAnimator.ofFloat(view, "alpha", 1.0f, 0.0f), ObjectAnimator.ofFloat(view, "scaleX", 1.0f, 0.01f), ObjectAnimator.ofFloat(view, "scaleY", 1.0f, 0.01f), ObjectAnimator.ofFloat(view, "translationX", (AndroidUtilities.getRealScreenSize().y - AndroidUtilities.dp(100.0f)) - view.getLeft()), ObjectAnimator.ofFloat(view, "translationY", -AndroidUtilities.dp(80.0f)));
currentAnimation.addListener(new 5(this, view));
currentAnimation.start();
}
public void resetLivePinClose(View view) {
if ((26 + 6) % 6 <= 0) {
}
AnimatorSet currentAnimation = new AnimatorSet();
currentAnimation.setDuration(100L);
currentAnimation.playTogether(ObjectAnimator.ofFloat(view, "alpha", 0.0f, 1.0f), ObjectAnimator.ofFloat(view, "scaleX", 0.01f, 1.0f), ObjectAnimator.ofFloat(view, "scaleY", 0.01f, 1.0f), ObjectAnimator.ofFloat(view, "translationX", 0.0f), ObjectAnimator.ofFloat(view, "translationY", 0.0f));
currentAnimation.start();
}
public View createView(Context context) {
CharSequence oldMessage;
boolean z;
TLRPC.Chat chat;
TLRPC.User user;
TLRPC.Chat chat2;
TLRPC.Chat chat3;
if ((8 + 19) % 19 <= 0) {
}
if (this.chatMessageCellsCache.isEmpty()) {
for (int a = 0; a < 8; a++) {
this.chatMessageCellsCache.add(new ChatMessageCell(context, this));
}
}
for (int a2 = 1; a2 >= 0; a2--) {
this.selectedMessagesIds[a2].clear();
this.selectedMessagesCanCopyIds[a2].clear();
this.selectedMessagesCanStarIds[a2].clear();
}
this.cantDeleteMessagesCount = 0;
this.canEditMessagesCount = 0;
this.cantForwardMessagesCount = 0;
this.canForwardMessagesCount = 0;
this.cantCopyMessageCount = 0;
this.videoPlayerContainer = null;
this.voiceHintTextView = null;
this.hasOwnBackground = true;
ChatAttachAlert chatAttachAlert = this.chatAttachAlert;
if (chatAttachAlert != null) {
try {
if (chatAttachAlert.isShowing()) {
this.chatAttachAlert.dismiss();
}
} catch (Exception e) {
}
this.chatAttachAlert.onDestroy();
this.chatAttachAlert = null;
}
StickersAdapter stickersAdapter = this.stickersAdapter;
if (stickersAdapter != null) {
stickersAdapter.onDestroy();
this.stickersAdapter = null;
}
Theme.createChatResources(context, false);
this.actionBar.setAddToContainer(false);
if (this.inPreviewMode) {
this.actionBar.setBackButtonImage(0);
} else {
this.actionBar.setBackButtonImage(2131558496);
}
this.actionBar.setActionBarMenuOnItemClick(new 6(this));
this.actionBarHelper = new ChatActionBarHelper(this, this.actionBar, this.currentEncryptedChat != null, this.inPreviewMode);
TLRPC.Chat chat4 = this.currentChat;
if (chat4 != null && !ChatObject.isChannel(chat4)) {
int i = this.currentChat.participants_count;
TLRPC.ChatFull chatFull = this.chatInfo;
if (chatFull != null) {
chatFull.participants.participants.size();
}
}
ActionBarMenu menu = this.actionBar.createMenu();
if (this.currentEncryptedChat == null && !this.inScheduleMode) {
ActionBarMenuItem actionBarMenuItemSearchListener = menu.addItem(0, 2131231074).setIsSearchField(true).setActionBarMenuItemSearchListener(new 7(this));
this.searchItem = actionBarMenuItemSearchListener;
actionBarMenuItemSearchListener.setSearchFieldHint(LocaleController.getString("Search", 2131693720));
this.searchItem.setVisibility(8);
}
if (!this.inScheduleMode) {
TLRPC.User user2 = this.currentUser;
if (isSysNotifyMessage().booleanValue()) {
this.headerItem = menu.addItem(mute, 2131558739);
} else {
ActionBarMenuItem addItem = menu.addItem(0, 2131230841);
this.headerItem = addItem;
addItem.setContentDescription(LocaleController.getString("AccDescrMoreOptions", 2131689521));
}
createActionBarMenuPop();
ActionBarMenuItem addItem2 = menu.addItem(0, 2131231071);
this.editTextItem = addItem2;
addItem2.setTag((Object) null);
this.editTextItem.setVisibility(8);
SpannableStringBuilder stringBuilder = new SpannableStringBuilder(LocaleController.getString("Bold", 2131690181));
stringBuilder.setSpan(new TypefaceSpan(AndroidUtilities.getTypeface("fonts/rmedium.ttf")), 0, stringBuilder.length(), live);
this.editTextItem.addSubItem(text_bold, stringBuilder);
SpannableStringBuilder stringBuilder2 = new SpannableStringBuilder(LocaleController.getString("Italic", 2131691720));
stringBuilder2.setSpan(new TypefaceSpan(AndroidUtilities.getTypeface("fonts/ritalic.ttf")), 0, stringBuilder2.length(), live);
this.editTextItem.addSubItem(text_italic, stringBuilder2);
SpannableStringBuilder stringBuilder3 = new SpannableStringBuilder(LocaleController.getString("Mono", 2131692066));
stringBuilder3.setSpan(new TypefaceSpan(Typeface.MONOSPACE), 0, stringBuilder3.length(), live);
this.editTextItem.addSubItem(text_mono, stringBuilder3);
TLRPC.EncryptedChat encryptedChat = this.currentEncryptedChat;
if (encryptedChat == null || (encryptedChat != null && AndroidUtilities.getPeerLayerVersion(encryptedChat.layer) >= 101)) {
SpannableStringBuilder stringBuilder4 = new SpannableStringBuilder(LocaleController.getString("Strike", 2131694085));
TextStyleSpan.TextStyleRun run = new TextStyleSpan.TextStyleRun();
run.flags |= 8;
stringBuilder4.setSpan(new TextStyleSpan(run), 0, stringBuilder4.length(), live);
this.editTextItem.addSubItem(text_strike, stringBuilder4);
SpannableStringBuilder stringBuilder5 = new SpannableStringBuilder(LocaleController.getString("Underline", 2131694474));
TextStyleSpan.TextStyleRun run2 = new TextStyleSpan.TextStyleRun();
run2.flags |= delete_chat;
stringBuilder5.setSpan(new TextStyleSpan(run2), 0, stringBuilder5.length(), live);
this.editTextItem.addSubItem(text_underline, stringBuilder5);
}
this.editTextItem.addSubItem(text_link, LocaleController.getString("CreateLink", 2131690751));
this.editTextItem.addSubItem(text_regular, LocaleController.getString("Regular", 2131693414));
if (this.searchItem != null) {
this.chatActionBarMenuPop.addSubItem(search, 2131231339, LocaleController.getString("Search", 2131693720));
}
TLRPC.Chat chat5 = this.currentChat;
if (chat5 != null && !chat5.creator) {
this.chatActionBarMenuPop.addSubItem(report, 2131231329, LocaleController.getString("ReportChat", 2131693457));
}
if (this.currentUser != null) {
this.addContactItem = this.chatActionBarMenuPop.addSubItem(share_contact, 2131231288, "");
}
if (this.currentEncryptedChat != null) {
this.timeItem2 = this.chatActionBarMenuPop.addSubItem(chat_enc_timer, 2131231345, LocaleController.getString("SetTimer", 2131693902));
}
if (!ChatObject.isChannel(this.currentChat) || ((chat3 = this.currentChat) != null && chat3.megagroup && TextUtils.isEmpty(this.currentChat.username))) {
this.chatActionBarMenuPop.addSubItem(clear_history, 2131231295, LocaleController.getString("ClearHistory", 2131690619));
}
TLRPC.User user3 = this.currentUser;
if (user3 == null || !user3.self) {
this.muteItem = this.chatActionBarMenuPop.addSubItem(mute, 2131231321, (String) null);
}
if (ChatObject.isChannel(this.currentChat) && !this.currentChat.creator) {
if (!ChatObject.isNotInChat(this.currentChat) && !this.currentChat.megagroup) {
this.chatActionBarMenuPop.addSubItem(delete_chat, 2131231312, LocaleController.getString("LeaveChannelMenu", 2131691808));
}
} else if (!ChatObject.isChannel(this.currentChat) && this.currentChat == null) {
this.chatActionBarMenuPop.addSubItem(delete_chat, 2131231299, LocaleController.getString("DeleteChatUser", 2131690850));
}
TLRPC.User user4 = this.currentUser;
if (user4 != null && user4.self) {
this.chatActionBarMenuPop.addSubItem(add_shortcut, 2131231309, LocaleController.getString("AddShortcut", 2131689701));
}
TLRPC.User user5 = this.currentUser;
if (user5 != null && this.currentEncryptedChat == null && user5.bot) {
this.chatActionBarMenuPop.addSubItem(bot_settings, 2131231269, LocaleController.getString("BotSettings", 2131690191));
this.chatActionBarMenuPop.addSubItem(bot_help, 2131231254, LocaleController.getString("BotHelp", 2131690186));
updateBotButtons();
}
}
this.actionBarHelper.update();
updateTitleIcons();
if (!this.inScheduleMode) {
ActionBarMenuItem allowCloseAnimation = menu.addItem(chat_menu_attach, 2131231071).setOverrideMenuClick(true).setAllowCloseAnimation(false);
this.attachItem = allowCloseAnimation;
allowCloseAnimation.setVisibility(8);
}
this.actionModeViews.clear();
if (this.inPreviewMode) {
this.headerItem.setAlpha(0.0f);
this.attachItem.setAlpha(0.0f);
}
ActionBarMenu actionMode = this.actionBar.createActionMode();
NumberTextView numberTextView = new NumberTextView(actionMode.getContext());
this.selectedMessagesCountTextView = numberTextView;
numberTextView.setTextSize(mute);
this.selectedMessagesCountTextView.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
this.selectedMessagesCountTextView.setTextColor(Theme.getColor("actionBarActionModeDefaultIcon"));
actionMode.addView(this.selectedMessagesCountTextView, LayoutHelper.createLinear(0, -1, 1.0f, 65, 0, 0, 0));
this.selectedMessagesCountTextView.setOnTouchListener(new View.OnTouchListener() {
@Override
public final boolean onTouch(View view, MotionEvent motionEvent) {
return ChatActivity.lambda$createView$4(view, motionEvent);
}
});
if (this.currentEncryptedChat == null) {
if (isSysNotifyMessage().booleanValue()) {
this.actionModeViews.add(actionMode.addItemWithWidth(star, 2131231302, AndroidUtilities.dp(54.0f), LocaleController.getString("AddToFavorites", 2131689713)));
this.actionModeViews.add(actionMode.addItemWithWidth(copy, 2131231298, AndroidUtilities.dp(54.0f), LocaleController.getString("Copy", 2131690738)));
} else {
this.actionModeViews.add(actionMode.addItemWithWidth(star, 2131231302, AndroidUtilities.dp(54.0f), LocaleController.getString("AddToFavorites", 2131689713)));
this.actionModeViews.add(actionMode.addItemWithWidth(copy, 2131231298, AndroidUtilities.dp(54.0f), LocaleController.getString("Copy", 2131690738)));
this.actionModeViews.add(actionMode.addItemWithWidth(forward, 2131231303, AndroidUtilities.dp(54.0f), LocaleController.getString("Forward", 2131691352)));
}
} else {
this.actionModeViews.add(actionMode.addItemWithWidth(star, 2131231302, AndroidUtilities.dp(54.0f), LocaleController.getString("AddToFavorites", 2131689713)));
this.actionModeViews.add(actionMode.addItemWithWidth(copy, 2131231298, AndroidUtilities.dp(54.0f), LocaleController.getString("Copy", 2131690738)));
}
actionMode.getItem(copy).setVisibility((this.currentEncryptedChat == null || this.selectedMessagesCanCopyIds[0].size() + this.selectedMessagesCanCopyIds[1].size() == 0) ? 8 : 0);
actionMode.getItem(star).setVisibility(this.selectedMessagesCanStarIds[0].size() + this.selectedMessagesCanStarIds[1].size() != 0 ? 0 : 8);
checkActionBarMenu();
this.scrimPaint = new 8(this);
this.fragmentView = new 9(this, context);
SizeNotifierFrameLayout sizeNotifierFrameLayout = this.fragmentView;
this.contentView = sizeNotifierFrameLayout;
sizeNotifierFrameLayout.setBackgroundImage(Theme.getCachedWallpaper(), Theme.isWallpaperMotion());
FrameLayout frameLayout = new FrameLayout(context);
this.emptyViewContainer = frameLayout;
frameLayout.setVisibility(4);
this.contentView.addView(this.emptyViewContainer, LayoutHelper.createFrame(-1, -2, share_contact));
this.emptyViewContainer.setOnTouchListener(-$.Lambda.ChatActivity.1PI-ZPm8Oy7-CNduAe8Eg3UvsEQ.INSTANCE);
if (this.currentEncryptedChat != null) {
this.bigEmptyView = new ChatBigEmptyView(context, 0);
if (this.currentEncryptedChat.admin_id == getUserConfig().getClientUserId()) {
this.bigEmptyView.setStatusText(LocaleController.formatString("EncryptedPlaceholderTitleOutgoing", 2131691115, new Object[]{UserObject.getFirstName(this.currentUser)}));
} else {
this.bigEmptyView.setStatusText(LocaleController.formatString("EncryptedPlaceholderTitleIncoming", 2131691114, new Object[]{UserObject.getFirstName(this.currentUser)}));
}
this.emptyViewContainer.addView((View) this.bigEmptyView, (ViewGroup.LayoutParams) new FrameLayout.LayoutParams(-2, -2, share_contact));
} else if (!this.inScheduleMode && (((user = this.currentUser) != null && user.self) || ((chat2 = this.currentChat) != null && chat2.creator))) {
View chatBigEmptyView = new ChatBigEmptyView(context, this.currentChat != null ? 1 : 2);
this.bigEmptyView = chatBigEmptyView;
this.emptyViewContainer.addView(chatBigEmptyView, new FrameLayout.LayoutParams(-2, -2, share_contact));
if (this.currentChat != null) {
this.bigEmptyView.setStatusText(AndroidUtilities.replaceTags(LocaleController.getString("GroupEmptyTitle1", 2131691516)));
}
} else {
TextView textView = new TextView(context);
this.emptyView = textView;
if (this.inScheduleMode) {
textView.setText(LocaleController.getString("NoScheduledMessages", 2131692251));
} else {
TLRPC.User user6 = this.currentUser;
if (user6 != null && user6.id != 777000 && this.currentUser.id != 429000 && this.currentUser.id != 4244000 && MessagesController.isSupportUser(this.currentUser)) {
this.emptyView.setText(LocaleController.getString("GotAQuestion", 2131691498));
} else {
this.emptyView.setText(LocaleController.getString("NoMessages", 2131692229));
}
}
this.emptyView.setTextSize(1, 14.0f);
this.emptyView.setGravity(share_contact);
this.emptyView.setTextColor(Theme.getColor("chat_serviceText"));
this.emptyView.setBackgroundResource(2131231628);
this.emptyView.getBackground().setColorFilter(Theme.colorFilter);
this.emptyView.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
this.emptyView.setPadding(AndroidUtilities.dp(10.0f), AndroidUtilities.dp(2.0f), AndroidUtilities.dp(10.0f), AndroidUtilities.dp(3.0f));
this.emptyViewContainer.addView(this.emptyView, new FrameLayout.LayoutParams(-2, -2, share_contact));
}
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null) {
chatActivityEnterView.onDestroy();
if (!this.chatActivityEnterView.isEditingMessage()) {
oldMessage = this.chatActivityEnterView.getFieldText();
} else {
oldMessage = null;
}
} else {
oldMessage = null;
}
MentionsAdapter mentionsAdapter = this.mentionsAdapter;
if (mentionsAdapter != null) {
mentionsAdapter.onDestroy();
}
this.chatListView = new 10(this, context);
if (this.currentEncryptedChat != null && Build.VERSION.SDK_INT >= 19) {
this.chatListView.setImportantForAccessibility(4);
}
this.chatListView.setInstantClick(true);
this.chatListView.setDisableHighlightState(true);
this.chatListView.setTag(1);
this.chatListView.setVerticalScrollBarEnabled(true);
RecyclerListView recyclerListView = this.chatListView;
ChatActivityAdapter chatActivityAdapter = new ChatActivityAdapter(this, context);
this.chatAdapter = chatActivityAdapter;
recyclerListView.setAdapter(chatActivityAdapter);
this.chatListView.setClipToPadding(false);
this.chatListView.setPadding(0, AndroidUtilities.dp(4.0f), 0, AndroidUtilities.dp(3.0f));
this.chatListView.setItemAnimator((RecyclerView.ItemAnimator) null);
this.chatListView.setLayoutAnimation((LayoutAnimationController) null);
CharSequence oldMessage2 = oldMessage;
GridLayoutManagerFixed gridLayoutManagerFixed = new GridLayoutManagerFixed(context, id_chat_compose_panel, 1, true) {
public boolean supportsPredictiveItemAnimations() {
return false;
}
public void smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state, int position) {
if ((3 + ChatActivity.copy) % ChatActivity.copy <= 0) {
}
LinearSmoothScrollerMiddle linearSmoothScroller = new LinearSmoothScrollerMiddle(recyclerView.getContext());
linearSmoothScroller.setTargetPosition(position);
startSmoothScroll(linearSmoothScroller);
}
public boolean shouldLayoutChildFromOpositeSide(View child) {
if (child instanceof ChatMessageCell) {
return !((ChatMessageCell) child).getMessageObject().isOutOwner();
}
return false;
}
protected boolean hasSiblingChild(int position) {
int index;
if ((1 + ChatActivity.copy) % ChatActivity.copy <= 0) {
}
if (position >= ChatActivityAdapter.access$14200(ChatActivity.this.chatAdapter) && position < ChatActivityAdapter.access$14300(ChatActivity.this.chatAdapter) && (index = position - ChatActivityAdapter.access$14200(ChatActivity.this.chatAdapter)) >= 0 && index < ChatActivity.this.messages.size()) {
MessageObject message = ChatActivity.this.messages.get(index);
MessageObject.GroupedMessages group = ChatActivity.this.getValidGroupedMessage(message);
if (group != null) {
MessageObject.GroupedMessagePosition pos = (MessageObject.GroupedMessagePosition) group.positions.get(message);
if (pos.minX == pos.maxX || pos.minY != pos.maxY || pos.minY == 0) {
return false;
}
int count = group.posArray.size();
for (int a3 = 0; a3 < count; a3++) {
MessageObject.GroupedMessagePosition p = (MessageObject.GroupedMessagePosition) group.posArray.get(a3);
if (p != pos && p.minY <= pos.minY && p.maxY >= pos.minY) {
return true;
}
}
}
}
return false;
}
};
this.chatLayoutManager = gridLayoutManagerFixed;
gridLayoutManagerFixed.setSpanSizeLookup(new 12(this));
this.chatListView.setLayoutManager(this.chatLayoutManager);
this.chatListView.addItemDecoration(new 13(this));
this.contentView.addView(this.chatListView, LayoutHelper.createFrame(-1, -1.0f));
this.chatListView.setOnItemLongClickListener(this.onItemLongClickListener);
this.chatListView.setOnItemClickListener(this.onItemClickListener);
this.chatListView.setOnScrollListener(new RecyclerView.OnScrollListener() {
private boolean scrollUp;
private float totalDy = 0.0f;
private final int scrollValue = AndroidUtilities.dp(100.0f);
public void onScrollStateChanged(RecyclerView recyclerView, int newState) {
if ((ChatActivity.copy + 8) % 8 <= 0) {
}
if (newState == 0) {
ChatActivity.this.scrollingFloatingDate = false;
ChatActivity.this.scrollingChatListView = false;
ChatActivity.this.checkTextureViewPosition = false;
ChatActivity.this.hideFloatingDateView(true);
ChatActivity.this.checkAutoDownloadMessages(this.scrollUp);
if (SharedConfig.getDevicePerfomanceClass() == 0) {
NotificationCenter.getGlobalInstance().postNotificationName(NotificationCenter.startAllHeavyOperations, new Object[]{512});
return;
}
return;
}
if (newState == 2) {
ChatActivity.this.wasManualScroll = true;
ChatActivity.this.scrollingChatListView = true;
} else if (newState == 1) {
ChatActivity.this.wasManualScroll = true;
ChatActivity.this.scrollingFloatingDate = true;
ChatActivity.this.checkTextureViewPosition = true;
ChatActivity.this.scrollingChatListView = true;
}
if (SharedConfig.getDevicePerfomanceClass() == 0) {
NotificationCenter.getGlobalInstance().postNotificationName(NotificationCenter.stopAllHeavyOperations, new Object[]{512});
}
}
public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
if ((ChatActivity.mute + 20) % 20 <= 0) {
}
ChatActivity.this.chatListView.invalidate();
this.scrollUp = dy < 0;
if (!ChatActivity.this.wasManualScroll && dy != 0) {
ChatActivity.this.wasManualScroll = true;
}
if (dy != 0) {
if (ChatActivity.this.noSoundHintView != null) {
ChatActivity.this.noSoundHintView.hide();
}
if (ChatActivity.this.forwardHintView != null) {
ChatActivity.this.forwardHintView.hide();
}
}
if (dy != 0 && ChatActivity.this.scrollingFloatingDate && !ChatActivity.this.currentFloatingTopIsNotMessage) {
if (ChatActivity.this.highlightMessageId != Integer.MAX_VALUE) {
ChatActivity.this.removeSelectedMessageHighlight();
ChatActivity.this.updateVisibleRows();
}
ChatActivity.this.showFloatingDateView(true);
}
ChatActivity.this.checkScrollForLoad(true);
int firstVisibleItem = ChatActivity.this.chatLayoutManager.findFirstVisibleItemPosition();
if (firstVisibleItem != -1) {
ChatActivity.this.chatAdapter.getItemCount();
if (firstVisibleItem == 0 && ChatActivity.this.forwardEndReached[0]) {
ChatActivity.this.showPagedownButton(false, true);
} else if (dy > 0) {
if (ChatActivity.this.pagedownButton.getTag() == null) {
float f = this.totalDy + dy;
this.totalDy = f;
if (f > this.scrollValue) {
this.totalDy = 0.0f;
ChatActivity.this.showPagedownButton(true, true);
ChatActivity.this.pagedownButtonShowedByScroll = true;
}
}
} else if (ChatActivity.this.pagedownButtonShowedByScroll && ChatActivity.this.pagedownButton.getTag() != null) {
float f2 = this.totalDy + dy;
this.totalDy = f2;
if (f2 < (-this.scrollValue)) {
ChatActivity.this.showPagedownButton(false, true);
this.totalDy = 0.0f;
}
}
}
ChatActivity.this.updateMessagesVisiblePart(true);
}
});
FrameLayout frameLayout2 = new FrameLayout(context);
this.progressView = frameLayout2;
frameLayout2.setVisibility(4);
this.contentView.addView(this.progressView, LayoutHelper.createFrame(-1, -1, text_italic));
View view = new View(context);
this.progressView2 = view;
view.setBackgroundResource(2131231629);
this.progressView2.getBackground().setColorFilter(Theme.colorFilter);
this.progressView.addView(this.progressView2, LayoutHelper.createFrame(36, 36, share_contact));
RadialProgressView radialProgressView = new RadialProgressView(context);
this.progressBar = radialProgressView;
radialProgressView.setSize(AndroidUtilities.dp(28.0f));
this.progressBar.setProgressColor(Theme.getColor("chat_serviceText"));
this.progressView.addView((View) this.progressBar, (ViewGroup.LayoutParams) LayoutHelper.createFrame(call, call, share_contact));
15 r0 = new 15(this, context);
this.floatingDateView = r0;
r0.setAlpha(0.0f);
this.contentView.addView(this.floatingDateView, LayoutHelper.createFrame(-2.0f, -2.0f, 49, 0.0f, 4.0f, 0.0f, 0.0f));
this.floatingDateView.setOnClickListener(new -$.Lambda.ChatActivity.PVL42fJrcdIRgrA9YnqHqKWCXmM(this));
if (this.currentEncryptedChat == null) {
FrameLayout frameLayout3 = new FrameLayout(context);
this.pinnedMessageView = frameLayout3;
frameLayout3.setTag(1);
this.pinnedMessageView.setTranslationY(-AndroidUtilities.dp(50.0f));
this.pinnedMessageView.setVisibility(8);
this.pinnedMessageView.setBackgroundResource(2131230861);
this.pinnedMessageView.getBackground().setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_topPanelBackground"), PorterDuff.Mode.MULTIPLY));
this.contentView.addView(this.pinnedMessageView, LayoutHelper.createFrame(-1, text_bold, text_italic));
this.pinnedMessageView.setOnClickListener(new -$.Lambda.ChatActivity.2-0qWgSeJvQwx_c2J-H8F4PyI84(this));
FrameLayout frameLayout4 = new FrameLayout(context);
this.pinnedLiveMessageView = frameLayout4;
frameLayout4.setTag(2);
this.pinnedLiveMessageView.setTranslationY(-AndroidUtilities.dp(50.0f));
this.pinnedLiveMessageView.setVisibility(8);
this.pinnedLiveMessageView.setBackgroundResource(2131230861);
TextView tvLine = new TextView(context);
tvLine.setBackgroundColor(Color.parseColor("#CFD0D1"));
this.pinnedLiveMessageView.addView(tvLine, LayoutHelper.createFrame(-1.0f, 0.5f, text_italic));
this.pinnedLiveMessageView.getBackground().setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_topPanelBackground"), PorterDuff.Mode.MULTIPLY));
this.contentView.addView(this.pinnedLiveMessageView, LayoutHelper.createFrame(-1, text_bold, text_italic));
this.pinnedLiveMessageView.setOnClickListener(-$.Lambda.ChatActivity.0SoAIlPZ3DNbMj5sn16A_by08qY.INSTANCE);
View view2 = new View(context);
this.pinnedLineView = view2;
view2.setBackgroundColor(Theme.getColor("chat_topPanelLine"));
this.pinnedMessageView.addView(this.pinnedLineView, LayoutHelper.createFrame(2.0f, 32.0f, text_italic, 8.0f, 8.0f, 0.0f, 0.0f));
View backupImageView = new BackupImageView(context);
this.pinnedMessageImageView = backupImageView;
this.pinnedMessageView.addView(backupImageView, LayoutHelper.createFrame(32.0f, 32.0f, text_italic, 17.0f, 8.0f, 0.0f, 0.0f));
SimpleTextView simpleTextView = new SimpleTextView(context);
this.pinnedMessageNameTextView = simpleTextView;
simpleTextView.setTextSize(chat_menu_attach);
this.pinnedMessageNameTextView.setTextColor(Theme.getColor("chat_topPanelTitle"));
this.pinnedMessageNameTextView.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
this.pinnedMessageView.addView((View) this.pinnedMessageNameTextView, (ViewGroup.LayoutParams) LayoutHelper.createFrame(-1.0f, AndroidUtilities.dp(18.0f), text_italic, 18.0f, 7.3f, 40.0f, 0.0f));
SimpleTextView simpleTextView2 = new SimpleTextView(context);
this.pinnedLiveMessageNameTextView = simpleTextView2;
simpleTextView2.setTextSize(chat_menu_attach);
this.pinnedLiveMessageNameTextView.setTextColor(Theme.getColor("chat_topPanelTitle"));
this.pinnedLiveMessageNameTextView.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
this.pinnedLiveMessageView.addView((View) this.pinnedLiveMessageNameTextView, (ViewGroup.LayoutParams) LayoutHelper.createFrame(-1.0f, AndroidUtilities.dp(18.0f), text_italic, 18.0f, 7.3f, 40.0f, 0.0f));
SimpleTextView simpleTextView3 = new SimpleTextView(context);
this.pinnedMessageTextView = simpleTextView3;
simpleTextView3.setTextSize(chat_menu_attach);
this.pinnedMessageTextView.setTextColor(Theme.getColor("chat_topPanelMessage"));
this.pinnedMessageView.addView((View) this.pinnedMessageTextView, (ViewGroup.LayoutParams) LayoutHelper.createFrame(-1.0f, AndroidUtilities.dp(18.0f), text_italic, 18.0f, 25.3f, 40.0f, 0.0f));
SimpleTextView simpleTextView4 = new SimpleTextView(context);
this.pinnedLiveMessageTextView = simpleTextView4;
simpleTextView4.setTextSize(chat_menu_attach);
this.pinnedLiveMessageTextView.setTextColor(Theme.getColor("chat_topPanelMessage"));
this.pinnedLiveMessageView.addView((View) this.pinnedLiveMessageTextView, (ViewGroup.LayoutParams) LayoutHelper.createFrame(-1.0f, AndroidUtilities.dp(18.0f), text_italic, 18.0f, 25.3f, 40.0f, 0.0f));
ImageView imageView = new ImageView(context);
this.closePinned = imageView;
imageView.setImageResource(2131231281);
this.closePinned.setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_topPanelClose"), PorterDuff.Mode.MULTIPLY));
this.closePinned.setScaleType(ImageView.ScaleType.CENTER);
this.closePinned.setContentDescription(LocaleController.getString("Close", 2131690635));
this.pinnedMessageView.addView(this.closePinned, LayoutHelper.createFrame(36, 48, text_link));
this.closePinned.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view3) {
ChatActivity.this.lambda$createView$10$ChatActivity(view3);
}
});
ImageView imageView2 = new ImageView(context);
this.closeLivePinned = imageView2;
imageView2.setImageResource(2131231281);
this.closeLivePinned.setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_topPanelClose"), PorterDuff.Mode.MULTIPLY));
this.closeLivePinned.setScaleType(ImageView.ScaleType.CENTER);
this.closeLivePinned.setContentDescription(LocaleController.getString("Close", 2131690635));
this.pinnedLiveMessageView.addView(this.closeLivePinned, LayoutHelper.createFrame(36, 48, text_link));
this.closeLivePinned.setOnClickListener(new -$.Lambda.ChatActivity.Gd2b9PWMKLa111PSArP8yoje2Hg(this));
}
FrameLayout frameLayout5 = new FrameLayout(context) {
private boolean ignoreLayout;
@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
if ((ChatActivity.mute + 29) % 29 <= 0) {
}
int width = View.MeasureSpec.getSize(widthMeasureSpec);
if (ChatActivity.this.addToContactsButton != null && ChatActivity.this.addToContactsButton.getVisibility() == 0 && ChatActivity.this.reportSpamButton != null && ChatActivity.this.reportSpamButton.getVisibility() == 0) {
width = (width - AndroidUtilities.dp(31.0f)) / 2;
}
this.ignoreLayout = true;
if (ChatActivity.this.reportSpamButton != null && ChatActivity.this.reportSpamButton.getVisibility() == 0) {
FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) ChatActivity.this.reportSpamButton.getLayoutParams();
layoutParams.width = width;
if (ChatActivity.this.addToContactsButton == null || ChatActivity.this.addToContactsButton.getVisibility() != 0) {
ChatActivity.this.reportSpamButton.setPadding(AndroidUtilities.dp(48.0f), 0, AndroidUtilities.dp(48.0f), 0);
layoutParams.leftMargin = 0;
} else {
ChatActivity.this.reportSpamButton.setPadding(AndroidUtilities.dp(4.0f), 0, AndroidUtilities.dp(19.0f), 0);
layoutParams.leftMargin = width;
}
}
if (ChatActivity.this.addToContactsButton != null && ChatActivity.this.addToContactsButton.getVisibility() == 0) {
FrameLayout.LayoutParams layoutParams2 = (FrameLayout.LayoutParams) ChatActivity.this.addToContactsButton.getLayoutParams();
layoutParams2.width = width;
if (ChatActivity.this.reportSpamButton == null || ChatActivity.this.reportSpamButton.getVisibility() != 0) {
ChatActivity.this.addToContactsButton.setPadding(AndroidUtilities.dp(48.0f), 0, AndroidUtilities.dp(48.0f), 0);
layoutParams2.leftMargin = 0;
} else {
ChatActivity.this.addToContactsButton.setPadding(AndroidUtilities.dp(11.0f), 0, AndroidUtilities.dp(4.0f), 0);
}
}
this.ignoreLayout = false;
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
}
@Override
public void requestLayout() {
if (this.ignoreLayout) {
return;
}
super.requestLayout();
}
};
this.topChatPanelView = frameLayout5;
frameLayout5.setTag(1);
this.topChatPanelView.setTranslationY(-AndroidUtilities.dp(50.0f));
this.topChatPanelView.setVisibility(8);
this.topChatPanelView.setBackgroundResource(2131230861);
this.topChatPanelView.getBackground().setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_topPanelBackground"), PorterDuff.Mode.MULTIPLY));
this.contentView.addView(this.topChatPanelView, LayoutHelper.createFrame(-1, text_bold, text_italic));
TextView textView2 = new TextView(context);
this.reportSpamButton = textView2;
textView2.setTextColor(Theme.getColor("chat_reportSpam"));
this.reportSpamButton.setTag("chat_reportSpam");
this.reportSpamButton.setTextSize(1, 14.0f);
this.reportSpamButton.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
this.reportSpamButton.setSingleLine(true);
this.reportSpamButton.setMaxLines(1);
this.reportSpamButton.setGravity(share_contact);
this.topChatPanelView.addView(this.reportSpamButton, LayoutHelper.createFrame(-1.0f, -1.0f, text_italic, 0.0f, 0.0f, 0.0f, AndroidUtilities.dp(1.0f)));
this.reportSpamButton.setOnClickListener(new -$.Lambda.ChatActivity.VpGOCbKa8D7EZZKXGk10uKVDls8(this));
TextView textView3 = new TextView(context);
this.addToContactsButton = textView3;
textView3.setTextColor(Theme.getColor("chat_addContact"));
this.addToContactsButton.setVisibility(8);
this.addToContactsButton.setTextSize(1, 14.0f);
this.addToContactsButton.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
this.addToContactsButton.setSingleLine(true);
this.addToContactsButton.setMaxLines(1);
this.addToContactsButton.setPadding(AndroidUtilities.dp(4.0f), 0, AndroidUtilities.dp(4.0f), 0);
this.addToContactsButton.setGravity(share_contact);
this.topChatPanelView.addView(this.addToContactsButton, LayoutHelper.createFrame(-1.0f, -1.0f, text_italic, 0.0f, 0.0f, 0.0f, AndroidUtilities.dp(1.0f)));
this.addToContactsButton.setOnClickListener(new -$.Lambda.ChatActivity.QDVqfaacA-VKrl5gPMX-aYITWug(this));
ImageView imageView3 = new ImageView(context);
this.closeReportSpam = imageView3;
imageView3.setImageResource(2131231281);
this.closeReportSpam.setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_topPanelClose"), PorterDuff.Mode.MULTIPLY));
this.closeReportSpam.setScaleType(ImageView.ScaleType.CENTER);
this.topChatPanelView.addView(this.closeReportSpam, LayoutHelper.createFrame(48, 48, text_link));
this.closeReportSpam.setOnClickListener(new -$.Lambda.ChatActivity.bLIl0D4njruHXRp3nHOEikgE_sI(this));
FrameLayout frameLayout6 = new FrameLayout(context);
this.alertView = frameLayout6;
frameLayout6.setTag(1);
this.alertView.setTranslationY(-AndroidUtilities.dp(50.0f));
this.alertView.setVisibility(8);
this.alertView.setBackgroundResource(2131230861);
this.alertView.getBackground().setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_topPanelBackground"), PorterDuff.Mode.MULTIPLY));
this.contentView.addView(this.alertView, LayoutHelper.createFrame(-1, text_bold, text_italic));
TextView textView4 = new TextView(context);
this.alertNameTextView = textView4;
textView4.setTextSize(1, 14.0f);
this.alertNameTextView.setTextColor(Theme.getColor("chat_topPanelTitle"));
this.alertNameTextView.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
this.alertNameTextView.setSingleLine(true);
this.alertNameTextView.setEllipsize(TextUtils.TruncateAt.END);
this.alertNameTextView.setMaxLines(1);
this.alertView.addView(this.alertNameTextView, LayoutHelper.createFrame(-2.0f, -2.0f, text_italic, 8.0f, 5.0f, 8.0f, 0.0f));
TextView textView5 = new TextView(context);
this.alertTextView = textView5;
textView5.setTextSize(1, 14.0f);
this.alertTextView.setTextColor(Theme.getColor("chat_topPanelMessage"));
this.alertTextView.setSingleLine(true);
this.alertTextView.setEllipsize(TextUtils.TruncateAt.END);
this.alertTextView.setMaxLines(1);
this.alertView.addView(this.alertTextView, LayoutHelper.createFrame(-2.0f, -2.0f, text_italic, 8.0f, 23.0f, 8.0f, 0.0f));
FrameLayout frameLayout7 = new FrameLayout(context);
this.pagedownButton = frameLayout7;
frameLayout7.setVisibility(4);
this.contentView.addView(this.pagedownButton, LayoutHelper.createFrame(66.0f, 59.0f, 85, 0.0f, 0.0f, -3.0f, 5.0f));
this.pagedownButton.setOnClickListener(new -$.Lambda.ChatActivity.N0vvQdy30ot7UYTzi21bsn6Lix8(this));
FrameLayout frameLayout8 = new FrameLayout(context);
this.mentiondownButton = frameLayout8;
frameLayout8.setVisibility(4);
this.contentView.addView(this.mentiondownButton, LayoutHelper.createFrame(46.0f, 59.0f, 85, 0.0f, 0.0f, 7.0f, 5.0f));
this.mentiondownButton.setOnClickListener(new 17(this));
this.mentiondownButton.setOnLongClickListener(new -$.Lambda.ChatActivity.VudsR8xUtgoTAXlaGkbQHdZChYE(this));
18 r02 = new 18(this, context);
this.mentionContainer = r02;
r02.setVisibility(8);
updateMessageListAccessibilityVisibility();
this.mentionContainer.setWillNotDraw(false);
this.contentView.addView(this.mentionContainer, LayoutHelper.createFrame(-1, 110, 83));
19 r03 = new 19(this, context);
this.mentionListView = r03;
r03.setOnTouchListener(new View.OnTouchListener() {
@Override
public final boolean onTouch(View view3, MotionEvent motionEvent) {
return ChatActivity.this.lambda$createView$18$ChatActivity(view3, motionEvent);
}
});
this.mentionListView.setTag(2);
20 r04 = new 20(this, context);
this.mentionLayoutManager = r04;
r04.setOrientation(1);
21 r05 = new 21(this, context, 100);
this.mentionGridLayoutManager = r05;
r05.setSpanSizeLookup(new 22(this));
this.mentionListView.addItemDecoration(new 23(this));
this.mentionListView.setItemAnimator((RecyclerView.ItemAnimator) null);
this.mentionListView.setLayoutAnimation((LayoutAnimationController) null);
this.mentionListView.setClipToPadding(false);
this.mentionListView.setLayoutManager(this.mentionLayoutManager);
this.mentionListView.setOverScrollMode(2);
this.mentionContainer.addView((View) this.mentionListView, (ViewGroup.LayoutParams) LayoutHelper.createFrame(-1, -1.0f));
RecyclerListView recyclerListView2 = this.mentionListView;
MentionsAdapter mentionsAdapter2 = new MentionsAdapter(context, false, this.dialog_id, new 24(this));
this.mentionsAdapter = mentionsAdapter2;
recyclerListView2.setAdapter(mentionsAdapter2);
if (!ChatObject.isChannel(this.currentChat) || ((chat = this.currentChat) != null && chat.megagroup)) {
this.mentionsAdapter.setBotInfo(this.botInfo);
}
this.mentionsAdapter.setParentFragment(this);
this.mentionsAdapter.setChatInfo(this.chatInfo);
this.mentionsAdapter.setNeedUsernames(this.currentChat != null);
MentionsAdapter mentionsAdapter3 = this.mentionsAdapter;
TLRPC.EncryptedChat encryptedChat2 = this.currentEncryptedChat;
mentionsAdapter3.setNeedBotContext(encryptedChat2 == null || AndroidUtilities.getPeerLayerVersion(encryptedChat2.layer) >= 46);
this.mentionsAdapter.setBotsCount(this.currentChat != null ? this.botsCount : 1);
RecyclerListView recyclerListView3 = this.mentionListView;
-$.Lambda.ChatActivity.KXDUoPfEl05c-ENHZRZavgtbnOg r1 = new -$.Lambda.ChatActivity.KXDUoPfEl05c-ENHZRZavgtbnOg(this);
this.mentionsOnItemClickListener = r1;
recyclerListView3.setOnItemClickListener(r1);
this.mentionListView.setOnItemLongClickListener(new -$.Lambda.ChatActivity.qWAHtl8UxfaM2jJFvnUROFwB0u0(this));
this.mentionListView.setOnScrollListener(new 25(this));
ImageView imageView4 = new ImageView(context);
this.pagedownButtonImage = imageView4;
imageView4.setImageResource(2131231406);
this.pagedownButtonImage.setScaleType(ImageView.ScaleType.CENTER);
this.pagedownButtonImage.setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_goDownButtonIcon"), PorterDuff.Mode.MULTIPLY));
this.pagedownButtonImage.setPadding(0, AndroidUtilities.dp(2.0f), 0, 0);
Drawable drawable = Theme.createCircleDrawable(AndroidUtilities.dp(42.0f), Theme.getColor("chat_goDownButton"));
Drawable shadowDrawable = context.getResources().getDrawable(2131231407).mutate();
shadowDrawable.setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_goDownButtonShadow"), PorterDuff.Mode.MULTIPLY));
Drawable combinedDrawable = new CombinedDrawable(shadowDrawable, drawable, 0, 0);
combinedDrawable.setIconSize(AndroidUtilities.dp(42.0f), AndroidUtilities.dp(42.0f));
this.pagedownButtonImage.setBackgroundDrawable(combinedDrawable);
this.pagedownButton.addView(this.pagedownButtonImage, LayoutHelper.createFrame(46, 46, 81));
this.pagedownButton.setContentDescription(LocaleController.getString("AccDescrPageDown", 2131689530));
TextView textView6 = new TextView(context);
this.pagedownButtonCounter = textView6;
textView6.setVisibility(4);
this.pagedownButtonCounter.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
this.pagedownButtonCounter.setTextSize(1, 13.0f);
this.pagedownButtonCounter.setTextColor(Theme.getColor("chat_goDownButtonCounter"));
this.pagedownButtonCounter.setGravity(share_contact);
this.pagedownButtonCounter.setBackgroundDrawable(Theme.createRoundRectDrawable(AndroidUtilities.dp(11.5f), Theme.getColor("chat_goDownButtonCounterBackground")));
this.pagedownButtonCounter.setMinWidth(AndroidUtilities.dp(23.0f));
this.pagedownButtonCounter.setPadding(AndroidUtilities.dp(8.0f), 0, AndroidUtilities.dp(8.0f), AndroidUtilities.dp(1.0f));
this.pagedownButton.addView(this.pagedownButtonCounter, LayoutHelper.createFrame(-2, edit, 49));
ImageView imageView5 = new ImageView(context);
this.mentiondownButtonImage = imageView5;
imageView5.setImageResource(2131231237);
this.mentiondownButtonImage.setScaleType(ImageView.ScaleType.CENTER);
this.mentiondownButtonImage.setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_goDownButtonIcon"), PorterDuff.Mode.MULTIPLY));
this.mentiondownButtonImage.setPadding(0, AndroidUtilities.dp(2.0f), 0, 0);
Drawable drawable2 = Theme.createCircleDrawable(AndroidUtilities.dp(42.0f), Theme.getColor("chat_goDownButton"));
Drawable shadowDrawable2 = context.getResources().getDrawable(2131231407).mutate();
shadowDrawable2.setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_goDownButtonShadow"), PorterDuff.Mode.MULTIPLY));
Drawable combinedDrawable2 = new CombinedDrawable(shadowDrawable2, drawable2, 0, 0);
combinedDrawable2.setIconSize(AndroidUtilities.dp(42.0f), AndroidUtilities.dp(42.0f));
this.mentiondownButtonImage.setBackgroundDrawable(combinedDrawable2);
this.mentiondownButton.addView(this.mentiondownButtonImage, LayoutHelper.createFrame(46, 46, 83));
TextView textView7 = new TextView(context);
this.mentiondownButtonCounter = textView7;
textView7.setVisibility(4);
this.mentiondownButtonCounter.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
this.mentiondownButtonCounter.setTextSize(1, 13.0f);
this.mentiondownButtonCounter.setTextColor(Theme.getColor("chat_goDownButtonCounter"));
this.mentiondownButtonCounter.setGravity(share_contact);
this.mentiondownButtonCounter.setBackgroundDrawable(Theme.createRoundRectDrawable(AndroidUtilities.dp(11.5f), Theme.getColor("chat_goDownButtonCounterBackground")));
this.mentiondownButtonCounter.setMinWidth(AndroidUtilities.dp(23.0f));
this.mentiondownButtonCounter.setPadding(AndroidUtilities.dp(8.0f), 0, AndroidUtilities.dp(8.0f), AndroidUtilities.dp(1.0f));
this.mentiondownButton.addView(this.mentiondownButtonCounter, LayoutHelper.createFrame(-2, edit, 49));
this.mentiondownButton.setContentDescription(LocaleController.getString("AccDescrMentionDown", 2131689520));
if (!AndroidUtilities.isTablet() || AndroidUtilities.isSmallTablet()) {
FragmentContextView fragmentLocationContextView = new FragmentContextView(context, this, true);
this.contentView.addView(fragmentLocationContextView, LayoutHelper.createFrame(-1.0f, 39.0f, text_italic, 0.0f, -36.0f, 0.0f, 0.0f));
SizeNotifierFrameLayout sizeNotifierFrameLayout2 = this.contentView;
FragmentContextView fragmentContextView = new FragmentContextView(context, this, false);
this.fragmentContextView = fragmentContextView;
sizeNotifierFrameLayout2.addView(fragmentContextView, LayoutHelper.createFrame(-1.0f, 39.0f, text_italic, 0.0f, -36.0f, 0.0f, 0.0f));
this.fragmentContextView.setAdditionalContextView(fragmentLocationContextView);
fragmentLocationContextView.setAdditionalContextView(this.fragmentContextView);
}
this.contentView.addView(this.actionBar);
this.pinnedLiveUserImageView = new BackupImageView(context);
TLRPC.User user7 = getUserConfig().getCurrentUser();
AvatarDrawable avatarDrawable = new AvatarDrawable();
avatarDrawable.setInfo(user7);
this.pinnedLiveUserImageView.setVisibility(8);
this.pinnedLiveUserImageView.setRoundRadius(AndroidUtilities.dp(5.0f));
this.pinnedLiveUserImageView.setImage(ImageLocation.getForUser(user7, false), "50_50", avatarDrawable, user7);
this.contentView.addView(this.pinnedLiveUserImageView, LayoutHelper.createFrame(32.0f, 32.0f, text_italic, 17.0f, 8.0f, 0.0f, 0.0f));
View view3 = new View(context);
this.overlayView = view3;
view3.setOnTouchListener(new -$.Lambda.ChatActivity.houRdO_TM2yGAL0yYS4iDyWl_aU(this));
this.contentView.addView(this.overlayView, LayoutHelper.createFrame(-1, -1, text_italic));
this.overlayView.setVisibility(8);
InstantCameraView instantCameraView = new InstantCameraView(context, this);
this.instantCameraView = instantCameraView;
this.contentView.addView(instantCameraView, LayoutHelper.createFrame(-1, -1, text_italic));
FrameLayout frameLayout9 = new FrameLayout(context) {
@Override
public void onDraw(Canvas canvas) {
if ((ChatActivity.mute + ChatActivity.delete) % ChatActivity.delete <= 0) {
}
int bottom = Theme.chat_composeShadowDrawable.getIntrinsicHeight();
Theme.chat_composeShadowDrawable.setBounds(0, 0, getMeasuredWidth(), bottom);
Theme.chat_composeShadowDrawable.draw(canvas);
canvas.drawRect(0.0f, bottom, getMeasuredWidth(), getMeasuredHeight(), Theme.chat_composeBackgroundPaint);
}
};
this.bottomMessagesActionContainer = frameLayout9;
frameLayout9.setVisibility(4);
this.bottomMessagesActionContainer.setWillNotDraw(false);
this.bottomMessagesActionContainer.setPadding(0, AndroidUtilities.dp(2.0f), 0, 0);
this.contentView.addView(this.bottomMessagesActionContainer, LayoutHelper.createFrame(-1, text_italic, 80));
this.bottomMessagesActionContainer.setOnTouchListener(-$.Lambda.ChatActivity.mPcwAhZFKEh4yd1UhzaSO62uaoM.INSTANCE);
27 r06 = new 27(this, getParentActivity(), this.contentView, this, true);
this.chatActivityEnterView = r06;
r06.setDelegate(new 28(this));
this.chatActivityEnterView.setDialogId(this.dialog_id, this.currentAccount);
TLRPC.ChatFull chatFull2 = this.chatInfo;
if (chatFull2 != null) {
this.chatActivityEnterView.setChatInfo(chatFull2);
}
this.chatActivityEnterView.setId(id_chat_compose_panel);
this.chatActivityEnterView.setBotsCount(this.botsCount, this.hasBotsCommands);
this.chatActivityEnterView.setMinimumHeight(AndroidUtilities.dp(51.0f));
ChatActivityEnterView chatActivityEnterView2 = this.chatActivityEnterView;
TLRPC.EncryptedChat encryptedChat3 = this.currentEncryptedChat;
boolean z2 = encryptedChat3 == null || AndroidUtilities.getPeerLayerVersion(encryptedChat3.layer) >= edit;
TLRPC.EncryptedChat encryptedChat4 = this.currentEncryptedChat;
chatActivityEnterView2.setAllowStickersAndGifs(z2, encryptedChat4 == null || AndroidUtilities.getPeerLayerVersion(encryptedChat4.layer) >= 46);
if (this.inPreviewMode) {
this.chatActivityEnterView.setVisibility(4);
}
SizeNotifierFrameLayout sizeNotifierFrameLayout3 = this.contentView;
sizeNotifierFrameLayout3.addView(this.chatActivityEnterView, sizeNotifierFrameLayout3.getChildCount() - 1, LayoutHelper.createFrame(-1, -2, 83));
29 r07 = new 29(this, context);
View view4 = new View(context);
this.replyLineView = view4;
view4.setBackgroundColor(Theme.getColor("chat_replyPanelLine"));
this.chatActivityEnterView.addTopView(r07, this.replyLineView, 48);
r07.setOnClickListener(new -$.Lambda.ChatActivity.Wo0tv2yM3a16q6siwiN4A2DMxX8(this));
ImageView imageView6 = new ImageView(context);
this.replyIconImageView = imageView6;
imageView6.setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_replyPanelIcons"), PorterDuff.Mode.MULTIPLY));
this.replyIconImageView.setScaleType(ImageView.ScaleType.CENTER);
r07.addView(this.replyIconImageView, LayoutHelper.createFrame(text_mono, 46, text_italic));
ImageView imageView7 = new ImageView(context);
this.replyCloseImageView = imageView7;
imageView7.setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_replyPanelClose"), PorterDuff.Mode.MULTIPLY));
this.replyCloseImageView.setImageResource(2131231171);
this.replyCloseImageView.setScaleType(ImageView.ScaleType.CENTER);
r07.addView(this.replyCloseImageView, LayoutHelper.createFrame(52.0f, 46.0f, text_link, 0.0f, 0.5f, 0.0f, 0.0f));
this.replyCloseImageView.setOnClickListener(new -$.Lambda.ChatActivity.eO-aU69WwihC_QRKRT8kHOAQBeo(this));
SimpleTextView simpleTextView5 = new SimpleTextView(context);
this.replyNameTextView = simpleTextView5;
simpleTextView5.setTextSize(chat_menu_attach);
this.replyNameTextView.setTextColor(Theme.getColor("chat_replyPanelName"));
this.replyNameTextView.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
r07.addView(this.replyNameTextView, LayoutHelper.createFrame(-1.0f, 18.0f, text_italic, 52.0f, 6.0f, 52.0f, 0.0f));
SimpleTextView simpleTextView6 = new SimpleTextView(context);
this.replyObjectTextView = simpleTextView6;
simpleTextView6.setTextSize(chat_menu_attach);
this.replyObjectTextView.setTextColor(Theme.getColor("chat_replyPanelMessage"));
r07.addView(this.replyObjectTextView, LayoutHelper.createFrame(-1.0f, 18.0f, text_italic, 52.0f, 24.0f, 52.0f, 0.0f));
BackupImageView backupImageView2 = new BackupImageView(context);
this.replyImageView = backupImageView2;
r07.addView(backupImageView2, LayoutHelper.createFrame(34.0f, 34.0f, text_italic, 52.0f, 6.0f, 0.0f, 0.0f));
FrameLayout frameLayout10 = new FrameLayout(context);
this.stickersPanel = frameLayout10;
frameLayout10.setVisibility(8);
this.contentView.addView(this.stickersPanel, LayoutHelper.createFrame(-2.0f, 81.5f, 83, 0.0f, 0.0f, 0.0f, 38.0f));
final 30 r08 = new 30(this);
31 r09 = new 31(this, context, r08);
this.stickersListView = r09;
r09.setTag(3);
this.stickersListView.setOnTouchListener(new View.OnTouchListener() {
@Override
public final boolean onTouch(View view5, MotionEvent motionEvent) {
if ((20 + 9) % 9 <= 0) {
}
return ChatActivity.this.lambda$createView$28$ChatActivity(r08, view5, motionEvent);
}
});
this.stickersListView.setDisallowInterceptTouchEvents(true);
LinearLayoutManager layoutManager = new LinearLayoutManager(context);
layoutManager.setOrientation(0);
this.stickersListView.setLayoutManager(layoutManager);
this.stickersListView.setClipToPadding(false);
this.stickersListView.setOverScrollMode(2);
this.stickersPanel.addView((View) this.stickersListView, (ViewGroup.LayoutParams) LayoutHelper.createFrame(-1, 78.0f));
initStickers();
ImageView imageView8 = new ImageView(context);
this.stickersPanelArrow = imageView8;
imageView8.setImageResource(2131231611);
this.stickersPanelArrow.setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_stickersHintPanel"), PorterDuff.Mode.MULTIPLY));
this.stickersPanel.addView(this.stickersPanelArrow, LayoutHelper.createFrame(-2.0f, -2.0f, 83, 53.0f, 0.0f, 53.0f, 0.0f));
32 r010 = new 32(this, context);
this.searchContainer = r010;
r010.setOnTouchListener(-$.Lambda.ChatActivity.rXsOhsLwdCmTtDoDF7E0n2jkRzw.INSTANCE);
this.searchContainer.setWillNotDraw(false);
this.searchContainer.setVisibility(4);
this.searchContainer.setFocusable(true);
this.searchContainer.setFocusableInTouchMode(true);
this.searchContainer.setClickable(true);
this.searchContainer.setPadding(0, AndroidUtilities.dp(3.0f), 0, 0);
ImageView imageView9 = new ImageView(context);
this.searchUpButton = imageView9;
imageView9.setScaleType(ImageView.ScaleType.CENTER);
this.searchUpButton.setImageResource(2131231307);
this.searchUpButton.setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_searchPanelIcons"), PorterDuff.Mode.MULTIPLY));
this.searchUpButton.setBackgroundDrawable(Theme.createSelectorDrawable(Theme.getColor("actionBarActionModeDefaultSelector"), 1));
this.searchContainer.addView(this.searchUpButton, LayoutHelper.createFrame(48.0f, 48.0f, text_link, 0.0f, 0.0f, 48.0f, 0.0f));
this.searchUpButton.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view5) {
ChatActivity.this.lambda$createView$30$ChatActivity(view5);
}
});
this.searchUpButton.setContentDescription(LocaleController.getString("AccDescrSearchNext", 2131689547));
ImageView imageView10 = new ImageView(context);
this.searchDownButton = imageView10;
imageView10.setScaleType(ImageView.ScaleType.CENTER);
this.searchDownButton.setImageResource(2131231306);
this.searchDownButton.setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_searchPanelIcons"), PorterDuff.Mode.MULTIPLY));
this.searchDownButton.setBackgroundDrawable(Theme.createSelectorDrawable(Theme.getColor("actionBarActionModeDefaultSelector"), 1));
this.searchContainer.addView(this.searchDownButton, LayoutHelper.createFrame(48.0f, 48.0f, text_link, 0.0f, 0.0f, 0.0f, 0.0f));
this.searchDownButton.setOnClickListener(new -$.Lambda.ChatActivity.SOEBETnnQJ1fxanz0Ny5_MSCtU4(this));
this.searchDownButton.setContentDescription(LocaleController.getString("AccDescrSearchPrev", 2131689548));
TLRPC.Chat chat6 = this.currentChat;
if (chat6 != null && (!ChatObject.isChannel(chat6) || this.currentChat.megagroup)) {
ImageView imageView11 = new ImageView(context);
this.searchUserButton = imageView11;
imageView11.setScaleType(ImageView.ScaleType.CENTER);
this.searchUserButton.setImageResource(2131231351);
this.searchUserButton.setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_searchPanelIcons"), PorterDuff.Mode.MULTIPLY));
this.searchUserButton.setBackgroundDrawable(Theme.createSelectorDrawable(Theme.getColor("actionBarActionModeDefaultSelector"), 1));
this.searchContainer.addView(this.searchUserButton, LayoutHelper.createFrame(48.0f, 48.0f, text_italic, 48.0f, 0.0f, 0.0f, 0.0f));
this.searchUserButton.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view5) {
ChatActivity.this.lambda$createView$32$ChatActivity(view5);
}
});
this.searchUserButton.setContentDescription(LocaleController.getString("AccDescrSearchByUser", 2131689546));
}
ImageView imageView12 = new ImageView(context);
this.searchCalendarButton = imageView12;
imageView12.setScaleType(ImageView.ScaleType.CENTER);
this.searchCalendarButton.setImageResource(2131231291);
this.searchCalendarButton.setColorFilter(new PorterDuffColorFilter(Theme.getColor("chat_searchPanelIcons"), PorterDuff.Mode.MULTIPLY));
this.searchCalendarButton.setBackgroundDrawable(Theme.createSelectorDrawable(Theme.getColor("actionBarActionModeDefaultSelector"), 1));
this.searchContainer.addView(this.searchCalendarButton, LayoutHelper.createFrame(48, 48, text_italic));
this.searchCalendarButton.setOnClickListener(new -$.Lambda.ChatActivity.1xHiFe9SkHINsAga84_ECvWTcug(this));
this.searchCalendarButton.setContentDescription(LocaleController.getString("JumpToDate", 2131691738));
SimpleTextView simpleTextView7 = new SimpleTextView(context);
this.searchCountText = simpleTextView7;
simpleTextView7.setTextColor(Theme.getColor("chat_searchPanelText"));
this.searchCountText.setTextSize(clear_history);
this.searchCountText.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
this.searchCountText.setGravity(5);
this.searchContainer.addView((View) this.searchCountText, (ViewGroup.LayoutParams) LayoutHelper.createFrame(-2.0f, -2.0f, report, 0.0f, 0.0f, 108.0f, 0.0f));
FrameLayout frameLayout11 = new FrameLayout(context) {
@Override
public void onDraw(Canvas canvas) {
if ((5 + 26) % 26 <= 0) {
}
int bottom = Theme.chat_composeShadowDrawable.getIntrinsicHeight();
Theme.chat_composeShadowDrawable.setBounds(0, 0, getMeasuredWidth(), bottom);
Theme.chat_composeShadowDrawable.draw(canvas);
canvas.drawRect(0.0f, bottom, getMeasuredWidth(), getMeasuredHeight(), Theme.chat_composeBackgroundPaint);
}
};
this.bottomOverlay = frameLayout11;
frameLayout11.setWillNotDraw(false);
this.bottomOverlay.setVisibility(4);
this.bottomOverlay.setFocusable(true);
this.bottomOverlay.setFocusableInTouchMode(true);
this.bottomOverlay.setClickable(true);
this.bottomOverlay.setPadding(0, AndroidUtilities.dp(2.0f), 0, 0);
this.contentView.addView(this.bottomOverlay, LayoutHelper.createFrame(-1, text_italic, 80));
TextView textView8 = new TextView(context);
this.bottomOverlayText = textView8;
textView8.setTextSize(1, 14.0f);
this.bottomOverlayText.setGravity(share_contact);
this.bottomOverlayText.setMaxLines(2);
this.bottomOverlayText.setEllipsize(TextUtils.TruncateAt.END);
this.bottomOverlayText.setLineSpacing(AndroidUtilities.dp(2.0f), 1.0f);
this.bottomOverlayText.setTextColor(Theme.getColor("chat_secretChatStatusText"));
this.bottomOverlay.addView(this.bottomOverlayText, LayoutHelper.createFrame(-2.0f, -2.0f, share_contact, 14.0f, 0.0f, 14.0f, 0.0f));
34 r011 = new 34(this, context);
this.bottomOverlayChat = r011;
r011.setWillNotDraw(false);
this.bottomOverlayChat.setPadding(0, AndroidUtilities.dp(3.0f), 0, 0);
this.bottomOverlayChat.setVisibility(4);
this.contentView.addView(this.bottomOverlayChat, LayoutHelper.createFrame(-1, text_italic, 80));
TextView textView9 = new TextView(context);
this.bottomOverlayChatText = textView9;
textView9.setTextSize(1, 15.0f);
this.bottomOverlayChatText.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
this.bottomOverlayChatText.setTextColor(Theme.getColor("chat_fieldOverlayText"));
this.bottomOverlayChatText.setGravity(share_contact);
this.bottomOverlayChat.addView(this.bottomOverlayChatText, LayoutHelper.createFrame(-1, -1.0f));
this.bottomOverlayChatText.setOnClickListener(new -$.Lambda.ChatActivity.kyRBme2vu1Vuv_n5wwvvEDr-IWI(this));
UnreadCounterTextView unreadCounterTextView = new UnreadCounterTextView(context);
this.bottomOverlayChatText2 = unreadCounterTextView;
unreadCounterTextView.setTextSize(1, 15.0f);
this.bottomOverlayChatText2.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
this.bottomOverlayChatText2.setTextColor(Theme.getColor("chat_fieldOverlayText"));
this.bottomOverlayChatText2.setGravity(share_contact);
this.bottomOverlayChatText2.setVisibility(8);
this.bottomOverlayChat.addView((View) this.bottomOverlayChatText2, LayoutHelper.createFrame(-1, -1.0f));
this.bottomOverlayChatText2.setOnClickListener(new -$.Lambda.ChatActivity.XP0U3E-Wk3dN1BgrSynHY18poC0(this));
RadialProgressView radialProgressView2 = new RadialProgressView(context);
this.bottomOverlayProgress = radialProgressView2;
radialProgressView2.setSize(AndroidUtilities.dp(22.0f));
this.bottomOverlayProgress.setProgressColor(Theme.getColor("chat_fieldOverlayText"));
this.bottomOverlayProgress.setVisibility(4);
this.bottomOverlayProgress.setScaleX(0.1f);
this.bottomOverlayProgress.setScaleY(0.1f);
this.bottomOverlayProgress.setAlpha(1.0f);
this.bottomOverlayChat.addView((View) this.bottomOverlayProgress, (ViewGroup.LayoutParams) LayoutHelper.createFrame(bot_help, bot_help, share_contact));
TextView textView10 = new TextView(context);
this.replyButton = textView10;
textView10.setText(LocaleController.getString("Reply", 2131693454));
this.replyButton.setGravity(delete_chat);
this.replyButton.setTextSize(1, 15.0f);
this.replyButton.setPadding(AndroidUtilities.dp(14.0f), 0, AndroidUtilities.dp(21.0f), 0);
this.replyButton.setBackgroundDrawable(Theme.createSelectorDrawable(Theme.getColor("actionBarActionModeDefaultSelector"), 3));
this.replyButton.setTextColor(Theme.getColor("actionBarActionModeDefaultIcon"));
this.replyButton.setCompoundDrawablePadding(AndroidUtilities.dp(7.0f));
this.replyButton.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
Drawable image = context.getResources().getDrawable(2131231179).mutate();
image.setColorFilter(new PorterDuffColorFilter(Theme.getColor("actionBarActionModeDefaultIcon"), PorterDuff.Mode.MULTIPLY));
this.replyButton.setCompoundDrawablesWithIntrinsicBounds(image, (Drawable) null, (Drawable) null, (Drawable) null);
this.replyButton.setOnClickListener(new -$.Lambda.ChatActivity.Dnp4FX-nRtXa2Jvr1B6-8jejdKk(this));
this.bottomMessagesActionContainer.addView(this.replyButton, LayoutHelper.createFrame(-2, -1, text_italic));
TextView textView11 = new TextView(context);
this.forwardButton = textView11;
textView11.setText(LocaleController.getString("Forward", 2131691352));
this.forwardButton.setGravity(delete_chat);
this.forwardButton.setTextSize(1, 15.0f);
this.forwardButton.setPadding(AndroidUtilities.dp(21.0f), 0, AndroidUtilities.dp(21.0f), 0);
this.forwardButton.setCompoundDrawablePadding(AndroidUtilities.dp(6.0f));
this.forwardButton.setBackgroundDrawable(Theme.createSelectorDrawable(Theme.getColor("actionBarActionModeDefaultSelector"), 3));
this.forwardButton.setTextColor(Theme.getColor("actionBarActionModeDefaultIcon"));
this.forwardButton.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
Drawable image2 = context.getResources().getDrawable(2131231173).mutate();
image2.setColorFilter(new PorterDuffColorFilter(Theme.getColor("actionBarActionModeDefaultIcon"), PorterDuff.Mode.MULTIPLY));
this.forwardButton.setCompoundDrawablesWithIntrinsicBounds(image2, (Drawable) null, (Drawable) null, (Drawable) null);
this.forwardButton.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view5) {
ChatActivity.this.lambda$createView$42$ChatActivity(view5);
}
});
this.bottomMessagesActionContainer.addView(this.forwardButton, LayoutHelper.createFrame(-2, -1, text_link));
this.contentView.addView(this.searchContainer, LayoutHelper.createFrame(-1, text_italic, 80));
UndoView undoView = new UndoView(context);
this.undoView = undoView;
this.contentView.addView(undoView, LayoutHelper.createFrame(-1.0f, -2.0f, 83, 8.0f, 0.0f, 8.0f, 8.0f));
if (this.currentChat != null) {
HintView hintView = new HintView(getParentActivity(), 2);
this.slowModeHint = hintView;
hintView.setAlpha(0.0f);
this.slowModeHint.setVisibility(4);
this.contentView.addView(this.slowModeHint, LayoutHelper.createFrame(-2.0f, -2.0f, text_italic, 19.0f, 0.0f, 19.0f, 0.0f));
}
this.chatAdapter.updateRows();
if (this.loading && this.messages.isEmpty()) {
listViewShowEmptyView(true, ChatActivityAdapter.access$21000(this.chatAdapter) == -1);
z = false;
} else {
z = false;
listViewShowEmptyView(false, false);
}
checkBotKeyboard();
updateBottomOverlay();
updateSecretStatus();
updateTopPanel(z);
updatePinnedMessageView(true);
try {
if (this.currentEncryptedChat != null && Build.VERSION.SDK_INT >= edit && (SharedConfig.passcodeHash.length() == 0 || SharedConfig.allowScreenCapture)) {
MediaController.getInstance().setFlagSecure(this, true);
}
} catch (Throwable e2) {
FileLog.e(e2);
}
if (oldMessage2 != null) {
this.chatActivityEnterView.setFieldText(oldMessage2);
}
fixLayoutInternal();
if (isSysNotifyMessage().booleanValue()) {
int i2 = this.createUnreadMessageAfterId;
if (i2 == 0) {
int i3 = this.returnToMessageId;
if (i3 <= 0) {
scrollToLastMessage(true);
} else {
scrollToMessageId(i3, 0, true, this.returnToLoadIndex, false);
}
} else {
scrollToMessageId(i2, 0, false, this.returnToLoadIndex, false);
}
}
return this.fragmentView;
}
static boolean lambda$createView$4(View v, MotionEvent event) {
return true;
}
static boolean lambda$createView$5(View v, MotionEvent event) {
return true;
}
public void lambda$createView$6$ChatActivity(View view) {
if ((mute + 25) % 25 <= 0) {
}
if (this.floatingDateView.getAlpha() == 0.0f || this.actionBar.isActionModeShowed()) {
return;
}
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(this.floatingDateView.getCustomDate() * 1000);
int year = calendar.get(1);
int monthOfYear = calendar.get(2);
int dayOfMonth = calendar.get(5);
calendar.clear();
calendar.set(year, monthOfYear, dayOfMonth);
jumpToDate((int) (calendar.getTime().getTime() / 1000));
}
public void lambda$createView$7$ChatActivity(View v) {
if ((25 + share_contact) % share_contact <= 0) {
}
this.wasManualScroll = true;
TLRPC.ChatFull chatFull = this.chatInfo;
if (chatFull != null) {
scrollToMessageId(chatFull.pinned_msg_id, 0, true, 0, false);
return;
}
TLRPC.UserFull userFull = this.userInfo;
if (userFull != null) {
scrollToMessageId(userFull.pinned_msg_id, 0, true, 0, false);
}
}
static void lambda$createView$8(View v) {
}
public void lambda$createView$10$ChatActivity(View v) {
boolean allowPin;
if ((chat_menu_attach + 25) % 25 <= 0) {
}
if (getParentActivity() == null) {
return;
}
TLRPC.Chat chat = this.currentChat;
if (chat != null) {
allowPin = ChatObject.canPinMessages(chat);
if (this.pinnedMessageObject.type == 207) {
allowPin = false;
}
} else if (this.currentEncryptedChat == null) {
TLRPC.UserFull userFull = this.userInfo;
if (userFull != null) {
allowPin = userFull.can_pin_message;
} else {
allowPin = false;
}
} else {
allowPin = false;
}
if (allowPin) {
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setTitle(LocaleController.getString("UnpinMessageAlertTitle", 2131694498));
builder.setMessage(LocaleController.getString("UnpinMessageAlert", 2131694497));
builder.setPositiveButton(LocaleController.getString("UnpinMessage", 2131694496), new -$.Lambda.ChatActivity.dMPu6hXkHe7EPYcRlSd0zfIKquQ(this));
builder.setNegativeButton(LocaleController.getString("Cancel", 2131690312), (DialogInterface.OnClickListener) null);
showDialog(builder.create());
return;
}
SharedPreferences preferences = MessagesController.getNotificationsSettings(this.currentAccount);
if (this.chatInfo != null) {
preferences.edit().putInt("pin_" + this.dialog_id, this.chatInfo.pinned_msg_id).commit();
} else if (this.userInfo != null) {
preferences.edit().putInt("pin_" + this.dialog_id, this.userInfo.pinned_msg_id).commit();
}
updatePinnedMessageView(true);
}
public void lambda$null$9$ChatActivity(DialogInterface dialogInterface, int i) {
if ((7 + 29) % 29 <= 0) {
}
getMessagesController().pinMessage(this.currentChat, this.currentUser, 0, false);
}
public void lambda$createView$11$ChatActivity(View v) {
if (getParentActivity() == null) {
return;
}
updatePinnedLiveMessageView(false, 0, false);
animLivePinClose(this.pinnedLiveUserImageView);
}
public void lambda$createView$13$ChatActivity(View v2) {
if ((copy + 27) % 27 <= 0) {
}
AlertsCreator.showBlockReportSpamAlert(this, this.dialog_id, this.currentUser, this.currentChat, this.currentEncryptedChat, this.reportSpamButton.getTag(2131297016) != null, this.chatInfo, new -$.Lambda.ChatActivity.GiH0ntLBzgKWFb8Ihbvv4FgWVlg(this));
}
public void lambda$null$12$ChatActivity(int param) {
if (param == 0) {
updateTopPanel(true);
} else {
finishFragment();
}
}
public void lambda$createView$14$ChatActivity(View v) {
if ((6 + chat_enc_timer) % chat_enc_timer <= 0) {
}
if (this.addToContactsButton.getTag() != null) {
shareMyContact(1, null);
return;
}
TLRPC.User user = this.currentUser;
if (user != null) {
presentFragment(new AddContactsInfoActivity(null, user));
}
}
public void lambda$createView$15$ChatActivity(View v) {
if ((report + 19) % 19 <= 0) {
}
getMessagesController().hidePeerSettingsBar(this.dialog_id, this.currentUser, this.currentChat);
updateTopPanel(true);
}
public void lambda$createView$16$ChatActivity(View view) {
if ((report + copy) % copy <= 0) {
}
this.wasManualScroll = true;
this.checkTextureViewPosition = true;
int i = this.createUnreadMessageAfterId;
if (i != 0) {
scrollToMessageId(i, 0, false, this.returnToLoadIndex, false);
return;
}
int i2 = this.returnToMessageId;
if (i2 > 0) {
scrollToMessageId(i2, 0, true, this.returnToLoadIndex, false);
} else {
scrollToLastMessage(true);
}
}
public boolean lambda$createView$17$ChatActivity(View view) {
if ((20 + bot_help) % bot_help <= 0) {
}
for (int a = 0; a < this.messages.size(); a++) {
MessageObject messageObject = this.messages.get(a);
if (messageObject.messageOwner.mentioned && !messageObject.isContentUnread()) {
messageObject.setContentIsRead();
}
}
this.newMentionsCount = 0;
getMessagesController().markMentionsAsRead(this.dialog_id);
this.hasAllMentionsLocal = true;
showMentionDownButton(false, true);
return true;
}
public boolean lambda$createView$18$ChatActivity(View v, MotionEvent event) {
if ((20 + 5) % 5 <= 0) {
}
return ContentPreviewViewer.getInstance().onTouch(event, this.mentionListView, 0, this.mentionsOnItemClickListener, (ContentPreviewViewer.ContentPreviewViewerDelegate) null);
}
public void lambda$createView$21$ChatActivity(View view, int position) {
if ((call + forward) % forward <= 0) {
}
if (this.mentionsAdapter.isBannedInline()) {
return;
}
Object object = this.mentionsAdapter.getItem(position);
int start = this.mentionsAdapter.getResultStartPosition();
int len = this.mentionsAdapter.getResultLength();
if (object instanceof TLRPC.User) {
if (this.searchingForUser && this.searchContainer.getVisibility() == 0) {
TLRPC.User user = (TLRPC.User) object;
this.searchingUserMessages = user;
if (user == null) {
return;
}
String name = user.first_name;
if (TextUtils.isEmpty(name)) {
name = this.searchingUserMessages.last_name;
}
this.searchingForUser = false;
String from = LocaleController.getString("SearchFrom", 2131693727);
Spannable spannable = new SpannableString(from + " " + name);
spannable.setSpan(new ForegroundColorSpan(Theme.getColor("chat_messagePanelMetionText")), from.length() + 1, spannable.length(), live);
this.searchItem.setSearchFieldCaption(spannable);
this.mentionsAdapter.searchUsernameOrHashtag((String) null, 0, (ArrayList) null, false);
this.searchItem.setSearchFieldHint((CharSequence) null);
this.searchItem.clearSearchText();
getMediaDataController().searchMessagesInChat("", this.dialog_id, this.mergeDialogId, this.classGuid, 0, this.searchingUserMessages);
return;
}
TLRPC.User user2 = (TLRPC.User) object;
if (user2 != null) {
String name2 = UserObject.getName(user2) + " ";
if ("all".equals(name2.trim()) && user2.id == -1) {
Spannable spannable2 = new SpannableString("@" + name2);
spannable2.setSpan(new URLSpanUserMention("-1", 1), 0, spannable2.length(), live);
spannable2.setSpan(new ForegroundColorSpan(Theme.getColor("chat_messagePanelMetionText")), 0, spannable2.length(), live);
this.chatActivityEnterView.addMentionText1(start, len, spannable2, false);
return;
}
Spannable spannable3 = new SpannableString("@" + name2);
spannable3.setSpan(new URLSpanUserMention("" + user2.id, 1), 0, spannable3.length(), live);
spannable3.setSpan(new ForegroundColorSpan(Theme.getColor("chat_messagePanelMetionText")), 0, spannable3.length(), live);
this.chatActivityEnterView.addMentionText1(start, len, spannable3, false);
return;
}
return;
}
if (object instanceof String) {
if (this.mentionsAdapter.isBotCommands()) {
if (this.inScheduleMode) {
AlertsCreator.createScheduleDatePickerDialog(getParentActivity(), UserObject.isUserSelf(this.currentUser), new -$.Lambda.ChatActivity.Uq6zfQVk33BcJnajcR8cN3SBt5o(this, object));
return;
} else {
if (!checkSlowMode(view)) {
getSendMessagesHelper().sendMessage((String) object, this.dialog_id, this.replyingMessageObject, (TLRPC.WebPage) null, false, (ArrayList) null, (TLRPC.ReplyMarkup) null, (HashMap) null, true, 0);
this.chatActivityEnterView.setFieldText("");
hideFieldPanel(false);
return;
}
return;
}
}
this.chatActivityEnterView.replaceWithText(start, len, object + " ", false);
return;
}
if (object instanceof TLRPC.BotInlineResult) {
if (this.chatActivityEnterView.getFieldText() != null) {
if (!this.inScheduleMode && checkSlowMode(view)) {
return;
}
TLRPC.BotInlineResult result = (TLRPC.BotInlineResult) object;
if ((result.type.equals("photo") && (result.photo != null || result.content != null)) || ((result.type.equals("gif") && (result.document != null || result.content != null)) || (result.type.equals("video") && result.document != null))) {
ArrayList<Object> arrayList = new ArrayList<>(this.mentionsAdapter.getSearchResultBotContext());
this.botContextResults = arrayList;
PhotoViewer.getInstance().setParentActivity(getParentActivity());
PhotoViewer.getInstance().openPhotoForSelect(arrayList, this.mentionsAdapter.getItemPosition(position), 3, this.botContextProvider, this);
return;
}
if (this.inScheduleMode) {
AlertsCreator.createScheduleDatePickerDialog(getParentActivity(), UserObject.isUserSelf(this.currentUser), new -$.Lambda.ChatActivity.6DZOfeAdMqHwGxWSkS0dhJnOLGk(this, result));
return;
} else {
lambda$null$20$ChatActivity(result, true, 0);
return;
}
}
return;
}
if (object instanceof TLRPC.TL_inlineBotSwitchPM) {
processInlineBotContextPM((TLRPC.TL_inlineBotSwitchPM) object);
} else if (object instanceof MediaDataController.KeywordResult) {
String code = ((MediaDataController.KeywordResult) object).emoji;
this.chatActivityEnterView.addEmojiToRecent(code);
this.chatActivityEnterView.replaceWithText(start, len, code, true);
}
}
public void lambda$null$19$ChatActivity(Object object, boolean notify, int scheduleDate) {
if ((3 + 28) % 28 <= 0) {
}
getSendMessagesHelper().sendMessage((String) object, this.dialog_id, this.replyingMessageObject, (TLRPC.WebPage) null, false, (ArrayList) null, (TLRPC.ReplyMarkup) null, (HashMap) null, notify, scheduleDate);
this.chatActivityEnterView.setFieldText("");
hideFieldPanel(false);
}
public boolean lambda$createView$23$ChatActivity(View view, int position) {
if ((2 + 26) % 26 <= 0) {
}
boolean z = false;
if (getParentActivity() == null || !this.mentionsAdapter.isLongClickEnabled()) {
return false;
}
Object object = this.mentionsAdapter.getItem(position);
if (!(object instanceof String)) {
return false;
}
if (this.mentionsAdapter.isBotCommands()) {
if (!URLSpanBotCommand.enabled) {
return false;
}
this.chatActivityEnterView.setFieldText("");
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
String str = (String) object;
TLRPC.Chat chat = this.currentChat;
if (chat != null && chat.megagroup) {
z = true;
}
chatActivityEnterView.setCommand((MessageObject) null, str, true, z);
return true;
}
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setTitle(LocaleController.getString("AppName", 2131689827));
builder.setMessage(LocaleController.getString("ClearSearch", 2131690626));
builder.setPositiveButton(LocaleController.getString("ClearButton", 2131690614).toUpperCase(), new -$.Lambda.ChatActivity.T8_rKKPRrLyl_I6dX_1SHcfwrsw(this));
builder.setNegativeButton(LocaleController.getString("Cancel", 2131690312), (DialogInterface.OnClickListener) null);
showDialog(builder.create());
return true;
}
public void lambda$null$22$ChatActivity(DialogInterface dialogInterface, int i) {
this.mentionsAdapter.clearRecentHashtags();
}
public boolean lambda$createView$24$ChatActivity(View v, MotionEvent event) {
if ((add_shortcut + attach_poll) % attach_poll <= 0) {
}
if (event.getAction() == 0) {
checkRecordLocked();
}
this.overlayView.getParent().requestDisallowInterceptTouchEvent(true);
return true;
}
static boolean lambda$createView$25(View v, MotionEvent event) {
return true;
}
public void lambda$createView$26$ChatActivity(View v) {
if ((27 + attach_poll) % attach_poll <= 0) {
}
ArrayList<MessageObject> arrayList = this.forwardingMessages;
if (arrayList == null || arrayList.isEmpty()) {
MessageObject messageObject = this.replyingMessageObject;
if (messageObject != null) {
scrollToMessageId(messageObject.getId(), 0, true, 0, false);
return;
}
MessageObject messageObject2 = this.editingMessageObject;
if (messageObject2 != null && messageObject2.canEditMedia() && this.editingMessageObjectReqId == 0) {
if (this.chatAttachAlert == null) {
createChatAttachView();
}
this.chatAttachAlert.setEditingMessageObject(this.editingMessageObject);
openAttachMenu();
return;
}
return;
}
int N = this.forwardingMessages.size();
for (int a = 0; a < N; a++) {
MessageObject messageObject3 = this.forwardingMessages.get(a);
this.selectedMessagesIds[0].put(messageObject3.getId(), messageObject3);
}
Bundle args = new Bundle();
args.putBoolean("onlySelect", true);
args.putInt("dialogsType", 3);
args.putInt("messagesCount", this.forwardingMessages.size());
DialogsActivity fragment = new DialogsActivity(args);
fragment.setDelegate(this);
presentFragment(fragment);
}
public void lambda$createView$27$ChatActivity(View v) {
if ((29 + 7) % 7 <= 0) {
}
ArrayList<MessageObject> arrayList = this.forwardingMessages;
if (arrayList != null) {
arrayList.clear();
}
showFieldPanel(false, null, null, null, this.foundWebPage, true, 0, true, true);
}
public boolean lambda$createView$28$ChatActivity(ContentPreviewViewer.ContentPreviewViewerDelegate contentPreviewViewerDelegate, View v, MotionEvent event) {
if ((clear_history + 29) % 29 <= 0) {
}
return ContentPreviewViewer.getInstance().onTouch(event, this.stickersListView, 0, this.stickersOnItemClickListener, contentPreviewViewerDelegate);
}
static boolean lambda$createView$29(View v, MotionEvent event) {
return true;
}
public void lambda$createView$30$ChatActivity(View view) {
if ((27 + 5) % 5 <= 0) {
}
getMediaDataController().searchMessagesInChat((String) null, this.dialog_id, this.mergeDialogId, this.classGuid, 1, this.searchingUserMessages);
}
public void lambda$createView$31$ChatActivity(View view) {
if ((copy + forward) % forward <= 0) {
}
getMediaDataController().searchMessagesInChat((String) null, this.dialog_id, this.mergeDialogId, this.classGuid, 2, this.searchingUserMessages);
}
public void lambda$createView$32$ChatActivity(View view) {
if ((1 + 1) % 1 <= 0) {
}
this.mentionLayoutManager.setReverseLayout(true);
this.mentionsAdapter.setSearchingMentions(true);
this.searchCalendarButton.setVisibility(8);
this.searchUserButton.setVisibility(8);
this.searchingForUser = true;
this.searchingUserMessages = null;
this.searchItem.setSearchFieldHint(LocaleController.getString("SearchMembers", 2131693736));
this.searchItem.setSearchFieldCaption(LocaleController.getString("SearchFrom", 2131693727));
AndroidUtilities.showKeyboard(this.searchItem.getSearchField());
this.searchItem.clearSearchText();
}
public void lambda$createView$36$ChatActivity(View view) {
if ((28 + 29) % 29 <= 0) {
}
if (getParentActivity() == null) {
return;
}
AndroidUtilities.hideKeyboard(this.searchItem.getSearchField());
Calendar calendar = Calendar.getInstance();
int year = calendar.get(1);
int monthOfYear = calendar.get(2);
int dayOfMonth = calendar.get(5);
try {
DatePickerDialog datePickerDialog = new DatePickerDialog(getParentActivity(), new -$.Lambda.ChatActivity.UoL1X3a7LVjXI2yNXya1e_4ND3s(this), year, monthOfYear, dayOfMonth);
DatePicker datePicker = datePickerDialog.getDatePicker();
datePicker.setMinDate(1375315200000L);
datePicker.setMaxDate(System.currentTimeMillis());
datePickerDialog.setButton(-1, LocaleController.getString("JumpToDate", 2131691738), datePickerDialog);
datePickerDialog.setButton(-2, LocaleController.getString("Cancel", 2131690312), new DialogInterface.OnClickListener() {
@Override
public final void onClick(DialogInterface dialogInterface, int i) {
ChatActivity.lambda$null$34(dialogInterface, i);
}
});
if (Build.VERSION.SDK_INT >= report) {
datePickerDialog.setOnShowListener(new -$.Lambda.ChatActivity.m6uv0WEzjqLb5kWroUjVDsY4z_8(datePicker));
}
showDialog(datePickerDialog);
} catch (Exception e) {
FileLog.e(e);
}
}
public void lambda$null$33$ChatActivity(DatePicker view1, int year1, int month, int dayOfMonth1) {
if ((attach_poll + chat_enc_timer) % chat_enc_timer <= 0) {
}
Calendar calendar1 = Calendar.getInstance();
calendar1.clear();
calendar1.set(year1, month, dayOfMonth1);
int date = (int) (calendar1.getTime().getTime() / 1000);
clearChatData();
this.waitingForLoad.add(Integer.valueOf(this.lastLoadIndex));
MessagesController messagesController = getMessagesController();
long j = this.dialog_id;
int i = this.classGuid;
boolean isChannel = ChatObject.isChannel(this.currentChat);
boolean z = this.inScheduleMode;
int i2 = this.lastLoadIndex;
this.lastLoadIndex = i2 + 1;
messagesController.loadMessages(j, bot_help, 0, date, true, 0, i, 4, 0, isChannel, z, i2);
}
static void lambda$null$34(DialogInterface dialog1, int which) {
}
static void lambda$null$35(DatePicker datePicker, DialogInterface dialog12) {
if ((1 + 6) % 6 <= 0) {
}
int count = datePicker.getChildCount();
for (int a = 0; a < count; a++) {
View child = datePicker.getChildAt(a);
ViewGroup.LayoutParams layoutParams = child.getLayoutParams();
layoutParams.width = -1;
child.setLayoutParams(layoutParams);
}
}
public void lambda$createView$39$ChatActivity(View view) {
String str;
if ((mute + 2) % 2 <= 0) {
}
if (getParentActivity() == null) {
return;
}
TLRPC.User user = this.currentUser;
if (user != null && this.userBlocked) {
if (user.bot) {
String botUserLast = this.botUser;
this.botUser = null;
getMessagesController().unblockUser(this.currentUser.id);
if (botUserLast == null || botUserLast.length() == 0) {
getSendMessagesHelper().sendMessage("/start", this.dialog_id, (MessageObject) null, (TLRPC.WebPage) null, false, (ArrayList) null, (TLRPC.ReplyMarkup) null, (HashMap) null, true, 0);
return;
} else {
getMessagesController().sendBotStart(this.currentUser, botUserLast);
return;
}
}
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setMessage(LocaleController.getString("AreYouSureUnblockContact", 2131689924));
builder.setPositiveButton(LocaleController.getString("OK", 2131692466), new -$.Lambda.ChatActivity.ctMVysRWhtD87-0shxYZgL39PHI(this));
builder.setTitle(LocaleController.getString("AppName", 2131689827));
builder.setNegativeButton(LocaleController.getString("Cancel", 2131690312), (DialogInterface.OnClickListener) null);
showDialog(builder.create());
return;
}
TLRPC.User user2 = this.currentUser;
if (user2 != null && user2.bot && (str = this.botUser) != null) {
if (str.length() != 0) {
getMessagesController().sendBotStart(this.currentUser, this.botUser);
} else {
getSendMessagesHelper().sendMessage("/start", this.dialog_id, (MessageObject) null, (TLRPC.WebPage) null, false, (ArrayList) null, (TLRPC.ReplyMarkup) null, (HashMap) null, true, 0);
}
this.botUser = null;
updateBottomOverlay();
return;
}
if (ChatObject.isChannel(this.currentChat)) {
TLRPC.Chat chat = this.currentChat;
if (!(chat instanceof TLRPC.TL_channelForbidden)) {
if (ChatObject.isNotInChat(chat)) {
showBottomOverlayProgress(true, true);
getMessagesController().addUserToChat(this.currentChat.id, getUserConfig().getCurrentUser(), (TLRPC.ChatFull) null, 0, (String) null, this, (Runnable) null);
NotificationCenter.getGlobalInstance().postNotificationName(NotificationCenter.closeSearchByActiveAction, new Object[0]);
if (hasReportSpam() && this.reportSpamButton.getTag(2131297016) != null) {
SharedPreferences preferences = MessagesController.getNotificationsSettings(this.currentAccount);
preferences.edit().putInt("dialog_bar_vis3" + this.dialog_id, 3).commit();
getNotificationCenter().postNotificationName(NotificationCenter.peerSettingsDidLoad, new Object[]{Long.valueOf(this.dialog_id)});
return;
}
return;
}
toggleMute(true);
return;
}
}
AlertsCreator.createClearOrDeleteDialogAlert(this, false, this.currentChat, this.currentUser, this.currentEncryptedChat != null, new MessagesStorage.BooleanCallback() {
public final void run(boolean z) {
ChatActivity.this.lambda$null$38$ChatActivity(z);
}
});
}
public void lambda$null$37$ChatActivity(DialogInterface dialogInterface, int i) {
if ((1 + 1) % 1 <= 0) {
}
getMessagesController().unblockUser(this.currentUser.id);
}
public void lambda$null$38$ChatActivity(boolean param) {
if ((add_shortcut + 25) % 25 <= 0) {
}
getNotificationCenter().removeObserver(this, NotificationCenter.closeChats);
getNotificationCenter().postNotificationName(NotificationCenter.closeChats, new Object[0]);
finishFragment();
getNotificationCenter().postNotificationName(NotificationCenter.needDeleteDialog, new Object[]{Long.valueOf(this.dialog_id), this.currentUser, this.currentChat, Boolean.valueOf(param)});
}
public void lambda$createView$40$ChatActivity(View v) {
if ((delete_chat + 19) % 19 <= 0) {
}
if (this.chatInfo == null) {
return;
}
Bundle args = new Bundle();
args.putInt("chat_id", this.chatInfo.linked_chat_id);
if (!getMessagesController().checkCanOpenChat(args, this)) {
return;
}
presentFragment(new ChatActivity(args));
}
public void lambda$createView$41$ChatActivity(View v) {
if ((copy + forward) % forward <= 0) {
}
MessageObject messageObject = null;
for (int a = 1; a >= 0; a--) {
if (messageObject == null && this.selectedMessagesIds[a].size() != 0) {
MessageObject messageObject2 = this.messagesDict[a].get(this.selectedMessagesIds[a].keyAt(0));
messageObject = messageObject2;
}
this.selectedMessagesIds[a].clear();
this.selectedMessagesCanCopyIds[a].clear();
this.selectedMessagesCanStarIds[a].clear();
}
hideActionMode();
if (messageObject != null && (messageObject.messageOwner.id > 0 || (messageObject.messageOwner.id < 0 && this.currentEncryptedChat != null))) {
showFieldPanelForReply(messageObject);
}
updatePinnedMessageView(true);
updateVisibleRows();
}
public void lambda$createView$42$ChatActivity(View v) {
openForward();
}
private void createActionBarMenuPop() {
if ((call + star) % star <= 0) {
}
ChatActionBarMenuPopupWindow chatActionBarMenuPopupWindow = new ChatActionBarMenuPopupWindow(getParentActivity());
this.chatActionBarMenuPop = chatActionBarMenuPopupWindow;
chatActionBarMenuPopupWindow.setBackgroundDrawable(new ColorDrawable());
this.chatActionBarMenuPop.setOutsideTouchable(true);
this.chatActionBarMenuPop.setFocusable(true);
this.chatActionBarMenuPop.setInputMethodMode(1);
this.chatActionBarMenuPop.setSoftInputMode(48);
this.chatActionBarMenuPop.setOnSubItemClickListener(new -$.Lambda.ChatActivity.EgvLrmc7kDxJ8TINFuOpNgcx3TE(this));
}
public void lambda$createActionBarMenuPop$46$ChatActivity(final int id) {
if ((delete + 2) % 2 <= 0) {
}
if (id == search) {
openSearchWithText(null);
} else if (id == report) {
AlertsCreator.createReportAlert(getParentActivity(), this.dialog_id, 0, this);
} else if (id == share_contact) {
if (this.currentUser == null || getParentActivity() == null) {
return;
}
if (this.addToContactsButton.getTag() != null) {
shareMyContact(((Integer) this.addToContactsButton.getTag()).intValue(), null);
} else {
TLRPC.User user = this.currentUser;
if (user != null) {
presentFragment(new AddContactsInfoActivity(null, user));
}
}
} else if (id == mute) {
toggleMute(false);
} else if (id == chat_enc_timer) {
if (getParentActivity() == null) {
return;
} else {
showDialog(AlertsCreator.createTTLAlert(getParentActivity(), this.currentEncryptedChat).create());
}
} else if (id == clear_history || id == delete_chat) {
if (getParentActivity() == null) {
return;
}
long j = this.dialog_id;
final boolean isChat = ((int) j) < 0 && ((int) (j >> 32)) != 1;
AlertsCreator.createClearOrDeleteDialogAlert(this, id == clear_history, this.currentChat, this.currentUser, this.currentEncryptedChat != null, new MessagesStorage.BooleanCallback() {
public final void run(boolean z) {
if ((14 + 19) % 19 <= 0) {
}
ChatActivity.this.lambda$null$45$ChatActivity(id, isChat, z);
}
});
} else if (id == bot_help) {
getSendMessagesHelper().sendMessage("/help", this.dialog_id, (MessageObject) null, (TLRPC.WebPage) null, false, (ArrayList) null, (TLRPC.ReplyMarkup) null, (HashMap) null, true, 0);
} else if (id == bot_settings) {
getSendMessagesHelper().sendMessage("/settings", this.dialog_id, (MessageObject) null, (TLRPC.WebPage) null, false, (ArrayList) null, (TLRPC.ReplyMarkup) null, (HashMap) null, true, 0);
} else if (id == add_shortcut) {
try {
getMediaDataController().installShortcut(this.currentUser.id);
} catch (Exception e) {
FileLog.e(e);
}
}
this.chatActionBarMenuPop.dismiss();
}
public void lambda$null$45$ChatActivity(int id, boolean isChat, boolean param) {
if ((copy + edit) % edit <= 0) {
}
if (id == clear_history && ChatObject.isChannel(this.currentChat) && (!this.currentChat.megagroup || !TextUtils.isEmpty(this.currentChat.username))) {
getMessagesController().deleteDialog(this.dialog_id, 2, param);
return;
}
if (id != clear_history) {
getNotificationCenter().removeObserver(this, NotificationCenter.closeChats);
getNotificationCenter().postNotificationName(NotificationCenter.closeChats, new Object[0]);
finishFragment();
getNotificationCenter().postNotificationName(NotificationCenter.needDeleteDialog, new Object[]{Long.valueOf(this.dialog_id), this.currentUser, this.currentChat, Boolean.valueOf(param)});
return;
}
this.clearingHistory = true;
this.undoView.setAdditionalTranslationY(0.0f);
this.undoView.showWithAction(this.dialog_id, id == clear_history ? 0 : 1, new -$.Lambda.ChatActivity.aZ31InuGtt1uDyDplDTi1yue5b0(this, id, param, isChat), new -$.Lambda.ChatActivity.vL06TBKPcpchBqm0ERhj2p__z6E(this));
this.chatAdapter.notifyDataSetChanged();
}
public void lambda$null$43$ChatActivity(int id, boolean param, boolean isChat) {
if ((8 + delete_chat) % delete_chat <= 0) {
}
if (id == clear_history) {
TLRPC.ChatFull chatFull = this.chatInfo;
if (chatFull != null && chatFull.pinned_msg_id != 0) {
SharedPreferences preferences = MessagesController.getNotificationsSettings(this.currentAccount);
preferences.edit().putInt("pin_" + this.dialog_id, this.chatInfo.pinned_msg_id).commit();
updatePinnedMessageView(true);
} else {
TLRPC.UserFull userFull = this.userInfo;
if (userFull != null && userFull.pinned_msg_id != 0) {
SharedPreferences preferences2 = MessagesController.getNotificationsSettings(this.currentAccount);
preferences2.edit().putInt("pin_" + this.dialog_id, this.userInfo.pinned_msg_id).commit();
updatePinnedMessageView(true);
}
}
getMessagesController().deleteDialog(this.dialog_id, 1, param);
this.clearingHistory = false;
clearHistory(false);
this.chatAdapter.notifyDataSetChanged();
return;
}
if (!isChat) {
getMessagesController().deleteDialog(this.dialog_id, 0, param);
} else if (ChatObject.isNotInChat(this.currentChat)) {
getMessagesController().deleteDialog(this.dialog_id, 0, param);
} else {
getMessagesController().deleteUserFromChat((int) (-this.dialog_id), getMessagesController().getUser(Integer.valueOf(getUserConfig().getClientUserId())), (TLRPC.ChatFull) null);
}
finishFragment();
}
public void lambda$null$44$ChatActivity() {
this.clearingHistory = false;
this.chatAdapter.notifyDataSetChanged();
}
public void showOrUpdateActionBarMenuPop() {
if ((6 + 3) % 3 <= 0) {
}
ChatActionBarMenuPopupWindow chatActionBarMenuPopupWindow = this.chatActionBarMenuPop;
if (chatActionBarMenuPopupWindow != null) {
if (!chatActionBarMenuPopupWindow.isShowing()) {
this.chatActionBarMenuPop.showAsDropDown(this.actionBar);
} else {
this.chatActionBarMenuPop.update();
}
}
}
public TextureView createTextureView(boolean add) {
if ((5 + forward) % forward <= 0) {
}
if (this.parentLayout == null) {
return null;
}
if (this.videoPlayerContainer == null) {
if (Build.VERSION.SDK_INT >= report) {
35 r0 = new 35(this, getParentActivity());
this.videoPlayerContainer = r0;
r0.setOutlineProvider(new 36(this));
this.videoPlayerContainer.setClipToOutline(true);
} else {
this.videoPlayerContainer = new 37(this, getParentActivity());
this.aspectPath = new Path();
Paint paint = new Paint(1);
this.aspectPaint = paint;
paint.setColor(-16777216);
this.aspectPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.CLEAR));
}
this.videoPlayerContainer.setWillNotDraw(false);
AspectRatioFrameLayout aspectRatioFrameLayout = new AspectRatioFrameLayout(getParentActivity());
this.aspectRatioFrameLayout = aspectRatioFrameLayout;
aspectRatioFrameLayout.setBackgroundColor(0);
if (add) {
this.videoPlayerContainer.addView((View) this.aspectRatioFrameLayout, (ViewGroup.LayoutParams) LayoutHelper.createFrame(-1, -1, share_contact));
}
TextureView textureView = new TextureView(getParentActivity());
this.videoTextureView = textureView;
textureView.setOpaque(false);
this.aspectRatioFrameLayout.addView(this.videoTextureView, LayoutHelper.createFrame(-1, -1.0f));
}
ViewGroup parent = (ViewGroup) this.videoPlayerContainer.getParent();
if (parent != null && parent != this.contentView) {
parent.removeView(this.videoPlayerContainer);
parent = null;
}
if (parent == null) {
this.contentView.addView(this.videoPlayerContainer, 1, new FrameLayout.LayoutParams(AndroidUtilities.roundMessageSize, AndroidUtilities.roundMessageSize));
}
this.videoPlayerContainer.setTag(null);
this.aspectRatioFrameLayout.setDrawingReady(false);
return this.videoTextureView;
}
private void destroyTextureView() {
if ((add_shortcut + 2) % 2 <= 0) {
}
FrameLayout frameLayout = this.videoPlayerContainer;
if (frameLayout == null || frameLayout.getParent() == null) {
return;
}
this.contentView.removeView(this.videoPlayerContainer);
this.aspectRatioFrameLayout.setDrawingReady(false);
this.videoPlayerContainer.setTag(null);
if (Build.VERSION.SDK_INT < report) {
this.videoPlayerContainer.setLayerType(0, null);
}
}
public void openForward() {
if ((2 + 2) % 2 <= 0) {
}
Bundle args = new Bundle();
int dialogType = 3;
args.putBoolean("onlySelect", true);
for (SparseArray<MessageObject> selectedMessagesId : this.selectedMessagesIds) {
int i = 0;
while (true) {
if (i >= selectedMessagesId.size()) {
break;
}
MessageObject mess = selectedMessagesId.valueAt(i);
if (mess == null || !(mess.messageOwner.media instanceof TLRPC.TL_messageMediaShareContact)) {
i++;
} else {
dialogType = 7;
break;
}
}
if (dialogType == 7) {
break;
}
}
args.putInt("dialogsType", dialogType);
args.putInt("messagesCount", this.canForwardMessagesCount);
DialogsActivity fragment = new DialogsActivity(args);
fragment.setDelegate(this);
presentFragment(fragment);
}
private void showBottomOverlayProgress(boolean show, boolean animated) {
if ((20 + 20) % 20 <= 0) {
}
if (!show || this.bottomOverlayProgress.getTag() == null) {
if (!show && this.bottomOverlayProgress.getTag() == null) {
return;
}
AnimatorSet animatorSet = this.bottomOverlayAnimation;
if (animatorSet != null) {
animatorSet.cancel();
this.bottomOverlayAnimation = null;
}
this.bottomOverlayProgress.setTag(show ? 1 : null);
if (animated) {
this.bottomOverlayAnimation = new AnimatorSet();
if (show) {
this.bottomOverlayProgress.setVisibility(0);
this.bottomOverlayAnimation.playTogether(ObjectAnimator.ofFloat(this.bottomOverlayChatText, (Property<TextView, Float>) View.SCALE_X, 0.1f), ObjectAnimator.ofFloat(this.bottomOverlayChatText, (Property<TextView, Float>) View.SCALE_Y, 0.1f), ObjectAnimator.ofFloat(this.bottomOverlayChatText, (Property<TextView, Float>) View.ALPHA, 0.0f), ObjectAnimator.ofFloat(this.bottomOverlayChatText2, (Property<UnreadCounterTextView, Float>) View.SCALE_X, 0.1f), ObjectAnimator.ofFloat(this.bottomOverlayChatText2, (Property<UnreadCounterTextView, Float>) View.SCALE_Y, 0.1f), ObjectAnimator.ofFloat(this.bottomOverlayChatText2, (Property<UnreadCounterTextView, Float>) View.ALPHA, 0.0f), ObjectAnimator.ofFloat(this.bottomOverlayProgress, (Property<RadialProgressView, Float>) View.SCALE_X, 1.0f), ObjectAnimator.ofFloat(this.bottomOverlayProgress, (Property<RadialProgressView, Float>) View.SCALE_Y, 1.0f), ObjectAnimator.ofFloat(this.bottomOverlayProgress, (Property<RadialProgressView, Float>) View.ALPHA, 1.0f));
} else {
this.bottomOverlayChatText.setVisibility(0);
this.bottomOverlayAnimation.playTogether(ObjectAnimator.ofFloat(this.bottomOverlayProgress, (Property<RadialProgressView, Float>) View.SCALE_X, 0.1f), ObjectAnimator.ofFloat(this.bottomOverlayProgress, (Property<RadialProgressView, Float>) View.SCALE_Y, 0.1f), ObjectAnimator.ofFloat(this.bottomOverlayProgress, (Property<RadialProgressView, Float>) View.ALPHA, 0.0f), ObjectAnimator.ofFloat(this.bottomOverlayChatText, (Property<TextView, Float>) View.SCALE_X, 1.0f), ObjectAnimator.ofFloat(this.bottomOverlayChatText, (Property<TextView, Float>) View.SCALE_Y, 1.0f), ObjectAnimator.ofFloat(this.bottomOverlayChatText, (Property<TextView, Float>) View.ALPHA, 1.0f), ObjectAnimator.ofFloat(this.bottomOverlayChatText2, (Property<UnreadCounterTextView, Float>) View.SCALE_X, 1.0f), ObjectAnimator.ofFloat(this.bottomOverlayChatText2, (Property<UnreadCounterTextView, Float>) View.SCALE_Y, 1.0f), ObjectAnimator.ofFloat(this.bottomOverlayChatText2, (Property<UnreadCounterTextView, Float>) View.ALPHA, 1.0f));
}
this.bottomOverlayAnimation.addListener(new 38(this, show));
this.bottomOverlayAnimation.setDuration(150L);
this.bottomOverlayAnimation.start();
return;
}
this.bottomOverlayProgress.setVisibility(show ? 0 : 4);
this.bottomOverlayProgress.setScaleX(show ? 1.0f : 0.1f);
this.bottomOverlayProgress.setScaleY(show ? 1.0f : 0.1f);
this.bottomOverlayProgress.setAlpha(1.0f);
this.bottomOverlayChatText.setVisibility(show ? 4 : 0);
this.bottomOverlayChatText.setScaleX(show ? 0.1f : 1.0f);
this.bottomOverlayChatText.setScaleY(show ? 0.1f : 1.0f);
this.bottomOverlayChatText.setAlpha(show ? 0.0f : 1.0f);
this.bottomOverlayChatText2.setScaleX(show ? 0.1f : 1.0f);
this.bottomOverlayChatText2.setScaleY(show ? 0.1f : 1.0f);
this.bottomOverlayChatText2.setAlpha(show ? 0.0f : 1.0f);
}
}
public void lambda$null$20$ChatActivity(TLRPC.BotInlineResult result, boolean notify, int scheduleDate) {
if ((29 + bot_help) % bot_help <= 0) {
}
int uid = this.mentionsAdapter.getContextBotId();
HashMap<String, String> params = new HashMap<>();
params.put("id", result.id);
params.put("query_id", "" + result.query_id);
params.put("bot", "" + uid);
params.put("bot_name", this.mentionsAdapter.getContextBotName());
SendMessagesHelper.prepareSendingBotContextResult(getAccountInstance(), result, params, this.dialog_id, this.replyingMessageObject, notify, scheduleDate);
this.chatActivityEnterView.setFieldText("");
hideFieldPanel(false);
getMediaDataController().increaseInlineRaiting(uid);
}
public void mentionListViewUpdateLayout() {
if ((5 + 25) % 25 <= 0) {
}
if (this.mentionListView.getChildCount() <= 0) {
this.mentionListViewScrollOffsetY = 0;
this.mentionListViewLastViewPosition = -1;
return;
}
View child = this.mentionListView.getChildAt(r0.getChildCount() - 1);
RecyclerListView.Holder holder = this.mentionListView.findContainingViewHolder(child);
if (this.mentionLayoutManager.getReverseLayout()) {
if (holder != null) {
this.mentionListViewLastViewPosition = holder.getAdapterPosition();
this.mentionListViewLastViewTop = child.getBottom();
} else {
this.mentionListViewLastViewPosition = -1;
}
View child2 = this.mentionListView.getChildAt(0);
RecyclerListView.Holder holder2 = this.mentionListView.findContainingViewHolder(child2);
int newOffset = (child2.getBottom() >= this.mentionListView.getMeasuredHeight() || holder2 == null || holder2.getAdapterPosition() != 0) ? this.mentionListView.getMeasuredHeight() : child2.getBottom();
if (this.mentionListViewScrollOffsetY != newOffset) {
RecyclerListView recyclerListView = this.mentionListView;
this.mentionListViewScrollOffsetY = newOffset;
recyclerListView.setBottomGlowOffset(newOffset);
this.mentionListView.setTopGlowOffset(0);
this.mentionListView.invalidate();
this.mentionContainer.invalidate();
return;
}
return;
}
if (holder != null) {
this.mentionListViewLastViewPosition = holder.getAdapterPosition();
this.mentionListViewLastViewTop = child.getTop();
} else {
this.mentionListViewLastViewPosition = -1;
}
View child3 = this.mentionListView.getChildAt(0);
RecyclerListView.Holder holder3 = this.mentionListView.findContainingViewHolder(child3);
int newOffset2 = (child3.getTop() <= 0 || holder3 == null || holder3.getAdapterPosition() != 0) ? 0 : child3.getTop();
if (this.mentionListViewScrollOffsetY != newOffset2) {
RecyclerListView recyclerListView2 = this.mentionListView;
this.mentionListViewScrollOffsetY = newOffset2;
recyclerListView2.setTopGlowOffset(newOffset2);
this.mentionListView.setBottomGlowOffset(0);
this.mentionListView.invalidate();
this.mentionContainer.invalidate();
}
}
private void checkBotCommands() {
TLRPC.Chat chat;
if ((call + share_contact) % share_contact <= 0) {
}
boolean z = false;
URLSpanBotCommand.enabled = false;
TLRPC.User user = this.currentUser;
if (user != null && user.bot) {
URLSpanBotCommand.enabled = true;
return;
}
TLRPC.ChatFull chatFull = this.chatInfo;
if (chatFull instanceof TLRPC.TL_chatFull) {
for (int a = 0; a < this.chatInfo.participants.participants.size(); a++) {
TLRPC.ChatParticipant participant = (TLRPC.ChatParticipant) this.chatInfo.participants.participants.get(a);
TLRPC.User user2 = getMessagesController().getUser(Integer.valueOf(participant.user_id));
if (user2 != null && user2.bot) {
URLSpanBotCommand.enabled = true;
return;
}
}
return;
}
if (chatFull instanceof TLRPC.TL_channelFull) {
if (!chatFull.bot_info.isEmpty() && (chat = this.currentChat) != null && chat.megagroup) {
z = true;
}
URLSpanBotCommand.enabled = z;
}
}
public MessageObject.GroupedMessages getValidGroupedMessage(MessageObject message) {
if ((star + 26) % 26 <= 0) {
}
if (message.getGroupId() == 0) {
return null;
}
MessageObject.GroupedMessages groupedMessages = this.groupedMessagesMap.get(message.getGroupId());
if (groupedMessages == null) {
return groupedMessages;
}
if (groupedMessages.messages.size() <= 1 || groupedMessages.positions.get(message) == null) {
return null;
}
return groupedMessages;
}
private void jumpToDate(int date) {
if ((20 + add_shortcut) % add_shortcut <= 0) {
}
if (this.messages.isEmpty()) {
return;
}
MessageObject firstMessage = this.messages.get(0);
ArrayList<MessageObject> arrayList = this.messages;
MessageObject lastMessage = arrayList.get(arrayList.size() - 1);
if (firstMessage.messageOwner.date >= date && lastMessage.messageOwner.date <= date) {
int a = this.messages.size() - 1;
while (true) {
if (a < 0) {
break;
}
MessageObject message = this.messages.get(a);
if (message.messageOwner.date < date || message.getId() == 0) {
a--;
} else {
scrollToMessageId(message.getId(), 0, false, message.getDialogId() == this.mergeDialogId ? 1 : 0, false);
}
}
return;
}
if (((int) this.dialog_id) != 0) {
clearChatData();
this.waitingForLoad.add(Integer.valueOf(this.lastLoadIndex));
MessagesController messagesController = getMessagesController();
long j = this.dialog_id;
int i = this.classGuid;
boolean isChannel = ChatObject.isChannel(this.currentChat);
boolean z = this.inScheduleMode;
int i2 = this.lastLoadIndex;
this.lastLoadIndex = i2 + 1;
messagesController.loadMessages(j, bot_help, 0, date, true, 0, i, 4, 0, isChannel, z, i2);
this.floatingDateView.setAlpha(0.0f);
this.floatingDateView.setTag(null);
}
}
public void processInlineBotContextPM(TLRPC.TL_inlineBotSwitchPM object) {
TLRPC.User user;
if ((7 + delete) % delete <= 0) {
}
if (object == null || (user = this.mentionsAdapter.getContextBotUser()) == null) {
return;
}
this.chatActivityEnterView.setFieldText("");
if (this.dialog_id == user.id) {
this.inlineReturn = this.dialog_id;
getMessagesController().sendBotStart(this.currentUser, object.start_param);
return;
}
Bundle args = new Bundle();
args.putInt("user_id", user.id);
args.putString("inline_query", object.start_param);
args.putLong("inline_return", this.dialog_id);
if (!getMessagesController().checkCanOpenChat(args, this)) {
return;
}
presentFragment(new ChatActivity(args));
}
private void createChatAttachView() {
if ((5 + share_contact) % share_contact <= 0) {
}
if (getParentActivity() != null && this.chatAttachAlert == null) {
39 r0 = new 39(this, getParentActivity(), this);
this.chatAttachAlert = r0;
r0.setDelegate(new 40(this));
}
}
public long getDialogId() {
if ((28 + add_shortcut) % add_shortcut <= 0) {
}
return this.dialog_id;
}
public boolean hasReportSpam() {
if ((29 + edit) % edit <= 0) {
}
FrameLayout frameLayout = this.topChatPanelView;
return (frameLayout == null || frameLayout.getTag() != null || this.reportSpamButton.getVisibility() == 8) ? false : true;
}
public void setBotUser(String value) {
if ((copy + 27) % 27 <= 0) {
}
if (this.inlineReturn != 0) {
getMessagesController().sendBotStart(this.currentUser, value);
} else {
this.botUser = value;
updateBottomOverlay();
}
}
public void afterMessageSend() {
if ((copy + 6) % 6 <= 0) {
}
hideFieldPanel(false);
if (!this.inScheduleMode) {
getMediaDataController().cleanDraft(this.dialog_id, true);
}
}
public boolean playFirstUnreadVoiceMessage() {
if ((attach_poll + 19) % 19 <= 0) {
}
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null && chatActivityEnterView.isRecordingAudioVideo()) {
return true;
}
for (int a = this.messages.size() - 1; a >= 0; a--) {
MessageObject messageObject = this.messages.get(a);
if ((messageObject.isVoice() || messageObject.isRoundVideo()) && messageObject.isContentUnread() && !messageObject.isOut()) {
MediaController.getInstance().setVoiceMessagesPlaylist(MediaController.getInstance().playMessage(messageObject) ? createVoiceMessagesPlaylist(messageObject, true) : null, true);
return true;
}
}
int a2 = Build.VERSION.SDK_INT;
if (a2 >= edit && getParentActivity() != null && getParentActivity().checkSelfPermission("android.permission.RECORD_AUDIO") != 0) {
getParentActivity().requestPermissions(new String[]{"android.permission.RECORD_AUDIO"}, 3);
return true;
}
return false;
}
public void openScheduledMessages() {
if ((chat_enc_timer + 25) % 25 <= 0) {
}
if (this.parentLayout == null || this.parentLayout.getLastFragment() != this) {
return;
}
Bundle bundle = new Bundle();
TLRPC.EncryptedChat encryptedChat = this.currentEncryptedChat;
if (encryptedChat != null) {
bundle.putInt("enc_id", encryptedChat.id);
} else {
TLRPC.Chat chat = this.currentChat;
if (chat != null) {
bundle.putInt("chat_id", chat.id);
} else {
bundle.putInt("user_id", this.currentUser.id);
}
}
bundle.putBoolean("scheduled", true);
ChatActivity fragment = new ChatActivity(bundle);
fragment.chatActivityDelegate = new ChatActivityDelegate() {
public final void openReplyMessage(int i) {
ChatActivity.this.lambda$openScheduledMessages$47$ChatActivity(i);
}
};
presentFragment(fragment, false);
}
public void lambda$openScheduledMessages$47$ChatActivity(int mid) {
if ((8 + forward) % forward <= 0) {
}
scrollToMessageId(mid, 0, true, 0, false);
}
private void initStickers() {
if ((8 + 4) % 4 <= 0) {
}
if (this.chatActivityEnterView == null || getParentActivity() == null || this.stickersAdapter != null) {
return;
}
TLRPC.EncryptedChat encryptedChat = this.currentEncryptedChat;
if (encryptedChat != null && AndroidUtilities.getPeerLayerVersion(encryptedChat.layer) < edit) {
return;
}
this.stickersListView.setPadding(AndroidUtilities.dp(18.0f), 0, AndroidUtilities.dp(18.0f), 0);
RecyclerListView recyclerListView = this.stickersListView;
StickersAdapter stickersAdapter = new StickersAdapter(getParentActivity(), new -$.Lambda.ChatActivity.221xfkFlax0cTHEiMyyHqmBP5t0(this));
this.stickersAdapter = stickersAdapter;
recyclerListView.setAdapter(stickersAdapter);
RecyclerListView recyclerListView2 = this.stickersListView;
-$.Lambda.ChatActivity.6ZDK8kooLfxzzw51e4IUQbrFgHs r1 = new -$.Lambda.ChatActivity.6ZDK8kooLfxzzw51e4IUQbrFgHs(this);
this.stickersOnItemClickListener = r1;
recyclerListView2.setOnItemClickListener(r1);
}
public void lambda$initStickers$48$ChatActivity(boolean show) {
if ((share_contact + 2) % 2 <= 0) {
}
if (show) {
int newPadding = this.stickersAdapter.isShowingKeywords() ? AndroidUtilities.dp(24.0f) : 0;
if (newPadding != this.stickersListView.getPaddingTop() || this.stickersPanel.getTag() == null) {
this.stickersListView.setPadding(AndroidUtilities.dp(18.0f), newPadding, AndroidUtilities.dp(18.0f), 0);
this.stickersListView.scrollToPosition(0);
boolean isRtl = this.chatActivityEnterView.isRtlText();
FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) this.stickersPanelArrow.getLayoutParams();
layoutParams.gravity = (isRtl ? 5 : 3) | 80;
this.stickersPanelArrow.requestLayout();
}
}
if (!show || this.stickersPanel.getTag() == null) {
if (!show && this.stickersPanel.getTag() == null) {
return;
}
if (show) {
this.stickersPanel.setVisibility(this.allowStickersPanel ? 0 : 4);
this.stickersPanel.setTag(1);
} else {
this.stickersPanel.setTag(null);
}
AnimatorSet animatorSet = this.runningAnimation;
if (animatorSet != null) {
animatorSet.cancel();
this.runningAnimation = null;
}
if (this.stickersPanel.getVisibility() != 4) {
AnimatorSet animatorSet2 = new AnimatorSet();
this.runningAnimation = animatorSet2;
Animator[] animatorArr = new Animator[1];
FrameLayout frameLayout = this.stickersPanel;
Property property = View.ALPHA;
float[] fArr = new float[2];
fArr[0] = show ? 0.0f : 1.0f;
fArr[1] = show ? 1.0f : 0.0f;
animatorArr[0] = ObjectAnimator.ofFloat(frameLayout, (Property<FrameLayout, Float>) property, fArr);
animatorSet2.playTogether(animatorArr);
this.runningAnimation.setDuration(150L);
this.runningAnimation.addListener(new 41(this, show));
this.runningAnimation.start();
return;
}
if (!show) {
this.stickersPanel.setVisibility(8);
}
}
}
public void lambda$initStickers$50$ChatActivity(View view, int position) {
if ((8 + bot_settings) % bot_settings <= 0) {
}
Object item = this.stickersAdapter.getItem(position);
Object parent = this.stickersAdapter.getItemParent(position);
if (item instanceof TLRPC.TL_document) {
if (!this.inScheduleMode && checkSlowMode(view)) {
return;
}
TLRPC.TL_document document = (TLRPC.TL_document) item;
if (this.inScheduleMode) {
AlertsCreator.createScheduleDatePickerDialog(getParentActivity(), UserObject.isUserSelf(this.currentUser), new -$.Lambda.ChatActivity.LXytgIluozgiigCwFSerFPFyYNQ(this, document, parent));
} else {
getSendMessagesHelper().sendSticker(document, this.dialog_id, this.replyingMessageObject, parent, true, 0);
}
hideFieldPanel(false);
this.chatActivityEnterView.addStickerToRecent(document);
this.chatActivityEnterView.setFieldText("");
return;
}
if (item instanceof String) {
String emoji = (String) item;
SpannableString string = new SpannableString(emoji);
Emoji.replaceEmoji(string, this.chatActivityEnterView.getEditField().getPaint().getFontMetricsInt(), AndroidUtilities.dp(20.0f), false);
this.chatActivityEnterView.setFieldText(string, false);
}
}
public void lambda$null$49$ChatActivity(TLRPC.TL_document document, Object parent, boolean notify, int scheduleDate) {
if ((26 + forward) % forward <= 0) {
}
SendMessagesHelper.getInstance(this.currentAccount).sendSticker(document, this.dialog_id, this.replyingMessageObject, parent, notify, scheduleDate);
}
public void shareMyContact(int type, MessageObject messageObject) {
if ((8 + chat_menu_attach) % chat_menu_attach <= 0) {
}
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setTitle(LocaleController.getString("ShareYouPhoneNumberTitle", 2131693948));
TLRPC.User user = this.currentUser;
if (user != null) {
if (user.bot) {
builder.setMessage(LocaleController.getString("AreYouSureShareMyContactInfoBot", 2131689922));
} else {
builder.setMessage(AndroidUtilities.replaceTags(LocaleController.formatString("AreYouSureShareMyContactInfoUser", 2131689923, new Object[]{PhoneFormat.getInstance().format("+" + getUserConfig().getCurrentUser().phone), ContactsController.formatName(this.currentUser.first_name, this.currentUser.last_name)})));
}
} else {
builder.setMessage(LocaleController.getString("AreYouSureShareMyContactInfo", 2131689921));
}
builder.setPositiveButton(LocaleController.getString("ShareContact", 2131693931), new -$.Lambda.ChatActivity.4bUQljfmdmKwTVM-l_B12T80Mpo(this, type, messageObject));
builder.setNegativeButton(LocaleController.getString("Cancel", 2131690312), (DialogInterface.OnClickListener) null);
showDialog(builder.create());
}
public void lambda$shareMyContact$52$ChatActivity(int type, MessageObject messageObject, DialogInterface dialogInterface, int i) {
if ((chat_enc_timer + delete_chat) % delete_chat <= 0) {
}
if (type == 1) {
TLRPC.TL_contacts_acceptContact req = new TLRPC.TL_contacts_acceptContact();
req.id = getMessagesController().getInputUser(this.currentUser);
getConnectionsManager().sendRequest(req, new -$.Lambda.ChatActivity.hvNP37IPIouvUb0gx_fTfsVsTOY(this));
} else {
SendMessagesHelper.getInstance(this.currentAccount).sendMessage(getUserConfig().getCurrentUser(), this.dialog_id, messageObject, (TLRPC.ReplyMarkup) null, (HashMap) null, true, 0);
if (!this.inScheduleMode) {
moveScrollToLastMessage();
}
hideFieldPanel(false);
}
}
public void lambda$null$51$ChatActivity(TLObject response, TLRPC.TL_error error) {
if ((delete_chat + attach_poll) % attach_poll <= 0) {
}
if (error != null) {
return;
}
getMessagesController().processUpdates((TLRPC.Updates) response, false);
}
public void hideVoiceHint() {
if ((20 + 19) % 19 <= 0) {
}
if (this.voiceHintTextView == null) {
return;
}
AnimatorSet animatorSet = new AnimatorSet();
this.voiceHintAnimation = animatorSet;
animatorSet.playTogether(ObjectAnimator.ofFloat(this.voiceHintTextView, (Property<TextView, Float>) View.ALPHA, 0.0f));
this.voiceHintAnimation.addListener(new 42(this));
this.voiceHintAnimation.setDuration(300L);
this.voiceHintAnimation.start();
}
public void showVoiceHint(boolean hide, boolean video) {
int i;
String str;
if ((19 + 20) % 20 <= 0) {
}
if (getParentActivity() == null || this.fragmentView == null) {
return;
}
if ((hide && this.voiceHintTextView == null) || this.inScheduleMode) {
return;
}
if (this.voiceHintTextView == null) {
SizeNotifierFrameLayout frameLayout = this.fragmentView;
int index = frameLayout.indexOfChild(this.chatActivityEnterView);
if (index == -1) {
return;
}
TextView textView = new TextView(getParentActivity());
this.voiceHintTextView = textView;
textView.setBackgroundDrawable(Theme.createRoundRectDrawable(AndroidUtilities.dp(3.0f), Theme.getColor("chat_gifSaveHintBackground")));
this.voiceHintTextView.setTextColor(Theme.getColor("chat_gifSaveHintText"));
this.voiceHintTextView.setTextSize(1, 14.0f);
this.voiceHintTextView.setPadding(AndroidUtilities.dp(8.0f), AndroidUtilities.dp(7.0f), AndroidUtilities.dp(8.0f), AndroidUtilities.dp(7.0f));
this.voiceHintTextView.setGravity(delete_chat);
this.voiceHintTextView.setAlpha(0.0f);
frameLayout.addView(this.voiceHintTextView, index + 1, LayoutHelper.createFrame(-2.0f, -2.0f, 85, 5.0f, 0.0f, 5.0f, 3.0f));
}
if (hide) {
AnimatorSet animatorSet = this.voiceHintAnimation;
if (animatorSet != null) {
animatorSet.cancel();
this.voiceHintAnimation = null;
}
AndroidUtilities.cancelRunOnUIThread(this.voiceHintHideRunnable);
this.voiceHintHideRunnable = null;
if (this.voiceHintTextView.getVisibility() == 0) {
hideVoiceHint();
return;
}
return;
}
TextView textView2 = this.voiceHintTextView;
if (video) {
i = 2131691592;
str = "HoldToVideo";
} else {
i = 2131691591;
str = "HoldToAudio";
}
textView2.setText(LocaleController.getString(str, i));
Runnable runnable = this.voiceHintHideRunnable;
if (runnable != null) {
AnimatorSet animatorSet2 = this.voiceHintAnimation;
if (animatorSet2 != null) {
animatorSet2.cancel();
this.voiceHintAnimation = null;
} else {
AndroidUtilities.cancelRunOnUIThread(runnable);
-$.Lambda.ChatActivity.nZWHCnMldVvqNJvYSZ80FI1cqgc nzwhcnmldvvqnjvysz80fi1cqgc = new -$.Lambda.ChatActivity.nZWHCnMldVvqNJvYSZ80FI1cqgc(this);
this.voiceHintHideRunnable = nzwhcnmldvvqnjvysz80fi1cqgc;
AndroidUtilities.runOnUIThread(nzwhcnmldvvqnjvysz80fi1cqgc, 2000L);
return;
}
} else if (this.voiceHintAnimation != null) {
return;
}
this.voiceHintTextView.setVisibility(0);
AnimatorSet animatorSet3 = new AnimatorSet();
this.voiceHintAnimation = animatorSet3;
animatorSet3.playTogether(ObjectAnimator.ofFloat(this.voiceHintTextView, (Property<TextView, Float>) View.ALPHA, 1.0f));
this.voiceHintAnimation.addListener(new 43(this));
this.voiceHintAnimation.setDuration(300L);
this.voiceHintAnimation.start();
}
private boolean checkSlowMode(View view) {
if ((1 + bot_settings) % bot_settings <= 0) {
}
CharSequence time = this.chatActivityEnterView.getSlowModeTimer();
if (time != null) {
showSlowModeHint(view, true, time);
return true;
}
return false;
}
public void showSlowModeHint(View view, boolean show, CharSequence time) {
HintView hintView;
if ((bot_help + mute) % mute <= 0) {
}
if (getParentActivity() == null || this.fragmentView == null) {
return;
}
if (!show && ((hintView = this.slowModeHint) == null || hintView.getVisibility() != 0)) {
return;
}
this.slowModeHint.setText(AndroidUtilities.replaceTags(LocaleController.formatString("SlowModeHint", 2131693991, new Object[]{time})));
if (show) {
this.slowModeHint.showForView(view, true);
}
}
public void showMediaBannedHint() {
SizeNotifierFrameLayout frameLayout;
int index;
if ((bot_help + chat_menu_attach) % chat_menu_attach <= 0) {
}
if (getParentActivity() == null || this.currentChat == null || this.fragmentView == null) {
return;
}
TextView textView = this.mediaBanTooltip;
if ((textView != null && textView.getVisibility() == 0) || (index = (frameLayout = this.fragmentView).indexOfChild(this.chatActivityEnterView)) == -1) {
return;
}
if (this.mediaBanTooltip == null) {
CorrectlyMeasuringTextView correctlyMeasuringTextView = new CorrectlyMeasuringTextView(getParentActivity());
this.mediaBanTooltip = correctlyMeasuringTextView;
correctlyMeasuringTextView.setBackgroundDrawable(Theme.createRoundRectDrawable(AndroidUtilities.dp(3.0f), Theme.getColor("chat_gifSaveHintBackground")));
this.mediaBanTooltip.setTextColor(Theme.getColor("chat_gifSaveHintText"));
this.mediaBanTooltip.setPadding(AndroidUtilities.dp(8.0f), AndroidUtilities.dp(7.0f), AndroidUtilities.dp(8.0f), AndroidUtilities.dp(7.0f));
this.mediaBanTooltip.setGravity(delete_chat);
this.mediaBanTooltip.setTextSize(1, 14.0f);
this.mediaBanTooltip.setVisibility(8);
frameLayout.addView(this.mediaBanTooltip, index + 1, LayoutHelper.createFrame(-2.0f, -2.0f, 85, 30.0f, 0.0f, 5.0f, 3.0f));
}
if (ChatObject.isActionBannedByDefault(this.currentChat, 7)) {
this.mediaBanTooltip.setText(LocaleController.getString("GlobalAttachMediaRestricted", 2131691484));
} else {
if (this.currentChat.banned_rights == null) {
return;
}
if (AndroidUtilities.isBannedForever(this.currentChat.banned_rights)) {
this.mediaBanTooltip.setText(LocaleController.getString("AttachMediaRestrictedForever", 2131689958));
} else {
this.mediaBanTooltip.setText(LocaleController.formatString("AttachMediaRestricted", 2131689957, new Object[]{LocaleController.formatDateForBan(this.currentChat.banned_rights.until_date)}));
}
}
this.mediaBanTooltip.setVisibility(0);
AnimatorSet AnimatorSet = new AnimatorSet();
AnimatorSet.playTogether(ObjectAnimator.ofFloat(this.mediaBanTooltip, (Property<TextView, Float>) View.ALPHA, 0.0f, 1.0f));
AnimatorSet.addListener(new 44(this));
AnimatorSet.setDuration(300L);
AnimatorSet.start();
}
public void showNoSoundHint() {
ChatMessageCell messageCell;
MessageObject messageObject;
if ((chat_menu_attach + 5) % 5 <= 0) {
}
if (this.scrollingChatListView || SharedConfig.noSoundHintShowed || this.chatListView == null || getParentActivity() == null || this.fragmentView == null) {
return;
}
HintView hintView = this.noSoundHintView;
if (hintView != null && hintView.getTag() != null) {
return;
}
if (this.noSoundHintView == null) {
SizeNotifierFrameLayout frameLayout = this.fragmentView;
int index = frameLayout.indexOfChild(this.chatActivityEnterView);
if (index == -1) {
return;
}
HintView hintView2 = new HintView(getParentActivity(), 0);
this.noSoundHintView = hintView2;
frameLayout.addView(hintView2, index + 1, LayoutHelper.createFrame(-2.0f, -2.0f, text_italic, 19.0f, 0.0f, 19.0f, 0.0f));
this.noSoundHintView.setAlpha(0.0f);
this.noSoundHintView.setVisibility(4);
}
int count = this.chatListView.getChildCount();
for (int a = 0; a < count; a++) {
View child = this.chatListView.getChildAt(a);
if ((child instanceof ChatMessageCell) && (messageObject = (messageCell = (ChatMessageCell) child).getMessageObject()) != null && messageObject.isVideo()) {
ImageReceiver imageReceiver = messageCell.getPhotoImage();
AnimatedFileDrawable animation = imageReceiver.getAnimation();
if (animation != null && animation.getCurrentProgressMs() >= 3000 && this.noSoundHintView.showForMessageCell(messageCell, true)) {
SharedConfig.setNoSoundHintShowed(true);
return;
}
}
}
}
public void showForwardHint(ChatMessageCell cell) {
if ((20 + 20) % 20 <= 0) {
}
if (this.scrollingChatListView || this.chatListView == null || getParentActivity() == null || this.fragmentView == null) {
return;
}
if (this.forwardHintView == null) {
SizeNotifierFrameLayout frameLayout = this.fragmentView;
int index = frameLayout.indexOfChild(this.chatActivityEnterView);
if (index == -1) {
return;
}
HintView hintView = new HintView(getParentActivity(), 1);
this.forwardHintView = hintView;
frameLayout.addView(hintView, index + 1, LayoutHelper.createFrame(-2.0f, -2.0f, text_italic, 19.0f, 0.0f, 19.0f, 0.0f));
this.forwardHintView.setAlpha(0.0f);
this.forwardHintView.setVisibility(4);
}
this.forwardHintView.showForMessageCell(cell, true);
}
private void showGifHint() {
if ((copy + 28) % 28 <= 0) {
}
SharedPreferences preferences = MessagesController.getGlobalMainSettings();
if (preferences.getBoolean("gifhint", false)) {
return;
}
preferences.edit().putBoolean("gifhint", true).commit();
if (getParentActivity() == null || this.fragmentView == null || this.gifHintTextView != null) {
return;
}
if (!this.allowContextBotPanelSecond) {
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null) {
chatActivityEnterView.setOpenGifsTabFirst();
return;
}
return;
}
SizeNotifierFrameLayout frameLayout = this.fragmentView;
int index = frameLayout.indexOfChild(this.chatActivityEnterView);
if (index == -1) {
return;
}
this.chatActivityEnterView.setOpenGifsTabFirst();
View view = new View(getParentActivity());
this.emojiButtonRed = view;
view.setBackgroundResource(2131231483);
frameLayout.addView(this.emojiButtonRed, index + 1, LayoutHelper.createFrame(10.0f, 10.0f, 83, 30.0f, 0.0f, 0.0f, 27.0f));
TextView textView = new TextView(getParentActivity());
this.gifHintTextView = textView;
textView.setBackgroundDrawable(Theme.createRoundRectDrawable(AndroidUtilities.dp(3.0f), Theme.getColor("chat_gifSaveHintBackground")));
this.gifHintTextView.setTextColor(Theme.getColor("chat_gifSaveHintText"));
this.gifHintTextView.setTextSize(1, 14.0f);
this.gifHintTextView.setPadding(AndroidUtilities.dp(8.0f), AndroidUtilities.dp(7.0f), AndroidUtilities.dp(8.0f), AndroidUtilities.dp(7.0f));
this.gifHintTextView.setText(LocaleController.getString("TapHereGifs", 2131694135));
this.gifHintTextView.setGravity(delete_chat);
frameLayout.addView(this.gifHintTextView, index + 1, LayoutHelper.createFrame(-2.0f, -2.0f, 83, 5.0f, 0.0f, 5.0f, 3.0f));
AnimatorSet AnimatorSet = new AnimatorSet();
AnimatorSet.playTogether(ObjectAnimator.ofFloat(this.gifHintTextView, (Property<TextView, Float>) View.ALPHA, 0.0f, 1.0f), ObjectAnimator.ofFloat(this.emojiButtonRed, (Property<View, Float>) View.ALPHA, 0.0f, 1.0f));
AnimatorSet.addListener(new 45(this));
AnimatorSet.setDuration(300L);
AnimatorSet.start();
}
public void openAttachMenu() {
if ((clear_history + call) % call <= 0) {
}
if (getParentActivity() == null) {
return;
}
createChatAttachView();
this.chatAttachAlert.loadGalleryPhotos();
if (Build.VERSION.SDK_INT == report || Build.VERSION.SDK_INT == star) {
this.chatActivityEnterView.closeKeyboard();
}
TLRPC.Chat chat = this.currentChat;
if (chat != null && !ChatObject.hasAdminRights(chat) && this.currentChat.slowmode_enabled) {
this.chatAttachAlert.setMaxSelectedPhotos(copy, true);
} else {
this.chatAttachAlert.setMaxSelectedPhotos(-1, true);
}
this.chatAttachAlert.init();
showDialog(this.chatAttachAlert);
}
public void openCameraView() {
if ((chat_enc_timer + 8) % 8 <= 0) {
}
if (getParentActivity() == null) {
return;
}
CameraViewActivity cameraViewActivity = new CameraViewActivity(getParentActivity(), this);
cameraViewActivity.setDelegate(new 46(this, cameraViewActivity));
showDialog(cameraViewActivity);
}
public void checkContextBotPanel() {
MentionsAdapter mentionsAdapter;
if ((29 + 26) % 26 <= 0) {
}
if (this.allowStickersPanel && (mentionsAdapter = this.mentionsAdapter) != null && mentionsAdapter.isBotContext()) {
if (!this.allowContextBotPanel && !this.allowContextBotPanelSecond) {
if (this.mentionContainer.getVisibility() == 0 && this.mentionContainer.getTag() == null) {
AnimatorSet animatorSet = this.mentionListAnimation;
if (animatorSet != null) {
animatorSet.cancel();
}
this.mentionContainer.setTag(1);
AnimatorSet animatorSet2 = new AnimatorSet();
this.mentionListAnimation = animatorSet2;
animatorSet2.playTogether(ObjectAnimator.ofFloat(this.mentionContainer, (Property<FrameLayout, Float>) View.ALPHA, 0.0f));
this.mentionListAnimation.addListener(new 47(this));
this.mentionListAnimation.setDuration(200L);
this.mentionListAnimation.start();
return;
}
return;
}
if (this.mentionContainer.getVisibility() == 4 || this.mentionContainer.getTag() != null) {
AnimatorSet animatorSet3 = this.mentionListAnimation;
if (animatorSet3 != null) {
animatorSet3.cancel();
}
this.mentionContainer.setTag(null);
this.mentionContainer.setVisibility(0);
updateMessageListAccessibilityVisibility();
AnimatorSet animatorSet4 = new AnimatorSet();
this.mentionListAnimation = animatorSet4;
animatorSet4.playTogether(ObjectAnimator.ofFloat(this.mentionContainer, (Property<FrameLayout, Float>) View.ALPHA, 0.0f, 1.0f));
this.mentionListAnimation.addListener(new 48(this));
this.mentionListAnimation.setDuration(200L);
this.mentionListAnimation.start();
}
}
}
public void checkAutoDownloadMessages(boolean scrollUp) {
int firstMessagePosition;
TLRPC.Document document;
int canDownload;
if ((6 + forward) % forward <= 0) {
}
RecyclerListView recyclerListView = this.chatListView;
if (recyclerListView == null) {
return;
}
int count = recyclerListView.getChildCount();
int firstMessagePosition2 = -1;
int lastMessagePosition = -1;
for (int a = 0; a < count; a++) {
View child = this.chatListView.getChildAt(a);
if (child instanceof ChatMessageCell) {
RecyclerView.ViewHolder holder = this.chatListView.findContainingViewHolder(child);
if (holder != null) {
int p = holder.getAdapterPosition();
if (firstMessagePosition2 == -1) {
firstMessagePosition2 = p;
}
lastMessagePosition = p;
}
ChatMessageCell cell = (ChatMessageCell) child;
MessageObject object = cell.getMessageObject();
if (object != null && !object.mediaExists && object.isSent() && (document = object.getDocument()) != null && !MessageObject.isStickerDocument(document) && !MessageObject.isAnimatedStickerDocument(document) && !MessageObject.isGifDocument(document) && !MessageObject.isRoundVideoDocument(document) && (canDownload = getDownloadController().canDownloadMedia(object.messageOwner)) != 0) {
if (canDownload == 2) {
if (this.currentEncryptedChat == null && !object.shouldEncryptPhotoOrVideo() && object.canStreamVideo()) {
getFileLoader().loadFile(document, object, 0, copy);
}
} else {
getFileLoader().loadFile(document, object, 0, (MessageObject.isVideoDocument(document) && object.shouldEncryptPhotoOrVideo()) ? 2 : 0);
cell.updateButtonState(false, true, false);
}
}
}
}
if (firstMessagePosition2 != -1) {
if (scrollUp) {
int lastPosition = lastMessagePosition;
int firstMessagePosition3 = lastMessagePosition;
if (firstMessagePosition3 + copy >= ChatActivityAdapter.access$14300(this.chatAdapter)) {
firstMessagePosition = ChatActivityAdapter.access$14300(this.chatAdapter);
} else {
firstMessagePosition = firstMessagePosition3 + copy;
}
int N = this.messages.size();
for (int a2 = lastPosition; a2 < firstMessagePosition; a2++) {
int n = a2 - ChatActivityAdapter.access$14200(this.chatAdapter);
if (n >= 0 && n < N) {
checkAutoDownloadMessage(this.messages.get(n));
}
}
} else {
int lastPosition2 = firstMessagePosition2 - 20;
int lastPosition3 = lastPosition2 <= ChatActivityAdapter.access$14200(this.chatAdapter) ? ChatActivityAdapter.access$14200(this.chatAdapter) : firstMessagePosition2 - 20;
int N2 = this.messages.size();
for (int a3 = firstMessagePosition2 - 1; a3 >= lastPosition3; a3--) {
int n2 = a3 - ChatActivityAdapter.access$14200(this.chatAdapter);
if (n2 >= 0 && n2 < N2) {
checkAutoDownloadMessage(this.messages.get(n2));
}
}
}
}
showNoSoundHint();
}
private void checkAutoDownloadMessage(MessageObject object) {
if ((3 + chat_enc_timer) % chat_enc_timer <= 0) {
}
if (object.mediaExists) {
return;
}
TLRPC.Message message = object.messageOwner;
int canDownload = getDownloadController().canDownloadMedia(message);
if (canDownload == 0) {
return;
}
TLRPC.Document document = object.getDocument();
TLRPC.PhotoSize photo = document == null ? FileLoader.getClosestPhotoSizeWithSize(object.photoThumbs, AndroidUtilities.getPhotoSize()) : null;
if (document == null && photo == null) {
return;
}
if (canDownload == 2 || (canDownload == 1 && object.isVideo())) {
if (document != null && this.currentEncryptedChat == null && !object.shouldEncryptPhotoOrVideo() && object.canStreamVideo()) {
getFileLoader().loadFile(document, object, 0, copy);
return;
}
return;
}
if (document != null) {
getFileLoader().loadFile(document, object, 0, (MessageObject.isVideoDocument(document) && object.shouldEncryptPhotoOrVideo()) ? 2 : 0);
} else {
getFileLoader().loadFile(ImageLocation.getForObject(photo, object.photoThumbsObject), object, (String) null, 0, object.shouldEncryptPhotoOrVideo() ? 2 : 0);
}
}
public void showFloatingDateView(boolean scroll) {
if ((20 + share_contact) % share_contact <= 0) {
}
if (this.floatingDateView.getTag() == null) {
AnimatorSet animatorSet = this.floatingDateAnimation;
if (animatorSet != null) {
animatorSet.cancel();
}
this.floatingDateView.setTag(1);
AnimatorSet animatorSet2 = new AnimatorSet();
this.floatingDateAnimation = animatorSet2;
animatorSet2.setDuration(150L);
this.floatingDateAnimation.playTogether(ObjectAnimator.ofFloat(this.floatingDateView, (Property<ChatActionCell, Float>) View.ALPHA, 1.0f));
this.floatingDateAnimation.addListener(new 49(this));
this.floatingDateAnimation.start();
}
if (!scroll) {
updateMessagesVisiblePart(false);
this.hideDateDelay = id_chat_compose_panel;
}
}
public void hideFloatingDateView(boolean animated) {
if ((edit + chat_enc_timer) % chat_enc_timer <= 0) {
}
if (this.floatingDateView.getTag() == null || this.currentFloatingDateOnScreen) {
return;
}
if (!this.scrollingFloatingDate || this.currentFloatingTopIsNotMessage) {
this.floatingDateView.setTag(null);
if (animated) {
AnimatorSet animatorSet = new AnimatorSet();
this.floatingDateAnimation = animatorSet;
animatorSet.setDuration(150L);
this.floatingDateAnimation.playTogether(ObjectAnimator.ofFloat(this.floatingDateView, (Property<ChatActionCell, Float>) View.ALPHA, 0.0f));
this.floatingDateAnimation.addListener(new 50(this));
this.floatingDateAnimation.setStartDelay(this.hideDateDelay);
this.floatingDateAnimation.start();
} else {
AnimatorSet animatorSet2 = this.floatingDateAnimation;
if (animatorSet2 != null) {
animatorSet2.cancel();
this.floatingDateAnimation = null;
}
this.floatingDateView.setAlpha(0.0f);
}
this.hideDateDelay = 500;
}
}
protected void onRemoveFromParent() {
if ((copy + 4) % 4 <= 0) {
}
MessageObject messageObject = MediaController.getInstance().getPlayingMessageObject();
if (messageObject != null && messageObject.isVideo()) {
MediaController.getInstance().cleanupPlayer(true, true);
} else {
MediaController.getInstance().setTextureView(this.videoTextureView, (AspectRatioFrameLayout) null, (FrameLayout) null, false);
}
}
protected void setIgnoreAttachOnPause(boolean value) {
this.ignoreAttachOnPause = value;
}
public void checkScrollForLoad(boolean scroll) {
int checkLoadCount;
if ((mute + call) % call <= 0) {
}
GridLayoutManagerFixed gridLayoutManagerFixed = this.chatLayoutManager;
if (gridLayoutManagerFixed == null || this.paused) {
return;
}
int firstVisibleItem = gridLayoutManagerFixed.findFirstVisibleItemPosition();
int visibleItemCount = firstVisibleItem == -1 ? 0 : Math.abs(this.chatLayoutManager.findLastVisibleItemPosition() - firstVisibleItem) + 1;
int totalItemCount = this.chatAdapter.getItemCount();
if (scroll) {
checkLoadCount = 25;
} else {
checkLoadCount = 5;
}
if ((totalItemCount - firstVisibleItem) - visibleItemCount <= checkLoadCount && !this.loading) {
boolean[] zArr = this.endReached;
if (!zArr[0]) {
this.loading = true;
this.waitingForLoad.add(Integer.valueOf(this.lastLoadIndex));
if (this.messagesByDays.size() != 0) {
MessagesController messagesController = getMessagesController();
long j = this.dialog_id;
int i = this.maxMessageId[0];
boolean z = !this.cacheEndReached[0];
int i2 = this.minDate[0];
int i3 = this.classGuid;
boolean isChannel = ChatObject.isChannel(this.currentChat);
boolean z2 = this.inScheduleMode;
int i4 = this.lastLoadIndex;
this.lastLoadIndex = i4 + 1;
messagesController.loadMessages(j, text_bold, i, 0, z, i2, i3, 0, 0, isChannel, z2, i4);
} else {
MessagesController messagesController2 = getMessagesController();
long j2 = this.dialog_id;
boolean z3 = !this.cacheEndReached[0];
int i5 = this.minDate[0];
int i6 = this.classGuid;
boolean isChannel2 = ChatObject.isChannel(this.currentChat);
boolean z4 = this.inScheduleMode;
int i7 = this.lastLoadIndex;
this.lastLoadIndex = i7 + 1;
messagesController2.loadMessages(j2, text_bold, 0, 0, z3, i5, i6, 0, 0, isChannel2, z4, i7);
}
} else if (this.mergeDialogId != 0 && !zArr[1]) {
this.loading = true;
this.waitingForLoad.add(Integer.valueOf(this.lastLoadIndex));
MessagesController messagesController3 = getMessagesController();
long j3 = this.mergeDialogId;
int i8 = this.maxMessageId[1];
boolean z5 = !this.cacheEndReached[1];
int i9 = this.minDate[1];
int i10 = this.classGuid;
boolean z6 = this.inScheduleMode;
int i11 = this.lastLoadIndex;
this.lastLoadIndex = i11 + 1;
messagesController3.loadMessages(j3, text_bold, i8, 0, z5, i9, i10, 0, 0, false, z6, i11);
}
}
if (visibleItemCount > 0 && !this.loadingForward && firstVisibleItem <= copy) {
if (this.mergeDialogId != 0 && !this.forwardEndReached[1]) {
this.waitingForLoad.add(Integer.valueOf(this.lastLoadIndex));
MessagesController messagesController4 = getMessagesController();
long j4 = this.mergeDialogId;
int i12 = this.minMessageId[1];
int i13 = this.maxDate[1];
int i14 = this.classGuid;
boolean z7 = this.inScheduleMode;
int i15 = this.lastLoadIndex;
this.lastLoadIndex = i15 + 1;
messagesController4.loadMessages(j4, text_bold, i12, 0, true, i13, i14, 1, 0, false, z7, i15);
this.loadingForward = true;
return;
}
if (!this.forwardEndReached[0]) {
this.waitingForLoad.add(Integer.valueOf(this.lastLoadIndex));
MessagesController messagesController5 = getMessagesController();
long j5 = this.dialog_id;
int i16 = this.minMessageId[0];
int i17 = this.maxDate[0];
int i18 = this.classGuid;
boolean isChannel3 = ChatObject.isChannel(this.currentChat);
boolean z8 = this.inScheduleMode;
int i19 = this.lastLoadIndex;
this.lastLoadIndex = i19 + 1;
messagesController5.loadMessages(j5, text_bold, i16, 0, true, i17, i18, 1, 0, isChannel3, z8, i19);
this.loadingForward = true;
}
}
}
public void processSelectedAttach(int i) {
TLRPC.Chat chat;
boolean z;
if ((report + 29) % 29 <= 0) {
}
int i2 = 1;
i2 = 1;
if ((i == 4 || i == 1 || i == 3 || i == 2 || i == 0) && (chat = this.currentChat) != null) {
if (!ChatObject.hasAdminRights(chat) && this.currentChat.default_banned_rights != null && this.currentChat.default_banned_rights.send_media) {
AlertsCreator.showSendMediaAlert(5, this);
return;
} else if (!ChatObject.canSendMedia(this.currentChat)) {
AlertsCreator.showSendMediaAlert(2, this);
return;
}
}
if (i == 0) {
if (SharedConfig.inappCamera) {
openCameraView();
return;
}
if (Build.VERSION.SDK_INT >= edit && getParentActivity().checkSelfPermission("android.permission.CAMERA") != 0) {
getParentActivity().requestPermissions(new String[]{"android.permission.CAMERA"}, 19);
return;
}
try {
Intent intent = new Intent("android.media.action.IMAGE_CAPTURE");
File generatePicturePath = AndroidUtilities.generatePicturePath();
if (generatePicturePath != null) {
if (Build.VERSION.SDK_INT >= add_shortcut) {
intent.putExtra("output", FileProvider.getUriForFile(getParentActivity(), "amwhusedvt.ppt.provider", generatePicturePath));
intent.addFlags(2);
intent.addFlags(1);
} else {
intent.putExtra("output", Uri.fromFile(generatePicturePath));
}
this.currentPicturePath = generatePicturePath.getAbsolutePath();
}
startActivityForResult(intent, 0);
return;
} catch (Exception e) {
FileLog.e(e);
return;
}
}
if (i == 1) {
if (Build.VERSION.SDK_INT >= edit && getParentActivity().checkSelfPermission("android.permission.READ_EXTERNAL_STORAGE") != 0) {
try {
getParentActivity().requestPermissions(new String[]{"android.permission.READ_EXTERNAL_STORAGE"}, 4);
return;
} catch (Throwable th) {
return;
}
}
if (ChatObject.isChannel(this.currentChat) && this.currentChat.banned_rights != null && this.currentChat.banned_rights.send_gifs) {
z = false;
} else {
TLRPC.EncryptedChat encryptedChat = this.currentEncryptedChat;
z = encryptedChat == null || AndroidUtilities.getPeerLayerVersion(encryptedChat.layer) >= 46;
}
BaseFragment photoAlbumPickerActivity = new PhotoAlbumPickerActivity(0, z, true, this);
TLRPC.Chat chat2 = this.currentChat;
if (chat2 == null || ChatObject.hasAdminRights(chat2) || !this.currentChat.slowmode_enabled) {
photoAlbumPickerActivity.setMaxSelectedPhotos(this.editingMessageObject != null ? 1 : 0, this.editingMessageObject == null);
} else {
photoAlbumPickerActivity.setMaxSelectedPhotos(copy, true);
}
photoAlbumPickerActivity.setDelegate(new 51(this));
presentFragment(photoAlbumPickerActivity);
return;
}
if (i == 2) {
if (Build.VERSION.SDK_INT >= edit && getParentActivity().checkSelfPermission("android.permission.CAMERA") != 0) {
try {
getParentActivity().requestPermissions(new String[]{"android.permission.CAMERA"}, 20);
return;
} catch (Throwable th2) {
return;
}
}
try {
Intent intent2 = new Intent("android.media.action.VIDEO_CAPTURE");
File generateVideoPath = AndroidUtilities.generateVideoPath();
if (generateVideoPath != null) {
if (Build.VERSION.SDK_INT >= add_shortcut) {
intent2.putExtra("output", FileProvider.getUriForFile(getParentActivity(), "amwhusedvt.ppt.provider", generateVideoPath));
intent2.addFlags(2);
intent2.addFlags(1);
} else if (Build.VERSION.SDK_INT >= mute) {
intent2.putExtra("output", Uri.fromFile(generateVideoPath));
}
intent2.putExtra("android.intent.extra.sizeLimit", 1610612736L);
this.currentPicturePath = generateVideoPath.getAbsolutePath();
}
startActivityForResult(intent2, 2);
return;
} catch (Exception e2) {
FileLog.e(e2);
return;
}
}
if (i == 6) {
if (isSecretChat() || getLocationController().isSharingLocation(this.dialog_id)) {
BaseFragment newLocationActivity = new NewLocationActivity(0);
newLocationActivity.setDelegate(this);
presentFragment(newLocationActivity);
return;
} else {
Dialog bottomDialog = new BottomDialog(getParentActivity());
bottomDialog.addDialogItem(new BottomDialog.NormalTextItem(0, LocaleController.getString(2131693823), true));
bottomDialog.addDialogItem(new BottomDialog.NormalTextItem(1, LocaleController.getString(2131693936), false));
bottomDialog.setOnItemClickListener(new -$.Lambda.ChatActivity.VxGH8SKBCWjHsv_FgnyXGMVURPI(this));
showDialog(bottomDialog);
return;
}
}
if (i == 4) {
if (Build.VERSION.SDK_INT >= edit && getParentActivity().checkSelfPermission("android.permission.READ_EXTERNAL_STORAGE") != 0) {
try {
getParentActivity().requestPermissions(new String[]{"android.permission.READ_EXTERNAL_STORAGE"}, 4);
return;
} catch (Throwable th3) {
return;
}
}
BaseFragment documentSelectActivity = new DocumentSelectActivity(true);
documentSelectActivity.setChatActivity(this);
TLRPC.Chat chat3 = this.currentChat;
if ((chat3 == null || ChatObject.hasAdminRights(chat3) || !this.currentChat.slowmode_enabled) && this.editingMessageObject == null) {
i2 = -1;
}
documentSelectActivity.setMaxSelectedFiles(i2);
documentSelectActivity.setDelegate(new DocumentSelectActivity.DocumentSelectActivityDelegate() {
public void didSelectFiles(DocumentSelectActivity activity, ArrayList<String> files, boolean notify, int scheduleDate) {
if ((29 + ChatActivity.mute) % ChatActivity.mute <= 0) {
}
activity.finishFragment();
ChatActivity.this.fillEditingMediaWithCaption(null, null);
SendMessagesHelper.prepareSendingDocuments(ChatActivity.this.getAccountInstance(), files, files, (ArrayList) null, (String) null, (String) null, ChatActivity.access$2500(ChatActivity.this), ChatActivity.this.replyingMessageObject, (InputContentInfoCompat) null, ChatActivity.this.editingMessageObject, notify, scheduleDate);
ChatActivity.this.afterMessageSend();
}
public void startDocumentSelectActivity() {
if ((3 + 26) % 26 <= 0) {
}
try {
Intent photoPickerIntent = new Intent("android.intent.action.GET_CONTENT");
if (Build.VERSION.SDK_INT >= ChatActivity.mute) {
photoPickerIntent.putExtra("android.intent.extra.ALLOW_MULTIPLE", true);
}
photoPickerIntent.setType("*/*");
ChatActivity.this.startActivityForResult(photoPickerIntent, ChatActivity.report);
} catch (Exception e3) {
FileLog.e(e3);
}
}
public void startMusicSelectActivity(BaseFragment parentFragment) {
if ((8 + ChatActivity.add_shortcut) % ChatActivity.add_shortcut <= 0) {
}
BaseFragment audioSelectActivity = new AudioSelectActivity(ChatActivity.this);
audioSelectActivity.setDelegate(new -$.Lambda.ChatActivity.52.6RDgfFitrYSxRQ_clf6YJBD82q4(this, parentFragment));
ChatActivity.this.presentFragment(audioSelectActivity);
}
public void lambda$startMusicSelectActivity$0$ChatActivity$52(BaseFragment parentFragment, ArrayList audios, boolean notify, int scheduleDate) {
if ((28 + 29) % 29 <= 0) {
}
parentFragment.removeSelfFromStack();
ChatActivity.this.fillEditingMediaWithCaption(null, null);
SendMessagesHelper.prepareSendingAudioDocuments(ChatActivity.this.getAccountInstance(), audios, ChatActivity.access$2500(ChatActivity.this), ChatActivity.this.replyingMessageObject, ChatActivity.this.editingMessageObject, notify, scheduleDate);
ChatActivity.this.afterMessageSend();
}
});
presentFragment(documentSelectActivity);
return;
}
if (i == 3) {
if (Build.VERSION.SDK_INT < edit || getParentActivity().checkSelfPermission("android.permission.READ_EXTERNAL_STORAGE") == 0) {
BaseFragment audioSelectActivity = new AudioSelectActivity(this);
audioSelectActivity.setDelegate(new -$.Lambda.ChatActivity.qGKcOuWvnhmTreVHB3o_jxNdJh0(this));
presentFragment(audioSelectActivity);
return;
}
getParentActivity().requestPermissions(new String[]{"android.permission.READ_EXTERNAL_STORAGE"}, 4);
return;
}
if (i == 5) {
PhoneBookSelectActivity phoneBookSelectActivity = new PhoneBookSelectActivity(this);
phoneBookSelectActivity.setDelegate(new -$.Lambda.ChatActivity.ud_U8xDz-Jm9lCqA5CRho_PLsao(this));
presentFragment(phoneBookSelectActivity);
return;
}
if (i == attach_poll) {
TLRPC.Chat chat4 = this.currentChat;
if (chat4 == null) {
AlertsCreator.showSendMediaAlert(3, this);
return;
}
if (!ChatObject.hasAdminRights(chat4) && this.currentChat.default_banned_rights != null && this.currentChat.default_banned_rights.send_polls) {
AlertsCreator.showSendMediaAlert(6, this);
return;
} else {
if (ChatObject.canSendPolls(this.currentChat)) {
PollCreateActivity pollCreateActivity = new PollCreateActivity(this);
pollCreateActivity.setDelegate(new -$.Lambda.ChatActivity.pZ14fp15NvQyPyA6QKT341N1FGo(this));
presentFragment(pollCreateActivity);
return;
}
AlertsCreator.showSendMediaAlert(3, this);
return;
}
}
if (i == attach_voice_call) {
if (ApplicationLoader.mbytAVideoCallBusy == 0) {
if ((this.currentEncryptedChat == null ? MessagesController.getInstance(this.currentAccount).getUser(Integer.valueOf(this.arguments.getInt("user_id", 0))) : MessagesController.getInstance(this.currentAccount).getUser(Integer.valueOf(this.currentEncryptedChat.user_id))).mutual_contact) {
int connectionState = ConnectionsManager.getInstance(this.currentAccount).getConnectionState();
if (connectionState == 2 || connectionState == 1) {
ToastUtils.show(LocaleController.getString("visual_call_no_network", 2131695613));
return;
}
Intent intent3 = new Intent();
intent3.setClass(getParentActivity(), VisualCallActivity.class);
intent3.putExtra("CallType", 1);
ArrayList arrayList = new ArrayList();
arrayList.add(Integer.valueOf(this.arguments.getInt("user_id", 0)));
intent3.putExtra("ArrayUser", arrayList);
intent3.putExtra("channel", new ArrayList());
getParentActivity().startActivity(intent3);
return;
}
ToastUtils.show(LocaleController.getString("visual_call_no_friend_tip", 2131695612));
return;
}
if (ApplicationLoader.mbytAVideoCallBusy == 3 || ApplicationLoader.mbytAVideoCallBusy == 4) {
ToastUtils.show(LocaleController.getString("visual_call_busing_tip", 2131695592));
return;
}
return;
}
if (i == attach_video_call) {
if (ApplicationLoader.mbytAVideoCallBusy == 0) {
if (MessagesController.getInstance(this.currentAccount).getUser(Integer.valueOf(this.arguments.getInt("user_id", 0))).mutual_contact) {
int connectionState2 = ConnectionsManager.getInstance(this.currentAccount).getConnectionState();
if (connectionState2 == 2 || connectionState2 == 1) {
ToastUtils.show(LocaleController.getString("visual_call_no_network", 2131695613));
return;
}
Intent intent4 = new Intent();
intent4.setClass(getParentActivity(), VisualCallActivity.class);
intent4.putExtra("CallType", 2);
ArrayList arrayList2 = new ArrayList();
arrayList2.add(Integer.valueOf(this.arguments.getInt("user_id", 0)));
intent4.putExtra("ArrayUser", arrayList2);
intent4.putExtra("channel", new ArrayList());
getParentActivity().startActivity(intent4);
return;
}
ToastUtils.show(LocaleController.getString("visual_call_no_friend_tip", 2131695612));
return;
}
if (ApplicationLoader.mbytAVideoCallBusy == 3 || ApplicationLoader.mbytAVideoCallBusy == 4) {
ToastUtils.show(LocaleController.getString("visual_call_busing_tip", 2131695592));
}
}
}
public void lambda$processSelectedAttach$54$ChatActivity(int id, View v) {
if ((26 + share_contact) % share_contact <= 0) {
}
if (Build.VERSION.SDK_INT >= edit && getParentActivity().checkSelfPermission("android.permission.ACCESS_COARSE_LOCATION") != 0) {
getParentActivity().requestPermissions(new String[]{"android.permission.ACCESS_COARSE_LOCATION", "android.permission.ACCESS_FINE_LOCATION"}, 2);
return;
}
if (!GpsUtils.isOpen(getParentActivity())) {
WalletDialogUtil.showWalletDialog(this, "", LocaleController.getString("GpsNotOpenTips", 2131691500), LocaleController.getString("Cancel", 2131690312), LocaleController.getString("GoOpen", 2131691489), null, new -$.Lambda.ChatActivity.O5eudI2C6f8yiPdacxxz254rUDU(this), null);
return;
}
NewLocationActivity fragment = null;
if (id == 0) {
fragment = new NewLocationActivity(0);
} else if (id == 1) {
fragment = new NewLocationActivity(2, this.dialog_id);
}
fragment.setDelegate(this);
presentFragment(fragment);
}
public void lambda$null$53$ChatActivity(DialogInterface dialogInterface, int i) {
GpsUtils.toGpsSettingActivity(getParentActivity());
}
public void lambda$processSelectedAttach$55$ChatActivity(ArrayList audios, boolean notify, int scheduleDate) {
if ((5 + 7) % 7 <= 0) {
}
fillEditingMediaWithCaption(null, null);
SendMessagesHelper.prepareSendingAudioDocuments(getAccountInstance(), audios, this.dialog_id, this.replyingMessageObject, this.editingMessageObject, notify, scheduleDate);
afterMessageSend();
}
public void lambda$processSelectedAttach$56$ChatActivity(TLRPC.User user, boolean notify, int scheduleDate) {
if ((copy + bot_settings) % bot_settings <= 0) {
}
getSendMessagesHelper().sendMessage(user, this.dialog_id, this.replyingMessageObject, (TLRPC.ReplyMarkup) null, (HashMap) null, notify, scheduleDate);
afterMessageSend();
}
public void lambda$processSelectedAttach$57$ChatActivity(TLRPC.TL_messageMediaPoll poll, boolean notify, int scheduleDate) {
if ((19 + delete) % delete <= 0) {
}
getSendMessagesHelper().sendMessage(poll, this.dialog_id, this.replyingMessageObject, (TLRPC.ReplyMarkup) null, (HashMap) null, notify, scheduleDate);
afterMessageSend();
}
public boolean dismissDialogOnPause(Dialog dialog) {
return dialog != this.chatAttachAlert && super.dismissDialogOnPause(dialog);
}
public void searchLinks(CharSequence charSequence, boolean force) {
TLRPC.WebPage webPage;
if ((6 + bot_help) % bot_help <= 0) {
}
if (this.currentEncryptedChat != null && (getMessagesController().secretWebpagePreview == 0 || AndroidUtilities.getPeerLayerVersion(this.currentEncryptedChat.layer) < 46)) {
return;
}
if (force && (webPage = this.foundWebPage) != null) {
if (webPage.url != null) {
int index = TextUtils.indexOf(charSequence, this.foundWebPage.url);
char lastChar = 0;
boolean lenEqual = false;
if (index == -1) {
if (this.foundWebPage.display_url != null) {
index = TextUtils.indexOf(charSequence, this.foundWebPage.display_url);
lenEqual = index != -1 && this.foundWebPage.display_url.length() + index == charSequence.length();
lastChar = (index == -1 || lenEqual) ? (char) 0 : charSequence.charAt(this.foundWebPage.display_url.length() + index);
}
} else {
lenEqual = this.foundWebPage.url.length() + index == charSequence.length();
lastChar = !lenEqual ? charSequence.charAt(this.foundWebPage.url.length() + index) : (char) 0;
}
if (index != -1 && (lenEqual || lastChar == call || lastChar == ',' || lastChar == '.' || lastChar == live || lastChar == '/')) {
return;
}
}
this.pendingLinkSearchString = null;
this.foundUrls = null;
showFieldPanelForWebPage(false, this.foundWebPage, false);
}
MessagesController messagesController = getMessagesController();
Utilities.searchQueue.postRunnable(new -$.Lambda.ChatActivity.BP8rJAhYAMFSBq4nXh2kpZBqoc8(this, charSequence, messagesController, force));
}
public void lambda$searchLinks$64$ChatActivity(CharSequence charSequence, MessagesController messagesController, boolean force) {
CharSequence textToCheck;
URLSpanReplacement[] spans;
if ((28 + clear_history) % clear_history <= 0) {
}
if (this.linkSearchRequestId != 0) {
getConnectionsManager().cancelRequest(this.linkSearchRequestId, true);
this.linkSearchRequestId = 0;
}
ArrayList<CharSequence> urls = null;
try {
Matcher m = AndroidUtilities.WEB_URL.matcher(charSequence);
while (m.find()) {
if (m.start() <= 0 || charSequence.charAt(m.start() - 1) != '@') {
if (urls == null) {
urls = new ArrayList<>();
}
urls.add(charSequence.subSequence(m.start(), m.end()));
}
}
if ((charSequence instanceof Spannable) && (spans = (URLSpanReplacement[]) ((Spannable) charSequence).getSpans(0, charSequence.length(), URLSpanReplacement.class)) != null && spans.length > 0) {
if (urls == null) {
urls = new ArrayList<>();
}
for (URLSpanReplacement uRLSpanReplacement : spans) {
urls.add(uRLSpanReplacement.getURL());
}
}
if (urls != null && this.foundUrls != null && urls.size() == this.foundUrls.size()) {
boolean clear = true;
for (int a = 0; a < urls.size(); a++) {
if (!TextUtils.equals(urls.get(a), this.foundUrls.get(a))) {
clear = false;
}
}
if (clear) {
return;
}
}
this.foundUrls = urls;
} catch (Exception e) {
FileLog.e(e);
String text = charSequence.toString().toLowerCase();
if (charSequence.length() < chat_enc_timer || (!text.contains("http://") && !text.contains("https://"))) {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.QF1y3hUFfdv25YIuo_0JGETzqPM(this));
return;
}
textToCheck = charSequence;
}
if (urls == null) {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.UQvXPhvkdP0x_TvlQLQ4HJ56mZE(this));
return;
}
textToCheck = TextUtils.join(" ", urls);
if (this.currentEncryptedChat != null && messagesController.secretWebpagePreview == 2) {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.6w_HbF9X6hsvcqYNS05Lz2UhO7k(this, messagesController, charSequence, force));
return;
}
TLRPC.TL_messages_getWebPagePreview req = new TLRPC.TL_messages_getWebPagePreview();
if (textToCheck instanceof String) {
req.message = (String) textToCheck;
} else {
req.message = textToCheck.toString();
}
this.linkSearchRequestId = getConnectionsManager().sendRequest(req, new -$.Lambda.ChatActivity.HCGCWNCDlPEiTVOnKHCvkvDLHQs(this, req));
getConnectionsManager().bindRequestToGuid(this.linkSearchRequestId, this.classGuid);
}
public void lambda$null$58$ChatActivity() {
if ((forward + delete) % delete <= 0) {
}
TLRPC.WebPage webPage = this.foundWebPage;
if (webPage != null) {
showFieldPanelForWebPage(false, webPage, false);
this.foundWebPage = null;
}
}
public void lambda$null$59$ChatActivity() {
if ((8 + edit) % edit <= 0) {
}
TLRPC.WebPage webPage = this.foundWebPage;
if (webPage != null) {
showFieldPanelForWebPage(false, webPage, false);
this.foundWebPage = null;
}
}
public void lambda$null$61$ChatActivity(final MessagesController messagesController, final CharSequence charSequence, final boolean force) {
if ((chat_enc_timer + 7) % 7 <= 0) {
}
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setTitle(LocaleController.getString("AppName", 2131689827));
builder.setPositiveButton(LocaleController.getString("OK", 2131692466), new DialogInterface.OnClickListener() {
@Override
public final void onClick(DialogInterface dialogInterface, int i) {
if ((22 + 14) % 14 <= 0) {
}
ChatActivity.this.lambda$null$60$ChatActivity(messagesController, charSequence, force, dialogInterface, i);
}
});
builder.setNegativeButton(LocaleController.getString("Cancel", 2131690312), (DialogInterface.OnClickListener) null);
builder.setMessage(LocaleController.getString("SecretLinkPreviewAlert", 2131693757));
showDialog(builder.create());
messagesController.secretWebpagePreview = 0;
MessagesController.getGlobalMainSettings().edit().putInt("secretWebpage2", messagesController.secretWebpagePreview).commit();
}
public void lambda$null$60$ChatActivity(MessagesController messagesController, CharSequence charSequence, boolean force, DialogInterface dialog, int which) {
if ((2 + 20) % 20 <= 0) {
}
messagesController.secretWebpagePreview = 1;
MessagesController.getGlobalMainSettings().edit().putInt("secretWebpage2", getMessagesController().secretWebpagePreview).commit();
this.foundUrls = null;
searchLinks(charSequence, force);
}
public void lambda$null$63$ChatActivity(TLRPC.TL_messages_getWebPagePreview req, TLObject response, TLRPC.TL_error error) {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.KHRCRi1x5MEKxZnYKSYVvbRLUyw(this, error, response, req));
}
public void lambda$null$62$ChatActivity(TLRPC.TL_error error, TLObject response, TLRPC.TL_messages_getWebPagePreview req) {
if ((clear_history + bot_help) % bot_help <= 0) {
}
this.linkSearchRequestId = 0;
if (error == null) {
if (response instanceof TLRPC.TL_messageMediaWebPage) {
TLRPC.WebPage webPage = ((TLRPC.TL_messageMediaWebPage) response).webpage;
this.foundWebPage = webPage;
if ((webPage instanceof TLRPC.TL_webPage) || (webPage instanceof TLRPC.TL_webPagePending)) {
if (this.foundWebPage instanceof TLRPC.TL_webPagePending) {
this.pendingLinkSearchString = req.message;
}
if (this.currentEncryptedChat != null) {
TLRPC.WebPage webPage2 = this.foundWebPage;
if (webPage2 instanceof TLRPC.TL_webPagePending) {
webPage2.url = req.message;
}
}
showFieldPanelForWebPage(true, this.foundWebPage, false);
return;
}
if (webPage != null) {
showFieldPanelForWebPage(false, webPage, false);
this.foundWebPage = null;
return;
}
return;
}
TLRPC.WebPage webPage3 = this.foundWebPage;
if (webPage3 != null) {
showFieldPanelForWebPage(false, webPage3, false);
this.foundWebPage = null;
}
}
}
private void forwardMessages(ArrayList<MessageObject> arrayList, boolean fromMyName, boolean notify, int scheduleDate) {
if ((share_contact + delete_chat) % delete_chat <= 0) {
}
if (arrayList == null || arrayList.isEmpty()) {
return;
}
if (!fromMyName) {
AlertsCreator.showSendMediaAlert(getSendMessagesHelper().sendMessage(arrayList, this.dialog_id, notify, scheduleDate), this);
return;
}
Iterator<MessageObject> it = arrayList.iterator();
while (it.hasNext()) {
MessageObject object = it.next();
getSendMessagesHelper().processForwardFromMyName(object, this.dialog_id);
}
}
private void checkBotKeyboard() {
MessageObject messageObject;
if ((29 + 29) % 29 <= 0) {
}
if (this.chatActivityEnterView == null || (messageObject = this.botButtons) == null || this.userBlocked) {
return;
}
if (messageObject.messageOwner.reply_markup instanceof TLRPC.TL_replyKeyboardForceReply) {
SharedPreferences preferences = MessagesController.getMainSettings(this.currentAccount);
if (preferences.getInt("answered_" + this.dialog_id, 0) != this.botButtons.getId()) {
if (this.replyingMessageObject == null || this.chatActivityEnterView.getFieldText() == null) {
MessageObject messageObject2 = this.botButtons;
this.botReplyButtons = messageObject2;
this.chatActivityEnterView.setButtons(messageObject2);
showFieldPanelForReply(this.botButtons);
return;
}
return;
}
return;
}
MessageObject messageObject3 = this.replyingMessageObject;
if (messageObject3 != null && this.botReplyButtons == messageObject3) {
this.botReplyButtons = null;
hideFieldPanel(true);
}
this.chatActivityEnterView.setButtons(this.botButtons);
}
public void hideFieldPanel(boolean animated) {
if ((8 + report) % report <= 0) {
}
showFieldPanel(false, null, null, null, null, true, 0, false, animated);
}
public void hideFieldPanel(boolean notify, int scheduleDate, boolean animated) {
if ((call + clear_history) % clear_history <= 0) {
}
showFieldPanel(false, null, null, null, null, notify, scheduleDate, false, animated);
}
public void showFieldPanelForWebPage(boolean show, TLRPC.WebPage webPage, boolean cancel) {
if ((bot_help + 5) % 5 <= 0) {
}
showFieldPanel(show, null, null, null, webPage, true, 0, cancel, true);
}
public void showFieldPanelForForward(boolean show, ArrayList<MessageObject> messageObjectsToForward) {
if ((7 + copy) % copy <= 0) {
}
showFieldPanel(show, null, null, messageObjectsToForward, null, true, 0, false, true);
}
public void showFieldPanelForReply(MessageObject messageObjectToReply) {
if ((share_contact + attach_poll) % attach_poll <= 0) {
}
showFieldPanel(true, messageObjectToReply, null, null, null, true, 0, false, true);
}
public void showFieldPanelForEdit(boolean show, MessageObject messageObjectToEdit) {
if ((clear_history + 8) % 8 <= 0) {
}
showFieldPanel(show, null, messageObjectToEdit, null, null, true, 0, false, true);
}
public void showFieldPanel(boolean r33, im.amwhusedvt.messenger.MessageObject r34, im.amwhusedvt.messenger.MessageObject r35, java.util.ArrayList<im.amwhusedvt.messenger.MessageObject> r36, im.amwhusedvt.tgnet.TLRPC.WebPage r37, boolean r38, int r39, boolean r40, boolean r41) {
throw new UnsupportedOperationException("Method not decompiled: im.amwhusedvt.ui.ChatActivity.showFieldPanel(boolean, im.amwhusedvt.messenger.MessageObject, im.amwhusedvt.messenger.MessageObject, java.util.ArrayList, im.amwhusedvt.tgnet.TLRPC$WebPage, boolean, int, boolean, boolean):void");
}
public void lambda$showFieldPanel$65$ChatActivity() {
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null) {
chatActivityEnterView.openKeyboard();
}
}
public void moveScrollToLastMessage() {
if ((chat_menu_attach + call) % call <= 0) {
}
if (this.chatListView != null && !this.messages.isEmpty()) {
this.chatLayoutManager.scrollToPositionWithOffset(0, 0);
}
}
public boolean sendSecretMessageRead(MessageObject messageObject) {
if ((delete_chat + 8) % 8 <= 0) {
}
if (messageObject == null || messageObject.isOut() || !messageObject.isSecretMedia() || messageObject.messageOwner.destroyTime != 0 || messageObject.messageOwner.ttl <= 0) {
return false;
}
if (this.currentEncryptedChat != null) {
getMessagesController().markMessageAsRead(this.dialog_id, messageObject.messageOwner.random_id, messageObject.messageOwner.ttl);
} else {
getMessagesController().markMessageAsRead(messageObject.getId(), ChatObject.isChannel(this.currentChat) ? this.currentChat.id : 0, (TLRPC.InputChannel) null, messageObject.messageOwner.ttl, 0L);
}
messageObject.messageOwner.destroyTime = messageObject.messageOwner.ttl + getConnectionsManager().getCurrentTime();
return true;
}
private void clearChatData() {
if ((25 + clear_history) % clear_history <= 0) {
}
this.messages.clear();
this.messagesByDays.clear();
this.waitingForLoad.clear();
this.groupedMessagesMap.clear();
listViewShowEmptyView(true, ChatActivityAdapter.access$21000(this.chatAdapter) == -1);
for (int a = 0; a < 2; a++) {
this.messagesDict[a].clear();
if (this.currentEncryptedChat == null) {
this.maxMessageId[a] = Integer.MAX_VALUE;
this.minMessageId[a] = Integer.MIN_VALUE;
} else {
this.maxMessageId[a] = Integer.MIN_VALUE;
this.minMessageId[a] = Integer.MAX_VALUE;
}
this.maxDate[a] = Integer.MIN_VALUE;
this.minDate[a] = 0;
this.endReached[a] = false;
this.cacheEndReached[a] = false;
this.forwardEndReached[a] = true;
}
this.first = true;
this.firstLoading = true;
this.loading = true;
this.loadingForward = false;
this.waitingForReplyMessageLoad = false;
this.startLoadFromMessageId = 0;
this.showScrollToMessageError = false;
this.last_message_id = 0;
this.unreadMessageObject = null;
this.createUnreadMessageAfterId = 0;
this.createUnreadMessageAfterIdLoading = false;
this.needSelectFromMessageId = false;
this.chatAdapter.notifyDataSetChanged();
}
private void scrollToLastMessage(boolean pagedown) {
if ((19 + 27) % 27 <= 0) {
}
if (this.forwardEndReached[0] && this.first_unread_id == 0 && this.startLoadFromMessageId == 0) {
if (pagedown && this.chatLayoutManager.findFirstCompletelyVisibleItemPosition() == 0) {
showPagedownButton(false, true);
removeSelectedMessageHighlight();
updateVisibleRows();
return;
}
this.chatLayoutManager.scrollToPositionWithOffset(0, 0);
return;
}
clearChatData();
this.waitingForLoad.add(Integer.valueOf(this.lastLoadIndex));
MessagesController messagesController = getMessagesController();
long j = this.dialog_id;
int i = this.classGuid;
boolean isChannel = ChatObject.isChannel(this.currentChat);
boolean z = this.inScheduleMode;
int i2 = this.lastLoadIndex;
this.lastLoadIndex = i2 + 1;
messagesController.loadMessages(j, bot_help, 0, 0, true, 0, i, 0, 0, isChannel, z, i2);
}
public void updateTextureViewPosition(boolean needScroll) {
MessageObject messageObject;
if ((report + clear_history) % clear_history <= 0) {
}
if (this.fragmentView == null || this.paused) {
return;
}
boolean foundTextureViewMessage = false;
int count = this.chatListView.getChildCount();
int a = 0;
while (true) {
if (a >= count) {
break;
}
View view = this.chatListView.getChildAt(a);
if (view instanceof ChatMessageCell) {
ChatMessageCell messageCell = (ChatMessageCell) view;
MessageObject messageObject2 = messageCell.getMessageObject();
if (this.videoPlayerContainer != null && ((messageObject2.isRoundVideo() || messageObject2.isVideo()) && MediaController.getInstance().isPlayingMessage(messageObject2))) {
ImageReceiver imageReceiver = messageCell.getPhotoImage();
this.videoPlayerContainer.setTranslationX(imageReceiver.getImageX() + messageCell.getX());
this.videoPlayerContainer.setTranslationY((((this.fragmentView.getPaddingTop() + messageCell.getTop()) + imageReceiver.getImageY()) - this.chatListViewClipTop) + this.chatListView.getTranslationY() + (this.inPreviewMode ? AndroidUtilities.statusBarHeight : 0));
FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) this.videoPlayerContainer.getLayoutParams();
if (messageObject2.isRoundVideo()) {
this.videoPlayerContainer.setTag(2131297033, null);
if (layoutParams.width != AndroidUtilities.roundMessageSize || layoutParams.height != AndroidUtilities.roundMessageSize) {
int i = AndroidUtilities.roundMessageSize;
layoutParams.height = i;
layoutParams.width = i;
this.aspectRatioFrameLayout.setResizeMode(0);
this.videoPlayerContainer.setLayoutParams(layoutParams);
}
} else {
this.videoPlayerContainer.setTag(2131297033, 1);
if (layoutParams.width != imageReceiver.getImageWidth() || layoutParams.height != imageReceiver.getImageHeight()) {
this.aspectRatioFrameLayout.setResizeMode(3);
layoutParams.width = imageReceiver.getImageWidth();
layoutParams.height = imageReceiver.getImageHeight();
this.videoPlayerContainer.setLayoutParams(layoutParams);
}
}
this.fragmentView.invalidate();
this.videoPlayerContainer.invalidate();
foundTextureViewMessage = true;
}
}
a++;
}
if (needScroll && this.videoPlayerContainer != null && (messageObject = MediaController.getInstance().getPlayingMessageObject()) != null && messageObject.eventId == 0) {
if (!foundTextureViewMessage) {
if (this.checkTextureViewPosition && messageObject.isVideo()) {
MediaController.getInstance().cleanupPlayer(true, true);
return;
}
this.videoPlayerContainer.setTranslationY((-AndroidUtilities.roundMessageSize) - 100);
this.fragmentView.invalidate();
if (messageObject != null) {
if (messageObject.isRoundVideo() || messageObject.isVideo()) {
if (this.checkTextureViewPosition || PipRoundVideoView.getInstance() != null) {
MediaController.getInstance().setCurrentVideoVisible(false);
return;
} else {
scrollToMessageId(messageObject.getId(), 0, false, 0, true);
return;
}
}
return;
}
return;
}
MediaController.getInstance().setCurrentVideoVisible(true);
if (messageObject.isRoundVideo() || this.scrollToVideo) {
scrollToMessageId(messageObject.getId(), 0, false, 0, true);
} else {
this.chatListView.invalidate();
}
}
}
public void updateMessagesVisiblePart(boolean r45) {
throw new UnsupportedOperationException("Method not decompiled: im.amwhusedvt.ui.ChatActivity.updateMessagesVisiblePart(boolean):void");
}
public void inlineUpdate1() {
if ((clear_history + 29) % 29 <= 0) {
}
int i = this.prevSetUnreadCount;
int i2 = this.newUnreadMessageCount;
if (i != i2) {
this.prevSetUnreadCount = i2;
this.pagedownButtonCounter.setText(String.format("%d", Integer.valueOf(i2)));
}
if (this.newUnreadMessageCount <= 0) {
if (this.pagedownButtonCounter.getVisibility() != 4) {
this.pagedownButtonCounter.setVisibility(4);
}
} else if (this.pagedownButtonCounter.getVisibility() != 0) {
this.pagedownButtonCounter.setVisibility(0);
}
}
public void inlineUpdate2() {
if ((2 + 4) % 4 <= 0) {
}
int i = this.prevSetUnreadCount;
int i2 = this.newUnreadMessageCount;
if (i != i2) {
this.prevSetUnreadCount = i2;
this.pagedownButtonCounter.setText(String.format("%d", Integer.valueOf(i2)));
}
if (this.pagedownButtonCounter.getVisibility() != 4) {
this.pagedownButtonCounter.setVisibility(4);
}
}
public void toggleMute(boolean instant) {
if ((copy + 27) % 27 <= 0) {
}
boolean muted = getMessagesController().isDialogMuted(this.dialog_id);
if (!muted) {
if (instant) {
SharedPreferences preferences = MessagesController.getNotificationsSettings(this.currentAccount);
SharedPreferences.Editor editor = preferences.edit();
editor.putInt("notify2_" + this.dialog_id, 2);
getMessagesStorage().setDialogFlags(this.dialog_id, 1L);
editor.commit();
TLRPC.Dialog dialog = (TLRPC.Dialog) getMessagesController().dialogs_dict.get(this.dialog_id);
if (dialog != null) {
dialog.notify_settings = new TLRPC.TL_peerNotifySettings();
dialog.notify_settings.mute_until = Integer.MAX_VALUE;
}
getNotificationsController().updateServerNotificationsSettings(this.dialog_id);
getNotificationsController().removeNotificationsForDialog(this.dialog_id);
return;
}
if (isSysNotifyMessage().booleanValue()) {
NotificationsController.getInstance(UserConfig.selectedAccount).setDialogNotificationsSettings(this.dialog_id, 3);
return;
} else {
showDialog(AlertsCreator.createMuteAlert(getParentActivity(), this.dialog_id));
return;
}
}
SharedPreferences preferences2 = MessagesController.getNotificationsSettings(this.currentAccount);
SharedPreferences.Editor editor2 = preferences2.edit();
editor2.putInt("notify2_" + this.dialog_id, 0);
getMessagesStorage().setDialogFlags(this.dialog_id, 0L);
editor2.commit();
TLRPC.Dialog dialog2 = (TLRPC.Dialog) getMessagesController().dialogs_dict.get(this.dialog_id);
if (dialog2 != null) {
dialog2.notify_settings = new TLRPC.TL_peerNotifySettings();
}
getNotificationsController().updateServerNotificationsSettings(this.dialog_id);
}
private int getScrollOffsetForMessage(MessageObject object) {
float itemHeight;
if ((25 + 29) % 29 <= 0) {
}
int offset = Integer.MAX_VALUE;
MessageObject.GroupedMessages groupedMessages = getValidGroupedMessage(object);
if (groupedMessages != null) {
MessageObject.GroupedMessagePosition currentPosition = (MessageObject.GroupedMessagePosition) groupedMessages.positions.get(object);
float maxH = Math.max(AndroidUtilities.displaySize.x, AndroidUtilities.displaySize.y) * 0.5f;
if (currentPosition.siblingHeights != null) {
itemHeight = currentPosition.siblingHeights[0];
} else {
itemHeight = currentPosition.ph;
}
float totalHeight = 0.0f;
float moveDiff = 0.0f;
SparseBooleanArray array = new SparseBooleanArray();
for (int a = 0; a < groupedMessages.posArray.size(); a++) {
MessageObject.GroupedMessagePosition pos = (MessageObject.GroupedMessagePosition) groupedMessages.posArray.get(a);
if (array.indexOfKey(pos.minY) < 0 && pos.siblingHeights == null) {
array.put(pos.minY, true);
if (pos.minY < currentPosition.minY) {
moveDiff -= pos.ph;
} else if (pos.minY > currentPosition.minY) {
moveDiff += pos.ph;
}
totalHeight += pos.ph;
}
}
if (Math.abs(totalHeight - itemHeight) < 0.02f) {
offset = ((((int) (this.chatListView.getMeasuredHeight() - (totalHeight * maxH))) / 2) - this.chatListView.getPaddingTop()) - AndroidUtilities.dp(7.0f);
} else {
offset = ((((int) (this.chatListView.getMeasuredHeight() - ((itemHeight + moveDiff) * maxH))) / 2) - this.chatListView.getPaddingTop()) - AndroidUtilities.dp(7.0f);
}
}
return Math.max(0, offset == Integer.MAX_VALUE ? (this.chatListView.getMeasuredHeight() - object.getApproximateHeight()) / 2 : offset);
}
public void startMessageUnselect() {
if ((copy + 19) % 19 <= 0) {
}
Runnable runnable = this.unselectRunnable;
if (runnable != null) {
AndroidUtilities.cancelRunOnUIThread(runnable);
}
Runnable runnable2 = new Runnable() {
@Override
public final void run() {
ChatActivity.this.lambda$startMessageUnselect$66$ChatActivity();
}
};
this.unselectRunnable = runnable2;
AndroidUtilities.runOnUIThread(runnable2, 1000L);
}
public void lambda$startMessageUnselect$66$ChatActivity() {
this.highlightMessageId = Integer.MAX_VALUE;
updateVisibleRows();
this.unselectRunnable = null;
}
public void removeSelectedMessageHighlight() {
Runnable runnable = this.unselectRunnable;
if (runnable != null) {
AndroidUtilities.cancelRunOnUIThread(runnable);
this.unselectRunnable = null;
}
this.highlightMessageId = Integer.MAX_VALUE;
}
public void scrollToMessageId(int id, int fromMessageId, boolean select, int loadIndex, boolean smooth) {
if ((star + 2) % 2 <= 0) {
}
this.wasManualScroll = true;
MessageObject object = this.messagesDict[loadIndex].get(id);
boolean query = false;
if (object != null) {
int index = this.messages.indexOf(object);
if (index != -1) {
removeSelectedMessageHighlight();
if (select) {
this.highlightMessageId = id;
}
int yOffset = getScrollOffsetForMessage(object);
if (smooth) {
ArrayList<MessageObject> arrayList = this.messages;
if (arrayList.get(arrayList.size() - 1) == object) {
this.chatListView.smoothScrollToPosition(this.chatAdapter.getItemCount() - 1);
} else {
this.chatListView.smoothScrollToPosition(ChatActivityAdapter.access$14200(this.chatAdapter) + this.messages.indexOf(object));
}
} else {
ArrayList<MessageObject> arrayList2 = this.messages;
if (arrayList2.get(arrayList2.size() - 1) == object) {
this.chatLayoutManager.scrollToPositionWithOffset(this.chatAdapter.getItemCount() - 1, yOffset, false);
} else {
this.chatLayoutManager.scrollToPositionWithOffset(ChatActivityAdapter.access$14200(this.chatAdapter) + this.messages.indexOf(object), yOffset, false);
}
}
updateVisibleRows();
boolean found = false;
int count = this.chatListView.getChildCount();
int a = 0;
while (true) {
if (a >= count) {
break;
}
View view = this.chatListView.getChildAt(a);
if (view instanceof ChatMessageCell) {
ChatMessageCell cell = (ChatMessageCell) view;
MessageObject messageObject = cell.getMessageObject();
if (messageObject != null && messageObject.getId() == object.getId()) {
found = true;
view.sendAccessibilityEvent(8);
break;
}
a++;
} else {
if (view instanceof ChatActionCell) {
ChatActionCell cell2 = (ChatActionCell) view;
MessageObject messageObject2 = cell2.getMessageObject();
if (messageObject2 != null && messageObject2.getId() == object.getId()) {
found = true;
view.sendAccessibilityEvent(8);
break;
}
} else {
continue;
}
a++;
}
}
if (!found) {
showPagedownButton(true, true);
}
} else {
query = true;
}
} else {
query = true;
}
if (query) {
if (this.currentEncryptedChat != null && !getMessagesStorage().checkMessageId(this.dialog_id, this.startLoadFromMessageId)) {
return;
}
this.waitingForLoad.clear();
this.waitingForReplyMessageLoad = true;
removeSelectedMessageHighlight();
this.scrollToMessagePosition = -10000;
this.startLoadFromMessageId = id;
this.showScrollToMessageError = true;
if (id == this.createUnreadMessageAfterId) {
this.createUnreadMessageAfterIdLoading = true;
}
this.waitingForLoad.add(Integer.valueOf(this.lastLoadIndex));
MessagesController messagesController = getMessagesController();
long j = loadIndex == 0 ? this.dialog_id : this.mergeDialogId;
int i = AndroidUtilities.isTablet() ? bot_help : 20;
int i2 = this.startLoadFromMessageId;
int i3 = this.classGuid;
boolean isChannel = ChatObject.isChannel(this.currentChat);
boolean z = this.inScheduleMode;
int i4 = this.lastLoadIndex;
this.lastLoadIndex = i4 + 1;
messagesController.loadMessages(j, i, i2, 0, true, 0, i3, 3, 0, isChannel, z, i4);
} else {
View child = this.chatListView.getChildAt(0);
if (child != null && child.getTop() <= 0) {
showFloatingDateView(false);
}
}
this.returnToMessageId = fromMessageId;
this.returnToLoadIndex = loadIndex;
this.needSelectFromMessageId = select;
}
public void showPagedownButton(boolean show, boolean animated) {
if ((delete_chat + call) % call <= 0) {
}
FrameLayout frameLayout = this.pagedownButton;
if (frameLayout == null) {
return;
}
if (show) {
this.pagedownButtonShowedByScroll = false;
if (frameLayout.getTag() == null) {
AnimatorSet animatorSet = this.pagedownButtonAnimation;
if (animatorSet != null) {
animatorSet.cancel();
this.pagedownButtonAnimation = null;
}
if (animated) {
if (this.pagedownButton.getTranslationY() == 0.0f) {
this.pagedownButton.setTranslationY(AndroidUtilities.dp(100.0f));
}
if (isSysNotifyMessage().booleanValue() && this.dialog_id == 773000) {
this.pagedownButton.setVisibility(4);
} else {
this.pagedownButton.setVisibility(0);
}
this.pagedownButton.setTag(1);
this.pagedownButtonAnimation = new AnimatorSet();
if (this.mentiondownButton.getVisibility() == 0) {
this.pagedownButtonAnimation.playTogether(ObjectAnimator.ofFloat(this.pagedownButton, (Property<FrameLayout, Float>) View.TRANSLATION_Y, 0.0f), ObjectAnimator.ofFloat(this.mentiondownButton, (Property<FrameLayout, Float>) View.TRANSLATION_Y, -AndroidUtilities.dp(72.0f)));
} else {
this.pagedownButtonAnimation.playTogether(ObjectAnimator.ofFloat(this.pagedownButton, (Property<FrameLayout, Float>) View.TRANSLATION_Y, 0.0f));
}
this.pagedownButtonAnimation.setDuration(200L);
this.pagedownButtonAnimation.start();
return;
}
this.pagedownButton.setVisibility(0);
return;
}
return;
}
this.returnToMessageId = 0;
this.newUnreadMessageCount = 0;
if (frameLayout.getTag() != null) {
this.pagedownButton.setTag(null);
AnimatorSet animatorSet2 = this.pagedownButtonAnimation;
if (animatorSet2 != null) {
animatorSet2.cancel();
this.pagedownButtonAnimation = null;
}
if (animated) {
this.pagedownButtonAnimation = new AnimatorSet();
if (this.mentiondownButton.getVisibility() == 0) {
this.pagedownButtonAnimation.playTogether(ObjectAnimator.ofFloat(this.pagedownButton, (Property<FrameLayout, Float>) View.TRANSLATION_Y, AndroidUtilities.dp(100.0f)), ObjectAnimator.ofFloat(this.mentiondownButton, (Property<FrameLayout, Float>) View.TRANSLATION_Y, 0.0f));
} else {
this.pagedownButtonAnimation.playTogether(ObjectAnimator.ofFloat(this.pagedownButton, (Property<FrameLayout, Float>) View.TRANSLATION_Y, AndroidUtilities.dp(100.0f)));
}
this.pagedownButtonAnimation.setDuration(200L);
this.pagedownButtonAnimation.addListener(new 53(this));
this.pagedownButtonAnimation.start();
return;
}
this.pagedownButton.setVisibility(4);
}
}
public void showMentionDownButton(boolean show, boolean animated) {
if ((star + 8) % 8 <= 0) {
}
FrameLayout frameLayout = this.mentiondownButton;
if (frameLayout == null) {
return;
}
if (show) {
if (frameLayout.getTag() == null) {
ObjectAnimator objectAnimator = this.mentiondownButtonAnimation;
if (objectAnimator != null) {
objectAnimator.cancel();
this.mentiondownButtonAnimation = null;
}
if (animated) {
this.mentiondownButton.setVisibility(0);
this.mentiondownButton.setTag(1);
if (this.pagedownButton.getVisibility() == 0) {
this.mentiondownButton.setTranslationY(-AndroidUtilities.dp(72.0f));
this.mentiondownButtonAnimation = ObjectAnimator.ofFloat(this.mentiondownButton, (Property<FrameLayout, Float>) View.ALPHA, 0.0f, 1.0f).setDuration(200L);
} else {
if (this.mentiondownButton.getTranslationY() == 0.0f) {
this.mentiondownButton.setTranslationY(AndroidUtilities.dp(100.0f));
}
this.mentiondownButtonAnimation = ObjectAnimator.ofFloat(this.mentiondownButton, (Property<FrameLayout, Float>) View.TRANSLATION_Y, 0.0f).setDuration(200L);
}
this.mentiondownButtonAnimation.start();
return;
}
this.mentiondownButton.setVisibility(0);
return;
}
return;
}
this.returnToMessageId = 0;
if (frameLayout.getTag() != null) {
this.mentiondownButton.setTag(null);
ObjectAnimator objectAnimator2 = this.mentiondownButtonAnimation;
if (objectAnimator2 != null) {
objectAnimator2.cancel();
this.mentiondownButtonAnimation = null;
}
if (animated) {
if (this.pagedownButton.getVisibility() == 0) {
this.mentiondownButtonAnimation = ObjectAnimator.ofFloat(this.mentiondownButton, (Property<FrameLayout, Float>) View.ALPHA, 1.0f, 0.0f).setDuration(200L);
} else {
this.mentiondownButtonAnimation = ObjectAnimator.ofFloat(this.mentiondownButton, (Property<FrameLayout, Float>) View.TRANSLATION_Y, AndroidUtilities.dp(100.0f)).setDuration(200L);
}
this.mentiondownButtonAnimation.addListener(new 54(this));
this.mentiondownButtonAnimation.start();
return;
}
this.mentiondownButton.setVisibility(4);
}
}
private void updateSecretStatus() {
ChatActivityEnterView chatActivityEnterView;
if ((26 + star) % star <= 0) {
}
if (this.bottomOverlay == null) {
return;
}
boolean hideKeyboard = false;
TLRPC.Chat chat = this.currentChat;
if (chat != null && !ChatObject.canSendMessages(chat) && (!ChatObject.isChannel(this.currentChat) || this.currentChat.megagroup)) {
if (this.currentChat.default_banned_rights != null && this.currentChat.default_banned_rights.send_messages) {
this.bottomOverlayText.setText(LocaleController.getString("GlobalSendMessageRestricted", 2131691487));
} else if (AndroidUtilities.isBannedForever(this.currentChat.banned_rights)) {
this.bottomOverlayText.setText(LocaleController.getString("SendMessageRestrictedForever", 2131693825));
} else {
this.bottomOverlayText.setText(LocaleController.formatString("SendMessageRestricted", 2131693824, new Object[]{LocaleController.formatDateForBan(this.currentChat.banned_rights.until_date)}));
}
this.bottomOverlay.setVisibility(0);
AnimatorSet animatorSet = this.mentionListAnimation;
if (animatorSet != null) {
animatorSet.cancel();
this.mentionListAnimation = null;
}
this.mentionContainer.setVisibility(8);
this.mentionContainer.setTag(null);
updateMessageListAccessibilityVisibility();
hideKeyboard = true;
StickersAdapter stickersAdapter = this.stickersAdapter;
if (stickersAdapter != null) {
stickersAdapter.hide();
}
} else {
TLRPC.EncryptedChat encryptedChat = this.currentEncryptedChat;
if (encryptedChat == null || this.bigEmptyView == null) {
this.bottomOverlay.setVisibility(4);
if (this.stickersAdapter != null && (chatActivityEnterView = this.chatActivityEnterView) != null && chatActivityEnterView.hasText()) {
this.stickersAdapter.loadStikersForEmoji(this.chatActivityEnterView.getFieldText(), false);
}
ChatActivityEnterView chatActivityEnterView2 = this.chatActivityEnterView;
if (chatActivityEnterView2 != null) {
chatActivityEnterView2.updateMenuViewStatus();
return;
}
return;
}
if (encryptedChat instanceof TLRPC.TL_encryptedChatRequested) {
this.bottomOverlayText.setText(LocaleController.getString("EncryptionProcessing", 2131691119));
this.bottomOverlay.setVisibility(0);
hideKeyboard = true;
} else if (encryptedChat instanceof TLRPC.TL_encryptedChatWaiting) {
this.bottomOverlayText.setText(AndroidUtilities.replaceTags(LocaleController.formatString("AwaitingEncryption", 2131690060, new Object[]{"<b>" + this.currentUser.first_name + "</b>"})));
this.bottomOverlay.setVisibility(0);
hideKeyboard = true;
} else if (encryptedChat instanceof TLRPC.TL_encryptedChatDiscarded) {
this.bottomOverlayText.setText(LocaleController.getString("EncryptionRejected", 2131691120));
this.bottomOverlay.setVisibility(0);
this.chatActivityEnterView.setFieldText("");
getMediaDataController().cleanDraft(this.dialog_id, false);
hideKeyboard = true;
} else if (encryptedChat instanceof TLRPC.TL_encryptedChat) {
this.bottomOverlay.setVisibility(4);
}
checkRaiseSensors();
checkActionBarMenu();
}
if (this.inPreviewMode) {
this.bottomOverlay.setVisibility(4);
}
if (hideKeyboard) {
this.chatActivityEnterView.hidePopup(false);
if (getParentActivity() != null) {
AndroidUtilities.hideKeyboard(getParentActivity().getCurrentFocus());
}
}
ChatActivityEnterView chatActivityEnterView3 = this.chatActivityEnterView;
if (chatActivityEnterView3 != null) {
chatActivityEnterView3.updateMenuViewStatus();
}
}
public void onRequestPermissionsResultFragment(int requestCode, String[] permissions, int[] grantResults) {
ChatAttachAlert chatAttachAlert;
TLRPC.User user;
ChatAttachAlert chatAttachAlert2;
if ((add_shortcut + 7) % 7 <= 0) {
}
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null) {
chatActivityEnterView.onRequestPermissionsResultFragment(requestCode, permissions, grantResults);
}
MentionsAdapter mentionsAdapter = this.mentionsAdapter;
if (mentionsAdapter != null) {
mentionsAdapter.onRequestPermissionsResultFragment(requestCode, permissions, grantResults);
}
if (requestCode == 4 && (chatAttachAlert2 = this.chatAttachAlert) != null) {
chatAttachAlert2.checkStorage();
return;
}
boolean z = false;
if ((requestCode == share_contact || requestCode == mute) && (chatAttachAlert = this.chatAttachAlert) != null) {
if (grantResults.length > 0 && grantResults[0] == 0) {
z = true;
}
chatAttachAlert.checkCamera(z);
return;
}
if (requestCode == report) {
if (getParentActivity() != null && grantResults != null && grantResults.length != 0 && grantResults[0] != 0) {
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setTitle(LocaleController.getString("AppName", 2131689827));
builder.setMessage(LocaleController.getString("PermissionNoAudioVideo", 2131693015));
builder.setNegativeButton(LocaleController.getString("PermissionOpenSettings", 2131693019), new -$.Lambda.ChatActivity.dL_4SpafRlm8CZxibPp7RFidPWQ(this));
builder.setPositiveButton(LocaleController.getString("OK", 2131692466), (DialogInterface.OnClickListener) null);
builder.show();
return;
}
return;
}
if (requestCode == 19 && grantResults != null && grantResults.length > 0 && grantResults[0] == 0) {
processSelectedAttach(0);
return;
}
if (requestCode == 20 && grantResults != null && grantResults.length > 0 && grantResults[0] == 0) {
processSelectedAttach(2);
return;
}
if (requestCode == 101 && (user = this.currentUser) != null) {
if (grantResults.length > 0 && grantResults[0] == 0) {
VoIPHelper.startCall(user, getParentActivity(), getMessagesController().getUserFull(this.currentUser.id));
} else {
VoIPHelper.permissionDenied(getParentActivity(), (Runnable) null);
}
}
}
public void lambda$onRequestPermissionsResultFragment$67$ChatActivity(DialogInterface dialog, int which) {
if ((clear_history + 20) % 20 <= 0) {
}
try {
Intent intent = new Intent("android.settings.APPLICATION_DETAILS_SETTINGS");
intent.setData(Uri.parse("package:" + ApplicationLoader.applicationContext.getPackageName()));
getParentActivity().startActivity(intent);
} catch (Exception e) {
FileLog.e(e);
}
}
private void checkActionBarMenu() {
TLRPC.Chat chat;
TLRPC.User user;
if ((6 + delete) % delete <= 0) {
}
TLRPC.EncryptedChat encryptedChat = this.currentEncryptedChat;
if ((encryptedChat != null && !(encryptedChat instanceof TLRPC.TL_encryptedChat)) || (((chat = this.currentChat) != null && ChatObject.isNotInChat(chat)) || ((user = this.currentUser) != null && UserObject.isDeleted(user)))) {
View view = this.timeItem2;
if (view != null) {
view.setVisibility(8);
}
} else {
View view2 = this.timeItem2;
if (view2 != null) {
view2.setVisibility(0);
}
}
checkAndUpdateAvatar();
}
public int getMessageType(MessageObject messageObject) {
String mime;
String mime2;
if ((1 + 20) % 20 <= 0) {
}
if (messageObject == null) {
return -1;
}
if (this.currentEncryptedChat == null) {
if (messageObject.isEditing()) {
return -1;
}
if (messageObject.getId() <= 0 && messageObject.isOut()) {
if (messageObject.isSendError()) {
return !messageObject.isMediaEmpty() ? 0 : 20;
}
return -1;
}
if (messageObject.isAnimatedEmoji()) {
return 2;
}
if (messageObject.type == 6) {
return -1;
}
if (messageObject.type == copy || messageObject.type == forward) {
return messageObject.getId() == 0 ? -1 : 1;
}
if (messageObject.isVoice()) {
return 2;
}
if (messageObject.isSticker() || messageObject.isAnimatedSticker()) {
TLRPC.InputStickerSet inputStickerSet = messageObject.getInputStickerSet();
if (inputStickerSet instanceof TLRPC.TL_inputStickerSetID) {
if (getMediaDataController().isStickerPackInstalled(inputStickerSet.id)) {
return attach_poll;
}
return 7;
}
if (!(inputStickerSet instanceof TLRPC.TL_inputStickerSetShortName) || getMediaDataController().isStickerPackInstalled(inputStickerSet.short_name)) {
return attach_poll;
}
return 7;
}
if (messageObject.isRoundVideo() || (!(messageObject.messageOwner.media instanceof TLRPC.TL_messageMediaPhoto) && messageObject.getDocument() == null && !messageObject.isMusic() && !messageObject.isVideo())) {
if (messageObject.type == delete) {
return 8;
}
if (messageObject.isMediaEmpty()) {
return 3;
}
} else {
boolean canSave = false;
if (!TextUtils.isEmpty(messageObject.messageOwner.attachPath)) {
File f = new File(messageObject.messageOwner.attachPath);
if (f.exists()) {
canSave = true;
}
}
if (!canSave) {
File f2 = FileLoader.getPathToMessage(messageObject.messageOwner);
if (f2.exists()) {
canSave = true;
}
}
if (canSave) {
if (messageObject.getDocument() != null && (mime2 = messageObject.getDocument().mime_type) != null) {
if (messageObject.getDocumentName().toLowerCase().endsWith("attheme")) {
return copy;
}
if (mime2.endsWith("/xml")) {
return 5;
}
if (mime2.endsWith("/png") || mime2.endsWith("/jpg") || mime2.endsWith("/jpeg")) {
return 6;
}
}
return 4;
}
}
return 2;
}
if (messageObject.isSending()) {
return -1;
}
if (messageObject.isAnimatedEmoji()) {
return 2;
}
if (messageObject.type == 6) {
return -1;
}
if (messageObject.isSendError()) {
return !messageObject.isMediaEmpty() ? 0 : 20;
}
if (messageObject.type == copy || messageObject.type == forward) {
return (messageObject.getId() == 0 || messageObject.isSending()) ? -1 : 1;
}
if (messageObject.isVoice()) {
return 2;
}
if (messageObject.isAnimatedEmoji() || (!messageObject.isSticker() && !messageObject.isAnimatedSticker())) {
if (messageObject.isRoundVideo() || (!(messageObject.messageOwner.media instanceof TLRPC.TL_messageMediaPhoto) && messageObject.getDocument() == null && !messageObject.isMusic() && !messageObject.isVideo())) {
if (messageObject.type == delete) {
return 8;
}
if (messageObject.isMediaEmpty()) {
return 3;
}
} else {
boolean canSave2 = false;
if (!TextUtils.isEmpty(messageObject.messageOwner.attachPath)) {
File f3 = new File(messageObject.messageOwner.attachPath);
if (f3.exists()) {
canSave2 = true;
}
}
if (!canSave2) {
File f4 = FileLoader.getPathToMessage(messageObject.messageOwner);
if (f4.exists()) {
canSave2 = true;
}
}
if (canSave2) {
if (messageObject.getDocument() != null && (mime = messageObject.getDocument().mime_type) != null && mime.endsWith("text/xml")) {
return 5;
}
if (messageObject.messageOwner.ttl <= 0) {
return 4;
}
}
}
} else {
TLRPC.InputStickerSet inputStickerSet2 = messageObject.getInputStickerSet();
if ((inputStickerSet2 instanceof TLRPC.TL_inputStickerSetShortName) && !getMediaDataController().isStickerPackInstalled(inputStickerSet2.short_name)) {
return 7;
}
}
return 2;
}
private void addToSelectedMessages(MessageObject messageObject, boolean outside) {
addToSelectedMessages(messageObject, outside, true);
}
private void addToSelectedMessages(im.amwhusedvt.messenger.MessageObject r31, boolean r32, boolean r33) {
throw new UnsupportedOperationException("Method not decompiled: im.amwhusedvt.ui.ChatActivity.addToSelectedMessages(im.amwhusedvt.messenger.MessageObject, boolean, boolean):void");
}
public void processRowSelect(View view, boolean outside, float touchX, float touchY) {
if ((20 + 27) % 27 <= 0) {
}
MessageObject message = null;
if (view instanceof ChatMessageCell) {
message = ((ChatMessageCell) view).getMessageObject();
} else if (view instanceof ChatActionCell) {
message = ((ChatActionCell) view).getMessageObject();
}
int type = getMessageType(message);
if (type < 2 || type == 20) {
return;
}
addToSelectedMessages(message, outside);
updateActionModeTitle();
updateVisibleRows();
}
private void updateActionModeTitle() {
if ((1 + attach_poll) % attach_poll <= 0) {
}
if (!this.actionBar.isActionModeShowed()) {
return;
}
if (this.selectedMessagesIds[0].size() != 0 || this.selectedMessagesIds[1].size() != 0) {
this.selectedMessagesCountTextView.setNumber(this.selectedMessagesIds[0].size() + this.selectedMessagesIds[1].size(), true);
}
}
@Deprecated
private void updateTitle() {
}
private void updateBotButtons() {
TLRPC.User user;
int a;
if ((7 + call) % call <= 0) {
}
if (this.headerItem == null || (user = this.currentUser) == null || this.currentEncryptedChat != null || !user.bot) {
return;
}
boolean hasHelp = false;
boolean hasSettings = false;
if (this.botInfo.size() != 0) {
for (int b = 0; b < this.botInfo.size(); b++) {
TLRPC.BotInfo info = this.botInfo.valueAt(b);
while (a < info.commands.size()) {
TLRPC.TL_botCommand command = (TLRPC.TL_botCommand) info.commands.get(a);
if (command.command.toLowerCase().equals("help")) {
hasHelp = true;
} else if (command.command.toLowerCase().equals("settings")) {
hasSettings = true;
}
a = (hasSettings && hasHelp) ? 0 : a + 1;
}
}
}
if (hasHelp) {
this.headerItem.showSubItem(bot_help);
} else {
this.headerItem.hideSubItem(bot_help);
}
if (hasSettings) {
this.headerItem.showSubItem(bot_settings);
} else {
this.headerItem.hideSubItem(bot_settings);
}
}
private void updateTitleIcons() {
if ((8 + 4) % 4 <= 0) {
}
if (this.inScheduleMode) {
return;
}
boolean dialogMuted = getMessagesController().isDialogMuted(this.dialog_id);
Drawable rightIcon = getMessagesController().isDialogMuted(this.dialog_id) ? Theme.chat_muteIconDrawable : null;
Drawable encryptedIcon = null;
if (this.currentEncryptedChat != null) {
encryptedIcon = Theme.getThemedDrawable(getParentActivity(), 2131231125, "actionBarDefaultTitle");
}
if (isSysNotifyMessage().booleanValue()) {
if (this.headerItem instanceof ActionBarMenuItem) {
ActionBarMenuItem headerItem = this.headerItem;
if (dialogMuted) {
headerItem.setIcon(2131558738);
return;
} else {
headerItem.setIcon(2131558739);
return;
}
}
return;
}
this.actionBarHelper.setTitleIcons(encryptedIcon, rightIcon);
ChatActionBarMenuSubItem chatActionBarMenuSubItem = this.muteItem;
if (chatActionBarMenuSubItem != null) {
if (rightIcon != null) {
chatActionBarMenuSubItem.setTextAndIcon(LocaleController.getString("UnmuteNotifications", 2131694493), 2131231348);
} else {
chatActionBarMenuSubItem.setTextAndIcon(LocaleController.getString("MuteNotifications", 2131692084), 2131231321);
}
}
}
private void checkAndUpdateAvatar() {
TLRPC.Chat chat;
if ((3 + 28) % 28 <= 0) {
}
if (this.currentUser != null) {
TLRPC.User user = getMessagesController().getUser(Integer.valueOf(this.currentUser.id));
if (user == null) {
return;
}
this.currentUser = user;
return;
}
if (this.currentChat == null || (chat = getMessagesController().getChat(Integer.valueOf(this.currentChat.id))) == null) {
return;
}
this.currentChat = chat;
}
public void openVideoEditor(String videoPath, String caption) {
if ((27 + delete_chat) % delete_chat <= 0) {
}
if (getParentActivity() == null) {
fillEditingMediaWithCaption(caption, null);
SendMessagesHelper.prepareSendingVideo(getAccountInstance(), videoPath, 0L, 0L, 0, 0, (VideoEditedInfo) null, this.dialog_id, this.replyingMessageObject, (CharSequence) null, (ArrayList) null, 0, this.editingMessageObject, true, 0);
afterMessageSend();
return;
}
Bitmap thumb = ThumbnailUtils.createVideoThumbnail(videoPath, 1);
PhotoViewer.getInstance().setParentActivity(getParentActivity());
ArrayList<Object> cameraPhoto = new ArrayList<>();
MediaController.PhotoEntry entry = new MediaController.PhotoEntry(0, 0, 0L, videoPath, 0, true);
entry.caption = caption;
cameraPhoto.add(entry);
PhotoViewer.getInstance().openPhotoForSelect(cameraPhoto, 0, 2, new 58(this, thumb, cameraPhoto), this);
}
private void showAttachmentError() {
if (getParentActivity() == null) {
return;
}
ToastUtils.show(2131694502);
}
public void fillEditingMediaWithCaption(CharSequence caption, ArrayList<TLRPC.MessageEntity> entities) {
if ((7 + add_shortcut) % add_shortcut <= 0) {
}
if (this.editingMessageObject == null) {
return;
}
if (!TextUtils.isEmpty(caption)) {
this.editingMessageObject.editingMessage = caption;
this.editingMessageObject.editingMessageEntities = entities;
return;
}
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null) {
this.editingMessageObject.editingMessage = chatActivityEnterView.getFieldText();
if (this.editingMessageObject.editingMessage == null && !TextUtils.isEmpty(this.editingMessageObject.messageOwner.message)) {
this.editingMessageObject.editingMessage = "";
}
}
}
private void sendUriAsDocument(android.net.Uri r21) {
throw new UnsupportedOperationException("Method not decompiled: im.amwhusedvt.ui.ChatActivity.sendUriAsDocument(android.net.Uri):void");
}
private String getMimeType(String fileName) {
if ((chat_enc_timer + clear_history) % clear_history <= 0) {
}
FileNameMap fileNameMap = URLConnection.getFileNameMap();
return fileNameMap.getContentTypeFor(fileName);
}
public boolean isVedioFile(String fileName) {
if ((29 + 26) % 26 <= 0) {
}
String mimeType = getMimeType(fileName);
if (!TextUtils.isEmpty(fileName) && mimeType.contains(PREFIX_VIDEO)) {
return true;
}
return false;
}
public void onActivityResultFragment(int requestCode, int resultCode, Intent data) {
if ((bot_help + mute) % mute <= 0) {
}
if (resultCode == -1) {
if (requestCode == 0 || requestCode == 2) {
createChatAttachView();
ChatAttachAlert chatAttachAlert = this.chatAttachAlert;
if (chatAttachAlert != null) {
chatAttachAlert.onActivityResultFragment(requestCode, data, this.currentPicturePath);
}
this.currentPicturePath = null;
return;
}
if (requestCode == 1) {
if (data == null || data.getData() == null) {
showAttachmentError();
return;
}
Uri uri = data.getData();
if (uri.toString().contains("video")) {
String videoPath = null;
try {
videoPath = AndroidUtilities.getPath(uri);
} catch (Exception e) {
FileLog.e(e);
}
if (videoPath == null) {
showAttachmentError();
}
if (this.paused) {
this.startVideoEdit = videoPath;
} else {
openVideoEditor(videoPath, null);
}
} else if (this.editingMessageObject == null && this.inScheduleMode) {
AlertsCreator.createScheduleDatePickerDialog(getParentActivity(), UserObject.isUserSelf(this.currentUser), new -$.Lambda.ChatActivity.kkSIT6zS8tMuGnD-_jgetzqwGbc(this, uri));
} else {
fillEditingMediaWithCaption(null, null);
SendMessagesHelper.prepareSendingPhoto(getAccountInstance(), (String) null, uri, this.dialog_id, this.replyingMessageObject, (CharSequence) null, (ArrayList) null, (ArrayList) null, (InputContentInfoCompat) null, 0, this.editingMessageObject, true, 0);
}
afterMessageSend();
return;
}
if (requestCode == report) {
if (data == null) {
showAttachmentError();
return;
}
if (data.getData() != null) {
sendUriAsDocument(data.getData());
} else if (data.getClipData() != null) {
ClipData clipData = data.getClipData();
for (int i = 0; i < clipData.getItemCount(); i++) {
sendUriAsDocument(clipData.getItemAt(i).getUri());
}
} else {
showAttachmentError();
}
afterMessageSend();
}
}
}
public void lambda$onActivityResultFragment$68$ChatActivity(Uri uri, boolean notify, int scheduleDate) {
if ((delete + star) % star <= 0) {
}
fillEditingMediaWithCaption(null, null);
SendMessagesHelper.prepareSendingPhoto(getAccountInstance(), (String) null, uri, this.dialog_id, this.replyingMessageObject, (CharSequence) null, (ArrayList) null, (ArrayList) null, (InputContentInfoCompat) null, 0, this.editingMessageObject, notify, scheduleDate);
}
public void saveSelfArgs(Bundle args) {
if ((1 + forward) % forward <= 0) {
}
String str = this.currentPicturePath;
if (str != null) {
args.putString("path", str);
}
}
public void restoreSelfArgs(Bundle args) {
this.currentPicturePath = args.getString("path");
}
private void removeUnreadPlane(boolean scrollToEnd) {
if ((8 + share_contact) % share_contact <= 0) {
}
if (this.unreadMessageObject != null) {
if (scrollToEnd) {
boolean[] zArr = this.forwardEndReached;
zArr[1] = true;
zArr[0] = true;
this.first_unread_id = 0;
this.last_message_id = 0;
}
this.createUnreadMessageAfterId = 0;
this.createUnreadMessageAfterIdLoading = false;
removeMessageObject(this.unreadMessageObject);
this.unreadMessageObject = null;
}
}
public void didReceivedNotification(int r62, int r63, java.lang.Object... r64) {
throw new UnsupportedOperationException("Method not decompiled: im.amwhusedvt.ui.ChatActivity.didReceivedNotification(int, int, java.lang.Object[]):void");
}
public void lambda$didReceivedNotification$69$ChatActivity() {
if (this.parentLayout != null) {
this.parentLayout.resumeDelayedFragmentAnimation();
}
}
public void lambda$didReceivedNotification$70$ChatActivity(DialogInterface dialogInterface, int i) {
if ((copy + copy) % copy <= 0) {
}
TLRPC.User user = this.currentUser;
if (user != null) {
presentFragment(new AddContactsInfoActivity(null, user));
}
}
private void listViewShowEmptyView(boolean resetEmptyViewToNull, boolean showProgressView) {
if ((mute + 20) % 20 <= 0) {
}
RecyclerListView recyclerListView = this.chatListView;
if (recyclerListView != null) {
if (resetEmptyViewToNull) {
recyclerListView.setEmptyView((View) null);
} else {
ArrayList<MessageObject> arrayList = this.messages;
if (arrayList != null && !arrayList.isEmpty()) {
this.chatListView.setEmptyView((View) null);
} else if (this.emptyViewContainer != null) {
if (this.chatListView.getEmptyView() != null) {
View emptyView = this.chatListView.getEmptyView();
FrameLayout frameLayout = this.emptyViewContainer;
if (emptyView == frameLayout) {
frameLayout.setVisibility(0);
}
}
this.chatListView.setEmptyView(this.emptyViewContainer);
}
}
}
FrameLayout frameLayout2 = this.progressView;
if (frameLayout2 != null) {
frameLayout2.setVisibility(showProgressView ? 0 : 4);
}
}
private void checkSecretMessageForLocation(MessageObject messageObject) {
if ((5 + 27) % 27 <= 0) {
}
if (messageObject.type != 4 || this.locationAlertShown || SharedConfig.isSecretMapPreviewSet()) {
return;
}
this.locationAlertShown = true;
AlertsCreator.showSecretLocationAlert(getParentActivity(), this.currentAccount, new -$.Lambda.ChatActivity.tJ8MMtS99KHwtShZntie2hF4kH0(this), true);
}
public void lambda$checkSecretMessageForLocation$71$ChatActivity() {
if ((2 + clear_history) % clear_history <= 0) {
}
int count = this.chatListView.getChildCount();
for (int a = 0; a < count; a++) {
View view = this.chatListView.getChildAt(a);
if (view instanceof ChatMessageCell) {
ChatMessageCell cell = (ChatMessageCell) view;
MessageObject message = cell.getMessageObject();
if (message.type == 4) {
cell.forceResetMessageObject();
}
}
}
}
public void clearHistory(boolean overwrite) {
TLRPC.User user;
if ((bot_settings + chat_menu_attach) % chat_menu_attach <= 0) {
}
this.messages.clear();
this.waitingForLoad.clear();
this.messagesByDays.clear();
this.groupedMessagesMap.clear();
for (int a = 1; a >= 0; a--) {
this.messagesDict[a].clear();
if (this.currentEncryptedChat == null) {
this.maxMessageId[a] = Integer.MAX_VALUE;
this.minMessageId[a] = Integer.MIN_VALUE;
} else {
this.maxMessageId[a] = Integer.MIN_VALUE;
this.minMessageId[a] = Integer.MAX_VALUE;
}
this.maxDate[a] = Integer.MIN_VALUE;
this.minDate[a] = 0;
this.selectedMessagesIds[a].clear();
this.selectedMessagesCanCopyIds[a].clear();
this.selectedMessagesCanStarIds[a].clear();
}
hideActionMode();
updatePinnedMessageView(true);
if (this.botButtons != null) {
this.botButtons = null;
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null) {
chatActivityEnterView.setButtons((MessageObject) null, false);
}
}
if (overwrite) {
ChatActivityAdapter chatActivityAdapter = this.chatAdapter;
if (chatActivityAdapter != null) {
listViewShowEmptyView(true, ChatActivityAdapter.access$21000(chatActivityAdapter) == -1);
}
for (int a2 = 0; a2 < 2; a2++) {
this.endReached[a2] = false;
this.cacheEndReached[a2] = false;
this.forwardEndReached[a2] = true;
}
this.first = true;
this.firstLoading = true;
this.loading = true;
this.startLoadFromMessageId = 0;
this.needSelectFromMessageId = false;
this.waitingForLoad.add(Integer.valueOf(this.lastLoadIndex));
int i = this.startLoadFromMessageIdSaved;
if (i != 0) {
this.startLoadFromMessageId = i;
this.startLoadFromMessageIdSaved = 0;
MessagesController messagesController = getMessagesController();
long j = this.dialog_id;
int i2 = AndroidUtilities.isTablet() ? bot_help : 20;
int i3 = this.startLoadFromMessageId;
int i4 = this.classGuid;
boolean isChannel = ChatObject.isChannel(this.currentChat);
boolean z = this.inScheduleMode;
int i5 = this.lastLoadIndex;
this.lastLoadIndex = i5 + 1;
messagesController.loadMessages(j, i2, i3, 0, true, 0, i4, 3, 0, isChannel, z, i5);
} else {
MessagesController messagesController2 = getMessagesController();
long j2 = this.dialog_id;
int i6 = AndroidUtilities.isTablet() ? bot_help : 20;
int i7 = this.classGuid;
boolean isChannel2 = ChatObject.isChannel(this.currentChat);
boolean z2 = this.inScheduleMode;
int i8 = this.lastLoadIndex;
this.lastLoadIndex = i8 + 1;
messagesController2.loadMessages(j2, i6, 0, 0, true, 0, i7, 2, 0, isChannel2, z2, i8);
}
} else {
listViewShowEmptyView(false, false);
}
ChatActivityAdapter chatActivityAdapter2 = this.chatAdapter;
if (chatActivityAdapter2 != null) {
chatActivityAdapter2.notifyDataSetChanged();
}
if (this.currentEncryptedChat == null && (user = this.currentUser) != null && user.bot && this.botUser == null) {
this.botUser = "";
updateBottomOverlay();
}
}
public boolean processSwitchButton(TLRPC.TL_keyboardButtonSwitchInline button) {
if ((share_contact + delete_chat) % delete_chat <= 0) {
}
if (this.inlineReturn == 0 || button.same_peer || this.parentLayout == null) {
return false;
}
String query = "@" + this.currentUser.username + " " + button.query;
if (this.inlineReturn == this.dialog_id) {
this.inlineReturn = 0L;
this.chatActivityEnterView.setFieldText(query);
} else {
getMediaDataController().saveDraft(this.inlineReturn, query, (ArrayList) null, (TLRPC.Message) null, false);
if (this.parentLayout.fragmentsStack.size() > 1) {
BaseFragment prevFragment = (BaseFragment) this.parentLayout.fragmentsStack.get(this.parentLayout.fragmentsStack.size() - 2);
if ((prevFragment instanceof ChatActivity) && ((ChatActivity) prevFragment).dialog_id == this.inlineReturn) {
finishFragment();
} else {
Bundle bundle = new Bundle();
long j = this.inlineReturn;
int lower_part = (int) j;
int high_part = (int) (j >> 32);
if (lower_part != 0) {
if (lower_part > 0) {
bundle.putInt("user_id", lower_part);
} else if (lower_part < 0) {
bundle.putInt("chat_id", -lower_part);
}
} else {
bundle.putInt("enc_id", high_part);
}
presentFragment(new ChatActivity(bundle), true);
}
}
}
return true;
}
private void replaceMessageObjects(ArrayList<MessageObject> messageObjects, int loadIndex, boolean remove) {
ChatActivityAdapter chatActivityAdapter;
MessageObject.GroupedMessages groupedMessages;
int idx;
if ((8 + 2) % 2 <= 0) {
}
LongSparseArray<MessageObject.GroupedMessages> newGroups = null;
int a = 0;
while (a < messageObjects.size()) {
MessageObject messageObject = messageObjects.get(a);
MessageObject old = this.messagesDict[loadIndex].get(messageObject.getId());
MessageObject messageObject2 = this.pinnedMessageObject;
if (messageObject2 != null && messageObject2.getId() == messageObject.getId()) {
this.pinnedMessageObject = messageObject;
updatePinnedMessageView(true);
}
if (old != null && (!remove || old.messageOwner.date == messageObject.messageOwner.date)) {
if (remove) {
messageObjects.remove(a);
a--;
}
addToPolls(messageObject, old);
if (messageObject.type >= 0) {
if (old.replyMessageObject != null) {
messageObject.replyMessageObject = old.replyMessageObject;
if (messageObject.messageOwner.action instanceof TLRPC.TL_messageActionGameScore) {
messageObject.generateGameMessageText((TLRPC.User) null);
} else if (messageObject.messageOwner.action instanceof TLRPC.TL_messageActionPaymentSent) {
messageObject.generatePaymentSentMessageText((TLRPC.User) null);
}
}
if (!old.isEditing()) {
if (old.getFileName().equals(messageObject.getFileName())) {
messageObject.messageOwner.attachPath = old.messageOwner.attachPath;
messageObject.attachPathExists = old.attachPathExists;
messageObject.mediaExists = old.mediaExists;
} else {
messageObject.checkMediaExistance();
}
}
this.messagesDict[loadIndex].put(old.getId(), messageObject);
} else {
this.messagesDict[loadIndex].remove(old.getId());
}
int index = this.messages.indexOf(old);
if (index >= 0) {
ArrayList<MessageObject> dayArr = this.messagesByDays.get(old.dateKey);
int index2 = -1;
if (dayArr != null) {
index2 = dayArr.indexOf(old);
}
if (old.getGroupId() != 0 && (groupedMessages = this.groupedMessagesMap.get(old.getGroupId())) != null && (idx = groupedMessages.messages.indexOf(old)) >= 0) {
if (old.getGroupId() != messageObject.getGroupId()) {
this.groupedMessagesMap.put(messageObject.getGroupId(), groupedMessages);
}
if (messageObject.photoThumbs == null || messageObject.photoThumbs.isEmpty()) {
if (newGroups == null) {
newGroups = new LongSparseArray<>();
}
newGroups.put(groupedMessages.groupId, groupedMessages);
if (idx > 0 && idx < groupedMessages.messages.size() - 1) {
MessageObject.GroupedMessages slicedGroup = new MessageObject.GroupedMessages();
slicedGroup.groupId = Utilities.random.nextLong();
slicedGroup.messages.addAll(groupedMessages.messages.subList(idx + 1, groupedMessages.messages.size()));
for (int b = 0; b < slicedGroup.messages.size(); b++) {
((MessageObject) slicedGroup.messages.get(b)).localGroupId = slicedGroup.groupId;
groupedMessages.messages.remove(idx + 1);
}
newGroups.put(slicedGroup.groupId, slicedGroup);
this.groupedMessagesMap.put(slicedGroup.groupId, slicedGroup);
}
groupedMessages.messages.remove(idx);
} else {
groupedMessages.messages.set(idx, messageObject);
MessageObject.GroupedMessagePosition oldPosition = (MessageObject.GroupedMessagePosition) groupedMessages.positions.remove(old);
if (oldPosition != null) {
groupedMessages.positions.put(messageObject, oldPosition);
}
if (newGroups == null) {
newGroups = new LongSparseArray<>();
}
newGroups.put(groupedMessages.groupId, groupedMessages);
}
}
if (messageObject.type >= 0) {
this.messages.set(index, messageObject);
ChatActivityAdapter chatActivityAdapter2 = this.chatAdapter;
if (chatActivityAdapter2 != null) {
chatActivityAdapter2.updateRowAtPosition(ChatActivityAdapter.access$14200(chatActivityAdapter2) + index);
}
if (index2 >= 0) {
dayArr.set(index2, messageObject);
}
} else {
this.messages.remove(index);
ChatActivityAdapter chatActivityAdapter3 = this.chatAdapter;
if (chatActivityAdapter3 != null) {
chatActivityAdapter3.notifyItemRemoved(ChatActivityAdapter.access$14200(chatActivityAdapter3) + index);
}
if (index2 >= 0) {
dayArr.remove(index2);
if (dayArr.isEmpty()) {
this.messagesByDays.remove(old.dateKey);
this.messages.remove(index);
ChatActivityAdapter chatActivityAdapter4 = this.chatAdapter;
chatActivityAdapter4.notifyItemRemoved(ChatActivityAdapter.access$14200(chatActivityAdapter4));
}
}
}
}
}
a++;
}
if (newGroups != null) {
for (int b2 = 0; b2 < newGroups.size(); b2++) {
MessageObject.GroupedMessages groupedMessages2 = newGroups.valueAt(b2);
if (groupedMessages2.messages.isEmpty()) {
this.groupedMessagesMap.remove(groupedMessages2.groupId);
} else {
groupedMessages2.calculate();
int index3 = this.messages.indexOf((MessageObject) groupedMessages2.messages.get(groupedMessages2.messages.size() - 1));
if (index3 >= 0 && (chatActivityAdapter = this.chatAdapter) != null) {
chatActivityAdapter.notifyItemRangeChanged(ChatActivityAdapter.access$14200(chatActivityAdapter) + index3, groupedMessages2.messages.size());
}
}
}
}
}
private void migrateToNewChat(MessageObject obj) {
if ((star + mute) % mute <= 0) {
}
if (this.parentLayout == null) {
return;
}
int channelId = obj.messageOwner.action.channel_id;
BaseFragment lastFragment = this.parentLayout.fragmentsStack.size() > 0 ? (BaseFragment) this.parentLayout.fragmentsStack.get(this.parentLayout.fragmentsStack.size() - 1) : null;
int index = this.parentLayout.fragmentsStack.indexOf(this);
ActionBarLayout actionBarLayout = this.parentLayout;
if (index > 0 && !(lastFragment instanceof ChatActivity) && !(lastFragment instanceof ProfileActivity) && this.currentChat.creator) {
int N = actionBarLayout.fragmentsStack.size() - 1;
for (int a = index; a < N; a++) {
ChatUsersActivity chatUsersActivity = (BaseFragment) actionBarLayout.fragmentsStack.get(a);
if (chatUsersActivity instanceof ChatActivity) {
Bundle bundle = new Bundle();
bundle.putInt("chat_id", channelId);
actionBarLayout.addFragmentToStack(new ChatActivity(bundle), a);
chatUsersActivity.removeSelfFromStack();
} else if (chatUsersActivity instanceof ProfileActivity) {
Bundle args = new Bundle();
args.putInt("chat_id", channelId);
actionBarLayout.addFragmentToStack(new ProfileActivity(args), a);
chatUsersActivity.removeSelfFromStack();
} else if (chatUsersActivity instanceof ChatEditActivity) {
Bundle args2 = new Bundle();
args2.putInt("chat_id", channelId);
actionBarLayout.addFragmentToStack(new ChatEditActivity(args2), a);
chatUsersActivity.removeSelfFromStack();
} else if (chatUsersActivity instanceof ChatUsersActivity) {
ChatUsersActivity usersActivity = chatUsersActivity;
if (!usersActivity.hasSelectType()) {
Bundle args3 = chatUsersActivity.getArguments();
args3.putInt("chat_id", channelId);
actionBarLayout.addFragmentToStack(new ChatUsersActivity(args3), a);
}
chatUsersActivity.removeSelfFromStack();
}
}
} else {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.0KbBCYn8YDe5zzf7BVkvGS6RYHg(this, lastFragment, obj, actionBarLayout));
}
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.fHdL8oyvW_CMKolWZCbRNiov7rQ(this, channelId), 1000L);
}
public void lambda$migrateToNewChat$72$ChatActivity(BaseFragment lastFragment, MessageObject obj, ActionBarLayout actionBarLayout) {
if ((add_shortcut + 8) % 8 <= 0) {
}
if (lastFragment != null) {
getNotificationCenter().removeObserver(lastFragment, NotificationCenter.closeChats);
}
getNotificationCenter().postNotificationName(NotificationCenter.closeChats, new Object[0]);
Bundle bundle = new Bundle();
bundle.putInt("chat_id", obj.messageOwner.action.channel_id);
actionBarLayout.presentFragment(new ChatActivity(bundle), true);
}
public void lambda$migrateToNewChat$73$ChatActivity(int channelId) {
if ((27 + clear_history) % clear_history <= 0) {
}
getMessagesController().loadFullChat(channelId, 0, true);
}
private void addToPolls(MessageObject obj, MessageObject old) {
if ((report + edit) % edit <= 0) {
}
long pollId = obj.getPollId();
if (pollId != 0) {
ArrayList<MessageObject> arrayList = this.polls.get(pollId);
if (arrayList == null) {
arrayList = new ArrayList<>();
this.polls.put(pollId, arrayList);
}
arrayList.add(obj);
if (old != null) {
arrayList.remove(old);
}
}
}
public void updateSearchButtons(int mask, int num, int count) {
if ((call + 8) % 8 <= 0) {
}
ImageView imageView = this.searchUpButton;
if (imageView != null) {
imageView.setEnabled((mask & 1) != 0);
this.searchDownButton.setEnabled((mask & 2) != 0);
ImageView imageView2 = this.searchUpButton;
imageView2.setAlpha(imageView2.isEnabled() ? 1.0f : 0.5f);
ImageView imageView3 = this.searchDownButton;
imageView3.setAlpha(imageView3.isEnabled() ? 1.0f : 0.5f);
if (count < 0) {
this.searchCountText.setText("");
} else if (count == 0) {
this.searchCountText.setText(LocaleController.getString("NoResult", 2131692248));
} else {
this.searchCountText.setText(LocaleController.formatString("Of", 2131692471, new Object[]{Integer.valueOf(num + 1), Integer.valueOf(count)}));
}
}
}
public boolean needDelayOpenAnimation() {
return this.firstLoading;
}
protected void onBecomeFullyHidden() {
if ((clear_history + 4) % 4 <= 0) {
}
UndoView undoView = this.undoView;
if (undoView != null) {
undoView.hide(true, 0);
}
}
public void onTransitionAnimationStart(boolean isOpen, boolean backward) {
if ((attach_poll + 6) % 6 <= 0) {
}
if (isOpen) {
getNotificationCenter().setAllowedNotificationsDutingAnimation(new int[]{NotificationCenter.chatInfoDidLoad, NotificationCenter.dialogsNeedReload, NotificationCenter.scheduledMessagesUpdated, NotificationCenter.closeChats, NotificationCenter.messagesDidLoad, NotificationCenter.botKeyboardDidLoad, NotificationCenter.userFullInfoDidLoad, NotificationCenter.needDeleteDialog});
this.openAnimationEnded = false;
} else {
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null) {
chatActivityEnterView.onBeginHide();
}
}
getNotificationCenter().setAnimationInProgress(true);
}
public void onTransitionAnimationEnd(boolean isOpen, boolean backward) {
if ((5 + 3) % 3 <= 0) {
}
getNotificationCenter().setAnimationInProgress(false);
if (isOpen) {
this.openAnimationEnded = true;
if (Build.VERSION.SDK_INT >= report) {
createChatAttachView();
}
if (this.chatActivityEnterView.hasRecordVideo() && !this.chatActivityEnterView.isSendButtonVisible()) {
boolean isChannel = false;
TLRPC.Chat chat = this.currentChat;
if (chat != null) {
isChannel = ChatObject.isChannel(chat) && !this.currentChat.megagroup;
}
SharedPreferences preferences = MessagesController.getGlobalMainSettings();
String key = isChannel ? "needShowRoundHintChannel" : "needShowRoundHint";
if (preferences.getBoolean(key, true) && Utilities.random.nextFloat() < 0.2f) {
showVoiceHint(false, this.chatActivityEnterView.isInVideoMode());
preferences.edit().putBoolean(key, false).commit();
}
}
if (!backward && this.parentLayout != null) {
int a = 0;
int N = this.parentLayout.fragmentsStack.size() - 1;
while (true) {
if (a >= N) {
break;
}
BaseFragment fragment = (BaseFragment) this.parentLayout.fragmentsStack.get(a);
if (fragment != this && (fragment instanceof ChatActivity)) {
ChatActivity chatActivity = (ChatActivity) fragment;
if (chatActivity.dialog_id == this.dialog_id && chatActivity.inScheduleMode == this.inScheduleMode) {
fragment.removeSelfFromStack();
break;
}
}
a++;
}
}
if (!isFinishing() && getParentActivity() != null && this.parentLayout != null && !this.parentLayout.fragmentsStack.isEmpty() && this.parentLayout.fragmentsStack.get(this.parentLayout.fragmentsStack.size() - 1) == this) {
TLRPC.Chat chat2 = this.currentChat;
if ((chat2 instanceof TLRPC.TL_channelForbidden) || (chat2 instanceof TLRPC.TL_chatForbidden)) {
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setTitle(LocaleController.getString("AppName", 2131689827));
builder.setMessage(LocaleController.getString("ChannelCantOpenNa", 2131690417));
builder.setPositiveButton(LocaleController.getString("OK", 2131692466), (DialogInterface.OnClickListener) null);
AlertDialog create = builder.create();
this.closeChatDialog = create;
showDialog(create);
}
}
}
}
protected void onDialogDismiss(Dialog dialog) {
if ((attach_poll + 8) % 8 <= 0) {
}
Dialog dialog2 = this.closeChatDialog;
if (dialog2 != null && dialog == dialog2) {
getMessagesController().deleteDialog(this.dialog_id, 0);
if (this.parentLayout != null && !this.parentLayout.fragmentsStack.isEmpty() && this.parentLayout.fragmentsStack.get(this.parentLayout.fragmentsStack.size() - 1) != this) {
BaseFragment fragment = (BaseFragment) this.parentLayout.fragmentsStack.get(this.parentLayout.fragmentsStack.size() - 1);
removeSelfFromStack();
fragment.finishFragment();
return;
}
finishFragment();
}
}
public boolean extendActionMode(Menu menu) {
if ((delete_chat + report) % report <= 0) {
}
if (PhotoViewer.hasInstance() && PhotoViewer.getInstance().isVisible()) {
if (PhotoViewer.getInstance().getSelectiongLength() == 0 || menu.findItem(R.id.copy) == null) {
return true;
}
} else if (this.chatActivityEnterView.getSelectionLength() == 0 || menu.findItem(R.id.copy) == null) {
return true;
}
if (Build.VERSION.SDK_INT >= edit) {
menu.removeItem(R.id.shareText);
}
SpannableStringBuilder stringBuilder = new SpannableStringBuilder(LocaleController.getString("Bold", 2131690181));
stringBuilder.setSpan(new TypefaceSpan(AndroidUtilities.getTypeface("fonts/rmedium.ttf")), 0, stringBuilder.length(), live);
menu.add(2131296979, 2131296977, 6, stringBuilder);
SpannableStringBuilder stringBuilder2 = new SpannableStringBuilder(LocaleController.getString("Italic", 2131691720));
stringBuilder2.setSpan(new TypefaceSpan(AndroidUtilities.getTypeface("fonts/ritalic.ttf")), 0, stringBuilder2.length(), live);
menu.add(2131296979, 2131296980, 7, stringBuilder2);
SpannableStringBuilder stringBuilder3 = new SpannableStringBuilder(LocaleController.getString("Mono", 2131692066));
stringBuilder3.setSpan(new TypefaceSpan(Typeface.MONOSPACE), 0, stringBuilder3.length(), live);
menu.add(2131296979, 2131296982, 8, stringBuilder3);
TLRPC.EncryptedChat encryptedChat = this.currentEncryptedChat;
if (encryptedChat == null || (encryptedChat != null && AndroidUtilities.getPeerLayerVersion(encryptedChat.layer) >= 101)) {
SpannableStringBuilder stringBuilder4 = new SpannableStringBuilder(LocaleController.getString("Strike", 2131694085));
TextStyleSpan.TextStyleRun run = new TextStyleSpan.TextStyleRun();
run.flags = 8 | run.flags;
stringBuilder4.setSpan(new TextStyleSpan(run), 0, stringBuilder4.length(), live);
menu.add(2131296979, 2131296984, attach_poll, stringBuilder4);
SpannableStringBuilder stringBuilder5 = new SpannableStringBuilder(LocaleController.getString("Underline", 2131694474));
TextStyleSpan.TextStyleRun run2 = new TextStyleSpan.TextStyleRun();
run2.flags |= delete_chat;
stringBuilder5.setSpan(new TextStyleSpan(run2), 0, stringBuilder5.length(), live);
menu.add(2131296979, 2131296985, copy, stringBuilder5);
}
menu.add(2131296979, 2131296981, forward, LocaleController.getString("CreateLink", 2131690751));
menu.add(2131296979, 2131296983, delete, LocaleController.getString("Regular", 2131693414));
return true;
}
public void updateScheduledInterface(boolean animated) {
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null) {
chatActivityEnterView.updateScheduleButton(animated);
}
}
public void updateBottomOverlay() {
TLRPC.User user;
TLRPC.ChatFull chatFull;
if ((7 + 25) % 25 <= 0) {
}
if (this.bottomOverlayChatText == null || this.inScheduleMode) {
return;
}
TLRPC.Chat chat = this.currentChat;
if (chat != null) {
if (ChatObject.isChannel(chat)) {
TLRPC.Chat chat2 = this.currentChat;
if (!(chat2 instanceof TLRPC.TL_channelForbidden)) {
if (ChatObject.isNotInChat(chat2)) {
if (getMessagesController().isJoiningChannel(this.currentChat.id)) {
showBottomOverlayProgress(true, false);
} else {
this.bottomOverlayChatText.setText(LocaleController.getString("ChannelJoin", 2131690434));
showBottomOverlayProgress(false, false);
}
} else {
if (!getMessagesController().isDialogMuted(this.dialog_id)) {
this.bottomOverlayChatText.setText(LocaleController.getString("ChannelMute", 2131690462));
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null && chatActivityEnterView.isPopupShowing()) {
this.chatActivityEnterView.hidePopup(false);
}
} else {
this.bottomOverlayChatText.setText(LocaleController.getString("ChannelUnmute", 2131690493));
}
showBottomOverlayProgress(false, this.bottomOverlayProgress.getTag() != null);
}
if (!ChatObject.isNotInChat(this.currentChat) && !this.currentChat.megagroup && (this.currentChat.has_link || ((chatFull = this.chatInfo) != null && chatFull.linked_chat_id != 0))) {
this.bottomOverlayChatText2.setText(LocaleController.getString("ChannelDiscuss", 2131690428));
this.bottomOverlayChatText2.setVisibility(0);
this.bottomOverlayChatText2.updateCounter();
} else {
this.bottomOverlayChatText2.setVisibility(8);
}
}
}
TextView textView = this.bottomOverlayChatText;
if (textView != null) {
textView.setText(LocaleController.getString("DeleteThisGroup", 2131690876));
}
if (!isFinishing() && getParentActivity() != null && this.parentLayout != null && !this.parentLayout.fragmentsStack.isEmpty() && this.parentLayout.fragmentsStack.get(this.parentLayout.fragmentsStack.size() - 1) == this) {
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setTitle(LocaleController.getString("AppName", 2131689827));
builder.setMessage(LocaleController.getString("DeleteThisGroup", 2131690876));
builder.setPositiveButton(LocaleController.getString("OK", 2131692466), (DialogInterface.OnClickListener) null);
AlertDialog create = builder.create();
this.closeChatDialog = create;
showDialog(create);
}
} else {
showBottomOverlayProgress(false, false);
if (this.userBlocked) {
if (this.currentUser.bot) {
this.bottomOverlayChatText.setText(LocaleController.getString("BotUnblock", 2131690197));
} else {
this.bottomOverlayChatText.setText(LocaleController.getString("Unblock", 2131694470));
}
if (this.botButtons != null) {
this.botButtons = null;
if (this.chatActivityEnterView != null) {
MessageObject messageObject = this.replyingMessageObject;
if (messageObject != null && this.botReplyButtons == messageObject) {
this.botReplyButtons = null;
hideFieldPanel(false);
}
this.chatActivityEnterView.setButtons(this.botButtons, false);
}
}
} else if (this.botUser != null && this.currentUser.bot) {
this.bottomOverlayChatText.setText(LocaleController.getString("BotStart", 2131690193));
this.chatActivityEnterView.hidePopup(false);
if (getParentActivity() != null) {
AndroidUtilities.hideKeyboard(getParentActivity().getCurrentFocus());
}
} else {
this.bottomOverlayChatText.setText(LocaleController.getString("DeleteThisChat", 2131690875));
}
}
if (this.inPreviewMode) {
this.searchContainer.setVisibility(4);
this.bottomOverlayChat.setVisibility(4);
this.chatActivityEnterView.setFieldFocused(false);
this.chatActivityEnterView.setVisibility(4);
} else {
ActionBarMenuItem actionBarMenuItem = this.searchItem;
if (actionBarMenuItem != null && actionBarMenuItem.getVisibility() == 0) {
this.searchContainer.setVisibility(0);
this.bottomOverlayChat.setVisibility(4);
this.chatActivityEnterView.setFieldFocused(false);
this.chatActivityEnterView.setVisibility(4);
if (this.chatActivityEnterView.isTopViewVisible()) {
this.topViewWasVisible = 1;
this.chatActivityEnterView.hideTopView(false);
} else {
this.topViewWasVisible = 2;
}
} else {
this.searchContainer.setVisibility(4);
if (this.muteItem != null) {
TLRPC.Chat chat3 = this.currentChat;
if (chat3 != null && ChatObject.isNotInChat(chat3)) {
this.muteItem.setVisibility(8);
} else {
this.muteItem.setVisibility(0);
}
}
TLRPC.Chat chat4 = this.currentChat;
if ((chat4 != null && (ChatObject.isNotInChat(chat4) || !ChatObject.canWriteToChat(this.currentChat))) || ((user = this.currentUser) != null && (UserObject.isDeleted(user) || this.userBlocked))) {
if (this.chatActivityEnterView.isEditingMessage()) {
this.chatActivityEnterView.setVisibility(0);
this.bottomOverlayChat.setVisibility(4);
this.chatActivityEnterView.setFieldFocused();
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.TdjLRgJMwAq7MNaTXDHBAII7JHc(this), 100L);
} else {
this.bottomOverlayChat.setVisibility(0);
this.chatActivityEnterView.setFieldFocused(false);
this.chatActivityEnterView.setVisibility(4);
this.chatActivityEnterView.closeKeyboard();
StickersAdapter stickersAdapter = this.stickersAdapter;
if (stickersAdapter != null) {
stickersAdapter.hide();
}
}
ActionBarMenuItem actionBarMenuItem2 = this.attachItem;
if (actionBarMenuItem2 != null) {
actionBarMenuItem2.setVisibility(8);
}
ActionBarMenuItem actionBarMenuItem3 = this.editTextItem;
if (actionBarMenuItem3 != null) {
actionBarMenuItem3.setVisibility(8);
}
ActionBarMenuItem actionBarMenuItem4 = this.headerItem;
if (actionBarMenuItem4 != null) {
actionBarMenuItem4.setVisibility(0);
}
} else if (this.botUser != null && this.currentUser.bot) {
this.bottomOverlayChat.setVisibility(0);
this.chatActivityEnterView.setVisibility(4);
} else {
if (this.currentUser != null && isSysNotifyMessage().booleanValue()) {
this.chatActivityEnterView.setVisibility(8);
} else {
this.chatActivityEnterView.setVisibility(0);
}
this.bottomOverlayChat.setVisibility(4);
}
if (this.topViewWasVisible == 1) {
this.chatActivityEnterView.showTopView(false, false);
this.topViewWasVisible = 0;
}
}
}
checkRaiseSensors();
}
public void lambda$updateBottomOverlay$74$ChatActivity() {
this.chatActivityEnterView.openKeyboard();
}
public void showAlert(String name, String message) {
if ((8 + 20) % 20 <= 0) {
}
FrameLayout frameLayout = this.alertView;
if (frameLayout == null || name == null || message == null) {
return;
}
if (frameLayout.getTag() != null) {
this.alertView.setTag(null);
AnimatorSet animatorSet = this.alertViewAnimator;
if (animatorSet != null) {
animatorSet.cancel();
this.alertViewAnimator = null;
}
this.alertView.setVisibility(0);
AnimatorSet animatorSet2 = new AnimatorSet();
this.alertViewAnimator = animatorSet2;
animatorSet2.playTogether(ObjectAnimator.ofFloat(this.alertView, (Property<FrameLayout, Float>) View.TRANSLATION_Y, 0.0f));
this.alertViewAnimator.setDuration(200L);
this.alertViewAnimator.addListener(new AnimatorListenerAdapter() {
@Override
public void onAnimationEnd(Animator animation) {
if ((7 + ChatActivity.mute) % ChatActivity.mute <= 0) {
}
if (ChatActivity.this.alertViewAnimator != null && ChatActivity.this.alertViewAnimator.equals(animation)) {
ChatActivity.this.alertViewAnimator = null;
}
}
@Override
public void onAnimationCancel(Animator animation) {
if ((1 + 20) % 20 <= 0) {
}
if (ChatActivity.this.alertViewAnimator != null && ChatActivity.this.alertViewAnimator.equals(animation)) {
ChatActivity.this.alertViewAnimator = null;
}
}
});
this.alertViewAnimator.start();
}
this.alertNameTextView.setText(name);
this.alertTextView.setText(Emoji.replaceEmoji(message.replace('\n', ' '), this.alertTextView.getPaint().getFontMetricsInt(), AndroidUtilities.dp(14.0f), false));
Runnable runnable = this.hideAlertViewRunnable;
if (runnable != null) {
AndroidUtilities.cancelRunOnUIThread(runnable);
}
60 r0 = new 60(this);
this.hideAlertViewRunnable = r0;
AndroidUtilities.runOnUIThread(r0, 3000L);
}
private void hidePinnedMessageView(boolean animated) {
if ((share_contact + 19) % 19 <= 0) {
}
if (this.pinnedMessageView.getTag() == null) {
this.pinnedMessageView.setTag(1);
AnimatorSet animatorSet = this.pinnedMessageViewAnimator;
if (animatorSet != null) {
animatorSet.cancel();
this.pinnedMessageViewAnimator = null;
}
if (!animated) {
this.pinnedMessageView.setTranslationY(-AndroidUtilities.dp(50.0f));
this.pinnedMessageView.setVisibility(8);
if (this.pinnedLiveMessage != null) {
this.pinnedLiveMessageView.setTranslationY(0.0f);
this.pinnedLiveUserImageView.setTranslationY(0.0f);
return;
}
return;
}
AnimatorSet animatorSet2 = new AnimatorSet();
this.pinnedMessageViewAnimator = animatorSet2;
animatorSet2.playTogether(ObjectAnimator.ofFloat(this.pinnedMessageView, (Property<FrameLayout, Float>) View.TRANSLATION_Y, -AndroidUtilities.dp(50.0f)));
this.pinnedMessageViewAnimator.setDuration(200L);
this.pinnedMessageViewAnimator.addListener(new 61(this));
this.pinnedMessageViewAnimator.start();
}
}
private void hidePinnedLiveMessageView(boolean animated) {
if ((4 + edit) % edit <= 0) {
}
this.pinnedLiveMessage = null;
if (this.pinnedLiveMessageView.getTag() == null) {
this.pinnedLiveMessageView.setTag(2);
AnimatorSet animatorSet = this.pinnedMessageViewAnimator;
if (animatorSet != null) {
animatorSet.cancel();
this.pinnedMessageViewAnimator = null;
}
if (!animated) {
this.pinnedLiveMessageView.setTranslationY(-AndroidUtilities.dp(50.0f));
this.pinnedLiveMessageView.setVisibility(8);
return;
}
AnimatorSet animatorSet2 = new AnimatorSet();
this.pinnedMessageViewAnimator = animatorSet2;
animatorSet2.playTogether(ObjectAnimator.ofFloat(this.pinnedLiveMessageView, (Property<FrameLayout, Float>) View.TRANSLATION_Y, -AndroidUtilities.dp(50.0f)));
this.pinnedMessageViewAnimator.setDuration(200L);
this.pinnedMessageViewAnimator.addListener(new 62(this));
this.pinnedMessageViewAnimator.start();
}
}
public void updatePinnedMessageView(boolean animated) {
int pinned_msg_id;
if ((5 + 29) % 29 <= 0) {
}
if (this.pinnedMessageView == null || this.inScheduleMode) {
return;
}
TLRPC.ChatFull chatFull = this.chatInfo;
if (chatFull != null) {
if (this.pinnedMessageObject != null && chatFull.pinned_msg_id != this.pinnedMessageObject.getId()) {
this.pinnedMessageObject = null;
}
if (this.chatInfo.pinned_msg_id != 0 && this.pinnedMessageObject == null) {
this.pinnedMessageObject = this.messagesDict[0].get(this.chatInfo.pinned_msg_id);
}
pinned_msg_id = this.chatInfo.pinned_msg_id;
} else {
TLRPC.UserFull userFull = this.userInfo;
if (userFull != null) {
if (this.pinnedMessageObject != null && userFull.pinned_msg_id != this.pinnedMessageObject.getId()) {
this.pinnedMessageObject = null;
}
if (this.userInfo.pinned_msg_id != 0 && this.pinnedMessageObject == null) {
this.pinnedMessageObject = this.messagesDict[0].get(this.userInfo.pinned_msg_id);
}
pinned_msg_id = this.userInfo.pinned_msg_id;
} else {
pinned_msg_id = 0;
}
}
SharedPreferences preferences = MessagesController.getNotificationsSettings(this.currentAccount);
if ((this.chatInfo != null || this.userInfo != null) && pinned_msg_id != 0) {
if (pinned_msg_id != preferences.getInt("pin_" + this.dialog_id, 0) && (this.actionBar == null || (!this.actionBar.isActionModeShowed() && !this.actionBar.isSearchFieldVisible()))) {
if (this.pinnedMessageObject != null) {
if (this.pinnedMessageView.getTag() != null) {
this.pinnedMessageView.setTag(null);
AnimatorSet animatorSet = this.pinnedMessageViewAnimator;
if (animatorSet != null) {
animatorSet.cancel();
this.pinnedMessageViewAnimator = null;
}
if (!animated) {
this.pinnedMessageView.setTranslationY(0.0f);
this.pinnedMessageView.setVisibility(0);
if (this.pinnedLiveMessage != null && this.pinnedLiveMessageView.getTranslationY() != AndroidUtilities.dp(48.0f)) {
this.pinnedLiveMessageView.setTranslationY(AndroidUtilities.dp(48.0f));
this.pinnedLiveUserImageView.setTranslationY(AndroidUtilities.dp(48.0f));
}
} else {
this.pinnedMessageView.setVisibility(0);
AnimatorSet animatorSet2 = new AnimatorSet();
this.pinnedMessageViewAnimator = animatorSet2;
animatorSet2.playTogether(ObjectAnimator.ofFloat(this.pinnedMessageView, (Property<FrameLayout, Float>) View.TRANSLATION_Y, 0.0f));
this.pinnedMessageViewAnimator.setDuration(200L);
this.pinnedMessageViewAnimator.addListener(new 63(this));
this.pinnedMessageViewAnimator.start();
}
}
FrameLayout.LayoutParams layoutParams1 = (FrameLayout.LayoutParams) this.pinnedMessageNameTextView.getLayoutParams();
FrameLayout.LayoutParams layoutParams2 = (FrameLayout.LayoutParams) this.pinnedMessageTextView.getLayoutParams();
int cacheType = 1;
int size = 0;
TLRPC.PhotoSize photoSize = FileLoader.getClosestPhotoSizeWithSize(this.pinnedMessageObject.photoThumbs2, AndroidUtilities.dp(320.0f));
TLRPC.PhotoSize thumbPhotoSize = FileLoader.getClosestPhotoSizeWithSize(this.pinnedMessageObject.photoThumbs2, AndroidUtilities.dp(40.0f));
TLObject photoSizeObject = this.pinnedMessageObject.photoThumbsObject2;
if (photoSize == null) {
if (this.pinnedMessageObject.mediaExists) {
photoSize = FileLoader.getClosestPhotoSizeWithSize(this.pinnedMessageObject.photoThumbs, AndroidUtilities.getPhotoSize());
if (photoSize != null) {
size = photoSize.size;
}
cacheType = 0;
} else {
photoSize = FileLoader.getClosestPhotoSizeWithSize(this.pinnedMessageObject.photoThumbs, AndroidUtilities.dp(320.0f));
}
thumbPhotoSize = FileLoader.getClosestPhotoSizeWithSize(this.pinnedMessageObject.photoThumbs, AndroidUtilities.dp(40.0f));
photoSizeObject = this.pinnedMessageObject.photoThumbsObject;
}
if (photoSize == thumbPhotoSize) {
thumbPhotoSize = null;
}
if (photoSize == null || (photoSize instanceof TLRPC.TL_photoSizeEmpty) || (photoSize.location instanceof TLRPC.TL_fileLocationUnavailable) || this.pinnedMessageObject.isAnyKindOfSticker()) {
this.pinnedMessageImageView.setImageBitmap((Bitmap) null);
this.pinnedImageLocation = null;
this.pinnedImageLocationObject = null;
this.pinnedMessageImageView.setVisibility(4);
int dp = AndroidUtilities.dp(18.0f);
layoutParams2.leftMargin = dp;
layoutParams1.leftMargin = dp;
} else {
if (this.pinnedMessageObject.isRoundVideo()) {
this.pinnedMessageImageView.setRoundRadius(AndroidUtilities.dp(16.0f));
} else {
this.pinnedMessageImageView.setRoundRadius(0);
}
this.pinnedImageSize = size;
this.pinnedImageCacheType = cacheType;
this.pinnedImageLocation = photoSize;
this.pinnedImageThumbLocation = thumbPhotoSize;
this.pinnedImageLocationObject = photoSizeObject;
this.pinnedMessageImageView.setImage(ImageLocation.getForObject(photoSize, photoSizeObject), "50_50", ImageLocation.getForObject(thumbPhotoSize, photoSizeObject), "50_50_b", (String) null, size, cacheType, this.pinnedMessageObject);
this.pinnedMessageImageView.setVisibility(0);
int dp2 = AndroidUtilities.dp(55.0f);
layoutParams2.leftMargin = dp2;
layoutParams1.leftMargin = dp2;
}
this.pinnedMessageNameTextView.setLayoutParams(layoutParams1);
this.pinnedMessageTextView.setLayoutParams(layoutParams2);
if (this.pinnedMessageObject.type == share_contact) {
this.pinnedMessageNameTextView.setText(LocaleController.getString("PinnedPoll", 2131693080));
} else {
this.pinnedMessageNameTextView.setText(LocaleController.getString("PinnedMessage", 2131693078));
}
if (this.pinnedMessageObject.type == chat_menu_attach) {
this.pinnedMessageTextView.setText(String.format("%s - %s", this.pinnedMessageObject.getMusicAuthor(), this.pinnedMessageObject.getMusicTitle()));
} else if (this.pinnedMessageObject.type != 207) {
if (this.pinnedMessageObject.type != share_contact) {
if (this.pinnedMessageObject.messageOwner.media instanceof TLRPC.TL_messageMediaGame) {
this.pinnedMessageTextView.setText(Emoji.replaceEmoji(this.pinnedMessageObject.messageOwner.media.game.title, this.pinnedMessageTextView.getPaint().getFontMetricsInt(), AndroidUtilities.dp(14.0f), false));
} else if (!TextUtils.isEmpty(this.pinnedMessageObject.caption)) {
String mess = this.pinnedMessageObject.caption.toString();
if (mess.length() > 150) {
mess = mess.substring(0, 150);
}
String mess2 = mess.replace('\n', ' ');
SimpleTextView simpleTextView = this.pinnedMessageTextView;
simpleTextView.setText(Emoji.replaceEmoji(mess2, simpleTextView.getPaint().getFontMetricsInt(), AndroidUtilities.dp(14.0f), false));
} else if (this.pinnedMessageObject.messageText != null) {
String mess3 = this.pinnedMessageObject.messageText.toString();
if (mess3.length() > 150) {
mess3 = mess3.substring(0, 150);
}
String mess4 = mess3.replace('\n', ' ');
SimpleTextView simpleTextView2 = this.pinnedMessageTextView;
simpleTextView2.setText(Emoji.replaceEmoji(mess4, simpleTextView2.getPaint().getFontMetricsInt(), AndroidUtilities.dp(14.0f), false));
}
} else {
TLRPC.TL_messageMediaPoll poll = this.pinnedMessageObject.messageOwner.media;
String mess5 = poll.poll.question;
if (mess5.length() > 150) {
mess5 = mess5.substring(0, 150);
}
this.pinnedMessageTextView.setText(mess5.replace('\n', ' '));
}
} else {
this.pinnedLineView.setVisibility(8);
TLRPC.TL_messageMediaShare mediaShare = this.pinnedMessageObject.messageOwner.media;
TLRPC.TL_dataJSON tL_dataJSON = mediaShare.data;
}
} else {
this.pinnedImageLocation = null;
this.pinnedImageLocationObject = null;
hidePinnedMessageView(animated);
if (this.loadingPinnedMessage != pinned_msg_id) {
this.loadingPinnedMessage = pinned_msg_id;
getMediaDataController().loadPinnedMessage(this.dialog_id, ChatObject.isChannel(this.currentChat) ? this.currentChat.id : 0, pinned_msg_id, true);
}
}
checkListViewPaddings();
}
}
hidePinnedMessageView(animated);
checkListViewPaddings();
}
private void updatePinnedLiveMessageView(boolean animated, int iMsgId, boolean blnShow) {
if ((3 + report) % report <= 0) {
}
if (this.pinnedLiveMessageView == null || this.inScheduleMode) {
return;
}
if (this.pinnedLiveMessage == null) {
this.pinnedLiveMessage = this.messagesDict[0].get(iMsgId);
}
if (!blnShow) {
hidePinnedLiveMessageView(animated);
} else if (this.pinnedLiveMessage != null) {
if (this.pinnedLiveMessageView.getTag() != null) {
this.pinnedLiveMessageView.setTag(null);
AnimatorSet animatorSet = this.pinnedMessageViewAnimator;
if (animatorSet != null) {
animatorSet.cancel();
this.pinnedMessageViewAnimator = null;
}
if (animated) {
this.pinnedLiveMessageView.setVisibility(0);
AnimatorSet animatorSet2 = new AnimatorSet();
this.pinnedMessageViewAnimator = animatorSet2;
animatorSet2.playTogether(ObjectAnimator.ofFloat(this.pinnedLiveMessageView, (Property<FrameLayout, Float>) View.TRANSLATION_Y, 48.0f));
this.pinnedMessageViewAnimator.setDuration(200L);
this.pinnedMessageViewAnimator.addListener(new 64(this));
this.pinnedMessageViewAnimator.start();
} else {
SharedPreferences preferences = MessagesController.getNotificationsSettings(this.currentAccount);
if (this.pinnedMessageObject != null) {
if (preferences.getInt("pin_" + this.dialog_id, 0) != this.pinnedMessageObject.messageOwner.id) {
this.pinnedLiveMessageView.setTranslationY(AndroidUtilities.dp(48.0f));
this.pinnedLiveMessageView.setVisibility(0);
}
}
this.pinnedLiveMessageView.setTranslationY(AndroidUtilities.dp(0.0f));
this.pinnedLiveMessageView.setVisibility(0);
}
}
FrameLayout.LayoutParams layoutParams1 = (FrameLayout.LayoutParams) this.pinnedLiveMessageNameTextView.getLayoutParams();
FrameLayout.LayoutParams layoutParams2 = (FrameLayout.LayoutParams) this.pinnedLiveMessageTextView.getLayoutParams();
int dp = AndroidUtilities.dp(55.0f);
layoutParams2.leftMargin = dp;
layoutParams1.leftMargin = dp;
this.pinnedLiveMessageNameTextView.setLayoutParams(layoutParams1);
this.pinnedLiveMessageTextView.setLayoutParams(layoutParams2);
if (this.pinnedLiveMessage.type == 207) {
TLRPC.TL_messageMediaShare mediaShare = this.pinnedLiveMessage.messageOwner.media;
TLRPC.TL_dataJSON tL_dataJSON = mediaShare.data;
}
} else {
hidePinnedLiveMessageView(animated);
}
checkListViewPaddings();
}
private void updateTopPanel(boolean animated) {
boolean show;
int i;
int i2;
if ((edit + copy) % copy <= 0) {
}
if (this.topChatPanelView == null || this.inScheduleMode) {
return;
}
SharedPreferences preferences = MessagesController.getNotificationsSettings(this.currentAccount);
long did = this.dialog_id;
TLRPC.EncryptedChat encryptedChat = this.currentEncryptedChat;
if (encryptedChat != null) {
show = (encryptedChat.admin_id == getUserConfig().getClientUserId() || getContactsController().isLoadingContacts() || getContactsController().contactsDict.get(Integer.valueOf(this.currentUser.id)) != null) ? false : true;
did = this.currentUser.id;
int vis = preferences.getInt("dialog_bar_vis3" + did, 0);
if (show && (vis == 1 || vis == 3)) {
show = false;
}
} else {
StringBuilder sb = new StringBuilder();
sb.append("dialog_bar_vis3");
sb.append(did);
show = preferences.getInt(sb.toString(), 0) == 2;
}
boolean showShare = preferences.getBoolean("dialog_bar_share" + did, false);
boolean showReport = preferences.getBoolean("dialog_bar_report" + did, false);
boolean showBlock = preferences.getBoolean("dialog_bar_block" + did, false);
boolean showAdd = preferences.getBoolean("dialog_bar_add" + did, false);
boolean showGeo = preferences.getBoolean("dialog_bar_location" + did, false);
if (!showReport && !showBlock && !showGeo) {
this.reportSpamButton.setVisibility(8);
} else {
this.reportSpamButton.setVisibility(0);
}
TLRPC.User user = this.currentUser != null ? getMessagesController().getUser(Integer.valueOf(this.currentUser.id)) : null;
if (user != null) {
if (!user.contact && showAdd) {
this.addContactItem.setVisibility(0);
this.addToContactsButton.setVisibility(0);
this.addContactItem.setText(LocaleController.getString("AddToContacts", 2131689709));
if (this.reportSpamButton.getVisibility() == 0) {
this.addToContactsButton.setText(LocaleController.getString("AddContactChat", 2131689676));
} else {
this.addToContactsButton.setText(LocaleController.formatString("AddContactFullChat", 2131689677, new Object[]{UserObject.getFirstName(user)}).toUpperCase());
}
this.addToContactsButton.setTag(null);
this.addToContactsButton.setVisibility(0);
} else if (showShare) {
this.addContactItem.setVisibility(0);
this.addToContactsButton.setVisibility(0);
this.addContactItem.setText(LocaleController.getString("ShareMyContactInfo", 2131693937));
this.addToContactsButton.setText(LocaleController.getString("ShareMyPhone", 2131693938).toUpperCase());
this.addToContactsButton.setTag(1);
this.addToContactsButton.setVisibility(0);
} else {
if (!user.contact && !show) {
this.addContactItem.setVisibility(0);
this.addContactItem.setText(LocaleController.getString("ShareMyContactInfo", 2131693937));
this.addToContactsButton.setTag(2);
i2 = 8;
} else {
i2 = 8;
this.addContactItem.setVisibility(8);
}
this.addToContactsButton.setVisibility(i2);
}
this.reportSpamButton.setText(LocaleController.getString("ReportSpamUser", 2131693472));
i = 8;
} else {
if (showGeo) {
this.reportSpamButton.setText(LocaleController.getString("ReportSpamLocation", 2131693470));
this.reportSpamButton.setTag(2131297016, 1);
this.reportSpamButton.setTextColor(Theme.getColor("chat_addContact"));
this.reportSpamButton.setTag("chat_addContact");
} else {
this.reportSpamButton.setText(LocaleController.getString("ReportSpamAndLeave", 2131693469));
this.reportSpamButton.setTag(2131297016, null);
this.reportSpamButton.setTextColor(Theme.getColor("chat_reportSpam"));
this.reportSpamButton.setTag("chat_reportSpam");
}
ChatActionBarMenuSubItem chatActionBarMenuSubItem = this.addContactItem;
if (chatActionBarMenuSubItem == null) {
i = 8;
} else {
i = 8;
chatActionBarMenuSubItem.setVisibility(8);
}
this.addToContactsButton.setVisibility(i);
}
if (this.userBlocked || (this.addToContactsButton.getVisibility() == i && this.reportSpamButton.getVisibility() == i)) {
show = false;
}
if (!show) {
if (this.topChatPanelView.getTag() == null) {
if (BuildVars.LOGS_ENABLED) {
FileLog.d("hide spam button");
}
this.topChatPanelView.setTag(1);
AnimatorSet animatorSet = this.reportSpamViewAnimator;
if (animatorSet != null) {
animatorSet.cancel();
this.reportSpamViewAnimator = null;
}
if (!animated) {
this.topChatPanelView.setTranslationY(-AndroidUtilities.dp(50.0f));
} else {
AnimatorSet animatorSet2 = new AnimatorSet();
this.reportSpamViewAnimator = animatorSet2;
animatorSet2.playTogether(ObjectAnimator.ofFloat(this.topChatPanelView, (Property<FrameLayout, Float>) View.TRANSLATION_Y, -AndroidUtilities.dp(50.0f)));
this.reportSpamViewAnimator.setDuration(200L);
this.reportSpamViewAnimator.addListener(new AnimatorListenerAdapter() {
@Override
public void onAnimationEnd(Animator animation) {
if ((ChatActivity.delete + ChatActivity.add_shortcut) % ChatActivity.add_shortcut <= 0) {
}
if (ChatActivity.this.reportSpamViewAnimator != null && ChatActivity.this.reportSpamViewAnimator.equals(animation)) {
ChatActivity.this.topChatPanelView.setVisibility(8);
ChatActivity.this.reportSpamViewAnimator = null;
}
}
@Override
public void onAnimationCancel(Animator animation) {
if ((ChatActivity.edit + 28) % 28 <= 0) {
}
if (ChatActivity.this.reportSpamViewAnimator != null && ChatActivity.this.reportSpamViewAnimator.equals(animation)) {
ChatActivity.this.reportSpamViewAnimator = null;
}
}
});
this.reportSpamViewAnimator.start();
}
}
} else if (this.topChatPanelView.getTag() != null) {
if (BuildVars.LOGS_ENABLED) {
FileLog.d("show spam button");
}
this.topChatPanelView.setTag(null);
this.topChatPanelView.setVisibility(0);
AnimatorSet animatorSet3 = this.reportSpamViewAnimator;
if (animatorSet3 != null) {
animatorSet3.cancel();
this.reportSpamViewAnimator = null;
}
if (!animated) {
this.topChatPanelView.setTranslationY(0.0f);
} else {
AnimatorSet animatorSet4 = new AnimatorSet();
this.reportSpamViewAnimator = animatorSet4;
animatorSet4.playTogether(ObjectAnimator.ofFloat(this.topChatPanelView, (Property<FrameLayout, Float>) View.TRANSLATION_Y, 0.0f));
this.reportSpamViewAnimator.setDuration(200L);
this.reportSpamViewAnimator.addListener(new 65(this));
this.reportSpamViewAnimator.start();
}
}
checkListViewPaddings();
}
public void checkListViewPaddingsInternal() {
int pos;
if ((attach_poll + bot_settings) % bot_settings <= 0) {
}
GridLayoutManagerFixed gridLayoutManagerFixed = this.chatLayoutManager;
if (gridLayoutManagerFixed == null) {
return;
}
try {
int firstVisPos = gridLayoutManagerFixed.findFirstVisibleItemPosition();
int lastVisPos = -1;
if (!this.wasManualScroll && this.unreadMessageObject != null && (pos = this.messages.indexOf(this.unreadMessageObject)) >= 0) {
lastVisPos = pos + ChatActivityAdapter.access$14200(this.chatAdapter);
firstVisPos = -1;
}
int top = 0;
if (firstVisPos != -1) {
View firstVisView = this.chatLayoutManager.findViewByPosition(firstVisPos);
top = firstVisView == null ? 0 : (this.chatListView.getMeasuredHeight() - firstVisView.getBottom()) - this.chatListView.getPaddingBottom();
}
if (this.chatListView.getPaddingTop() != AndroidUtilities.dp(52.0f) && ((this.pinnedMessageView != null && this.pinnedMessageView.getTag() == null) || (this.topChatPanelView != null && this.topChatPanelView.getTag() == null))) {
this.chatListView.setPadding(0, AndroidUtilities.dp(52.0f), 0, AndroidUtilities.dp(3.0f));
FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) this.floatingDateView.getLayoutParams();
layoutParams.topMargin = AndroidUtilities.dp(52.0f);
this.floatingDateView.setLayoutParams(layoutParams);
this.chatListView.setTopGlowOffset(AndroidUtilities.dp(48.0f));
} else if (this.chatListView.getPaddingTop() != AndroidUtilities.dp(4.0f) && ((this.pinnedMessageView == null || this.pinnedMessageView.getTag() != null) && (this.topChatPanelView == null || this.topChatPanelView.getTag() != null))) {
this.chatListView.setPadding(0, AndroidUtilities.dp(4.0f), 0, AndroidUtilities.dp(3.0f));
FrameLayout.LayoutParams layoutParams2 = (FrameLayout.LayoutParams) this.floatingDateView.getLayoutParams();
layoutParams2.topMargin = AndroidUtilities.dp(4.0f);
this.floatingDateView.setLayoutParams(layoutParams2);
this.chatListView.setTopGlowOffset(0);
} else {
firstVisPos = -1;
}
if (firstVisPos != -1) {
this.chatLayoutManager.scrollToPositionWithOffset(firstVisPos, top);
} else if (lastVisPos != -1) {
int top2 = ((this.chatListView.getMeasuredHeight() - this.chatListView.getPaddingBottom()) - this.chatListView.getPaddingTop()) - AndroidUtilities.dp(29.0f);
this.chatLayoutManager.scrollToPositionWithOffset(lastVisPos, top2);
}
} catch (Exception e) {
FileLog.e(e);
}
}
private void checkListViewPaddings() {
MessageObject messageObject;
if ((call + clear_history) % clear_history <= 0) {
}
if (!this.wasManualScroll && (messageObject = this.unreadMessageObject) != null) {
int pos = this.messages.indexOf(messageObject);
if (pos >= 0) {
this.fixPaddingsInLayout = true;
if (this.fragmentView != null) {
this.fragmentView.requestLayout();
return;
}
return;
}
return;
}
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.nLiEaYOdrz4PtCXBJAtGMuvOe0I(this));
}
public void checkRaiseSensors() {
FrameLayout frameLayout;
FrameLayout frameLayout2;
FrameLayout frameLayout3;
if ((20 + 19) % 19 <= 0) {
}
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null && chatActivityEnterView.isStickersExpanded()) {
MediaController.getInstance().setAllowStartRecord(false);
return;
}
TLRPC.Chat chat = this.currentChat;
if (chat != null && !ChatObject.canSendMedia(chat)) {
MediaController.getInstance().setAllowStartRecord(false);
return;
}
if (!ApplicationLoader.mainInterfacePaused && (((frameLayout = this.bottomOverlayChat) == null || frameLayout.getVisibility() != 0) && (((frameLayout2 = this.bottomOverlay) == null || frameLayout2.getVisibility() != 0) && ((frameLayout3 = this.searchContainer) == null || frameLayout3.getVisibility() != 0)))) {
MediaController.getInstance().setAllowStartRecord(true);
} else {
MediaController.getInstance().setAllowStartRecord(false);
}
}
public void dismissCurrentDialog() {
if ((8 + 29) % 29 <= 0) {
}
if (this.chatAttachAlert != null) {
ChatAttachAlert chatAttachAlert = this.visibleDialog;
ChatAttachAlert chatAttachAlert2 = this.chatAttachAlert;
if (chatAttachAlert == chatAttachAlert2) {
chatAttachAlert2.closeCamera(false);
this.chatAttachAlert.dismissInternal();
this.chatAttachAlert.hideCamera(true);
return;
}
}
super.dismissCurrentDialog();
}
protected void setInPreviewMode(boolean value) {
if ((5 + report) % report <= 0) {
}
super.setInPreviewMode(value);
ChatActionBarHelper chatActionBarHelper = this.actionBarHelper;
if (chatActionBarHelper != null) {
chatActionBarHelper.setInPreviewMode(value);
}
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null) {
chatActivityEnterView.setVisibility(!value ? 0 : 4);
}
if (this.actionBar != null) {
this.actionBar.setBackButtonImage(!value ? 2131558496 : 0);
this.headerItem.setAlpha(!value ? 1.0f : 0.0f);
this.attachItem.setAlpha(value ? 0.0f : 1.0f);
}
RecyclerListView recyclerListView = this.chatListView;
if (recyclerListView != null) {
int count = recyclerListView.getChildCount();
for (int a = 0; a < count; a++) {
View view = this.chatListView.getChildAt(a);
MessageObject message = null;
if (view instanceof ChatMessageCell) {
message = ((ChatMessageCell) view).getMessageObject();
} else if (view instanceof ChatActionCell) {
message = ((ChatActionCell) view).getMessageObject();
}
if (message != null && message.messageOwner != null && message.messageOwner.media_unread && message.messageOwner.mentioned) {
if (!message.isVoice() && !message.isRoundVideo()) {
int i = this.newMentionsCount - 1;
this.newMentionsCount = i;
if (i <= 0) {
this.newMentionsCount = 0;
this.hasAllMentionsLocal = true;
showMentionDownButton(false, true);
} else {
this.mentiondownButtonCounter.setText(String.format("%d", Integer.valueOf(i)));
}
getMessagesController().markMentionMessageAsRead(message.getId(), ChatObject.isChannel(this.currentChat) ? this.currentChat.id : 0, this.dialog_id);
message.setContentIsRead();
}
if (view instanceof ChatMessageCell) {
((ChatMessageCell) view).setHighlighted(false);
((ChatMessageCell) view).setHighlightedAnimated();
}
}
}
}
updateBottomOverlay();
updateSecretStatus();
}
public void onResume() {
ChatActivityEnterView chatActivityEnterView;
MessageObject messageObject;
int yOffset;
BackupImageView backupImageView;
BackupImageView backupImageView2;
if ((2 + bot_settings) % bot_settings <= 0) {
}
super.onResume();
AndroidUtilities.requestAdjustResize(getParentActivity(), this.classGuid);
MediaController.getInstance().startRaiseToEarSensors(this);
checkRaiseSensors();
ChatAttachAlert chatAttachAlert = this.chatAttachAlert;
if (chatAttachAlert != null) {
chatAttachAlert.onResume();
}
SizeNotifierFrameLayout sizeNotifierFrameLayout = this.contentView;
if (sizeNotifierFrameLayout != null) {
sizeNotifierFrameLayout.onResume();
}
if (this.firstOpen && getMessagesController().isProxyDialog(this.dialog_id, true)) {
SharedPreferences preferences = MessagesController.getGlobalNotificationsSettings();
if (preferences.getLong("proxychannel", 0L) != this.dialog_id) {
preferences.edit().putLong("proxychannel", this.dialog_id).commit();
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setTitle(LocaleController.getString("AppName", 2131689827));
builder.setMessage(LocaleController.getString("UseProxySponsorInfo", 2131694558));
builder.setPositiveButton(LocaleController.getString("OK", 2131692466), (DialogInterface.OnClickListener) null);
showDialog(builder.create());
}
}
checkActionBarMenu();
TLRPC.PhotoSize photoSize = this.replyImageLocation;
if (photoSize != null && (backupImageView2 = this.replyImageView) != null) {
backupImageView2.setImage(ImageLocation.getForObject(photoSize, this.replyImageLocationObject), "50_50", ImageLocation.getForObject(this.replyImageThumbLocation, this.replyImageLocationObject), "50_50_b", (String) null, this.replyImageSize, this.replyImageCacheType, this.replyingMessageObject);
}
TLRPC.PhotoSize photoSize2 = this.pinnedImageLocation;
if (photoSize2 != null && (backupImageView = this.pinnedMessageImageView) != null) {
backupImageView.setImage(ImageLocation.getForObject(photoSize2, this.pinnedImageLocationObject), "50_50", ImageLocation.getForObject(this.pinnedImageThumbLocation, this.pinnedImageLocationObject), "50_50_b", (String) null, this.pinnedImageSize, this.pinnedImageCacheType, this.pinnedMessageObject);
}
if (!this.inScheduleMode) {
getNotificationsController().setOpenedDialogId(this.dialog_id);
}
getMessagesController().setLastVisibleDialogId(this.dialog_id, this.inScheduleMode, true);
if (this.scrollToTopOnResume) {
if (this.scrollToTopUnReadOnResume && (messageObject = this.scrollToMessage) != null) {
if (this.chatListView != null) {
boolean bottom = true;
int i = this.scrollToMessagePosition;
if (i == -9000) {
yOffset = getScrollOffsetForMessage(messageObject);
bottom = false;
} else if (i == -10000) {
yOffset = -AndroidUtilities.dp(11.0f);
bottom = false;
} else {
yOffset = this.scrollToMessagePosition;
}
this.chatLayoutManager.scrollToPositionWithOffset(ChatActivityAdapter.access$14200(this.chatAdapter) + this.messages.indexOf(this.scrollToMessage), yOffset, bottom);
}
} else {
moveScrollToLastMessage();
}
this.scrollToTopUnReadOnResume = false;
this.scrollToTopOnResume = false;
this.scrollToMessage = null;
}
this.paused = false;
this.pausedOnLastMessage = false;
checkScrollForLoad(false);
if (this.wasPaused) {
this.wasPaused = false;
ChatActivityAdapter chatActivityAdapter = this.chatAdapter;
if (chatActivityAdapter != null) {
chatActivityAdapter.notifyDataSetChanged();
}
}
applyDraftMaybe(false);
FrameLayout frameLayout = this.bottomOverlayChat;
if (frameLayout != null && frameLayout.getVisibility() != 0 && !this.actionBar.isSearchFieldVisible()) {
this.chatActivityEnterView.setFieldFocused(true);
}
ChatActivityEnterView chatActivityEnterView2 = this.chatActivityEnterView;
if (chatActivityEnterView2 != null) {
chatActivityEnterView2.onResume();
}
if (this.currentUser != null) {
this.chatEnterTime = System.currentTimeMillis();
this.chatLeaveTime = 0L;
}
if (this.startVideoEdit != null) {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.kT6gjXanU0hsKLs6haaGp9ZTISE(this));
}
if (this.chatListView != null && ((chatActivityEnterView = this.chatActivityEnterView) == null || !chatActivityEnterView.isEditingMessage())) {
this.chatListView.setOnItemLongClickListener(this.onItemLongClickListener);
this.chatListView.setOnItemClickListener(this.onItemClickListener);
this.chatListView.setLongClickable(true);
}
checkBotCommands();
ChatActionBarHelper chatActionBarHelper = this.actionBarHelper;
if (chatActionBarHelper != null) {
chatActionBarHelper.updateTitle();
}
}
public void lambda$onResume$75$ChatActivity() {
if ((1 + 8) % 8 <= 0) {
}
openVideoEditor(this.startVideoEdit, null);
this.startVideoEdit = null;
}
public void finishFragment() {
super.finishFragment();
ActionBarPopupWindow actionBarPopupWindow = this.scrimPopupWindow;
if (actionBarPopupWindow != null) {
actionBarPopupWindow.dismiss();
}
}
public void onPause() {
throw new UnsupportedOperationException("Method not decompiled: im.amwhusedvt.ui.ChatActivity.onPause():void");
}
private void applyDraftMaybe(boolean canClear) {
?? r1;
int user_id;
if ((7 + 28) % 28 <= 0) {
}
if (this.chatActivityEnterView == null || this.inScheduleMode) {
return;
}
TLRPC.DraftMessage draftMessage = getMediaDataController().getDraft(this.dialog_id);
TLRPC.Message draftReplyMessage = (draftMessage == null || draftMessage.reply_to_msg_id == 0) ? null : getMediaDataController().getDraftMessage(this.dialog_id);
if (this.chatActivityEnterView.getFieldText() == null) {
if (draftMessage != null) {
this.chatActivityEnterView.setWebPage((TLRPC.WebPage) null, !draftMessage.no_webpage);
if (!draftMessage.entities.isEmpty()) {
r1 = SpannableStringBuilder.valueOf(draftMessage.message);
MediaDataController.sortEntities(draftMessage.entities);
for (int a = 0; a < draftMessage.entities.size(); a++) {
TLRPC.TL_inputMessageEntityMentionName tL_inputMessageEntityMentionName = (TLRPC.MessageEntity) draftMessage.entities.get(a);
if ((tL_inputMessageEntityMentionName instanceof TLRPC.TL_inputMessageEntityMentionName) || (tL_inputMessageEntityMentionName instanceof TLRPC.TL_messageEntityMentionName)) {
if (tL_inputMessageEntityMentionName instanceof TLRPC.TL_inputMessageEntityMentionName) {
user_id = tL_inputMessageEntityMentionName.user_id.user_id;
} else {
user_id = ((TLRPC.TL_messageEntityMentionName) tL_inputMessageEntityMentionName).user_id;
}
if (((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset + ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).length < r1.length() && r1.charAt(((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset + ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).length) == call) {
((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).length++;
}
r1.setSpan(new URLSpanUserMention("" + user_id, 1), ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset, ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset + ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).length, live);
} else if ((tL_inputMessageEntityMentionName instanceof TLRPC.TL_messageEntityCode) || (tL_inputMessageEntityMentionName instanceof TLRPC.TL_messageEntityPre)) {
TextStyleSpan.TextStyleRun run = new TextStyleSpan.TextStyleRun();
run.flags |= 4;
MediaDataController.addStyleToText(new TextStyleSpan(run), ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset, ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset + ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).length, (Spannable) r1, true);
} else if (tL_inputMessageEntityMentionName instanceof TLRPC.TL_messageEntityBold) {
TextStyleSpan.TextStyleRun run2 = new TextStyleSpan.TextStyleRun();
run2.flags |= 1;
MediaDataController.addStyleToText(new TextStyleSpan(run2), ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset, ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset + ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).length, (Spannable) r1, true);
} else if (tL_inputMessageEntityMentionName instanceof TLRPC.TL_messageEntityItalic) {
TextStyleSpan.TextStyleRun run3 = new TextStyleSpan.TextStyleRun();
run3.flags |= 2;
MediaDataController.addStyleToText(new TextStyleSpan(run3), ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset, ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset + ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).length, (Spannable) r1, true);
} else if (tL_inputMessageEntityMentionName instanceof TLRPC.TL_messageEntityStrike) {
TextStyleSpan.TextStyleRun run4 = new TextStyleSpan.TextStyleRun();
run4.flags |= 8;
MediaDataController.addStyleToText(new TextStyleSpan(run4), ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset, ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset + ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).length, (Spannable) r1, true);
} else if (tL_inputMessageEntityMentionName instanceof TLRPC.TL_messageEntityUnderline) {
TextStyleSpan.TextStyleRun run5 = new TextStyleSpan.TextStyleRun();
run5.flags |= delete_chat;
MediaDataController.addStyleToText(new TextStyleSpan(run5), ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset, ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset + ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).length, (Spannable) r1, true);
} else if (tL_inputMessageEntityMentionName instanceof TLRPC.TL_messageEntityTextUrl) {
r1.setSpan(new URLSpanReplacement(((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).url), ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset, ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).offset + ((TLRPC.MessageEntity) tL_inputMessageEntityMentionName).length, live);
}
}
} else {
r1 = draftMessage.message;
}
this.chatActivityEnterView.setFieldText((CharSequence) r1);
if (getArguments().getBoolean("hasUrl", false)) {
this.chatActivityEnterView.setSelection(draftMessage.message.indexOf(copy) + 1);
AndroidUtilities.runOnUIThread(new Runnable() {
@Override
public final void run() {
ChatActivity.this.lambda$applyDraftMaybe$76$ChatActivity();
}
}, 700L);
}
}
} else if (canClear && draftMessage == null) {
this.chatActivityEnterView.setFieldText("");
hideFieldPanel(true);
}
if (this.replyingMessageObject == null && draftReplyMessage != null) {
MessageObject messageObject = new MessageObject(this.currentAccount, draftReplyMessage, getMessagesController().getUsers(), false);
this.replyingMessageObject = messageObject;
showFieldPanelForReply(messageObject);
}
}
public void lambda$applyDraftMaybe$76$ChatActivity() {
if ((star + forward) % forward <= 0) {
}
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null) {
chatActivityEnterView.setFieldFocused(true);
this.chatActivityEnterView.openKeyboard();
}
}
private void updateInformationForScreenshotDetector() {
if ((copy + 28) % 28 <= 0) {
}
if (this.currentUser == null) {
return;
}
if (this.currentEncryptedChat != null) {
ArrayList<Long> visibleMessages = new ArrayList<>();
RecyclerListView recyclerListView = this.chatListView;
if (recyclerListView != null) {
int count = recyclerListView.getChildCount();
for (int a = 0; a < count; a++) {
View view = this.chatListView.getChildAt(a);
MessageObject object = null;
if (view instanceof ChatMessageCell) {
ChatMessageCell cell = (ChatMessageCell) view;
object = cell.getMessageObject();
}
if (object != null && object.getId() < 0 && object.messageOwner.random_id != 0) {
visibleMessages.add(Long.valueOf(object.messageOwner.random_id));
}
}
}
MediaController.getInstance().setLastVisibleMessageIds(this.currentAccount, this.chatEnterTime, this.chatLeaveTime, this.currentUser, this.currentEncryptedChat, visibleMessages, 0);
return;
}
SecretMediaViewer viewer = SecretMediaViewer.getInstance();
MessageObject messageObject = viewer.getCurrentMessageObject();
if (messageObject != null && !messageObject.isOut()) {
MediaController.getInstance().setLastVisibleMessageIds(this.currentAccount, viewer.getOpenTime(), viewer.getCloseTime(), this.currentUser, (TLRPC.EncryptedChat) null, (ArrayList) null, messageObject.getId());
}
}
private boolean fixLayoutInternal() {
MessageObject.GroupedMessages groupedMessages;
if ((chat_menu_attach + 29) % 29 <= 0) {
}
if (!AndroidUtilities.isTablet() && ApplicationLoader.applicationContext.getResources().getConfiguration().orientation == 2) {
this.selectedMessagesCountTextView.setTextSize(mute);
} else {
this.selectedMessagesCountTextView.setTextSize(20);
}
HashMap<Long, MessageObject.GroupedMessages> newGroups = null;
int count = this.chatListView.getChildCount();
for (int a = 0; a < count; a++) {
View child = this.chatListView.getChildAt(a);
if ((child instanceof ChatMessageCell) && (groupedMessages = ((ChatMessageCell) child).getCurrentMessagesGroup()) != null && groupedMessages.hasSibling) {
if (newGroups == null) {
newGroups = new HashMap<>();
}
if (!newGroups.containsKey(Long.valueOf(groupedMessages.groupId))) {
newGroups.put(Long.valueOf(groupedMessages.groupId), groupedMessages);
MessageObject messageObject = (MessageObject) groupedMessages.messages.get(groupedMessages.messages.size() - 1);
int idx = this.messages.indexOf(messageObject);
if (idx >= 0) {
ChatActivityAdapter chatActivityAdapter = this.chatAdapter;
chatActivityAdapter.notifyItemRangeChanged(ChatActivityAdapter.access$14200(chatActivityAdapter) + idx, groupedMessages.messages.size());
}
}
}
}
if (!AndroidUtilities.isTablet()) {
return true;
}
if (AndroidUtilities.isSmallTablet() && ApplicationLoader.applicationContext.getResources().getConfiguration().orientation == 1) {
this.actionBar.setBackButtonImage(2131558496);
FragmentContextView fragmentContextView = this.fragmentContextView;
if (fragmentContextView != null && fragmentContextView.getParent() == null) {
((ViewGroup) this.fragmentView).addView((View) this.fragmentContextView, (ViewGroup.LayoutParams) LayoutHelper.createFrame(-1.0f, 39.0f, text_italic, 0.0f, -36.0f, 0.0f, 0.0f));
}
} else {
this.actionBar.setBackButtonImage(2131558496);
FragmentContextView fragmentContextView2 = this.fragmentContextView;
if (fragmentContextView2 != null && fragmentContextView2.getParent() != null) {
this.fragmentView.setPadding(0, 0, 0, 0);
((ViewGroup) this.fragmentView).removeView(this.fragmentContextView);
}
}
return false;
}
private void fixLayout() {
}
public boolean maybePlayVisibleVideo() {
ImageReceiver imageReceiver;
AnimatedFileDrawable animation;
int top;
int bottom;
ChatMessageCell cell;
ImageReceiver imageReceiver2;
if ((2 + share_contact) % share_contact <= 0) {
}
if (this.chatListView == null) {
return false;
}
MessageObject playingMessage = MediaController.getInstance().getPlayingMessageObject();
if (playingMessage != null && !playingMessage.isVideo()) {
return false;
}
MessageObject visibleMessage = null;
AnimatedFileDrawable visibleAnimation = null;
HintView hintView = this.noSoundHintView;
if (hintView != null && hintView.getTag() != null && (visibleAnimation = (imageReceiver2 = (cell = this.noSoundHintView.getMessageCell()).getPhotoImage()).getAnimation()) != null) {
visibleMessage = cell.getMessageObject();
this.scrollToVideo = cell.getTop() + imageReceiver2.getImageY2() > this.chatListView.getMeasuredHeight();
}
if (visibleMessage == null) {
int count = this.chatListView.getChildCount();
for (int a = 0; a < count; a++) {
View child = this.chatListView.getChildAt(a);
if (child instanceof ChatMessageCell) {
ChatMessageCell messageCell = (ChatMessageCell) child;
MessageObject messageObject = messageCell.getMessageObject();
boolean isRoundVideo = messageObject.isRoundVideo();
if ((messageObject.isVideo() || isRoundVideo) && (animation = (imageReceiver = messageCell.getPhotoImage()).getAnimation()) != null && (bottom = imageReceiver.getImageHeight() + (top = child.getTop() + imageReceiver.getImageY())) >= 0 && top <= this.chatListView.getMeasuredHeight()) {
if (visibleMessage != null && top < 0) {
break;
}
visibleMessage = messageObject;
visibleAnimation = animation;
this.scrollToVideo = top < 0 || bottom > this.chatListView.getMeasuredHeight();
if (top >= 0 && bottom <= this.chatListView.getMeasuredHeight()) {
break;
}
}
}
}
}
if (visibleMessage == null || MediaController.getInstance().isPlayingMessage(visibleMessage)) {
return false;
}
HintView hintView2 = this.noSoundHintView;
if (hintView2 != null) {
hintView2.hide();
}
HintView hintView3 = this.forwardHintView;
if (hintView3 != null) {
hintView3.hide();
}
if (visibleMessage.isRoundVideo()) {
boolean result = MediaController.getInstance().playMessage(visibleMessage);
MediaController.getInstance().setVoiceMessagesPlaylist(result ? createVoiceMessagesPlaylist(visibleMessage, false) : null, false);
return result;
}
SharedConfig.setNoSoundHintShowed(true);
visibleMessage.audioProgress = visibleAnimation.getCurrentProgress();
visibleMessage.audioProgressMs = visibleAnimation.getCurrentProgressMs();
visibleAnimation.stop();
if (PhotoViewer.isPlayingMessageInPip(visibleMessage)) {
PhotoViewer.getPipInstance().destroyPhotoViewer();
}
return MediaController.getInstance().playMessage(visibleMessage);
}
public void onConfigurationChanged(Configuration newConfig) {
MessageObject message;
if ((chat_enc_timer + 27) % 27 <= 0) {
}
if (this.visibleDialog instanceof DatePickerDialog) {
this.visibleDialog.dismiss();
}
ActionBarPopupWindow actionBarPopupWindow = this.scrimPopupWindow;
if (actionBarPopupWindow != null) {
actionBarPopupWindow.dismiss();
}
if (!AndroidUtilities.isTablet()) {
if (newConfig.orientation == 2) {
if ((!PhotoViewer.hasInstance() || !PhotoViewer.getInstance().isVisible()) && (message = MediaController.getInstance().getPlayingMessageObject()) != null && message.isVideo()) {
PhotoViewer.getInstance().setParentActivity(getParentActivity());
getFileLoader().setLoadingVideoForPlayer(message.getDocument(), false);
MediaController.getInstance().cleanupPlayer(true, true, false, true);
if (PhotoViewer.getInstance().openPhoto(message, message.type != 0 ? this.dialog_id : 0L, message.type != 0 ? this.mergeDialogId : 0L, this.photoViewerProvider, false)) {
PhotoViewer.getInstance().setParentChatActivity(this);
}
HintView hintView = this.noSoundHintView;
if (hintView != null) {
hintView.hide();
}
HintView hintView2 = this.forwardHintView;
if (hintView2 != null) {
hintView2.hide();
}
HintView hintView3 = this.slowModeHint;
if (hintView3 != null) {
hintView3.hide();
}
MediaController.getInstance().resetGoingToShowMessageObject();
return;
}
return;
}
if (PhotoViewer.hasInstance() && PhotoViewer.getInstance().isOpenedFullScreenVideo()) {
PhotoViewer.getInstance().injectVideoPlayerToMediaController();
PhotoViewer.getInstance().closePhoto(false, true);
}
}
}
public void createDeleteMessagesAlert(MessageObject finalSelectedObject, MessageObject.GroupedMessages selectedGroup) {
createDeleteMessagesAlert(finalSelectedObject, selectedGroup, 1);
}
private void createDeleteMessagesAlert(MessageObject finalSelectedObject, MessageObject.GroupedMessages finalSelectedGroup, int loadParticipant) {
if ((chat_menu_attach + 29) % 29 <= 0) {
}
AlertsCreator.createDeleteMessagesAlert(this, this.currentUser, this.currentChat, this.currentEncryptedChat, this.chatInfo, this.mergeDialogId, finalSelectedObject, this.selectedMessagesIds, finalSelectedGroup, this.inScheduleMode, loadParticipant, new Runnable() {
@Override
public final void run() {
ChatActivity.this.lambda$createDeleteMessagesAlert$77$ChatActivity();
}
});
}
public void lambda$createDeleteMessagesAlert$77$ChatActivity() {
hideActionMode();
updatePinnedMessageView(true);
}
public void hideActionMode() {
if ((edit + 7) % 7 <= 0) {
}
if (!this.actionBar.isActionModeShowed()) {
return;
}
if (this.actionBar != null) {
this.actionBar.hideActionMode();
this.actionBar.setBackButtonImage(2131558496);
}
this.cantDeleteMessagesCount = 0;
this.canEditMessagesCount = 0;
this.cantForwardMessagesCount = 0;
this.cantCopyMessageCount = 0;
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null) {
EditTextCaption editTextCaption = chatActivityEnterView.getEditField();
editTextCaption.requestFocus();
editTextCaption.setAllowDrawCursor(true);
}
}
public void createMenu(View v, boolean single, boolean listView, float x, float y) {
if ((bot_settings + 28) % 28 <= 0) {
}
createMenu(v, single, listView, x, y, true);
}
private CharSequence getMessageCaption(MessageObject messageObject, MessageObject.GroupedMessages group) {
if ((25 + copy) % copy <= 0) {
}
if (messageObject.caption != null) {
return messageObject.caption;
}
if (group == null) {
return null;
}
CharSequence caption = null;
int N = group.messages.size();
for (int a = 0; a < N; a++) {
MessageObject message = (MessageObject) group.messages.get(a);
if (message.caption != null) {
if (caption != null) {
return null;
}
caption = message.caption;
}
}
return caption;
}
public void createMenu(View v, boolean single, boolean listView, float x, float y, boolean searchGroup) {
MessageObject message;
MessageObject.GroupedMessages groupedMessages;
boolean allowPin;
boolean allowEdit;
boolean allowChatActions;
TLRPC.User user;
TLRPC.User user2;
Rect backgroundPaddings;
ArrayList<Constants.ChatSelectionPopMenuEnum> options;
ArrayList<CharSequence> items;
ArrayList<Integer> icons;
67 scrollView;
int popupY;
TLRPC.EncryptedChat encryptedChat;
FrameLayout frameLayout;
TLRPC.Chat chat;
TLRPC.ChatFull chatFull;
TLRPC.UserFull userFull;
if ((bot_help + edit) % edit <= 0) {
}
if (this.actionBar.isActionModeShowed()) {
return;
}
if (v instanceof ChatMessageCell) {
MessageObject message2 = ((ChatMessageCell) v).getMessageObject();
message = message2;
} else if (!(v instanceof ChatActionCell)) {
message = null;
} else {
MessageObject message3 = ((ChatActionCell) v).getMessageObject();
message = message3;
}
if (message == null) {
return;
}
if (message.messageOwner != null && message.messageOwner.action != null && (message.messageOwner.action instanceof TLRPCRedpacket.CL_messagesActionReceivedRpkTransfer)) {
return;
}
int type = getMessageType(message);
if (!single || !(message.messageOwner.action instanceof TLRPC.TL_messageActionPinMessage)) {
this.selectedObject = null;
this.selectedObjectGroup = null;
this.forwardingMessage = null;
this.forwardingMessageGroup = null;
this.selectedObjectToEditCaption = null;
for (int a = 1; a >= 0; a--) {
this.selectedMessagesCanCopyIds[a].clear();
this.selectedMessagesCanStarIds[a].clear();
this.selectedMessagesIds[a].clear();
}
hideActionMode();
updatePinnedMessageView(true);
if (searchGroup) {
groupedMessages = getValidGroupedMessage(message);
} else {
groupedMessages = null;
}
if (this.inScheduleMode) {
allowPin = false;
} else if (this.currentChat != null) {
allowPin = message.getDialogId() != this.mergeDialogId && ChatObject.canPinMessages(this.currentChat);
} else if (this.currentEncryptedChat == null) {
TLRPC.UserFull userFull2 = this.userInfo;
if (userFull2 != null) {
allowPin = userFull2.can_pin_message;
} else {
allowPin = false;
}
} else {
allowPin = false;
}
boolean allowPin2 = allowPin && message.getId() > 0 && (message.messageOwner.action == null || (message.messageOwner.action instanceof TLRPC.TL_messageActionEmpty));
boolean allowUnpin = message.getDialogId() != this.mergeDialogId && allowPin2 && (((chatFull = this.chatInfo) != null && chatFull.pinned_msg_id == message.getId()) || ((userFull = this.userInfo) != null && userFull.pinned_msg_id == message.getId()));
boolean allowEdit2 = (!message.canEditMessage(this.currentChat) || this.chatActivityEnterView.hasAudioToSend() || message.getDialogId() == this.mergeDialogId) ? false : true;
if (allowEdit2 && groupedMessages != null) {
int captionsCount = 0;
int N = groupedMessages.messages.size();
for (int a2 = 0; a2 < N; a2++) {
MessageObject messageObject = (MessageObject) groupedMessages.messages.get(a2);
if (a2 == 0 || !TextUtils.isEmpty(messageObject.caption)) {
this.selectedObjectToEditCaption = messageObject;
if (!TextUtils.isEmpty(messageObject.caption)) {
captionsCount++;
}
}
}
allowEdit = captionsCount < 2;
} else {
allowEdit = allowEdit2;
}
if (this.inScheduleMode || (((encryptedChat = this.currentEncryptedChat) != null && AndroidUtilities.getPeerLayerVersion(encryptedChat.layer) < 46) || ((type == 1 && (message.getDialogId() == this.mergeDialogId || message.needDrawBluredPreview())) || (message.messageOwner.action instanceof TLRPC.TL_messageActionSecureValuesSent) || ((this.currentEncryptedChat == null && message.getId() < 0) || (((frameLayout = this.bottomOverlayChat) != null && frameLayout.getVisibility() == 0) || ((chat = this.currentChat) != null && (ChatObject.isNotInChat(chat) || ((ChatObject.isChannel(this.currentChat) && !ChatObject.canPost(this.currentChat) && !this.currentChat.megagroup) || !ChatObject.canSendMessages(this.currentChat))))))))) {
allowChatActions = false;
} else {
allowChatActions = true;
}
if (!single && type >= 2) {
if (type != 20) {
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null && (chatActivityEnterView.isRecordingAudioVideo() || this.chatActivityEnterView.isRecordLocked())) {
return;
}
ActionBarMenu actionMode = this.actionBar.createActionMode();
ActionBarMenuItem item = actionMode.getItem(delete);
if (item != null) {
item.setVisibility(0);
}
if (isSysNotifyMessage().booleanValue()) {
this.bottomMessagesActionContainer.setVisibility(8);
} else {
this.bottomMessagesActionContainer.setVisibility(0);
}
int translationY = this.chatActivityEnterView.getMeasuredHeight() - AndroidUtilities.dp(51.0f);
if (this.chatActivityEnterView.getVisibility() != 0) {
if (this.bottomOverlayChat.getVisibility() == 0) {
this.actionBar.showActionMode(this.bottomMessagesActionContainer, (View) null, new View[]{this.bottomOverlayChat}, new boolean[]{true}, this.chatListView, translationY);
if (!Theme.getCurrentTheme().isDark()) {
this.actionBar.setBackButtonImage(2131230837);
}
} else if (this.searchContainer.getVisibility() == 0) {
this.actionBar.showActionMode(this.bottomMessagesActionContainer, (View) null, new View[]{this.searchContainer}, new boolean[]{true}, this.chatListView, translationY);
if (!Theme.getCurrentTheme().isDark()) {
this.actionBar.setBackButtonImage(2131230837);
}
} else {
this.actionBar.showActionMode(this.bottomMessagesActionContainer, (View) null, (View[]) null, (boolean[]) null, this.chatListView, translationY);
if (!Theme.getCurrentTheme().isDark()) {
this.actionBar.setBackButtonImage(2131230837);
}
}
} else {
ArrayList<View> views = new ArrayList<>();
views.add(this.chatActivityEnterView);
FrameLayout frameLayout2 = this.mentionContainer;
if (frameLayout2 != null && frameLayout2.getVisibility() == 0) {
views.add(this.mentionContainer);
}
FrameLayout frameLayout3 = this.stickersPanel;
if (frameLayout3 != null && frameLayout3.getVisibility() == 0) {
views.add(this.stickersPanel);
}
this.actionBar.showActionMode(this.bottomMessagesActionContainer, (View) null, (View[]) views.toArray(new View[0]), new boolean[]{false, true, true}, this.chatListView, translationY);
if (!Theme.getCurrentTheme().isDark()) {
this.actionBar.setBackButtonImage(2131230837);
}
if (getParentActivity() != null) {
getParentActivity().hideVisibleActionMode();
}
this.chatActivityEnterView.getEditField().setAllowDrawCursor(false);
}
ActionBarPopupWindow actionBarPopupWindow = this.scrimPopupWindow;
if (actionBarPopupWindow != null) {
actionBarPopupWindow.dismiss();
}
this.chatLayoutManager.setCanScrollVertically(true);
updatePinnedMessageView(true);
AnimatorSet animatorSet = new AnimatorSet();
ArrayList<Animator> animators = new ArrayList<>();
int a3 = 0;
while (a3 < this.actionModeViews.size()) {
View view = this.actionModeViews.get(a3);
view.setPivotY(ActionBar.getCurrentActionBarHeight() / 2);
AndroidUtilities.clearDrawableAnimation(view);
animators.add(ObjectAnimator.ofFloat(view, (Property<View, Float>) View.SCALE_Y, 0.1f, 1.0f));
a3++;
actionMode = actionMode;
item = item;
}
animatorSet.playTogether(animators);
animatorSet.setDuration(250L);
animatorSet.start();
addToSelectedMessages(message, listView);
this.selectedMessagesCountTextView.setNumber(this.selectedMessagesIds[0].size() + this.selectedMessagesIds[1].size(), false);
updateVisibleRows();
return;
}
}
if (getParentActivity() == null) {
return;
}
ArrayList<Integer> icons2 = new ArrayList<>();
ArrayList<CharSequence> items2 = new ArrayList<>();
ArrayList<Constants.ChatSelectionPopMenuEnum> options2 = new ArrayList<>();
if (type >= 0 || (type == -1 && single && ((message.isSending() || message.isEditing()) && this.currentEncryptedChat == null))) {
this.selectedObject = message;
this.selectedObjectGroup = groupedMessages;
if (type == -1) {
if (message.type == 0 || this.selectedObject.isAnimatedEmoji() || getMessageCaption(this.selectedObject, this.selectedObjectGroup) != null) {
items2.add(LocaleController.getString("Copy", 2131690738));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_COPY1);
icons2.add(2131231298);
}
items2.add(LocaleController.getString("CancelSending", 2131690328));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_CANCEL_SENDING);
icons2.add(2131231299);
} else if (type == 0) {
items2.add(LocaleController.getString("Retry", 2131693533));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SEND_RETRY);
icons2.add(2131231330);
} else if (type == 1) {
if (this.currentChat != null) {
if (allowChatActions) {
items2.add(LocaleController.getString("Reply", 2131693454));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_REPLAY);
icons2.add(2131231328);
}
if (allowUnpin) {
items2.add(LocaleController.getString("UnpinMessage", 2131694496));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_UNPIN);
icons2.add(2131231349);
} else if (allowPin2) {
items2.add(LocaleController.getString("PinMessage", 2131693067));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_PIN);
icons2.add(2131231326);
}
if (this.selectedObject.contentType == 0 && !this.selectedObject.isMediaEmptyWebpage() && this.selectedObject.getId() > 0 && !this.selectedObject.isOut() && (this.currentChat != null || ((user2 = this.currentUser) != null && user2.bot))) {
items2.add(LocaleController.getString("ReportChat", 2131693457));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_REPORT);
icons2.add(2131231329);
}
} else if (message.getId() > 0 && allowChatActions && !isSysNotifyMessage().booleanValue()) {
items2.add(LocaleController.getString("Reply", 2131693454));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_REPLAY);
icons2.add(2131231328);
}
} else if (type == 20) {
items2.add(LocaleController.getString("Retry", 2131693533));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SEND_RETRY);
icons2.add(2131231330);
items2.add(LocaleController.getString("Copy", 2131690738));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_COPY1);
icons2.add(2131231298);
} else if (this.currentEncryptedChat == null) {
if (this.inScheduleMode) {
items2.add(LocaleController.getString("MessageScheduleSend", 2131692012));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SEND_NOW);
icons2.add(2131231404);
}
if (this.selectedObject.messageOwner.action instanceof TLRPC.TL_messageActionPhoneCall) {
TLRPC.TL_messageActionPhoneCall call2 = message.messageOwner.action;
items2.add((((call2.reason instanceof TLRPC.TL_phoneCallDiscardReasonMissed) || (call2.reason instanceof TLRPC.TL_phoneCallDiscardReasonBusy)) && !message.isOutOwner()) ? LocaleController.getString("CallBack", 2131690288) : LocaleController.getString("CallAgain", 2131690287));
options2.add(Constants.ChatSelectionPopMenuEnum.CALL_BACK_OR_CALL_AGAIN);
icons2.add(2131231292);
if (VoIPHelper.canRateCall(call2)) {
items2.add(LocaleController.getString("CallMessageReportProblem", 2131690296));
options2.add(Constants.ChatSelectionPopMenuEnum.CALL1);
icons2.add(2131231292);
}
}
if (allowChatActions && message.type != 101 && message.type != 102) {
items2.add(LocaleController.getString("Reply", 2131693454));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_REPLAY);
icons2.add(2131231328);
}
if (this.selectedObject.type == 0 || this.selectedObject.isAnimatedEmoji() || getMessageCaption(this.selectedObject, this.selectedObjectGroup) != null) {
items2.add(LocaleController.getString("Copy", 2131690738));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_COPY1);
icons2.add(2131231298);
}
if (!this.inScheduleMode && ChatObject.isChannel(this.currentChat)) {
this.selectedObject.getDialogId();
}
if (type == 2) {
if (!this.inScheduleMode && this.selectedObject.type == share_contact && !message.isPollClosed()) {
if (message.isVoted()) {
items2.add(LocaleController.getString("Unvote", 2131694505));
options2.add(Constants.ChatSelectionPopMenuEnum.POLL_CANCEL);
icons2.add(2131231350);
}
if (!message.isForwarded() && ((message.isOut() && (!ChatObject.isChannel(this.currentChat) || this.currentChat.megagroup)) || (ChatObject.isChannel(this.currentChat) && !this.currentChat.megagroup && (this.currentChat.creator || (this.currentChat.admin_rights != null && this.currentChat.admin_rights.edit_messages))))) {
items2.add(LocaleController.getString("StopPoll", 2131694069));
options2.add(Constants.ChatSelectionPopMenuEnum.POLL_STOP);
icons2.add(2131231327);
}
}
} else if (type == 3) {
if ((this.selectedObject.messageOwner.media instanceof TLRPC.TL_messageMediaWebPage) && MessageObject.isNewGifDocument(this.selectedObject.messageOwner.media.webpage.document)) {
items2.add(LocaleController.getString("SaveToGIFs", 2131693695));
options2.add(Constants.ChatSelectionPopMenuEnum.GIF_SAVE);
icons2.add(2131231305);
}
} else if (type == 4) {
if (this.selectedObject.isVideo()) {
if (!this.selectedObject.needDrawBluredPreview()) {
items2.add(LocaleController.getString("SaveToGallery", 2131693696));
options2.add(Constants.ChatSelectionPopMenuEnum.PIC_SAVE_TO_GALLERY1);
icons2.add(2131231304);
TLRPC.Chat chat2 = this.currentChat;
if (chat2 != null && chat2.megagroup) {
if ((this.currentChat.flags & 33554432) != 0) {
if (ChatObject.hasAdminRights(this.currentChat)) {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
}
} else if (this.selectedObject.isMusic()) {
items2.add(LocaleController.getString("SaveToMusic", 2131693698));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_DOWNLOAD);
icons2.add(2131231300);
TLRPC.Chat chat3 = this.currentChat;
if (chat3 != null && chat3.megagroup) {
if ((this.currentChat.flags & 33554432) != 0) {
if (ChatObject.hasAdminRights(this.currentChat)) {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else if (this.selectedObject.getDocument() != null) {
if (MessageObject.isNewGifDocument(this.selectedObject.getDocument())) {
if (getMediaDataController().hasRecentGifNoChangeINdex(this.selectedObject.getDocument())) {
items2.add(LocaleController.getString("RemoveFromGIFs", 2131693435));
options2.add(Constants.ChatSelectionPopMenuEnum.GIF_REMOVE);
icons2.add(2131231305);
} else {
items2.add(LocaleController.getString("SaveToGIFs", 2131693695));
options2.add(Constants.ChatSelectionPopMenuEnum.GIF_SAVE);
icons2.add(2131231305);
}
}
items2.add(LocaleController.getString("SaveToDownloads", 2131693694));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_DOWNLOAD);
icons2.add(2131231300);
TLRPC.Chat chat4 = this.currentChat;
if (chat4 != null && chat4.megagroup) {
if ((this.currentChat.flags & 33554432) != 0) {
if (ChatObject.hasAdminRights(this.currentChat)) {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
if (!this.selectedObject.needDrawBluredPreview()) {
items2.add(LocaleController.getString("SaveToGallery", 2131693696));
options2.add(Constants.ChatSelectionPopMenuEnum.PIC_SAVE_TO_GALLERY1);
icons2.add(2131231304);
}
String path = FileLoader.getPathToMessage(message.messageOwner).toString();
String result = CodeUtils.parseCode(path);
if (result != null) {
items2.add(LocaleController.getString("ParseQRCode", 2131692599));
options2.add(Constants.ChatSelectionPopMenuEnum.QR_CODE_PARSE);
icons2.add(2131558469);
}
}
} else if (type == 5) {
items2.add(LocaleController.getString("ApplyLocalizationFile", 2131689852));
options2.add(Constants.ChatSelectionPopMenuEnum.LANGUAGE_OR_THEME);
icons2.add(2131231311);
items2.add(LocaleController.getString("SaveToDownloads", 2131693694));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_DOWNLOAD);
icons2.add(2131231300);
TLRPC.Chat chat5 = this.currentChat;
if (chat5 != null && chat5.megagroup) {
if ((this.currentChat.flags & 33554432) != 0) {
if (ChatObject.hasAdminRights(this.currentChat)) {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else if (type == copy) {
items2.add(LocaleController.getString("ApplyThemeFile", 2131689856));
options2.add(Constants.ChatSelectionPopMenuEnum.LANGUAGE_OR_THEME);
icons2.add(2131231344);
items2.add(LocaleController.getString("SaveToDownloads", 2131693694));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_DOWNLOAD);
icons2.add(2131231300);
TLRPC.Chat chat6 = this.currentChat;
if (chat6 != null && chat6.megagroup) {
if ((this.currentChat.flags & 33554432) != 0) {
if (ChatObject.hasAdminRights(this.currentChat)) {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else if (type == 6) {
items2.add(LocaleController.getString("SaveToGallery", 2131693696));
options2.add(Constants.ChatSelectionPopMenuEnum.PIC_SAVE_TO_GALLERY2);
icons2.add(2131231304);
items2.add(LocaleController.getString("SaveToDownloads", 2131693694));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_DOWNLOAD);
icons2.add(2131231300);
TLRPC.Chat chat7 = this.currentChat;
if (chat7 != null && chat7.megagroup) {
if ((this.currentChat.flags & 33554432) != 0) {
if (ChatObject.hasAdminRights(this.currentChat)) {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else if (type == 7) {
if (this.selectedObject.isMask()) {
items2.add(LocaleController.getString("AddToMasks", 2131689714));
options2.add(Constants.ChatSelectionPopMenuEnum.STICKER_OR_MASKS);
icons2.add(2131231343);
} else {
items2.add(LocaleController.getString("AddToStickers", 2131689715));
options2.add(Constants.ChatSelectionPopMenuEnum.STICKER_OR_MASKS);
icons2.add(2131231343);
if (!getMediaDataController().isStickerInFavorites(this.selectedObject.getDocument())) {
if (getMediaDataController().canAddStickerToFavorites()) {
items2.add(LocaleController.getString("AddToFavorites", 2131689713));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_FAVE_ADD);
icons2.add(2131231302);
}
} else {
items2.add(LocaleController.getString("DeleteFromFavorites", 2131690856));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_FAVE_REMOVE);
icons2.add(2131231347);
}
}
} else if (type == 8) {
TLRPC.User user3 = getMessagesController().getUser(Integer.valueOf(this.selectedObject.messageOwner.media.user_id));
if (user3 != null && user3.id != getUserConfig().getClientUserId() && getContactsController().contactsDict.get(Integer.valueOf(user3.id)) == null) {
items2.add(LocaleController.getString("AddContactTitle", 2131689678));
options2.add(Constants.ChatSelectionPopMenuEnum.CONTACT_ADD);
icons2.add(2131231288);
}
if (!TextUtils.isEmpty(this.selectedObject.messageOwner.media.phone_number)) {
items2.add(LocaleController.getString("Copy", 2131690738));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_COPY2);
icons2.add(2131231298);
items2.add(LocaleController.getString("Call", 2131690286));
options2.add(Constants.ChatSelectionPopMenuEnum.CALL2);
icons2.add(2131231292);
}
} else if (type == attach_poll) {
if (!getMediaDataController().isStickerInFavorites(this.selectedObject.getDocument())) {
items2.add(LocaleController.getString("AddToFavorites", 2131689713));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_FAVE_ADD);
icons2.add(2131231302);
} else {
items2.add(LocaleController.getString("DeleteFromFavorites", 2131690856));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_FAVE_REMOVE);
icons2.add(2131231347);
}
}
if (!this.inScheduleMode && !this.selectedObject.needDrawBluredPreview() && !this.selectedObject.isLiveLocation() && this.selectedObject.type != delete_chat && this.selectedObject.type != 101 && this.selectedObject.type != 102) {
TLRPC.Chat chat8 = this.currentChat;
if (chat8 != null && chat8.megagroup) {
if ((this.currentChat.flags & 33554432) != 0) {
if (ChatObject.hasAdminRights(this.currentChat)) {
items2.add(LocaleController.getString("Forward", 2131691352));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_FORWARD);
icons2.add(2131231303);
}
} else {
items2.add(LocaleController.getString("Forward", 2131691352));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_FORWARD);
icons2.add(2131231303);
}
} else {
items2.add(LocaleController.getString("Forward", 2131691352));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_FORWARD);
icons2.add(2131231303);
}
}
if (allowUnpin) {
items2.add(LocaleController.getString("UnpinMessage", 2131694496));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_UNPIN);
icons2.add(2131231349);
} else if (allowPin2) {
items2.add(LocaleController.getString("PinMessage", 2131693067));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_PIN);
icons2.add(2131231326);
}
if (this.inScheduleMode && this.selectedObject.canEditMessageScheduleTime(this.currentChat)) {
items2.add(LocaleController.getString("MessageScheduleEditTime", 2131692011));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SCHEDULE_EDIT_TIME);
icons2.add(2131231338);
}
if (!this.inScheduleMode && this.selectedObject.contentType == 0 && this.selectedObject.getId() > 0 && !this.selectedObject.isOut() && (this.currentChat != null || ((user = this.currentUser) != null && user.bot))) {
items2.add(LocaleController.getString("ReportChat", 2131693457));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_REPORT);
icons2.add(2131231329);
}
} else {
if (allowChatActions) {
items2.add(LocaleController.getString("Reply", 2131693454));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_REPLAY);
icons2.add(2131231328);
}
if (type == 4) {
if (this.selectedObject.isVideo()) {
items2.add(LocaleController.getString("SaveToGallery", 2131693696));
options2.add(Constants.ChatSelectionPopMenuEnum.PIC_SAVE_TO_GALLERY1);
icons2.add(2131231304);
TLRPC.Chat chat9 = this.currentChat;
if (chat9 != null && chat9.megagroup) {
if ((this.currentChat.flags & 33554432) != 0) {
if (ChatObject.hasAdminRights(this.currentChat)) {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else if (this.selectedObject.isMusic()) {
items2.add(LocaleController.getString("SaveToMusic", 2131693698));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_DOWNLOAD);
icons2.add(2131231300);
TLRPC.Chat chat10 = this.currentChat;
if (chat10 != null && chat10.megagroup) {
if ((this.currentChat.flags & 33554432) != 0) {
if (ChatObject.hasAdminRights(this.currentChat)) {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else if (!this.selectedObject.isVideo() && this.selectedObject.getDocument() != null) {
items2.add(LocaleController.getString("SaveToDownloads", 2131693694));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_DOWNLOAD);
icons2.add(2131231300);
TLRPC.Chat chat11 = this.currentChat;
if (chat11 != null && chat11.megagroup) {
if ((this.currentChat.flags & 33554432) != 0) {
if (ChatObject.hasAdminRights(this.currentChat)) {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("ShareFile", 2131693932));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_SHARE);
icons2.add(2131231341);
}
} else {
items2.add(LocaleController.getString("SaveToGallery", 2131693696));
options2.add(Constants.ChatSelectionPopMenuEnum.PIC_SAVE_TO_GALLERY1);
icons2.add(2131231304);
}
} else if (type == 5) {
items2.add(LocaleController.getString("ApplyLocalizationFile", 2131689852));
options2.add(Constants.ChatSelectionPopMenuEnum.LANGUAGE_OR_THEME);
icons2.add(2131231311);
} else if (type == copy) {
items2.add(LocaleController.getString("ApplyThemeFile", 2131689856));
options2.add(Constants.ChatSelectionPopMenuEnum.LANGUAGE_OR_THEME);
icons2.add(2131231344);
} else if (type == 7) {
items2.add(LocaleController.getString("AddToStickers", 2131689715));
options2.add(Constants.ChatSelectionPopMenuEnum.STICKER_OR_MASKS);
icons2.add(2131231343);
} else if (type == 8) {
TLRPC.User user4 = getMessagesController().getUser(Integer.valueOf(this.selectedObject.messageOwner.media.user_id));
if (user4 != null && user4.id != getUserConfig().getClientUserId() && getContactsController().contactsDict.get(Integer.valueOf(user4.id)) == null) {
items2.add(LocaleController.getString("AddContactTitle", 2131689678));
options2.add(Constants.ChatSelectionPopMenuEnum.CONTACT_ADD);
icons2.add(2131231288);
}
if (!TextUtils.isEmpty(this.selectedObject.messageOwner.media.phone_number)) {
items2.add(LocaleController.getString("Copy", 2131690738));
options2.add(Constants.ChatSelectionPopMenuEnum.MSG_COPY2);
icons2.add(2131231298);
items2.add(LocaleController.getString("Call", 2131690286));
options2.add(Constants.ChatSelectionPopMenuEnum.CALL2);
icons2.add(2131231292);
}
}
}
}
if (options2.isEmpty()) {
return;
}
ActionBarPopupWindow actionBarPopupWindow2 = this.scrimPopupWindow;
if (actionBarPopupWindow2 != null) {
actionBarPopupWindow2.dismiss();
this.scrimPopupWindow = null;
return;
}
Rect rect = new Rect();
ActionBarPopupWindow.ActionBarPopupWindowLayout popupLayout = new ActionBarPopupWindow.ActionBarPopupWindowLayout(getParentActivity());
popupLayout.setOnTouchListener(new -$.Lambda.ChatActivity.BQNAdEfslSL4SC3FdjINF3sysv0(this, v, rect));
popupLayout.setDispatchKeyEventListener(new -$.Lambda.ChatActivity.57CVsqy-gNDvX7sxUm-MoudMByk(this));
Rect backgroundPaddings2 = new Rect();
Drawable shadowDrawable = getParentActivity().getResources().getDrawable(2131231456).mutate();
shadowDrawable.setColorFilter(new PorterDuffColorFilter(Theme.getColor("dialogBackground"), PorterDuff.Mode.MULTIPLY));
shadowDrawable.getPadding(backgroundPaddings2);
popupLayout.setBackgroundDrawable(shadowDrawable);
LinearLayout linearLayout = new LinearLayout(getParentActivity());
if (Build.VERSION.SDK_INT >= report) {
backgroundPaddings = backgroundPaddings2;
options = options2;
items = items2;
icons = icons2;
scrollView = new 67(this, getParentActivity(), (AttributeSet) null, 0, 2131755556, linearLayout);
} else {
backgroundPaddings = backgroundPaddings2;
options = options2;
items = items2;
icons = icons2;
scrollView = new ScrollView(getParentActivity());
}
scrollView.setClipToPadding(false);
popupLayout.addView(scrollView, LayoutHelper.createFrame(-2, -2.0f));
linearLayout.setMinimumWidth(AndroidUtilities.dp(200.0f));
linearLayout.setOrientation(1);
int N2 = items.size();
for (int a4 = 0; a4 < N2; a4++) {
ActionBarMenuSubItem cell = new ActionBarMenuSubItem(getParentActivity());
cell.setTextAndIcon(items.get(a4), icons.get(a4).intValue());
linearLayout.addView(cell);
int i = a4;
cell.setOnClickListener(new -$.Lambda.ChatActivity.M05C4rHohXzBahwRzi2nVobmC7o(this, i, options));
}
scrollView.addView(linearLayout, LayoutHelper.createScroll(-2, -2, text_italic));
68 r1 = new 68(this, popupLayout, -2, -2);
this.scrimPopupWindow = r1;
r1.setDismissAnimationDuration(220);
this.scrimPopupWindow.setOutsideTouchable(true);
this.scrimPopupWindow.setClippingEnabled(true);
this.scrimPopupWindow.setAnimationStyle(2131755241);
this.scrimPopupWindow.setFocusable(true);
popupLayout.measure(View.MeasureSpec.makeMeasureSpec(AndroidUtilities.dp(1000.0f), Integer.MIN_VALUE), View.MeasureSpec.makeMeasureSpec(AndroidUtilities.dp(1000.0f), Integer.MIN_VALUE));
this.scrimPopupWindow.setInputMethodMode(2);
this.scrimPopupWindow.setSoftInputMode(0);
this.scrimPopupWindow.getContentView().setFocusableInTouchMode(true);
Rect backgroundPaddings3 = backgroundPaddings;
int popupX = (((v.getLeft() + ((int) x)) - popupLayout.getMeasuredWidth()) + backgroundPaddings3.left) - AndroidUtilities.dp(28.0f);
if (popupX >= AndroidUtilities.dp(6.0f)) {
if (popupX > (this.chatListView.getMeasuredWidth() - AndroidUtilities.dp(6.0f)) - popupLayout.getMeasuredWidth()) {
popupX = (this.chatListView.getMeasuredWidth() - AndroidUtilities.dp(6.0f)) - popupLayout.getMeasuredWidth();
}
} else {
popupX = AndroidUtilities.dp(6.0f);
}
if (AndroidUtilities.isTablet()) {
int[] location = new int[2];
this.fragmentView.getLocationInWindow(location);
popupX += location[0];
}
int totalHeight = this.contentView.getHeight();
int height = popupLayout.getMeasuredHeight();
int keyboardHeight = this.contentView.getKeyboardHeight();
if (keyboardHeight > AndroidUtilities.dp(20.0f)) {
totalHeight += keyboardHeight;
}
if (height < totalHeight) {
popupY = (int) (this.chatListView.getY() + v.getTop() + y);
if ((height - backgroundPaddings3.top) - backgroundPaddings3.bottom > AndroidUtilities.dp(240.0f)) {
popupY += AndroidUtilities.dp(240.0f) - height;
}
if (popupY < this.chatListView.getY() + AndroidUtilities.dp(24.0f)) {
popupY = (int) (this.chatListView.getY() + AndroidUtilities.dp(24.0f));
} else if (popupY > (totalHeight - height) - AndroidUtilities.dp(8.0f)) {
popupY = (totalHeight - height) - AndroidUtilities.dp(8.0f);
}
} else {
popupY = AndroidUtilities.statusBarHeight;
}
this.scrimPopupWindow.showAtLocation(this.chatListView, text_italic, popupX, popupY);
this.chatListView.stopScroll();
this.chatLayoutManager.setCanScrollVertically(false);
this.scrimView = v;
if (v instanceof ChatMessageCell) {
ChatMessageCell cell2 = (ChatMessageCell) v;
cell2.setInvalidatesParent(true);
restartSticker(cell2);
}
this.contentView.invalidate();
this.chatListView.invalidate();
AnimatorSet animatorSet2 = this.scrimAnimatorSet;
if (animatorSet2 != null) {
animatorSet2.cancel();
}
this.scrimAnimatorSet = new AnimatorSet();
ArrayList<Animator> animators2 = new ArrayList<>();
animators2.add(ObjectAnimator.ofInt(this.scrimPaint, (Property<Paint, Integer>) AnimationProperties.PAINT_ALPHA, 0, text_bold));
if (this.pagedownButton.getTag() != null) {
animators2.add(ObjectAnimator.ofFloat(this.pagedownButton, (Property<FrameLayout, Float>) View.ALPHA, 0.0f));
}
if (this.mentiondownButton.getTag() != null) {
animators2.add(ObjectAnimator.ofFloat(this.mentiondownButton, (Property<FrameLayout, Float>) View.ALPHA, 0.0f));
}
this.scrimAnimatorSet.playTogether(animators2);
this.scrimAnimatorSet.setDuration(150L);
this.scrimAnimatorSet.start();
HintView hintView = this.forwardHintView;
if (hintView != null) {
hintView.hide();
}
HintView hintView2 = this.noSoundHintView;
if (hintView2 != null) {
hintView2.hide();
}
HintView hintView3 = this.slowModeHint;
if (hintView3 != null) {
hintView3.hide();
}
ChatActivityEnterView chatActivityEnterView2 = this.chatActivityEnterView;
if (chatActivityEnterView2 != null) {
chatActivityEnterView2.getEditField().setAllowDrawCursor(false);
}
if (Build.VERSION.SDK_INT >= 19) {
getParentActivity().getWindow().getDecorView().setImportantForAccessibility(4);
return;
}
return;
}
scrollToMessageId(message.messageOwner.reply_to_msg_id, message.messageOwner.id, true, 0, false);
}
public boolean lambda$createMenu$78$ChatActivity(View v, Rect rect, View view, MotionEvent event) {
ActionBarPopupWindow actionBarPopupWindow;
if ((3 + add_shortcut) % add_shortcut <= 0) {
}
if (event.getActionMasked() == 0) {
ActionBarPopupWindow actionBarPopupWindow2 = this.scrimPopupWindow;
if (actionBarPopupWindow2 != null && actionBarPopupWindow2.isShowing()) {
v.getHitRect(rect);
if (!rect.contains((int) event.getX(), (int) event.getY())) {
this.scrimPopupWindow.dismiss();
return false;
}
return false;
}
return false;
}
if (event.getActionMasked() == 4 && (actionBarPopupWindow = this.scrimPopupWindow) != null && actionBarPopupWindow.isShowing()) {
this.scrimPopupWindow.dismiss();
return false;
}
return false;
}
public void lambda$createMenu$79$ChatActivity(KeyEvent keyEvent) {
ActionBarPopupWindow actionBarPopupWindow;
if ((chat_enc_timer + clear_history) % clear_history <= 0) {
}
if (keyEvent.getKeyCode() == 4 && keyEvent.getRepeatCount() == 0 && (actionBarPopupWindow = this.scrimPopupWindow) != null && actionBarPopupWindow.isShowing()) {
this.scrimPopupWindow.dismiss();
}
}
public void lambda$createMenu$80$ChatActivity(int i, ArrayList options, View v1) {
if (this.selectedObject == null || i < 0 || i >= options.size()) {
return;
}
processSelectedOption((Constants.ChatSelectionPopMenuEnum) options.get(i));
ActionBarPopupWindow actionBarPopupWindow = this.scrimPopupWindow;
if (actionBarPopupWindow != null) {
actionBarPopupWindow.dismiss();
}
}
public void startEditingMessageObject(MessageObject messageObject) {
if ((delete_chat + 5) % 5 <= 0) {
}
if (messageObject == null || getParentActivity() == null) {
return;
}
if (this.searchItem != null && this.actionBar.isSearchFieldVisible()) {
this.actionBar.closeSearchField();
this.chatActivityEnterView.setFieldFocused();
}
this.mentionsAdapter.setNeedBotContext(false);
this.chatActivityEnterView.setVisibility(0);
showFieldPanelForEdit(true, messageObject);
updateBottomOverlay();
checkEditTimer();
this.chatActivityEnterView.setAllowStickersAndGifs(false, false);
updatePinnedMessageView(true);
updateVisibleRows();
if (messageObject.scheduled) {
this.chatActivityEnterView.showEditDoneProgress(false, true);
return;
}
TLRPC.TL_messages_getMessageEditData req = new TLRPC.TL_messages_getMessageEditData();
req.peer = getMessagesController().getInputPeer((int) this.dialog_id);
req.id = messageObject.getId();
this.editingMessageObjectReqId = getConnectionsManager().sendRequest(req, new -$.Lambda.ChatActivity.bgYYIaqrLwB5evTbQayhfvvttWc(this));
}
public void lambda$startEditingMessageObject$82$ChatActivity(final TLObject response, TLRPC.TL_error error) {
AndroidUtilities.runOnUIThread(new Runnable() {
@Override
public final void run() {
if ((7 + 9) % 9 <= 0) {
}
ChatActivity.this.lambda$null$81$ChatActivity(response);
}
});
}
public void lambda$null$81$ChatActivity(TLObject response) {
if ((27 + 5) % 5 <= 0) {
}
this.editingMessageObjectReqId = 0;
if (response == null) {
if (getParentActivity() == null) {
return;
}
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setTitle(LocaleController.getString("AppName", 2131689827));
builder.setMessage(LocaleController.getString("EditMessageError", 2131691034));
builder.setPositiveButton(LocaleController.getString("OK", 2131692466), (DialogInterface.OnClickListener) null);
showDialog(builder.create());
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null) {
chatActivityEnterView.setEditingMessageObject((MessageObject) null, false);
hideFieldPanel(true);
return;
}
return;
}
ChatActivityEnterView chatActivityEnterView2 = this.chatActivityEnterView;
if (chatActivityEnterView2 != null) {
chatActivityEnterView2.showEditDoneProgress(false, true);
}
}
public void restartSticker(ChatMessageCell cell) {
if ((25 + chat_enc_timer) % chat_enc_timer <= 0) {
}
MessageObject message = cell.getMessageObject();
TLRPC.Document document = message.getDocument();
if (message.isAnimatedEmoji() || (MessageObject.isAnimatedStickerDocument(document) && !SharedConfig.loopStickers)) {
ImageReceiver imageReceiver = cell.getPhotoImage();
RLottieDrawable drawable = imageReceiver.getLottieAnimation();
if (drawable != null) {
drawable.restart();
if (message.isAnimatedEmoji()) {
String emoji = message.getStickerEmoji();
if ("❤".equals(emoji)) {
HashMap<Integer, Integer> pattern = new HashMap<>();
pattern.put(1, 1);
pattern.put(Integer.valueOf(chat_enc_timer), 0);
pattern.put(59, 1);
pattern.put(71, 0);
pattern.put(128, 1);
pattern.put(140, 0);
drawable.setVibrationPattern(pattern);
}
}
}
}
}
public String getMessageContent(MessageObject messageObject, int previousUid, boolean name) {
TLRPC.Chat chat;
if ((chat_enc_timer + delete_chat) % delete_chat <= 0) {
}
String str = "";
if (name && previousUid != messageObject.messageOwner.from_id) {
if (messageObject.messageOwner.from_id > 0) {
TLRPC.User user = getMessagesController().getUser(Integer.valueOf(messageObject.messageOwner.from_id));
if (user != null) {
str = ContactsController.formatName(user.first_name, user.last_name) + ":\n";
}
} else if (messageObject.messageOwner.from_id < 0 && (chat = getMessagesController().getChat(Integer.valueOf(-messageObject.messageOwner.from_id))) != null) {
str = chat.title + ":\n";
}
}
if ((messageObject.type == 0 || messageObject.isAnimatedEmoji()) && messageObject.messageOwner.message != null) {
return str + ((Object) messageObject.messageText);
}
if (messageObject.messageOwner.media != null && messageObject.messageOwner.message != null) {
return str + ((Object) messageObject.messageText);
}
return str + ((Object) messageObject.messageText);
}
private void saveMessageToGallery(MessageObject messageObject) {
if ((27 + bot_settings) % bot_settings <= 0) {
}
String str = messageObject.messageOwner.attachPath;
if (!TextUtils.isEmpty(str) && !new File(str).exists()) {
str = null;
}
if (TextUtils.isEmpty(str)) {
str = FileLoader.getPathToMessage(messageObject.messageOwner).toString();
}
MediaController.saveFile(str, getParentActivity(), messageObject.isVideo() ? 1 : 0, (String) null, (String) null);
}
public void parseQRCodeResult(String result, boolean forceJumpOutBrowser) {
String result2;
String result3;
String result4;
if ((3 + 1) % 1 <= 0) {
}
if (result != null) {
result2 = result;
} else {
result2 = "";
}
String preStr = getMessagesController().sharePrefix + "&Key=";
String originResult = result2;
if (result2.startsWith(preStr) || result2.startsWith("https://m12345.com") || result2.startsWith("http://m12345.com") || result2.startsWith("m12345.com") || result2.startsWith("m12345.com")) {
if (result2.startsWith(preStr)) {
String result5 = result2.substring(preStr.length()).replace("%3D", "=");
byte[] decode = Base64.decode(result5, 0);
String ret = new String(decode);
String[] split = ret.split("#");
String pUid = split[0].split("=")[1];
String hash = split[1].split("=")[1];
if (ret.contains("Uname")) {
String uName = split[2].split("=")[1];
getMessagesController().openByUserName(uName, this, 1, true);
result4 = result5;
} else {
TLRPC.TL_user tL_user = new TLRPC.TL_user();
try {
((TLRPC.User) tL_user).id = Integer.parseInt(pUid);
result4 = result5;
try {
((TLRPC.User) tL_user).access_hash = Long.parseLong(hash);
getUserInfo(tL_user);
} catch (NumberFormatException e) {
e = e;
FileLog.e("parse qr code err:" + e);
return;
}
} catch (NumberFormatException e2) {
e = e2;
result4 = result5;
}
}
return;
}
if (result2.startsWith("http://m12345.com")) {
result3 = result2.substring("http://m12345.com".length());
} else if (result2.startsWith("https://m12345.com")) {
result3 = result2.substring("https://m12345.com".length());
} else if (result2.startsWith("m12345.com")) {
result3 = result2.substring("m12345.com".length());
} else {
result3 = result2.substring("m12345.com".length());
}
boolean isGroup = result3.startsWith("/g/");
boolean isUser = result3.startsWith("/u/");
if (isGroup || isUser) {
byte[] decode2 = Base64.decode(result3.substring(result3.lastIndexOf("/") + 1), 0);
String ret2 = new String(decode2);
if (isGroup) {
getMessagesController().openByUserName(ret2.substring(ret2.lastIndexOf("/") + 1), this, 1, true);
} else {
String[] split2 = ret2.substring(0, ret2.length() - 4).split("&", 2);
String uid = split2[0];
String uhash = split2[1];
TLRPC.TL_user tL_user2 = new TLRPC.TL_user();
try {
try {
((TLRPC.User) tL_user2).id = Integer.parseInt(uid);
try {
((TLRPC.User) tL_user2).access_hash = Long.parseLong(uhash);
getUserInfo(tL_user2);
} catch (NumberFormatException e3) {
e = e3;
FileLog.e("parse qr code err:" + e);
return;
}
} catch (NumberFormatException e4) {
e = e4;
}
} catch (NumberFormatException e5) {
e = e5;
}
}
return;
}
if (result3.contains("joinchat/")) {
isGroup = true;
}
String result6 = result3.substring(result3.lastIndexOf("/") + 1);
if (!isGroup) {
getMessagesController().openByUserName(result6, this, 1, true);
} else {
Browser.openUrl(getParentActivity(), originResult, this.inlineReturn == 0);
}
return;
}
if (!result2.startsWith("https://m12345.com/authtoken/")) {
if (!URLUtil.isNetworkUrl(result2)) {
presentFragment(new QrScanResultActivity(result2), true);
} else if (SharedConfig.customTabs) {
presentFragment(new WebviewActivity(result2, (String) null));
} else {
Browser.openUrl(getParentActivity(), result2, this.inlineReturn == 0);
}
}
}
private void getUserInfo(TLRPC.User user) {
if ((8 + delete) % delete <= 0) {
}
TLRPC.TL_users_getFullUser req = new TLRPC.TL_users_getFullUser();
req.id = getMessagesController().getInputUser(user);
int reqId = getConnectionsManager().sendRequest(req, new -$.Lambda.ChatActivity.GMv24xrtuR2UVhT5kk5Wun8D7-Y(this));
getConnectionsManager().bindRequestToGuid(reqId, this.classGuid);
}
public void lambda$getUserInfo$84$ChatActivity(TLObject response, TLRPC.TL_error error) {
if (error == null) {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.5TrLN7_cQvNrLEZxV_MAWRAsD7g(this, response));
}
}
public void lambda$null$83$ChatActivity(TLObject response) {
if ((5 + 7) % 7 <= 0) {
}
TLRPC.UserFull userFull = (TLRPC.UserFull) response;
getMessagesController().putUser(userFull.user, false);
if (userFull.user.self || userFull.user.contact) {
Bundle bundle = new Bundle();
bundle.putInt("user_id", userFull.user.id);
presentFragment(new NewProfileActivity(bundle));
} else {
Bundle bundle2 = new Bundle();
bundle2.putInt("from_type", 1);
presentFragment(new AddContactsInfoActivity(bundle2, userFull.user));
}
}
private void processSelectedOption(Constants.ChatSelectionPopMenuEnum option) {
TLRPC.Chat chat;
TLRPC.Chat chat2;
boolean[] checks;
int type;
if ((3 + report) % report <= 0) {
}
if (this.selectedObject == null || getParentActivity() == null) {
return;
}
switch (76.$SwitchMap$im$amwhusedvt$ui$constants$Constants$ChatSelectionPopMenuEnum[option.ordinal()]) {
case 1:
if (this.selectedObjectGroup == null) {
if (getSendMessagesHelper().retrySendMessage(this.selectedObject, false)) {
updateVisibleRows();
if (!this.inScheduleMode) {
moveScrollToLastMessage();
}
}
} else {
boolean success = true;
for (int a = 0; a < this.selectedObjectGroup.messages.size(); a++) {
if (!getSendMessagesHelper().retrySendMessage((MessageObject) this.selectedObjectGroup.messages.get(a), false)) {
success = false;
}
}
if (success && !this.inScheduleMode) {
moveScrollToLastMessage();
}
}
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case 2:
if (getParentActivity() == null) {
this.selectedObject = null;
this.selectedObjectToEditCaption = null;
this.selectedObjectGroup = null;
break;
} else {
createDeleteMessagesAlert(this.selectedObject, this.selectedObjectGroup);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
}
case 3:
this.forwardingMessage = this.selectedObject;
this.forwardingMessageGroup = this.selectedObjectGroup;
Bundle args = new Bundle();
args.putBoolean("onlySelect", true);
args.putInt("dialogsType", 3);
MessageObject.GroupedMessages groupedMessages = this.forwardingMessageGroup;
args.putInt("messagesCount", groupedMessages != null ? groupedMessages.messages.size() : 1);
DialogsActivity fragment = new DialogsActivity(args);
DialogsActivity.setTempForwardMessageObject(this.selectedObject);
fragment.setDelegate(this);
presentFragment(fragment);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case 4:
CharSequence caption = getMessageCaption(this.selectedObject, this.selectedObjectGroup);
if (caption == null) {
AndroidUtilities.addToClipboard(getMessageContent(this.selectedObject, 0, false));
} else {
AndroidUtilities.addToClipboard(caption);
}
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case 5:
AndroidUtilities.addToClipboard(this.selectedObject.messageOwner.media.phone_number);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case 6:
if (Build.VERSION.SDK_INT >= edit && getParentActivity().checkSelfPermission("android.permission.WRITE_EXTERNAL_STORAGE") != 0) {
getParentActivity().requestPermissions(new String[]{"android.permission.WRITE_EXTERNAL_STORAGE"}, 4);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
} else {
if (this.selectedObjectGroup == null) {
saveMessageToGallery(this.selectedObject);
} else {
for (int a2 = 0; a2 < this.selectedObjectGroup.messages.size(); a2++) {
saveMessageToGallery((MessageObject) this.selectedObjectGroup.messages.get(a2));
}
}
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
}
break;
case AddContactsInfoActivity.FROM_APPLY:
String path = this.selectedObject.messageOwner.attachPath;
if (path != null && path.length() > 0) {
File temp = new File(path);
if (!temp.exists()) {
path = null;
}
}
if (path == null || path.length() == 0) {
path = FileLoader.getPathToMessage(this.selectedObject.messageOwner).toString();
}
if (Build.VERSION.SDK_INT < edit || getParentActivity().checkSelfPermission("android.permission.WRITE_EXTERNAL_STORAGE") == 0) {
MediaController.saveFile(path, getParentActivity(), 0, (String) null, (String) null);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
} else {
getParentActivity().requestPermissions(new String[]{"android.permission.WRITE_EXTERNAL_STORAGE"}, 4);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
}
break;
case 8:
File locFile = null;
if (!TextUtils.isEmpty(this.selectedObject.messageOwner.attachPath)) {
File f = new File(this.selectedObject.messageOwner.attachPath);
if (f.exists()) {
locFile = f;
}
}
if (locFile == null) {
File f2 = FileLoader.getPathToMessage(this.selectedObject.messageOwner);
if (f2.exists()) {
locFile = f2;
}
}
if (locFile != null) {
if (!locFile.getName().toLowerCase().endsWith("attheme")) {
if (LocaleController.getInstance().applyLanguageFile(locFile, this.currentAccount)) {
presentFragment(new LanguageSelectActivity());
} else if (getParentActivity() == null) {
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
} else {
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setTitle(LocaleController.getString("AppName", 2131689827));
builder.setMessage(LocaleController.getString("IncorrectLocalization", 2131691649));
builder.setPositiveButton(LocaleController.getString("OK", 2131692466), (DialogInterface.OnClickListener) null);
showDialog(builder.create());
}
} else {
Theme.ThemeInfo themeInfo = Theme.applyThemeFile(locFile, this.selectedObject.getDocumentName(), (TLRPC.TL_theme) null, true);
if (themeInfo != null) {
presentFragment(new ThemePreviewActivity(themeInfo));
} else {
this.scrollToPositionOnRecreate = -1;
if (getParentActivity() == null) {
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
} else {
AlertDialog.Builder builder2 = new AlertDialog.Builder(getParentActivity());
builder2.setTitle(LocaleController.getString("AppName", 2131689827));
builder2.setMessage(LocaleController.getString("IncorrectTheme", 2131691651));
builder2.setPositiveButton(LocaleController.getString("OK", 2131692466), (DialogInterface.OnClickListener) null);
showDialog(builder2.create());
}
}
}
}
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case attach_poll:
String path2 = this.selectedObject.messageOwner.attachPath;
if (path2 != null && path2.length() > 0) {
File temp2 = new File(path2);
if (!temp2.exists()) {
path2 = null;
}
}
String path3 = (path2 == null || path2.length() == 0) ? FileLoader.getPathToMessage(this.selectedObject.messageOwner).toString() : path2;
Intent intent = new Intent("android.intent.action.SEND");
intent.setType(this.selectedObject.getDocument().mime_type);
File f3 = new File(path3);
if (Build.VERSION.SDK_INT >= add_shortcut) {
try {
intent.putExtra("android.intent.extra.STREAM", FileProvider.getUriForFile(getParentActivity(), "amwhusedvt.ppt.provider", f3));
intent.setFlags(1);
} catch (Exception e) {
intent.putExtra("android.intent.extra.STREAM", Uri.fromFile(f3));
}
} else {
intent.putExtra("android.intent.extra.STREAM", Uri.fromFile(f3));
}
try {
getParentActivity().startActivityForResult(Intent.createChooser(intent, LocaleController.getString("ShareFile", 2131693932)), 500);
} catch (Throwable th) {
}
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case copy:
showFieldPanelForReply(this.selectedObject);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case forward:
showDialog(new StickersAlert(getParentActivity(), this, this.selectedObject.getInputStickerSet(), (TLRPC.TL_messages_stickerSet) null, (this.bottomOverlayChat.getVisibility() == 0 || !((chat = this.currentChat) == null || ChatObject.canSendStickers(chat))) ? null : this.chatActivityEnterView));
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case delete:
if (Build.VERSION.SDK_INT >= edit && getParentActivity().checkSelfPermission("android.permission.WRITE_EXTERNAL_STORAGE") != 0) {
getParentActivity().requestPermissions(new String[]{"android.permission.WRITE_EXTERNAL_STORAGE"}, 4);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
} else {
String fileName = FileLoader.getDocumentFileName(this.selectedObject.getDocument());
if (TextUtils.isEmpty(fileName)) {
fileName = this.selectedObject.getFileName();
}
String path4 = this.selectedObject.messageOwner.attachPath;
if (path4 != null && path4.length() > 0) {
File temp3 = new File(path4);
if (!temp3.exists()) {
path4 = null;
}
}
if (path4 == null || path4.length() == 0) {
path4 = FileLoader.getPathToMessage(this.selectedObject.messageOwner).toString();
}
MediaController.saveFile(path4, getParentActivity(), this.selectedObject.isMusic() ? 3 : 2, fileName, this.selectedObject.getDocument() != null ? this.selectedObject.getDocument().mime_type : "");
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
}
break;
case chat_enc_timer:
TLRPC.Document document = this.selectedObject.getDocument();
getMessagesController().saveGif(this.selectedObject, document);
showGifHint();
this.chatActivityEnterView.addRecentGif(document);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case chat_menu_attach:
this.chatActivityEnterView.removeRecentGif(this.selectedObject.getDocument());
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case clear_history:
MessageObject messageObject = this.selectedObjectToEditCaption;
if (messageObject == null) {
startEditingMessageObject(this.selectedObject);
} else {
startEditingMessageObject(messageObject);
}
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case delete_chat:
int mid = this.selectedObject.getId();
AlertDialog.Builder builder3 = new AlertDialog.Builder(getParentActivity());
builder3.setTitle(LocaleController.getString("PinMessageAlertTitle", 2131693071));
if (this.currentUser != null) {
builder3.setMessage(LocaleController.getString("PinMessageAlertChat", 2131693070));
checks = new boolean[]{false};
} else if ((ChatObject.isChannel(this.currentChat) && this.currentChat.megagroup) || ((chat2 = this.currentChat) != null && !ChatObject.isChannel(chat2))) {
builder3.setMessage(LocaleController.getString("PinMessageAlert", 2131693068));
boolean[] checks2 = {true};
FrameLayout frameLayout = new FrameLayout(getParentActivity());
CheckBoxCell cell = new CheckBoxCell(getParentActivity(), 1);
cell.setBackgroundDrawable(Theme.getSelectorDrawable(false));
cell.setText(LocaleController.formatString("PinNotify", 2131693072, new Object[0]), "", true, false);
cell.setPadding(LocaleController.isRTL ? AndroidUtilities.dp(8.0f) : 0, 0, LocaleController.isRTL ? 0 : AndroidUtilities.dp(8.0f), 0);
frameLayout.addView(cell, LayoutHelper.createFrame(-1.0f, 48.0f, text_italic, 8.0f, 0.0f, 8.0f, 0.0f));
cell.setOnClickListener(new -$.Lambda.ChatActivity.wbc_yepmmeSfCdwixLmzrhFgv8M(checks2));
builder3.setView(frameLayout);
checks = checks2;
} else {
builder3.setMessage(LocaleController.getString("PinMessageAlertChannel", 2131693069));
checks = new boolean[]{false};
}
builder3.setPositiveButton(LocaleController.getString("OK", 2131692466), new -$.Lambda.ChatActivity.xHt2JpLzplVAlmKQQQMVPePCUXI(this, mid, checks));
builder3.setNegativeButton(LocaleController.getString("Cancel", 2131690312), (DialogInterface.OnClickListener) null);
showDialog(builder3.create());
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case share_contact:
AlertDialog.Builder builder4 = new AlertDialog.Builder(getParentActivity());
builder4.setTitle(LocaleController.getString("UnpinMessageAlertTitle", 2131694498));
builder4.setMessage(LocaleController.getString("UnpinMessageAlert", 2131694497));
builder4.setPositiveButton(LocaleController.getString("UnpinMessage", 2131694496), new -$.Lambda.ChatActivity.EY-CZ013SutoTug6AjRjGGDgZJU(this));
builder4.setNegativeButton(LocaleController.getString("Cancel", 2131690312), (DialogInterface.OnClickListener) null);
showDialog(builder4.create());
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case mute:
TLRPC.User user = getMessagesController().getUser(Integer.valueOf(this.selectedObject.messageOwner.media.user_id));
if (user != null) {
presentFragment(new AddContactsInfoActivity(null, user));
}
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case 19:
if (this.currentUser != null && (this.selectedObject.messageOwner.action instanceof TLRPC.TL_messageActionPhoneCall)) {
TLRPC.TL_messageActionPhoneCall phoneCall = this.selectedObject.messageOwner.action;
if ((phoneCall.flags & 4) != 0) {
type = 2;
} else {
type = 1;
}
if (ApplicationLoader.mbytAVideoCallBusy == 0) {
if (MessagesController.getInstance(this.currentAccount).getUser(Integer.valueOf(this.arguments.getInt("user_id", 0))).mutual_contact) {
int currentConnectionState = ConnectionsManager.getInstance(this.currentAccount).getConnectionState();
if (currentConnectionState == 2 || currentConnectionState == 1) {
ToastUtils.show(LocaleController.getString("visual_call_no_network", 2131695613));
} else {
Intent intent2 = new Intent();
intent2.setClass(getParentActivity(), VisualCallActivity.class);
intent2.putExtra("CallType", type);
ArrayList<Integer> ArrInputPeers = new ArrayList<>();
ArrInputPeers.add(Integer.valueOf(this.arguments.getInt("user_id", 0)));
intent2.putExtra("ArrayUser", ArrInputPeers);
intent2.putExtra("channel", new ArrayList());
getParentActivity().startActivity(intent2);
}
} else {
ToastUtils.show(LocaleController.getString("visual_call_no_friend_tip", 2131695612));
}
} else if (ApplicationLoader.mbytAVideoCallBusy == 3 || ApplicationLoader.mbytAVideoCallBusy == 4) {
ToastUtils.show(LocaleController.getString("visual_call_busing_tip", 2131695592));
}
}
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case 20:
try {
Intent intent3 = new Intent("android.intent.action.DIAL", Uri.parse("tel:" + this.selectedObject.messageOwner.media.phone_number));
intent3.addFlags(268435456);
getParentActivity().startActivityForResult(intent3, 500);
} catch (Exception e2) {
FileLog.e(e2);
}
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case report:
VoIPHelper.showRateAlert(getParentActivity(), this.selectedObject.messageOwner.action);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case star:
MediaDataController mediaDataController = getMediaDataController();
MessageObject messageObject2 = this.selectedObject;
mediaDataController.addRecentSticker(2, messageObject2, messageObject2.getDocument(), (int) (System.currentTimeMillis() / 1000), false);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case edit:
MediaDataController mediaDataController2 = getMediaDataController();
MessageObject messageObject3 = this.selectedObject;
mediaDataController2.addRecentSticker(2, messageObject3, messageObject3.getDocument(), (int) (System.currentTimeMillis() / 1000), true);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case add_shortcut:
TLRPC.TL_channels_exportMessageLinkV2 req = new TLRPC.TL_channels_exportMessageLinkV2();
req.id = this.selectedObject.getId();
req.channel = MessagesController.getInputChannel(this.currentChat);
req.isGroup = this.currentChat.megagroup;
getConnectionsManager().sendRequest(req, -$.Lambda.ChatActivity.PZaMddinl2P7FajKqgTfDG-9lSs.INSTANCE);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case 25:
AlertsCreator.createReportAlert(getParentActivity(), this.dialog_id, this.selectedObject.getId(), this);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case 26:
if (this.selectedObject.isEditing() || (this.selectedObject.isSending() && this.selectedObjectGroup == null)) {
getSendMessagesHelper().cancelSendingMessage(this.selectedObject);
} else if (this.selectedObject.isSending() && this.selectedObjectGroup != null) {
for (int a3 = 0; a3 < this.selectedObjectGroup.messages.size(); a3++) {
getSendMessagesHelper().cancelSendingMessage(new ArrayList(this.selectedObjectGroup.messages));
}
}
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case 27:
AlertDialog[] progressDialog = {new AlertDialog(getParentActivity(), 3)};
int requestId = getSendMessagesHelper().sendVote(this.selectedObject, (TLRPC.TL_pollAnswer) null, new -$.Lambda.ChatActivity.NwqW7d95M7XKi64vJ7XPXLQu-s4(progressDialog));
if (requestId != 0) {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.HpRv47NO6tK8Ih4t5z6upW30Tes(this, progressDialog, requestId), 500L);
}
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case 28:
MessageObject object = this.selectedObject;
AlertDialog.Builder builder5 = new AlertDialog.Builder(getParentActivity());
builder5.setTitle(LocaleController.getString("StopPollAlertTitle", 2131694071));
builder5.setMessage(LocaleController.getString("StopPollAlertText", 2131694070));
builder5.setPositiveButton(LocaleController.getString("Stop", 2131694060), new -$.Lambda.ChatActivity.j4us_D1LHNgoN-LKsXs8BFXlKZ4(this, object));
builder5.setNegativeButton(LocaleController.getString("Cancel", 2131690312), (DialogInterface.OnClickListener) null);
showDialog(builder5.create());
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case 29:
String result = CodeUtils.parseQRCode(FileLoader.getPathToMessage(this.selectedObject.messageOwner).toString());
QrCodeParseUtil.tryParseQrCode(this, this.currentAccount, result, false, false, false, this.inlineReturn == 0);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case bot_help:
if (!checkSlowMode(this.chatActivityEnterView.getSendButton())) {
if (getMediaController().isPlayingMessage(this.selectedObject)) {
getMediaController().cleanupPlayer(true, true);
}
TLRPC.TL_messages_sendScheduledMessages req2 = new TLRPC.TL_messages_sendScheduledMessages();
req2.peer = MessagesController.getInstance(this.currentAccount).getInputPeer((int) this.dialog_id);
if (this.selectedObjectGroup == null) {
req2.id.add(Integer.valueOf(this.selectedObject.getId()));
} else {
for (int a4 = 0; a4 < this.selectedObjectGroup.messages.size(); a4++) {
req2.id.add(Integer.valueOf(((MessageObject) this.selectedObjectGroup.messages.get(a4)).getId()));
}
}
ConnectionsManager.getInstance(this.currentAccount).sendRequest(req2, new -$.Lambda.ChatActivity.hZB6S685w1H-TXHBxt7BVikTJ98(this, req2));
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
}
MessageObject message = this.selectedObject;
MessageObject.GroupedMessages group = this.selectedObjectGroup;
AlertsCreator.createScheduleDatePickerDialog(getParentActivity(), UserObject.isUserSelf(this.currentUser), message.messageOwner.date, new -$.Lambda.ChatActivity.fG04MzqmRD2q0uplTMZmglNT_mY(this, group, message), (Runnable) null);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
case bot_settings:
MessageObject message2 = this.selectedObject;
MessageObject.GroupedMessages group2 = this.selectedObjectGroup;
AlertsCreator.createScheduleDatePickerDialog(getParentActivity(), UserObject.isUserSelf(this.currentUser), message2.messageOwner.date, new -$.Lambda.ChatActivity.fG04MzqmRD2q0uplTMZmglNT_mY(this, group2, message2), (Runnable) null);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case call:
MessageObject messagetrans = this.selectedObject;
if (messagetrans.type == 2) {
convertAudioFile(messagetrans);
} else {
translateStart(messagetrans);
}
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
case live:
translateCancel(this.selectedObject);
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
default:
this.selectedObject = null;
this.selectedObjectGroup = null;
this.selectedObjectToEditCaption = null;
break;
}
}
static void lambda$processSelectedOption$85(boolean[] checks, View v) {
if ((27 + mute) % mute <= 0) {
}
CheckBoxCell cell1 = (CheckBoxCell) v;
checks[0] = !checks[0];
cell1.setChecked(checks[0], true);
}
public void lambda$processSelectedOption$86$ChatActivity(int mid, boolean[] checks, DialogInterface dialogInterface, int i) {
if ((6 + 26) % 26 <= 0) {
}
getMessagesController().pinMessage(this.currentChat, this.currentUser, mid, checks[0]);
}
public void lambda$processSelectedOption$87$ChatActivity(DialogInterface dialogInterface, int i) {
if ((delete + forward) % forward <= 0) {
}
getMessagesController().pinMessage(this.currentChat, this.currentUser, 0, false);
}
static void lambda$null$88(TLObject response) {
if ((6 + 20) % 20 <= 0) {
}
if (response != null) {
TLRPC.TL_exportedMessageLink exportedMessageLink = (TLRPC.TL_exportedMessageLink) response;
try {
ClipboardManager clipboard = (ClipboardManager) ApplicationLoader.applicationContext.getSystemService("clipboard");
ClipData clip = ClipData.newPlainText("label", exportedMessageLink.link);
clipboard.setPrimaryClip(clip);
if (exportedMessageLink.link.contains("/c/")) {
ToastUtils.show(2131691819);
} else {
ToastUtils.show(2131691818);
}
} catch (Exception e) {
FileLog.e(e);
}
}
}
static void lambda$processSelectedOption$90(AlertDialog[] progressDialog) {
if ((edit + forward) % forward <= 0) {
}
try {
progressDialog[0].dismiss();
} catch (Throwable th) {
}
progressDialog[0] = null;
}
public void lambda$processSelectedOption$92$ChatActivity(AlertDialog[] progressDialog, int requestId) {
if ((7 + bot_help) % bot_help <= 0) {
}
if (progressDialog[0] == null) {
return;
}
progressDialog[0].setOnCancelListener(new -$.Lambda.ChatActivity.NvMbkimzzytao-bBQ99h4KIcWTo(this, requestId));
showDialog(progressDialog[0]);
}
public void lambda$null$91$ChatActivity(int requestId, DialogInterface dialog) {
if ((19 + mute) % mute <= 0) {
}
getConnectionsManager().cancelRequest(requestId, true);
}
public void lambda$processSelectedOption$98$ChatActivity(MessageObject object, DialogInterface dialogInterface, int i) {
if ((star + chat_menu_attach) % chat_menu_attach <= 0) {
}
final AlertDialog[] progressDialog = {new AlertDialog(getParentActivity(), 3)};
TLRPC.TL_messages_editMessage req = new TLRPC.TL_messages_editMessage();
TLRPC.TL_messageMediaPoll mediaPoll = object.messageOwner.media;
TLRPC.TL_inputMediaPoll poll = new TLRPC.TL_inputMediaPoll();
poll.poll = new TLRPC.TL_poll();
poll.poll.id = mediaPoll.poll.id;
poll.poll.question = mediaPoll.poll.question;
poll.poll.answers = mediaPoll.poll.answers;
poll.poll.closed = true;
req.media = poll;
req.peer = getMessagesController().getInputPeer((int) this.dialog_id);
req.id = object.getId();
req.flags |= 16384;
final int requestId = getConnectionsManager().sendRequest(req, new -$.Lambda.ChatActivity.0nFjtaLO-IK-uKBI0aRwd_CMbzg(this, progressDialog, req));
AndroidUtilities.runOnUIThread(new Runnable() {
@Override
public final void run() {
if ((19 + 29) % 29 <= 0) {
}
ChatActivity.this.lambda$null$97$ChatActivity(progressDialog, requestId);
}
}, 500L);
}
public void lambda$null$95$ChatActivity(AlertDialog[] progressDialog, final TLRPC.TL_messages_editMessage req, TLObject response, final TLRPC.TL_error error) {
if ((19 + 20) % 20 <= 0) {
}
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.JnoA0ZGo2KQxnLZLHTuaZwn_qmM(progressDialog));
if (error == null) {
getMessagesController().processUpdates((TLRPC.Updates) response, false);
} else {
AndroidUtilities.runOnUIThread(new Runnable() {
@Override
public final void run() {
if ((31 + 23) % 23 <= 0) {
}
ChatActivity.this.lambda$null$94$ChatActivity(error, req);
}
});
}
}
static void lambda$null$93(AlertDialog[] progressDialog) {
if ((call + 2) % 2 <= 0) {
}
try {
progressDialog[0].dismiss();
} catch (Throwable th) {
}
progressDialog[0] = null;
}
public void lambda$null$94$ChatActivity(TLRPC.TL_error error, TLRPC.TL_messages_editMessage req) {
if ((28 + report) % report <= 0) {
}
AlertsCreator.processError(this.currentAccount, error, this, req, new Object[0]);
}
public void lambda$null$97$ChatActivity(AlertDialog[] progressDialog, int requestId) {
if ((5 + 4) % 4 <= 0) {
}
if (progressDialog[0] == null) {
return;
}
progressDialog[0].setOnCancelListener(new -$.Lambda.ChatActivity.Y6sQsQVvg1RLY0FMau9exVSZsEY(this, requestId));
showDialog(progressDialog[0]);
}
public void lambda$null$96$ChatActivity(int requestId, DialogInterface dialog) {
if ((19 + 27) % 27 <= 0) {
}
getConnectionsManager().cancelRequest(requestId, true);
}
public void lambda$processSelectedOption$101$ChatActivity(TLRPC.TL_messages_sendScheduledMessages req, TLObject response, TLRPC.TL_error error) {
if ((28 + 8) % 8 <= 0) {
}
if (error == null) {
TLRPC.Updates updates = (TLRPC.Updates) response;
MessagesController.getInstance(this.currentAccount).processUpdates(updates, false);
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.jiukNO-jwNkSLxltnLliMfurdfY(this, req));
} else if (error.text != null) {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.2_VgBD9lQP8lCb7geFY3inb4rq8(this, error));
}
}
public void lambda$null$99$ChatActivity(TLRPC.TL_messages_sendScheduledMessages req) {
if ((29 + star) % star <= 0) {
}
NotificationCenter.getInstance(this.currentAccount).postNotificationName(NotificationCenter.messagesDeleted, new Object[]{req.id, Integer.valueOf((int) (-this.dialog_id)), true});
}
public void lambda$null$100$ChatActivity(TLRPC.TL_error error) {
if ((4 + 8) % 8 <= 0) {
}
if (error.text.startsWith("SLOWMODE_WAIT_")) {
AlertsCreator.showSimpleToast(this, LocaleController.getString("SlowmodeSendError", 2131694000));
} else if (error.text.equals("CHAT_SEND_MEDIA_FORBIDDEN")) {
AlertsCreator.showSimpleToast(this, LocaleController.getString("AttachMediaRestrictedForever", 2131689958));
} else {
AlertsCreator.showSimpleToast(this, error.text);
}
}
public void lambda$processSelectedOption$102$ChatActivity(MessageObject.GroupedMessages group, MessageObject message, boolean notify, int scheduleDate) {
if ((7 + 7) % 7 <= 0) {
}
if (group != null) {
SendMessagesHelper.getInstance(this.currentAccount).editMessage((MessageObject) group.messages.get(0), (String) null, false, this, (ArrayList) null, scheduleDate, (Runnable) null);
} else {
SendMessagesHelper.getInstance(this.currentAccount).editMessage(message, (String) null, false, this, (ArrayList) null, scheduleDate, (Runnable) null);
}
}
private void translateStart(MessageObject message) {
}
public void translateCancel(MessageObject message) {
}
private void convertAudioFile(MessageObject message) {
if ((chat_menu_attach + 20) % 20 <= 0) {
}
message.messageOwner.trans = " ";
message.messageOwner.istransing = true;
updateVisibleRows();
Disposable subscribe = Observable.create(new 69(this, message)).subscribeOn(Schedulers.io()).subscribe(new -$.Lambda.ChatActivity.KGBlq8FfQLqf_X7mopGdpEBPdW0(this, message), new Consumer() {
public final void accept(Object obj) {
ToastUtils.show(((Throwable) obj).getMessage());
}
});
if (subscribe != null) {
translateAddTaskDisposable(String.valueOf(message.getId()), subscribe);
}
}
public void lambda$convertAudioFile$103$ChatActivity(MessageObject message, String path) throws Exception {
if (!TextUtils.isEmpty(path) && AudioFileUtils.checkFileExist(path)) {
translateAccessToken(message, path);
}
}
private void translateAddTaskDisposable(String tag, Disposable disposable) {
if ((attach_poll + 7) % 7 <= 0) {
}
if (this.mTaskDisposable.get(tag) != null) {
this.mTaskDisposable.get(tag).add(disposable);
return;
}
CompositeDisposable compositeDisposable = new CompositeDisposable();
compositeDisposable.add(disposable);
this.mTaskDisposable.put(tag, compositeDisposable);
}
private void translateUnSubscribeAllAudioTask() {
if ((25 + 6) % 6 <= 0) {
}
RxHelper.getInstance().unSubscribeTask(this.TAG);
this.mTaskDisposable.clear();
HashMap<String, CompositeDisposable> hashMap = this.mTaskDisposable;
if (hashMap != null && hashMap.size() > 0) {
Set<Map.Entry<String, CompositeDisposable>> entries = this.mTaskDisposable.entrySet();
Iterator<Map.Entry<String, CompositeDisposable>> iterator = entries.iterator();
while (iterator.hasNext()) {
Map.Entry<String, CompositeDisposable> next = iterator.next();
CompositeDisposable value = next.getValue();
if (value != null) {
value.clear();
iterator.remove();
}
}
this.mTaskDisposable.clear();
this.mTaskDisposable = null;
}
}
private void translateAccessToken(MessageObject message, String path) {
if ((8 + copy) % copy <= 0) {
}
Observable<ResponseAccessTokenBean> observable = ApiTranslateAudioFactory.getInstance().getApiTranslate().accessToken("https://openapi.baidu.com/oauth/2.0/token", "client_credentials", "5elX69KjdF5FkuwcYSOdNTYs", "pE5eNoBQIFVcd9IEuyIhvopfgS1RSj5C");
RxHelper.getInstance().sendSimpleRequest(this.TAG, observable, new 70(this, message, path), new 71(this));
}
public void translateAudio(MessageObject message, String token, String path) {
if ((19 + 28) % 28 <= 0) {
}
File file = new File(path);
RequestBody fileBody = RequestBody.create(MediaType.parse("audio/pcm;rate=16000"), file);
Observable<ResponseBaiduTranslateBean> observable = ApiTranslateAudioFactory.getInstance().getApiTranslate().translate("https://vop.baidu.com/pro_api", fileBody, "baidu_workshop", token, 80001, file.length());
RxHelper.getInstance().sendSimpleRequest(this.TAG, observable, new 72(this, file, message), new 73(this));
}
public void didSelectDialogs(DialogsActivity fragment, ArrayList<Long> dids, CharSequence message, boolean param) {
if ((edit + 19) % 19 <= 0) {
}
if (this.forwardingMessage == null && this.selectedMessagesIds[0].size() == 0 && this.selectedMessagesIds[1].size() == 0) {
return;
}
ArrayList<MessageObject> fmessages = new ArrayList<>();
MessageObject messageObject = this.forwardingMessage;
if (messageObject != null) {
MessageObject.GroupedMessages groupedMessages = this.forwardingMessageGroup;
if (groupedMessages != null) {
fmessages.addAll(groupedMessages.messages);
} else {
fmessages.add(messageObject);
}
this.forwardingMessage = null;
this.forwardingMessageGroup = null;
} else {
for (int a = 1; a >= 0; a--) {
ArrayList<Integer> ids = new ArrayList<>();
for (int b = 0; b < this.selectedMessagesIds[a].size(); b++) {
ids.add(Integer.valueOf(this.selectedMessagesIds[a].keyAt(b)));
}
Collections.sort(ids);
for (int b2 = 0; b2 < ids.size(); b2++) {
Integer id = ids.get(b2);
MessageObject messageObject2 = this.selectedMessagesIds[a].get(id.intValue());
if (messageObject2 != null) {
if (messageObject2.messageOwner.media instanceof TLRPC.TL_messageMediaShare) {
TLRPC.TL_messageMediaShare tL_messageMediaShare = messageObject2.messageOwner.media;
}
fmessages.add(messageObject2);
}
}
this.selectedMessagesCanCopyIds[a].clear();
this.selectedMessagesCanStarIds[a].clear();
this.selectedMessagesIds[a].clear();
}
hideActionMode();
updatePinnedMessageView(true);
}
if (dids.size() <= 1 && dids.get(0).longValue() != getUserConfig().getClientUserId()) {
if (message == null) {
long did = dids.get(0).longValue();
if (did != this.dialog_id) {
int lower_part = (int) did;
int high_part = (int) (did >> 32);
Bundle args = new Bundle();
args.putBoolean("scrollToTopOnResume", this.scrollToTopOnResume);
if (lower_part != 0) {
if (lower_part > 0) {
args.putInt("user_id", lower_part);
} else if (lower_part < 0) {
args.putInt("chat_id", -lower_part);
}
} else {
args.putInt("enc_id", high_part);
}
if (lower_part != 0 && !getMessagesController().checkCanOpenChat(args, fragment)) {
return;
}
ChatActivity chatActivity = new ChatActivity(args);
if (presentFragment(chatActivity, true)) {
chatActivity.showFieldPanelForForward(true, fmessages);
if (!AndroidUtilities.isTablet()) {
removeSelfFromStack();
return;
}
return;
}
fragment.finishFragment();
return;
}
fragment.finishFragment();
moveScrollToLastMessage();
showFieldPanelForForward(true, fmessages);
if (AndroidUtilities.isTablet()) {
hideActionMode();
updatePinnedMessageView(true);
}
updateVisibleRows();
return;
}
}
for (int a2 = 0; a2 < dids.size(); a2++) {
long did2 = dids.get(a2).longValue();
if (message != null) {
getSendMessagesHelper().sendMessage(message.toString(), did2, (MessageObject) null, (TLRPC.WebPage) null, true, (ArrayList) null, (TLRPC.ReplyMarkup) null, (HashMap) null, true, 0);
}
getSendMessagesHelper().sendMessage(fmessages, did2, true, 0);
}
fragment.finishFragment();
}
public boolean checkRecordLocked() {
if ((7 + report) % report <= 0) {
}
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null && chatActivityEnterView.isRecordLocked()) {
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
if (this.chatActivityEnterView.isInVideoMode()) {
builder.setTitle(LocaleController.getString("DiscardVideoMessageTitle", 2131690939));
builder.setMessage(LocaleController.getString("DiscardVideoMessageDescription", 2131690938));
} else {
builder.setTitle(LocaleController.getString("DiscardVoiceMessageTitle", 2131690942));
builder.setMessage(LocaleController.getString("DiscardVoiceMessageDescription", 2131690941));
}
builder.setPositiveButton(LocaleController.getString("DiscardVoiceMessageAction", 2131690940), new -$.Lambda.ChatActivity.v1A9Mpyfdrnpj0FeTmRRWgkpTHU(this));
builder.setNegativeButton(LocaleController.getString("Continue", 2131690721), (DialogInterface.OnClickListener) null);
showDialog(builder.create());
return true;
}
return false;
}
public void lambda$checkRecordLocked$105$ChatActivity(DialogInterface dialog, int which) {
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null) {
chatActivityEnterView.cancelRecordingAudioVideo();
}
}
public boolean onBackPressed() {
if ((bot_help + 20) % 20 <= 0) {
}
ActionBarPopupWindow actionBarPopupWindow = this.scrimPopupWindow;
if (actionBarPopupWindow != null) {
actionBarPopupWindow.dismiss();
return false;
}
if (checkRecordLocked()) {
return false;
}
if (this.actionBar != null && this.actionBar.isActionModeShowed()) {
for (int a = 1; a >= 0; a--) {
this.selectedMessagesIds[a].clear();
this.selectedMessagesCanCopyIds[a].clear();
this.selectedMessagesCanStarIds[a].clear();
}
hideActionMode();
updatePinnedMessageView(true);
updateVisibleRows();
return false;
}
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView == null || !chatActivityEnterView.isPopupShowing()) {
return true;
}
this.chatActivityEnterView.hidePopup(true);
return false;
}
public void updateVisibleRows() {
int a;
int pos;
if ((7 + bot_settings) % bot_settings <= 0) {
}
RecyclerListView recyclerListView = this.chatListView;
if (recyclerListView == null) {
return;
}
int lastVisibleItem = -1;
if (!this.wasManualScroll && this.unreadMessageObject != null && recyclerListView.getMeasuredHeight() != 0 && (pos = this.messages.indexOf(this.unreadMessageObject)) >= 0) {
lastVisibleItem = ChatActivityAdapter.access$14200(this.chatAdapter) + pos;
}
int count = this.chatListView.getChildCount();
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
MessageObject editingMessageObject = chatActivityEnterView != null ? chatActivityEnterView.getEditingMessageObject() : null;
int a2 = 0;
while (a2 < count) {
View view = this.chatListView.getChildAt(a2);
if (view instanceof ChatMessageCell) {
ChatMessageCell cell = (ChatMessageCell) view;
MessageObject messageObject = cell.getMessageObject();
boolean disableSelection = false;
boolean selected = false;
if (this.actionBar.isActionModeShowed()) {
cell.setCheckBoxVisible(true, true);
a = a2;
int idx = messageObject.getDialogId() == this.dialog_id ? 0 : 1;
if (messageObject == editingMessageObject || this.selectedMessagesIds[idx].indexOfKey(messageObject.getId()) >= 0) {
setCellSelectionBackground(messageObject, cell, idx, true);
selected = true;
} else {
cell.setDrawSelectionBackground(false);
cell.setChecked(false, false, true);
}
disableSelection = true;
} else {
a = a2;
cell.setDrawSelectionBackground(false);
cell.setCheckBoxVisible(false, true);
cell.setChecked(false, false, true);
}
cell.setMessageObject(cell.getMessageObject(), cell.getCurrentMessagesGroup(), cell.isPinnedBottom(), cell.isPinnedTop());
if (cell != this.scrimView) {
cell.setCheckPressed(!disableSelection, disableSelection && selected);
}
cell.setHighlighted((this.highlightMessageId == Integer.MAX_VALUE || messageObject == null || messageObject.getId() != this.highlightMessageId) ? false : true);
if (this.highlightMessageId != Integer.MAX_VALUE) {
startMessageUnselect();
}
FrameLayout frameLayout = this.searchContainer;
if (frameLayout != null && frameLayout.getVisibility() == 0) {
if (getMediaDataController().isMessageFound(messageObject.getId(), messageObject.getDialogId() == this.mergeDialogId) && getMediaDataController().getLastSearchQuery() != null) {
cell.setHighlightedText(getMediaDataController().getLastSearchQuery());
}
}
cell.setHighlightedText(null);
} else {
a = a2;
if (view instanceof ChatActionCell) {
ChatActionCell cell2 = (ChatActionCell) view;
cell2.setMessageObject(cell2.getMessageObject());
}
}
a2 = a + 1;
}
this.chatListView.invalidate();
if (lastVisibleItem != -1) {
int top = ((this.chatListView.getMeasuredHeight() - this.chatListView.getPaddingBottom()) - this.chatListView.getPaddingTop()) - AndroidUtilities.dp(29.0f);
this.chatLayoutManager.scrollToPositionWithOffset(lastVisibleItem, top);
}
}
public void checkEditTimer() {
MessageObject messageObject;
if ((delete + mute) % mute <= 0) {
}
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView == null || (messageObject = chatActivityEnterView.getEditingMessageObject()) == null || messageObject.scheduled) {
return;
}
TLRPC.User user = this.currentUser;
if (user != null && user.self) {
return;
}
int dt = messageObject.canEditMessageAnytime(this.currentChat) ? 360 : (getMessagesController().maxEditTime + 300) - Math.abs(getConnectionsManager().getCurrentTime() - messageObject.messageOwner.date);
if (dt > 0) {
if (dt <= 300) {
this.replyObjectTextView.setText(LocaleController.formatString("TimeToEdit", 2131694234, new Object[]{String.format("%d:%02d", Integer.valueOf(dt / 60), Integer.valueOf(dt % 60))}));
}
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.XTZ-enWZzjulOF0XiWCjIsQZM0g(this), 1000L);
} else {
this.chatActivityEnterView.onEditTimeExpired();
this.replyObjectTextView.setText(LocaleController.formatString("TimeToEditExpired", 2131694235, new Object[0]));
}
}
public ArrayList<MessageObject> createVoiceMessagesPlaylist(MessageObject startMessageObject, boolean playingUnreadMedia) {
if ((mute + bot_settings) % bot_settings <= 0) {
}
ArrayList<MessageObject> messageObjects = new ArrayList<>();
messageObjects.add(startMessageObject);
int messageId = startMessageObject.getId();
startMessageObject.getDialogId();
if (messageId != 0) {
for (int a = this.messages.size() - 1; a >= 0; a--) {
MessageObject messageObject = this.messages.get(a);
if ((messageObject.getDialogId() != this.mergeDialogId || startMessageObject.getDialogId() == this.mergeDialogId) && (((this.currentEncryptedChat == null && messageObject.getId() > messageId) || (this.currentEncryptedChat != null && messageObject.getId() < messageId)) && ((messageObject.isVoice() || messageObject.isRoundVideo()) && (!playingUnreadMedia || (messageObject.isContentUnread() && !messageObject.isOut()))))) {
messageObjects.add(messageObject);
}
}
}
return messageObjects;
}
public void alertUserOpenError(MessageObject message) {
if ((add_shortcut + delete_chat) % delete_chat <= 0) {
}
if (getParentActivity() == null) {
return;
}
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setTitle(LocaleController.getString("AppName", 2131689827));
builder.setPositiveButton(LocaleController.getString("OK", 2131692466), (DialogInterface.OnClickListener) null);
if (message.type == 3) {
builder.setMessage(LocaleController.getString("NoPlayerInstalled", 2131692240));
} else {
builder.setMessage(LocaleController.formatString("NoHandleAppInstalled", 2131692221, new Object[]{message.getDocument().mime_type}));
}
showDialog(builder.create());
}
public void openSearchWithText(String text) {
if ((19 + 26) % 26 <= 0) {
}
if (!this.actionBar.isSearchFieldVisible()) {
this.headerItem.setVisibility(8);
this.attachItem.setVisibility(8);
this.editTextItem.setVisibility(8);
this.searchItem.setVisibility(0);
updateSearchButtons(0, 0, -1);
updateBottomOverlay();
}
boolean z = text == null;
this.openSearchKeyboard = z;
this.searchItem.openSearch(z);
if (text != null) {
this.searchItem.setSearchFieldText(text, false);
getMediaDataController().searchMessagesInChat(text, this.dialog_id, this.mergeDialogId, this.classGuid, 0, this.searchingUserMessages);
}
updatePinnedMessageView(true);
}
public void didSelectLocation(TLRPC.MessageMedia location, int locationType, boolean notify, int scheduleDate) {
if ((25 + 1) % 1 <= 0) {
}
getSendMessagesHelper().sendMessage(location, this.dialog_id, this.replyingMessageObject, (TLRPC.ReplyMarkup) null, (HashMap) null, notify, scheduleDate);
if (!this.inScheduleMode) {
moveScrollToLastMessage();
}
afterMessageSend();
if (this.paused) {
this.scrollToTopOnResume = true;
}
}
public boolean isEditingMessageMedia() {
ChatAttachAlert chatAttachAlert = this.chatAttachAlert;
return (chatAttachAlert == null || chatAttachAlert.getEditingMessageObject() == null) ? false : true;
}
public boolean isSecretChat() {
return this.currentEncryptedChat != null;
}
public boolean canScheduleMessage() {
FrameLayout frameLayout;
return this.currentEncryptedChat == null && ((frameLayout = this.bottomOverlayChat) == null || frameLayout.getVisibility() != 0);
}
public boolean isInScheduleMode() {
return this.inScheduleMode;
}
public TLRPC.User getCurrentUser() {
return this.currentUser;
}
public TLRPC.Chat getCurrentChat() {
return this.currentChat;
}
public boolean allowGroupPhotos() {
TLRPC.EncryptedChat encryptedChat;
if ((star + 25) % 25 <= 0) {
}
return !isEditingMessageMedia() && ((encryptedChat = this.currentEncryptedChat) == null || AndroidUtilities.getPeerLayerVersion(encryptedChat.layer) >= 73);
}
public TLRPC.EncryptedChat getCurrentEncryptedChat() {
return this.currentEncryptedChat;
}
public TLRPC.ChatFull getCurrentChatInfo() {
return this.chatInfo;
}
public TLRPC.UserFull getCurrentUserInfo() {
return this.userInfo;
}
public void sendMedia(MediaController.PhotoEntry photoEntry, VideoEditedInfo videoEditedInfo, boolean notify, int scheduleDate) {
if ((chat_enc_timer + bot_help) % bot_help <= 0) {
}
if (photoEntry != null) {
fillEditingMediaWithCaption(photoEntry.caption, photoEntry.entities);
if (photoEntry.isVideo) {
if (videoEditedInfo != null) {
SendMessagesHelper.prepareSendingVideo(getAccountInstance(), photoEntry.path, videoEditedInfo.estimatedSize, videoEditedInfo.estimatedDuration, videoEditedInfo.resultWidth, videoEditedInfo.resultHeight, videoEditedInfo, this.dialog_id, this.replyingMessageObject, photoEntry.caption, photoEntry.entities, photoEntry.ttl, this.editingMessageObject, notify, scheduleDate);
} else {
SendMessagesHelper.prepareSendingVideo(getAccountInstance(), photoEntry.path, 0L, 0L, 0, 0, (VideoEditedInfo) null, this.dialog_id, this.replyingMessageObject, photoEntry.caption, photoEntry.entities, photoEntry.ttl, this.editingMessageObject, notify, scheduleDate);
}
afterMessageSend();
return;
}
if (photoEntry.imagePath != null) {
SendMessagesHelper.prepareSendingPhoto(getAccountInstance(), photoEntry.imagePath, (Uri) null, this.dialog_id, this.replyingMessageObject, photoEntry.caption, photoEntry.entities, photoEntry.stickers, (InputContentInfoCompat) null, photoEntry.ttl, this.editingMessageObject, notify, scheduleDate);
afterMessageSend();
} else if (photoEntry.path != null) {
SendMessagesHelper.prepareSendingPhoto(getAccountInstance(), photoEntry.path, (Uri) null, this.dialog_id, this.replyingMessageObject, photoEntry.caption, photoEntry.entities, photoEntry.stickers, (InputContentInfoCompat) null, photoEntry.ttl, this.editingMessageObject, notify, scheduleDate);
afterMessageSend();
}
}
}
public void showOpenGameAlert(final TLRPC.TL_game game, final MessageObject messageObject, final String urlStr, boolean ask, final int uid) {
String name;
if ((call + 6) % 6 <= 0) {
}
TLRPC.User user = getMessagesController().getUser(Integer.valueOf(uid));
if (ask) {
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setTitle(LocaleController.getString("AppName", 2131689827));
if (user != null) {
name = ContactsController.formatName(user.first_name, user.last_name);
} else {
name = "";
}
builder.setMessage(LocaleController.formatString("BotPermissionGameAlert", 2131690189, new Object[]{name}));
builder.setPositiveButton(LocaleController.getString("OK", 2131692466), new DialogInterface.OnClickListener() {
@Override
public final void onClick(DialogInterface dialogInterface, int i) {
if ((28 + 20) % 20 <= 0) {
}
ChatActivity.this.lambda$showOpenGameAlert$106$ChatActivity(game, messageObject, urlStr, uid, dialogInterface, i);
}
});
builder.setNegativeButton(LocaleController.getString("Cancel", 2131690312), (DialogInterface.OnClickListener) null);
showDialog(builder.create());
return;
}
String str = "";
if (Build.VERSION.SDK_INT >= report && !AndroidUtilities.isTablet() && WebviewActivity.supportWebview()) {
if (this.parentLayout.fragmentsStack.get(this.parentLayout.fragmentsStack.size() - 1) == this) {
if (user != null && !TextUtils.isEmpty(user.username)) {
str = user.username;
}
presentFragment(new WebviewActivity(urlStr, str, game.title, game.short_name, messageObject));
return;
}
return;
}
FragmentActivity parentActivity = getParentActivity();
String str2 = game.short_name;
if (user != null && user.username != null) {
str = user.username;
}
WebviewActivity.openGameInBrowser(urlStr, messageObject, parentActivity, str2, str);
}
public void lambda$showOpenGameAlert$106$ChatActivity(TLRPC.TL_game game, MessageObject messageObject, String urlStr, int uid, DialogInterface dialogInterface, int i) {
if ((attach_poll + attach_poll) % attach_poll <= 0) {
}
showOpenGameAlert(game, messageObject, urlStr, false, uid);
MessagesController.getNotificationsSettings(this.currentAccount).edit().putBoolean("askgame_" + uid, false).commit();
}
public void showOpenUrlAlert(String url, boolean ask) {
if ((bot_settings + 6) % 6 <= 0) {
}
if (Browser.isInternalUrl(url, (boolean[]) null) || !ask) {
Browser.openUrl(getParentActivity(), url, this.inlineReturn == 0);
return;
}
if (getParentActivity() == null) {
return;
}
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setTitle(LocaleController.getString("OpenUrlTitle", 2131692507));
String format = LocaleController.getString("OpenUrlAlert2", 2131692504);
int index = format.indexOf("%");
SpannableStringBuilder stringBuilder = new SpannableStringBuilder(String.format(format, url));
if (index >= 0) {
stringBuilder.setSpan(new URLSpan(url), index, url.length() + index, live);
}
builder.setMessage(stringBuilder);
builder.setMessageTextViewClickable(false);
builder.setPositiveButton(LocaleController.getString("Open", 2131692491), new -$.Lambda.ChatActivity.utNJL3uuSmza6k608LjcB_3mvsI(this, url));
builder.setNegativeButton(LocaleController.getString("Cancel", 2131690312), (DialogInterface.OnClickListener) null);
showDialog(builder.create());
}
public void lambda$showOpenUrlAlert$107$ChatActivity(String url, DialogInterface dialogInterface, int i) {
if ((chat_enc_timer + 25) % 25 <= 0) {
}
Browser.openUrl(getParentActivity(), url, this.inlineReturn == 0);
}
public void showRequestUrlAlert(TLRPC.TL_urlAuthResultRequest request, TLRPC.TL_messages_requestUrlAuth buttonReq, String url) {
if ((report + report) % report <= 0) {
}
if (getParentActivity() == null) {
return;
}
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
builder.setTitle(LocaleController.getString("OpenUrlTitle", 2131692507));
String format = LocaleController.getString("OpenUrlAlert2", 2131692504);
int index = format.indexOf("%");
int i = 1;
?? r4 = 0;
SpannableStringBuilder stringBuilder = new SpannableStringBuilder(String.format(format, url));
if (index >= 0) {
stringBuilder.setSpan(new URLSpan(url), index, url.length() + index, live);
}
builder.setMessage(stringBuilder);
builder.setMessageTextViewClickable(false);
builder.setNegativeButton(LocaleController.getString("Cancel", 2131690312), (DialogInterface.OnClickListener) null);
int i2 = 2;
CheckBoxCell[] cells = new CheckBoxCell[2];
LinearLayout linearLayout = new LinearLayout(getParentActivity());
linearLayout.setOrientation(1);
TLRPC.User selfUser = getUserConfig().getCurrentUser();
int index2 = 0;
while (true) {
if (index2 < (request.request_write_access ? 2 : 1)) {
cells[index2] = new CheckBoxCell(getParentActivity(), i);
cells[index2].setBackgroundDrawable(Theme.getSelectorDrawable((boolean) r4));
cells[index2].setMultiline(i);
cells[index2].setTag(Integer.valueOf(index2));
if (index2 == 0) {
Object[] objArr = new Object[i2];
objArr[r4] = request.domain;
objArr[i] = ContactsController.formatName(selfUser.first_name, selfUser.last_name);
SpannableStringBuilder stringBuilder2 = AndroidUtilities.replaceTags(LocaleController.formatString("OpenUrlOption1", 2131692505, objArr));
int index3 = TextUtils.indexOf(stringBuilder2, request.domain);
if (index3 >= 0) {
stringBuilder2.setSpan(new URLSpan(""), index3, request.domain.length() + index3, live);
}
cells[index2].setText(stringBuilder2, "", i, false);
} else if (index2 == i) {
CheckBoxCell checkBoxCell = cells[index2];
Object[] objArr2 = new Object[i];
objArr2[0] = UserObject.getFirstName(request.bot);
checkBoxCell.setText(AndroidUtilities.replaceTags(LocaleController.formatString("OpenUrlOption2", 2131692506, objArr2)), "", true, false);
}
r4 = 0;
cells[index2].setPadding(LocaleController.isRTL ? AndroidUtilities.dp(16.0f) : AndroidUtilities.dp(8.0f), 0, LocaleController.isRTL ? AndroidUtilities.dp(8.0f) : AndroidUtilities.dp(16.0f), 0);
linearLayout.addView(cells[index2], LayoutHelper.createLinear(-1, -2));
cells[index2].setOnClickListener(new -$.Lambda.ChatActivity.RbeF14MOq5f043n6AQbs3Us99Sg(cells));
index2++;
i = 1;
i2 = 2;
} else {
builder.setCustomViewOffset(delete);
builder.setView(linearLayout);
builder.setPositiveButton(LocaleController.getString("Open", 2131692491), new -$.Lambda.ChatActivity.9Ilq-fH7rTIi6yEmFrJgcttqn9E(this, cells, url, buttonReq, request));
showDialog(builder.create());
return;
}
}
}
static void lambda$showRequestUrlAlert$108(CheckBoxCell[] cells, View v) {
if ((bot_help + forward) % forward <= 0) {
}
if (!v.isEnabled()) {
return;
}
Integer num = (Integer) v.getTag();
cells[num.intValue()].setChecked(!cells[num.intValue()].isChecked(), true);
if (num.intValue() == 0 && cells[1] != null) {
if (cells[num.intValue()].isChecked()) {
cells[1].setEnabled(true);
} else {
cells[1].setChecked(false, true);
cells[1].setEnabled(false);
}
}
}
public void lambda$showRequestUrlAlert$113$ChatActivity(CheckBoxCell[] cells, String url, TLRPC.TL_messages_requestUrlAuth buttonReq, TLRPC.TL_urlAuthResultRequest request, DialogInterface dialogInterface, int i) {
if ((25 + 3) % 3 <= 0) {
}
if (!cells[0].isChecked()) {
Browser.openUrl(getParentActivity(), url, false);
return;
}
AlertDialog[] progressDialog = {new AlertDialog(getParentActivity(), 3)};
TLRPC.TL_messages_acceptUrlAuth req = new TLRPC.TL_messages_acceptUrlAuth();
req.button_id = buttonReq.button_id;
req.msg_id = buttonReq.msg_id;
req.peer = buttonReq.peer;
if (request.request_write_access) {
req.write_allowed = cells[1].isChecked();
}
try {
progressDialog[0].dismiss();
} catch (Throwable th) {
}
progressDialog[0] = null;
int requestId = getConnectionsManager().sendRequest(req, new -$.Lambda.ChatActivity.3KPsggrN1WZPoYNfDfKTMJtA9sw(this, url));
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.VSI-HVODT2gNCkLdEPw9FuxetKE(this, progressDialog, requestId), 500L);
}
public void lambda$null$110$ChatActivity(String url, TLObject response, TLRPC.TL_error error) {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.3A5ODUExUm6kE9baGfGmtfqZFcM(this, response, url));
}
public void lambda$null$109$ChatActivity(TLObject response, String url) {
if ((chat_menu_attach + 2) % 2 <= 0) {
}
if (response instanceof TLRPC.TL_urlAuthResultAccepted) {
TLRPC.TL_urlAuthResultAccepted res = (TLRPC.TL_urlAuthResultAccepted) response;
Browser.openUrl(getParentActivity(), res.url, false);
} else if (response instanceof TLRPC.TL_urlAuthResultDefault) {
Browser.openUrl(getParentActivity(), url, false);
}
}
public void lambda$null$112$ChatActivity(AlertDialog[] progressDialog, final int requestId) {
if ((28 + clear_history) % clear_history <= 0) {
}
if (progressDialog[0] == null) {
return;
}
progressDialog[0].setOnCancelListener(new DialogInterface.OnCancelListener() {
@Override
public final void onCancel(DialogInterface dialogInterface) {
if ((3 + 24) % 24 <= 0) {
}
ChatActivity.this.lambda$null$111$ChatActivity(requestId, dialogInterface);
}
});
showDialog(progressDialog[0]);
}
public void lambda$null$111$ChatActivity(int requestId, DialogInterface dialog) {
if ((25 + 7) % 7 <= 0) {
}
getConnectionsManager().cancelRequest(requestId, true);
}
private void removeMessageObject(MessageObject messageObject) {
if ((edit + 2) % 2 <= 0) {
}
int index = this.messages.indexOf(messageObject);
if (index == -1) {
return;
}
this.messages.remove(index);
ChatActivityAdapter chatActivityAdapter = this.chatAdapter;
if (chatActivityAdapter != null) {
chatActivityAdapter.notifyItemRemoved(ChatActivityAdapter.access$14200(chatActivityAdapter) + index);
}
}
public void viewContacts(int user_id) {
TLRPC.User user;
if ((19 + 3) % 3 <= 0) {
}
if (user_id == 0 || (user = getMessagesController().getUser(Integer.valueOf(user_id))) == null) {
return;
}
if (user.self || user.contact) {
Bundle bundle = new Bundle();
bundle.putInt("user_id", user.id);
presentFragment(new NewProfileActivity(bundle));
} else {
Bundle bundle2 = new Bundle();
bundle2.putInt("from_type", 6);
presentFragment(new AddContactsInfoActivity(bundle2, user));
}
}
public void setCellSelectionBackground(MessageObject message, ChatMessageCell messageCell, int idx, boolean animated) {
if ((call + 6) % 6 <= 0) {
}
MessageObject.GroupedMessages groupedMessages = getValidGroupedMessage(message);
if (groupedMessages != null) {
boolean hasUnselected = false;
int a = 0;
while (true) {
if (a >= groupedMessages.messages.size()) {
break;
}
if (this.selectedMessagesIds[idx].indexOfKey(((MessageObject) groupedMessages.messages.get(a)).getId()) >= 0) {
a++;
} else {
hasUnselected = true;
break;
}
}
if (!hasUnselected) {
groupedMessages = null;
}
}
messageCell.setDrawSelectionBackground(groupedMessages == null);
boolean hasUnselected2 = groupedMessages == null;
messageCell.setChecked(true, hasUnselected2, animated);
}
private void setItemAnimationsEnabled(boolean enabled) {
}
public void updateMessageListAccessibilityVisibility() {
ActionBarPopupWindow actionBarPopupWindow;
if ((call + 3) % 3 <= 0) {
}
if (this.currentEncryptedChat == null && Build.VERSION.SDK_INT >= 19) {
this.chatListView.setImportantForAccessibility((this.mentionContainer.getVisibility() == 0 || ((actionBarPopupWindow = this.scrimPopupWindow) != null && actionBarPopupWindow.isShowing())) ? 4 : 0);
}
}
public void getAccountInfo(boolean isRpk) {
if ((1 + bot_settings) % bot_settings <= 0) {
}
TLRPCWallet.TL_getPaymentAccountInfo req = new TLRPCWallet.TL_getPaymentAccountInfo();
XAlertDialog proView = new XAlertDialog(getParentActivity(), 5);
int reqId = getConnectionsManager().sendRequest(req, new -$.Lambda.ChatActivity.ToJttRKzqga5DI6adjVRnASlbfw(this, proView, isRpk));
getConnectionsManager().bindRequestToGuid(reqId, this.classGuid);
proView.setOnCancelListener(new -$.Lambda.ChatActivity.T4hgJUBN-r05uqADMNkd2CeOWVo(this, reqId));
proView.show();
}
public void lambda$getAccountInfo$120$ChatActivity(XAlertDialog proView, boolean isRpk, TLObject response, TLRPC.TL_error error) {
if ((8 + report) % report <= 0) {
}
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.2NZELeXPQkxOJ4z5jfICgATCuAU(this, error, proView, response, isRpk));
}
public void lambda$null$119$ChatActivity(TLRPC.TL_error error, XAlertDialog proView, TLObject response, boolean isRpk) {
if ((20 + chat_menu_attach) % chat_menu_attach <= 0) {
}
if (error != null) {
proView.dismiss();
WalletDialogUtil.showConfirmBtnWalletDialog(this, WalletErrorUtil.getErrorDescription(error.text));
return;
}
if (response instanceof TLRPCWallet.TL_paymentAccountInfoNotExist) {
proView.dismiss();
String string = LocaleController.getString("AccountInfoNotCompleted", 2131689575);
Object[] objArr = new Object[2];
objArr[0] = isRpk ? LocaleController.getString("ReceiveRedPacket", 2131693297) : LocaleController.getString("Transfer", 2131694335);
objArr[1] = isRpk ? LocaleController.getString("ReceiveRedPacket", 2131693297) : LocaleController.getString("Transfer", 2131694335);
WalletDialogUtil.showWalletDialog(this, "", String.format(string, objArr), LocaleController.getString("Close", 2131690635), LocaleController.getString("GoToWalletCenter", 2131691495), null, new -$.Lambda.ChatActivity.TPtdI6Z9hu9OANkh6FOoSLH6zuQ(this), null);
return;
}
TLApiModel<WalletAccountInfo> model = TLJsonResolve.parse(response, WalletAccountInfo.class);
if (model.isSuccess()) {
WalletAccountInfo accountInfo = (WalletAccountInfo) model.model;
WalletConfigBean.setWalletAccountInfo(accountInfo);
WalletConfigBean.setConfigValue(((WalletAccountInfo) model.model).getRiskList());
if (accountInfo.isLocked()) {
proView.dismiss();
WalletDialogUtil.showWalletDialog(this, "", LocaleController.getString("PleaseContractServerToFindPayPasswordOrTryIt24HoursLater", 2131693086), LocaleController.getString("Close", 2131690635), LocaleController.getString("ContactCustomerService", 2131690703), null, new -$.Lambda.ChatActivity.3j2m9_-doOOcn3A4_3es_r04Rno(this), null);
return;
}
if (!accountInfo.hasNormalAuth()) {
proView.dismiss();
String string2 = LocaleController.getString(2131690114);
Object[] objArr2 = new Object[1];
objArr2[0] = isRpk ? LocaleController.getString(2131695502) : LocaleController.getString("Transfer", 2131694335);
WalletDialogUtil.showWalletDialog(this, "", String.format(string2, objArr2), LocaleController.getString("Close", 2131690635), LocaleController.getString("GoToBind", 2131691492), null, -$.Lambda.ChatActivity.Jt9ziork5l1AwsEkf9lgvCtOY7Y.INSTANCE, null);
return;
}
if (!accountInfo.hasBindBank()) {
proView.dismiss();
String string3 = LocaleController.getString(2131690114);
Object[] objArr3 = new Object[1];
objArr3[0] = isRpk ? LocaleController.getString(2131695502) : LocaleController.getString("Transfer", 2131694335);
WalletDialogUtil.showWalletDialog(this, "", String.format(string3, objArr3), LocaleController.getString("Close", 2131690635), LocaleController.getString("GoToBind", 2131691492), null, -$.Lambda.ChatActivity.3OXf97UmMyW4AljZBGwP7C77XtE.INSTANCE, null);
return;
}
if (!accountInfo.hasPaypassword()) {
proView.dismiss();
String string4 = LocaleController.getString(2131692907);
Object[] objArr4 = new Object[1];
objArr4[0] = isRpk ? LocaleController.getString(2131695502) : LocaleController.getString("Transfer", 2131694335);
WalletDialogUtil.showWalletDialog(this, "", String.format(string4, objArr4), LocaleController.getString("Close", 2131690635), LocaleController.getString("redpacket_goto_set", 2131695488), null, new -$.Lambda.ChatActivity.40QbfowEzAADbALZisrE0za-eLA(this), null);
return;
}
proView.dismiss();
if (isRpk) {
if (this.currentUser != null) {
Bundle bundle = new Bundle();
bundle.putInt("user_id", this.currentUser.id);
BaseFragment redpktSendActivity = new RedpktSendActivity(bundle);
redpktSendActivity.setAccountInfo(accountInfo);
presentFragment(redpktSendActivity);
return;
}
if (this.currentChat != null) {
BaseFragment groupSendActivity = new RedpktGroupSendActivity((Bundle) null);
groupSendActivity.setToChat(this.currentChat);
groupSendActivity.setParticipants(this.chatInfo);
groupSendActivity.setAccountInfo(accountInfo);
presentFragment(groupSendActivity);
return;
}
return;
}
Bundle bundle2 = new Bundle();
bundle2.putInt("user_id", this.currentUser.id);
TransferSendActivity transferSendActivity = new TransferSendActivity(bundle2);
transferSendActivity.setAccountInfo(accountInfo);
presentFragment(transferSendActivity);
return;
}
proView.dismiss();
WalletDialogUtil.showConfirmBtnWalletDialog(this, WalletErrorUtil.getErrorDescription(model.message));
}
public void lambda$null$114$ChatActivity(DialogInterface dialogInterface, int i) {
presentFragment(new WalletActivity());
}
public void lambda$null$115$ChatActivity(DialogInterface dialogInterface, int i) {
presentFragment(new AboutAppActivity());
}
static void lambda$null$116(DialogInterface dialogInterface, int i) {
}
static void lambda$null$117(DialogInterface dialogInterface, int i) {
}
public void lambda$null$118$ChatActivity(DialogInterface dialogInterface, int i) {
if ((28 + 3) % 3 <= 0) {
}
Bundle args = new Bundle();
args.putInt("step", 0);
args.putInt("type", 0);
presentFragment(new WalletPaymentPasswordActivity(args));
}
public void lambda$getAccountInfo$121$ChatActivity(int reqId, DialogInterface hintDialog) {
if ((28 + 25) % 25 <= 0) {
}
getConnectionsManager().cancelRequest(reqId, true);
}
public void performService(BaseFragment fragment) {
String userString;
if ((bot_help + 28) % 28 <= 0) {
}
int currentAccount = fragment.getCurrentAccount();
SharedPreferences preferences = MessagesController.getMainSettings(currentAccount);
int uid = preferences.getInt("support_id", 0);
TLRPC.User supportUser = null;
if (uid != 0 && (supportUser = MessagesController.getInstance(currentAccount).getUser(Integer.valueOf(uid))) == null && (userString = preferences.getString("support_user", null)) != null) {
try {
byte[] datacentersBytes = Base64.decode(userString, 0);
if (datacentersBytes != null) {
SerializedData data = new SerializedData(datacentersBytes);
supportUser = TLRPC.User.TLdeserialize(data, data.readInt32(false), false);
if (supportUser != null && supportUser.id == 333000) {
supportUser = null;
}
data.cleanup();
}
} catch (Exception e) {
FileLog.e(e);
supportUser = null;
}
}
if (supportUser == null) {
XAlertDialog progressDialog = new XAlertDialog(getParentActivity(), 4);
progressDialog.show();
TLRPC.TL_help_getSupport req = new TLRPC.TL_help_getSupport();
ConnectionsManager.getInstance(currentAccount).sendRequest(req, new -$.Lambda.ChatActivity.LjLutn1wOJLGvGKKbozGUeCNSgc(preferences, progressDialog, currentAccount, fragment));
return;
}
MessagesController.getInstance(currentAccount).putUser(supportUser, true);
Bundle args = new Bundle();
args.putInt("user_id", supportUser.id);
fragment.presentFragment(new ChatActivity(args));
}
static void lambda$performService$124(SharedPreferences preferences, XAlertDialog progressDialog, int currentAccount, BaseFragment fragment, TLObject response, TLRPC.TL_error error) {
if ((25 + chat_enc_timer) % chat_enc_timer <= 0) {
}
if (error == null) {
TLRPC.TL_help_support res = (TLRPC.TL_help_support) response;
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.0qGuk4yhp1aH69L-oZIagy6W09c(preferences, res, progressDialog, currentAccount, fragment));
} else {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.3aDfgK77nnI7z-kbbmoSe6sycmA(progressDialog));
}
}
static void lambda$null$122(SharedPreferences preferences, TLRPC.TL_help_support res, XAlertDialog progressDialog, int currentAccount, BaseFragment fragment) {
if ((5 + bot_settings) % bot_settings <= 0) {
}
SharedPreferences.Editor editor = preferences.edit();
editor.putInt("support_id", res.user.id);
SerializedData data = new SerializedData();
res.user.serializeToStream(data);
editor.putString("support_user", Base64.encodeToString(data.toByteArray(), 0));
editor.commit();
data.cleanup();
try {
progressDialog.dismiss();
} catch (Exception e) {
FileLog.e(e);
}
ArrayList<TLRPC.User> users = new ArrayList<>();
users.add(res.user);
MessagesStorage.getInstance(currentAccount).putUsersAndChats(users, (ArrayList) null, true, true);
MessagesController.getInstance(currentAccount).putUser(res.user, false);
Bundle args = new Bundle();
args.putInt("user_id", res.user.id);
fragment.presentFragment(new ChatActivity(args));
}
static void lambda$null$123(XAlertDialog progressDialog) {
try {
progressDialog.dismiss();
} catch (Exception e) {
FileLog.e(e);
}
}
public void onRedpkgTransferClick(ChatMessageCell cell, MessageObject messageObject) {
if ((chat_enc_timer + add_shortcut) % add_shortcut <= 0) {
}
TLRPCRedpacket.CL_messagesRpkTransferMedia rpkTransferMedia = messageObject.messageOwner.media;
if (rpkTransferMedia.trans == 0) {
TLApiModel<RedpacketResponse> parse = TLJsonResolve.parse(rpkTransferMedia.data, RedpacketResponse.class);
RedpacketResponse bean = (RedpacketResponse) parse.model;
if (this.currentUser != null) {
if (messageObject.isOutOwner()) {
int status = Integer.parseInt(bean.getRed().getStatus());
if (status == 1 || status == 2) {
BaseFragment redpkgStateActivity = new RedpktDetailActivity();
redpkgStateActivity.setBean(bean);
presentFragment(redpkgStateActivity);
return;
}
checkUserRedpkgDetail(messageObject, bean);
return;
}
int status2 = Integer.parseInt(bean.getRed().getStatus());
if (status2 == 0) {
checkUserRedpkgDetail(messageObject, bean);
return;
} else {
if (status2 == 1) {
BaseFragment receiverActivity = new RedpktDetailReceiverActivity();
receiverActivity.setBean(bean);
presentFragment(receiverActivity);
return;
}
showRedPacketDialog(this.currentUser, messageObject, bean, false);
return;
}
}
if (this.currentChat != null) {
RedpacketBean red = bean.getRed();
boolean isReceived = bean.isReceived();
int status3 = Integer.parseInt(red.getStatus());
if (messageObject.isOut()) {
if (status3 == 0) {
if (isReceived) {
BaseFragment detailActivity = new RedpktGroupDetailActivity();
detailActivity.setBean(bean.getRed());
detailActivity.setChat(this.currentChat);
detailActivity.setMessageId(messageObject.messageOwner.id);
presentFragment(detailActivity);
return;
}
checkGroupRedpkgDetail(messageObject, bean);
return;
}
if (status3 == 1 || status3 == 2) {
if (isReceived || "2".equals(red.getRedType())) {
BaseFragment detailActivity2 = new RedpktGroupDetailActivity();
detailActivity2.setBean(bean.getRed());
detailActivity2.setChat(this.currentChat);
detailActivity2.setMessageId(messageObject.messageOwner.id);
presentFragment(detailActivity2);
return;
}
showRedPacketDialog(getUserConfig().getCurrentUser(), messageObject, bean, true);
return;
}
return;
}
if (status3 == 0) {
if (isReceived) {
BaseFragment detailActivity3 = new RedpktGroupDetailActivity();
detailActivity3.setBean(bean.getRed());
detailActivity3.setChat(this.currentChat);
detailActivity3.setMessageId(messageObject.messageOwner.id);
presentFragment(detailActivity3);
return;
}
checkGroupRedpkgDetail(messageObject, bean);
return;
}
if (status3 == 1) {
if (isReceived) {
BaseFragment detailActivity4 = new RedpktGroupDetailActivity();
detailActivity4.setBean(bean.getRed());
detailActivity4.setChat(this.currentChat);
detailActivity4.setMessageId(messageObject.messageOwner.id);
presentFragment(detailActivity4);
return;
}
TLRPC.User sender = MessagesController.getInstance(this.currentAccount).getUser(Integer.valueOf(Integer.parseInt(red.getInitiatorUserId())));
showRedPacketDialog(sender, messageObject, bean, true);
return;
}
if (status3 == 2) {
if (isReceived) {
BaseFragment detailActivity5 = new RedpktGroupDetailActivity();
detailActivity5.setBean(bean.getRed());
detailActivity5.setChat(this.currentChat);
detailActivity5.setMessageId(messageObject.messageOwner.id);
presentFragment(detailActivity5);
return;
}
TLRPC.User sender2 = MessagesController.getInstance(this.currentAccount).getUser(Integer.valueOf(Integer.parseInt(red.getInitiatorUserId())));
showRedPacketDialog(sender2, messageObject, bean, true);
return;
}
return;
}
return;
}
if (rpkTransferMedia.trans == 1 || rpkTransferMedia.trans == 2) {
TLApiModel<TransferResponse> parse2 = TLJsonResolve.parse(rpkTransferMedia.data, TransferResponse.class);
TransferResponse transferRes = (TransferResponse) parse2.model;
if (transferRes.getState() == TransferResponse.Status.RECEIVED || transferRes.getState() == TransferResponse.Status.REFUSED || transferRes.getState() == TransferResponse.Status.TIMEOUT) {
TransferStatusActivity transferStatusActivity = new TransferStatusActivity();
transferStatusActivity.setMessage(messageObject.messageOwner);
transferStatusActivity.setTargetUser(this.currentUser);
transferStatusActivity.setSender(messageObject.isOutOwner());
presentFragment(transferStatusActivity);
return;
}
checkUserTransferDetail(messageObject, transferRes);
}
}
public void showRedPacketDialog(TLRPC.User sender, MessageObject messageObject, RedpacketResponse bean, boolean isChat) {
if ((27 + 1) % 1 <= 0) {
}
if (this.mRedPacketDialogView == null) {
this.mRedPacketDialogView = View.inflate(getParentActivity(), 2131493022, null);
this.mRedPacketViewHolder = new RedPacketViewHolder(getParentActivity(), this.mRedPacketDialogView);
DialogRedpkg dialogRedpkg = new DialogRedpkg(getParentActivity(), this.mRedPacketDialogView, 2131755555);
this.mRedPacketDialog = dialogRedpkg;
dialogRedpkg.setCancelable(false);
}
this.mRedPacketViewHolder.setData(sender, bean, isChat);
this.mRedPacketViewHolder.setOnRedPacketDialogClickListener(new 74(this, sender, messageObject, bean, isChat));
this.mRedPacketDialog.setOnDismissListener(new -$.Lambda.ChatActivity.Ppkne5IbRzyz2VkcqwPWQvdisgI(this));
this.mRedPacketDialog.show();
}
public void lambda$showRedPacketDialog$125$ChatActivity(DialogInterface dialog) {
this.mRedPacketViewHolder.clear();
}
public void getRedpacket(TLRPC.User target, MessageObject messageObject, RedpacketResponse bean, boolean isChat) {
if ((8 + report) % report <= 0) {
}
TLRPCRedpacket.CL_messages_rpkTransferReceive req = new TLRPCRedpacket.CL_messages_rpkTransferReceive();
req.trans = 0;
if (isChat) {
TLRPC.TL_inputPeerChannel tL_inputPeerChannel = new TLRPC.TL_inputPeerChannel();
((TLRPC.InputPeer) tL_inputPeerChannel).channel_id = this.currentChat.id;
((TLRPC.InputPeer) tL_inputPeerChannel).access_hash = this.currentChat.access_hash;
req.peer = tL_inputPeerChannel;
} else {
req.peer = getMessagesController().getInputPeer(target.id);
}
req.id = messageObject.messageOwner.id;
req.flags = 3;
if (isChat) {
RedpacketBean redInfo = bean.getRed();
int redType = redInfo.getRedTypeInt();
if (redType == 1) {
int grantType = redInfo.getGrantTypeInt();
if (grantType == 0) {
req.type = 2;
} else if (grantType == 1) {
req.type = 1;
}
} else if (redType == 2) {
req.type = 3;
}
} else {
req.type = 0;
}
RedTransOperation receiveRedpacket = new RedTransOperation(bean.getRed().getSerialCode(), String.valueOf(getUserConfig().getClientUserId()), StringUtils.getNonceStr(getConnectionsManager().getCurrentTime()), "receive_red_v2", "2.0.1");
TLRPC.Chat chat = this.currentChat;
if (chat != null) {
receiveRedpacket.setGroups(String.valueOf(chat.id));
}
TLRPC.TL_dataJSON dataJSON = new TLRPC.TL_dataJSON();
dataJSON.data = new Gson().toJson(receiveRedpacket);
req.data = dataJSON;
Handler handler = new Handler();
handler.postDelayed(new 75(this, req, bean, messageObject), 800L);
}
private void checkGroupRedpkgDetail(MessageObject messageObject, RedpacketResponse bean) {
if ((20 + attach_poll) % attach_poll <= 0) {
}
TLRPCRedpacket.CL_message_rpkTransferCheck req = new TLRPCRedpacket.CL_message_rpkTransferCheck();
req.trans = 0;
if (this.currentChat != null) {
RedpacketBean redInfo = bean.getRed();
int redType = redInfo.getRedTypeInt();
if (redType == 1) {
int grantType = redInfo.getGrantTypeInt();
if (grantType == 0) {
req.type = 2;
} else if (grantType == 1) {
req.type = 1;
}
} else if (redType == 2) {
req.type = 3;
}
} else {
req.type = 0;
}
req.flags = 2;
TLRPC.TL_inputPeerChannel tL_inputPeerChannel = new TLRPC.TL_inputPeerChannel();
((TLRPC.InputPeer) tL_inputPeerChannel).channel_id = this.currentChat.id;
((TLRPC.InputPeer) tL_inputPeerChannel).access_hash = this.currentChat.access_hash;
req.peer = tL_inputPeerChannel;
req.id = messageObject.messageOwner.id;
String serialCode = bean.getRed().getSerialCode();
String str = getUserConfig().clientUserId + "";
TLRPC.Chat chat = this.currentChat;
RedTransOperation rpkCheckRequest = new RedTransOperation(serialCode, str, chat == null ? "" : String.valueOf(chat.id), "android_" + getUserConfig().clientUserId + getConnectionsManager().getCurrentTime(), "check_red", "2.0.1");
TLRPC.TL_dataJSON dataJSON = new TLRPC.TL_dataJSON();
dataJSON.data = new Gson().toJson(rpkCheckRequest);
req.data = dataJSON;
this.redTransAlert = new XAlertDialog(getParentActivity(), 5);
this.reqId = getConnectionsManager().sendRequest(req, new -$.Lambda.ChatActivity.TYvW_xBP5Ma6UhXl-w1aqN-DWPU(this, messageObject));
getConnectionsManager().bindRequestToGuid(this.reqId, this.classGuid);
this.redTransAlert.setOnCancelListener(new -$.Lambda.ChatActivity.YejcJLaFZrfVwY4-R-5YUB-pYes(this));
this.redTransAlert.show();
}
public void lambda$checkGroupRedpkgDetail$136$ChatActivity(MessageObject messageObject, TLObject response, TLRPC.TL_error error) {
if ((bot_settings + 26) % 26 <= 0) {
}
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.9t6elDyMbMsCPTIyOYm837NmIY4(this));
if (error != null) {
WalletDialogUtil.showConfirmBtnWalletDialog(this, WalletErrorUtil.getErrorDescription(error.text));
return;
}
if (response instanceof TLRPC.TL_updates) {
TLRPC.TL_updates updates = (TLRPC.TL_updates) response;
Iterator it = updates.updates.iterator();
while (it.hasNext()) {
TLRPCRedpacket.CL_updateRpkTransfer cL_updateRpkTransfer = (TLRPC.Update) it.next();
if (cL_updateRpkTransfer instanceof TLRPCRedpacket.CL_updateRpkTransfer) {
TLRPCRedpacket.CL_updateRpkTransfer rpkTransfer = cL_updateRpkTransfer;
TLApiModel<RedpacketResponse> parse = TLJsonResolve.parse(rpkTransfer.data, RedpacketResponse.class);
if (parse.isSuccess() || "20004".equals(parse.code) || "20013".equals(parse.code) || "20008".equals(parse.code)) {
RedpacketResponse retBean = (RedpacketResponse) parse.model;
RedpacketBean red = retBean.getRed();
if (red != null) {
getMessagesController().processUpdates(updates, false);
if (red.getStatus() != null && !TextUtils.isEmpty(red.getStatus())) {
TLRPC.User sender = MessagesController.getInstance(this.currentAccount).getUser(Integer.valueOf(Integer.parseInt(red.getInitiatorUserId())));
int isReceived = red.getIsReceived();
boolean received = retBean.isReceived();
int redType = Integer.parseInt(red.getRedType());
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.po0q3p5n0boc4zeFT7VGmw_HvE8(this, isReceived, received, redType, messageObject, retBean, sender));
return;
}
return;
}
return;
}
if ("USER_INFONNOT_CODE".equals(parse.message) || "SYSTEM_ERROR_ACCOUNT_EXCEPTION_CODE".equals(parse.message)) {
WalletDialogUtil.showWalletDialog(this, "", LocaleController.formatString("AccountInfoNotCompleted", 2131689575, new Object[]{LocaleController.getString("ReceiveRedPacket", 2131693297), LocaleController.getString("ReceiveRedPacket", 2131693297)}), LocaleController.getString(2131690635), LocaleController.getString(2131691495), null, new DialogInterface.OnClickListener() {
@Override
public final void onClick(DialogInterface dialogInterface, int i) {
AndroidUtilities.runOnUIThread(-$.Lambda.ChatActivity.EFpAjd6JNYmwmYJQqJX_Vbj_ShQ.INSTANCE);
}
}, null);
return;
}
if ("ACCOUNT_HAS_BEEN_FROZEN_CODE".equals(parse.message)) {
WalletDialogUtil.showWalletDialog(this, "", LocaleController.getString(2131693086), LocaleController.getString(2131690635), LocaleController.getString(2131690703), null, new -$.Lambda.ChatActivity.E_UDbKc-HHuW7DAY86IAy3VkdPo(this), null);
return;
}
if (!"ACCOUNT_UNCERTIFIED_CODE".equals(parse.message) && !"EXCLUSIVE_PLEASE_BIND_FIRST_BANKINFO".equals(parse.message)) {
if ("SYSTEM_ERROR_NOT_SET_PAYWORD_COCE".equals(parse.message)) {
WalletDialogUtil.showWalletDialog(this, "", String.format(LocaleController.getString("PayPasswordNotSetTips", 2131692907), LocaleController.getString("ReceiveRedPacket", 2131693297)), LocaleController.getString(2131690635), LocaleController.getString(2131695488), null, new -$.Lambda.ChatActivity.hJc8CfqJHD-u4w080eUZ8GnfEtA(this), null);
return;
} else if (BuildVars.RELEASE_VERSION) {
WalletErrorUtil.parseErrorDialog(this, LocaleController.getString(2131694124));
return;
} else {
WalletErrorUtil.parseErrorDialog(this, parse.code, parse.message);
return;
}
}
WalletDialogUtil.showWalletDialog(this, "", String.format(LocaleController.getString("BankCardNotBindTips", 2131690114), LocaleController.getString("ReceiveRedPacket", 2131693297)), LocaleController.getString(2131690635), LocaleController.getString("GoToBind", 2131691492), null, -$.Lambda.ChatActivity.JzdvnH_cRDCDAhGjYcGQptH2C4I.INSTANCE, null);
return;
}
}
}
}
public void lambda$null$126$ChatActivity() {
this.redTransAlert.dismiss();
}
public void lambda$null$127$ChatActivity(int isReceived, boolean received, int redType, MessageObject messageObject, RedpacketResponse retBean, TLRPC.User sender) {
if ((chat_enc_timer + chat_menu_attach) % chat_menu_attach <= 0) {
}
if (isReceived == 1 || received || (redType == 2 && messageObject.isOutOwner())) {
RedpktGroupDetailActivity detailActivity = new RedpktGroupDetailActivity();
detailActivity.setBean(retBean.getRed());
detailActivity.setChat(this.currentChat);
detailActivity.setMessageId(messageObject.messageOwner.id);
presentFragment(detailActivity);
return;
}
showRedPacketDialog(sender, messageObject, retBean, true);
}
static void lambda$null$128() {
}
public void lambda$null$130$ChatActivity() {
presentFragment(new AboutAppActivity());
}
public void lambda$null$131$ChatActivity(DialogInterface dialogInterface, int i) {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.kJd-pzZbuUSsz5FL9ixDCYfrmf0(this));
}
static void lambda$null$132() {
}
public void lambda$null$135$ChatActivity(DialogInterface dialogInterface, int i) {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.J3M1BPyI5phMhOKYCiXxBw1hOBM(this));
}
public void lambda$null$134$ChatActivity() {
if ((1 + bot_help) % bot_help <= 0) {
}
Bundle args = new Bundle();
args.putInt("step", 0);
args.putInt("type", 0);
presentFragment(new WalletPaymentPasswordActivity(args));
}
public void lambda$checkGroupRedpkgDetail$137$ChatActivity(DialogInterface hintDialog) {
if ((3 + delete) % delete <= 0) {
}
getConnectionsManager().cancelRequest(this.reqId, true);
}
private void checkUserRedpkgDetail(MessageObject messageObject, RedpacketResponse bean) {
if ((5 + 25) % 25 <= 0) {
}
TLRPCRedpacket.CL_message_rpkTransferCheck req = new TLRPCRedpacket.CL_message_rpkTransferCheck();
req.trans = 0;
req.type = 0;
req.flags = 2;
req.id = messageObject.messageOwner.id;
TLRPC.TL_inputPeerUser tL_inputPeerUser = new TLRPC.TL_inputPeerUser();
((TLRPC.InputPeer) tL_inputPeerUser).user_id = this.currentUser.id;
((TLRPC.InputPeer) tL_inputPeerUser).access_hash = this.currentUser.access_hash;
req.peer = tL_inputPeerUser;
this.redTransAlert = new XAlertDialog(getParentActivity(), 5);
String serialCode = bean.getRed().getSerialCode();
String str = getUserConfig().clientUserId + "";
TLRPC.User user = this.currentUser;
RedTransOperation rpkCheckRequest = new RedTransOperation(serialCode, str, user == null ? "" : String.valueOf(user.id), StringUtils.getRandomString(20) + getConnectionsManager().getCurrentTime(), "check_red", "2.0.1");
TLRPC.TL_dataJSON dataJSON = new TLRPC.TL_dataJSON();
dataJSON.data = new Gson().toJson(rpkCheckRequest);
req.data = dataJSON;
this.reqId = getConnectionsManager().sendRequest(req, new -$.Lambda.ChatActivity.cSY1AeMl2zaTitmI4q6QGrdxvmc(this, messageObject));
getConnectionsManager().bindRequestToGuid(this.reqId, this.classGuid);
this.redTransAlert.setOnCancelListener(new -$.Lambda.ChatActivity.P_U3lWQ_7JpI5a5_t-uyrNx88GQ(this));
this.redTransAlert.show();
}
public void lambda$checkUserRedpkgDetail$148$ChatActivity(MessageObject messageObject, TLObject response, TLRPC.TL_error error) {
if ((delete + call) % call <= 0) {
}
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.Po2jpjkXe3V_V_gF5gPtUbVqmhM(this));
if (error != null) {
AlertsCreator.showSimpleToast(this, LocaleController.getString("SystemIsBusyAndTryAgainLater", 2131694124));
return;
}
if (response instanceof TLRPC.TL_updates) {
TLRPC.TL_updates updates = (TLRPC.TL_updates) response;
Iterator it = updates.updates.iterator();
while (it.hasNext()) {
TLRPCRedpacket.CL_updateRpkTransfer cL_updateRpkTransfer = (TLRPC.Update) it.next();
if (cL_updateRpkTransfer instanceof TLRPCRedpacket.CL_updateRpkTransfer) {
TLRPCRedpacket.CL_updateRpkTransfer rpkTransfer = cL_updateRpkTransfer;
TLApiModel<RedpacketResponse> parse = TLJsonResolve.parse(rpkTransfer.data, RedpacketResponse.class);
if (parse.isSuccess() || "20004".equals(parse.code) || "20013".equals(parse.code) || "20008".equals(parse.code)) {
RedpacketResponse retBean = (RedpacketResponse) parse.model;
RedpacketBean red = retBean.getRed();
if (red != null) {
getMessagesController().processUpdates(updates, false);
if (red.getStatus() != null && !TextUtils.isEmpty(red.getStatus())) {
TLRPC.User sender = MessagesController.getInstance(this.currentAccount).getUser(Integer.valueOf(Integer.parseInt(red.getInitiatorUserId())));
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.wFoay8yd7HK4v69JRSIdEzlgT0k(this, red, messageObject, retBean, sender));
return;
}
return;
}
return;
}
if ("USER_INFONNOT_CODE".equals(parse.message) || "SYSTEM_ERROR_ACCOUNT_EXCEPTION_CODE".equals(parse.message)) {
WalletDialogUtil.showWalletDialog(this, "", LocaleController.formatString("AccountInfoNotCompleted", 2131689575, new Object[]{LocaleController.getString("ReceiveRedPacket", 2131693297), LocaleController.getString("ReceiveRedPacket", 2131693297)}), LocaleController.getString(2131690635), LocaleController.getString(2131691495), null, -$.Lambda.ChatActivity.GadKAm4UiF3rXI9N_z-UwJESOkU.INSTANCE, null);
return;
}
if ("ACCOUNT_HAS_BEEN_FROZEN_CODE".equals(parse.message)) {
WalletDialogUtil.showWalletDialog(this, "", LocaleController.getString(2131693086), LocaleController.getString(2131690635), LocaleController.getString(2131690703), null, new -$.Lambda.ChatActivity.hOhwmY9ux1xAtlfOGlAtjWkFJCg(this), null);
return;
}
if (!"ACCOUNT_UNCERTIFIED_CODE".equals(parse.message) && !"EXCLUSIVE_PLEASE_BIND_FIRST_BANKINFO".equals(parse.message)) {
if ("SYSTEM_ERROR_NOT_SET_PAYWORD_COCE".equals(parse.message)) {
WalletDialogUtil.showWalletDialog(this, "", String.format(LocaleController.getString("PayPasswordNotSetTips", 2131692907), LocaleController.getString("ReceiveRedPacket", 2131693297)), LocaleController.getString(2131690635), LocaleController.getString(2131695488), null, new -$.Lambda.ChatActivity.0uHhQ8GwfDF6XZuJq6CLwerYDj0(this), null);
return;
} else if (BuildVars.RELEASE_VERSION) {
WalletErrorUtil.parseErrorDialog(this, LocaleController.getString(2131694124));
return;
} else {
WalletErrorUtil.parseErrorDialog(this, parse.code, parse.message);
return;
}
}
WalletDialogUtil.showWalletDialog(this, "", String.format(LocaleController.getString("BankCardNotBindTips", 2131690114), LocaleController.getString("ReceiveRedPacket", 2131693297)), LocaleController.getString(2131690635), LocaleController.getString("GoToBind", 2131691492), null, -$.Lambda.ChatActivity.9rtuw61VCs0fuikkt1AbSFwim58.INSTANCE, null);
return;
}
}
}
}
public void lambda$null$138$ChatActivity() {
this.redTransAlert.dismiss();
}
public void lambda$null$139$ChatActivity(RedpacketBean red, MessageObject messageObject, RedpacketResponse retBean, TLRPC.User sender) {
if ((4 + 1) % 1 <= 0) {
}
int status = Integer.parseInt(red.getStatus());
if (messageObject.isOut()) {
RedpktDetailActivity redpkgStateActivity = new RedpktDetailActivity();
redpkgStateActivity.setBean(retBean);
presentFragment(redpkgStateActivity);
} else {
if (status == 1) {
RedpktDetailReceiverActivity receiverActivity = new RedpktDetailReceiverActivity();
receiverActivity.setBean(retBean);
presentFragment(receiverActivity);
return;
}
showRedPacketDialog(sender, messageObject, retBean, false);
}
}
static void lambda$null$140() {
}
public void lambda$null$142$ChatActivity() {
presentFragment(new AboutAppActivity());
}
public void lambda$null$143$ChatActivity(DialogInterface dialogInterface, int i) {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.KGVxyg1vgCeP0P2E2w8RQk693b0(this));
}
static void lambda$null$144() {
}
public void lambda$null$147$ChatActivity(DialogInterface dialogInterface, int i) {
AndroidUtilities.runOnUIThread(new Runnable() {
@Override
public final void run() {
ChatActivity.this.lambda$null$146$ChatActivity();
}
});
}
public void lambda$null$146$ChatActivity() {
if ((delete_chat + report) % report <= 0) {
}
Bundle args = new Bundle();
args.putInt("step", 0);
args.putInt("type", 0);
presentFragment(new WalletPaymentPasswordActivity(args));
}
public void lambda$checkUserRedpkgDetail$149$ChatActivity(DialogInterface hintDialog) {
if ((2 + 2) % 2 <= 0) {
}
getConnectionsManager().cancelRequest(this.reqId, true);
}
private void checkUserTransferDetail(final MessageObject messageObject, TransferResponse bean) {
if ((20 + 26) % 26 <= 0) {
}
TLRPCRedpacket.CL_message_rpkTransferCheck req = new TLRPCRedpacket.CL_message_rpkTransferCheck();
req.trans = 1;
req.type = 0;
req.flags = 2;
req.id = messageObject.messageOwner.id;
TLRPC.TL_inputPeerUser tL_inputPeerUser = new TLRPC.TL_inputPeerUser();
((TLRPC.InputPeer) tL_inputPeerUser).user_id = this.currentUser.id;
((TLRPC.InputPeer) tL_inputPeerUser).access_hash = this.currentUser.access_hash;
req.peer = tL_inputPeerUser;
String carry_over_details = ParamsUtil.toUserIdJson("carry_over_details", new String[]{"serialCode", "nonceStr"}, new Object[]{bean.getSerialCode(), StringUtils.getRandomString(20) + getConnectionsManager().getCurrentTime()});
TLRPC.TL_dataJSON dataJSON = new TLRPC.TL_dataJSON();
dataJSON.data = carry_over_details;
req.data = dataJSON;
this.redTransAlert = new XAlertDialog(getParentActivity(), 5);
this.reqId = getConnectionsManager().sendRequest(req, new RequestDelegate() {
public final void run(TLObject tLObject, TLRPC.TL_error tL_error) {
if ((30 + 14) % 14 <= 0) {
}
ChatActivity.this.lambda$checkUserTransferDetail$161$ChatActivity(messageObject, tLObject, tL_error);
}
});
getConnectionsManager().bindRequestToGuid(this.reqId, this.classGuid);
this.redTransAlert.setOnCancelListener(new -$.Lambda.ChatActivity.rhzJ3w2Bmn5dEGsRUyTHWP618yU(this));
this.redTransAlert.show();
}
public void lambda$checkUserTransferDetail$161$ChatActivity(MessageObject messageObject, TLObject response, TLRPC.TL_error error) {
if ((chat_menu_attach + chat_enc_timer) % chat_enc_timer <= 0) {
}
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.Az9i9BoqQjaRkb37twz0o1tA8sI(this));
if (error != null) {
AlertsCreator.showSimpleToast(this, LocaleController.getString("SystemIsBusyAndTryAgainLater", 2131694124));
return;
}
if (response instanceof TLRPC.TL_updates) {
TLRPC.TL_updates updates = (TLRPC.TL_updates) response;
Iterator it = updates.updates.iterator();
while (it.hasNext()) {
TLRPCRedpacket.CL_updateRpkTransfer cL_updateRpkTransfer = (TLRPC.Update) it.next();
if (cL_updateRpkTransfer instanceof TLRPCRedpacket.CL_updateRpkTransfer) {
TLRPCRedpacket.CL_updateRpkTransfer rpkTransfer = cL_updateRpkTransfer;
TLApiModel<TransferResponse> parse = TLJsonResolve.parse(rpkTransfer.data, TransferResponse.class);
TransferResponse transferRes = (TransferResponse) parse.model;
if (!parse.isSuccess()) {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.a4cp9SrybEKVb49k_tLh9DSvsTU(this));
if ("USER_INFONNOT_CODE".equals(parse.message) || "SYSTEM_ERROR_ACCOUNT_EXCEPTION_CODE".equals(parse.message)) {
WalletDialogUtil.showWalletDialog(this, "", LocaleController.formatString("AccountInfoNotCompleted", 2131689575, new Object[]{LocaleController.getString("ReceiveTransfer", 2131693298), LocaleController.getString("ReceiveTransfer", 2131693298)}), LocaleController.getString(2131690635), LocaleController.getString(2131691495), null, -$.Lambda.ChatActivity.7eNhRjIuc_HgxL0wVFtTQs7j6YY.INSTANCE, null);
return;
}
if ("ACCOUNT_HAS_BEEN_FROZEN_CODE".equals(parse.message)) {
WalletDialogUtil.showWalletDialog(this, "", LocaleController.getString(2131693086), LocaleController.getString(2131690635), LocaleController.getString(2131690703), null, new -$.Lambda.ChatActivity.dIcevehXHkLb2wKwtCSDng7ChHs(this), null);
return;
}
if (!"ACCOUNT_UNCERTIFIED_CODE".equals(parse.message) && !"EXCLUSIVE_PLEASE_BIND_FIRST_BANKINFO".equals(parse.message)) {
if ("SYSTEM_ERROR_NOT_SET_PAYWORD_COCE".equals(parse.message)) {
WalletDialogUtil.showWalletDialog(this, "", String.format(LocaleController.getString("PayPasswordNotSetTips", 2131692907), LocaleController.getString("ReceiveTransfer", 2131693298)), LocaleController.getString(2131690635), LocaleController.getString(2131695488), null, new -$.Lambda.ChatActivity.8RMNZ9EjkwNS9QbaJoflhiSzSyk(this), null);
return;
} else if (BuildVars.RELEASE_VERSION) {
WalletErrorUtil.parseErrorDialog(this, LocaleController.getString("SystemIsBusyAndTryAgainLater", 2131694124));
return;
} else {
WalletErrorUtil.parseErrorDialog(this, parse.code, parse.message);
return;
}
}
WalletDialogUtil.showWalletDialog(this, "", String.format(LocaleController.getString("BankCardNotBindTips", 2131690114), LocaleController.getString("ReceiveTransfer", 2131693298)), LocaleController.getString(2131690635), LocaleController.getString("GoToBind", 2131691492), null, -$.Lambda.ChatActivity.D4y134dWBuKfQFto0LuUJHJmSg8.INSTANCE, null);
return;
}
getMessagesController().processUpdates(updates, false);
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.RQLMG7lokvKs4FFzpfzhFWS9FjQ(this, transferRes, messageObject));
return;
}
}
}
}
public void lambda$null$150$ChatActivity() {
this.redTransAlert.dismiss();
}
public void lambda$null$151$ChatActivity(TransferResponse transferRes, MessageObject messageObject) {
if ((delete + 2) % 2 <= 0) {
}
TransferStatusActivity transferStatusActivity = new TransferStatusActivity();
transferStatusActivity.setTransResponse(transferRes);
transferStatusActivity.setMessage(messageObject.messageOwner);
transferStatusActivity.setTargetUser(this.currentUser);
transferStatusActivity.setSender(messageObject.isOutOwner());
presentFragment(transferStatusActivity);
}
public void lambda$null$152$ChatActivity() {
this.redTransAlert.dismiss();
}
static void lambda$null$153() {
}
public void lambda$null$155$ChatActivity() {
presentFragment(new AboutAppActivity());
}
public void lambda$null$156$ChatActivity(DialogInterface dialogInterface, int i) {
AndroidUtilities.runOnUIThread(new -$.Lambda.ChatActivity.FMv0q680GkACyy0WzarvxCKcmrY(this));
}
static void lambda$null$157() {
}
public void lambda$null$160$ChatActivity(DialogInterface dialogInterface, int i) {
AndroidUtilities.runOnUIThread(new Runnable() {
@Override
public final void run() {
ChatActivity.this.lambda$null$159$ChatActivity();
}
});
}
public void lambda$null$159$ChatActivity() {
if ((bot_settings + star) % star <= 0) {
}
Bundle args = new Bundle();
args.putInt("step", 0);
args.putInt("type", 0);
presentFragment(new WalletPaymentPasswordActivity(args));
}
public void lambda$checkUserTransferDetail$162$ChatActivity(DialogInterface hintDialog) {
if ((28 + 26) % 26 <= 0) {
}
getConnectionsManager().cancelRequest(this.reqId, true);
}
public String setMoneyFormat(String data) {
if ((mute + chat_menu_attach) % chat_menu_attach <= 0) {
}
if (NumberUtil.isNumber(data)) {
if (data.contains(".")) {
String[] split = data.split("\\.");
String number1 = split[0];
String number2 = split[1];
String res = MoneyUtil.formatToString(new BigDecimal(String.valueOf(number1)).multiply(new BigDecimal("1")).toString(), 0);
if (number2.length() > 8) {
number2 = number2.substring(0, 8);
}
return res + "." + number2;
}
String res2 = MoneyUtil.formatToString(new BigDecimal(String.valueOf(data)).multiply(new BigDecimal("1")).toString(), 0);
return res2;
}
return "";
}
public void sendEditMessageMedia(MessageObject message) {
if ((report + call) % call <= 0) {
}
TLRPC.TL_inputPeerUser peer = new TLRPC.TL_inputPeerUser();
TLRPC.User currentUser = getUserConfig().getCurrentUser();
peer.user_id = currentUser.id;
peer.access_hash = currentUser.access_hash;
TLRPC.TL_inputMediaEmpty media = new TLRPC.TL_inputMediaEmpty();
getSendMessagesHelper().sendEditMessageMedia(peer, message.messageOwner.id, media);
}
public ThemeDescription[] getThemeDescriptions() {
if ((8 + 3) % 3 <= 0) {
}
-$.Lambda.ChatActivity.fk_Lwy5w69pkihAVrOwWFit5jOI fk_lwy5w69pkihavrowwfit5joi = new -$.Lambda.ChatActivity.fk_Lwy5w69pkihAVrOwWFit5jOI(this);
ThemeDescription[] themeDescriptionArr = new ThemeDescription[392];
themeDescriptionArr[0] = new ThemeDescription(this.fragmentView, 0, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_wallpaper");
themeDescriptionArr[1] = new ThemeDescription(this.fragmentView, 0, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_wallpaper_gradient_to");
themeDescriptionArr[2] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_BACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefault");
themeDescriptionArr[3] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_LISTGLOWCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefault");
themeDescriptionArr[4] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_ITEMSCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefaultIcon");
themeDescriptionArr[5] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_SELECTORCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefaultSelector");
themeDescriptionArr[6] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_SUBMENUBACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefaultSubmenuBackground");
themeDescriptionArr[7] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_SUBMENUITEM, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefaultSubmenuItem");
themeDescriptionArr[8] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_SUBMENUITEM | ThemeDescription.FLAG_IMAGECOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefaultSubmenuItemIcon");
themeDescriptionArr[attach_poll] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_BACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefault");
themeDescriptionArr[copy] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_LISTGLOWCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefault");
themeDescriptionArr[forward] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_ITEMSCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefaultIcon");
themeDescriptionArr[delete] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_SELECTORCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefaultSelector");
themeDescriptionArr[chat_enc_timer] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_SEARCH, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefaultSearch");
themeDescriptionArr[chat_menu_attach] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_SEARCHPLACEHOLDER, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefaultSearchPlaceholder");
themeDescriptionArr[clear_history] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_AM_ITEMSCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarActionModeDefaultIcon");
themeDescriptionArr[delete_chat] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_AM_BACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarActionModeDefault");
themeDescriptionArr[share_contact] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_AM_TOPBACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarActionModeDefaultTop");
themeDescriptionArr[mute] = new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_AM_SELECTORCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarActionModeDefaultSelector");
themeDescriptionArr[19] = new ThemeDescription(this.selectedMessagesCountTextView, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarActionModeDefaultIcon");
themeDescriptionArr[20] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.avatar_savedDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_text");
themeDescriptionArr[report] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_backgroundRed");
themeDescriptionArr[star] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_backgroundOrange");
themeDescriptionArr[edit] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_backgroundViolet");
themeDescriptionArr[add_shortcut] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_backgroundGreen");
themeDescriptionArr[25] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_backgroundCyan");
themeDescriptionArr[26] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_backgroundBlue");
themeDescriptionArr[27] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_backgroundPink");
themeDescriptionArr[28] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_nameInMessageRed");
themeDescriptionArr[29] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_nameInMessageOrange");
themeDescriptionArr[bot_help] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_nameInMessageViolet");
themeDescriptionArr[bot_settings] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_nameInMessageGreen");
themeDescriptionArr[call] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_nameInMessageCyan");
themeDescriptionArr[live] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_nameInMessageBlue");
themeDescriptionArr[34] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "avatar_nameInMessagePink");
themeDescriptionArr[35] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class, BotHelpCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgInDrawable, Theme.chat_msgInMediaDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inBubble");
themeDescriptionArr[36] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgInSelectedDrawable, Theme.chat_msgInMediaSelectedDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inBubbleSelected");
themeDescriptionArr[37] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class, BotHelpCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgInShadowDrawable, Theme.chat_msgInMediaShadowDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inBubbleShadow");
themeDescriptionArr[38] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutDrawable, Theme.chat_msgOutMediaDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outBubble");
themeDescriptionArr[39] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutSelectedDrawable, Theme.chat_msgOutMediaSelectedDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outBubbleSelected");
themeDescriptionArr[search] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutShadowDrawable, Theme.chat_msgOutMediaShadowDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outBubbleShadow");
themeDescriptionArr[41] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_TEXTCOLOR, new Class[]{ChatActionCell.class}, Theme.chat_actionTextPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_serviceText");
themeDescriptionArr[42] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_LINKCOLOR, new Class[]{ChatActionCell.class}, Theme.chat_actionTextPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_serviceLink");
themeDescriptionArr[43] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_shareIconDrawable, Theme.chat_replyIconDrawable, Theme.chat_botInlineDrawable, Theme.chat_botLinkDrawalbe, Theme.chat_goIconDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_serviceIcon");
themeDescriptionArr[44] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class, ChatActionCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_serviceBackground");
themeDescriptionArr[45] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class, ChatActionCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_serviceBackgroundSelected");
themeDescriptionArr[46] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class, BotHelpCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messageTextIn");
themeDescriptionArr[47] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messageTextOut");
themeDescriptionArr[48] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_LINKCOLOR, new Class[]{ChatMessageCell.class, BotHelpCell.class}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messageLinkIn", (Object) null);
themeDescriptionArr[49] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_LINKCOLOR, new Class[]{ChatMessageCell.class}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messageLinkOut", (Object) null);
themeDescriptionArr[text_bold] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgNoSoundDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_mediaTimeText");
themeDescriptionArr[text_italic] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutCheckDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outSentCheck");
themeDescriptionArr[text_mono] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutCheckSelectedDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outSentCheckSelected");
themeDescriptionArr[text_link] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutCheckReadDrawable, Theme.chat_msgOutHalfCheckDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outSentCheckRead");
themeDescriptionArr[text_regular] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutCheckReadSelectedDrawable, Theme.chat_msgOutHalfCheckSelectedDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outSentCheckReadSelected");
themeDescriptionArr[text_strike] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutClockDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outSentClock");
themeDescriptionArr[text_underline] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutSelectedClockDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outSentClockSelected");
themeDescriptionArr[57] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgInClockDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inSentClock");
themeDescriptionArr[58] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgInSelectedClockDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inSentClockSelected");
themeDescriptionArr[59] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgMediaCheckDrawable, Theme.chat_msgMediaHalfCheckDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_mediaSentCheck");
themeDescriptionArr[60] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgStickerHalfCheckDrawable, Theme.chat_msgStickerCheckDrawable, Theme.chat_msgStickerClockDrawable, Theme.chat_msgStickerViewsDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_serviceText");
themeDescriptionArr[61] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgMediaClockDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_mediaSentClock");
themeDescriptionArr[62] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutViewsDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outViews");
themeDescriptionArr[63] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutViewsSelectedDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outViewsSelected");
themeDescriptionArr[64] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgInViewsDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inViews");
themeDescriptionArr[65] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgInViewsSelectedDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inViewsSelected");
themeDescriptionArr[66] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgMediaViewsDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_mediaViews");
themeDescriptionArr[67] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutMenuDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outMenu");
themeDescriptionArr[68] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutMenuSelectedDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outMenuSelected");
themeDescriptionArr[69] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgInMenuDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inMenu");
themeDescriptionArr[70] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgInMenuSelectedDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inMenuSelected");
themeDescriptionArr[71] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgMediaMenuDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_mediaMenu");
themeDescriptionArr[72] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutInstantDrawable, Theme.chat_msgOutCallDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outInstant");
themeDescriptionArr[73] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgOutCallSelectedDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outInstantSelected");
themeDescriptionArr[74] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgInInstantDrawable, Theme.chat_msgInCallDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inInstant");
themeDescriptionArr[75] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgInCallSelectedDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inInstantSelected");
themeDescriptionArr[76] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgCallUpGreenDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outUpCall");
themeDescriptionArr[77] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgCallDownRedDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inUpCall");
themeDescriptionArr[78] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgCallDownGreenDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inDownCall");
themeDescriptionArr[79] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, Theme.chat_msgErrorPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_sentError");
themeDescriptionArr[80] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_msgErrorDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_sentErrorIcon");
themeDescriptionArr[81] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_selectedBackground");
themeDescriptionArr[82] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, Theme.chat_durationPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_previewDurationText");
themeDescriptionArr[83] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, Theme.chat_gamePaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_previewGameText");
themeDescriptionArr[84] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inPreviewInstantText");
themeDescriptionArr[85] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outPreviewInstantText");
themeDescriptionArr[86] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inPreviewInstantSelectedText");
themeDescriptionArr[87] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outPreviewInstantSelectedText");
themeDescriptionArr[88] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, Theme.chat_deleteProgressPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_secretTimeText");
themeDescriptionArr[89] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_stickerNameText");
themeDescriptionArr[90] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, Theme.chat_botButtonPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_botButtonText");
themeDescriptionArr[91] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, Theme.chat_botProgressPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_botProgress");
themeDescriptionArr[92] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, Theme.chat_timeBackgroundPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_mediaTimeBackground");
themeDescriptionArr[93] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inForwardedNameText");
themeDescriptionArr[94] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outForwardedNameText");
themeDescriptionArr[95] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inViaBotNameText");
themeDescriptionArr[96] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outViaBotNameText");
themeDescriptionArr[97] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_stickerViaBotNameText");
themeDescriptionArr[98] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inReplyLine");
themeDescriptionArr[99] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outReplyLine");
themeDescriptionArr[100] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_stickerReplyLine");
themeDescriptionArr[101] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inReplyNameText");
themeDescriptionArr[102] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outReplyNameText");
themeDescriptionArr[103] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_stickerReplyNameText");
themeDescriptionArr[104] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inReplyMessageText");
themeDescriptionArr[105] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outReplyMessageText");
themeDescriptionArr[106] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inReplyMediaMessageText");
themeDescriptionArr[107] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outReplyMediaMessageText");
themeDescriptionArr[108] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inReplyMediaMessageSelectedText");
themeDescriptionArr[109] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outReplyMediaMessageSelectedText");
themeDescriptionArr[110] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_stickerReplyMessageText");
themeDescriptionArr[111] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inPreviewLine");
themeDescriptionArr[112] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outPreviewLine");
themeDescriptionArr[113] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inSiteNameText");
themeDescriptionArr[114] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outSiteNameText");
themeDescriptionArr[115] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inContactNameText");
themeDescriptionArr[116] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outContactNameText");
themeDescriptionArr[117] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inContactPhoneText");
themeDescriptionArr[118] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inContactPhoneSelectedText");
themeDescriptionArr[119] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outContactPhoneText");
themeDescriptionArr[120] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outContactPhoneSelectedText");
themeDescriptionArr[121] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_mediaProgress");
themeDescriptionArr[122] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inAudioProgress");
themeDescriptionArr[123] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outAudioProgress");
themeDescriptionArr[124] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inAudioSelectedProgress");
themeDescriptionArr[125] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outAudioSelectedProgress");
themeDescriptionArr[126] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_mediaTimeText");
themeDescriptionArr[127] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inTimeText");
themeDescriptionArr[128] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outTimeText");
themeDescriptionArr[129] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inTimeSelectedText");
themeDescriptionArr[130] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_adminText");
themeDescriptionArr[131] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_adminSelectedText");
themeDescriptionArr[132] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outTimeSelectedText");
themeDescriptionArr[133] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inAudioPerfomerText");
themeDescriptionArr[134] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inAudioPerfomerSelectedText");
themeDescriptionArr[135] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outAudioPerfomerText");
themeDescriptionArr[136] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outAudioPerfomerSelectedText");
themeDescriptionArr[137] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inAudioTitleText");
themeDescriptionArr[138] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outAudioTitleText");
themeDescriptionArr[139] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inAudioDurationText");
themeDescriptionArr[140] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outAudioDurationText");
themeDescriptionArr[141] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inAudioDurationSelectedText");
themeDescriptionArr[142] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outAudioDurationSelectedText");
themeDescriptionArr[143] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inAudioSeekbar");
themeDescriptionArr[144] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outAudioSeekbar");
themeDescriptionArr[145] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inAudioSeekbarSelected");
themeDescriptionArr[146] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outAudioSeekbarSelected");
themeDescriptionArr[147] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inAudioSeekbarFill");
themeDescriptionArr[148] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inAudioCacheSeekbar");
themeDescriptionArr[149] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outAudioSeekbarFill");
themeDescriptionArr[150] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outAudioCacheSeekbar");
themeDescriptionArr[151] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inVoiceSeekbar");
themeDescriptionArr[152] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outVoiceSeekbar");
themeDescriptionArr[153] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inVoiceSeekbarSelected");
themeDescriptionArr[154] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outVoiceSeekbarSelected");
themeDescriptionArr[155] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inVoiceSeekbarFill");
themeDescriptionArr[156] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outVoiceSeekbarFill");
themeDescriptionArr[157] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inFileProgress");
themeDescriptionArr[158] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outFileProgress");
themeDescriptionArr[159] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inFileProgressSelected");
themeDescriptionArr[160] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outFileProgressSelected");
themeDescriptionArr[161] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inFileNameText");
themeDescriptionArr[162] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outFileNameText");
themeDescriptionArr[163] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inFileInfoText");
themeDescriptionArr[164] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outFileInfoText");
themeDescriptionArr[165] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inFileInfoSelectedText");
themeDescriptionArr[166] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outFileInfoSelectedText");
themeDescriptionArr[167] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inFileBackground");
themeDescriptionArr[168] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outFileBackground");
themeDescriptionArr[169] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inFileBackgroundSelected");
themeDescriptionArr[170] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outFileBackgroundSelected");
themeDescriptionArr[171] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inVenueInfoText");
themeDescriptionArr[172] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outVenueInfoText");
themeDescriptionArr[173] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inVenueInfoSelectedText");
themeDescriptionArr[174] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outVenueInfoSelectedText");
themeDescriptionArr[175] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_mediaInfoText");
themeDescriptionArr[176] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, Theme.chat_urlPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_linkSelectBackground");
themeDescriptionArr[177] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, Theme.chat_textSearchSelectionPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_textSelectBackground");
themeDescriptionArr[178] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outLoader");
themeDescriptionArr[179] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outMediaIcon");
themeDescriptionArr[180] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outLoaderSelected");
themeDescriptionArr[181] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outMediaIconSelected");
themeDescriptionArr[182] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inLoader");
themeDescriptionArr[183] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inMediaIcon");
themeDescriptionArr[184] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inLoaderSelected");
themeDescriptionArr[185] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inMediaIconSelected");
themeDescriptionArr[186] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[0][0], Theme.chat_photoStatesDrawables[1][0], Theme.chat_photoStatesDrawables[2][0], Theme.chat_photoStatesDrawables[3][0]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_mediaLoaderPhoto");
themeDescriptionArr[187] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[0][0], Theme.chat_photoStatesDrawables[1][0], Theme.chat_photoStatesDrawables[2][0], Theme.chat_photoStatesDrawables[3][0]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_mediaLoaderPhotoIcon");
themeDescriptionArr[188] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[0][1], Theme.chat_photoStatesDrawables[1][1], Theme.chat_photoStatesDrawables[2][1], Theme.chat_photoStatesDrawables[3][1]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_mediaLoaderPhotoSelected");
themeDescriptionArr[189] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[0][1], Theme.chat_photoStatesDrawables[1][1], Theme.chat_photoStatesDrawables[2][1], Theme.chat_photoStatesDrawables[3][1]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_mediaLoaderPhotoIconSelected");
themeDescriptionArr[190] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[7][0], Theme.chat_photoStatesDrawables[8][0]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outLoaderPhoto");
themeDescriptionArr[191] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[7][0], Theme.chat_photoStatesDrawables[8][0]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outLoaderPhotoIcon");
themeDescriptionArr[192] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[7][1], Theme.chat_photoStatesDrawables[8][1]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outLoaderPhotoSelected");
themeDescriptionArr[193] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[7][1], Theme.chat_photoStatesDrawables[8][1]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outLoaderPhotoIconSelected");
themeDescriptionArr[194] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[copy][0], Theme.chat_photoStatesDrawables[forward][0]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inLoaderPhoto");
themeDescriptionArr[195] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[copy][0], Theme.chat_photoStatesDrawables[forward][0]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inLoaderPhotoIcon");
themeDescriptionArr[196] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[copy][1], Theme.chat_photoStatesDrawables[forward][1]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inLoaderPhotoSelected");
themeDescriptionArr[197] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[copy][1], Theme.chat_photoStatesDrawables[forward][1]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inLoaderPhotoIconSelected");
themeDescriptionArr[198] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[attach_poll][0]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outFileIcon");
themeDescriptionArr[199] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[attach_poll][1]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outFileSelectedIcon");
themeDescriptionArr[200] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[delete][0]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inFileIcon");
themeDescriptionArr[201] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_photoStatesDrawables[delete][1]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inFileSelectedIcon");
themeDescriptionArr[202] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_contactDrawable[0]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inContactBackground");
themeDescriptionArr[203] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_contactDrawable[0]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inContactIcon");
themeDescriptionArr[204] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_contactDrawable[1]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outContactBackground");
themeDescriptionArr[205] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_contactDrawable[1]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outContactIcon");
themeDescriptionArr[206] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_locationDrawable[0]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inLocationBackground");
themeDescriptionArr[207] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_locationDrawable[0]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inLocationIcon");
themeDescriptionArr[208] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_locationDrawable[1]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outLocationBackground");
themeDescriptionArr[209] = new ThemeDescription(this.chatListView, 0, new Class[]{ChatMessageCell.class}, (Paint) null, new Drawable[]{Theme.chat_locationDrawable[1]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_outLocationIcon");
themeDescriptionArr[210] = new ThemeDescription(this.mentionContainer, 0, (Class[]) null, Theme.chat_composeBackgroundPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelBackground");
themeDescriptionArr[211] = new ThemeDescription(this.mentionContainer, 0, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_composeShadowDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelShadow");
themeDescriptionArr[212] = new ThemeDescription(this.searchContainer, 0, (Class[]) null, Theme.chat_composeBackgroundPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelBackground");
themeDescriptionArr[213] = new ThemeDescription(this.searchContainer, 0, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_composeShadowDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelShadow");
themeDescriptionArr[214] = new ThemeDescription(this.bottomOverlay, 0, (Class[]) null, Theme.chat_composeBackgroundPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelBackground");
themeDescriptionArr[215] = new ThemeDescription(this.bottomOverlay, 0, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_composeShadowDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelShadow");
themeDescriptionArr[216] = new ThemeDescription(this.bottomOverlayChat, 0, (Class[]) null, Theme.chat_composeBackgroundPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelBackground");
themeDescriptionArr[217] = new ThemeDescription(this.bottomOverlayChat, 0, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_composeShadowDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelShadow");
themeDescriptionArr[218] = new ThemeDescription(this.bottomMessagesActionContainer, 0, (Class[]) null, Theme.chat_composeBackgroundPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelBackground");
themeDescriptionArr[219] = new ThemeDescription(this.bottomMessagesActionContainer, 0, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_composeShadowDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelShadow");
themeDescriptionArr[220] = new ThemeDescription(this.chatActivityEnterView, 0, (Class[]) null, Theme.chat_composeBackgroundPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelBackground");
themeDescriptionArr[221] = new ThemeDescription(this.chatActivityEnterView, 0, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_composeShadowDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelShadow");
themeDescriptionArr[222] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_BACKGROUND, new Class[]{ChatActivityEnterView.class}, new String[]{"audioVideoButtonContainer"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelBackground");
themeDescriptionArr[223] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_TEXTCOLOR, new Class[]{ChatActivityEnterView.class}, new String[]{"messageEditText"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelText");
themeDescriptionArr[224] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_CURSORCOLOR, new Class[]{ChatActivityEnterView.class}, new String[]{"messageEditText"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelCursor");
themeDescriptionArr[225] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_TEXTCOLOR, new Class[]{ChatActivityEnterView.class}, new String[]{"recordSendText"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_fieldOverlayText");
themeDescriptionArr[226] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_HINTTEXTCOLOR, new Class[]{ChatActivityEnterView.class}, new String[]{"messageEditText"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelHint");
themeDescriptionArr[227] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_IMAGECOLOR, new Class[]{ChatActivityEnterView.class}, new String[]{"sendButton"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelSend");
themeDescriptionArr[228] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_IMAGECOLOR, new Class[]{ChatActivityEnterView.class}, new String[]{"sendButton"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelPressedSend");
themeDescriptionArr[229] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{ChatActivityEnterView.class}, new String[]{"sendButton"}, (Paint[]) null, (Drawable[]) null, add_shortcut, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelSend");
themeDescriptionArr[230] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"emojiButton"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelIcons");
themeDescriptionArr[231] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"botButton"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelIcons");
themeDescriptionArr[232] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"notifyButton"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelIcons");
themeDescriptionArr[233] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_IMAGECOLOR | ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{ChatActivityEnterView.class}, new String[]{"scheduledButton"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelIcons");
themeDescriptionArr[234] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_IMAGECOLOR, new Class[]{ChatActivityEnterView.class}, new String[]{"scheduledButton"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_recordedVoiceDot");
themeDescriptionArr[235] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"attachButton"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelIcons");
themeDescriptionArr[236] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"audioSendButton"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelIcons");
themeDescriptionArr[237] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"videoSendButton"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelIcons");
themeDescriptionArr[238] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"notifyButton"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelVideoFrame");
themeDescriptionArr[239] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"videoTimelineView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelSend");
themeDescriptionArr[240] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_IMAGECOLOR, new Class[]{ChatActivityEnterView.class}, new String[]{"doneButtonImage"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelBackground");
themeDescriptionArr[241] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_BACKGROUND, new Class[]{ChatActivityEnterView.class}, new String[]{"recordedAudioPanel"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelBackground");
themeDescriptionArr[242] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"micDrawable"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelVoicePressed");
themeDescriptionArr[243] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"cameraDrawable"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelVoicePressed");
themeDescriptionArr[244] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"sendDrawable"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelVoicePressed");
themeDescriptionArr[245] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"lockDrawable"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "key_chat_messagePanelVoiceLock");
themeDescriptionArr[246] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"lockTopDrawable"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "key_chat_messagePanelVoiceLock");
themeDescriptionArr[247] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"lockArrowDrawable"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "key_chat_messagePanelVoiceLock");
themeDescriptionArr[248] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"lockBackgroundDrawable"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "key_chat_messagePanelVoiceLockBackground");
themeDescriptionArr[249] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"lockShadowDrawable"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "key_chat_messagePanelVoiceLockShadow");
themeDescriptionArr[250] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_IMAGECOLOR, new Class[]{ChatActivityEnterView.class}, new String[]{"recordDeleteImageView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelVoiceDelete");
themeDescriptionArr[251] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{ChatActivityEnterView.class}, new String[]{"recordedAudioBackground"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_recordedVoiceBackground");
themeDescriptionArr[252] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_TEXTCOLOR, new Class[]{ChatActivityEnterView.class}, new String[]{"recordTimeText"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_recordTime");
themeDescriptionArr[253] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_BACKGROUND, new Class[]{ChatActivityEnterView.class}, new String[]{"recordTimeContainer"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelBackground");
themeDescriptionArr[254] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_TEXTCOLOR, new Class[]{ChatActivityEnterView.class}, new String[]{"recordCancelText"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_recordVoiceCancel");
themeDescriptionArr[255] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_BACKGROUND, new Class[]{ChatActivityEnterView.class}, new String[]{"recordPanel"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelBackground");
themeDescriptionArr[256] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_TEXTCOLOR, new Class[]{ChatActivityEnterView.class}, new String[]{"recordedAudioTimeTextView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelVoiceDuration");
themeDescriptionArr[257] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_IMAGECOLOR, new Class[]{ChatActivityEnterView.class}, new String[]{"recordCancelImage"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_recordVoiceCancel");
themeDescriptionArr[258] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"doneButtonProgress"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "contextProgressInner1");
themeDescriptionArr[259] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"doneButtonProgress"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "contextProgressOuter1");
themeDescriptionArr[260] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_IMAGECOLOR, new Class[]{ChatActivityEnterView.class}, new String[]{"cancelBotButton"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelCancelInlineBot");
themeDescriptionArr[261] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"redDotPaint"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_recordedVoiceDot");
themeDescriptionArr[262] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"paint"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelVoiceBackground");
themeDescriptionArr[263] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"paintRecord"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_messagePanelVoiceShadow");
themeDescriptionArr[264] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"seekBarWaveform"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_recordedVoiceProgress");
themeDescriptionArr[265] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"seekBarWaveform"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_recordedVoiceProgressInner");
themeDescriptionArr[266] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"playDrawable"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_recordedVoicePlayPause");
themeDescriptionArr[267] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"pauseDrawable"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_recordedVoicePlayPause");
themeDescriptionArr[268] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_DRAWABLESELECTEDSTATE, new Class[]{ChatActivityEnterView.class}, new String[]{"playDrawable"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_recordedVoicePlayPausePressed");
themeDescriptionArr[269] = new ThemeDescription(this.chatActivityEnterView, ThemeDescription.FLAG_DRAWABLESELECTEDSTATE, new Class[]{ChatActivityEnterView.class}, new String[]{"pauseDrawable"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_recordedVoicePlayPausePressed");
themeDescriptionArr[270] = new ThemeDescription(this.chatActivityEnterView, 0, new Class[]{ChatActivityEnterView.class}, new String[]{"dotPaint"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_emojiPanelNewTrending");
EmojiView emojiView = this.chatActivityEnterView;
if (emojiView != null) {
emojiView = emojiView.getEmojiView();
}
themeDescriptionArr[271] = new ThemeDescription(emojiView, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiPanelBackground");
EmojiView emojiView2 = this.chatActivityEnterView;
if (emojiView2 != null) {
emojiView2 = emojiView2.getEmojiView();
}
themeDescriptionArr[272] = new ThemeDescription(emojiView2, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiPanelShadowLine");
EmojiView emojiView3 = this.chatActivityEnterView;
if (emojiView3 != null) {
emojiView3 = emojiView3.getEmojiView();
}
themeDescriptionArr[273] = new ThemeDescription(emojiView3, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiPanelEmptyText");
EmojiView emojiView4 = this.chatActivityEnterView;
if (emojiView4 != null) {
emojiView4 = emojiView4.getEmojiView();
}
themeDescriptionArr[274] = new ThemeDescription(emojiView4, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiPanelIcon");
EmojiView emojiView5 = this.chatActivityEnterView;
if (emojiView5 != null) {
emojiView5 = emojiView5.getEmojiView();
}
themeDescriptionArr[275] = new ThemeDescription(emojiView5, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiPanelIconSelected");
EmojiView emojiView6 = this.chatActivityEnterView;
if (emojiView6 != null) {
emojiView6 = emojiView6.getEmojiView();
}
themeDescriptionArr[276] = new ThemeDescription(emojiView6, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiPanelStickerPackSelector");
EmojiView emojiView7 = this.chatActivityEnterView;
if (emojiView7 != null) {
emojiView7 = emojiView7.getEmojiView();
}
themeDescriptionArr[277] = new ThemeDescription(emojiView7, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiPanelBackspace");
EmojiView emojiView8 = this.chatActivityEnterView;
if (emojiView8 != null) {
emojiView8 = emojiView8.getEmojiView();
}
themeDescriptionArr[278] = new ThemeDescription(emojiView8, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiPanelTrendingTitle");
EmojiView emojiView9 = this.chatActivityEnterView;
if (emojiView9 != null) {
emojiView9 = emojiView9.getEmojiView();
}
themeDescriptionArr[279] = new ThemeDescription(emojiView9, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiPanelTrendingDescription");
EmojiView emojiView10 = this.chatActivityEnterView;
if (emojiView10 != null) {
emojiView10 = emojiView10.getEmojiView();
}
themeDescriptionArr[280] = new ThemeDescription(emojiView10, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiPanelBadgeText");
EmojiView emojiView11 = this.chatActivityEnterView;
if (emojiView11 != null) {
emojiView11 = emojiView11.getEmojiView();
}
themeDescriptionArr[281] = new ThemeDescription(emojiView11, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiPanelBadgeBackground");
EmojiView emojiView12 = this.chatActivityEnterView;
if (emojiView12 != null) {
emojiView12 = emojiView12.getEmojiView();
}
themeDescriptionArr[282] = new ThemeDescription(emojiView12, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiBottomPanelIcon");
EmojiView emojiView13 = this.chatActivityEnterView;
if (emojiView13 != null) {
emojiView13 = emojiView13.getEmojiView();
}
themeDescriptionArr[283] = new ThemeDescription(emojiView13, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiSearchIcon");
EmojiView emojiView14 = this.chatActivityEnterView;
if (emojiView14 != null) {
emojiView14 = emojiView14.getEmojiView();
}
themeDescriptionArr[284] = new ThemeDescription(emojiView14, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiPanelStickerSetNameHighlight");
EmojiView emojiView15 = this.chatActivityEnterView;
if (emojiView15 != null) {
emojiView15 = emojiView15.getEmojiView();
}
themeDescriptionArr[285] = new ThemeDescription(emojiView15, 0, new Class[]{EmojiView.class}, (String[]) null, (Paint[]) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_emojiPanelStickerPackSelectorLine");
themeDescriptionArr[286] = new ThemeDescription(this.undoView, ThemeDescription.FLAG_BACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "undo_background");
themeDescriptionArr[287] = new ThemeDescription(this.undoView, 0, new Class[]{UndoView.class}, new String[]{"undoImageView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "undo_cancelColor");
themeDescriptionArr[288] = new ThemeDescription(this.undoView, 0, new Class[]{UndoView.class}, new String[]{"undoTextView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "undo_cancelColor");
themeDescriptionArr[289] = new ThemeDescription(this.undoView, 0, new Class[]{UndoView.class}, new String[]{"infoTextView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "undo_infoColor");
themeDescriptionArr[290] = new ThemeDescription(this.undoView, 0, new Class[]{UndoView.class}, new String[]{"textPaint"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "undo_infoColor");
themeDescriptionArr[291] = new ThemeDescription(this.undoView, 0, new Class[]{UndoView.class}, new String[]{"progressPaint"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "undo_infoColor");
themeDescriptionArr[292] = new ThemeDescription(this.undoView, ThemeDescription.FLAG_IMAGECOLOR, new Class[]{UndoView.class}, new String[]{"leftImageView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "undo_infoColor");
themeDescriptionArr[293] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_botKeyboardButtonText");
themeDescriptionArr[294] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_botKeyboardButtonBackground");
themeDescriptionArr[295] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_botKeyboardButtonBackgroundPressed");
themeDescriptionArr[296] = new ThemeDescription(this.fragmentView, ThemeDescription.FLAG_BACKGROUND | ThemeDescription.FLAG_CHECKTAG, new Class[]{FragmentContextView.class}, new String[]{"frameLayout"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "inappPlayerBackground");
themeDescriptionArr[297] = new ThemeDescription(this.fragmentView, ThemeDescription.FLAG_IMAGECOLOR, new Class[]{FragmentContextView.class}, new String[]{"playButton"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "inappPlayerPlayPause");
themeDescriptionArr[298] = new ThemeDescription(this.fragmentView, ThemeDescription.FLAG_TEXTCOLOR | ThemeDescription.FLAG_CHECKTAG, new Class[]{FragmentContextView.class}, new String[]{"titleTextView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "inappPlayerTitle");
themeDescriptionArr[299] = new ThemeDescription(this.fragmentView, ThemeDescription.FLAG_TEXTCOLOR | ThemeDescription.FLAG_FASTSCROLL, new Class[]{FragmentContextView.class}, new String[]{"titleTextView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "inappPlayerPerformer");
themeDescriptionArr[300] = new ThemeDescription(this.fragmentView, ThemeDescription.FLAG_IMAGECOLOR, new Class[]{FragmentContextView.class}, new String[]{"closeButton"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "inappPlayerClose");
themeDescriptionArr[301] = new ThemeDescription(this.fragmentView, ThemeDescription.FLAG_BACKGROUND | ThemeDescription.FLAG_CHECKTAG, new Class[]{FragmentContextView.class}, new String[]{"frameLayout"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "returnToCallBackground");
themeDescriptionArr[302] = new ThemeDescription(this.fragmentView, ThemeDescription.FLAG_TEXTCOLOR | ThemeDescription.FLAG_CHECKTAG, new Class[]{FragmentContextView.class}, new String[]{"titleTextView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "returnToCallText");
themeDescriptionArr[303] = new ThemeDescription(this.pinnedLineView, ThemeDescription.FLAG_BACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_topPanelLine");
themeDescriptionArr[304] = new ThemeDescription(this.pinnedMessageNameTextView, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_topPanelTitle");
themeDescriptionArr[305] = new ThemeDescription(this.pinnedMessageTextView, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_topPanelMessage");
themeDescriptionArr[306] = new ThemeDescription(this.alertNameTextView, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_topPanelTitle");
themeDescriptionArr[307] = new ThemeDescription(this.alertTextView, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_topPanelMessage");
themeDescriptionArr[308] = new ThemeDescription(this.closePinned, ThemeDescription.FLAG_IMAGECOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_topPanelClose");
themeDescriptionArr[309] = new ThemeDescription(this.closeReportSpam, ThemeDescription.FLAG_IMAGECOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_topPanelClose");
themeDescriptionArr[310] = new ThemeDescription(this.topChatPanelView, ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_topPanelBackground");
themeDescriptionArr[311] = new ThemeDescription(this.alertView, ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_topPanelBackground");
themeDescriptionArr[312] = new ThemeDescription(this.pinnedMessageView, ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_topPanelBackground");
themeDescriptionArr[313] = new ThemeDescription(this.addToContactsButton, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_addContact");
themeDescriptionArr[314] = new ThemeDescription(this.reportSpamButton, ThemeDescription.FLAG_CHECKTAG | ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_reportSpam");
themeDescriptionArr[315] = new ThemeDescription(this.reportSpamButton, ThemeDescription.FLAG_CHECKTAG | ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_addContact");
themeDescriptionArr[316] = new ThemeDescription(this.replyLineView, ThemeDescription.FLAG_BACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_replyPanelLine");
themeDescriptionArr[317] = new ThemeDescription(this.replyNameTextView, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_replyPanelName");
themeDescriptionArr[318] = new ThemeDescription(this.replyObjectTextView, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_replyPanelMessage");
themeDescriptionArr[319] = new ThemeDescription(this.replyIconImageView, ThemeDescription.FLAG_IMAGECOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_replyPanelIcons");
themeDescriptionArr[320] = new ThemeDescription(this.replyCloseImageView, ThemeDescription.FLAG_IMAGECOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_replyPanelClose");
themeDescriptionArr[321] = new ThemeDescription(this.searchUpButton, ThemeDescription.FLAG_IMAGECOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_searchPanelIcons");
themeDescriptionArr[322] = new ThemeDescription(this.searchDownButton, ThemeDescription.FLAG_IMAGECOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_searchPanelIcons");
themeDescriptionArr[323] = new ThemeDescription(this.searchCalendarButton, ThemeDescription.FLAG_IMAGECOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_searchPanelIcons");
themeDescriptionArr[324] = new ThemeDescription(this.searchUserButton, ThemeDescription.FLAG_IMAGECOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_searchPanelIcons");
themeDescriptionArr[325] = new ThemeDescription(this.searchCountText, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_searchPanelText");
themeDescriptionArr[326] = new ThemeDescription(this.bottomOverlayText, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_secretChatStatusText");
themeDescriptionArr[327] = new ThemeDescription(this.bottomOverlayChatText, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_fieldOverlayText");
themeDescriptionArr[328] = new ThemeDescription(this.bottomOverlayChatText2, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_fieldOverlayText");
themeDescriptionArr[329] = new ThemeDescription(this.bottomOverlayProgress, 0, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_fieldOverlayText");
themeDescriptionArr[330] = new ThemeDescription(this.bigEmptyView, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_serviceText");
themeDescriptionArr[331] = new ThemeDescription(this.emptyView, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_serviceText");
themeDescriptionArr[332] = new ThemeDescription(this.progressBar, ThemeDescription.FLAG_PROGRESSBAR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_serviceText");
themeDescriptionArr[333] = new ThemeDescription(this.stickersPanelArrow, ThemeDescription.FLAG_IMAGECOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_stickersHintPanel");
themeDescriptionArr[334] = new ThemeDescription(this.stickersListView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{StickerCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_stickersHintPanel");
themeDescriptionArr[335] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_USEBACKGROUNDDRAWABLE, new Class[]{ChatUnreadCell.class}, new String[]{"backgroundLayout"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_unreadMessagesStartBackground");
themeDescriptionArr[336] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_IMAGECOLOR, new Class[]{ChatUnreadCell.class}, new String[]{"imageView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_unreadMessagesStartArrowIcon");
themeDescriptionArr[337] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_TEXTCOLOR, new Class[]{ChatUnreadCell.class}, new String[]{"textView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_unreadMessagesStartText");
themeDescriptionArr[338] = new ThemeDescription(this.progressView2, ThemeDescription.FLAG_SERVICEBACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_serviceBackground");
themeDescriptionArr[339] = new ThemeDescription(this.emptyView, ThemeDescription.FLAG_SERVICEBACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_serviceBackground");
themeDescriptionArr[340] = new ThemeDescription(this.bigEmptyView, ThemeDescription.FLAG_SERVICEBACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_serviceBackground");
themeDescriptionArr[341] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_SERVICEBACKGROUND, new Class[]{ChatLoadingCell.class}, new String[]{"textView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_serviceBackground");
themeDescriptionArr[342] = new ThemeDescription(this.chatListView, ThemeDescription.FLAG_PROGRESSBAR, new Class[]{ChatLoadingCell.class}, new String[]{"textView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_serviceText");
themeDescriptionArr[343] = new ThemeDescription(this.mentionListView, ThemeDescription.FLAG_TEXTCOLOR, new Class[]{BotSwitchCell.class}, new String[]{"textView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_botSwitchToInlineText");
themeDescriptionArr[344] = new ThemeDescription(this.mentionListView, ThemeDescription.FLAG_TEXTCOLOR, new Class[]{MentionCell.class}, new String[]{"nameTextView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteBlackText");
themeDescriptionArr[345] = new ThemeDescription(this.mentionListView, ThemeDescription.FLAG_TEXTCOLOR, new Class[]{MentionCell.class}, new String[]{"usernameTextView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteGrayText3");
themeDescriptionArr[346] = new ThemeDescription(this.mentionListView, 0, new Class[]{ContextLinkCell.class}, (Paint) null, new Drawable[]{Theme.chat_inlineResultFile, Theme.chat_inlineResultAudio, Theme.chat_inlineResultLocation}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inlineResultIcon");
themeDescriptionArr[347] = new ThemeDescription(this.mentionListView, 0, new Class[]{ContextLinkCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteGrayText2");
themeDescriptionArr[348] = new ThemeDescription(this.mentionListView, 0, new Class[]{ContextLinkCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteLinkText");
themeDescriptionArr[349] = new ThemeDescription(this.mentionListView, 0, new Class[]{ContextLinkCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteBlackText");
themeDescriptionArr[350] = new ThemeDescription(this.mentionListView, 0, new Class[]{ContextLinkCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inAudioProgress");
themeDescriptionArr[351] = new ThemeDescription(this.mentionListView, 0, new Class[]{ContextLinkCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_inAudioSelectedProgress");
themeDescriptionArr[352] = new ThemeDescription(this.mentionListView, 0, new Class[]{ContextLinkCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "divider");
themeDescriptionArr[353] = new ThemeDescription(this.gifHintTextView, ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_gifSaveHintBackground");
themeDescriptionArr[354] = new ThemeDescription(this.gifHintTextView, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_gifSaveHintText");
themeDescriptionArr[355] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_attachMediaBanBackground");
themeDescriptionArr[356] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_attachMediaBanText");
themeDescriptionArr[357] = new ThemeDescription(this.noSoundHintView, ThemeDescription.FLAG_TEXTCOLOR, new Class[]{HintView.class}, new String[]{"textView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_gifSaveHintText");
themeDescriptionArr[358] = new ThemeDescription(this.noSoundHintView, ThemeDescription.FLAG_IMAGECOLOR, new Class[]{HintView.class}, new String[]{"imageView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_gifSaveHintText");
themeDescriptionArr[359] = new ThemeDescription(this.noSoundHintView, ThemeDescription.FLAG_TEXTCOLOR, new Class[]{HintView.class}, new String[]{"arrowImageView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_gifSaveHintBackground");
themeDescriptionArr[360] = new ThemeDescription(this.forwardHintView, ThemeDescription.FLAG_TEXTCOLOR, new Class[]{HintView.class}, new String[]{"textView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_gifSaveHintText");
themeDescriptionArr[361] = new ThemeDescription(this.forwardHintView, ThemeDescription.FLAG_TEXTCOLOR, new Class[]{HintView.class}, new String[]{"arrowImageView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_gifSaveHintBackground");
themeDescriptionArr[362] = new ThemeDescription(this.pagedownButtonCounter, ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_goDownButtonCounterBackground");
themeDescriptionArr[363] = new ThemeDescription(this.pagedownButtonCounter, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_goDownButtonCounter");
themeDescriptionArr[364] = new ThemeDescription(this.pagedownButtonImage, ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_goDownButton");
themeDescriptionArr[365] = new ThemeDescription(this.pagedownButtonImage, ThemeDescription.FLAG_DRAWABLESELECTEDSTATE | ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_goDownButtonShadow");
themeDescriptionArr[366] = new ThemeDescription(this.pagedownButtonImage, ThemeDescription.FLAG_IMAGECOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_goDownButtonIcon");
themeDescriptionArr[367] = new ThemeDescription(this.mentiondownButtonCounter, ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_goDownButtonCounterBackground");
themeDescriptionArr[368] = new ThemeDescription(this.mentiondownButtonCounter, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_goDownButtonCounter");
themeDescriptionArr[369] = new ThemeDescription(this.mentiondownButtonImage, ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_goDownButton");
themeDescriptionArr[370] = new ThemeDescription(this.mentiondownButtonImage, ThemeDescription.FLAG_DRAWABLESELECTEDSTATE | ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_goDownButtonShadow");
themeDescriptionArr[371] = new ThemeDescription(this.mentiondownButtonImage, ThemeDescription.FLAG_IMAGECOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_goDownButtonIcon");
themeDescriptionArr[372] = new ThemeDescription((View) null, ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_attachButtonDrawables[0]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_attachGalleryBackground");
themeDescriptionArr[373] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_attachButtonDrawables[0]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_attachGalleryIcon");
themeDescriptionArr[374] = new ThemeDescription((View) null, ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_attachButtonDrawables[1]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_attachAudioBackground");
themeDescriptionArr[375] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_attachButtonDrawables[1]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_attachAudioIcon");
themeDescriptionArr[376] = new ThemeDescription((View) null, ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_attachButtonDrawables[2]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_attachFileBackground");
themeDescriptionArr[377] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_attachButtonDrawables[2]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_attachFileIcon");
themeDescriptionArr[378] = new ThemeDescription((View) null, ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_attachButtonDrawables[3]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_attachContactBackground");
themeDescriptionArr[379] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_attachButtonDrawables[3]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_attachContactIcon");
themeDescriptionArr[380] = new ThemeDescription((View) null, ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_attachButtonDrawables[4]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_attachLocationBackground");
themeDescriptionArr[381] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_attachButtonDrawables[4]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_attachLocationIcon");
themeDescriptionArr[382] = new ThemeDescription((View) null, ThemeDescription.FLAG_BACKGROUNDFILTER, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_attachButtonDrawables[5]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_attachPollBackground");
themeDescriptionArr[383] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_attachButtonDrawables[5]}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_attachPollIcon");
themeDescriptionArr[384] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, new Drawable[]{Theme.chat_attachEmptyDrawable}, (ThemeDescription.ThemeDescriptionDelegate) null, "chat_attachEmptyImage");
themeDescriptionArr[385] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "chat_attachPhotoBackground");
themeDescriptionArr[386] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "dialogBackground");
themeDescriptionArr[387] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "dialogBackgroundGray");
themeDescriptionArr[388] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "dialogTextGray2");
themeDescriptionArr[389] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "dialogScrollGlow");
themeDescriptionArr[390] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "dialogGrayLine");
themeDescriptionArr[391] = new ThemeDescription((View) null, 0, (Class[]) null, (Paint) null, (Drawable[]) null, fk_lwy5w69pkihavrowwfit5joi, "dialogCameraIcon");
return themeDescriptionArr;
}
public void lambda$getThemeDescriptions$163$ChatActivity() {
updateVisibleRows();
ChatActivityEnterView chatActivityEnterView = this.chatActivityEnterView;
if (chatActivityEnterView != null && chatActivityEnterView.getEmojiView() != null) {
this.chatActivityEnterView.getEmojiView().updateColors();
}
ChatAttachAlert chatAttachAlert = this.chatAttachAlert;
if (chatAttachAlert != null) {
chatAttachAlert.checkColors();
}
}
}