apkfuckery/com.discord/smali/f/a/e/b.smali

162 lines
3.2 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lf/a/e/b;
2020-11-09 19:03:49 +00:00
.super Ljava/lang/Object;
.source "PanelsChildGestureRegionObserver.kt"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# interfaces
2020-11-09 19:03:49 +00:00
.implements Landroid/view/View$OnLayoutChangeListener;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# annotations
2020-11-09 19:03:49 +00:00
.annotation system Ldalvik/annotation/MemberClasses;
2020-07-08 16:44:49 +00:00
value = {
2020-11-09 19:03:49 +00:00
Lf/a/e/b$a;,
Lf/a/e/b$b;
2020-07-08 16:44:49 +00:00
}
.end annotation
# instance fields
2020-11-09 19:03:49 +00:00
.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 e:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Lf/a/e/b$a;",
">;"
}
.end annotation
.end field
2020-05-17 12:40:10 +00:00
# direct methods
2020-11-09 19:03:49 +00:00
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/util/LinkedHashMap;
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
iput-object v0, p0, Lf/a/e/b;->d:Ljava/util/Map;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
new-instance v0, Ljava/util/LinkedHashSet;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
iput-object v0, p0, Lf/a/e/b;->e:Ljava/util/Set;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
return-void
.end method
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# virtual methods
2020-11-09 19:03:49 +00:00
.method public final a()V
.locals 3
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
iget-object v0, p0, Lf/a/e/b;->d:Ljava/util/Map;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
invoke-static {v0}, Ly/i/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
iget-object v1, p0, Lf/a/e/b;->e:Ljava/util/Set;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
move-result-object v1
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
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
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_0
2020-11-09 19:03:49 +00:00
return-void
.end method
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
.method public onLayoutChange(Landroid/view/View;IIIIIIII)V
.locals 0
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
if-eqz p1, :cond_0
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
const/4 p6, 0x2
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
new-array p6, p6, [I
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
fill-array-data p6, :array_0
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
invoke-virtual {p1, p6}, Landroid/view/View;->getLocationOnScreen([I)V
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
const/4 p7, 0x0
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
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
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
:array_0
.array-data 4
0x0
0x0
.end array-data
2020-05-17 12:40:10 +00:00
.end method