PhotoViewerCaptionEnterView.smali
.class public Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;
.super Landroid/widget/FrameLayout;
.source "PhotoViewerCaptionEnterView.java"
# interfaces
.implements Lim/tpelyyftgw/messenger/NotificationCenter$NotificationCenterDelegate;
.implements Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto$SizeNotifierFrameLayoutPhotoDelegate;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$PhotoViewerCaptionEnterViewDelegate;
}
.end annotation
# instance fields
.field animationProgress:F
.field private audioInterfaceState:I
.field private captionMaxLength:I
.field private currentActionMode:Landroid/view/ActionMode;
.field private delegate:Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$PhotoViewerCaptionEnterViewDelegate;
.field private emojiButton:Landroid/widget/ImageView;
.field private emojiPadding:I
.field private emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
.field private forceFloatingEmoji:Z
.field private innerTextChange:Z
.field private keyboardHeight:I
.field private keyboardHeightLand:I
.field private keyboardVisible:Z
.field private lastSizeChangeValue1:I
.field private lastSizeChangeValue2:Z
.field private lengthText:Ljava/lang/String;
.field private lengthTextPaint:Landroid/text/TextPaint;
.field private messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
.field private runningAnimation:Landroid/animation/AnimatorSet;
.field private runningAnimation2:Landroid/animation/AnimatorSet;
.field private runningAnimationAudio:Landroid/animation/ObjectAnimator;
.field private runningAnimationType:I
.field private sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;
.field private windowView:Landroid/view/View;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;Landroid/view/View;)V
.registers 23
.param p1, "context" # Landroid/content/Context;
.param p2, "parent" # Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;
.param p3, "window" # Landroid/view/View;
.line 87
move-object/from16 v0, p0
move-object/from16 v1, p1
invoke-direct/range {p0 .. p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
.line 77
const/16 v2, 0x400
iput v2, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->captionMaxLength:I
.line 294
const/4 v2, 0x0
iput v2, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->animationProgress:F
.line 88
const/4 v2, 0x0
invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->setWillNotDraw(Z)V
.line 89
const/high16 v3, 0x7f000000
invoke-virtual {v0, v3}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->setBackgroundColor(I)V
.line 90
const/4 v3, 0x1
invoke-virtual {v0, v3}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->setFocusable(Z)V
.line 91
invoke-virtual {v0, v3}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->setFocusableInTouchMode(Z)V
.line 92
move-object/from16 v4, p3
iput-object v4, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->windowView:Landroid/view/View;
.line 94
move-object/from16 v5, p2
iput-object v5, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;
.line 96
new-instance v6, Landroid/widget/LinearLayout;
invoke-direct {v6, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V
.line 97
.local v6, "textFieldContainer":Landroid/widget/LinearLayout;
invoke-virtual {v6, v2}, Landroid/widget/LinearLayout;->setOrientation(I)V
.line 98
const/high16 v7, -0x40800000 # -1.0f
const/high16 v8, -0x40000000 # -2.0f
const/16 v9, 0x33
const/high16 v10, 0x40000000 # 2.0f
const/4 v11, 0x0
const/4 v12, 0x0
const/4 v13, 0x0
invoke-static/range {v7 .. v13}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(FFIFFFF)Landroid/widget/FrameLayout$LayoutParams;
move-result-object v7
invoke-virtual {v0, v6, v7}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
.line 100
new-instance v7, Landroid/widget/FrameLayout;
invoke-direct {v7, v1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
.line 101
.local v7, "frameLayout":Landroid/widget/FrameLayout;
const/high16 v8, 0x3f800000 # 1.0f
const/4 v9, -0x2
invoke-static {v2, v9, v8}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createLinear(IIF)Landroid/widget/LinearLayout$LayoutParams;
move-result-object v9
invoke-virtual {v6, v7, v9}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
.line 103
new-instance v9, Landroid/widget/ImageView;
invoke-direct {v9, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V
iput-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiButton:Landroid/widget/ImageView;
.line 104
const v10, 0x7f0801ce
invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setImageResource(I)V
.line 105
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiButton:Landroid/widget/ImageView;
sget-object v10, Landroid/widget/ImageView$ScaleType;->CENTER_INSIDE:Landroid/widget/ImageView$ScaleType;
invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V
.line 106
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiButton:Landroid/widget/ImageView;
const/high16 v10, 0x40800000 # 4.0f
invoke-static {v10}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v10
invoke-static {v8}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v11
invoke-virtual {v9, v10, v11, v2, v2}, Landroid/widget/ImageView;->setPadding(IIII)V
.line 107
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiButton:Landroid/widget/ImageView;
const/16 v10, 0x30
const/16 v11, 0x53
invoke-static {v10, v10, v11}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;
move-result-object v11
invoke-virtual {v7, v9, v11}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
.line 108
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiButton:Landroid/widget/ImageView;
new-instance v11, Lim/tpelyyftgw/ui/components/-$$Lambda$PhotoViewerCaptionEnterView$EW6_iRKL7cNlYFcc1Au4G5JUxYA;
invoke-direct {v11, v0}, Lim/tpelyyftgw/ui/components/-$$Lambda$PhotoViewerCaptionEnterView$EW6_iRKL7cNlYFcc1Au4G5JUxYA;-><init>(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;)V
invoke-virtual {v9, v11}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 115
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiButton:Landroid/widget/ImageView;
const-string v11, "Emoji"
const v12, 0x7f0f0589
invoke-static {v11, v12}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v11
invoke-virtual {v9, v11}, Landroid/widget/ImageView;->setContentDescription(Ljava/lang/CharSequence;)V
.line 117
new-instance v9, Landroid/text/TextPaint;
invoke-direct {v9, v3}, Landroid/text/TextPaint;-><init>(I)V
iput-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lengthTextPaint:Landroid/text/TextPaint;
.line 118
const/high16 v11, 0x41500000 # 13.0f
invoke-static {v11}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v11
int-to-float v11, v11
invoke-virtual {v9, v11}, Landroid/text/TextPaint;->setTextSize(F)V
.line 119
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lengthTextPaint:Landroid/text/TextPaint;
const-string v11, "fonts/rmedium.ttf"
invoke-static {v11}, Lim/tpelyyftgw/messenger/AndroidUtilities;->getTypeface(Ljava/lang/String;)Landroid/graphics/Typeface;
move-result-object v11
invoke-virtual {v9, v11}, Landroid/text/TextPaint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;
.line 120
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lengthTextPaint:Landroid/text/TextPaint;
const v11, -0x262627
invoke-virtual {v9, v11}, Landroid/text/TextPaint;->setColor(I)V
.line 122
new-instance v9, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$1;
invoke-direct {v9, v0, v1}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$1;-><init>(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;Landroid/content/Context;)V
iput-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
.line 143
sget v9, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v11, 0x17
if-lt v9, v11, :cond_e0
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->windowView:Landroid/view/View;
if-eqz v9, :cond_e0
.line 144
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
new-instance v11, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$2;
invoke-direct {v11, v0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$2;-><init>(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;)V
invoke-virtual {v9, v11}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setCustomSelectionActionModeCallback(Landroid/view/ActionMode$Callback;)V
.line 172
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
new-instance v11, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$3;
invoke-direct {v11, v0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$3;-><init>(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;)V
invoke-virtual {v9, v11}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setCustomInsertionActionModeCallback(Landroid/view/ActionMode$Callback;)V
.line 200
:cond_e0
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
const v11, 0x7f0f00bb
const-string v12, "AddCaption"
invoke-static {v12, v11}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v11
invoke-virtual {v9, v11}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setHint(Ljava/lang/CharSequence;)V
.line 201
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
const/high16 v11, 0x10000000
invoke-virtual {v9, v11}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setImeOptions(I)V
.line 202
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v9}, Lim/tpelyyftgw/ui/components/EditTextCaption;->getInputType()I
move-result v11
or-int/lit16 v11, v11, 0x4000
invoke-virtual {v9, v11}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setInputType(I)V
.line 203
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
const/4 v11, 0x4
invoke-virtual {v9, v11}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setMaxLines(I)V
.line 204
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v9, v2}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setHorizontallyScrolling(Z)V
.line 205
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
const/high16 v11, 0x41900000 # 18.0f
invoke-virtual {v9, v3, v11}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setTextSize(IF)V
.line 206
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
const/16 v11, 0x50
invoke-virtual {v9, v11}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setGravity(I)V
.line 207
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
const/high16 v12, 0x41300000 # 11.0f
invoke-static {v12}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v12
const/high16 v13, 0x41400000 # 12.0f
invoke-static {v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
invoke-virtual {v9, v2, v12, v2, v13}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setPadding(IIII)V
.line 208
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
const/4 v12, 0x0
invoke-virtual {v9, v12}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
.line 209
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
const/4 v12, -0x1
invoke-virtual {v9, v12}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setCursorColor(I)V
.line 210
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
const/high16 v13, 0x41a00000 # 20.0f
invoke-static {v13}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
invoke-virtual {v9, v13}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setCursorSize(I)V
.line 211
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v9, v12}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setTextColor(I)V
.line 212
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
const v12, -0x4d000001
invoke-virtual {v9, v12}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setHintTextColor(I)V
.line 213
new-array v3, v3, [Landroid/text/InputFilter;
.line 214
.local v3, "inputFilters":[Landroid/text/InputFilter;
new-instance v9, Landroid/text/InputFilter$LengthFilter;
iget v12, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->captionMaxLength:I
invoke-direct {v9, v12}, Landroid/text/InputFilter$LengthFilter;-><init>(I)V
aput-object v9, v3, v2
.line 215
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v9, v3}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setFilters([Landroid/text/InputFilter;)V
.line 216
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
const/high16 v12, -0x40800000 # -1.0f
const/high16 v13, -0x40000000 # -2.0f
const/16 v14, 0x53
const/high16 v15, 0x42500000 # 52.0f
const/16 v16, 0x0
const/high16 v17, 0x40c00000 # 6.0f
const/16 v18, 0x0
invoke-static/range {v12 .. v18}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(FFIFFFF)Landroid/widget/FrameLayout$LayoutParams;
move-result-object v12
invoke-virtual {v7, v9, v12}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
.line 217
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
new-instance v12, Lim/tpelyyftgw/ui/components/-$$Lambda$PhotoViewerCaptionEnterView$5y9rnG3_70FYuZmAwL2Ieo_E8dE;
invoke-direct {v12, v0}, Lim/tpelyyftgw/ui/components/-$$Lambda$PhotoViewerCaptionEnterView$5y9rnG3_70FYuZmAwL2Ieo_E8dE;-><init>(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;)V
invoke-virtual {v9, v12}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setOnKeyListener(Landroid/view/View$OnKeyListener;)V
.line 230
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
new-instance v12, Lim/tpelyyftgw/ui/components/-$$Lambda$PhotoViewerCaptionEnterView$3th2c_4oKg-FCpErp5pEiiEAFyE;
invoke-direct {v12, v0}, Lim/tpelyyftgw/ui/components/-$$Lambda$PhotoViewerCaptionEnterView$3th2c_4oKg-FCpErp5pEiiEAFyE;-><init>(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;)V
invoke-virtual {v9, v12}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 235
iget-object v9, v0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
new-instance v12, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$4;
invoke-direct {v12, v0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$4;-><init>(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;)V
invoke-virtual {v9, v12}, Lim/tpelyyftgw/ui/components/EditTextCaption;->addTextChangedListener(Landroid/text/TextWatcher;)V
.line 281
const/high16 v9, 0x41800000 # 16.0f
invoke-static {v9}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
const v12, -0x994006
invoke-static {v9, v12}, Lim/tpelyyftgw/ui/actionbar/Theme;->createCircleDrawable(II)Landroid/graphics/drawable/Drawable;
move-result-object v9
.line 282
.local v9, "drawable":Landroid/graphics/drawable/Drawable;
invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v12
const v13, 0x7f0814aa
invoke-static/range {v13 .. v13}, Lnp/NPFog;->d(I)I
move-result v13
invoke-virtual {v12, v13}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
move-result-object v12
invoke-virtual {v12}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
move-result-object v12
.line 283
.local v12, "checkDrawable":Landroid/graphics/drawable/Drawable;
new-instance v13, Lim/tpelyyftgw/ui/components/CombinedDrawable;
invoke-static {v8}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v8
invoke-direct {v13, v9, v12, v2, v8}, Lim/tpelyyftgw/ui/components/CombinedDrawable;-><init>(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;II)V
move-object v2, v13
.line 284
.local v2, "combinedDrawable":Lim/tpelyyftgw/ui/components/CombinedDrawable;
const/high16 v8, 0x42000000 # 32.0f
invoke-static {v8}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v13
invoke-static {v8}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v8
invoke-virtual {v2, v13, v8}, Lim/tpelyyftgw/ui/components/CombinedDrawable;->setCustomSize(II)V
.line 286
new-instance v8, Landroid/widget/ImageView;
invoke-direct {v8, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V
.line 287
.local v8, "doneButton":Landroid/widget/ImageView;
sget-object v13, Landroid/widget/ImageView$ScaleType;->CENTER:Landroid/widget/ImageView$ScaleType;
invoke-virtual {v8, v13}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V
.line 288
invoke-virtual {v8, v2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
.line 289
invoke-static {v10, v10, v11}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createLinear(III)Landroid/widget/LinearLayout$LayoutParams;
move-result-object v10
invoke-virtual {v6, v8, v10}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
.line 290
new-instance v10, Lim/tpelyyftgw/ui/components/-$$Lambda$PhotoViewerCaptionEnterView$6SD0Spo_-HFoXGAjLMD1lwBqGZI;
invoke-direct {v10, v0}, Lim/tpelyyftgw/ui/components/-$$Lambda$PhotoViewerCaptionEnterView$6SD0Spo_-HFoXGAjLMD1lwBqGZI;-><init>(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;)V
invoke-virtual {v8, v10}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 291
const v10, 0x7f0f054f
const-string v11, "Done"
invoke-static {v11, v10}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v10
invoke-virtual {v8, v10}, Landroid/widget/ImageView;->setContentDescription(Ljava/lang/CharSequence;)V
.line 292
return-void
.end method
.method static synthetic access$000(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;)Landroid/view/ActionMode;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;
.line 44
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->currentActionMode:Landroid/view/ActionMode;
return-object v0
.end method
.method static synthetic access$002(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;Landroid/view/ActionMode;)Landroid/view/ActionMode;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;
.param p1, "x1" # Landroid/view/ActionMode;
.line 44
iput-object p1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->currentActionMode:Landroid/view/ActionMode;
return-object p1
.end method
.method static synthetic access$100(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;)Z
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;
.line 44
iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->innerTextChange:Z
return v0
.end method
.method static synthetic access$102(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;Z)Z
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;
.param p1, "x1" # Z
.line 44
iput-boolean p1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->innerTextChange:Z
return p1
.end method
.method static synthetic access$200(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;)Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$PhotoViewerCaptionEnterViewDelegate;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;
.line 44
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->delegate:Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$PhotoViewerCaptionEnterViewDelegate;
return-object v0
.end method
.method static synthetic access$300(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;
.line 44
iget v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->captionMaxLength:I
return v0
.end method
.method static synthetic access$400(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;)Lim/tpelyyftgw/ui/components/EditTextCaption;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;
.line 44
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
return-object v0
.end method
.method static synthetic access$502(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;Ljava/lang/String;)Ljava/lang/String;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;
.param p1, "x1" # Ljava/lang/String;
.line 44
iput-object p1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lengthText:Ljava/lang/String;
return-object p1
.end method
.method private createEmojiView()V
.registers 8
.line 441
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
if-eqz v0, :cond_5
.line 442
return-void
.line 444
:cond_5
new-instance v0, Lim/tpelyyftgw/ui/components/EmojiView;
const/4 v2, 0x0
const/4 v3, 0x0
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->getContext()Landroid/content/Context;
move-result-object v4
const/4 v5, 0x0
const/4 v6, 0x0
move-object v1, v0
invoke-direct/range {v1 .. v6}, Lim/tpelyyftgw/ui/components/EmojiView;-><init>(ZZLandroid/content/Context;ZLim/tpelyyftgw/tgnet/TLRPC$ChatFull;)V
iput-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
.line 445
new-instance v1, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$5;
invoke-direct {v1, p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$5;-><init>(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;)V
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/EmojiView;->setDelegate(Lim/tpelyyftgw/ui/components/EmojiView$EmojiViewDelegate;)V
.line 477
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;->addView(Landroid/view/View;)V
.line 478
return-void
.end method
.method private fixActionMode(Landroid/view/ActionMode;)V
.registers 16
.param p1, "mode" # Landroid/view/ActionMode;
.line 343
:try_start_0
const-string v0, "com.android.internal.view.FloatingActionMode"
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v0
.line 344
.local v0, "classActionMode":Ljava/lang/Class;
const-string v1, "mFloatingToolbar"
invoke-virtual {v0, v1}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
move-result-object v1
.line 345
.local v1, "fieldToolbar":Ljava/lang/reflect/Field;
const/4 v2, 0x1
invoke-virtual {v1, v2}, Ljava/lang/reflect/Field;->setAccessible(Z)V
.line 346
invoke-virtual {v1, p1}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
.line 348
.local v3, "toolbar":Ljava/lang/Object;
const-string v4, "com.android.internal.widget.FloatingToolbar"
invoke-static {v4}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v4
.line 349
.local v4, "classToolbar":Ljava/lang/Class;
const-string v5, "mPopup"
invoke-virtual {v4, v5}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
move-result-object v5
.line 350
.local v5, "fieldToolbarPopup":Ljava/lang/reflect/Field;
const-string v6, "mWidthChanged"
invoke-virtual {v4, v6}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
move-result-object v6
.line 351
.local v6, "fieldToolbarWidth":Ljava/lang/reflect/Field;
invoke-virtual {v5, v2}, Ljava/lang/reflect/Field;->setAccessible(Z)V
.line 352
invoke-virtual {v6, v2}, Ljava/lang/reflect/Field;->setAccessible(Z)V
.line 353
invoke-virtual {v5, v3}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v7
.line 355
.local v7, "popup":Ljava/lang/Object;
const-string v8, "com.android.internal.widget.FloatingToolbar$FloatingToolbarPopup"
invoke-static {v8}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v8
.line 356
.local v8, "classToolbarPopup":Ljava/lang/Class;
const-string v9, "mParent"
invoke-virtual {v8, v9}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
move-result-object v9
.line 357
.local v9, "fieldToolbarPopupParent":Ljava/lang/reflect/Field;
invoke-virtual {v9, v2}, Ljava/lang/reflect/Field;->setAccessible(Z)V
.line 359
invoke-virtual {v9, v7}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v10
check-cast v10, Landroid/view/View;
.line 360
.local v10, "currentView":Landroid/view/View;
iget-object v11, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->windowView:Landroid/view/View;
if-eq v10, v11, :cond_5f
.line 361
iget-object v11, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->windowView:Landroid/view/View;
invoke-virtual {v9, v7, v11}, Ljava/lang/reflect/Field;->set(Ljava/lang/Object;Ljava/lang/Object;)V
.line 363
const-string v11, "updateViewLocationInWindow"
const/4 v12, 0x0
new-array v13, v12, [Ljava/lang/Class;
invoke-virtual {v0, v11, v13}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v11
.line 364
.local v11, "method":Ljava/lang/reflect/Method;
invoke-virtual {v11, v2}, Ljava/lang/reflect/Method;->setAccessible(Z)V
.line 365
new-array v2, v12, [Ljava/lang/Object;
invoke-virtual {v11, p1, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
:try_end_5f
.catchall {:try_start_0 .. :try_end_5f} :catchall_60
.line 369
.end local v0 # "classActionMode":Ljava/lang/Class;
.end local v1 # "fieldToolbar":Ljava/lang/reflect/Field;
.end local v3 # "toolbar":Ljava/lang/Object;
.end local v4 # "classToolbar":Ljava/lang/Class;
.end local v5 # "fieldToolbarPopup":Ljava/lang/reflect/Field;
.end local v6 # "fieldToolbarWidth":Ljava/lang/reflect/Field;
.end local v7 # "popup":Ljava/lang/Object;
.end local v8 # "classToolbarPopup":Ljava/lang/Class;
.end local v9 # "fieldToolbarPopupParent":Ljava/lang/reflect/Field;
.end local v10 # "currentView":Landroid/view/View;
.end local v11 # "method":Ljava/lang/reflect/Method;
:cond_5f
goto :goto_64
.line 367
:catchall_60
move-exception v0
.line 368
.local v0, "e":Ljava/lang/Throwable;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 370
.end local v0 # "e":Ljava/lang/Throwable;
:goto_64
return-void
.end method
.method private onWindowSizeChanged()V
.registers 3
.line 373
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;->getHeight()I
move-result v0
.line 374
.local v0, "size":I
iget-boolean v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardVisible:Z
if-nez v1, :cond_d
.line 375
iget v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiPadding:I
sub-int/2addr v0, v1
.line 377
:cond_d
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->delegate:Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$PhotoViewerCaptionEnterViewDelegate;
if-eqz v1, :cond_14
.line 378
invoke-interface {v1, v0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$PhotoViewerCaptionEnterViewDelegate;->onWindowSizeChanged(I)V
.line 380
:cond_14
return-void
.end method
.method private openKeyboardInternal()V
.registers 2
.line 606
sget-boolean v0, Lim/tpelyyftgw/messenger/AndroidUtilities;->usingHardwareInput:Z
if-eqz v0, :cond_6
const/4 v0, 0x0
goto :goto_7
:cond_6
const/4 v0, 0x2
:goto_7
invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->showPopup(I)V
.line 607
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->openKeyboard()V
.line 608
return-void
.end method
.method private showPopup(I)V
.registers 6
.param p1, "show" # I
.line 554
const/4 v0, 0x0
const/4 v1, 0x1
if-ne p1, v1, :cond_80
.line 555
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
if-nez v1, :cond_b
.line 556
invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->createEmojiView()V
.line 559
:cond_b
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/components/EmojiView;->setVisibility(I)V
.line 561
iget v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardHeight:I
const/high16 v1, 0x436c0000 # 236.0f
if-gtz v0, :cond_26
.line 562
invoke-static {}, Lim/tpelyyftgw/messenger/MessagesController;->getGlobalEmojiSettings()Landroid/content/SharedPreferences;
move-result-object v0
invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
const-string v3, "kbd_height"
invoke-interface {v0, v3, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
move-result v0
iput v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardHeight:I
.line 564
:cond_26
iget v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardHeightLand:I
if-gtz v0, :cond_3a
.line 565
invoke-static {}, Lim/tpelyyftgw/messenger/MessagesController;->getGlobalEmojiSettings()Landroid/content/SharedPreferences;
move-result-object v0
invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v1
const-string v2, "kbd_height_land3"
invoke-interface {v0, v2, v1}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
move-result v0
iput v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardHeightLand:I
.line 567
:cond_3a
sget-object v0, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;
iget v0, v0, Landroid/graphics/Point;->x:I
sget-object v1, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;
iget v1, v1, Landroid/graphics/Point;->y:I
if-le v0, v1, :cond_47
iget v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardHeightLand:I
goto :goto_49
:cond_47
iget v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardHeight:I
.line 569
.local v0, "currentHeight":I
:goto_49
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/EmojiView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v1
check-cast v1, Landroid/widget/FrameLayout$LayoutParams;
.line 570
.local v1, "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
sget-object v2, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;
iget v2, v2, Landroid/graphics/Point;->x:I
iput v2, v1, Landroid/widget/FrameLayout$LayoutParams;->width:I
.line 571
iput v0, v1, Landroid/widget/FrameLayout$LayoutParams;->height:I
.line 572
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-virtual {v2, v1}, Lim/tpelyyftgw/ui/components/EmojiView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
.line 573
sget-boolean v2, Lim/tpelyyftgw/messenger/AndroidUtilities;->isInMultiwindow:Z
if-nez v2, :cond_6b
iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->forceFloatingEmoji:Z
if-nez v2, :cond_6b
.line 574
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->hideKeyboard(Landroid/view/View;)V
.line 576
:cond_6b
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;
if-eqz v2, :cond_7f
.line 577
iput v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiPadding:I
.line 578
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;->requestLayout()V
.line 579
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiButton:Landroid/widget/ImageView;
const v3, 0x7f0801c8
invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V
.line 580
invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->onWindowSizeChanged()V
.line 582
.end local v0 # "currentHeight":I
.end local v1 # "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
:cond_7f
goto :goto_a3
.line 583
:cond_80
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiButton:Landroid/widget/ImageView;
if-eqz v1, :cond_8a
.line 584
const v2, 0x7f0801ce
invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V
.line 586
:cond_8a
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
if-eqz v1, :cond_93
.line 587
const/16 v2, 0x8
invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/EmojiView;->setVisibility(I)V
.line 589
:cond_93
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;
if-eqz v1, :cond_a3
.line 590
if-nez p1, :cond_9b
.line 591
iput v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiPadding:I
.line 593
:cond_9b
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;->requestLayout()V
.line 594
invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->onWindowSizeChanged()V
.line 597
:cond_a3
:goto_a3
return-void
.end method
# virtual methods
.method public addEmojiToRecent(Ljava/lang/String;)V
.registers 3
.param p1, "code" # Ljava/lang/String;
.line 481
invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->createEmojiView()V
.line 482
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/components/EmojiView;->addEmojiToRecent(Ljava/lang/String;)V
.line 483
return-void
.end method
.method public addMentionText1(IILjava/lang/CharSequence;Z)V
.registers 9
.param p1, "start" # I
.param p2, "len" # I
.param p3, "text" # Ljava/lang/CharSequence;
.param p4, "parseEmoji" # Z
.line 505
:try_start_0
new-instance v0, Landroid/text/SpannableStringBuilder;
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/EditTextCaption;->getText()Landroid/text/Editable;
move-result-object v1
invoke-direct {v0, v1}, Landroid/text/SpannableStringBuilder;-><init>(Ljava/lang/CharSequence;)V
.line 506
.local v0, "builder":Landroid/text/SpannableStringBuilder;
add-int v1, p1, p2
invoke-virtual {v0, p1, v1, p3}, Landroid/text/SpannableStringBuilder;->replace(IILjava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
.line 507
if-eqz p4, :cond_26
.line 508
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/EditTextCaption;->getPaint()Landroid/text/TextPaint;
move-result-object v1
invoke-virtual {v1}, Landroid/text/TextPaint;->getFontMetricsInt()Landroid/graphics/Paint$FontMetricsInt;
move-result-object v1
const/high16 v2, 0x41a00000 # 20.0f
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
const/4 v3, 0x0
invoke-static {v0, v1, v2, v3}, Lim/tpelyyftgw/messenger/Emoji;->replaceEmoji(Ljava/lang/CharSequence;Landroid/graphics/Paint$FontMetricsInt;IZ)Ljava/lang/CharSequence;
.line 510
:cond_26
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setText(Ljava/lang/CharSequence;)V
.line 511
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-interface {p3}, Ljava/lang/CharSequence;->length()I
move-result v2
add-int/2addr v2, p1
invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setSelection(I)V
:try_end_35
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_35} :catch_36
.line 515
.end local v0 # "builder":Landroid/text/SpannableStringBuilder;
goto :goto_3a
.line 513
:catch_36
move-exception v0
.line 514
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 516
.end local v0 # "e":Ljava/lang/Exception;
:goto_3a
return-void
.end method
.method public closeKeyboard()V
.registers 2
.line 637
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->hideKeyboard(Landroid/view/View;)V
.line 638
return-void
.end method
.method public varargs didReceivedNotification(II[Ljava/lang/Object;)V
.registers 5
.param p1, "id" # I
.param p2, "account" # I
.param p3, "args" # [Ljava/lang/Object;
.line 698
sget v0, Lim/tpelyyftgw/messenger/NotificationCenter;->emojiDidLoad:I
if-ne p1, v0, :cond_b
.line 699
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
if-eqz v0, :cond_b
.line 700
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->invalidateViews()V
.line 703
:cond_b
return-void
.end method
.method protected extendActionMode(Landroid/view/ActionMode;Landroid/view/Menu;)V
.registers 3
.param p1, "actionMode" # Landroid/view/ActionMode;
.param p2, "menu" # Landroid/view/Menu;
.line 336
return-void
.end method
.method public getCursorPosition()I
.registers 2
.line 434
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
if-nez v0, :cond_6
.line 435
const/4 v0, 0x0
return v0
.line 437
:cond_6
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EditTextCaption;->getSelectionStart()I
move-result v0
return v0
.end method
.method public getEmojiPadding()I
.registers 2
.line 546
iget v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiPadding:I
return v0
.end method
.method public getFieldCharSequence()Ljava/lang/CharSequence;
.registers 2
.line 542
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EditTextCaption;->getText()Landroid/text/Editable;
move-result-object v0
invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->getTrimmedString(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
move-result-object v0
return-object v0
.end method
.method public getSelectionLength()I
.registers 4
.line 422
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
const/4 v1, 0x0
if-nez v0, :cond_6
.line 423
return v1
.line 426
:cond_6
:try_start_6
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EditTextCaption;->getSelectionEnd()I
move-result v0
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/EditTextCaption;->getSelectionStart()I
move-result v1
:try_end_10
.catch Ljava/lang/Exception; {:try_start_6 .. :try_end_10} :catch_12
sub-int/2addr v0, v1
return v0
.line 427
:catch_12
move-exception v0
.line 428
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 430
.end local v0 # "e":Ljava/lang/Exception;
return v1
.end method
.method public hideActionMode()Z
.registers 3
.line 321
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x17
if-lt v0, v1, :cond_17
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->currentActionMode:Landroid/view/ActionMode;
if-eqz v0, :cond_17
.line 323
:try_start_a
invoke-virtual {v0}, Landroid/view/ActionMode;->finish()V
:try_end_d
.catch Ljava/lang/Exception; {:try_start_a .. :try_end_d} :catch_e
.line 326
goto :goto_12
.line 324
:catch_e
move-exception v0
.line 325
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 327
.end local v0 # "e":Ljava/lang/Exception;
:goto_12
const/4 v0, 0x0
iput-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->currentActionMode:Landroid/view/ActionMode;
.line 328
const/4 v0, 0x1
return v0
.line 330
:cond_17
const/4 v0, 0x0
return v0
.end method
.method public hidePopup()V
.registers 2
.line 600
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->isPopupShowing()Z
move-result v0
if-eqz v0, :cond_a
.line 601
const/4 v0, 0x0
invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->showPopup(I)V
.line 603
:cond_a
return-void
.end method
.method public isKeyboardVisible()Z
.registers 2
.line 641
sget-boolean v0, Lim/tpelyyftgw/messenger/AndroidUtilities;->usingHardwareInput:Z
if-eqz v0, :cond_a
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->getTag()Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_e
:cond_a
iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardVisible:Z
if-eqz v0, :cond_10
:cond_e
const/4 v0, 0x1
goto :goto_11
:cond_10
const/4 v0, 0x0
:goto_11
return v0
.end method
.method public isPopupShowing()Z
.registers 2
.line 633
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
if-eqz v0, :cond_c
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->getVisibility()I
move-result v0
if-nez v0, :cond_c
const/4 v0, 0x1
goto :goto_d
:cond_c
const/4 v0, 0x0
:goto_d
return v0
.end method
.method public isPopupView(Landroid/view/View;)Z
.registers 3
.param p1, "view" # Landroid/view/View;
.line 550
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
if-ne p1, v0, :cond_6
const/4 v0, 0x1
goto :goto_7
:cond_6
const/4 v0, 0x0
:goto_7
return v0
.end method
.method public synthetic lambda$new$0$PhotoViewerCaptionEnterView(Landroid/view/View;)V
.registers 3
.param p1, "view" # Landroid/view/View;
.line 109
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->isPopupShowing()Z
move-result v0
if-nez v0, :cond_b
.line 110
const/4 v0, 0x1
invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->showPopup(I)V
goto :goto_e
.line 112
:cond_b
invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->openKeyboardInternal()V
.line 114
:goto_e
return-void
.end method
.method public synthetic lambda$new$1$PhotoViewerCaptionEnterView(Landroid/view/View;ILandroid/view/KeyEvent;)Z
.registers 7
.param p1, "view" # Landroid/view/View;
.param p2, "i" # I
.param p3, "keyEvent" # Landroid/view/KeyEvent;
.line 218
const/4 v0, 0x0
const/4 v1, 0x4
if-ne p2, v1, :cond_24
.line 219
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->windowView:Landroid/view/View;
const/4 v2, 0x1
if-eqz v1, :cond_10
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->hideActionMode()Z
move-result v1
if-eqz v1, :cond_10
.line 220
return v2
.line 221
:cond_10
iget-boolean v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardVisible:Z
if-nez v1, :cond_24
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->isPopupShowing()Z
move-result v1
if-eqz v1, :cond_24
.line 222
invoke-virtual {p3}, Landroid/view/KeyEvent;->getAction()I
move-result v1
if-ne v1, v2, :cond_23
.line 223
invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->showPopup(I)V
.line 225
:cond_23
return v2
.line 228
:cond_24
return v0
.end method
.method public synthetic lambda$new$2$PhotoViewerCaptionEnterView(Landroid/view/View;)V
.registers 3
.param p1, "view" # Landroid/view/View;
.line 231
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->isPopupShowing()Z
move-result v0
if-eqz v0, :cond_10
.line 232
sget-boolean v0, Lim/tpelyyftgw/messenger/AndroidUtilities;->usingHardwareInput:Z
if-eqz v0, :cond_c
const/4 v0, 0x0
goto :goto_d
:cond_c
const/4 v0, 0x2
:goto_d
invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->showPopup(I)V
.line 234
:cond_10
return-void
.end method
.method public synthetic lambda$new$3$PhotoViewerCaptionEnterView(Landroid/view/View;)V
.registers 3
.param p1, "view" # Landroid/view/View;
.line 290
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->delegate:Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$PhotoViewerCaptionEnterViewDelegate;
invoke-interface {v0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$PhotoViewerCaptionEnterViewDelegate;->onCaptionEnter()V
return-void
.end method
.method public synthetic lambda$setFieldFocused$4$PhotoViewerCaptionEnterView()V
.registers 2
.line 525
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
if-eqz v0, :cond_c
.line 527
:try_start_4
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EditTextCaption;->requestFocus()Z
:try_end_7
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_7} :catch_8
.line 530
goto :goto_c
.line 528
:catch_8
move-exception v0
.line 529
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 532
.end local v0 # "e":Ljava/lang/Exception;
:cond_c
:goto_c
return-void
.end method
.method public onCreate()V
.registers 3
.line 383
invoke-static {}, Lim/tpelyyftgw/messenger/NotificationCenter;->getGlobalInstance()Lim/tpelyyftgw/messenger/NotificationCenter;
move-result-object v0
sget v1, Lim/tpelyyftgw/messenger/NotificationCenter;->emojiDidLoad:I
invoke-virtual {v0, p0, v1}, Lim/tpelyyftgw/messenger/NotificationCenter;->addObserver(Ljava/lang/Object;I)V
.line 384
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;
invoke-virtual {v0, p0}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;->setDelegate(Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto$SizeNotifierFrameLayoutPhotoDelegate;)V
.line 385
return-void
.end method
.method public onDestroy()V
.registers 3
.line 388
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->hidePopup()V
.line 389
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->isKeyboardVisible()Z
move-result v0
if-eqz v0, :cond_c
.line 390
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->closeKeyboard()V
.line 392
:cond_c
const/4 v0, 0x0
iput-boolean v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardVisible:Z
.line 393
invoke-static {}, Lim/tpelyyftgw/messenger/NotificationCenter;->getGlobalInstance()Lim/tpelyyftgw/messenger/NotificationCenter;
move-result-object v0
sget v1, Lim/tpelyyftgw/messenger/NotificationCenter;->emojiDidLoad:I
invoke-virtual {v0, p0, v1}, Lim/tpelyyftgw/messenger/NotificationCenter;->removeObserver(Ljava/lang/Object;I)V
.line 394
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;
if-eqz v0, :cond_20
.line 395
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;->setDelegate(Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto$SizeNotifierFrameLayoutPhotoDelegate;)V
.line 397
:cond_20
return-void
.end method
.method protected onDraw(Landroid/graphics/Canvas;)V
.registers 8
.param p1, "canvas" # Landroid/graphics/Canvas;
.line 298
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lengthText:Ljava/lang/String;
if-eqz v0, :cond_5f
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->getMeasuredHeight()I
move-result v0
const/high16 v1, 0x42400000 # 48.0f
invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
if-le v0, v2, :cond_5f
.line 299
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lengthTextPaint:Landroid/text/TextPaint;
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lengthText:Ljava/lang/String;
invoke-virtual {v0, v2}, Landroid/text/TextPaint;->measureText(Ljava/lang/String;)F
move-result v0
float-to-double v2, v0
invoke-static {v2, v3}, Ljava/lang/Math;->ceil(D)D
move-result-wide v2
double-to-int v0, v2
.line 300
.local v0, "width":I
const/high16 v2, 0x42600000 # 56.0f
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
sub-int/2addr v2, v0
div-int/lit8 v2, v2, 0x2
.line 301
.local v2, "x":I
iget-object v3, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lengthText:Ljava/lang/String;
int-to-float v4, v2
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->getMeasuredHeight()I
move-result v5
invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v1
sub-int/2addr v5, v1
int-to-float v1, v5
iget-object v5, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lengthTextPaint:Landroid/text/TextPaint;
invoke-virtual {p1, v3, v4, v1, v5}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V
.line 302
iget v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->animationProgress:F
const/high16 v3, 0x3f800000 # 1.0f
cmpg-float v4, v1, v3
if-gez v4, :cond_5e
.line 303
const v4, 0x3e111111
add-float/2addr v1, v4
iput v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->animationProgress:F
.line 304
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->invalidate()V
.line 305
iget v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->animationProgress:F
cmpl-float v1, v1, v3
if-ltz v1, :cond_52
.line 306
iput v3, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->animationProgress:F
.line 308
:cond_52
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lengthTextPaint:Landroid/text/TextPaint;
const/high16 v3, 0x437f0000 # 255.0f
iget v4, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->animationProgress:F
mul-float v4, v4, v3
float-to-int v3, v4
invoke-virtual {v1, v3}, Landroid/text/TextPaint;->setAlpha(I)V
.line 310
.end local v0 # "width":I
.end local v2 # "x":I
:cond_5e
goto :goto_68
.line 311
:cond_5f
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lengthTextPaint:Landroid/text/TextPaint;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setAlpha(I)V
.line 312
const/4 v0, 0x0
iput v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->animationProgress:F
.line 314
:goto_68
return-void
.end method
.method public onSizeChanged(IZ)V
.registers 7
.param p1, "height" # I
.param p2, "isWidthGreater" # Z
.line 646
const/high16 v0, 0x42480000 # 50.0f
invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v0
if-le p1, v0, :cond_41
iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardVisible:Z
if-eqz v0, :cond_41
sget-boolean v0, Lim/tpelyyftgw/messenger/AndroidUtilities;->isInMultiwindow:Z
if-nez v0, :cond_41
iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->forceFloatingEmoji:Z
if-nez v0, :cond_41
.line 647
if-eqz p2, :cond_2c
.line 648
iput p1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardHeightLand:I
.line 649
invoke-static {}, Lim/tpelyyftgw/messenger/MessagesController;->getGlobalEmojiSettings()Landroid/content/SharedPreferences;
move-result-object v0
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
iget v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardHeightLand:I
const-string v2, "kbd_height_land3"
invoke-interface {v0, v2, v1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
move-result-object v0
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z
goto :goto_41
.line 651
:cond_2c
iput p1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardHeight:I
.line 652
invoke-static {}, Lim/tpelyyftgw/messenger/MessagesController;->getGlobalEmojiSettings()Landroid/content/SharedPreferences;
move-result-object v0
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
iget v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardHeight:I
const-string v2, "kbd_height"
invoke-interface {v0, v2, v1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
move-result-object v0
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z
.line 656
:cond_41
:goto_41
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->isPopupShowing()Z
move-result v0
if-eqz v0, :cond_7f
.line 658
if-eqz p2, :cond_4c
.line 659
iget v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardHeightLand:I
.local v0, "newHeight":I
goto :goto_4e
.line 661
.end local v0 # "newHeight":I
:cond_4c
iget v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardHeight:I
.line 664
.restart local v0 # "newHeight":I
:goto_4e
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/EmojiView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v1
check-cast v1, Landroid/widget/FrameLayout$LayoutParams;
.line 665
.local v1, "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
iget v2, v1, Landroid/widget/FrameLayout$LayoutParams;->width:I
sget-object v3, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;
iget v3, v3, Landroid/graphics/Point;->x:I
if-ne v2, v3, :cond_62
iget v2, v1, Landroid/widget/FrameLayout$LayoutParams;->height:I
if-eq v2, v0, :cond_7f
.line 666
:cond_62
sget-object v2, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;
iget v2, v2, Landroid/graphics/Point;->x:I
iput v2, v1, Landroid/widget/FrameLayout$LayoutParams;->width:I
.line 667
iput v0, v1, Landroid/widget/FrameLayout$LayoutParams;->height:I
.line 668
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiView:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-virtual {v2, v1}, Lim/tpelyyftgw/ui/components/EmojiView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
.line 669
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;
if-eqz v2, :cond_7f
.line 670
iget v2, v1, Landroid/widget/FrameLayout$LayoutParams;->height:I
iput v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiPadding:I
.line 671
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;->requestLayout()V
.line 672
invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->onWindowSizeChanged()V
.line 677
.end local v0 # "newHeight":I
.end local v1 # "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
:cond_7f
iget v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lastSizeChangeValue1:I
if-ne v0, p1, :cond_8b
iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lastSizeChangeValue2:Z
if-ne v0, p2, :cond_8b
.line 678
invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->onWindowSizeChanged()V
.line 679
return-void
.line 681
:cond_8b
iput p1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lastSizeChangeValue1:I
.line 682
iput-boolean p2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->lastSizeChangeValue2:Z
.line 684
iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardVisible:Z
.line 685
.local v0, "oldValue":Z
const/4 v1, 0x0
if-lez p1, :cond_96
const/4 v2, 0x1
goto :goto_97
:cond_96
const/4 v2, 0x0
:goto_97
iput-boolean v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardVisible:Z
.line 686
if-eqz v2, :cond_a4
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->isPopupShowing()Z
move-result v2
if-eqz v2, :cond_a4
.line 687
invoke-direct {p0, v1}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->showPopup(I)V
.line 689
:cond_a4
iget v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiPadding:I
if-eqz v2, :cond_bb
iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardVisible:Z
if-nez v2, :cond_bb
if-eq v2, v0, :cond_bb
invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->isPopupShowing()Z
move-result v2
if-nez v2, :cond_bb
.line 690
iput v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->emojiPadding:I
.line 691
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->sizeNotifierLayout:Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayoutPhoto;->requestLayout()V
.line 693
:cond_bb
invoke-direct {p0}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->onWindowSizeChanged()V
.line 694
return-void
.end method
.method public openKeyboard()V
.registers 12
.line 613
:try_start_0
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EditTextCaption;->getSelectionStart()I
move-result v0
:try_end_6
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_6} :catch_7
.line 617
.local v0, "currentSelection":I
goto :goto_12
.line 614
.end local v0 # "currentSelection":I
:catch_7
move-exception v0
.line 615
.local v0, "e":Ljava/lang/Exception;
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/EditTextCaption;->length()I
move-result v1
.line 616
.local v1, "currentSelection":I
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
move v0, v1
.line 618
.end local v1 # "currentSelection":I
.local v0, "currentSelection":I
:goto_12
const-wide/16 v1, 0x0
const-wide/16 v3, 0x0
const/4 v5, 0x0
const/4 v6, 0x0
const/4 v7, 0x0
const/4 v8, 0x0
invoke-static/range {v1 .. v8}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;
move-result-object v1
.line 619
.local v1, "event":Landroid/view/MotionEvent;
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v2, v1}, Lim/tpelyyftgw/ui/components/EditTextCaption;->onTouchEvent(Landroid/view/MotionEvent;)Z
.line 620
invoke-virtual {v1}, Landroid/view/MotionEvent;->recycle()V
.line 621
const-wide/16 v5, 0x0
const/4 v7, 0x1
const/4 v8, 0x0
const/4 v9, 0x0
const/4 v10, 0x0
invoke-static/range {v3 .. v10}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;
move-result-object v1
.line 622
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v2, v1}, Lim/tpelyyftgw/ui/components/EditTextCaption;->onTouchEvent(Landroid/view/MotionEvent;)Z
.line 623
invoke-virtual {v1}, Landroid/view/MotionEvent;->recycle()V
.line 624
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->showKeyboard(Landroid/view/View;)Z
.line 626
:try_start_3d
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v2, v0}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setSelection(I)V
:try_end_42
.catch Ljava/lang/Exception; {:try_start_3d .. :try_end_42} :catch_43
.line 629
goto :goto_47
.line 627
:catch_43
move-exception v2
.line 628
.local v2, "e":Ljava/lang/Exception;
invoke-static {v2}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 630
.end local v2 # "e":Ljava/lang/Exception;
:goto_47
return-void
.end method
.method public replaceWithText(IILjava/lang/CharSequence;Z)V
.registers 9
.param p1, "start" # I
.param p2, "len" # I
.param p3, "text" # Ljava/lang/CharSequence;
.param p4, "parseEmoji" # Z
.line 487
:try_start_0
new-instance v0, Landroid/text/SpannableStringBuilder;
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/EditTextCaption;->getText()Landroid/text/Editable;
move-result-object v1
invoke-direct {v0, v1}, Landroid/text/SpannableStringBuilder;-><init>(Ljava/lang/CharSequence;)V
.line 488
.local v0, "builder":Landroid/text/SpannableStringBuilder;
add-int v1, p1, p2
invoke-virtual {v0, p1, v1, p3}, Landroid/text/SpannableStringBuilder;->replace(IILjava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
.line 489
if-eqz p4, :cond_26
.line 490
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/EditTextCaption;->getPaint()Landroid/text/TextPaint;
move-result-object v1
invoke-virtual {v1}, Landroid/text/TextPaint;->getFontMetricsInt()Landroid/graphics/Paint$FontMetricsInt;
move-result-object v1
const/high16 v2, 0x41a00000 # 20.0f
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v2
const/4 v3, 0x0
invoke-static {v0, v1, v2, v3}, Lim/tpelyyftgw/messenger/Emoji;->replaceEmoji(Ljava/lang/CharSequence;Landroid/graphics/Paint$FontMetricsInt;IZ)Ljava/lang/CharSequence;
.line 492
:cond_26
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setText(Ljava/lang/CharSequence;)V
.line 493
invoke-interface {p3}, Ljava/lang/CharSequence;->length()I
move-result v1
add-int/2addr v1, p1
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/EditTextCaption;->length()I
move-result v2
if-gt v1, v2, :cond_43
.line 494
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-interface {p3}, Ljava/lang/CharSequence;->length()I
move-result v2
add-int/2addr v2, p1
invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setSelection(I)V
goto :goto_4e
.line 496
:cond_43
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/EditTextCaption;->length()I
move-result v2
invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setSelection(I)V
:try_end_4e
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_4e} :catch_4f
.line 500
.end local v0 # "builder":Landroid/text/SpannableStringBuilder;
:goto_4e
goto :goto_53
.line 498
:catch_4f
move-exception v0
.line 499
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 501
.end local v0 # "e":Ljava/lang/Exception;
:goto_53
return-void
.end method
.method public setAllowTextEntitiesIntersection(Z)V
.registers 3
.param p1, "value" # Z
.line 706
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setAllowTextEntitiesIntersection(Z)V
.line 707
return-void
.end method
.method public setDelegate(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$PhotoViewerCaptionEnterViewDelegate;)V
.registers 2
.param p1, "delegate" # Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$PhotoViewerCaptionEnterViewDelegate;
.line 400
iput-object p1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->delegate:Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$PhotoViewerCaptionEnterViewDelegate;
.line 401
return-void
.end method
.method public setFieldFocused(Z)V
.registers 6
.param p1, "focus" # Z
.line 519
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
if-nez v0, :cond_5
.line 520
return-void
.line 522
:cond_5
if-eqz p1, :cond_1a
.line 523
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EditTextCaption;->isFocused()Z
move-result v0
if-nez v0, :cond_29
.line 524
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
new-instance v1, Lim/tpelyyftgw/ui/components/-$$Lambda$PhotoViewerCaptionEnterView$lUTLk58NcrcqIqDhmn9np7bzlDY;
invoke-direct {v1, p0}, Lim/tpelyyftgw/ui/components/-$$Lambda$PhotoViewerCaptionEnterView$lUTLk58NcrcqIqDhmn9np7bzlDY;-><init>(Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;)V
const-wide/16 v2, 0x258
invoke-virtual {v0, v1, v2, v3}, Lim/tpelyyftgw/ui/components/EditTextCaption;->postDelayed(Ljava/lang/Runnable;J)Z
goto :goto_29
.line 535
:cond_1a
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EditTextCaption;->isFocused()Z
move-result v0
if-eqz v0, :cond_29
iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->keyboardVisible:Z
if-nez v0, :cond_29
.line 536
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EditTextCaption;->clearFocus()V
.line 539
:cond_29
:goto_29
return-void
.end method
.method public setFieldText(Ljava/lang/CharSequence;)V
.registers 7
.param p1, "text" # Ljava/lang/CharSequence;
.line 404
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
if-nez v0, :cond_5
.line 405
return-void
.line 407
:cond_5
invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setText(Ljava/lang/CharSequence;)V
.line 408
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EditTextCaption;->getText()Landroid/text/Editable;
move-result-object v1
invoke-interface {v1}, Landroid/text/Editable;->length()I
move-result v1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setSelection(I)V
.line 409
iget-object v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->delegate:Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$PhotoViewerCaptionEnterViewDelegate;
if-eqz v0, :cond_22
.line 410
iget-object v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/EditTextCaption;->getText()Landroid/text/Editable;
move-result-object v1
invoke-interface {v0, v1}, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView$PhotoViewerCaptionEnterViewDelegate;->onTextChanged(Ljava/lang/CharSequence;)V
.line 412
:cond_22
iget v0, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->captionMaxLength:I
.line 413
.local v0, "old":I
sget v1, Lim/tpelyyftgw/messenger/UserConfig;->selectedAccount:I
invoke-static {v1}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v1
iget v1, v1, Lim/tpelyyftgw/messenger/MessagesController;->maxCaptionLength:I
iput v1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->captionMaxLength:I
.line 414
if-eq v0, v1, :cond_42
.line 415
const/4 v1, 0x1
new-array v1, v1, [Landroid/text/InputFilter;
.line 416
.local v1, "inputFilters":[Landroid/text/InputFilter;
const/4 v2, 0x0
new-instance v3, Landroid/text/InputFilter$LengthFilter;
iget v4, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->captionMaxLength:I
invoke-direct {v3, v4}, Landroid/text/InputFilter$LengthFilter;-><init>(I)V
aput-object v3, v1, v2
.line 417
iget-object v2, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->messageEditText:Lim/tpelyyftgw/ui/components/EditTextCaption;
invoke-virtual {v2, v1}, Lim/tpelyyftgw/ui/components/EditTextCaption;->setFilters([Landroid/text/InputFilter;)V
.line 419
.end local v1 # "inputFilters":[Landroid/text/InputFilter;
:cond_42
return-void
.end method
.method public setForceFloatingEmoji(Z)V
.registers 2
.param p1, "value" # Z
.line 317
iput-boolean p1, p0, Lim/tpelyyftgw/ui/components/PhotoViewerCaptionEnterView;->forceFloatingEmoji:Z
.line 318
return-void
.end method