@Implements(className="android.content.res.StringBlock", isInAndroidSdk=false) public class ShadowStringBlock extends Object
Constructor and Description |
---|
ShadowStringBlock() |
Modifier and Type | Method and Description |
---|---|
protected static Number |
nativeCreate(byte[] data,
int offset,
int size) |
protected static void |
nativeDestroy(int obj) |
protected static void |
nativeDestroy(long obj) |
protected static int |
nativeGetSize(int nativeId) |
protected static int |
nativeGetSize(long nativeId) |
protected static String |
nativeGetString(int nativeId,
int index) |
protected static String |
nativeGetString(long nativeId,
int index) |
protected static int[] |
nativeGetStyle(int obj,
int idx) |
protected static int[] |
nativeGetStyle(long obj,
int idx) |
static void |
reset() |
@Implementation protected static Number nativeCreate(byte[] data, int offset, int size)
@Implementation(maxSdk=20) protected static int nativeGetSize(int nativeId)
@Implementation(minSdk=21) protected static int nativeGetSize(long nativeId)
@Implementation(maxSdk=20) protected static String nativeGetString(int nativeId, int index)
@Implementation(minSdk=21) protected static String nativeGetString(long nativeId, int index)
@Implementation(maxSdk=20) protected static int[] nativeGetStyle(int obj, int idx)
@Implementation(minSdk=21) protected static int[] nativeGetStyle(long obj, int idx)
@Implementation(maxSdk=20) protected static void nativeDestroy(int obj)
@Implementation(minSdk=21) protected static void nativeDestroy(long obj)
@Resetter public static void reset()