Class ShadowNativeBitmapShader

java.lang.Object
org.robolectric.shadows.ShadowNativeBitmapShader

@Implements(value=android.graphics.BitmapShader.class,
            minSdk=26,
            shadowPicker=Picker.class)
public class ShadowNativeBitmapShader
extends Object
Shadow for BitmapShader that is backed by native code
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  ShadowNativeBitmapShader.Picker
    Shadow picker for BitmapShader.
  • Constructor Summary

    Constructors 
    Constructor Description
    ShadowNativeBitmapShader()  
  • Method Summary

    Modifier and Type Method Description
    protected static long nativeCreate​(long nativeMatrix, long bitmapHandle, int shaderTileModeX, int shaderTileModeY)  
    protected static long nativeCreate​(long nativeMatrix, long bitmapHandle, int shaderTileModeX, int shaderTileModeY, boolean filter)  
    protected static long nativeCreate​(long nativeMatrix, long bitmapHandle, int shaderTileModeX, int shaderTileModeY, boolean filter, boolean isDirectSampled)  
    protected static long nativeCreate​(long nativeMatrix, Bitmap bitmap, int shaderTileModeX, int shaderTileModeY)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait