Class ShadowNativePicture

java.lang.Object
org.robolectric.shadows.ShadowNativePicture

Shadow for Picture that is backed by native code
  • Constructor Details

    • ShadowNativePicture

      public ShadowNativePicture()
  • Method Details

    • nativeConstructor

      @Implementation protected static long nativeConstructor(long nativeSrcOr0)
    • nativeCreateFromStream

      @Implementation protected static long nativeCreateFromStream(InputStream stream, byte[] storage)
    • nativeGetWidth

      @Implementation protected static int nativeGetWidth(long nativePicture)
    • nativeGetHeight

      @Implementation protected static int nativeGetHeight(long nativePicture)
    • nativeBeginRecording

      @Implementation protected static long nativeBeginRecording(long nativeCanvas, int w, int h)
    • nativeEndRecording

      @Implementation protected static void nativeEndRecording(long nativeCanvas)
    • nativeDraw

      @Implementation protected static void nativeDraw(long nativeCanvas, long nativePicture)
    • nativeWriteToStream

      @Implementation protected static boolean nativeWriteToStream(long nativePicture, OutputStream stream, byte[] storage)
    • nativeDestructor

      @Implementation protected static void nativeDestructor(long nativePicture)