apkfuckery/com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali

2208 lines
61 KiB
Smali

.class public Lcom/lytefast/flexinput/fragment/FlexInputFragment;
.super Landroidx/fragment/app/Fragment;
.source "FlexInputFragment.kt"
# interfaces
.implements Lcom/lytefast/flexinput/FlexInputCoordinator;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/fragment/app/Fragment;",
"Lcom/lytefast/flexinput/FlexInputCoordinator<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# static fields
.field public static final x:Ljava/lang/String;
# instance fields
.field public d:Landroid/view/ViewGroup;
.field public e:Landroid/view/View;
.field public f:Landroid/view/View;
.field public g:Landroid/view/ViewGroup;
.field public h:Landroid/view/View;
.field public i:Landroidx/recyclerview/widget/RecyclerView;
.field public j:Landroid/widget/ImageView;
.field public k:Landroid/view/View;
.field public l:Landroid/view/View;
.field public m:Landroidx/appcompat/widget/AppCompatEditText;
.field public n:Landroid/view/View;
.field public o:Landroid/view/View;
.field public p:Landroid/view/View;
.field public q:Ljava/lang/Runnable;
.field public r:Le/b/a/c/a;
.field public s:Lcom/lytefast/flexinput/InputListener;
.field public t:Lcom/lytefast/flexinput/managers/FileManager;
.field public u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter<",
"Lcom/lytefast/flexinput/model/Attachment<",
"Ljava/lang/Object;",
">;>;"
}
.end annotation
.end field
.field public v:[Le/b/a/b/a$b;
.field public w:Z
# direct methods
.method public static constructor <clinit>()V
.locals 2
const-class v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v0
const-string v1, "FlexInputFragment::class.java.name"
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
sput-object v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->x:Ljava/lang/String;
return-void
.end method
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Landroidx/fragment/app/Fragment;-><init>()V
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->w:Z
return-void
.end method
.method public static final synthetic a(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
.locals 0
invoke-virtual {p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->c()V
return-void
.end method
.method public static final synthetic a(Lcom/lytefast/flexinput/fragment/FlexInputFragment;I)V
.locals 1
invoke-virtual {p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e()Z
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->r:Le/b/a/c/a;
if-eqz v0, :cond_0
invoke-interface {v0}, Le/b/a/c/a;->requestHide()V
:cond_0
:try_start_0
invoke-virtual {p0, p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(I)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p0
sget-object p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->x:Ljava/lang/String;
const-string v0, "Could not open AddContentDialogFragment"
invoke-static {p1, v0, p0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:goto_0
return-void
.end method
.method public static final synthetic a(Lcom/lytefast/flexinput/fragment/FlexInputFragment;Landroid/content/res/TypedArray;)V
.locals 0
invoke-virtual {p0, p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Landroid/content/res/TypedArray;)V
return-void
.end method
.method public static final synthetic a(Lcom/lytefast/flexinput/fragment/FlexInputFragment;Landroid/view/MotionEvent;)Z
.locals 0
invoke-virtual {p0, p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Landroid/view/MotionEvent;)Z
move-result p0
return p0
.end method
.method public static final synthetic a(Lcom/lytefast/flexinput/fragment/FlexInputFragment;Landroid/view/View;)Z
.locals 1
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
move-result-object p0
invoke-virtual {p1}, Landroid/view/View;->getContentDescription()Ljava/lang/CharSequence;
move-result-object p1
const/4 v0, 0x0
invoke-static {p0, p1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object p0
invoke-virtual {p0}, Landroid/widget/Toast;->show()V
const/4 p0, 0x1
return p0
.end method
.method public static final synthetic b(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Landroid/view/ViewGroup;
.locals 0
iget-object p0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->g:Landroid/view/ViewGroup;
if-eqz p0, :cond_0
return-object p0
:cond_0
const-string p0, "inputContainer"
invoke-static {p0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
.end method
.method public static final synthetic c(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Landroidx/appcompat/widget/AppCompatEditText;
.locals 0
iget-object p0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
if-eqz p0, :cond_0
return-object p0
:cond_0
const-string p0, "inputEt"
invoke-static {p0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
.end method
.method public static final synthetic d(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
.locals 0
invoke-virtual {p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->h()V
return-void
.end method
.method public static final synthetic e(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
.locals 2
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e:Landroid/view/View;
const/4 v1, 0x0
if-eqz v0, :cond_2
iget-object p0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
if-eqz p0, :cond_1
invoke-virtual {p0}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->getItemCount()I
move-result p0
if-lez p0, :cond_0
const/4 p0, 0x0
goto :goto_0
:cond_0
const/16 p0, 0x8
:goto_0
invoke-virtual {v0, p0}, Landroid/view/View;->setVisibility(I)V
return-void
:cond_1
const-string p0, "attachmentPreviewAdapter"
invoke-static {p0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
:cond_2
const-string p0, "attachmentPreviewContainer"
invoke-static {p0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
.end method
# virtual methods
.method public final a(Landroidx/fragment/app/Fragment;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
.locals 3
if-nez p1, :cond_0
return-object p0
:cond_0
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v0
invoke-virtual {v0}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
move-result-object v0
sget v1, Lcom/lytefast/flexinput/R$e;->flex_input_emoji_container:I
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v1, p1, v2}, Landroidx/fragment/app/FragmentTransaction;->replace(ILandroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
move-result-object p1
invoke-virtual {p1}, Landroidx/fragment/app/FragmentTransaction;->commit()I
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->j:Landroid/widget/ImageView;
if-eqz p1, :cond_1
const/4 v0, 0x0
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setVisibility(I)V
return-object p0
:cond_1
const-string p1, "emojiBtn"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final a(Lcom/lytefast/flexinput/InputListener;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
.locals 0
if-eqz p1, :cond_0
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->s:Lcom/lytefast/flexinput/InputListener;
return-object p0
:cond_0
const-string p1, "inputListener"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final a(Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter<",
"Lcom/lytefast/flexinput/model/Attachment<",
"Ljava/lang/Object;",
">;>;)",
"Lcom/lytefast/flexinput/fragment/FlexInputFragment;"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_3
invoke-virtual {p1}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
move-result-object v1
iget-object v2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
const-string v3, "attachmentPreviewAdapter"
if-eqz v2, :cond_2
invoke-virtual {v2}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
move-result-object v2
invoke-virtual {v1, v2}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->initFrom(Lcom/lytefast/flexinput/utils/SelectionAggregator;)Lcom/lytefast/flexinput/utils/SelectionAggregator;
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->i:Landroidx/recyclerview/widget/RecyclerView;
if-eqz p1, :cond_1
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
if-eqz v1, :cond_0
invoke-virtual {p1, v1}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
return-object p0
:cond_0
invoke-static {v3}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "attachmentPreviewList"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v0
:cond_2
invoke-static {v3}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v0
:cond_3
const-string p1, "previewAdapter"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public final a(Le/b/a/c/a;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
.locals 0
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->r:Le/b/a/c/a;
return-object p0
.end method
.method public final a([Le/b/a/b/a$b;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
.locals 0
if-eqz p1, :cond_0
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->v:[Le/b/a/b/a$b;
return-object p0
:cond_0
const-string p1, "pageSuppliers"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final a(I)V
.locals 3
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v0
invoke-virtual {v0}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
move-result-object v0
const-string v1, "childFragmentManager.beginTransaction()"
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v1, Le/b/a/a/a;
invoke-direct {v1}, Le/b/a/a/a;-><init>()V
const-string v2, "Add Content"
invoke-virtual {v1, v0, v2}, Le/b/a/a/a;->show(Landroidx/fragment/app/FragmentTransaction;Ljava/lang/String;)I
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v0
invoke-virtual {v0}, Landroidx/fragment/app/FragmentManager;->executePendingTransactions()Z
invoke-virtual {v1}, Landroidx/fragment/app/DialogFragment;->getDialog()Landroid/app/Dialog;
move-result-object v0
if-nez v0, :cond_0
return-void
:cond_0
iget-object v0, v1, Le/b/a/a/a;->d:Landroidx/viewpager/widget/ViewPager;
if-eqz v0, :cond_1
invoke-virtual {v0, p1}, Landroidx/viewpager/widget/ViewPager;->setCurrentItem(I)V
:cond_1
invoke-virtual {v1}, Landroidx/fragment/app/DialogFragment;->getDialog()Landroid/app/Dialog;
move-result-object p1
if-eqz p1, :cond_2
new-instance v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$b;
invoke-direct {v0, p0, v1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$b;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;Le/b/a/a/a;)V
invoke-virtual {p1, v0}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V
:cond_2
new-instance p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment$c;
invoke-direct {p1, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$c;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
iput-object p1, v1, Le/b/a/a/a;->i:Lkotlin/jvm/functions/Function1;
return-void
.end method
.method public final a(Landroid/content/res/TypedArray;)V
.locals 4
sget v0, Lcom/lytefast/flexinput/R$i;->FlexInput_hint:I
invoke-virtual {p1, v0}, Landroid/content/res/TypedArray;->getText(I)Ljava/lang/CharSequence;
move-result-object v0
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
const-string v2, "inputEt"
const/4 v3, 0x0
if-nez v1, :cond_1
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
if-eqz v1, :cond_0
invoke-virtual {v1, v0}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V
goto :goto_0
:cond_0
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v3
:cond_1
:goto_0
sget v0, Lcom/lytefast/flexinput/R$i;->FlexInput_hintColor:I
invoke-virtual {p1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result v0
if-eqz v0, :cond_3
sget v0, Lcom/lytefast/flexinput/R$i;->FlexInput_hintColor:I
const v1, -0x333334
invoke-virtual {p1, v0, v1}, Landroid/content/res/TypedArray;->getColor(II)I
move-result v0
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
if-eqz v1, :cond_2
invoke-virtual {v1, v0}, Landroid/widget/EditText;->setHintTextColor(I)V
goto :goto_1
:cond_2
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v3
:cond_3
:goto_1
sget v0, Lcom/lytefast/flexinput/R$i;->FlexInput_previewBackground:I
invoke-virtual {p1, v0}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
move-result-object p1
if-eqz p1, :cond_5
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getView()Landroid/view/View;
move-result-object v0
invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e:Landroid/view/View;
if-eqz v0, :cond_4
invoke-virtual {v0, p1}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V
goto :goto_2
:cond_4
const-string p1, "attachmentPreviewContainer"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v3
:cond_5
:goto_2
return-void
.end method
.method public final a(Landroid/text/Editable;)V
.locals 4
iget-boolean v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->w:Z
const/4 v1, 0x0
const/4 v2, 0x1
const/4 v3, 0x0
if-eqz v0, :cond_4
if-eqz p1, :cond_1
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
move-result p1
if-lez p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
if-eq p1, v2, :cond_2
:cond_1
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
if-eqz p1, :cond_3
invoke-virtual {p1}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->getItemCount()I
move-result p1
if-lez p1, :cond_4
:cond_2
const/4 v1, 0x1
goto :goto_1
:cond_3
const-string p1, "attachmentPreviewAdapter"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v3
:cond_4
:goto_1
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->k:Landroid/view/View;
if-eqz p1, :cond_6
invoke-virtual {p1, v1}, Landroid/view/View;->setEnabled(Z)V
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->l:Landroid/view/View;
if-eqz p1, :cond_5
invoke-virtual {p1, v1}, Landroid/view/View;->setEnabled(Z)V
return-void
:cond_5
const-string p1, "sendBtn"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v3
:cond_6
const-string p1, "sendBtnImage"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v3
.end method
.method public final a(Landroidx/appcompat/widget/AppCompatEditText;)V
.locals 1
if-eqz p1, :cond_0
new-instance v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$d;
invoke-direct {v0, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$d;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
invoke-virtual {p1, v0}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V
:cond_0
if-eqz p1, :cond_1
new-instance v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$e;
invoke-direct {v0, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$e;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
invoke-virtual {p1, v0}, Landroid/widget/EditText;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V
:cond_1
if-eqz p1, :cond_2
new-instance v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$f;
invoke-direct {v0, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$f;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
invoke-virtual {p1, v0}, Landroid/widget/EditText;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V
:cond_2
instance-of v0, p1, Lcom/lytefast/flexinput/widget/FlexEditText;
if-eqz v0, :cond_3
check-cast p1, Lcom/lytefast/flexinput/widget/FlexEditText;
invoke-virtual {p1}, Lcom/lytefast/flexinput/widget/FlexEditText;->getInputContentHandler()Lkotlin/jvm/functions/Function1;
move-result-object v0
if-nez v0, :cond_3
new-instance v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$g;
invoke-direct {v0, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$g;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
invoke-virtual {p1, v0}, Lcom/lytefast/flexinput/widget/FlexEditText;->setInputContentHandler(Lkotlin/jvm/functions/Function1;)V
:cond_3
return-void
.end method
.method public a(Lcom/lytefast/flexinput/managers/FileManager;)V
.locals 0
if-eqz p1, :cond_0
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->t:Lcom/lytefast/flexinput/managers/FileManager;
return-void
:cond_0
const-string p1, "<set-?>"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public a(Lcom/lytefast/flexinput/model/Attachment;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/lytefast/flexinput/model/Attachment<",
"+",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_2
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v1
const-string v2, "Add Content"
invoke-virtual {v1, v2}, Landroidx/fragment/app/FragmentManager;->findFragmentByTag(Ljava/lang/String;)Landroidx/fragment/app/Fragment;
move-result-object v1
check-cast v1, Landroidx/fragment/app/DialogFragment;
new-instance v2, Lcom/lytefast/flexinput/utils/SelectionCoordinator;
const/4 v3, 0x3
invoke-direct {v2, v0, v0, v3}, Lcom/lytefast/flexinput/utils/SelectionCoordinator;-><init>(Landroidx/collection/ArrayMap;Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;I)V
iget-object v3, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
if-eqz v3, :cond_1
invoke-virtual {v3}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
move-result-object v3
invoke-virtual {v3, v2}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->registerSelectionCoordinator(Lcom/lytefast/flexinput/utils/SelectionCoordinator;)V
const/4 v3, 0x0
invoke-virtual {v2, p1, v3}, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->b(Ljava/lang/Object;I)V
invoke-virtual {v2}, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->b()V
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->i:Landroidx/recyclerview/widget/RecyclerView;
if-eqz p1, :cond_0
new-instance v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$a;
invoke-direct {v0, v1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$a;-><init>(Landroidx/fragment/app/DialogFragment;)V
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->post(Ljava/lang/Runnable;)Z
return-void
:cond_0
const-string p1, "attachmentPreviewList"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "attachmentPreviewAdapter"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v0
:cond_2
const-string p1, "attachment"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public final a(Ljava/lang/String;)V
.locals 3
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
const/4 v1, 0x0
const-string v2, "inputEt"
if-eqz v0, :cond_3
invoke-virtual {v0, p1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_2
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
if-eqz v0, :cond_1
if-eqz p1, :cond_0
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result p1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
invoke-virtual {v0, p1}, Landroid/widget/EditText;->setSelection(I)V
goto :goto_1
:cond_1
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
:cond_2
:goto_1
return-void
:cond_3
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
.end method
.method public final a(Z)V
.locals 3
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v0
sget v1, Lcom/lytefast/flexinput/R$e;->flex_input_emoji_container:I
invoke-virtual {v0, v1}, Landroidx/fragment/app/FragmentManager;->findFragmentById(I)Landroidx/fragment/app/Fragment;
move-result-object v0
if-eqz v0, :cond_1
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->isAdded()Z
move-result v1
const/4 v2, 0x1
if-ne v1, v2, :cond_1
instance-of v1, v0, Le/b/a/e/b;
if-nez v1, :cond_0
const/4 v0, 0x0
:cond_0
check-cast v0, Le/b/a/e/b;
if-eqz v0, :cond_1
invoke-interface {v0, p1}, Le/b/a/e/b;->isShown(Z)V
:cond_1
return-void
.end method
.method public final a(Landroid/view/MotionEvent;)Z
.locals 1
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
move-result p1
const/4 v0, 0x1
if-ne p1, v0, :cond_0
invoke-virtual {p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e()Z
move-result p1
invoke-virtual {p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->h()V
return p1
:cond_0
const/4 p1, 0x0
return p1
.end method
.method public final b(Landroidx/appcompat/widget/AppCompatEditText;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
.locals 2
const/4 v0, 0x0
if-eqz p1, :cond_1
sget v1, Lcom/lytefast/flexinput/R$e;->flex_input_text_input:I
invoke-virtual {p1, v1}, Landroid/widget/EditText;->setId(I)V
const/4 v1, 0x1
invoke-virtual {p1, v1}, Landroid/widget/EditText;->setFocusable(Z)V
invoke-virtual {p1, v1}, Landroid/widget/EditText;->setFocusableInTouchMode(Z)V
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->g:Landroid/view/ViewGroup;
if-eqz v1, :cond_0
new-instance v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$j;
invoke-direct {v0, p0, p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$j;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;Landroidx/appcompat/widget/AppCompatEditText;)V
invoke-virtual {v1, v0}, Landroid/view/ViewGroup;->post(Ljava/lang/Runnable;)Z
return-object p0
:cond_0
const-string p1, "inputContainer"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "customEditText"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public final b(Z)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
.locals 3
sget-object v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$k;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment$k;
iput-boolean p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->w:Z
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->g:Landroid/view/ViewGroup;
const/4 v2, 0x0
if-eqz v1, :cond_3
invoke-virtual {v0, v1, p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$k;->a(Landroid/view/ViewGroup;Z)V
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->d:Landroid/view/ViewGroup;
if-eqz v1, :cond_2
invoke-virtual {v0, v1, p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$k;->a(Landroid/view/ViewGroup;Z)V
if-eqz p1, :cond_1
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
if-eqz p1, :cond_0
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatEditText;->getText()Landroid/text/Editable;
move-result-object p1
invoke-virtual {p0, p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Landroid/text/Editable;)V
goto :goto_0
:cond_0
const-string p1, "inputEt"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v2
:cond_1
:goto_0
return-object p0
:cond_2
const-string p1, "leftBtnsContainer"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v2
:cond_3
const-string p1, "inputContainer"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v2
.end method
.method public b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/lytefast/flexinput/utils/SelectionAggregator<",
"Lcom/lytefast/flexinput/model/Attachment<",
"Ljava/lang/Object;",
">;>;"
}
.end annotation
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
move-result-object v0
return-object v0
:cond_0
const-string v0, "attachmentPreviewAdapter"
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
const/4 v0, 0x0
throw v0
.end method
.method public final c()V
.locals 3
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
const/4 v1, 0x0
if-eqz v0, :cond_2
invoke-virtual {v0}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->a()V
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e:Landroid/view/View;
if-eqz v0, :cond_1
const/16 v2, 0x8
invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
if-eqz v0, :cond_0
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatEditText;->getText()Landroid/text/Editable;
move-result-object v0
invoke-virtual {p0, v0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Landroid/text/Editable;)V
return-void
:cond_0
const-string v0, "inputEt"
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
:cond_1
const-string v0, "attachmentPreviewContainer"
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
:cond_2
const-string v0, "attachmentPreviewAdapter"
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
.end method
.method public final d()[Le/b/a/b/a$b;
.locals 3
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->v:[Le/b/a/b/a$b;
const/4 v1, 0x0
const-string v2, "pageSuppliers"
if-eqz v0, :cond_3
array-length v0, v0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
sget-object v0, Le/b/a/b/a;->b:Le/b/a/b/a$a;
invoke-virtual {v0}, Le/b/a/b/a$a;->a()[Le/b/a/b/a$b;
move-result-object v0
goto :goto_1
:cond_1
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->v:[Le/b/a/b/a$b;
if-eqz v0, :cond_2
:goto_1
return-object v0
:cond_2
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
:cond_3
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
.end method
.method public final e()Z
.locals 4
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->h:Landroid/view/View;
const-string v1, "emojiContainer"
const/4 v2, 0x0
if-eqz v0, :cond_3
invoke-virtual {v0}, Landroid/view/View;->isShown()Z
move-result v0
const/4 v3, 0x0
if-nez v0, :cond_0
return v3
:cond_0
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->h:Landroid/view/View;
if-eqz v0, :cond_2
const/16 v1, 0x8
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->j:Landroid/widget/ImageView;
if-eqz v0, :cond_1
sget v1, Lcom/lytefast/flexinput/R$d;->ic_emoji_24dp:I
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V
invoke-virtual {p0, v3}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Z)V
const/4 v0, 0x1
return v0
:cond_1
const-string v0, "emojiBtn"
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v2
:cond_2
invoke-static {v1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v2
:cond_3
invoke-static {v1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v2
.end method
.method public final f()Z
.locals 1
iget-boolean v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->w:Z
return v0
.end method
.method public final g()V
.locals 5
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->s:Lcom/lytefast/flexinput/InputListener;
const-string v1, "inputEt"
const/4 v2, 0x0
if-eqz v0, :cond_2
iget-object v3, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
if-eqz v3, :cond_1
invoke-virtual {v3}, Landroidx/appcompat/widget/AppCompatEditText;->getText()Landroid/text/Editable;
move-result-object v3
iget-object v4, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
if-eqz v4, :cond_0
invoke-virtual {v4}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
move-result-object v4
invoke-virtual {v4}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->getAttachments()Ljava/util/ArrayList;
move-result-object v4
invoke-interface {v0, v3, v4}, Lcom/lytefast/flexinput/InputListener;->onSend(Landroid/text/Editable;Ljava/util/List;)Z
move-result v0
goto :goto_0
:cond_0
const-string v0, "attachmentPreviewAdapter"
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v2
:cond_1
invoke-static {v1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v2
:cond_2
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_4
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
if-eqz v0, :cond_3
const-string v1, ""
invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V
invoke-virtual {p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->c()V
goto :goto_1
:cond_3
invoke-static {v1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v2
:cond_4
:goto_1
return-void
.end method
.method public getFileManager()Lcom/lytefast/flexinput/managers/FileManager;
.locals 1
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->t:Lcom/lytefast/flexinput/managers/FileManager;
if-eqz v0, :cond_0
return-object v0
:cond_0
const-string v0, "fileManager"
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
const/4 v0, 0x0
throw v0
.end method
.method public final h()V
.locals 4
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
const/4 v1, 0x0
const-string v2, "inputEt"
if-eqz v0, :cond_2
const/4 v3, 0x1
invoke-virtual {v0, v3}, Landroid/widget/EditText;->setFocusableInTouchMode(Z)V
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
if-eqz v0, :cond_1
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->r:Le/b/a/c/a;
if-eqz v1, :cond_0
invoke-interface {v1, v0}, Le/b/a/c/a;->requestDisplay(Landroid/widget/EditText;)V
:cond_0
return-void
:cond_1
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
:cond_2
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
.end method
.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
.locals 12
const/4 p3, 0x0
if-eqz p1, :cond_16
sget v0, Lcom/lytefast/flexinput/R$f;->flex_input_widget:I
const/4 v1, 0x0
invoke-virtual {p1, v0, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
move-result-object p1
if-eqz p1, :cond_15
check-cast p1, Landroid/widget/LinearLayout;
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_attachment_preview_container:I
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p2
const-string v0, "root.findViewById(R.id.f\u2026chment_preview_container)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e:Landroid/view/View;
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_attachment_clear_btn:I
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p2
const-string v0, "root.findViewById(R.id.f\u2026put_attachment_clear_btn)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->f:Landroid/view/View;
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_main_input_container:I
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p2
const-string v0, "root.findViewById(R.id.f\u2026put_main_input_container)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p2, Landroid/view/ViewGroup;
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->g:Landroid/view/ViewGroup;
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_emoji_container:I
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p2
const-string v0, "root.findViewById(R.id.flex_input_emoji_container)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->h:Landroid/view/View;
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_attachment_preview_list:I
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p2
const-string v0, "root.findViewById(R.id.f\u2026_attachment_preview_list)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p2, Landroidx/recyclerview/widget/RecyclerView;
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->i:Landroidx/recyclerview/widget/RecyclerView;
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_container:I
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p2
const-string v0, "root.findViewById(R.id.flex_input_container)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p2, Landroid/view/ViewGroup;
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_left_btns_container:I
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p2
const-string v0, "root.findViewById(R.id.f\u2026nput_left_btns_container)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p2, Landroid/view/ViewGroup;
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->d:Landroid/view/ViewGroup;
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_text_input:I
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p2
const-string v0, "root.findViewById(R.id.flex_input_text_input)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p2, Landroidx/appcompat/widget/AppCompatEditText;
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_emoji_btn:I
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p2
const-string v0, "root.findViewById(R.id.flex_input_emoji_btn)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p2, Landroid/widget/ImageView;
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->j:Landroid/widget/ImageView;
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_send_btn_image:I
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p2
const-string v0, "root.findViewById(R.id.flex_input_send_btn_image)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->k:Landroid/view/View;
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_send_btn_container:I
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p2
const-string v0, "root.findViewById(R.id.f\u2026input_send_btn_container)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->l:Landroid/view/View;
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_camera_btn:I
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p2
const-string v0, "root.findViewById(R.id.flex_input_camera_btn)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o:Landroid/view/View;
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_gallery_btn:I
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p2
const-string v0, "root.findViewById(R.id.flex_input_gallery_btn)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroid/view/View;
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_expand_btn:I
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p2
const-string v0, "root.findViewById(R.id.flex_input_expand_btn)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p:Landroid/view/View;
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->f:Landroid/view/View;
const-string v0, "attachmentClearButton"
if-eqz p2, :cond_14
new-instance v2, Lcom/lytefast/flexinput/fragment/FlexInputFragment$h;
invoke-direct {v2, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$h;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
invoke-virtual {p2, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
if-eqz p2, :cond_13
invoke-virtual {p0, p2}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Landroidx/appcompat/widget/AppCompatEditText;)V
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->j:Landroid/widget/ImageView;
const-string v2, "emojiBtn"
if-eqz p2, :cond_12
new-instance v3, Lf;
invoke-direct {v3, v1, p0}, Lf;-><init>(ILjava/lang/Object;)V
invoke-virtual {p2, v3}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->l:Landroid/view/View;
const-string v3, "sendBtn"
if-eqz p2, :cond_11
new-instance v4, Lf;
const/4 v5, 0x1
invoke-direct {v4, v5, p0}, Lf;-><init>(ILjava/lang/Object;)V
invoke-virtual {p2, v4}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o:Landroid/view/View;
const-string v4, "cameraBtn"
if-eqz p2, :cond_10
new-instance v6, Lf;
const/4 v7, 0x2
invoke-direct {v6, v7, p0}, Lf;-><init>(ILjava/lang/Object;)V
invoke-virtual {p2, v6}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroid/view/View;
const-string v6, "galleryBtn"
if-eqz p2, :cond_f
new-instance v8, Lf;
const/4 v9, 0x3
invoke-direct {v8, v9, p0}, Lf;-><init>(ILjava/lang/Object;)V
invoke-virtual {p2, v8}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p:Landroid/view/View;
const-string v8, "expandBtn"
if-eqz p2, :cond_e
new-instance v10, Lf;
const/4 v11, 0x4
invoke-direct {v10, v11, p0}, Lf;-><init>(ILjava/lang/Object;)V
invoke-virtual {p2, v10}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
const/4 p2, 0x6
new-array p2, p2, [Landroid/view/View;
iget-object v10, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->f:Landroid/view/View;
if-eqz v10, :cond_d
aput-object v10, p2, v1
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroid/view/View;
if-eqz v0, :cond_c
aput-object v0, p2, v5
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o:Landroid/view/View;
if-eqz v0, :cond_b
aput-object v0, p2, v7
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->j:Landroid/widget/ImageView;
if-eqz v0, :cond_a
aput-object v0, p2, v9
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->l:Landroid/view/View;
if-eqz v0, :cond_9
aput-object v0, p2, v11
const/4 v0, 0x5
iget-object v3, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p:Landroid/view/View;
if-eqz v3, :cond_8
aput-object v3, p2, v0
invoke-static {p2}, Le/k/a/c/e/p/g;->listOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object p2
invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p2
:goto_0
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_0
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/View;
new-instance v3, Le/b/a/a/f;
invoke-direct {v3, p0}, Le/b/a/a/f;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
invoke-virtual {v0, v3}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
goto :goto_0
:cond_0
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object p2
sget v0, Lcom/lytefast/flexinput/R$e;->flex_input_emoji_container:I
invoke-virtual {p2, v0}, Landroidx/fragment/app/FragmentManager;->findFragmentById(I)Landroidx/fragment/app/Fragment;
move-result-object p2
if-eqz p2, :cond_2
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->j:Landroid/widget/ImageView;
if-eqz p2, :cond_1
invoke-virtual {p2, v1}, Landroid/widget/ImageView;->setVisibility(I)V
goto :goto_1
:cond_1
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_2
:goto_1
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->h:Landroid/view/View;
const-string v0, "emojiContainer"
if-eqz p2, :cond_7
invoke-virtual {p2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object p2
if-eqz p2, :cond_6
check-cast p2, Landroid/widget/LinearLayout$LayoutParams;
new-instance v1, Landroid/graphics/Point;
invoke-direct {v1}, Landroid/graphics/Point;-><init>()V
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v2
const-string v3, "requireActivity()"
invoke-static {v2, v3}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v2}, Landroid/app/Activity;->getWindowManager()Landroid/view/WindowManager;
move-result-object v2
if-eqz v2, :cond_4
invoke-interface {v2}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;
move-result-object v2
if-eqz v2, :cond_4
invoke-virtual {v2, v1}, Landroid/view/Display;->getSize(Landroid/graphics/Point;)V
const v2, 0x3ecccccd # 0.4f
iget v1, v1, Landroid/graphics/Point;->y:I
int-to-float v1, v1
mul-float v1, v1, v2
float-to-int v1, v1
iput v1, p2, Landroid/widget/LinearLayout$LayoutParams;->height:I
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->h:Landroid/view/View;
if-eqz v1, :cond_3
invoke-virtual {v1, p2}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
goto :goto_2
:cond_3
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_4
:goto_2
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->q:Ljava/lang/Runnable;
if-eqz p2, :cond_5
invoke-interface {p2}, Ljava/lang/Runnable;->run()V
:cond_5
iput-object p3, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->q:Ljava/lang/Runnable;
new-instance p2, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
move-result-object v0
const-string v1, "requireContext()"
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v0
const-string v1, "requireContext().contentResolver"
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p2, v0, p3}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;-><init>(Landroid/content/ContentResolver;Lkotlin/jvm/functions/Function1;)V
invoke-virtual {p0, p2}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
return-object p1
:cond_6
new-instance p1, Ly/l;
const-string p2, "null cannot be cast to non-null type android.widget.LinearLayout.LayoutParams"
invoke-direct {p1, p2}, Ly/l;-><init>(Ljava/lang/String;)V
throw p1
:cond_7
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_8
invoke-static {v8}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_9
invoke-static {v3}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_a
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_b
invoke-static {v4}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_c
invoke-static {v6}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_d
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_e
invoke-static {v8}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_f
invoke-static {v6}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_10
invoke-static {v4}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_11
invoke-static {v3}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_12
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_13
const-string p1, "inputEt"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_14
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw p3
:cond_15
new-instance p1, Ly/l;
const-string p2, "null cannot be cast to non-null type android.widget.LinearLayout"
invoke-direct {p1, p2}, Ly/l;-><init>(Ljava/lang/String;)V
throw p1
:cond_16
const-string p1, "inflater"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw p3
.end method
.method public onInflate(Landroid/content/Context;Landroid/util/AttributeSet;Landroid/os/Bundle;)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
invoke-super {p0, p1, p2, p3}, Landroidx/fragment/app/Fragment;->onInflate(Landroid/content/Context;Landroid/util/AttributeSet;Landroid/os/Bundle;)V
new-instance p3, Lcom/lytefast/flexinput/fragment/FlexInputFragment$i;
invoke-direct {p3, p0, p1, p2}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$i;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;Landroid/content/Context;Landroid/util/AttributeSet;)V
iput-object p3, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->q:Ljava/lang/Runnable;
new-instance p2, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object p1
const-string p3, "context.contentResolver"
invoke-static {p1, p3}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const/4 p3, 0x2
invoke-direct {p2, p1, v0, p3}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;-><init>(Landroid/content/ContentResolver;Lkotlin/jvm/functions/Function1;I)V
invoke-virtual {p2}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
move-result-object p1
new-instance p3, Le/b/a/a/g;
invoke-direct {p3, p0}, Le/b/a/a/g;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
invoke-virtual {p1, p3}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->addItemSelectionListener(Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;)Lcom/lytefast/flexinput/utils/SelectionAggregator;
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
return-void
:cond_0
const-string p1, "attrs"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "context"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public onPause()V
.locals 1
invoke-virtual {p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e()Z
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->r:Le/b/a/c/a;
if-eqz v0, :cond_0
invoke-interface {v0}, Le/b/a/c/a;->requestHide()V
:cond_0
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onPause()V
return-void
.end method
.method public onSaveInstanceState(Landroid/os/Bundle;)V
.locals 3
const/4 v0, 0x0
if-eqz p1, :cond_2
invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onSaveInstanceState(Landroid/os/Bundle;)V
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
if-eqz v1, :cond_1
invoke-virtual {v1}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
move-result-object v1
invoke-virtual {v1}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->getAttachments()Ljava/util/ArrayList;
move-result-object v1
const-string v2, "FlexInput.ATTACHMENTS"
invoke-virtual {p1, v2, v1}, Landroid/os/Bundle;->putParcelableArrayList(Ljava/lang/String;Ljava/util/ArrayList;)V
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
if-eqz v1, :cond_0
invoke-virtual {v1}, Landroidx/appcompat/widget/AppCompatEditText;->getText()Landroid/text/Editable;
move-result-object v0
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
const-string v1, "FlexInput.TEXT"
invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
return-void
:cond_0
const-string p1, "inputEt"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "attachmentPreviewAdapter"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v0
:cond_2
const-string p1, "outState"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
.locals 2
const/4 v0, 0x0
if-eqz p1, :cond_3
if-eqz p2, :cond_2
const-string p1, "FlexInput.ATTACHMENTS"
invoke-virtual {p2, p1}, Landroid/os/Bundle;->getParcelableArrayList(Ljava/lang/String;)Ljava/util/ArrayList;
move-result-object p1
if-eqz p1, :cond_1
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
move-result v1
if-lez v1, :cond_1
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
if-eqz v1, :cond_0
invoke-virtual {v1}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->initFrom(Ljava/util/ArrayList;)Lcom/lytefast/flexinput/utils/SelectionAggregator;
goto :goto_0
:cond_0
const-string p1, "attachmentPreviewAdapter"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v0
:cond_1
:goto_0
const-string p1, "FlexInput.TEXT"
invoke-virtual {p2, p1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-virtual {p0, p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Ljava/lang/String;)V
:cond_2
return-void
:cond_3
const-string p1, "view"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method