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

152 lines
5.6 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-07-25 00:57:58 +00:00
.super Lj0/n/c/i;
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-07-25 00:57:58 +00:00
"Lj0/n/c/i;",
2020-07-14 22:43:59 +00:00
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic $flexInputFragment:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
.field public final synthetic $tooltip:Lcom/discord/tooltips/TooltipManager$Tooltip;
.field public final synthetic this$0:Lcom/discord/widgets/chat/input/WidgetChatInput;
# direct methods
.method public constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInput;Lcom/lytefast/flexinput/fragment/FlexInputFragment;Lcom/discord/tooltips/TooltipManager$Tooltip;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput;
iput-object p2, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;->$flexInputFragment:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
iput-object p3, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;->$tooltip:Lcom/discord/tooltips/TooltipManager$Tooltip;
const/4 p1, 0x0
2020-07-25 00:57:58 +00:00
invoke-direct {p0, p1}, Lj0/n/c/i;-><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 19:28:48 +00:00
.locals 13
2020-07-14 22:43:59 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;->$flexInputFragment:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
iget-object v0, v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroid/widget/ImageView;
if-eqz v0, :cond_0
2020-08-20 19:28:48 +00:00
new-instance v12, 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-07-25 00:57:58 +00:00
invoke-static {v1, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-14 22:43:59 +00:00
2020-08-20 19:28:48 +00:00
invoke-direct {v12, 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
2020-08-20 19:28:48 +00:00
const/4 v6, 0x0
const/4 v7, 0x0
const/4 v8, 0x0
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;
invoke-virtual {v2}, Lcom/discord/app/AppFragment;->getPaused()Lrx/subjects/Subject;
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-08-04 06:02:43 +00:00
invoke-virtual {v2, v3}, Lrx/Observable;->E(Lr0/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
const-string v2, "paused.map { Unit }"
2020-07-25 00:57:58 +00:00
invoke-static {v9, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-14 22:43:59 +00:00
2020-08-20 19:28:48 +00:00
const/16 v10, 0x70
2020-07-14 22:43:59 +00:00
2020-08-20 19:28:48 +00:00
const/4 v11, 0x0
2020-07-14 22:43:59 +00:00
move-object v2, v0
2020-08-20 19:28:48 +00:00
move-object v3, v12
2020-07-14 22:43:59 +00:00
2020-08-20 19:28:48 +00:00
invoke-static/range {v1 .. v11}, Lcom/discord/tooltips/TooltipManager;->e(Lcom/discord/tooltips/TooltipManager;Landroid/view/View;Landroid/view/View;Lcom/discord/tooltips/TooltipManager$Tooltip;Lcom/discord/floating_view_manager/FloatingViewGravity;IIZLrx/Observable;ILjava/lang/Object;)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 19:28:48 +00:00
invoke-virtual {v12, 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-07-25 00:57:58 +00:00
invoke-static {v0}, Lj0/n/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
2020-07-14 22:43:59 +00:00
const/4 v0, 0x0
throw v0
.end method