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 for
FloatMath. Prior to SDK 23, this was implemented using native methods.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ShadowFloatMath
public ShadowFloatMath()
-
-
Method Details
-
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)
-