Package org.robolectric.shadows
Class ShadowStringBlock
- java.lang.Object
-
- org.robolectric.shadows.ShadowStringBlock
-
@Implements(className="android.content.res.StringBlock", isInAndroidSdk=false) public class ShadowStringBlock extends Object
-
-
Constructor Summary
Constructors Constructor Description ShadowStringBlock()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static NumbernativeCreate(byte[] data, int offset, int size)protected static voidnativeDestroy(int obj)protected static voidnativeDestroy(long obj)protected static intnativeGetSize(int nativeId)protected static intnativeGetSize(long nativeId)protected static StringnativeGetString(int nativeId, int index)protected static StringnativeGetString(long nativeId, int index)protected static int[]nativeGetStyle(int obj, int idx)protected static int[]nativeGetStyle(long obj, int idx)static voidreset()
-
-
-
Method Detail
-
nativeCreate
@Implementation protected static Number nativeCreate(byte[] data, int offset, int size)
-
nativeGetSize
@Implementation(maxSdk=20) protected static int nativeGetSize(int nativeId)
-
nativeGetSize
@Implementation(minSdk=21) protected static int nativeGetSize(long nativeId)
-
nativeGetString
@Implementation(maxSdk=20) protected static String nativeGetString(int nativeId, int index)
-
nativeGetString
@Implementation(minSdk=21) protected static String nativeGetString(long nativeId, int index)
-
nativeGetStyle
@Implementation(maxSdk=20) protected static int[] nativeGetStyle(int obj, int idx)
-
nativeGetStyle
@Implementation(minSdk=21) protected static int[] nativeGetStyle(long obj, int idx)
-
nativeDestroy
@Implementation(maxSdk=20) protected static void nativeDestroy(int obj)
-
nativeDestroy
@Implementation(minSdk=21) protected static void nativeDestroy(long obj)
-
reset
@Resetter public static void reset()
-
-