Class ShadowStringBlock


  • @Implements(className="android.content.res.StringBlock",
                isInAndroidSdk=false)
    public class ShadowStringBlock
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static java.lang.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 java.lang.String nativeGetString​(int nativeId, int index)  
      protected static java.lang.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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowStringBlock

        public ShadowStringBlock()
    • Method Detail

      • nativeCreate

        @Implementation
        protected static java.lang.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 java.lang.String nativeGetString​(int nativeId,
                                                          int index)
      • nativeGetString

        @Implementation(minSdk=21)
        protected static java.lang.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()