apkfuckery/com.discord/smali_classes2/f.smali

201 lines
4.7 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Lf;
.super Ljava/lang/Object;
.source "java-style lambda group"
# interfaces
.implements Landroid/view/View$OnClickListener;
# instance fields
.field public final synthetic d:I
.field public final synthetic e:Ljava/lang/Object;
# direct methods
.method public constructor <init>(ILjava/lang/Object;)V
.locals 0
iput p1, p0, Lf;->d:I
iput-object p2, p0, Lf;->e:Ljava/lang/Object;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
2020-03-27 22:23:51 +00:00
.locals 4
2019-12-06 03:29:40 +00:00
iget p1, p0, Lf;->d:I
2020-03-27 22:23:51 +00:00
const/4 v0, 0x0
2020-03-26 05:26:27 +00:00
2020-04-10 14:32:51 +00:00
if-eqz p1, :cond_7
2020-03-26 05:26:27 +00:00
2020-03-27 22:23:51 +00:00
const/4 v1, 0x1
2020-04-10 14:32:51 +00:00
if-eq p1, v1, :cond_6
2020-03-27 22:23:51 +00:00
2020-04-10 14:32:51 +00:00
const/4 v1, 0x0
2020-03-27 22:23:51 +00:00
2020-04-10 14:32:51 +00:00
const/4 v2, 0x2
2020-03-27 22:23:51 +00:00
2020-04-10 14:32:51 +00:00
if-eq p1, v2, :cond_4
2020-03-27 22:23:51 +00:00
2020-04-10 14:32:51 +00:00
const/4 v2, 0x3
if-eq p1, v2, :cond_2
2020-03-27 22:23:51 +00:00
const/4 v1, 0x4
if-ne p1, v1, :cond_1
2019-12-06 03:29:40 +00:00
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
2020-03-27 22:23:51 +00:00
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
invoke-static {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->c(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Landroidx/appcompat/widget/AppCompatEditText;
2019-12-06 03:29:40 +00:00
move-result-object p1
2020-03-27 22:23:51 +00:00
invoke-virtual {p1}, Landroid/widget/EditText;->clearFocus()V
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +00:00
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->s:Le/b/a/c/a;
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
if-eqz p1, :cond_0
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
invoke-interface {p1}, Le/b/a/c/a;->requestHide()V
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
:cond_0
return-void
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
:cond_1
throw v0
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
:cond_2
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +00:00
iget-boolean v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->y:Z
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +00:00
if-eqz v0, :cond_3
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +00:00
invoke-static {p1, v1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Lcom/lytefast/flexinput/fragment/FlexInputFragment;I)V
goto :goto_0
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
:cond_3
2020-04-10 14:32:51 +00:00
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
move-result-object p1
sget v0, Lcom/lytefast/flexinput/R$g;->cannot_attach_files:I
invoke-static {p1, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;
move-result-object p1
invoke-virtual {p1}, Landroid/widget/Toast;->show()V
:goto_0
return-void
:cond_4
2020-03-27 22:23:51 +00:00
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +00:00
iget-boolean v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->y:Z
if-eqz v0, :cond_5
invoke-static {p1, v2}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Lcom/lytefast/flexinput/fragment/FlexInputFragment;I)V
goto :goto_1
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +00:00
:cond_5
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
move-result-object p1
sget v0, Lcom/lytefast/flexinput/R$g;->cannot_attach_files:I
invoke-static {p1, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;
move-result-object p1
invoke-virtual {p1}, Landroid/widget/Toast;->show()V
:goto_1
2020-03-27 22:23:51 +00:00
return-void
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +00:00
:cond_6
2020-03-27 22:23:51 +00:00
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +00:00
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->f()V
2020-03-26 05:26:27 +00:00
2020-03-26 23:31:08 +00:00
return-void
2020-03-26 05:26:27 +00:00
2020-04-10 14:32:51 +00:00
:cond_7
2020-03-27 22:23:51 +00:00
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
2020-03-26 05:26:27 +00:00
2020-03-27 22:23:51 +00:00
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
2020-03-26 05:26:27 +00:00
2020-03-27 22:23:51 +00:00
iget-object v1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->h:Landroid/view/View;
2020-03-26 05:26:27 +00:00
2020-04-10 14:32:51 +00:00
if-eqz v1, :cond_a
2020-03-26 05:26:27 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v1}, Landroid/view/View;->getVisibility()I
2020-03-26 05:26:27 +00:00
2020-03-27 22:23:51 +00:00
move-result v0
2020-03-26 05:26:27 +00:00
2020-04-10 14:32:51 +00:00
if-nez v0, :cond_8
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e()Z
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +00:00
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->g()V
2020-03-26 05:26:27 +00:00
2020-04-10 14:32:51 +00:00
goto :goto_2
2020-03-26 05:26:27 +00:00
2020-04-10 14:32:51 +00:00
:cond_8
iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->s:Le/b/a/c/a;
2020-03-26 05:26:27 +00:00
2020-04-10 14:32:51 +00:00
if-eqz v0, :cond_9
2020-03-26 05:26:27 +00:00
2020-03-27 22:23:51 +00:00
invoke-interface {v0}, Le/b/a/c/a;->requestHide()V
2020-03-26 05:26:27 +00:00
2020-04-10 14:32:51 +00:00
:cond_9
2020-03-27 22:23:51 +00:00
new-instance v0, Landroid/os/Handler;
2020-03-26 05:26:27 +00:00
2020-03-27 22:23:51 +00:00
invoke-direct {v0}, Landroid/os/Handler;-><init>()V
2020-03-26 05:26:27 +00:00
2020-03-27 22:23:51 +00:00
new-instance v1, Le/b/a/a/h;
invoke-direct {v1, p1}, Le/b/a/a/h;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
const-wide/16 v2, 0x12c
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
2020-04-10 14:32:51 +00:00
:goto_2
2019-12-06 03:29:40 +00:00
return-void
2020-03-27 22:23:51 +00:00
2020-04-10 14:32:51 +00:00
:cond_a
2020-03-27 22:23:51 +00:00
const-string p1, "emojiContainer"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v0
2019-12-06 03:29:40 +00:00
.end method