apkfuckery/com.discord/smali_classes2/f.smali
2020-04-07 10:23:55 +02:00

160 lines
3.7 KiB
Smali

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