156 lines
4.9 KiB
Smali
156 lines
4.9 KiB
Smali
.class public final Lrx/internal/operators/OperatorWindowWithObservable;
|
|
.super Ljava/lang/Object;
|
|
.source "OperatorWindowWithObservable.java"
|
|
|
|
# interfaces
|
|
.implements Lrx/Observable$Operator;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lrx/internal/operators/OperatorWindowWithObservable$BoundarySubscriber;,
|
|
Lrx/internal/operators/OperatorWindowWithObservable$SourceSubscriber;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"U:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lrx/Observable$Operator",
|
|
"<",
|
|
"Lrx/Observable",
|
|
"<TT;>;TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field static final NEXT_SUBJECT:Ljava/lang/Object;
|
|
|
|
.field static final nl:Lrx/internal/operators/NotificationLite;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lrx/internal/operators/NotificationLite",
|
|
"<",
|
|
"Ljava/lang/Object;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field final other:Lrx/Observable;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lrx/Observable",
|
|
"<TU;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.prologue
|
|
new-instance v0, Ljava/lang/Object;
|
|
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
sput-object v0, Lrx/internal/operators/OperatorWindowWithObservable;->NEXT_SUBJECT:Ljava/lang/Object;
|
|
|
|
invoke-static {}, Lrx/internal/operators/NotificationLite;->instance()Lrx/internal/operators/NotificationLite;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lrx/internal/operators/OperatorWindowWithObservable;->nl:Lrx/internal/operators/NotificationLite;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lrx/Observable;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lrx/Observable",
|
|
"<TU;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.prologue
|
|
.local p0, "this":Lrx/internal/operators/OperatorWindowWithObservable;, "Lrx/internal/operators/OperatorWindowWithObservable<TT;TU;>;"
|
|
.local p1, "other":Lrx/Observable;, "Lrx/Observable<TU;>;"
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lrx/internal/operators/OperatorWindowWithObservable;->other:Lrx/Observable;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 1
|
|
.param p1, "x0" # Ljava/lang/Object;
|
|
|
|
.prologue
|
|
.local p0, "this":Lrx/internal/operators/OperatorWindowWithObservable;, "Lrx/internal/operators/OperatorWindowWithObservable<TT;TU;>;"
|
|
check-cast p1, Lrx/Subscriber;
|
|
|
|
.end local p1 # "x0":Ljava/lang/Object;
|
|
invoke-virtual {p0, p1}, Lrx/internal/operators/OperatorWindowWithObservable;->call(Lrx/Subscriber;)Lrx/Subscriber;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public call(Lrx/Subscriber;)Lrx/Subscriber;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lrx/Subscriber",
|
|
"<-",
|
|
"Lrx/Observable",
|
|
"<TT;>;>;)",
|
|
"Lrx/Subscriber",
|
|
"<-TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.prologue
|
|
.local p0, "this":Lrx/internal/operators/OperatorWindowWithObservable;, "Lrx/internal/operators/OperatorWindowWithObservable<TT;TU;>;"
|
|
.local p1, "child":Lrx/Subscriber;, "Lrx/Subscriber<-Lrx/Observable<TT;>;>;"
|
|
new-instance v1, Lrx/internal/operators/OperatorWindowWithObservable$SourceSubscriber;
|
|
|
|
invoke-direct {v1, p1}, Lrx/internal/operators/OperatorWindowWithObservable$SourceSubscriber;-><init>(Lrx/Subscriber;)V
|
|
|
|
.local v1, "sub":Lrx/internal/operators/OperatorWindowWithObservable$SourceSubscriber;, "Lrx/internal/operators/OperatorWindowWithObservable$SourceSubscriber<TT;>;"
|
|
new-instance v0, Lrx/internal/operators/OperatorWindowWithObservable$BoundarySubscriber;
|
|
|
|
invoke-direct {v0, p1, v1}, Lrx/internal/operators/OperatorWindowWithObservable$BoundarySubscriber;-><init>(Lrx/Subscriber;Lrx/internal/operators/OperatorWindowWithObservable$SourceSubscriber;)V
|
|
|
|
.local v0, "bs":Lrx/internal/operators/OperatorWindowWithObservable$BoundarySubscriber;, "Lrx/internal/operators/OperatorWindowWithObservable$BoundarySubscriber<TT;TU;>;"
|
|
invoke-virtual {p1, v1}, Lrx/Subscriber;->add(Lrx/Subscription;)V
|
|
|
|
invoke-virtual {p1, v0}, Lrx/Subscriber;->add(Lrx/Subscription;)V
|
|
|
|
invoke-virtual {v1}, Lrx/internal/operators/OperatorWindowWithObservable$SourceSubscriber;->replaceWindow()V
|
|
|
|
iget-object v2, p0, Lrx/internal/operators/OperatorWindowWithObservable;->other:Lrx/Observable;
|
|
|
|
invoke-virtual {v2, v0}, Lrx/Observable;->unsafeSubscribe(Lrx/Subscriber;)Lrx/Subscription;
|
|
|
|
return-object v1
|
|
.end method
|