Package org.robolectric.shadows
Class ShadowRegion
- java.lang.Object
-
- org.robolectric.shadows.ShadowRegion
-
@Implements(android.graphics.Region.class) public class ShadowRegion extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static longnextId
-
Constructor Summary
Constructors Constructor Description ShadowRegion()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)The realRegion.equals(Object)calls into native code, which is a no-op in Robolectric, and will always return false no matter what is compared.protected static NumbernativeConstructor()
-
-
-
Method Detail
-
equals
@Implementation public boolean equals(Object obj)
The realRegion.equals(Object)calls into native code, which is a no-op in Robolectric, and will always return false no matter what is compared. We can special-case some simple scenarios here.
-
nativeConstructor
@HiddenApi @Implementation protected static Number nativeConstructor()
-
-