Changes of com.discord v1325
This commit is contained in:
parent
d9d9f382c9
commit
3cb9e1231d
28086 changed files with 4880345 additions and 0 deletions
89
com.discord/smali/androidx/core/math/MathUtils.smali
Normal file
89
com.discord/smali/androidx/core/math/MathUtils.smali
Normal file
|
@ -0,0 +1,89 @@
|
|||
.class public Landroidx/core/math/MathUtils;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MathUtils.java"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static clamp(DDD)D
|
||||
.locals 1
|
||||
|
||||
cmpg-double v0, p0, p2
|
||||
|
||||
if-gez v0, :cond_0
|
||||
|
||||
return-wide p2
|
||||
|
||||
:cond_0
|
||||
cmpl-double p2, p0, p4
|
||||
|
||||
if-lez p2, :cond_1
|
||||
|
||||
return-wide p4
|
||||
|
||||
:cond_1
|
||||
return-wide p0
|
||||
.end method
|
||||
|
||||
.method public static clamp(FFF)F
|
||||
.locals 1
|
||||
|
||||
cmpg-float v0, p0, p1
|
||||
|
||||
if-gez v0, :cond_0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
cmpl-float p1, p0, p2
|
||||
|
||||
if-lez p1, :cond_1
|
||||
|
||||
return p2
|
||||
|
||||
:cond_1
|
||||
return p0
|
||||
.end method
|
||||
|
||||
.method public static clamp(III)I
|
||||
.locals 0
|
||||
|
||||
if-ge p0, p1, :cond_0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
if-le p0, p2, :cond_1
|
||||
|
||||
return p2
|
||||
|
||||
:cond_1
|
||||
return p0
|
||||
.end method
|
||||
|
||||
.method public static clamp(JJJ)J
|
||||
.locals 1
|
||||
|
||||
cmp-long v0, p0, p2
|
||||
|
||||
if-gez v0, :cond_0
|
||||
|
||||
return-wide p2
|
||||
|
||||
:cond_0
|
||||
cmp-long p2, p0, p4
|
||||
|
||||
if-lez p2, :cond_1
|
||||
|
||||
return-wide p4
|
||||
|
||||
:cond_1
|
||||
return-wide p0
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue