Package org.robolectric.shadows
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 forBitmapShaderthat is backed by native code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShadowNativeBitmapShader.PickerShadow picker forBitmapShader.
-
Constructor Summary
Constructors Constructor Description ShadowNativeBitmapShader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static longnativeCreate(long nativeMatrix, long bitmapHandle, int shaderTileModeX, int shaderTileModeY)protected static longnativeCreate(long nativeMatrix, long bitmapHandle, int shaderTileModeX, int shaderTileModeY, boolean filter)protected static longnativeCreate(long nativeMatrix, long bitmapHandle, int shaderTileModeX, int shaderTileModeY, boolean filter, boolean isDirectSampled)protected static longnativeCreate(long nativeMatrix, Bitmap bitmap, int shaderTileModeX, int shaderTileModeY)
-
-
-
Method Detail
-
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) protected static long nativeCreate(long nativeMatrix, long bitmapHandle, int shaderTileModeX, int shaderTileModeY, boolean filter, boolean isDirectSampled)
-
-