Changes of com.discord v823
This commit is contained in:
parent
50139b7f2b
commit
204ebe7067
28411 changed files with 2982405 additions and 1720152 deletions
68
com.discord/smali/androidx/core/math/MathUtils.smali
Normal file
68
com.discord/smali/androidx/core/math/MathUtils.smali
Normal file
|
@ -0,0 +1,68 @@
|
|||
.class public Landroidx/core/math/MathUtils;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private 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
|
Loading…
Add table
Add a link
Reference in a new issue