apkfuckery/com.discord/smali/f/a/e/b.smali
2020-11-16 01:00:50 +00:00

161 lines
3.2 KiB
Smali

.class public final Lf/a/e/b;
.super Ljava/lang/Object;
.source "PanelsChildGestureRegionObserver.kt"
# interfaces
.implements Landroid/view/View$OnLayoutChangeListener;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lf/a/e/b$a;,
Lf/a/e/b$b;
}
.end annotation
# 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 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>()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
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 final a()V
.locals 3
iget-object v0, p0, Lf/a/e/b;->d:Ljava/util/Map;
invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection;
move-result-object v0
invoke-static {v0}, Lz/i/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
move-result-object v0
iget-object v1, p0, Lf/a/e/b;->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/b$a;
invoke-interface {v2, v0}, Lf/a/e/b$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/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