Changes of com.discord v1181
This commit is contained in:
parent
f52990c3c2
commit
5a8adcbf82
29917 changed files with 1840412 additions and 1765629 deletions
|
@ -1,112 +0,0 @@
|
|||
.class public final Lf/a/e/a$a;
|
||||
.super Ly/v/b/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 = {
|
||||
"Ly/v/b/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}, Ly/v/b/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/content/Context;
|
||||
|
||||
invoke-virtual {p0, p1}, Lf/a/e/a$a;->invoke(Landroid/content/Context;)Ljava/util/Locale;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final invoke(Landroid/content/Context;)Ljava/util/Locale;
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "context.resources"
|
||||
|
||||
invoke-static {p1, v0}, Ly/v/b/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}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "context"
|
||||
|
||||
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -1,99 +1,82 @@
|
|||
.class public final Lf/a/e/a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "LocaleProvider.kt"
|
||||
.super Lj0/n/c/i;
|
||||
.source "OverlayManager.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# 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
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lj0/n/c/i;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/discord/overlay/views/OverlayBubbleWrap;",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.field public static final b:Lf/a/e/a;
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/e/a;
|
||||
|
||||
invoke-direct {v0}, Lf/a/e/a;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/e/a;->b:Lf/a/e/a;
|
||||
|
||||
sget-object v0, Lf/a/e/a$a;->d:Lf/a/e/a$a;
|
||||
|
||||
sput-object v0, Lf/a/e/a;->a:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.method public constructor <init>(Lcom/discord/overlay/OverlayManager;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
iput-object p1, p0, Lf/a/e/a;->this$0:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lj0/n/c/i;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Landroid/content/Context;)Ljava/util/Locale;
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
sget-object v0, Lf/a/e/a;->a:Lkotlin/jvm/functions/Function1;
|
||||
: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
|
||||
|
||||
check-cast p1, Ljava/util/Locale;
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "context"
|
||||
const-string p1, "bubbleWrap"
|
||||
|
||||
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final a(Lkotlin/jvm/functions/Function1;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"-",
|
||||
"Landroid/content/Context;",
|
||||
"Ljava/util/Locale;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
sput-object p1, Lf/a/e/a;->a:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "provider"
|
||||
|
||||
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
|
|
|
@ -1,60 +1,90 @@
|
|||
.class public final synthetic Lf/a/e/b;
|
||||
.super Ljava/lang/Object;
|
||||
.class public final Lf/a/e/b;
|
||||
.super Lj0/n/c/i;
|
||||
.source "OverlayManager.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final synthetic a:[I
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lj0/n/c/i;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Ljava/lang/Boolean;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $bubble:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
.field public final synthetic this$0:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static synthetic constructor <clinit>()V
|
||||
.locals 3
|
||||
.method public constructor <init>(Lcom/discord/overlay/OverlayManager;Lcom/discord/overlay/views/OverlayBubbleWrap;)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {}, Lcom/discord/panels/OverlappingPanelsLayout$Panel;->values()[Lcom/discord/panels/OverlappingPanelsLayout$Panel;
|
||||
iput-object p1, p0, Lf/a/e/b;->this$0:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
move-result-object v0
|
||||
iput-object p2, p0, Lf/a/e/b;->$bubble:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
array-length v0, v0
|
||||
const/4 p1, 0x1
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
sput-object v0, Lf/a/e/b;->a:[I
|
||||
|
||||
sget-object v0, Lf/a/e/b;->a:[I
|
||||
|
||||
sget-object v1, Lcom/discord/panels/OverlappingPanelsLayout$Panel;->START:Lcom/discord/panels/OverlappingPanelsLayout$Panel;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
aput v2, v0, v1
|
||||
|
||||
sget-object v0, Lf/a/e/b;->a:[I
|
||||
|
||||
sget-object v1, Lcom/discord/panels/OverlappingPanelsLayout$Panel;->END:Lcom/discord/panels/OverlappingPanelsLayout$Panel;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
aput v2, v0, v1
|
||||
|
||||
sget-object v0, Lf/a/e/b;->a:[I
|
||||
|
||||
sget-object v1, Lcom/discord/panels/OverlappingPanelsLayout$Panel;->CENTER:Lcom/discord/panels/OverlappingPanelsLayout$Panel;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x3
|
||||
|
||||
aput v2, v0, v1
|
||||
invoke-direct {p0, p1}, Lj0/n/c/i;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Ljava/lang/Boolean;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :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_2
|
||||
|
||||
iget-object p1, p1, Lf/a/e/f/a;->h:Landroid/animation/Animator;
|
||||
|
||||
invoke-virtual {p1}, Landroid/animation/Animator;->start()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
|
||||
.end method
|
||||
|
|
82
com.discord/smali/f/a/e/c$a$a.smali
Normal file
82
com.discord/smali/f/a/e/c$a$a.smali
Normal file
|
@ -0,0 +1,82 @@
|
|||
.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
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
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 p2, "v.findViewWithTag(anchorViewTag)"
|
||||
|
||||
invoke-static {p1, p2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(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;->d(Landroid/view/View;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "view"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -1,27 +1,128 @@
|
|||
.class public interface abstract Lf/a/e/c$a;
|
||||
.class public final Lf/a/e/c$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PanelsChildGestureRegionObserver.kt"
|
||||
.source "OverlayManager.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnAttachStateChangeListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/e/c;
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/e/c;->onClick(Landroid/view/View;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "a"
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract onGestureRegionsUpdate(Ljava/util/List;)V
|
||||
# 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 = {
|
||||
"(",
|
||||
"Ljava/util/List<",
|
||||
"Landroid/graphics/Rect;",
|
||||
">;)V"
|
||||
"()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
|
||||
|
||||
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)"
|
||||
|
||||
invoke-static {p1, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(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;->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"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
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
|
||||
.end method
|
||||
|
|
|
@ -1,71 +0,0 @@
|
|||
.class public final Lf/a/e/c$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PanelsChildGestureRegionObserver.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/e/c;
|
||||
.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/c;",
|
||||
">;"
|
||||
}
|
||||
.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/c$b;->a:Ljava/lang/ref/WeakReference;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final a()Lf/a/e/c;
|
||||
.locals 2
|
||||
.annotation build Landroidx/annotation/UiThread;
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Lf/a/e/c$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/c;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
new-instance v0, Lf/a/e/c;
|
||||
|
||||
invoke-direct {v0}, Lf/a/e/c;-><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/c$b;->a:Ljava/lang/ref/WeakReference;
|
||||
|
||||
:cond_0
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,161 +1,88 @@
|
|||
.class public final Lf/a/e/c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PanelsChildGestureRegionObserver.kt"
|
||||
.source "OverlayManager.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnLayoutChangeListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lf/a/e/c$a;,
|
||||
Lf/a/e/c$b;
|
||||
}
|
||||
.end annotation
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# instance fields
|
||||
.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 d:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
.field public e:Ljava/util/Set;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Set<",
|
||||
"Lf/a/e/c$a;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
.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>()V
|
||||
.locals 1
|
||||
.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
|
||||
|
||||
new-instance v0, Ljava/util/LinkedHashMap;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lf/a/e/c;->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/c;->e:Ljava/util/Set;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a()V
|
||||
.locals 3
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/a/e/c;->d:Ljava/util/Map;
|
||||
iget-object p1, p0, Lf/a/e/c;->e:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection;
|
||||
iget-object v0, p0, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0}, Ly/q/m;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lf/a/e/c;->e:Ljava/util/Set;
|
||||
|
||||
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
: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/c$a;
|
||||
|
||||
invoke-interface {v2, v0}, Lf/a/e/c$a;->onGestureRegionsUpdate(Ljava/util/List;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
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/c;->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;
|
||||
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance p5, Landroid/graphics/Rect;
|
||||
check-cast p1, Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
invoke-direct {p5, p2, p3, p7, p6}, Landroid/graphics/Rect;-><init>(IIII)V
|
||||
new-instance v0, Lf/a/e/c$a;
|
||||
|
||||
invoke-interface {p4, p1, p5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-direct {v0, p0}, Lf/a/e/c$a;-><init>(Lf/a/e/c;)V
|
||||
|
||||
invoke-virtual {p0}, Lf/a/e/c;->a()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
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
||||
nop
|
||||
|
||||
:array_0
|
||||
.array-data 4
|
||||
0x0
|
||||
0x0
|
||||
.end array-data
|
||||
.end method
|
||||
|
|
128
com.discord/smali/f/a/e/d.smali
Normal file
128
com.discord/smali/f/a/e/d.smali
Normal file
|
@ -0,0 +1,128 @@
|
|||
.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 d:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
.field public final synthetic e: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;->d:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
iput-object p2, p0, Lf/a/e/d;->e: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 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "animator"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public onAnimationEnd(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
iget-object p1, p0, Lf/a/e/d;->d: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, p0, Lf/a/e/d;->e:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const-string p1, "bubble"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
iget-object p1, p0, Lf/a/e/d;->d:Lcom/discord/overlay/OverlayManager;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/overlay/OverlayManager;->j:Lf/a/e/e;
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
iget-object v0, p0, Lf/a/e/d;->e:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
||||
|
||||
invoke-interface {p1, v0}, Lf/a/e/e;->b(Lcom/discord/overlay/views/OverlayBubbleWrap;)V
|
||||
|
||||
:cond_2
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
const-string p1, "animator"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public onAnimationRepeat(Landroid/animation/Animator;)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "animator"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public onAnimationStart(Landroid/animation/Animator;)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "animator"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
11
com.discord/smali/f/a/e/e.smali
Normal file
11
com.discord/smali/f/a/e/e.smali
Normal file
|
@ -0,0 +1,11 @@
|
|||
.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
|
109
com.discord/smali/f/a/e/f/a$a.smali
Normal file
109
com.discord/smali/f/a/e/f/a$a.smali
Normal file
|
@ -0,0 +1,109 @@
|
|||
.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 d: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;->d: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 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "animator"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public onAnimationEnd(Landroid/animation/Animator;)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "animator"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public onAnimationRepeat(Landroid/animation/Animator;)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "animator"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public onAnimationStart(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lf/a/e/f/a$a;->d:Lf/a/e/f/a;
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->setVisibility(I)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "animator"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
109
com.discord/smali/f/a/e/f/a$b.smali
Normal file
109
com.discord/smali/f/a/e/f/a$b.smali
Normal file
|
@ -0,0 +1,109 @@
|
|||
.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 d: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;->d: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 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "animator"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public onAnimationEnd(Landroid/animation/Animator;)V
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lf/a/e/f/a$b;->d:Lf/a/e/f/a;
|
||||
|
||||
const/4 v0, 0x4
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->setVisibility(I)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "animator"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public onAnimationRepeat(Landroid/animation/Animator;)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "animator"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public onAnimationStart(Landroid/animation/Animator;)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "animator"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
556
com.discord/smali/f/a/e/f/a.smali
Normal file
556
com.discord/smali/f/a/e/f/a.smali
Normal file
|
@ -0,0 +1,556 @@
|
|||
.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 6
|
||||
|
||||
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
|
||||
|
||||
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}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, p0, Lf/a/e/f/a;->e:Landroid/view/View;
|
||||
|
||||
sget p1, Lcom/discord/overlay/R$d;->trash_wrap_target_container: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_container)"
|
||||
|
||||
invoke-static {p1, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, p0, Lf/a/e/f/a;->f:Landroid/view/View;
|
||||
|
||||
sget p1, Lcom/discord/overlay/R$d;->trash_wrap_icon: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_icon)"
|
||||
|
||||
invoke-static {p1, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Landroid/widget/ImageView;
|
||||
|
||||
iput-object p1, p0, Lf/a/e/f/a;->g:Landroid/widget/ImageView;
|
||||
|
||||
new-instance p1, Landroid/animation/AnimatorSet;
|
||||
|
||||
invoke-direct {p1}, Landroid/animation/AnimatorSet;-><init>()V
|
||||
|
||||
const/4 v0, 0x2
|
||||
|
||||
new-array v1, v0, [Landroid/animation/Animator;
|
||||
|
||||
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
sget v3, Lcom/discord/overlay/R$a;->fade_in:I
|
||||
|
||||
invoke-static {v2, v3}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2, p0}, Landroid/animation/Animator;->setTarget(Ljava/lang/Object;)V
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
aput-object v2, v1, v3
|
||||
|
||||
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
sget v4, Lcom/discord/overlay/R$a;->slide_in_bottom:I
|
||||
|
||||
invoke-static {v2, v4}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iget-object v4, p0, Lf/a/e/f/a;->e:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v2, v4}, Landroid/animation/Animator;->setTarget(Ljava/lang/Object;)V
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
aput-object v2, v1, v4
|
||||
|
||||
invoke-virtual {p1, v1}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V
|
||||
|
||||
new-instance v1, Lf/a/e/f/a$a;
|
||||
|
||||
invoke-direct {v1, p0}, Lf/a/e/f/a$a;-><init>(Lf/a/e/f/a;)V
|
||||
|
||||
invoke-virtual {p1, v1}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
|
||||
|
||||
iput-object p1, p0, Lf/a/e/f/a;->h:Landroid/animation/Animator;
|
||||
|
||||
new-instance p1, Landroid/animation/AnimatorSet;
|
||||
|
||||
invoke-direct {p1}, Landroid/animation/AnimatorSet;-><init>()V
|
||||
|
||||
new-array v1, v0, [Landroid/animation/Animator;
|
||||
|
||||
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
sget v5, Lcom/discord/overlay/R$a;->fade_out:I
|
||||
|
||||
invoke-static {v2, v5}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2, p0}, Landroid/animation/Animator;->setTarget(Ljava/lang/Object;)V
|
||||
|
||||
aput-object v2, v1, v3
|
||||
|
||||
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
sget v3, Lcom/discord/overlay/R$a;->slide_out_bottom:I
|
||||
|
||||
invoke-static {v2, v3}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iget-object v3, p0, Lf/a/e/f/a;->e:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v2, v3}, Landroid/animation/Animator;->setTarget(Ljava/lang/Object;)V
|
||||
|
||||
aput-object v2, v1, v4
|
||||
|
||||
invoke-virtual {p1, v1}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V
|
||||
|
||||
new-instance v1, Lf/a/e/f/a$b;
|
||||
|
||||
invoke-direct {v1, p0}, Lf/a/e/f/a$b;-><init>(Lf/a/e/f/a;)V
|
||||
|
||||
invoke-virtual {p1, v1}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
|
||||
|
||||
iput-object p1, 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, v0, [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, 0x0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
if-eqz p1, :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 {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, v3}, 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, v2}, Landroid/view/View;->setActivated(Z)V
|
||||
|
||||
invoke-virtual {p0, v2}, 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, v3}, 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}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
xor-int/2addr v0, v3
|
||||
|
||||
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;->d(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
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-static {v0, v2, v3, v1}, Lcom/discord/overlay/views/OverlayBubbleWrap;->c(Lcom/discord/overlay/views/OverlayBubbleWrap;ZILjava/lang/Object;)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 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "bubble"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.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 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iput-object p1, p0, Lf/a/e/f/a;->d:Landroid/view/WindowManager$LayoutParams;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "<set-?>"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue