Class ShadowNativeNinePatch

java.lang.Object
org.robolectric.shadows.ShadowNativeNinePatch

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

    • ShadowNativeNinePatch

      public ShadowNativeNinePatch()
  • Method Details

    • isNinePatchChunk

      @Implementation protected static boolean isNinePatchChunk(byte[] chunk)
    • validateNinePatchChunk

      @Implementation protected static long validateNinePatchChunk(byte[] chunk)
    • nativeFinalize

      @Implementation protected static void nativeFinalize(long chunk)
    • nativeGetTransparentRegion

      @Implementation(minSdk=29) protected static long nativeGetTransparentRegion(long bitmapHandle, long chunk, Rect location)