Changes of com.discord v1343
This commit is contained in:
parent
68330e16d7
commit
00a03df92a
18279 changed files with 1012666 additions and 988526 deletions
95
com.discord/smali/f/a/e/a$a.smali
Normal file
95
com.discord/smali/f/a/e/a$a.smali
Normal file
|
@ -0,0 +1,95 @@
|
|||
.class public final Lf/a/e/a$a;
|
||||
.super Lz/n/c/k;
|
||||
.source "LocaleProvider.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/e/a;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lz/n/c/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Landroid/content/Context;",
|
||||
"Ljava/util/Locale;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final d:Lf/a/e/a$a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/e/a$a;
|
||||
|
||||
invoke-direct {v0}, Lf/a/e/a$a;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/e/a$a;->d:Lf/a/e/a$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-direct {p0, v0}, Lz/n/c/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Landroid/content/Context;
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "context.resources"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Landroidx/core/os/ConfigurationCompat;->getLocales(Landroid/content/res/Configuration;)Landroidx/core/os/LocaleListCompat;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/core/os/LocaleListCompat;->get(I)Ljava/util/Locale;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "ConfigurationCompat.getL\u2026sources.configuration)[0]"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,77 +1,31 @@
|
|||
.class public final Lf/a/e/a;
|
||||
.super Ly/m/c/k;
|
||||
.source "OverlayManager.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "LocaleProvider.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ly/m/c/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/discord/overlay/views/OverlayBubbleWrap;",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
# static fields
|
||||
.field public static a:Lkotlin/jvm/functions/Function1;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"-",
|
||||
"Landroid/content/Context;",
|
||||
"Ljava/util/Locale;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Lcom/discord/overlay/OverlayManager;
|
||||
.field public static final b:Lf/a/e/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/overlay/OverlayManager;)V
|
||||
.locals 0
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
iput-object p1, p0, Lf/a/e/a;->this$0:Lcom/discord/overlay/OverlayManager;
|
||||
sget-object v0, Lf/a/e/a$a;->d:Lf/a/e/a$a;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Ly/m/c/k;-><init>(I)V
|
||||
sput-object v0, Lf/a/e/a;->a:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
const-string v0, "bubbleWrap"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lf/a/e/a;->this$0:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/overlay/OverlayManager;->m:Landroid/view/WindowManager;
|
||||
|
||||
invoke-interface {v0, p1}, Landroid/view/WindowManager;->removeViewImmediate(Landroid/view/View;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/e/a;->this$0:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/overlay/OverlayManager;->h:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
:try_end_0
|
||||
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
27
com.discord/smali/f/a/e/b$a.smali
Normal file
27
com.discord/smali/f/a/e/b$a.smali
Normal file
|
@ -0,0 +1,27 @@
|
|||
.class public interface abstract Lf/a/e/b$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PanelsChildGestureRegionObserver.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/e/b;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract onGestureRegionsUpdate(Ljava/util/List;)V
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/List<",
|
||||
"Landroid/graphics/Rect;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
71
com.discord/smali/f/a/e/b$b.smali
Normal file
71
com.discord/smali/f/a/e/b$b.smali
Normal file
|
@ -0,0 +1,71 @@
|
|||
.class public final Lf/a/e/b$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PanelsChildGestureRegionObserver.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/e/b;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static a:Ljava/lang/ref/WeakReference;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/ref/WeakReference<",
|
||||
"Lf/a/e/b;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/ref/WeakReference;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
sput-object v0, Lf/a/e/b$b;->a:Ljava/lang/ref/WeakReference;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final a()Lf/a/e/b;
|
||||
.locals 2
|
||||
.annotation build Landroidx/annotation/UiThread;
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Lf/a/e/b$b;->a:Ljava/lang/ref/WeakReference;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lf/a/e/b;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
new-instance v0, Lf/a/e/b;
|
||||
|
||||
invoke-direct {v0}, Lf/a/e/b;-><init>()V
|
||||
|
||||
new-instance v1, Ljava/lang/ref/WeakReference;
|
||||
|
||||
invoke-direct {v1, v0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
sput-object v1, Lf/a/e/b$b;->a:Ljava/lang/ref/WeakReference;
|
||||
|
||||
:cond_0
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,90 +1,161 @@
|
|||
.class public final Lf/a/e/b;
|
||||
.super Ly/m/c/k;
|
||||
.source "OverlayManager.kt"
|
||||
.super Ljava/lang/Object;
|
||||
.source "PanelsChildGestureRegionObserver.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
.implements Landroid/view/View$OnLayoutChangeListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
"Ly/m/c/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Ljava/lang/Boolean;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
Lf/a/e/b$a;,
|
||||
Lf/a/e/b$b;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $bubble:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
.field public d:Ljava/util/Map;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Integer;",
|
||||
"Landroid/graphics/Rect;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final synthetic this$0:Lcom/discord/overlay/OverlayManager;
|
||||
.field public e:Ljava/util/Set;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Set<",
|
||||
"Lf/a/e/b$a;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/overlay/OverlayManager;Lcom/discord/overlay/views/OverlayBubbleWrap;)V
|
||||
.locals 0
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
iput-object p1, p0, Lf/a/e/b;->this$0:Lcom/discord/overlay/OverlayManager;
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p2, p0, Lf/a/e/b;->$bubble:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
new-instance v0, Ljava/util/LinkedHashMap;
|
||||
|
||||
const/4 p1, 0x1
|
||||
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
||||
|
||||
invoke-direct {p0, p1}, Ly/m/c/k;-><init>(I)V
|
||||
iput-object v0, p0, Lf/a/e/b;->d:Ljava/util/Map;
|
||||
|
||||
new-instance v0, Ljava/util/LinkedHashSet;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lf/a/e/b;->e:Ljava/util/Set;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.method public final a()V
|
||||
.locals 3
|
||||
|
||||
check-cast p1, Ljava/lang/Boolean;
|
||||
iget-object v0, p0, Lf/a/e/b;->d:Ljava/util/Map;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
|
||||
invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection;
|
||||
|
||||
move-result p1
|
||||
move-result-object v0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
invoke-static {v0}, Lz/i/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
||||
|
||||
iget-object p1, p0, Lf/a/e/b;->this$0:Lcom/discord/overlay/OverlayManager;
|
||||
move-result-object v0
|
||||
|
||||
iget-object p1, p1, Lcom/discord/overlay/OverlayManager;->i:Lf/a/e/f/a;
|
||||
iget-object v1, p0, Lf/a/e/b;->e:Ljava/util/Set;
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
iget-object p1, p1, Lf/a/e/f/a;->h:Landroid/animation/Animator;
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {p1}, Landroid/animation/Animator;->start()V
|
||||
:goto_0
|
||||
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Lf/a/e/b$a;
|
||||
|
||||
invoke-interface {v2, v0}, Lf/a/e/b$a;->onGestureRegionsUpdate(Ljava/util/List;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object p1, p0, Lf/a/e/b;->this$0:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/overlay/OverlayManager;->i:Lf/a/e/f/a;
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object p1, p1, Lf/a/e/f/a;->i:Landroid/animation/Animator;
|
||||
|
||||
invoke-virtual {p1}, Landroid/animation/Animator;->start()V
|
||||
|
||||
:cond_1
|
||||
iget-object p1, p0, Lf/a/e/b;->this$0:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
iget-object v0, p0, Lf/a/e/b;->$bubble:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/overlay/OverlayManager;->b(Lcom/discord/overlay/views/OverlayBubbleWrap;)V
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onLayoutChange(Landroid/view/View;IIIIIIII)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 p6, 0x2
|
||||
|
||||
new-array p6, p6, [I
|
||||
|
||||
fill-array-data p6, :array_0
|
||||
|
||||
invoke-virtual {p1, p6}, Landroid/view/View;->getLocationOnScreen([I)V
|
||||
|
||||
const/4 p7, 0x0
|
||||
|
||||
aget p7, p6, p7
|
||||
|
||||
const/4 p8, 0x1
|
||||
|
||||
aget p6, p6, p8
|
||||
|
||||
add-int/2addr p2, p7
|
||||
|
||||
add-int/2addr p3, p6
|
||||
|
||||
add-int/2addr p7, p4
|
||||
|
||||
add-int/2addr p6, p5
|
||||
|
||||
iget-object p4, p0, Lf/a/e/b;->d:Ljava/util/Map;
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance p5, Landroid/graphics/Rect;
|
||||
|
||||
invoke-direct {p5, p2, p3, p7, p6}, Landroid/graphics/Rect;-><init>(IIII)V
|
||||
|
||||
invoke-interface {p4, p1, p5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {p0}, Lf/a/e/b;->a()V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
||||
nop
|
||||
|
||||
:array_0
|
||||
.array-data 4
|
||||
0x0
|
||||
0x0
|
||||
.end array-data
|
||||
.end method
|
||||
|
|
|
@ -1,75 +0,0 @@
|
|||
.class public final Lf/a/e/c$a$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "View.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnLayoutChangeListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/e/c$a;->onViewAttachedToWindow(Landroid/view/View;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lf/a/e/c$a;
|
||||
|
||||
.field public final synthetic e:Landroid/view/View;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/e/c$a;Landroid/view/View;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/e/c$a$a;->d:Lf/a/e/c$a;
|
||||
|
||||
iput-object p2, p0, Lf/a/e/c$a$a;->e:Landroid/view/View;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onLayoutChange(Landroid/view/View;IIIIIIII)V
|
||||
.locals 0
|
||||
|
||||
const-string/jumbo p2, "view"
|
||||
|
||||
invoke-static {p1, p2}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1, p0}, Landroid/view/View;->removeOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/e/c$a$a;->e:Landroid/view/View;
|
||||
|
||||
iget-object p2, p0, Lf/a/e/c$a$a;->d:Lf/a/e/c$a;
|
||||
|
||||
iget-object p2, p2, Lf/a/e/c$a;->d:Lf/a/e/c;
|
||||
|
||||
iget-object p2, p2, Lf/a/e/c;->g:Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->findViewWithTag(Ljava/lang/Object;)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string/jumbo p2, "v.findViewWithTag(anchorViewTag)"
|
||||
|
||||
invoke-static {p1, p2}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object p2, p0, Lf/a/e/c$a$a;->d:Lf/a/e/c$a;
|
||||
|
||||
iget-object p2, p2, Lf/a/e/c$a;->d:Lf/a/e/c;
|
||||
|
||||
iget-object p2, p2, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
invoke-virtual {p2, p1}, Lcom/discord/overlay/views/OverlayBubbleWrap;->b(Landroid/view/View;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,121 +0,0 @@
|
|||
.class public final Lf/a/e/c$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "OverlayManager.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnAttachStateChangeListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/e/c;->onClick(Landroid/view/View;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lf/a/e/c;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/e/c;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
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
|
||||
|
||||
const-string/jumbo v0, "v"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
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/jumbo v0, "v.findViewWithTag(anchorViewTag)"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
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;->b(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
|
||||
.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;->a(Z)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
|
@ -1,88 +0,0 @@
|
|||
.class public final Lf/a/e/c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "OverlayManager.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
.field public final synthetic e:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
.field public final synthetic f:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
.field public final synthetic g:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/overlay/OverlayManager;Lkotlin/jvm/functions/Function1;Lcom/discord/overlay/views/OverlayBubbleWrap;Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/e/c;->d:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
iput-object p2, p0, Lf/a/e/c;->e:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
iput-object p3, p0, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
iput-object p4, p0, Lf/a/e/c;->g:Ljava/lang/Object;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 2
|
||||
|
||||
iget-object p1, p0, Lf/a/e/c;->e:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
iget-object v0, p0, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
new-instance v0, Lf/a/e/c$a;
|
||||
|
||||
invoke-direct {v0, p0}, Lf/a/e/c$a;-><init>(Lf/a/e/c;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->addOnAttachStateChangeListener(Landroid/view/View$OnAttachStateChangeListener;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/e/c;->d:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/discord/overlay/OverlayManager;->a(Lcom/discord/overlay/views/OverlayBubbleWrap;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/overlay/views/OverlayBubbleWrap;->setBubbleTouchable(Z)V
|
||||
|
||||
iget-object p1, p0, Lf/a/e/c;->d:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/overlay/OverlayManager;->m:Landroid/view/WindowManager;
|
||||
|
||||
iget-object v0, p0, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
invoke-interface {p1, v0}, Landroid/view/WindowManager;->removeViewImmediate(Landroid/view/View;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/e/c;->d:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/overlay/OverlayManager;->m:Landroid/view/WindowManager;
|
||||
|
||||
iget-object v0, p0, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/overlay/views/OverlayBubbleWrap;->getWindowLayoutParams()Landroid/view/WindowManager$LayoutParams;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-interface {p1, v0, v1}, Landroid/view/WindowManager;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,94 +0,0 @@
|
|||
.class public final Lf/a/e/d;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Animator.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/animation/Animator$AnimatorListener;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
.field public final synthetic b:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/overlay/OverlayManager;Lcom/discord/overlay/views/OverlayBubbleWrap;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/e/d;->a:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
iput-object p2, p0, Lf/a/e/d;->b:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onAnimationCancel(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "animator"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onAnimationEnd(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "animator"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/e/d;->a:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/overlay/OverlayManager;->i:Lf/a/e/f/a;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lf/a/e/d;->b:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
const-string v0, "bubble"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
:cond_0
|
||||
iget-object p1, p0, Lf/a/e/d;->a:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/overlay/OverlayManager;->j:Lf/a/e/e;
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object v0, p0, Lf/a/e/d;->b:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
invoke-interface {p1, v0}, Lf/a/e/e;->b(Lcom/discord/overlay/views/OverlayBubbleWrap;)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onAnimationRepeat(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "animator"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onAnimationStart(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "animator"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,11 +0,0 @@
|
|||
.class public interface abstract Lf/a/e/e;
|
||||
.super Ljava/lang/Object;
|
||||
.source "TrashEventListener.kt"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a(Lcom/discord/overlay/views/OverlayBubbleWrap;)V
|
||||
.end method
|
||||
|
||||
.method public abstract b(Lcom/discord/overlay/views/OverlayBubbleWrap;)V
|
||||
.end method
|
|
@ -1,81 +0,0 @@
|
|||
.class public final Lf/a/e/f/a$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Animator.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/animation/Animator$AnimatorListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/e/f/a;-><init>(Landroid/content/Context;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lf/a/e/f/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/e/f/a;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/e/f/a$a;->a:Lf/a/e/f/a;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onAnimationCancel(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "animator"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onAnimationEnd(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "animator"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onAnimationRepeat(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "animator"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onAnimationStart(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "animator"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/e/f/a$a;->a:Lf/a/e/f/a;
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->setVisibility(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,81 +0,0 @@
|
|||
.class public final Lf/a/e/f/a$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Animator.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/animation/Animator$AnimatorListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/e/f/a;-><init>(Landroid/content/Context;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lf/a/e/f/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/e/f/a;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/e/f/a$b;->a:Lf/a/e/f/a;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onAnimationCancel(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "animator"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onAnimationEnd(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "animator"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/e/f/a$b;->a:Lf/a/e/f/a;
|
||||
|
||||
const/4 v0, 0x4
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->setVisibility(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onAnimationRepeat(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "animator"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onAnimationStart(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "animator"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,548 +0,0 @@
|
|||
.class public Lf/a/e/f/a;
|
||||
.super Landroid/widget/FrameLayout;
|
||||
.source "OverlayTrashWrap.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/a/e/e;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public d:Landroid/view/WindowManager$LayoutParams;
|
||||
|
||||
.field public final e:Landroid/view/View;
|
||||
|
||||
.field public final f:Landroid/view/View;
|
||||
|
||||
.field public final g:Landroid/widget/ImageView;
|
||||
|
||||
.field public final h:Landroid/animation/Animator;
|
||||
|
||||
.field public final i:Landroid/animation/Animator;
|
||||
|
||||
.field public final j:Landroid/graphics/Rect;
|
||||
|
||||
.field public final k:[I
|
||||
|
||||
.field public l:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroid/content/Context;)V
|
||||
.locals 7
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
|
||||
|
||||
sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v0, 0x19
|
||||
|
||||
if-gt p1, v0, :cond_0
|
||||
|
||||
const/16 p1, 0x7d7
|
||||
|
||||
const/16 v3, 0x7d7
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/16 p1, 0x7f6
|
||||
|
||||
const/16 v3, 0x7f6
|
||||
|
||||
:goto_0
|
||||
new-instance p1, Landroid/view/WindowManager$LayoutParams;
|
||||
|
||||
const/4 v1, -0x2
|
||||
|
||||
const/4 v2, -0x2
|
||||
|
||||
const/4 v5, -0x3
|
||||
|
||||
const v4, 0x1000228
|
||||
|
||||
move-object v0, p1
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
iput v0, p1, Landroid/view/WindowManager$LayoutParams;->width:I
|
||||
|
||||
const/16 v0, 0x51
|
||||
|
||||
iput v0, p1, Landroid/view/WindowManager$LayoutParams;->gravity:I
|
||||
|
||||
const-string v0, "$this$addFlag"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget v0, p1, Landroid/view/WindowManager$LayoutParams;->flags:I
|
||||
|
||||
or-int/lit8 v0, v0, 0x10
|
||||
|
||||
iput v0, p1, Landroid/view/WindowManager$LayoutParams;->flags:I
|
||||
|
||||
iput-object p1, p0, Lf/a/e/f/a;->d:Landroid/view/WindowManager$LayoutParams;
|
||||
|
||||
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget v0, Lcom/discord/overlay/R$e;->trash_wrap:I
|
||||
|
||||
invoke-static {p1, v0, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
|
||||
|
||||
sget p1, Lcom/discord/overlay/R$c;->trash_bg:I
|
||||
|
||||
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setBackgroundResource(I)V
|
||||
|
||||
const/4 p1, 0x4
|
||||
|
||||
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setVisibility(I)V
|
||||
|
||||
sget p1, Lcom/discord/overlay/R$d;->trash_wrap_target_zone:I
|
||||
|
||||
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "findViewById(R.id.trash_wrap_target_zone)"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, p0, Lf/a/e/f/a;->e:Landroid/view/View;
|
||||
|
||||
sget v0, Lcom/discord/overlay/R$d;->trash_wrap_target_container:I
|
||||
|
||||
invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "findViewById(R.id.trash_wrap_target_container)"
|
||||
|
||||
invoke-static {v0, v1}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object v0, p0, Lf/a/e/f/a;->f:Landroid/view/View;
|
||||
|
||||
sget v0, Lcom/discord/overlay/R$d;->trash_wrap_icon:I
|
||||
|
||||
invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "findViewById(R.id.trash_wrap_icon)"
|
||||
|
||||
invoke-static {v0, v1}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Landroid/widget/ImageView;
|
||||
|
||||
iput-object v0, p0, Lf/a/e/f/a;->g:Landroid/widget/ImageView;
|
||||
|
||||
new-instance v0, Landroid/animation/AnimatorSet;
|
||||
|
||||
invoke-direct {v0}, Landroid/animation/AnimatorSet;-><init>()V
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
new-array v2, v1, [Landroid/animation/Animator;
|
||||
|
||||
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
sget v4, Lcom/discord/overlay/R$a;->fade_in:I
|
||||
|
||||
invoke-static {v3, v4}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3, p0}, Landroid/animation/Animator;->setTarget(Ljava/lang/Object;)V
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
aput-object v3, v2, v4
|
||||
|
||||
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
sget v5, Lcom/discord/overlay/R$a;->slide_in_bottom:I
|
||||
|
||||
invoke-static {v3, v5}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3, p1}, Landroid/animation/Animator;->setTarget(Ljava/lang/Object;)V
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
aput-object v3, v2, v5
|
||||
|
||||
invoke-virtual {v0, v2}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V
|
||||
|
||||
new-instance v2, Lf/a/e/f/a$a;
|
||||
|
||||
invoke-direct {v2, p0}, Lf/a/e/f/a$a;-><init>(Lf/a/e/f/a;)V
|
||||
|
||||
invoke-virtual {v0, v2}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
|
||||
|
||||
iput-object v0, p0, Lf/a/e/f/a;->h:Landroid/animation/Animator;
|
||||
|
||||
new-instance v0, Landroid/animation/AnimatorSet;
|
||||
|
||||
invoke-direct {v0}, Landroid/animation/AnimatorSet;-><init>()V
|
||||
|
||||
new-array v2, v1, [Landroid/animation/Animator;
|
||||
|
||||
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
sget v6, Lcom/discord/overlay/R$a;->fade_out:I
|
||||
|
||||
invoke-static {v3, v6}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3, p0}, Landroid/animation/Animator;->setTarget(Ljava/lang/Object;)V
|
||||
|
||||
aput-object v3, v2, v4
|
||||
|
||||
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
sget v4, Lcom/discord/overlay/R$a;->slide_out_bottom:I
|
||||
|
||||
invoke-static {v3, v4}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3, p1}, Landroid/animation/Animator;->setTarget(Ljava/lang/Object;)V
|
||||
|
||||
aput-object v3, v2, v5
|
||||
|
||||
invoke-virtual {v0, v2}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V
|
||||
|
||||
new-instance p1, Lf/a/e/f/a$b;
|
||||
|
||||
invoke-direct {p1, p0}, Lf/a/e/f/a$b;-><init>(Lf/a/e/f/a;)V
|
||||
|
||||
invoke-virtual {v0, p1}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
|
||||
|
||||
iput-object v0, p0, Lf/a/e/f/a;->i:Landroid/animation/Animator;
|
||||
|
||||
new-instance p1, Landroid/graphics/Rect;
|
||||
|
||||
invoke-direct {p1}, Landroid/graphics/Rect;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/e/f/a;->j:Landroid/graphics/Rect;
|
||||
|
||||
new-array p1, v1, [I
|
||||
|
||||
fill-array-data p1, :array_0
|
||||
|
||||
iput-object p1, p0, Lf/a/e/f/a;->k:[I
|
||||
|
||||
return-void
|
||||
|
||||
:array_0
|
||||
.array-data 4
|
||||
0x0
|
||||
0x0
|
||||
.end array-data
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Lcom/discord/overlay/views/OverlayBubbleWrap;)V
|
||||
.locals 13
|
||||
|
||||
const-wide/16 v0, 0xc8
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object v4, p0, Lf/a/e/f/a;->f:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v4, v2}, Landroid/view/View;->setActivated(Z)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/widget/FrameLayout;->getWidth()I
|
||||
|
||||
move-result v4
|
||||
|
||||
invoke-virtual {p1}, Landroid/widget/FrameLayout;->getHeight()I
|
||||
|
||||
move-result v5
|
||||
|
||||
invoke-static {v4, v5}, Ljava/lang/Math;->max(II)I
|
||||
|
||||
move-result v4
|
||||
|
||||
iget-object v5, p0, Lf/a/e/f/a;->f:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v5}, Landroid/view/View;->getWidth()I
|
||||
|
||||
move-result v5
|
||||
|
||||
invoke-static {v4, v5}, Ljava/lang/Math;->max(II)I
|
||||
|
||||
move-result v4
|
||||
|
||||
int-to-float v4, v4
|
||||
|
||||
iget-object v5, p0, Lf/a/e/f/a;->f:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v5}, Landroid/view/View;->getWidth()I
|
||||
|
||||
move-result v5
|
||||
|
||||
int-to-float v5, v5
|
||||
|
||||
div-float/2addr v4, v5
|
||||
|
||||
const/high16 v5, 0x3f000000 # 0.5f
|
||||
|
||||
add-float v10, v4, v5
|
||||
|
||||
new-instance v4, Landroid/view/animation/ScaleAnimation;
|
||||
|
||||
iget-object v5, p0, Lf/a/e/f/a;->f:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v5}, Landroid/view/View;->getScaleX()F
|
||||
|
||||
move-result v7
|
||||
|
||||
iget-object v5, p0, Lf/a/e/f/a;->f:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v5}, Landroid/view/View;->getScaleY()F
|
||||
|
||||
move-result v9
|
||||
|
||||
iget-object v5, p0, Lf/a/e/f/a;->f:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v5}, Landroid/view/View;->getPivotX()F
|
||||
|
||||
move-result v11
|
||||
|
||||
iget-object v5, p0, Lf/a/e/f/a;->f:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v5}, Landroid/view/View;->getPivotY()F
|
||||
|
||||
move-result v12
|
||||
|
||||
move-object v6, v4
|
||||
|
||||
move v8, v10
|
||||
|
||||
invoke-direct/range {v6 .. v12}, Landroid/view/animation/ScaleAnimation;-><init>(FFFFFF)V
|
||||
|
||||
invoke-virtual {v4, v0, v1}, Landroid/view/animation/ScaleAnimation;->setDuration(J)V
|
||||
|
||||
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const v1, 0x10c0008
|
||||
|
||||
invoke-virtual {v4, v0, v1}, Landroid/view/animation/ScaleAnimation;->setInterpolator(Landroid/content/Context;I)V
|
||||
|
||||
invoke-virtual {v4, v2}, Landroid/view/animation/ScaleAnimation;->setFillAfter(Z)V
|
||||
|
||||
iget-object v0, p0, Lf/a/e/f/a;->f:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v0, v4}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v4, p0, Lf/a/e/f/a;->f:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v4, v3}, Landroid/view/View;->setActivated(Z)V
|
||||
|
||||
invoke-virtual {p0, v3}, Landroid/widget/FrameLayout;->setActivated(Z)V
|
||||
|
||||
new-instance v4, Landroid/view/animation/ScaleAnimation;
|
||||
|
||||
iget-object v5, p0, Lf/a/e/f/a;->f:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v5}, Landroid/view/View;->getScaleX()F
|
||||
|
||||
move-result v5
|
||||
|
||||
iget-object v6, p0, Lf/a/e/f/a;->f:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v6}, Landroid/view/View;->getScaleY()F
|
||||
|
||||
move-result v6
|
||||
|
||||
const/high16 v7, 0x3f800000 # 1.0f
|
||||
|
||||
invoke-direct {v4, v5, v7, v6, v7}, Landroid/view/animation/ScaleAnimation;-><init>(FFFF)V
|
||||
|
||||
invoke-virtual {v4, v0, v1}, Landroid/view/animation/ScaleAnimation;->setDuration(J)V
|
||||
|
||||
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const v1, 0x10c0007
|
||||
|
||||
invoke-virtual {v4, v0, v1}, Landroid/view/animation/ScaleAnimation;->setInterpolator(Landroid/content/Context;I)V
|
||||
|
||||
invoke-virtual {v4, v2}, Landroid/view/animation/ScaleAnimation;->setFillAfter(Z)V
|
||||
|
||||
iget-object v0, p0, Lf/a/e/f/a;->f:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v0, v4}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V
|
||||
|
||||
:goto_0
|
||||
iget-object v0, p0, Lf/a/e/f/a;->l:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
xor-int/2addr v0, v2
|
||||
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object v0, p0, Lf/a/e/f/a;->g:Landroid/widget/ImageView;
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/overlay/views/OverlayBubbleWrap;->b(Landroid/view/View;)V
|
||||
|
||||
:cond_1
|
||||
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v1, 0x17
|
||||
|
||||
if-lt v0, v1, :cond_2
|
||||
|
||||
const/4 v0, 0x6
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_1
|
||||
invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->performHapticFeedback(I)Z
|
||||
|
||||
iget-object v0, p0, Lf/a/e/f/a;->l:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
sget-object v1, Lcom/discord/overlay/views/OverlayBubbleWrap;->r:[Lkotlin/reflect/KProperty;
|
||||
|
||||
invoke-virtual {v0, v3}, Lcom/discord/overlay/views/OverlayBubbleWrap;->a(Z)V
|
||||
|
||||
:cond_3
|
||||
iput-object p1, p0, Lf/a/e/f/a;->l:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
:cond_4
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public b(Lcom/discord/overlay/views/OverlayBubbleWrap;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "bubble"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final getHideAnimator()Landroid/animation/Animator;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/e/f/a;->i:Landroid/animation/Animator;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getShowAnimator()Landroid/animation/Animator;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/e/f/a;->h:Landroid/animation/Animator;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getWindowLayoutParams()Landroid/view/WindowManager$LayoutParams;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/e/f/a;->d:Landroid/view/WindowManager$LayoutParams;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public onLayout(ZIIII)V
|
||||
.locals 0
|
||||
|
||||
invoke-super/range {p0 .. p5}, Landroid/widget/FrameLayout;->onLayout(ZIIII)V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lf/a/e/f/a;->e:Landroid/view/View;
|
||||
|
||||
iget-object p2, p0, Lf/a/e/f/a;->k:[I
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->getLocationOnScreen([I)V
|
||||
|
||||
iget-object p1, p0, Lf/a/e/f/a;->k:[I
|
||||
|
||||
const/4 p2, 0x0
|
||||
|
||||
aget p2, p1, p2
|
||||
|
||||
const/4 p3, 0x1
|
||||
|
||||
aget p1, p1, p3
|
||||
|
||||
iget-object p3, p0, Lf/a/e/f/a;->j:Landroid/graphics/Rect;
|
||||
|
||||
iget-object p4, p0, Lf/a/e/f/a;->e:Landroid/view/View;
|
||||
|
||||
invoke-virtual {p4}, Landroid/view/View;->getWidth()I
|
||||
|
||||
move-result p4
|
||||
|
||||
add-int/2addr p4, p2
|
||||
|
||||
iget-object p5, p0, Lf/a/e/f/a;->e:Landroid/view/View;
|
||||
|
||||
invoke-virtual {p5}, Landroid/view/View;->getHeight()I
|
||||
|
||||
move-result p5
|
||||
|
||||
add-int/2addr p5, p1
|
||||
|
||||
invoke-virtual {p3, p2, p1, p4, p5}, Landroid/graphics/Rect;->set(IIII)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final setWindowLayoutParams(Landroid/view/WindowManager$LayoutParams;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "<set-?>"
|
||||
|
||||
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, p0, Lf/a/e/f/a;->d:Landroid/view/WindowManager$LayoutParams;
|
||||
|
||||
return-void
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue