Class ShadowStringBlock


  • @Implements(className="android.content.res.StringBlock",
                isInAndroidSdk=false)
    public class ShadowStringBlock
    extends Object
    • Constructor Detail

      • ShadowStringBlock

        public ShadowStringBlock()
    • 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()