apkfuckery/com.discord/smali/f.smali

185 lines
4.4 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-26 05:26:27 +00:00
.locals 4
2019-12-06 03:29:40 +00:00
iget p1, p0, Lf;->d:I
const/4 v0, 0x1
2020-03-26 05:26:27 +00:00
const/4 v1, 0x0
if-eqz p1, :cond_5
if-eq p1, v0, :cond_4
const/4 v0, 0x2
if-eq p1, v0, :cond_3
const/4 v0, 0x3
if-eq p1, v0, :cond_2
const/4 v0, 0x4
if-ne p1, v0, :cond_1
2019-12-06 03:29:40 +00:00
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
2020-03-26 05:26:27 +00:00
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +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-26 05:26:27 +00:00
invoke-virtual {p1}, Landroid/widget/EditText;->clearFocus()V
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->r:Le/b/a/c/a;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
if-eqz p1, :cond_0
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
invoke-interface {p1}, Le/b/a/c/a;->requestHide()V
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
:cond_0
return-void
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
:cond_1
throw v1
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
:cond_2
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
invoke-static {p1, v0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Lcom/lytefast/flexinput/fragment/FlexInputFragment;I)V
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
return-void
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
:cond_3
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
invoke-static {p1, v0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->a(Lcom/lytefast/flexinput/fragment/FlexInputFragment;I)V
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
return-void
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
:cond_4
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->g()V
2019-12-06 03:29:40 +00:00
return-void
2020-03-26 05:26:27 +00:00
:cond_5
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
iget-object v2, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->h:Landroid/view/View;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
if-eqz v2, :cond_a
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
invoke-virtual {v2}, Landroid/view/View;->getVisibility()I
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
move-result v2
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
if-nez v2, :cond_8
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e()Z
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
iget-object v2, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
const-string v3, "textEt"
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
if-eqz v2, :cond_7
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
invoke-virtual {v2, v0}, Landroid/widget/EditText;->setFocusableInTouchMode(Z)V
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
if-eqz v0, :cond_6
invoke-virtual {v0}, Landroid/widget/EditText;->requestFocus()Z
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->h()V
goto :goto_0
:cond_6
invoke-static {v3}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
:cond_7
invoke-static {v3}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
:cond_8
iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->r:Le/b/a/c/a;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
if-eqz v0, :cond_9
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
invoke-interface {v0}, Le/b/a/c/a;->requestHide()V
:cond_9
new-instance v0, Landroid/os/Handler;
invoke-direct {v0}, Landroid/os/Handler;-><init>()V
new-instance v1, Le/b/a/a/i;
invoke-direct {v1, p1}, Le/b/a/a/i;-><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
:goto_0
2019-12-06 03:29:40 +00:00
return-void
2020-03-26 05:26:27 +00:00
:cond_a
const-string p1, "emojiContainer"
invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
2019-12-06 03:29:40 +00:00
.end method