apkfuckery/com.discord/smali/com/discord/widgets/chat/input/WidgetChatInput$showExpress...

148 lines
5.4 KiB
Smali
Raw Normal View History

2020-07-14 22:43:59 +00:00
.class public final Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;
2020-09-09 19:21:20 +00:00
.super Lk0/n/c/j;
2020-07-14 22:43:59 +00:00
.source "WidgetChatInput.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function0;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/chat/input/WidgetChatInput;->showExpressionButtonSparkle(Lcom/discord/tooltips/TooltipManager$Tooltip;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-09 19:21:20 +00:00
"Lk0/n/c/j;",
2020-07-14 22:43:59 +00:00
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic $tooltip:Lcom/discord/tooltips/TooltipManager$Tooltip;
.field public final synthetic this$0:Lcom/discord/widgets/chat/input/WidgetChatInput;
# direct methods
2020-08-26 17:47:03 +00:00
.method public constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInput;Lcom/discord/tooltips/TooltipManager$Tooltip;)V
2020-07-14 22:43:59 +00:00
.locals 0
iput-object p1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput;
2020-08-26 17:47:03 +00:00
iput-object p2, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;->$tooltip:Lcom/discord/tooltips/TooltipManager$Tooltip;
2020-07-14 22:43:59 +00:00
const/4 p1, 0x0
2020-09-09 19:21:20 +00:00
invoke-direct {p0, p1}, Lk0/n/c/j;-><init>(I)V
2020-07-14 22:43:59 +00:00
return-void
.end method
# virtual methods
.method public bridge synthetic invoke()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;->invoke()V
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object v0
.end method
.method public final invoke()V
2020-08-20 22:29:33 +00:00
.locals 11
2020-07-14 22:43:59 +00:00
2020-08-26 17:47:03 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput;
invoke-static {v0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->access$getFlexInputFragment$p(Lcom/discord/widgets/chat/input/WidgetChatInput;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
move-result-object v0
2020-07-14 22:43:59 +00:00
iget-object v0, v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroid/widget/ImageView;
if-eqz v0, :cond_0
2020-08-20 22:29:33 +00:00
new-instance v10, Lf/a/l/d;
2020-07-14 22:43:59 +00:00
iget-object v1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput;
invoke-static {v1}, Lcom/discord/widgets/chat/input/WidgetChatInput;->access$getContainer$p(Lcom/discord/widgets/chat/input/WidgetChatInput;)Landroid/view/ViewGroup;
move-result-object v1
invoke-virtual {v1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
move-result-object v1
const-string v2, "container.context"
2020-09-09 19:21:20 +00:00
invoke-static {v1, v2}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-14 22:43:59 +00:00
2020-08-20 22:29:33 +00:00
invoke-direct {v10, v1}, Lf/a/l/d;-><init>(Landroid/content/Context;)V
2020-07-14 22:43:59 +00:00
iget-object v1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput;
invoke-static {v1}, Lcom/discord/widgets/chat/input/WidgetChatInput;->access$getTooltipManager$p(Lcom/discord/widgets/chat/input/WidgetChatInput;)Lcom/discord/tooltips/TooltipManager;
move-result-object v1
2020-07-23 01:06:17 +00:00
iget-object v4, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;->$tooltip:Lcom/discord/tooltips/TooltipManager$Tooltip;
2020-07-14 22:43:59 +00:00
2020-07-23 01:06:17 +00:00
sget-object v5, Lcom/discord/floating_view_manager/FloatingViewGravity;->CENTER:Lcom/discord/floating_view_manager/FloatingViewGravity;
2020-07-14 22:43:59 +00:00
iget-object v2, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput;
2020-09-02 04:07:20 +00:00
invoke-virtual {v2}, Lcom/discord/app/AppFragment;->getUnsubscribeSignal()Lrx/subjects/Subject;
2020-07-14 22:43:59 +00:00
move-result-object v2
2020-07-23 01:06:17 +00:00
sget-object v3, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1$1;->INSTANCE:Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1$1;
2020-07-14 22:43:59 +00:00
2020-09-10 21:23:57 +00:00
invoke-virtual {v2, v3}, Lrx/Observable;->E(Lt0/k/b;)Lrx/Observable;
2020-07-14 22:43:59 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v9
2020-07-14 22:43:59 +00:00
2020-09-09 19:21:20 +00:00
const-string/jumbo v2, "unsubscribeSignal.map { Unit }"
2020-07-14 22:43:59 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {v9, v2}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-14 22:43:59 +00:00
2020-08-20 22:29:33 +00:00
const/4 v6, 0x0
2020-07-14 22:43:59 +00:00
2020-08-20 22:29:33 +00:00
const/4 v7, 0x0
const/4 v8, 0x0
2020-07-14 22:43:59 +00:00
move-object v2, v0
2020-08-20 22:29:33 +00:00
move-object v3, v10
2020-07-14 22:43:59 +00:00
2020-08-20 22:29:33 +00:00
invoke-virtual/range {v1 .. v9}, Lcom/discord/tooltips/TooltipManager;->d(Landroid/view/View;Landroid/view/View;Lcom/discord/tooltips/TooltipManager$Tooltip;Lcom/discord/floating_view_manager/FloatingViewGravity;IIZLrx/Observable;)V
2020-07-14 22:43:59 +00:00
new-instance v1, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1$2;
invoke-direct {v1, p0, v0}, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1$2;-><init>(Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;Landroid/view/View;)V
2020-08-20 22:29:33 +00:00
invoke-virtual {v10, v1}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2020-07-14 22:43:59 +00:00
return-void
:cond_0
const-string v0, "expressionBtn"
2020-09-09 19:21:20 +00:00
invoke-static {v0}, Lk0/n/c/i;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
2020-07-14 22:43:59 +00:00
const/4 v0, 0x0
throw v0
.end method