Package org.robolectric.shadows
Class ShadowNativeNinePatch
java.lang.Object
org.robolectric.shadows.ShadowNativeNinePatch
@Implements(value=android.graphics.NinePatch.class,
minSdk=26,
shadowPicker=Picker.class,
isInAndroidSdk=false)
public class ShadowNativeNinePatch
extends Object
Shadow for
NinePatch
that is backed by native code-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
isNinePatchChunk
(byte[] chunk) protected static void
nativeFinalize
(long chunk) protected static long
nativeGetTransparentRegion
(long bitmapHandle, long chunk, Rect location) protected static long
validateNinePatchChunk
(byte[] chunk)
-
Constructor Details
-
ShadowNativeNinePatch
public ShadowNativeNinePatch()
-
-
Method Details
-
isNinePatchChunk
-
validateNinePatchChunk
-
nativeFinalize
-
nativeGetTransparentRegion
@Implementation(minSdk=29) protected static long nativeGetTransparentRegion(long bitmapHandle, long chunk, Rect location)
-