212 lines
5.2 KiB
Smali
212 lines
5.2 KiB
Smali
.class public final Lcom/discord/widgets/voice/call/WidgetPrivateCall$initializeSystemUiListeners$1;
|
|
.super Ls/u/b/k;
|
|
.source "WidgetPrivateCall.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/voice/call/WidgetPrivateCall;->initializeSystemUiListeners(Landroid/view/ViewGroup;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ls/u/b/k;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/view/View;",
|
|
"+",
|
|
"Lkotlin/Unit;",
|
|
">;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $fullscreenChildren:Ljava/util/List;
|
|
|
|
.field public final synthetic $viewGroup:Landroid/view/ViewGroup;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/view/ViewGroup;Ljava/util/List;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall$initializeSystemUiListeners$1;->$viewGroup:Landroid/view/ViewGroup;
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall$initializeSystemUiListeners$1;->$fullscreenChildren:Ljava/util/List;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Ls/u/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, Lkotlin/jvm/functions/Function1;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$initializeSystemUiListeners$1;->invoke(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final invoke(Lkotlin/jvm/functions/Function1;)V
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/view/View;",
|
|
"Lkotlin/Unit;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall$initializeSystemUiListeners$1;->$viewGroup:Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {v1}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v1
|
|
|
|
invoke-static {v0, v1}, Ls/x/c;->until(II)Lkotlin/ranges/IntRange;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
const/16 v2, 0xa
|
|
|
|
invoke-static {v0, v2}, Le/k/a/b/e/p/g;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
|
|
|
move-result v2
|
|
|
|
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
move-object v2, v0
|
|
|
|
check-cast v2, Ls/q/r;
|
|
|
|
invoke-virtual {v2}, Ls/q/r;->nextInt()I
|
|
|
|
move-result v2
|
|
|
|
iget-object v3, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall$initializeSystemUiListeners$1;->$viewGroup:Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {v3, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v1, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v1
|
|
|
|
:cond_1
|
|
:goto_1
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
move-object v3, v2
|
|
|
|
check-cast v3, Landroid/view/View;
|
|
|
|
iget-object v4, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall$initializeSystemUiListeners$1;->$fullscreenChildren:Ljava/util/List;
|
|
|
|
invoke-static {v4, v3}, Ls/q/l;->contains(Ljava/lang/Iterable;Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
xor-int/lit8 v3, v3, 0x1
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
invoke-interface {v0, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_2
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/view/View;
|
|
|
|
const-string v2, "it"
|
|
|
|
invoke-static {v1, v2}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
return-void
|
|
|
|
:cond_4
|
|
const-string p1, "action"
|
|
|
|
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|