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

148 lines
5.4 KiB
Smali

.class public final Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;
.super Lc0/n/c/k;
.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 = {
"Lc0/n/c/k;",
"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
.method public constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInput;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;->$tooltip:Lcom/discord/tooltips/TooltipManager$Tooltip;
const/4 p1, 0x0
invoke-direct {p0, p1}, Lc0/n/c/k;-><init>(I)V
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
.locals 11
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
iget-object v0, v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroid/widget/ImageView;
if-eqz v0, :cond_0
new-instance v10, Lf/a/l/c;
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"
invoke-static {v1, v2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {v10, v1}, Lf/a/l/c;-><init>(Landroid/content/Context;)V
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
iget-object v4, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1;->$tooltip:Lcom/discord/tooltips/TooltipManager$Tooltip;
sget-object v5, Lcom/discord/floating_view_manager/FloatingViewGravity;->CENTER:Lcom/discord/floating_view_manager/FloatingViewGravity;
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;->getUnsubscribeSignal()Lrx/subjects/Subject;
move-result-object v2
sget-object v3, Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1$1;->INSTANCE:Lcom/discord/widgets/chat/input/WidgetChatInput$showExpressionButtonSparkle$1$1;
invoke-virtual {v2, v3}, Lrx/Observable;->E(Ll0/k/b;)Lrx/Observable;
move-result-object v9
const-string/jumbo v2, "unsubscribeSignal.map { Unit }"
invoke-static {v9, v2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v6, 0x0
const/4 v7, 0x0
const/4 v8, 0x0
move-object v2, v0
move-object v3, v10
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
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
invoke-virtual {v10, v1}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
return-void
:cond_0
const-string v0, "expressionBtn"
invoke-static {v0}, Lc0/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
const/4 v0, 0x0
throw v0
.end method