2019-07-24 11:27:29 +00:00
|
|
|
.class public Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
.super Landroidx/fragment/app/Fragment;
|
2020-03-27 22:23:51 +00:00
|
|
|
.source "FlexInputFragment.kt"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# 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
|
2020-04-17 17:35:24 +00:00
|
|
|
.field public static final A:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public d:Landroid/view/ViewGroup;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public e:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public f:Landroid/view/View;
|
2019-08-30 20:04:20 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public g:Landroid/view/ViewGroup;
|
2019-12-03 21:42:56 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public h:Landroid/view/View;
|
2019-12-03 21:42:56 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public i:Landroidx/recyclerview/widget/RecyclerView;
|
2019-12-03 21:42:56 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.field public j:Landroid/view/View;
|
2019-12-03 21:42:56 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.field public k:Landroid/widget/ImageView;
|
2019-12-03 21:42:56 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public l:Landroid/view/View;
|
2019-12-03 21:42:56 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.field public m:Landroid/view/View;
|
2019-12-03 21:42:56 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.field public n:Landroidx/appcompat/widget/AppCompatEditText;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public o:Landroid/view/View;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public p:Landroid/view/View;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.field public q:Landroid/view/View;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.field public r:Ljava/lang/Runnable;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.field public s:Lf/b/a/c/a;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.field public t:Lcom/lytefast/flexinput/InputListener;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.field public u:Lcom/lytefast/flexinput/managers/FileManager;
|
|
|
|
|
|
|
|
.field public v:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
2019-11-14 21:08:15 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter<",
|
|
|
|
"Lcom/lytefast/flexinput/model/Attachment<",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-11-13 02:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.field public w:[Lf/b/a/b/a$b;
|
|
|
|
|
|
|
|
.field public x:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
2019-12-06 01:29:57 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.field public y:Lrx/Subscription;
|
|
|
|
|
|
|
|
.field public z:Lrx/Subscription;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static constructor <clinit>()V
|
2020-03-27 22:23:51 +00:00
|
|
|
.locals 2
|
2019-08-30 20:04:20 +00:00
|
|
|
|
|
|
|
const-class v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v1, "FlexInputFragment::class.java.name"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
sput-object v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->A:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
2020-04-17 17:35:24 +00:00
|
|
|
.locals 0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Landroidx/fragment/app/Fragment;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public static final synthetic a(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
2020-03-26 05:26:27 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object p0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->v:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "attachmentPreviewAdapter"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2020-03-26 05:26:27 +00:00
|
|
|
.end method
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.method public static final synthetic a(Lcom/lytefast/flexinput/fragment/FlexInputFragment;I)V
|
2020-04-17 17:35:24 +00:00
|
|
|
.locals 3
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v0}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const-string v1, "childFragmentManager.beginTransaction()"
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v1, Lf/b/a/a/a;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v1}, Lf/b/a/a/a;-><init>()V
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const-string v2, "Add Content"
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v1, v0, v2}, Lf/b/a/a/a;->show(Landroidx/fragment/app/FragmentTransaction;Ljava/lang/String;)I
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v0}, Landroidx/fragment/app/FragmentManager;->executePendingTransactions()Z
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v1}, Landroidx/fragment/app/DialogFragment;->getDialog()Landroid/app/Dialog;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-nez v0, :cond_0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_0
|
|
|
|
invoke-virtual {v1, p1}, Lf/b/a/a/a;->a(I)V
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance p1, Lf/b/a/a/f;
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Lf/b/a/a/f;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
|
|
|
|
|
|
|
iget-object v0, v1, Lf/b/a/a/a;->j:Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
iget-object v2, v1, Lf/b/a/a/a;->d:Landroidx/viewpager/widget/ViewPager;
|
|
|
|
|
|
|
|
if-eqz v2, :cond_1
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v2, v0}, Landroidx/viewpager/widget/ViewPager;->removeOnPageChangeListener(Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;)V
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iput-object p1, v1, Lf/b/a/a/a;->j:Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;
|
|
|
|
|
|
|
|
iget-object p1, v1, Lf/b/a/a/a;->j:Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
iget-object v0, v1, Lf/b/a/a/a;->d:Landroidx/viewpager/widget/ViewPager;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v0, p1}, Landroidx/viewpager/widget/ViewPager;->addOnPageChangeListener(Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;)V
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_2
|
|
|
|
invoke-virtual {v1}, Landroidx/fragment/app/DialogFragment;->getDialog()Landroid/app/Dialog;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
move-result-object p1
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p1, :cond_3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v0, Lf/b/a/a/g;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v0, p0}, Lf/b/a/a/g;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance p1, Lf/b/a/a/h;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {p1, p0}, Lf/b/a/a/h;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
2020-03-26 23:31:08 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p1, v1, Lf/b/a/a/a;->i:Lkotlin/jvm/functions/Function1;
|
2020-03-26 23:31:08 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:goto_0
|
|
|
|
return-void
|
2020-03-26 05:26:27 +00:00
|
|
|
.end method
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public static final synthetic a(Lcom/lytefast/flexinput/fragment/FlexInputFragment;Landroid/content/res/TypedArray;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p0, p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Landroid/content/res/TypedArray;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public static final synthetic a(Lcom/lytefast/flexinput/fragment/FlexInputFragment;Lcom/lytefast/flexinput/viewmodel/FlexInputState;)V
|
|
|
|
.locals 0
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p0, p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Lcom/lytefast/flexinput/viewmodel/FlexInputState;)V
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public static final synthetic a(Lcom/lytefast/flexinput/fragment/FlexInputFragment;Lf/b/a/f/a;)V
|
|
|
|
.locals 0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p0, p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Lf/b/a/f/a;)V
|
|
|
|
|
|
|
|
return-void
|
2020-03-27 22:23:51 +00:00
|
|
|
.end method
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public static final synthetic b(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Landroid/widget/ImageView;
|
2020-04-11 15:34:05 +00:00
|
|
|
.locals 0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object p0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->k:Landroid/widget/ImageView;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
if-eqz p0, :cond_0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
return-object p0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
:cond_0
|
2020-04-17 17:35:24 +00:00
|
|
|
const-string p0, "emojiBtn"
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
const/4 p0, 0x0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
throw p0
|
2020-03-26 05:26:27 +00:00
|
|
|
.end method
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public static final synthetic c(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Landroid/view/ViewGroup;
|
2020-03-26 05:26:27 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object p0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->g:Landroid/view/ViewGroup;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p0, :cond_0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
return-object p0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_0
|
|
|
|
const-string p0, "inputContainer"
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 16:36:30 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw p0
|
|
|
|
.end method
|
2020-03-26 23:31:08 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public static final synthetic d(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Landroidx/appcompat/widget/AppCompatEditText;
|
|
|
|
.locals 0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object p0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroidx/appcompat/widget/AppCompatEditText;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p0, :cond_0
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
return-object p0
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_0
|
|
|
|
const-string p0, "inputEt"
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 p0, 0x0
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw p0
|
2020-03-27 22:23:51 +00:00
|
|
|
.end method
|
2020-03-26 05:26:27 +00:00
|
|
|
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
# virtual methods
|
|
|
|
.method public final a(Landroidx/fragment/app/Fragment;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
.locals 3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-nez p1, :cond_0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
return-object p0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object v0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v0}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object v0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget v1, Lcom/lytefast/flexinput/R$e;->flex_input_emoji_container:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object v2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object v2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v0, v1, p1, v2}, Landroidx/fragment/app/FragmentTransaction;->replace(ILandroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object p1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1}, Landroidx/fragment/app/FragmentTransaction;->commit()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->k:Landroid/widget/ImageView;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const/4 v0, 0x0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setVisibility(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
return-object p0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p1, "emojiBtn"
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const/4 p1, 0x0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p1
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.method public final a(Lcom/lytefast/flexinput/InputListener;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
.locals 0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eqz p1, :cond_0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->t:Lcom/lytefast/flexinput/InputListener;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
return-object p0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_0
|
|
|
|
const-string p1, "inputListener"
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const/4 p1, 0x0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.method public final a(Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
2020-03-26 05:26:27 +00:00
|
|
|
.locals 4
|
2019-12-06 03:29:40 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
2020-03-27 22:23:51 +00:00
|
|
|
"Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter<",
|
2019-12-06 03:29:40 +00:00
|
|
|
"Lcom/lytefast/flexinput/model/Attachment<",
|
2020-03-27 22:23:51 +00:00
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;>;)",
|
|
|
|
"Lcom/lytefast/flexinput/fragment/FlexInputFragment;"
|
2019-12-06 03:29:40 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eqz p1, :cond_3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object v1
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->v:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v3, "attachmentPreviewAdapter"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eqz v2, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v2}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object v2
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v1, v2}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->initFrom(Lcom/lytefast/flexinput/utils/SelectionAggregator;)Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->v:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->i:Landroidx/recyclerview/widget/RecyclerView;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eqz p1, :cond_1
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->v:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eqz v1, :cond_0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1, v1}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
return-object p0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_0
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw v0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p1, "attachmentPreviewList"
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_2
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_3
|
|
|
|
const-string p1, "previewAdapter"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw v0
|
|
|
|
.end method
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public final a(Lf/b/a/c/a;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
2020-03-27 22:23:51 +00:00
|
|
|
.locals 0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->s:Lf/b/a/c/a;
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
return-object p0
|
|
|
|
.end method
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public final a([Lf/b/a/b/a$b;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
2020-03-27 22:23:51 +00:00
|
|
|
.locals 0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->w:[Lf/b/a/b/a$b;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
return-object p0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-26 23:31:08 +00:00
|
|
|
:cond_0
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string p1, "pageSuppliers"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.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
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroidx/appcompat/widget/AppCompatEditText;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroidx/appcompat/widget/AppCompatEditText;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Landroid/widget/EditText;->setHintTextColor(I)V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
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;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
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"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
throw v3
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
:goto_2
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public final a(Landroidx/appcompat/widget/AppCompatEditText;)V
|
|
|
|
.locals 2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$b;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v0, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$b;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_0
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$c;
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v0, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$c;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/EditText;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_1
|
|
|
|
instance-of v0, p1, Lcom/lytefast/flexinput/widget/FlexEditText;
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v0, :cond_2
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-object v0, p1
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
check-cast v0, Lcom/lytefast/flexinput/widget/FlexEditText;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v0}, Lcom/lytefast/flexinput/widget/FlexEditText;->getInputContentHandler()Lkotlin/jvm/functions/Function1;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-nez v1, :cond_2
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v1, Lcom/lytefast/flexinput/fragment/FlexInputFragment$d;
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v1, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$d;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lcom/lytefast/flexinput/widget/FlexEditText;->setInputContentHandler(Lkotlin/jvm/functions/Function1;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
:cond_2
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p1, :cond_3
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/EditText;->setFocusableInTouchMode(Z)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
:cond_3
|
2020-04-17 17:35:24 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public a(Lcom/lytefast/flexinput/managers/FileManager;)V
|
|
|
|
.locals 0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p1, :cond_0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/managers/FileManager;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
return-void
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_0
|
|
|
|
const-string p1, "<set-?>"
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 p1, 0x0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw p1
|
|
|
|
.end method
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public a(Lcom/lytefast/flexinput/model/Attachment;)V
|
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/lytefast/flexinput/model/Attachment<",
|
|
|
|
"+",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v0, 0x0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p1, :cond_4
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v1
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const-string v2, "Add Content"
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v1, v2}, Landroidx/fragment/app/FragmentManager;->findFragmentByTag(Ljava/lang/String;)Landroidx/fragment/app/Fragment;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
check-cast v1, Landroidx/fragment/app/DialogFragment;
|
|
|
|
|
|
|
|
new-instance v2, Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v3, 0x3
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v2, v0, v0, v3}, Lcom/lytefast/flexinput/utils/SelectionCoordinator;-><init>(Landroidx/collection/ArrayMap;Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;I)V
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v3, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->v:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
|
|
|
|
|
|
|
const-string v4, "attachmentPreviewAdapter"
|
|
|
|
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
|
|
|
|
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;->x:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->v:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v2, :cond_0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v2}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->getAttachments()Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-interface {p1, v2}, Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;->onAttachmentsUpdated(Ljava/util/List;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v4}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw v0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
:cond_1
|
2020-04-17 17:35:24 +00:00
|
|
|
:goto_0
|
|
|
|
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->i:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
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
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->post(Ljava/lang/Runnable;)Z
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
return-void
|
2020-04-17 16:36:30 +00:00
|
|
|
|
|
|
|
:cond_2
|
2020-04-17 17:35:24 +00:00
|
|
|
const-string p1, "attachmentPreviewList"
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw v0
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_3
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v4}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p1, "attachment"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw v0
|
|
|
|
.end method
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public final a(Lcom/lytefast/flexinput/viewmodel/FlexInputState;)V
|
|
|
|
.locals 11
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
sget-object v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$e;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment$e;
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v1, Lcom/lytefast/flexinput/fragment/FlexInputFragment$f;
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v1, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$f;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v2, Lcom/lytefast/flexinput/fragment/FlexInputFragment$g;
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v2, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$g;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v3, Lcom/lytefast/flexinput/fragment/FlexInputFragment$h;
|
|
|
|
|
|
|
|
invoke-direct {v3, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$h;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->isAdded()Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-nez v4, :cond_0
|
2020-04-17 16:36:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->d()Z
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result v4
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const-string v5, "inputEt"
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v6, 0x0
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v4, :cond_2
|
2019-12-06 01:29:57 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v4, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->s:Lf/b/a/c/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v4, :cond_3
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v7, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroidx/appcompat/widget/AppCompatEditText;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v7, :cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-interface {v4, v7}, Lf/b/a/c/a;->requestDisplay(Landroid/widget/EditText;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_1
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v5}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw v6
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_2
|
|
|
|
iget-object v4, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->s:Lf/b/a/c/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v4, :cond_3
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-interface {v4}, Lf/b/a/c/a;->requestHide()V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_3
|
|
|
|
:goto_0
|
|
|
|
iget-object v4, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroidx/appcompat/widget/AppCompatEditText;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v4, :cond_28
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v4}, Landroid/widget/EditText;->getEditableText()Landroid/text/Editable;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->e()Ljava/lang/String;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v7
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v4, v7}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result v4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v7, 0x1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
xor-int/2addr v4, v7
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v4, :cond_6
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v4, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroidx/appcompat/widget/AppCompatEditText;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v4, :cond_5
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->e()Ljava/lang/String;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v8
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v4, v8}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v4, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroidx/appcompat/widget/AppCompatEditText;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v4, :cond_4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->e()Ljava/lang/String;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v5
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v5}, Ljava/lang/String;->length()I
|
2019-12-06 01:29:57 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result v5
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v4, v5}, Landroid/widget/EditText;->setSelection(I)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_4
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v5}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw v6
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_5
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v5}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw v6
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_6
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->i()Z
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result v4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v5, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->q:Landroid/view/View;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v5, :cond_27
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/16 v8, 0x8
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v9, 0x0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-nez v4, :cond_7
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v10, 0x0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_2
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_7
|
|
|
|
const/16 v10, 0x8
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:goto_2
|
|
|
|
invoke-virtual {v5, v10}, Landroid/view/View;->setVisibility(I)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v5, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p:Landroid/view/View;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v5, :cond_26
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v4, :cond_8
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v10, 0x0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_3
|
2020-04-04 05:23:01 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_8
|
|
|
|
const/16 v10, 0x8
|
2020-04-04 05:23:01 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:goto_3
|
|
|
|
invoke-virtual {v5, v10}, Landroid/view/View;->setVisibility(I)V
|
2020-04-04 05:23:01 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v5, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o:Landroid/view/View;
|
2020-04-04 05:23:01 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v5, :cond_25
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v4, :cond_9
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v4, 0x0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_9
|
|
|
|
const/16 v4, 0x8
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:goto_4
|
|
|
|
invoke-virtual {v5, v4}, Landroid/view/View;->setVisibility(I)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->b()Z
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result v4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v4, :cond_d
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->e()Ljava/lang/String;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v4, :cond_c
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v4}, Ly/a0/u;->trim(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-interface {v4}, Ljava/lang/CharSequence;->length()I
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result v4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-lez v4, :cond_a
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v4, 0x1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_5
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_a
|
|
|
|
const/4 v4, 0x0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:goto_5
|
|
|
|
if-nez v4, :cond_b
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->c()Ljava/util/List;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-interface {v4}, Ljava/util/Collection;->size()I
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result v4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-lez v4, :cond_d
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_b
|
|
|
|
const/4 v4, 0x1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_6
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_c
|
2020-04-17 19:35:49 +00:00
|
|
|
new-instance p1, Ly/l;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const-string v0, "null cannot be cast to non-null type kotlin.CharSequence"
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-direct {p1, v0}, Ly/l;-><init>(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw p1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_d
|
|
|
|
const/4 v4, 0x0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:goto_6
|
|
|
|
iget-object v5, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->l:Landroid/view/View;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v5, :cond_24
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v5, v4}, Landroid/view/View;->setEnabled(Z)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v5, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroid/view/View;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const-string v10, "sendBtn"
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v5, :cond_23
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v5, v4}, Landroid/view/View;->setEnabled(Z)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->e()Ljava/lang/String;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-interface {v4}, Ljava/lang/CharSequence;->length()I
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result v4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-lez v4, :cond_e
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v4, 0x1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_7
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_e
|
|
|
|
const/4 v4, 0x0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:goto_7
|
|
|
|
if-nez v4, :cond_10
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->c()Ljava/util/List;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v4
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-interface {v4}, Ljava/util/Collection;->size()I
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result v4
|
2020-04-12 02:33:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-lez v4, :cond_f
|
2020-04-12 02:33:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_8
|
2020-04-12 02:33:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_f
|
|
|
|
const/4 v4, 0x0
|
2020-04-12 02:33:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_9
|
2020-04-12 02:33:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_10
|
|
|
|
:goto_8
|
|
|
|
const/4 v4, 0x1
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:goto_9
|
|
|
|
iget-object v5, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroid/view/View;
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v5, :cond_22
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v4, :cond_11
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v10, 0x0
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_a
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_11
|
|
|
|
const/16 v10, 0x8
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:goto_a
|
|
|
|
invoke-virtual {v5, v10}, Landroid/view/View;->setVisibility(I)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v5, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->g:Landroid/view/ViewGroup;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const-string v10, "inputContainer"
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v5, :cond_21
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v5}, Landroid/view/ViewGroup;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v5
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v5, :cond_20
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
check-cast v5, Landroid/widget/RelativeLayout$LayoutParams;
|
2020-04-12 02:33:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-nez v4, :cond_12
|
2020-04-12 02:33:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-static {v8}, Lcom/discord/utilities/dimen/DimenUtils;->dpToPixels(I)I
|
2020-04-12 02:33:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result v4
|
|
|
|
|
|
|
|
goto :goto_b
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
:goto_b
|
|
|
|
iput v4, v5, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I
|
|
|
|
|
|
|
|
iget-object v4, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->g:Landroid/view/ViewGroup;
|
|
|
|
|
|
|
|
if-eqz v4, :cond_1f
|
|
|
|
|
|
|
|
invoke-virtual {v4, v5}, Landroid/view/ViewGroup;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
|
|
|
|
iget-object v4, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e:Landroid/view/View;
|
|
|
|
|
|
|
|
if-eqz v4, :cond_1e
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->c()Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-interface {v5}, Ljava/util/Collection;->size()I
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-lez v5, :cond_13
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->b()Z
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_13
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
goto :goto_c
|
|
|
|
|
|
|
|
:cond_13
|
|
|
|
const/16 v5, 0x8
|
|
|
|
|
|
|
|
:goto_c
|
|
|
|
invoke-virtual {v4, v5}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
|
|
|
|
iget-object v4, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->d:Landroid/view/ViewGroup;
|
|
|
|
|
|
|
|
if-eqz v4, :cond_1d
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->b()Z
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_14
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->a()Z
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_14
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
goto :goto_d
|
|
|
|
|
|
|
|
:cond_14
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
:goto_d
|
|
|
|
invoke-virtual {v0, v4, v5}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$e;->a(Landroid/view/ViewGroup;Z)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
|
2020-04-12 02:33:27 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
move-result-object v0
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const-string v4, "Add Content"
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v0, v4}, Landroidx/fragment/app/FragmentManager;->findFragmentByTag(Ljava/lang/String;)Landroidx/fragment/app/Fragment;
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v0
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
check-cast v0, Lf/b/a/a/a;
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->g()Ljava/lang/Integer;
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v4
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v4, :cond_16
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-nez v0, :cond_15
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->g()Ljava/lang/Integer;
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v0
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result v0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v1, v0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$f;->invoke(I)V
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_e
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_15
|
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->g()Ljava/lang/Integer;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
iget-object v0, v0, Lf/b/a/a/a;->d:Landroidx/viewpager/widget/ViewPager;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_17
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/viewpager/widget/ViewPager;->setCurrentItem(I)V
|
|
|
|
|
|
|
|
goto :goto_e
|
|
|
|
|
|
|
|
:cond_16
|
|
|
|
if-eqz v0, :cond_17
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->isAdded()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-ne v1, v7, :cond_17
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->isDetached()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-nez v1, :cond_17
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Landroidx/fragment/app/DialogFragment;->dismissAllowingStateLoss()V
|
|
|
|
|
|
|
|
:cond_17
|
|
|
|
:goto_e
|
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->j:Landroid/view/View;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v0, :cond_1c
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->b()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-nez v1, :cond_18
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
:cond_18
|
|
|
|
invoke-virtual {v0, v8}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->h()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_19
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$h;->invoke()V
|
|
|
|
|
|
|
|
goto :goto_f
|
|
|
|
|
|
|
|
:cond_19
|
|
|
|
invoke-virtual {v2}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$g;->invoke()Z
|
|
|
|
|
|
|
|
:goto_f
|
|
|
|
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;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
move-result-object v0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v0, :cond_1b
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->isAdded()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-ne v1, v7, :cond_1b
|
|
|
|
|
|
|
|
instance-of v1, v0, Lf/b/a/e/b;
|
|
|
|
|
|
|
|
if-nez v1, :cond_1a
|
|
|
|
|
|
|
|
move-object v0, v6
|
|
|
|
|
|
|
|
:cond_1a
|
|
|
|
check-cast v0, Lf/b/a/e/b;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1b
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->h()Z
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result p1
|
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Lf/b/a/e/b;->isShown(Z)V
|
|
|
|
|
|
|
|
:cond_1b
|
2020-04-17 16:36:30 +00:00
|
|
|
return-void
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_1c
|
|
|
|
const-string p1, "cannotSendText"
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw v6
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_1d
|
|
|
|
const-string p1, "leftBtnsContainer"
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw v6
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_1e
|
|
|
|
const-string p1, "attachmentPreviewContainer"
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw v6
|
|
|
|
|
|
|
|
:cond_1f
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v10}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw v6
|
|
|
|
|
|
|
|
:cond_20
|
2020-04-17 19:35:49 +00:00
|
|
|
new-instance p1, Ly/l;
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
const-string v0, "null cannot be cast to non-null type android.widget.RelativeLayout.LayoutParams"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-direct {p1, v0}, Ly/l;-><init>(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_21
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v10}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw v6
|
|
|
|
|
|
|
|
:cond_22
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v10}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw v6
|
|
|
|
|
|
|
|
:cond_23
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v10}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw v6
|
|
|
|
|
|
|
|
:cond_24
|
|
|
|
const-string p1, "sendBtnImage"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw v6
|
|
|
|
|
|
|
|
:cond_25
|
|
|
|
const-string p1, "galleryBtn"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw v6
|
|
|
|
|
|
|
|
:cond_26
|
|
|
|
const-string p1, "cameraBtn"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw v6
|
|
|
|
|
|
|
|
:cond_27
|
|
|
|
const-string p1, "expandBtn"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw v6
|
|
|
|
|
|
|
|
:cond_28
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v5}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw v6
|
2020-04-17 16:36:30 +00:00
|
|
|
.end method
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public final a(Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->x:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lf/b/a/f/a;)V
|
|
|
|
.locals 2
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
instance-of v0, p1, Lf/b/a/f/a$a;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
const/4 v1, 0x0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
check-cast p1, Lf/b/a/f/a$a;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object p1, p1, Lf/b/a/f/a$a;->a:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-static {v0, p1, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/widget/Toast;->show()V
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
goto :goto_0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
:cond_0
|
2020-04-17 17:35:24 +00:00
|
|
|
instance-of v0, p1, Lf/b/a/f/a$b;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
if-eqz v0, :cond_1
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
move-result-object v0
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
check-cast p1, Lf/b/a/f/a$b;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget p1, p1, Lf/b/a/f/a$b;->a:I
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-static {v0, p1, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object p1
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1}, Landroid/widget/Toast;->show()V
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
return-void
|
|
|
|
.end method
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public final a(Ljava/lang/String;)V
|
|
|
|
.locals 2
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p1, :cond_1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->x:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/16 p1, 0x20
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object p1
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-interface {v0, p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;->onInputTextAppended(Ljava/lang/String;)V
|
2020-04-11 15:34:05 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-04-17 17:35:24 +00:00
|
|
|
return-void
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p1, "emojiText"
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 p1, 0x0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw p1
|
|
|
|
.end method
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public final b(Landroidx/appcompat/widget/AppCompatEditText;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
.locals 2
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v0, 0x0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p1, :cond_1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
sget v1, Lcom/lytefast/flexinput/R$e;->flex_input_text_input:I
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1, v1}, Landroid/widget/EditText;->setId(I)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v1, 0x1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1, v1}, Landroid/widget/EditText;->setFocusable(Z)V
|
2020-04-08 16:24:01 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {p1, v1}, Landroid/widget/EditText;->setFocusableInTouchMode(Z)V
|
2020-04-08 16:24:01 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->g:Landroid/view/ViewGroup;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v1, :cond_0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$m;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v0, p0, p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$m;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;Landroidx/appcompat/widget/AppCompatEditText;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v1, v0}, Landroid/view/ViewGroup;->post(Ljava/lang/Runnable;)Z
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "inputContainer"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "customEditText"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw v0
|
2020-04-11 15:34:05 +00:00
|
|
|
.end method
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
2020-04-11 15:34:05 +00:00
|
|
|
.locals 1
|
2020-04-17 17:35:24 +00:00
|
|
|
.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;->v:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v0}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
|
|
|
|
|
|
|
move-result-object v0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string v0, "attachmentPreviewAdapter"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
throw v0
|
2020-04-11 15:34:05 +00:00
|
|
|
.end method
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public final c()[Lf/b/a/b/a$b;
|
|
|
|
.locals 3
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->w:[Lf/b/a/b/a$b;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v1, 0x0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const-string v2, "pageSuppliers"
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
array-length v0, v0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-nez v0, :cond_0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v0, 0x1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:goto_0
|
|
|
|
if-eqz v0, :cond_1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
sget-object v0, Lf/b/a/b/a;->b:Lf/b/a/b/a$a;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v0}, Lf/b/a/b/a$a;->a()[Lf/b/a/b/a$b;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_1
|
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->w:[Lf/b/a/b/a$b;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v0, :cond_2
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:goto_1
|
|
|
|
return-object v0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_2
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw v1
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_3
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw v1
|
|
|
|
.end method
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public final d()V
|
|
|
|
.locals 2
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->x:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->t:Lcom/lytefast/flexinput/InputListener;
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-interface {v0, v1}, Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;->onSendButtonClicked(Lcom/lytefast/flexinput/InputListener;)V
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_0
|
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->v:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v0, :cond_1
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v0}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->a()V
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
return-void
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_1
|
|
|
|
const-string v0, "attachmentPreviewAdapter"
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v0, 0x0
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
throw v0
|
2020-04-10 14:32:51 +00:00
|
|
|
.end method
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.method public getFileManager()Lcom/lytefast/flexinput/managers/FileManager;
|
|
|
|
.locals 1
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/managers/FileManager;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string v0, "fileManager"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public final onBackPressed()Ljava/lang/Boolean;
|
|
|
|
.locals 1
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->x:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-04-10 14:32:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-interface {v0}, Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;->onHideEmojiKeyboard()Z
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result v0
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v0
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-04-17 17:35:24 +00:00
|
|
|
const/4 v0, 0x0
|
2020-04-17 16:36:30 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:goto_0
|
|
|
|
return-object v0
|
2020-03-27 22:23:51 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
|
|
|
|
.locals 12
|
|
|
|
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p1, :cond_14
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p1, :cond_13
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
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)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
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)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
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)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
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)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
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)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
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)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
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
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v0, "root.findViewById(R.id.f\u2026nput_left_btns_container)"
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
check-cast p2, Landroid/view/ViewGroup;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->d:Landroid/view/ViewGroup;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_text_input:I
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object p2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v0, "root.findViewById(R.id.flex_input_text_input)"
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
check-cast p2, Landroidx/appcompat/widget/AppCompatEditText;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroidx/appcompat/widget/AppCompatEditText;
|
|
|
|
|
|
|
|
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_cannot_send_text: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\u2026x_input_cannot_send_text)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->j:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_emoji_btn:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object p2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v0, "root.findViewById(R.id.flex_input_emoji_btn)"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
check-cast p2, Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->k:Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_send_btn_image:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object p2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v0, "root.findViewById(R.id.flex_input_send_btn_image)"
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->l:Landroid/view/View;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_send_btn_container:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object p2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v0, "root.findViewById(R.id.f\u2026input_send_btn_container)"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroid/view/View;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_camera_btn:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object p2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v0, "root.findViewById(R.id.flex_input_camera_btn)"
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p:Landroid/view/View;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_gallery_btn:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object p2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v0, "root.findViewById(R.id.flex_input_gallery_btn)"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget p2, Lcom/lytefast/flexinput/R$e;->flex_input_expand_btn:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object p2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v0, "root.findViewById(R.id.flex_input_expand_btn)"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->q:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->f:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v0, "attachmentClearButton"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p2, :cond_12
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v2, Lcom/lytefast/flexinput/fragment/FlexInputFragment$i;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v2, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$i;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p2, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroidx/appcompat/widget/AppCompatEditText;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p2, :cond_11
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p0, p2}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Landroidx/appcompat/widget/AppCompatEditText;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->k:Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v2, "emojiBtn"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p2, :cond_10
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v3, Lg;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v3, v1, p0}, Lg;-><init>(ILjava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p2, v3}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v3, "sendBtn"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p2, :cond_f
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v4, Lg;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const/4 v5, 0x1
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v4, v5, p0}, Lg;-><init>(ILjava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p2, v4}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v4, "cameraBtn"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p2, :cond_e
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v6, Lg;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const/4 v7, 0x2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v6, v7, p0}, Lg;-><init>(ILjava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p2, v6}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v6, "galleryBtn"
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p2, :cond_d
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v8, Lg;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const/4 v9, 0x3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v8, v9, p0}, Lg;-><init>(ILjava/lang/Object;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p2, v8}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->q:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v8, "expandBtn"
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p2, :cond_c
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v10, Lg;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const/4 v11, 0x4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v10, v11, p0}, Lg;-><init>(ILjava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p2, v10}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const/4 p2, 0x6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-array p2, p2, [Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v10, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->f:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v10, :cond_b
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
aput-object v10, p2, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v0, :cond_a
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
aput-object v0, p2, v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v0, :cond_9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
aput-object v0, p2, v7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->k:Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v0, :cond_8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
aput-object v0, p2, v9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v0, :cond_7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
aput-object v0, p2, v11
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const/4 v0, 0x5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->q:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v1, :cond_6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
aput-object v1, p2, v0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-static {p2}, Lf/n/a/j/a;->listOf([Ljava/lang/Object;)Ljava/util/List;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object p2
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-26 23:31:08 +00:00
|
|
|
move-result-object p2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eqz v0, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2020-03-19 04:19:10 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object v0
|
2020-03-19 04:19:10 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
check-cast v0, Landroid/view/View;
|
2020-03-19 04:19:10 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance v1, Lf/b/a/a/i;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {v1, p0}, Lf/b/a/a/i;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_0
|
|
|
|
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->h:Landroid/view/View;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v0, "emojiContainer"
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p2, :cond_5
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-26 23:31:08 +00:00
|
|
|
move-result-object p2
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p2, :cond_4
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
check-cast p2, Landroid/widget/LinearLayout$LayoutParams;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v1, Landroid/graphics/Point;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v1}, Landroid/graphics/Point;-><init>()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireActivity()Landroidx/fragment/app/FragmentActivity;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v3, "requireActivity()"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v2, v3}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v2}, Landroid/app/Activity;->getWindowManager()Landroid/view/WindowManager;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v2, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-interface {v2}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v2, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v2, v1}, Landroid/view/Display;->getSize(Landroid/graphics/Point;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const v2, 0x3ecccccd # 0.4f
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget v1, v1, Landroid/graphics/Point;->y:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
int-to-float v1, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
mul-float v1, v1, v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
float-to-int v1, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput v1, p2, Landroid/widget/LinearLayout$LayoutParams;->height:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->h:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v1, :cond_1
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v1, p2}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
goto :goto_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_1
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_2
|
|
|
|
:goto_1
|
|
|
|
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->r:Ljava/lang/Runnable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p2, :cond_3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-interface {p2}, Ljava/lang/Runnable;->run()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_3
|
|
|
|
iput-object p3, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->r:Ljava/lang/Runnable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance p2, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object v0
|
2020-03-26 23:31:08 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v1, "requireContext()"
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object v0
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v1, "requireContext().contentResolver"
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {p2, v0, p3}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;-><init>(Landroid/content/ContentResolver;Lkotlin/jvm/functions/Function1;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p0, p2}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
return-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_4
|
2020-04-17 19:35:49 +00:00
|
|
|
new-instance p1, Ly/l;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string p2, "null cannot be cast to non-null type android.widget.LinearLayout.LayoutParams"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-direct {p1, p2}, Ly/l;-><init>(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p1
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_5
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw p3
|
|
|
|
|
|
|
|
:cond_6
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v8}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw p3
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_7
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_8
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_9
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v4}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_a
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v6}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_b
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_c
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v8}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_d
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v6}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_e
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v4}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_f
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_10
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_11
|
2020-04-17 16:36:30 +00:00
|
|
|
const-string p1, "inputEt"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 16:36:30 +00:00
|
|
|
|
|
|
|
throw p3
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_12
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 16:36:30 +00:00
|
|
|
|
|
|
|
throw p3
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_13
|
2020-04-17 19:35:49 +00:00
|
|
|
new-instance p1, Ly/l;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string p2, "null cannot be cast to non-null type android.widget.LinearLayout"
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-direct {p1, p2}, Ly/l;-><init>(Ljava/lang/String;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
throw p1
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_14
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string p1, "inflater"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
throw p3
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onInflate(Landroid/content/Context;Landroid/util/AttributeSet;Landroid/os/Bundle;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
if-eqz p2, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-super {p0, p1, p2, p3}, Landroidx/fragment/app/Fragment;->onInflate(Landroid/content/Context;Landroid/util/AttributeSet;Landroid/os/Bundle;)V
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance p3, Lcom/lytefast/flexinput/fragment/FlexInputFragment$j;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {p3, p0, p1, p2}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$j;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;Landroid/content/Context;Landroid/util/AttributeSet;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p3, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->r:Ljava/lang/Runnable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance p2, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string p3, "context.contentResolver"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, p3}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
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
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p2}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
new-instance p3, Lf/b/a/a/j;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-direct {p3, p0}, Lf/b/a/a/j;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p3}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->addItemSelectionListener(Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;)Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->v:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "attrs"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "context"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onPause()V
|
|
|
|
.locals 1
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->x:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-interface {v0}, Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;->onFlexInputFragmentPause()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
:cond_0
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->y:Lrx/Subscription;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {v0}, Lrx/Subscription;->unsubscribe()V
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->z:Lrx/Subscription;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
invoke-interface {v0}, Lrx/Subscription;->unsubscribe()V
|
|
|
|
|
|
|
|
:cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onPause()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public onResume()V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onResume()V
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->x:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {v0}, Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;->observeState()Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v1, Lcom/lytefast/flexinput/fragment/FlexInputFragment$k;
|
|
|
|
|
|
|
|
invoke-direct {v1, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$k;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
|
|
|
|
|
|
|
new-instance v2, Lf/b/a/a/k;
|
|
|
|
|
|
|
|
invoke-direct {v2, v1}, Lf/b/a/a/k;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Lrx/Observable;->c(Lrx/functions/Action1;)Lrx/Subscription;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->y:Lrx/Subscription;
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->x:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {v0}, Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;->observeEvents()Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v1, Lcom/lytefast/flexinput/fragment/FlexInputFragment$l;
|
|
|
|
|
|
|
|
invoke-direct {v1, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$l;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
|
|
|
|
|
|
|
new-instance v2, Lf/b/a/a/k;
|
|
|
|
|
|
|
|
invoke-direct {v2, v1}, Lf/b/a/a/k;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Lrx/Observable;->c(Lrx/functions/Action1;)Lrx/Subscription;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->z:Lrx/Subscription;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
.method public onSaveInstanceState(Landroid/os/Bundle;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onSaveInstanceState(Landroid/os/Bundle;)V
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->v:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eqz v1, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v1}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v1}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->getAttachments()Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string v2, "FlexInput.ATTACHMENTS"
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1, v2, v1}, Landroid/os/Bundle;->putParcelableArrayList(Ljava/lang/String;Ljava/util/ArrayList;)V
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroidx/appcompat/widget/AppCompatEditText;
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroidx/appcompat/widget/AppCompatEditText;->getText()Landroid/text/Editable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "inputEt"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "attachmentPreviewAdapter"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p1, "outState"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
.locals 3
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p1, :cond_5
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p2, :cond_4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string p1, "FlexInput.ATTACHMENTS"
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Landroid/os/Bundle;->getParcelableArrayList(Ljava/lang/String;)Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const-string v1, "attachmentPreviewAdapter"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-lez v2, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object v2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->v:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
2020-03-26 05:26:27 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v2, :cond_0
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v2}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-virtual {v2, p1}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->initFrom(Ljava/util/ArrayList;)Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
goto :goto_0
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
:cond_0
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->x:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
|
|
|
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
|
|
|
|
iget-object v2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->v:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
|
|
|
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {v2}, 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
|
|
|
|
|
|
|
|
invoke-interface {p1, v1}, Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;->onAttachmentsUpdated(Ljava/util/List;)V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_1
|
2019-07-24 11:27:29 +00:00
|
|
|
const-string p1, "FlexInput.TEXT"
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p1, :cond_4
|
2020-04-11 15:34:05 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->x:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
|
|
|
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
|
|
|
|
const/4 v1, 0x2
|
|
|
|
|
|
|
|
invoke-static {p2, p1, v0, v1, v0}, Lf/k/a/b/l1/e;->a(Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;Ljava/lang/String;Ljava/lang/Boolean;ILjava/lang/Object;)V
|
|
|
|
|
|
|
|
:cond_4
|
2019-07-24 11:27:29 +00:00
|
|
|
return-void
|
2020-03-27 22:23:51 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_5
|
2020-03-27 22:23:51 +00:00
|
|
|
const-string p1, "view"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-27 22:23:51 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|