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 final class 
    Shadow picker for BitmapShader.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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, long bitmapHandle, int shaderTileModeX, int shaderTileModeY, int maxAniso, boolean filter, boolean isDirectSampled, long overrideGainmapHandle)
     
    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
  • Constructor Details

    • ShadowNativeBitmapShader

      public ShadowNativeBitmapShader()
  • Method Details

    • nativeCreate

      @Implementation(minSdk=26, maxSdk=28) protected static long nativeCreate(long nativeMatrix, Bitmap bitmap, int shaderTileModeX, int shaderTileModeY)
    • nativeCreate

      @Implementation(minSdk=29, maxSdk=30) protected static long nativeCreate(long nativeMatrix, long bitmapHandle, int shaderTileModeX, int shaderTileModeY)
    • nativeCreate

      @Implementation(minSdk=31, maxSdk=32) protected static long nativeCreate(long nativeMatrix, long bitmapHandle, int shaderTileModeX, int shaderTileModeY, boolean filter)
    • nativeCreate

      @Implementation(minSdk=33, maxSdk=34) protected static long nativeCreate(long nativeMatrix, long bitmapHandle, int shaderTileModeX, int shaderTileModeY, boolean filter, boolean isDirectSampled)
    • nativeCreate

      @Implementation(minSdk=35) protected static long nativeCreate(long nativeMatrix, long bitmapHandle, int shaderTileModeX, int shaderTileModeY, int maxAniso, boolean filter, boolean isDirectSampled, long overrideGainmapHandle)