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(maxSdk=34) protected static boolean isNinePatchChunk(byte[] chunk)
    • validateNinePatchChunk

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

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

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