apkfuckery/com.discord/smali/androidx/preference/PreferenceGroupKt.smali

472 lines
10 KiB
Smali
Raw Normal View History

2019-11-15 02:21:15 +00:00
.class public final Landroidx/preference/PreferenceGroupKt;
.super Ljava/lang/Object;
.source "PreferenceGroup.kt"
# direct methods
.method public static final contains(Landroidx/preference/PreferenceGroup;Landroidx/preference/Preference;)Z
.locals 4
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_3
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_2
2019-11-15 02:21:15 +00:00
invoke-virtual {p0}, Landroidx/preference/PreferenceGroup;->getPreferenceCount()I
move-result v0
const/4 v1, 0x0
const/4 v2, 0x0
:goto_0
if-ge v2, v0, :cond_1
invoke-virtual {p0, v2}, Landroidx/preference/PreferenceGroup;->getPreference(I)Landroidx/preference/Preference;
move-result-object v3
2019-12-21 01:41:59 +00:00
invoke-static {v3, p1}, Lt/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-11-15 02:21:15 +00:00
move-result v3
if-eqz v3, :cond_0
const/4 p0, 0x1
return p0
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
return v1
2019-12-06 03:29:40 +00:00
:cond_2
const-string p0, "preference"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_3
const-string p0, "$this$contains"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-11-15 02:21:15 +00:00
.end method
.method public static final forEach(Landroidx/preference/PreferenceGroup;Lkotlin/jvm/functions/Function1;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/preference/PreferenceGroup;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroidx/preference/Preference;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_2
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_1
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-11-15 02:21:15 +00:00
invoke-virtual {p0}, Landroidx/preference/PreferenceGroup;->getPreferenceCount()I
2019-12-06 03:29:40 +00:00
move-result v1
2019-11-15 02:21:15 +00:00
:goto_0
2019-12-06 03:29:40 +00:00
if-ge v0, v1, :cond_0
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p0, v0}, Landroidx/preference/PreferenceGroupKt;->get(Landroidx/preference/PreferenceGroup;I)Landroidx/preference/Preference;
2019-11-15 02:21:15 +00:00
move-result-object v2
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
add-int/lit8 v0, v0, 0x1
2019-11-15 02:21:15 +00:00
goto :goto_0
:cond_0
return-void
2019-12-06 03:29:40 +00:00
:cond_1
const-string p0, "action"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_2
const-string p0, "$this$forEach"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-11-15 02:21:15 +00:00
.end method
.method public static final forEachIndexed(Landroidx/preference/PreferenceGroup;Lkotlin/jvm/functions/Function2;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/preference/PreferenceGroup;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Integer;",
"-",
"Landroidx/preference/Preference;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_2
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_1
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-11-15 02:21:15 +00:00
invoke-virtual {p0}, Landroidx/preference/PreferenceGroup;->getPreferenceCount()I
2019-12-06 03:29:40 +00:00
move-result v1
2019-11-15 02:21:15 +00:00
:goto_0
2019-12-06 03:29:40 +00:00
if-ge v0, v1, :cond_0
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2019-11-15 02:21:15 +00:00
move-result-object v2
2019-12-06 03:29:40 +00:00
invoke-static {p0, v0}, Landroidx/preference/PreferenceGroupKt;->get(Landroidx/preference/PreferenceGroup;I)Landroidx/preference/Preference;
2019-11-15 02:21:15 +00:00
move-result-object v3
invoke-interface {p1, v2, v3}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
add-int/lit8 v0, v0, 0x1
2019-11-15 02:21:15 +00:00
goto :goto_0
:cond_0
return-void
2019-12-06 03:29:40 +00:00
:cond_1
const-string p0, "action"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_2
const-string p0, "$this$forEachIndexed"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-11-15 02:21:15 +00:00
.end method
.method public static final get(Landroidx/preference/PreferenceGroup;I)Landroidx/preference/Preference;
.locals 3
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-11-15 02:21:15 +00:00
invoke-virtual {p0, p1}, Landroidx/preference/PreferenceGroup;->getPreference(I)Landroidx/preference/Preference;
move-result-object v0
if-eqz v0, :cond_0
return-object v0
:cond_0
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
2019-12-06 03:29:40 +00:00
const-string v1, "Index: "
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
const-string v2, ", Size: "
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v1, p1, v2}, Le/e/b/a/a;->b(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p1
2019-11-15 02:21:15 +00:00
invoke-virtual {p0}, Landroidx/preference/PreferenceGroup;->getPreferenceCount()I
move-result p0
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2019-11-15 02:21:15 +00:00
move-result-object p0
invoke-direct {v0, p0}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
throw v0
2019-12-06 03:29:40 +00:00
:cond_1
const-string p0, "$this$get"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p0, 0x0
throw p0
2019-11-15 02:21:15 +00:00
.end method
.method public static final get(Landroidx/preference/PreferenceGroup;Ljava/lang/CharSequence;)Landroidx/preference/Preference;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Landroidx/preference/Preference;",
">(",
"Landroidx/preference/PreferenceGroup;",
"Ljava/lang/CharSequence;",
")TT;"
}
.end annotation
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
2019-11-15 02:21:15 +00:00
invoke-virtual {p0, p1}, Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;
move-result-object p0
return-object p0
2019-12-06 03:29:40 +00:00
:cond_0
const-string p0, "key"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_1
const-string p0, "$this$get"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-11-15 02:21:15 +00:00
.end method
.method public static final getChildren(Landroidx/preference/PreferenceGroup;)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/preference/PreferenceGroup;",
")",
"Lkotlin/sequences/Sequence<",
"Landroidx/preference/Preference;",
">;"
}
.end annotation
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_0
2019-11-15 02:21:15 +00:00
new-instance v0, Landroidx/preference/PreferenceGroupKt$children$1;
invoke-direct {v0, p0}, Landroidx/preference/PreferenceGroupKt$children$1;-><init>(Landroidx/preference/PreferenceGroup;)V
return-object v0
2019-12-06 03:29:40 +00:00
:cond_0
const-string p0, "$this$children"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p0, 0x0
throw p0
2019-11-15 02:21:15 +00:00
.end method
.method public static final getSize(Landroidx/preference/PreferenceGroup;)I
2019-12-06 03:29:40 +00:00
.locals 0
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_0
2019-11-15 02:21:15 +00:00
invoke-virtual {p0}, Landroidx/preference/PreferenceGroup;->getPreferenceCount()I
move-result p0
return p0
2019-12-06 03:29:40 +00:00
:cond_0
const-string p0, "$this$size"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p0, 0x0
throw p0
2019-11-15 02:21:15 +00:00
.end method
.method public static final isEmpty(Landroidx/preference/PreferenceGroup;)Z
2019-12-06 03:29:40 +00:00
.locals 0
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-11-15 02:21:15 +00:00
invoke-virtual {p0}, Landroidx/preference/PreferenceGroup;->getPreferenceCount()I
move-result p0
if-nez p0, :cond_0
const/4 p0, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-11-15 02:21:15 +00:00
:cond_0
const/4 p0, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-11-15 02:21:15 +00:00
return p0
2019-12-06 03:29:40 +00:00
:cond_1
const-string p0, "$this$isEmpty"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p0, 0x0
throw p0
2019-11-15 02:21:15 +00:00
.end method
.method public static final isNotEmpty(Landroidx/preference/PreferenceGroup;)Z
2019-12-06 03:29:40 +00:00
.locals 0
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-11-15 02:21:15 +00:00
invoke-virtual {p0}, Landroidx/preference/PreferenceGroup;->getPreferenceCount()I
move-result p0
if-eqz p0, :cond_0
const/4 p0, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-11-15 02:21:15 +00:00
:cond_0
const/4 p0, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-11-15 02:21:15 +00:00
return p0
2019-12-06 03:29:40 +00:00
:cond_1
const-string p0, "$this$isNotEmpty"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p0, 0x0
throw p0
2019-11-15 02:21:15 +00:00
.end method
.method public static final iterator(Landroidx/preference/PreferenceGroup;)Ljava/util/Iterator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/preference/PreferenceGroup;",
")",
"Ljava/util/Iterator<",
"Landroidx/preference/Preference;",
">;"
}
.end annotation
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_0
2019-11-15 02:21:15 +00:00
new-instance v0, Landroidx/preference/PreferenceGroupKt$iterator$1;
invoke-direct {v0, p0}, Landroidx/preference/PreferenceGroupKt$iterator$1;-><init>(Landroidx/preference/PreferenceGroup;)V
return-object v0
2019-12-06 03:29:40 +00:00
:cond_0
const-string p0, "$this$iterator"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p0, 0x0
throw p0
2019-11-15 02:21:15 +00:00
.end method
.method public static final minusAssign(Landroidx/preference/PreferenceGroup;Landroidx/preference/Preference;)V
.locals 1
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
2019-11-15 02:21:15 +00:00
invoke-virtual {p0, p1}, Landroidx/preference/PreferenceGroup;->removePreference(Landroidx/preference/Preference;)Z
return-void
2019-12-06 03:29:40 +00:00
:cond_0
const-string p0, "preference"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_1
const-string p0, "$this$minusAssign"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-11-15 02:21:15 +00:00
.end method
.method public static final plusAssign(Landroidx/preference/PreferenceGroup;Landroidx/preference/Preference;)V
.locals 1
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
2019-11-15 02:21:15 +00:00
invoke-virtual {p0, p1}, Landroidx/preference/PreferenceGroup;->addPreference(Landroidx/preference/Preference;)Z
return-void
2019-12-06 03:29:40 +00:00
:cond_0
const-string p0, "preference"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_1
const-string p0, "$this$plusAssign"
2019-12-21 01:41:59 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-11-15 02:21:15 +00:00
.end method