2020-11-21 22:11:07 +00:00
|
|
|
.class public final Lf/a/e/c$a;
|
2020-11-12 02:11:44 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "OverlayManager.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Landroid/view/View$OnAttachStateChangeListener;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
2020-11-21 22:11:07 +00:00
|
|
|
value = Lf/a/e/c;->onClick(Landroid/view/View;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-11-21 22:11:07 +00:00
|
|
|
.field public final synthetic d:Lf/a/e/c;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-11-21 22:11:07 +00:00
|
|
|
.method public constructor <init>(Lf/a/e/c;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iput-object p1, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public onViewAttachedToWindow(Landroid/view/View;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string/jumbo v0, "v"
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
invoke-static {p1}, Landroidx/core/view/ViewCompat;->isLaidOut(Landroid/view/View;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->isLayoutRequested()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v0, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v0, v0, Lf/a/e/c;->g:Ljava/lang/Object;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewWithTag(Ljava/lang/Object;)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string/jumbo v0, "v.findViewWithTag(anchorViewTag)"
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v0, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v0, v0, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/overlay/views/OverlayBubbleWrap;->b(Landroid/view/View;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-11-21 22:11:07 +00:00
|
|
|
new-instance v0, Lf/a/e/c$a$a;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
invoke-direct {v0, p0, p1}, Lf/a/e/c$a$a;-><init>(Lf/a/e/c$a;Landroid/view/View;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->addOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onViewDetachedFromWindow(Landroid/view/View;)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object p1, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object p1, p1, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
invoke-static {p1}, Landroidx/core/view/ViewCompat;->isAttachedToWindow(Landroid/view/View;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object p1, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object p1, p1, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/overlay/views/OverlayBubbleWrap;->setBubbleTouchable(Z)V
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object p1, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object p1, p1, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/overlay/views/OverlayBubbleWrap;->a(Z)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|