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