apkfuckery/com.discord/smali/f/a/e/c$a.smali

122 lines
3 KiB
Smali
Raw Normal View History

2020-11-11 19:31:32 +00:00
.class public final Lf/a/e/c$a;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
.source "OverlayManager.kt"
# interfaces
.implements Landroid/view/View$OnAttachStateChangeListener;
2020-05-17 12:40:10 +00:00
# annotations
2020-07-08 16:44:49 +00:00
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-11-11 19:31:32 +00:00
value = Lf/a/e/c;->onClick(Landroid/view/View;)V
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2020-07-08 16:44:49 +00:00
accessFlags = 0x19
name = null
2020-05-17 12:40:10 +00:00
.end annotation
2020-07-08 16:44:49 +00:00
# instance fields
2020-11-11 19:31:32 +00:00
.field public final synthetic d:Lf/a/e/c;
2020-07-08 16:44:49 +00:00
# direct methods
2020-11-11 19:31:32 +00:00
.method public constructor <init>(Lf/a/e/c;)V
2020-07-08 16:44:49 +00:00
.locals 0
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-08 16:44:49 +00:00
"()V"
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-07-08 16:44:49 +00:00
2020-11-11 19:31:32 +00:00
iput-object p1, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
2020-07-08 16:44:49 +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
2020-09-16 23:45:23 +00:00
const-string/jumbo v0, "v"
2020-11-09 19:03:49 +00:00
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +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-11 19:31:32 +00:00
iget-object v0, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
2020-07-08 16:44:49 +00:00
2020-11-11 19:31:32 +00:00
iget-object v0, v0, Lf/a/e/c;->g:Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
invoke-virtual {p1, v0}, Landroid/view/View;->findViewWithTag(Ljava/lang/Object;)Landroid/view/View;
move-result-object p1
2020-09-16 23:45:23 +00:00
const-string/jumbo v0, "v.findViewWithTag(anchorViewTag)"
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-11-11 19:31:32 +00:00
iget-object v0, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
2020-07-08 16:44:49 +00:00
2020-11-11 19:31:32 +00:00
iget-object v0, v0, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
2020-07-08 16:44:49 +00:00
invoke-virtual {v0, p1}, Lcom/discord/overlay/views/OverlayBubbleWrap;->d(Landroid/view/View;)V
goto :goto_0
:cond_0
2020-11-11 19:31:32 +00:00
new-instance v0, Lf/a/e/c$a$a;
2020-07-08 16:44:49 +00:00
2020-11-11 19:31:32 +00:00
invoke-direct {v0, p0, p1}, Lf/a/e/c$a$a;-><init>(Lf/a/e/c$a;Landroid/view/View;)V
2020-07-08 16:44:49 +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-11 19:31:32 +00:00
iget-object p1, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
2020-07-08 16:44:49 +00:00
2020-11-11 19:31:32 +00:00
iget-object p1, p1, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
2020-07-08 16:44:49 +00:00
invoke-static {p1}, Landroidx/core/view/ViewCompat;->isAttachedToWindow(Landroid/view/View;)Z
move-result p1
if-eqz p1, :cond_0
2020-11-11 19:31:32 +00:00
iget-object p1, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
2020-07-08 16:44:49 +00:00
2020-11-11 19:31:32 +00:00
iget-object p1, p1, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
2020-07-08 16:44:49 +00:00
const/4 v0, 0x1
invoke-virtual {p1, v0}, Lcom/discord/overlay/views/OverlayBubbleWrap;->setBubbleTouchable(Z)V
2020-11-11 19:31:32 +00:00
iget-object p1, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
2020-07-08 16:44:49 +00:00
2020-11-11 19:31:32 +00:00
iget-object p1, p1, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
2020-07-08 16:44:49 +00:00
invoke-virtual {p1, v0}, Lcom/discord/overlay/views/OverlayBubbleWrap;->b(Z)V
:cond_0
return-void
2020-05-17 12:40:10 +00:00
.end method