apkfuckery/com.discord/smali/e/a/j/j.smali

214 lines
5.2 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public abstract Le/a/j/j;
2019-07-31 00:08:31 +00:00
.super Lcom/discord/overlay/views/OverlayDialog;
.source "OverlayAppDialog.kt"
# interfaces
.implements Lcom/discord/app/AppComponent;
2019-07-24 11:27:29 +00:00
# instance fields
2019-12-06 03:29:40 +00:00
.field public final s:Lrx/subjects/Subject;
2019-07-31 00:08:31 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-06 03:29:40 +00:00
"Lrx/subjects/Subject<",
"Ljava/lang/Void;",
"Ljava/lang/Void;",
2019-07-31 00:08:31 +00:00
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public t:Lkotlin/jvm/functions/Function1;
2019-07-31 00:08:31 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-06 03:29:40 +00:00
"Lkotlin/jvm/functions/Function1<",
"-",
"Lcom/discord/overlay/views/OverlayDialog;",
"Lkotlin/Unit;",
2019-07-31 00:08:31 +00:00
">;"
}
.end annotation
.end field
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
2019-07-25 02:21:43 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
invoke-direct {p0, p1}, Lcom/discord/overlay/views/OverlayDialog;-><init>(Landroid/content/Context;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {}, Lrx/subjects/PublishSubject;->o()Lrx/subjects/PublishSubject;
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
move-result-object p1
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
const-string v0, "PublishSubject.create()"
2019-07-26 02:05:13 +00:00
2019-12-12 08:58:10 +00:00
invoke-static {p1, v0}, Lm/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-26 02:05:13 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Le/a/j/j;->s:Lrx/subjects/Subject;
2019-07-27 00:12:07 +00:00
2019-12-06 03:29:40 +00:00
new-instance p1, Le/a/j/i;
2019-07-27 00:12:07 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p1, p0}, Le/a/j/i;-><init>(Le/a/j/j;)V
2019-07-27 00:12:07 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-07-27 00:12:07 +00:00
2019-12-06 03:29:40 +00:00
sget-object p1, Le/a/j/k;->d:Le/a/j/k;
2019-07-27 00:12:07 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Le/a/j/j;->t:Lkotlin/jvm/functions/Function1;
2019-07-27 00:12:07 +00:00
2019-12-06 03:29:40 +00:00
return-void
:cond_0
const-string p1, "context"
2019-07-31 00:08:31 +00:00
2019-12-12 08:58:10 +00:00
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
throw p1
2019-07-31 00:08:31 +00:00
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public final d()V
2019-07-31 00:08:31 +00:00
.locals 2
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Le/a/j/j;->getPaused()Lrx/subjects/Subject;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-07-31 00:08:31 +00:00
const/4 v1, 0x0
2019-07-24 11:27:29 +00:00
2019-12-12 08:58:10 +00:00
invoke-interface {v0, v1}, Lu/g;->onNext(Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-07-31 00:08:31 +00:00
const-string v1, "closing"
invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
2019-12-06 03:29:40 +00:00
invoke-static {p0}, Landroidx/core/view/ViewCompat;->isAttachedToWindow(Landroid/view/View;)Z
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
2019-11-20 22:09:14 +00:00
if-nez v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Le/a/j/j;->t:Lkotlin/jvm/functions/Function1;
2019-07-31 00:08:31 +00:00
2019-11-20 22:09:14 +00:00
invoke-interface {v0, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
2019-07-31 00:08:31 +00:00
2019-11-20 22:09:14 +00:00
return-void
2019-07-31 00:08:31 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Le/a/j/j;->getClosingAnimator()Landroid/animation/Animator;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
new-instance v1, Le/a/j/j$a;
2019-07-26 02:05:13 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v1, p0}, Le/a/j/j$a;-><init>(Le/a/j/j;)V
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
invoke-virtual {v0, v1}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
2019-07-26 02:05:13 +00:00
2019-07-31 00:08:31 +00:00
invoke-virtual {v0}, Landroid/animation/Animator;->start()V
2019-12-06 03:29:40 +00:00
new-instance v1, Le/a/j/j$b;
2019-07-27 00:12:07 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v1, v0}, Le/a/j/j$b;-><init>(Landroid/animation/Animator;)V
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, v1}, Landroid/widget/FrameLayout;->addOnAttachStateChangeListener(Landroid/view/View$OnAttachStateChangeListener;)V
2019-07-31 00:08:31 +00:00
return-void
2019-07-24 11:27:29 +00:00
.end method
2019-07-31 00:08:31 +00:00
.method public abstract getClosingAnimator()Landroid/animation/Animator;
.end method
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
.method public final getOnDialogClosed()Lkotlin/jvm/functions/Function1;
2019-07-24 11:27:29 +00:00
.locals 1
2019-07-31 00:08:31 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/overlay/views/OverlayDialog;",
"Lkotlin/Unit;",
">;"
}
.end annotation
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Le/a/j/j;->t:Lkotlin/jvm/functions/Function1;
2019-07-27 00:12:07 +00:00
return-object v0
.end method
2019-07-31 00:08:31 +00:00
.method public getPaused()Lrx/subjects/Subject;
2019-07-29 20:14:17 +00:00
.locals 1
2019-07-31 00:08:31 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lrx/subjects/Subject<",
"Ljava/lang/Void;",
"Ljava/lang/Void;",
">;"
}
.end annotation
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Le/a/j/j;->s:Lrx/subjects/Subject;
2019-07-31 00:08:31 +00:00
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public onDetachedFromWindow()V
2019-07-31 00:08:31 +00:00
.locals 2
2019-07-27 00:12:07 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Le/a/j/j;->getPaused()Lrx/subjects/Subject;
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
move-result-object v0
const/4 v1, 0x0
2019-12-12 08:58:10 +00:00
invoke-interface {v0, v1}, Lu/g;->onNext(Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-super {p0}, Landroid/widget/FrameLayout;->onDetachedFromWindow()V
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
return-void
.end method
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
.method public final setOnDialogClosed(Lkotlin/jvm/functions/Function1;)V
2019-12-06 03:29:40 +00:00
.locals 0
2019-07-31 00:08:31 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function1<",
"-",
"Lcom/discord/overlay/views/OverlayDialog;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Le/a/j/j;->t:Lkotlin/jvm/functions/Function1;
2019-07-24 11:27:29 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_0
const-string p1, "<set-?>"
2019-12-12 08:58:10 +00:00
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
2019-07-24 11:27:29 +00:00
.end method