279 lines
6.3 KiB
Smali
279 lines
6.3 KiB
Smali
.class public final Landroidx/core/util/RangeKt;
|
|
.super Ljava/lang/Object;
|
|
.source "Range.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public static final and(Landroid/util/Range;Landroid/util/Range;)Landroid/util/Range;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x15
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Ljava/lang/Comparable<",
|
|
"-TT;>;>(",
|
|
"Landroid/util/Range<",
|
|
"TT;>;",
|
|
"Landroid/util/Range<",
|
|
"TT;>;)",
|
|
"Landroid/util/Range<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0, p1}, Landroid/util/Range;->intersect(Landroid/util/Range;)Landroid/util/Range;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "intersect(other)"
|
|
|
|
invoke-static {p0, p1}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "other"
|
|
|
|
invoke-static {p0}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$and"
|
|
|
|
invoke-static {p0}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/util/Range;Landroid/util/Range;)Landroid/util/Range;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x15
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Ljava/lang/Comparable<",
|
|
"-TT;>;>(",
|
|
"Landroid/util/Range<",
|
|
"TT;>;",
|
|
"Landroid/util/Range<",
|
|
"TT;>;)",
|
|
"Landroid/util/Range<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0, p1}, Landroid/util/Range;->extend(Landroid/util/Range;)Landroid/util/Range;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "extend(other)"
|
|
|
|
invoke-static {p0, p1}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "other"
|
|
|
|
invoke-static {p0}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$plus"
|
|
|
|
invoke-static {p0}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/util/Range;Ljava/lang/Comparable;)Landroid/util/Range;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x15
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Ljava/lang/Comparable<",
|
|
"-TT;>;>(",
|
|
"Landroid/util/Range<",
|
|
"TT;>;TT;)",
|
|
"Landroid/util/Range<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0, p1}, Landroid/util/Range;->extend(Ljava/lang/Comparable;)Landroid/util/Range;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "extend(value)"
|
|
|
|
invoke-static {p0, p1}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "value"
|
|
|
|
invoke-static {p0}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$plus"
|
|
|
|
invoke-static {p0}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final rangeTo(Ljava/lang/Comparable;Ljava/lang/Comparable;)Landroid/util/Range;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x15
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Ljava/lang/Comparable<",
|
|
"-TT;>;>(TT;TT;)",
|
|
"Landroid/util/Range<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Landroid/util/Range;
|
|
|
|
invoke-direct {v0, p0, p1}, Landroid/util/Range;-><init>(Ljava/lang/Comparable;Ljava/lang/Comparable;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string p0, "that"
|
|
|
|
invoke-static {p0}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$rangeTo"
|
|
|
|
invoke-static {p0}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final toClosedRange(Landroid/util/Range;)Lx/x/a;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x15
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Ljava/lang/Comparable<",
|
|
"-TT;>;>(",
|
|
"Landroid/util/Range<",
|
|
"TT;>;)",
|
|
"Lx/x/a<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
new-instance v0, Landroidx/core/util/RangeKt$toClosedRange$1;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/core/util/RangeKt$toClosedRange$1;-><init>(Landroid/util/Range;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string p0, "$this$toClosedRange"
|
|
|
|
invoke-static {p0}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final toRange(Lx/x/a;)Landroid/util/Range;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x15
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Ljava/lang/Comparable<",
|
|
"-TT;>;>(",
|
|
"Lx/x/a<",
|
|
"TT;>;)",
|
|
"Landroid/util/Range<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
new-instance v0, Landroid/util/Range;
|
|
|
|
invoke-interface {p0}, Lx/x/a;->getStart()Ljava/lang/Comparable;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {p0}, Lx/x/a;->getEndInclusive()Ljava/lang/Comparable;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {v0, v1, p0}, Landroid/util/Range;-><init>(Ljava/lang/Comparable;Ljava/lang/Comparable;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string p0, "$this$toRange"
|
|
|
|
invoke-static {p0}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|