mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 17:12:31 -06:00
284 lines
11 KiB
Smali
284 lines
11 KiB
Smali
.class public final Landroidx/lifecycle/Transformations;
|
|
.super Ljava/lang/Object;
|
|
.source "Transformations.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\u001c\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\u001a\u001e\u0010\u0000\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u0001H\u0007\u001aB\u0010\u0003\u001a\u0008\u0012\u0004\u0012\u0002H\u00040\u0001\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u0004*\u0008\u0012\u0004\u0012\u0002H\u00020\u00012\u001c\u0010\u0005\u001a\u0018\u0012\t\u0012\u0007H\u0002\u00a2\u0006\u0002\u0008\u0007\u0012\t\u0012\u0007H\u0004\u00a2\u0006\u0002\u0008\u00070\u0006H\u0007\u001a8\u0010\u0003\u001a\u0008\u0012\u0004\u0012\u0002H\u00040\u0001\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u0004*\u0008\u0012\u0004\u0012\u0002H\u00020\u00012\u0012\u0010\u0008\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00040\tH\u0007\u001aJ\u0010\n\u001a\u0008\u0012\u0004\u0012\u0002H\u00040\u0001\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u0004*\u0008\u0012\u0004\u0012\u0002H\u00020\u00012$\u0010\u0005\u001a \u0012\t\u0012\u0007H\u0002\u00a2\u0006\u0002\u0008\u0007\u0012\u0011\u0012\u000f\u0012\u0004\u0012\u0002H\u0004\u0018\u00010\u0001\u00a2\u0006\u0002\u0008\u00070\u0006H\u0007\u001a>\u0010\n\u001a\u0008\u0012\u0004\u0012\u0002H\u00040\u0001\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u0004*\u0008\u0012\u0004\u0012\u0002H\u00020\u00012\u0018\u0010\u000b\u001a\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0004\u0012\u0002H\u00040\u00010\tH\u0007\u00a8\u0006\u000c"
|
|
}
|
|
d2 = {
|
|
"distinctUntilChanged",
|
|
"Landroidx/lifecycle/LiveData;",
|
|
"X",
|
|
"map",
|
|
"Y",
|
|
"transform",
|
|
"Lkotlin/Function1;",
|
|
"Lkotlin/jvm/JvmSuppressWildcards;",
|
|
"mapFunction",
|
|
"Landroidx/arch/core/util/Function;",
|
|
"switchMap",
|
|
"switchMapFunction",
|
|
"lifecycle-livedata_release"
|
|
}
|
|
k = 0x2
|
|
mv = {
|
|
0x1,
|
|
0x8,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public static final distinctUntilChanged(Landroidx/lifecycle/LiveData;)Landroidx/lifecycle/LiveData;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<X:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"TX;>;)",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"TX;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 179
|
|
new-instance v0, Landroidx/lifecycle/MediatorLiveData;
|
|
|
|
invoke-direct {v0}, Landroidx/lifecycle/MediatorLiveData;-><init>()V
|
|
|
|
.line 180
|
|
new-instance v1, Lkotlin/jvm/internal/Ref$BooleanRef;
|
|
|
|
invoke-direct {v1}, Lkotlin/jvm/internal/Ref$BooleanRef;-><init>()V
|
|
|
|
const/4 v2, 0x1
|
|
|
|
iput-boolean v2, v1, Lkotlin/jvm/internal/Ref$BooleanRef;->element:Z
|
|
|
|
.line 181
|
|
invoke-virtual {p0}, Landroidx/lifecycle/LiveData;->isInitialized()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 182
|
|
invoke-virtual {p0}, Landroidx/lifecycle/LiveData;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v0, v2}, Landroidx/lifecycle/MediatorLiveData;->setValue(Ljava/lang/Object;)V
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 183
|
|
iput-boolean v2, v1, Lkotlin/jvm/internal/Ref$BooleanRef;->element:Z
|
|
|
|
.line 185
|
|
:cond_0
|
|
new-instance v2, Landroidx/lifecycle/Transformations$distinctUntilChanged$1;
|
|
|
|
invoke-direct {v2, v0, v1}, Landroidx/lifecycle/Transformations$distinctUntilChanged$1;-><init>(Landroidx/lifecycle/MediatorLiveData;Lkotlin/jvm/internal/Ref$BooleanRef;)V
|
|
|
|
check-cast v2, Lkotlin/jvm/functions/Function1;
|
|
|
|
new-instance v1, Landroidx/lifecycle/Transformations$sam$androidx_lifecycle_Observer$0;
|
|
|
|
invoke-direct {v1, v2}, Landroidx/lifecycle/Transformations$sam$androidx_lifecycle_Observer$0;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
check-cast v1, Landroidx/lifecycle/Observer;
|
|
|
|
invoke-virtual {v0, p0, v1}, Landroidx/lifecycle/MediatorLiveData;->addSource(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/Observer;)V
|
|
|
|
.line 195
|
|
check-cast v0, Landroidx/lifecycle/LiveData;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic map(Landroidx/lifecycle/LiveData;Landroidx/arch/core/util/Function;)Landroidx/lifecycle/LiveData;
|
|
.locals 2
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->HIDDEN:Lkotlin/DeprecationLevel;
|
|
message = "Use kotlin functions, instead of outdated arch core Functions"
|
|
.end annotation
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "mapFunction"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 64
|
|
new-instance v0, Landroidx/lifecycle/MediatorLiveData;
|
|
|
|
invoke-direct {v0}, Landroidx/lifecycle/MediatorLiveData;-><init>()V
|
|
|
|
.line 65
|
|
new-instance v1, Landroidx/lifecycle/Transformations$map$2;
|
|
|
|
invoke-direct {v1, v0, p1}, Landroidx/lifecycle/Transformations$map$2;-><init>(Landroidx/lifecycle/MediatorLiveData;Landroidx/arch/core/util/Function;)V
|
|
|
|
check-cast v1, Lkotlin/jvm/functions/Function1;
|
|
|
|
new-instance p1, Landroidx/lifecycle/Transformations$sam$androidx_lifecycle_Observer$0;
|
|
|
|
invoke-direct {p1, v1}, Landroidx/lifecycle/Transformations$sam$androidx_lifecycle_Observer$0;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
check-cast p1, Landroidx/lifecycle/Observer;
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroidx/lifecycle/MediatorLiveData;->addSource(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/Observer;)V
|
|
|
|
.line 66
|
|
check-cast v0, Landroidx/lifecycle/LiveData;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final map(Landroidx/lifecycle/LiveData;Lkotlin/jvm/functions/Function1;)Landroidx/lifecycle/LiveData;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<X:",
|
|
"Ljava/lang/Object;",
|
|
"Y:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"TX;>;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"TX;TY;>;)",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"TY;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "transform"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 51
|
|
new-instance v0, Landroidx/lifecycle/MediatorLiveData;
|
|
|
|
invoke-direct {v0}, Landroidx/lifecycle/MediatorLiveData;-><init>()V
|
|
|
|
.line 52
|
|
new-instance v1, Landroidx/lifecycle/Transformations$map$1;
|
|
|
|
invoke-direct {v1, v0, p1}, Landroidx/lifecycle/Transformations$map$1;-><init>(Landroidx/lifecycle/MediatorLiveData;Lkotlin/jvm/functions/Function1;)V
|
|
|
|
check-cast v1, Lkotlin/jvm/functions/Function1;
|
|
|
|
new-instance p1, Landroidx/lifecycle/Transformations$sam$androidx_lifecycle_Observer$0;
|
|
|
|
invoke-direct {p1, v1}, Landroidx/lifecycle/Transformations$sam$androidx_lifecycle_Observer$0;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
check-cast p1, Landroidx/lifecycle/Observer;
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroidx/lifecycle/MediatorLiveData;->addSource(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/Observer;)V
|
|
|
|
.line 53
|
|
check-cast v0, Landroidx/lifecycle/LiveData;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic switchMap(Landroidx/lifecycle/LiveData;Landroidx/arch/core/util/Function;)Landroidx/lifecycle/LiveData;
|
|
.locals 2
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->HIDDEN:Lkotlin/DeprecationLevel;
|
|
message = "Use kotlin functions, instead of outdated arch core Functions"
|
|
.end annotation
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "switchMapFunction"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 148
|
|
new-instance v0, Landroidx/lifecycle/MediatorLiveData;
|
|
|
|
invoke-direct {v0}, Landroidx/lifecycle/MediatorLiveData;-><init>()V
|
|
|
|
.line 149
|
|
new-instance v1, Landroidx/lifecycle/Transformations$switchMap$2;
|
|
|
|
invoke-direct {v1, p1, v0}, Landroidx/lifecycle/Transformations$switchMap$2;-><init>(Landroidx/arch/core/util/Function;Landroidx/lifecycle/MediatorLiveData;)V
|
|
|
|
check-cast v1, Landroidx/lifecycle/Observer;
|
|
|
|
invoke-virtual {v0, p0, v1}, Landroidx/lifecycle/MediatorLiveData;->addSource(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/Observer;)V
|
|
|
|
.line 166
|
|
check-cast v0, Landroidx/lifecycle/LiveData;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final switchMap(Landroidx/lifecycle/LiveData;Lkotlin/jvm/functions/Function1;)Landroidx/lifecycle/LiveData;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<X:",
|
|
"Ljava/lang/Object;",
|
|
"Y:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"TX;>;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"TX;",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"TY;>;>;)",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"TY;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "transform"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 119
|
|
new-instance v0, Landroidx/lifecycle/MediatorLiveData;
|
|
|
|
invoke-direct {v0}, Landroidx/lifecycle/MediatorLiveData;-><init>()V
|
|
|
|
.line 120
|
|
new-instance v1, Landroidx/lifecycle/Transformations$switchMap$1;
|
|
|
|
invoke-direct {v1, p1, v0}, Landroidx/lifecycle/Transformations$switchMap$1;-><init>(Lkotlin/jvm/functions/Function1;Landroidx/lifecycle/MediatorLiveData;)V
|
|
|
|
check-cast v1, Landroidx/lifecycle/Observer;
|
|
|
|
invoke-virtual {v0, p0, v1}, Landroidx/lifecycle/MediatorLiveData;->addSource(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/Observer;)V
|
|
|
|
.line 137
|
|
check-cast v0, Landroidx/lifecycle/LiveData;
|
|
|
|
return-object v0
|
|
.end method
|