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

129 lines
3 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +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;
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
.field public final synthetic d:Lf/a/e/c;
# direct methods
.method public constructor <init>(Lf/a/e/c;)V
.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
iput-object p1, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onViewAttachedToWindow(Landroid/view/View;)V
.locals 1
if-eqz p1, :cond_1
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
iget-object v0, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
iget-object v0, v0, Lf/a/e/c;->g:Ljava/lang/Object;
invoke-virtual {p1, v0}, Landroid/view/View;->findViewWithTag(Ljava/lang/Object;)Landroid/view/View;
move-result-object p1
const-string v0, "v.findViewWithTag(anchorViewTag)"
2020-07-25 00:57:58 +00:00
invoke-static {p1, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
iget-object v0, v0, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
invoke-virtual {v0, p1}, Lcom/discord/overlay/views/OverlayBubbleWrap;->d(Landroid/view/View;)V
goto :goto_0
:cond_0
new-instance v0, Lf/a/e/c$a$a;
invoke-direct {v0, p0, p1}, Lf/a/e/c$a$a;-><init>(Lf/a/e/c$a;Landroid/view/View;)V
invoke-virtual {p1, v0}, Landroid/view/View;->addOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V
:goto_0
return-void
:cond_1
const-string p1, "v"
2020-07-25 00:57:58 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public onViewDetachedFromWindow(Landroid/view/View;)V
.locals 1
iget-object p1, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
iget-object p1, p1, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
invoke-static {p1}, Landroidx/core/view/ViewCompat;->isAttachedToWindow(Landroid/view/View;)Z
move-result p1
if-eqz p1, :cond_0
iget-object p1, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
iget-object p1, p1, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
const/4 v0, 0x1
invoke-virtual {p1, v0}, Lcom/discord/overlay/views/OverlayBubbleWrap;->setBubbleTouchable(Z)V
iget-object p1, p0, Lf/a/e/c$a;->d:Lf/a/e/c;
iget-object p1, p1, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
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