Package org.robolectric.shadows
Class ShadowFloatMath
- java.lang.Object
-
- org.robolectric.shadows.ShadowFloatMath
-
@Implements(value=android.util.FloatMath.class, maxSdk=22) public class ShadowFloatMath extends Object
Shadow forFloatMath
. Prior to SDK 23, this was implemented using native methods.
-
-
Constructor Summary
Constructors Constructor Description ShadowFloatMath()
-
Method Summary
All Methods Static Methods Concrete Methods 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)
-
-
-
Method Detail
-
floor
@Implementation protected static float floor(float value)
-
ceil
@Implementation protected static float ceil(float value)
-
sin
@Implementation protected static float sin(float angle)
-
cos
@Implementation protected static float cos(float angle)
-
sqrt
@Implementation protected static float sqrt(float value)
-
-