@Implements(value=android.util.FloatMath.class, maxSdk=22) public class ShadowFloatMath extends Object
FloatMath
. Prior to SDK 23, this was implemented using native methods.Constructor | Description |
---|---|
ShadowFloatMath() |
Modifier and Type | Method | Description |
---|---|---|
protected static float |
ceil(float value) |
|
protected static float |
cos(float angle) |
|
protected static float |
floor(float value) |
|
protected static float |
sin(float angle) |
|
protected static float |
sqrt(float value) |
@Implementation protected static float floor(float value)
@Implementation protected static float ceil(float value)
@Implementation protected static float sin(float angle)
@Implementation protected static float cos(float angle)
@Implementation protected static float sqrt(float value)